/* =========================================================
   LAVANDA · Colores sacados del logo
   ========================================================= */
:root {
  --indigo: #33287e;        /* lado izquierdo del círculo del logo */
  --morado: #6b1f8f;
  --magenta: #d6087f;       /* lado derecho del círculo del logo */
  --verde: #8dc63f;         /* burbujas del logo */
  --gris: #6d6d6d;          /* texto "LAVANDA" */
  --tinta: #2a1b45;         /* texto principal */
  --tinta-suave: #5f5272;
  --crema: #fff6fb;
  --lila: #f3e8f8;
  --borde: #eadcf2;
  --wa: #25a244;
  --wa-oscuro: #1c8436;
  --grad: linear-gradient(120deg, var(--indigo) 0%, var(--morado) 45%, var(--magenta) 100%);
  --radio: 22px;
  --titulos: "Zilla Slab", Georgia, serif;
  --texto: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--texto);
  font-size: 18px;
  line-height: 1.55;
  color: var(--tinta);
  background: var(--crema);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 16px; }

h1, h2, h3 { font-family: var(--titulos); line-height: 1.1; margin: 0; }
h2 { font-size: 2.1rem; color: var(--indigo); margin-bottom: 20px; }
.kicker {
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--magenta);
}
.lead { margin-top: -6px; }
.small { font-size: 0.95rem; color: var(--tinta-suave); text-align: center; }

/* Fondos de sección + ola superior (pintada con el color de la sección anterior) */
.section { position: relative; padding: 76px 0 56px; }
.bg-white { background: #fff; }
.bg-lila { background: var(--lila); }
.bg-crema { background: var(--crema); }
.bg-grad { background: var(--grad); color: #fff; }
.wave { position: absolute; top: -1px; left: 0; width: 100%; height: 44px; display: block; }
.wave-bottom { top: auto; bottom: -1px; transform: rotate(180deg); }
.fill-white { fill: #fff; } .fill-lila { fill: var(--lila); } .fill-crema { fill: var(--crema); }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--texto); font-size: 1.15rem; font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn:active { transform: scale(.97); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(37, 162, 68, .35); }
.btn-wa:hover { background: var(--wa-oscuro); }
.btn-outline { border: 2px solid var(--morado); color: var(--morado); background: #fff; }
.btn-outline:hover { background: var(--lila); }
a:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; }

/* =========================================================
   PORTADA
   ========================================================= */
.hero { position: relative; padding: 28px 0 56px; overflow: hidden; text-align: center; }
.blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; pointer-events: none; }
.blob-1 { width: 320px; height: 320px; background: #e6c3f0; top: -80px; left: -120px; }
.blob-2 { width: 300px; height: 300px; background: #ffc6e3; top: 180px; right: -140px; }

.hero-grid { position: relative; display: grid; gap: 18px; }

/* La lavadora: el círculo del logo es la puerta */
.washer {
  position: relative;
  width: 232px; margin: 0 auto;
  background: #fff;
  border-radius: 30px;
  padding: 14px 18px 24px;
  box-shadow: 0 24px 50px rgba(83, 33, 125, .18), inset 0 -6px 0 #f1e8f6;
}
.washer-panel {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px; margin-bottom: 16px;
  border-bottom: 2px solid #f1e8f6;
}
.lcd {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: .82rem; font-weight: 700;
  color: var(--verde);
  background: #221a4d;
  padding: 4px 10px; border-radius: 8px;
  letter-spacing: .04em;
}
.blink { animation: blink 1.2s steps(1) infinite; }
.knobs { display: flex; gap: 6px; }
.knobs i { width: 16px; height: 16px; border-radius: 50%; background: #efe6f5; box-shadow: inset 0 -2px 0 #dccbe8; }
.knobs i:first-child { background: var(--magenta); box-shadow: none; width: 10px; height: 10px; margin-top: 3px; }
.washer-door {
  position: relative;
  width: 172px; height: 172px; margin: 0 auto;
  border-radius: 50%;
  padding: 10px;
  background: #f1e8f6;
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, .08);
}
.washer-door::before {          /* junta de la puerta que gira */
  content: ""; position: absolute; inset: 3px; border-radius: 50%;
  border: 2px dashed #d9c3e8;
  animation: spin 18s linear infinite;
}
.washer-door img { position: relative; border-radius: 50%; }

/* Burbujas verdes, como las del logo */
.bubble { position: absolute; border-radius: 50%; background: var(--verde); opacity: 0; animation: rise 5s ease-in infinite; }
.b1 { width: 14px; height: 14px; left: 34%; bottom: 40%; animation-delay: 0s; }
.b2 { width: 9px;  height: 9px;  left: 60%; bottom: 46%; animation-delay: 1.2s; }
.b3 { width: 18px; height: 18px; left: 72%; bottom: 36%; animation-delay: 2.4s; background: #fff; border: 2px solid #e6d3f1; }
.b4 { width: 8px;  height: 8px;  left: 22%; bottom: 50%; animation-delay: 3.1s; }
.b5 { width: 12px; height: 12px; left: 50%; bottom: 30%; animation-delay: 4s; background: var(--magenta); }

.wordmark { width: 210px; margin: 6px auto 14px; }
.hero h1 { font-size: 2.5rem; font-weight: 700; color: var(--indigo); }
.hero h1 em {
  font-style: normal; display: block;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 8px 0 14px; font-weight: 600; color: var(--tinta-suave); }

.status {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 18px; padding: 6px 16px;
  background: #fff; border-radius: 999px;
  font-weight: 800; font-size: .95rem;
  box-shadow: 0 4px 14px rgba(83, 33, 125, .1);
}
.status .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--morado); }
.status.is-open .dot { background: var(--wa); box-shadow: 0 0 0 0 rgba(37,162,68,.6); animation: pulse 2s infinite; }
.status.is-open { color: var(--wa-oscuro); }
.status.is-closed .dot { background: #c62828; }
.status.is-closed { color: #a3221f; }

.hero .btn-wa { width: 100%; max-width: 380px; }
.hero-address { margin: 14px 0 0; font-weight: 600; color: var(--tinta-suave); font-size: .95rem; }

/* Pegatinas */
.stickers {
  list-style: none; margin: 30px auto 0; padding: 0 16px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.sticker {
  padding: 10px 16px; border-radius: 16px;
  font-size: .95rem; font-weight: 600; color: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .12);
}
.sticker strong { font-weight: 800; }
.s-green { background: #4e8f1d; transform: rotate(-2deg); }
.s-magenta { background: var(--magenta); transform: rotate(1.5deg); }
.s-indigo { background: var(--indigo); transform: rotate(-1deg); }

/* =========================================================
   PRECIOS: mini lavadoras
   ========================================================= */
.machines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini {
  background: #fff;
  border: 2px solid var(--borde);
  border-radius: 20px;
  padding: 8px 8px 14px;
  text-align: center;
  box-shadow: 0 10px 22px rgba(83, 33, 125, .08), inset 0 -5px 0 #f6eefa;
}
.mini p { margin: 0; }
.mini-panel { display: flex; justify-content: space-between; align-items: center; padding: 0 2px 8px; border-bottom: 2px solid #f3eaf8; }
.mini-size {
  font-family: var(--titulos); font-weight: 700; font-size: .95rem;
  color: #fff; background: var(--grad); border-radius: 8px; padding: 1px 8px;
}
.mini-leds { display: flex; gap: 4px; }
.mini-leds i { width: 7px; height: 7px; border-radius: 50%; background: #e6d8ef; }
.mini-leds i:first-child { background: var(--verde); }
.mini-door {
  position: relative; overflow: hidden;
  width: min(82%, 150px); aspect-ratio: 1; margin: 12px auto 10px;
  border-radius: 50%;
  border: 6px solid #efe5f5;
  background: var(--grad);
  display: grid; place-items: center;
  color: #fff;
}
.mini-door::after {       /* agua dentro del tambor */
  content: ""; position: absolute; left: -30%; right: -30%; bottom: -55%; height: 100%;
  background: rgba(255, 255, 255, .22); border-radius: 42%;
  animation: slosh 6s ease-in-out infinite;
}
.mini-dryer .mini-door { background: linear-gradient(120deg, #6b1f8f, var(--magenta)); }
.mini-dryer .mini-door::after { animation: spin 4s linear infinite; bottom: auto; top: 10%; left: 10%; right: 10%; height: 80%; border-radius: 50%; background: none; border: 3px dashed rgba(255,255,255,.35); }
.mini-door span { position: relative; z-index: 1; font-family: var(--titulos); font-weight: 700; font-size: 1.5rem; line-height: 1; }
.mini-door small { display: block; font-family: var(--texto); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .9; margin-top: 2px; }
.mini-name { font-weight: 800; font-size: .9rem; color: var(--tinta-suave); }
.mini-price { font-family: var(--titulos); font-weight: 700; font-size: 2.1rem; line-height: 1.05; color: var(--magenta); }
.mini-note { font-size: .78rem; line-height: 1.25; color: var(--tinta-suave); margin-top: 4px !important; }

.included {
  display: flex; align-items: center; gap: 14px;
  margin-top: 22px; padding: 16px 18px;
  background: var(--lila); border-radius: var(--radio);
  border: 2px dashed #d7bfe7;
}
.included p { margin: 0; }
.included-icon { flex-shrink: 0; width: 92px; height: auto; overflow: visible; }
.included-icon .bottle { transform-box: fill-box; transform-origin: 50% 100%; animation: wobble 3s ease-in-out infinite; }
.included-icon .b-suav { animation-delay: -1.5s; }
.included-icon .ib { fill: #fff; stroke: #d7bfe7; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: bubble 3.5s ease-in-out infinite; }
.included-icon .ib2 { animation-delay: -1s; } .included-icon .ib3 { animation-delay: -2s; } .included-icon .ib4 { animation-delay: -2.7s; }
@keyframes wobble { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes bubble { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-6px) scale(1.15); } }
.cash { margin: 14px 0 0; text-align: center; font-weight: 600; }

/* =========================================================
   PASOS: línea de tiempo con burbujas
   ========================================================= */
.steps { list-style: none; counter-reset: paso; margin: 0; padding: 0; position: relative; }
.steps li {
  counter-increment: paso;
  position: relative;
  padding: 0 0 22px 66px;
}
.steps li::before {
  content: counter(paso);
  position: absolute; left: 0; top: -4px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad); color: #fff;
  font-family: var(--titulos); font-weight: 700; font-size: 1.4rem;
  display: grid; place-items: center;
  box-shadow: 0 6px 14px rgba(83, 33, 125, .25), inset 0 0 0 3px rgba(255,255,255,.25);
}
.steps li:not(:last-child)::after {   /* tubería punteada entre pasos */
  content: ""; position: absolute; left: 23px; top: 48px; bottom: 0;
  border-left: 3px dotted #c9a9dd;
}
.steps h3 { font-size: 1.3rem; color: var(--indigo); }
.steps p { margin: 4px 0 0; color: var(--tinta-suave); }

/* =========================================================
   TENDEDERO: lo que no se puede lavar
   ========================================================= */
.clothesline {
  --fila: 150px;
  list-style: none; margin: 18px 0 8px; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; column-gap: 10px;
  /* la cuerda: una línea al principio de cada fila */
  background: repeating-linear-gradient(to bottom,
    transparent 0 9px, #b49ac7 9px 11px, transparent 11px var(--fila));
}
.tag {
  position: relative;
  flex: 0 0 calc((100% - 20px) / 3);
  margin: 22px 0 16px; height: 112px;
  background: #fff;
  border-radius: 14px;
  border: 2px solid var(--borde);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; padding: 8px 4px;
  font-weight: 800; font-size: .85rem; line-height: 1.2;
  transform-origin: 50% -14px;
  box-shadow: 0 8px 16px rgba(83, 33, 125, .1);
  animation: sway 4s ease-in-out infinite;
}
.tag:nth-child(odd) { transform: rotate(-3deg); animation-delay: -2s; }
.tag:nth-child(even) { transform: rotate(3deg); }
.tag::before {        /* pinza */
  content: ""; position: absolute; top: -18px; left: 50%;
  width: 10px; height: 24px; margin-left: -5px;
  background: var(--magenta); border-radius: 3px;
}
.tag::after {         /* sello de prohibido */
  content: "✕"; position: absolute; top: 6px; right: 6px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #d32f2f; color: #fff; font-size: .8rem;
  display: grid; place-items: center;
}
.tag svg { width: 44px; height: 44px; fill: none; stroke: var(--morado); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   MAPA
   ========================================================= */
.map-card {
  background: #fff; border-radius: var(--radio); overflow: hidden;
  border: 2px solid var(--borde);
  box-shadow: 0 14px 30px rgba(83, 33, 125, .1);
}
.map { aspect-ratio: 4 / 3; background: var(--lila); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-info { padding: 18px; }
.map-address { margin: 0; font-size: 1.1rem; }
.map-hours { margin: 6px 0 14px; color: var(--tinta-suave); font-weight: 600; }
.map-info .btn { width: 100%; }

/* =========================================================
   INCIDENCIAS
   ========================================================= */
.help { text-align: center; overflow: hidden; padding: 90px 0 100px; }
.help h2 { color: #fff; font-size: 2.3rem; }
.help h2::before, .help h2::after {
  content: ""; display: inline-block; width: 4px; height: 24px; border-radius: 2px;
  background: var(--verde); vertical-align: middle; margin: 0 12px;
}
.help h2::before { transform: rotate(-30deg); }
.help h2::after { transform: rotate(30deg); }
.help .wrap { position: relative; z-index: 1; max-width: 560px; }
.assistant {
  display: inline-block; margin: 0 0 14px; padding: 10px 22px;
  background: #fff; color: var(--morado);
  border-radius: 16px; font-family: var(--titulos); font-size: 1.35rem; font-weight: 500;
}
.assistant strong { font-weight: 700; }
.btn-big { width: 100%; max-width: 380px; min-height: 66px; font-size: 1.3rem; margin-top: 10px; }
.phone { display: block; margin-top: 16px; color: #fff; font-weight: 800; font-size: 1.3rem; text-decoration: none; }
.help-bubble { position: absolute; border-radius: 50%; pointer-events: none; }
.hb1 { width: 90px; height: 90px; background: var(--verde); opacity: .9; top: 70px; right: -30px; }
.hb2 { width: 34px; height: 34px; background: var(--verde); top: 170px; right: 60px; }
.hb3 { width: 160px; height: 160px; border: 2px solid rgba(255,255,255,.25); bottom: 40px; left: -60px; }

/* =========================================================
   PIE
   ========================================================= */
footer { padding: 30px 0 110px; text-align: center; font-size: .92rem; color: var(--tinta-suave); }
.footer-mark { width: 170px; margin: 0 auto 12px; }
footer p { margin: 2px 0; }

/* Botón flotante */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 20;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
  transition: opacity .25s, transform .25s;
}
.wa-float.is-hidden { opacity: 0; transform: scale(.6); pointer-events: none; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: ring 2.4s ease-out infinite;
}

/* =========================================================
   Animaciones
   ========================================================= */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes rise {
  0% { transform: translateY(0) scale(.6); opacity: 0; }
  15% { opacity: .9; }
  100% { transform: translateY(-150px) scale(1.1); opacity: 0; }
}
@keyframes slosh { 0%, 100% { transform: translateX(-8%) rotate(-4deg); } 50% { transform: translateX(8%) rotate(4deg); } }
@keyframes sway {
  0%, 100% { rotate: -1.5deg; } 50% { rotate: 1.5deg; }
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,162,68,.55); } 100% { box-shadow: 0 0 0 10px rgba(37,162,68,0); } }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bubble { display: none; }
}

/* =========================================================
   Pantallas grandes
   ========================================================= */
@media (min-width: 760px) {
  .section { padding: 100px 0 80px; }
  h2 { font-size: 2.6rem; }
  .hero { padding: 60px 0 80px; text-align: left; }
  .hero-grid { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 40px; }
  .hero-machine { order: 2; }
  .washer { width: 320px; padding: 18px 24px 30px; }
  .washer-door { width: 240px; height: 240px; padding: 14px; }
  .wordmark { margin: 0 0 18px; width: 240px; }
  .hero h1 { font-size: 3.6rem; }
  .stickers { justify-content: flex-start; }
  .machines { gap: 22px; }
  .mini { padding: 12px 14px 20px; }
  .mini-door span { font-size: 2.3rem; }
  .mini-price { font-size: 2.8rem; }
  .mini-note { font-size: .95rem; }
  .steps { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .steps li::after { display: none; }
  .clothesline { --fila: 170px; column-gap: 18px; }
  .tag { flex-basis: calc((100% - 72px) / 5); margin-bottom: 20px; }
  .tag { height: 128px; font-size: .95rem; }
  .map-card { display: grid; grid-template-columns: 1.6fr 1fr; }
  .map { aspect-ratio: auto; min-height: 340px; }
  .map-info { display: flex; flex-direction: column; justify-content: center; padding: 28px; }
}
