/* Bexlo: marca y piezas propias de esta web. El resto viene de ds/. */
:root {
  /* Bexlo: negro cálido + coral. Ref. estética: Mollie Hive (adaptada, no copiada) */
  --brand: #f57c60;          /* coral: titulares, acentos y texto pequeño (7,4:1 sobre --bg) */
  --brand-strong: #f57c60;
  --brand-bright: #f57c60;
  --brand-glow: transparent;
  --bg: #0d0c0c;
  --bg-2: #161413;
  --bg-3: #201d1b;
  --line: rgba(245, 242, 240, 0.12);
  --line-strong: rgba(245, 242, 240, 0.24);
  --text: #ffffff;
  --text-2: #a39894;         /* gris cálido, algo más claro que la ref. para cuerpo de 18 px (7:1) */
  --font-display: 'Inter Variable', system-ui, sans-serif;
  --radius: 0px;
}

/* Titulares editoriales: Inter 900, mayúsculas, apretados */
.h-hero, .h2, .h3, .step__title, .card__title, .price__num, .footer__wordmark {
  font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.9;
}
.h-hero { font-size: clamp(3.25rem, 8.6vw, 8.75rem); line-height: 0.86; }
.h2 { font-size: clamp(2.5rem, 6.5vw, 5.75rem); }
.highlight { font-weight: 800; letter-spacing: -0.035em; }

/* Botón rectangular blanco, sin brillo. La flecha que gira se mantiene */
.btn { padding: 0; border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 0; }
.btn__in { border-radius: 0; background: var(--brand); color: var(--bg); box-shadow: none; padding: 0.95rem 1rem 0.95rem 1.4rem; font-weight: 650; }
.btn__icon { border-radius: 0; background: var(--bg); color: #fff; width: 2rem; height: 2rem; }
.btn:hover .btn__in { background: #fff; box-shadow: none; }
.btn--ghost .btn__in { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost .btn__icon { background: rgba(255, 255, 255, 0.1); }
.btn--ghost:hover .btn__in { background: transparent; box-shadow: inset 0 0 0 1px #fff; }
.step.is-on .step__marker { color: var(--bg); }
.field input, .field textarea, .field select { border-radius: 0; }
.ticker__dot { border-radius: 0; }

.logo { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; letter-spacing: -0.05em; text-transform: uppercase; text-decoration: none; }
.logo span { color: var(--brand); }

/* Hero propio: texto + móvil con trabajo real */
.b-hero {
  position: relative; display: grid; gap: clamp(40px, 6vw, 96px); align-items: center;
  min-height: 100svh; padding: 120px var(--gutter) clamp(48px, 6vw, 80px); overflow: hidden; isolation: isolate;
}
.b-hero__meta { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; margin-top: 2.25rem; color: var(--text-2); font-size: var(--fs-small); }
.b-hero__meta strong { color: var(--text); font-weight: 600; }
.b-hero__device { justify-self: center; }
@media (min-width: 900px) {
  .b-hero { grid-template-columns: 1.25fr 0.75fr; }
}

/* Dispositivos */
.phone {
  width: clamp(220px, 26vw, 300px); aspect-ratio: 390 / 844; border-radius: 40px; padding: 8px;
  background: linear-gradient(160deg, #3a3f47, #1b1e22); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 32px; }
.browser { border-radius: 4px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8); }
.browser__bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

/* Trabajos */
.works { display: grid; gap: clamp(72px, 10vw, 140px); }
.work { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.work__media { position: relative; padding-bottom: 8%; }
.work__media .phone { position: absolute; right: -2%; bottom: 0; width: clamp(110px, 22%, 200px); padding: 5px; border-radius: 26px; }
.work__media .phone img { border-radius: 21px; }
.work__type { display: inline-block; padding: 0.3rem 0.8rem; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); color: var(--brand-bright); font-size: var(--fs-small); }
.work__title { margin-top: 1rem; }
.work__link { display: inline-flex; margin-top: 1.5rem; color: var(--text); text-decoration-color: var(--brand); text-underline-offset: 5px; font-weight: 600; }
.work__pending { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 14px; border: 1px dashed var(--line-strong); color: var(--text-2); }
@media (min-width: 900px) {
  .work { grid-template-columns: 1.3fr 0.7fr; }
  /* La fila par pasa el texto a la izquierda, no solo el orden visual: si no, la columna
     ancha (1.3fr) se queda con el texto y la imagen, que es lo que debe destacar, se queda
     en la estrecha (0.7fr). */
  .work:nth-child(even) { grid-template-columns: 0.7fr 1.3fr; }
  .work:nth-child(even) .work__media { order: 2; }
}

/* Precio */
.price { display: grid; gap: 2rem; align-items: end; padding: clamp(32px, 5vw, 64px); background: var(--bg-2); border: 1px solid var(--line); }
.price__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.5rem, 10vw, 7rem); letter-spacing: -0.05em; line-height: 0.9; }
.price__num small { font-size: 0.35em; font-weight: 600; letter-spacing: -0.02em; color: var(--text-2); }
@media (min-width: 900px) { .price { grid-template-columns: 1fr auto; } }

.pending { color: #f5b301; }
.price .btn { justify-self: start; }
/* Sin nowrap: con "790 490 € + IVA" ya no cabe en una línea en móvil y desbordaba la página */

/* Botones coral rectos (sobrescribe el blanco) */
.btn__in { background: var(--brand); color: var(--bg); }
.btn:hover .btn__in { background: #fff; }

/* ---------- Hero editorial con túnel de pantallas ---------- */
.x-hero {
  position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto;
  padding: 92px var(--gutter) clamp(32px, 5vw, 64px); overflow: hidden; isolation: isolate;
}
.x-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.x-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,12,12,.1) 0%, rgba(13,12,12,.28) 50%, rgba(13,12,12,.1) 80%, var(--bg) 100%); }
.x-hero__meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--brand); text-transform: uppercase; font-size: var(--fs-small); letter-spacing: 0.02em; margin-top: 1.5rem; }
.x-hero__title { align-self: end; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: -0.045em; line-height: 0.84; font-size: clamp(3.4rem, 11.2vw, 12rem); margin-top: 1rem; }
.x-hero__title span { display: block; }
.x-hero__foot { display: grid; gap: 1.75rem; margin-top: 2rem; align-items: end; }
.x-hero__foot .lead { margin-top: 0; color: #d9d2cf; }
@media (min-width: 900px) { .x-hero__foot { grid-template-columns: 1fr auto; } }

/* ---------- Mira tu negocio así ---------- */
.tryout { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) { .tryout { grid-template-columns: 1fr auto; } }
.tryout__device { justify-self: center; }
.seg { border: 0; padding: 0; margin: 1.5rem 0 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.seg legend { font-size: var(--fs-small); color: var(--text-2); margin-bottom: 0.5rem; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 0.8rem 1.15rem; border: 1px solid var(--line-strong); font-weight: 700; text-transform: uppercase; font-size: 0.9375rem; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.seg input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--bg); }
.seg input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 3px; }

.phone--live { width: clamp(270px, 25vw, 320px); }
.mini {
  --m: #d42a2a; --mt: #fff; --mbg: #0f0f10;
  height: 100%; border-radius: 32px; overflow: hidden; display: flex; flex-direction: column;
  background: var(--mbg); color: #fff; font-size: 13px; line-height: 1.35; transition: background 0.4s;
}
.mini[data-sector="reformas"] { --m: #e0a33a; --mt: #111; --mbg: #13110e; }
.mini[data-sector="instalaciones"] { --m: #2f6fe0; --mt: #fff; --mbg: #0c1017; }
.mini__bar { display: flex; justify-content: space-between; align-items: center; padding: 20px 16px 10px; }
.mini__logo { font-weight: 800; font-size: 12px; text-transform: uppercase; max-width: 78%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mini__bar i { width: 16px; height: 10px; border-block: 2px solid currentColor; }
.mini__hero { padding: 26px 16px 22px; background: color-mix(in srgb, var(--m) 16%, var(--mbg)); transition: background 0.4s; }
.mini__kicker { color: var(--m); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.mini__title { font-weight: 900; text-transform: uppercase; font-size: 26px; line-height: 0.92; letter-spacing: -0.04em; margin-top: 8px; overflow-wrap: anywhere; } /* 26px: «Instalaciones» cabe sin partirse */
.mini__lead { color: rgba(255, 255, 255, 0.72); margin-top: 8px; font-size: 12px; }
.mini__btns { display: flex; gap: 6px; margin-top: 14px; }
.mini__btns span { padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: 11px; background: var(--m); color: var(--mt); }
.mini__btns span + span { background: #25d366; color: #0b2a17; }
.mini__stars { padding: 12px 16px; color: #f5b301; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.mini__stars small { color: rgba(255, 255, 255, 0.62); font-size: 11px; }
.mini__list { list-style: none; padding: 4px 16px; margin: 0; }
.mini__list li { padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-weight: 600; }
.mini__call { margin: auto 12px 14px; padding: 12px; text-align: center; background: var(--m); color: var(--mt); font-weight: 800; border-radius: 12px; }

/* ---------- Filas tipográficas desplegables ---------- */
.rows { --kw: clamp(7rem, 17vw, 14rem); border-top: 1px solid var(--brand); }
.row { border-bottom: 1px solid color-mix(in srgb, var(--brand) 55%, transparent); }
.row summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: var(--kw) 1fr auto; gap: 1.5rem; align-items: baseline; padding: 1.6rem 0; }
.row summary::-webkit-details-marker { display: none; }
.row__k { font-weight: 900; text-transform: uppercase; font-size: clamp(1.05rem, 1.7vw, 1.5rem); letter-spacing: -0.02em; color: #fff; }
.row__t { font-weight: 900; text-transform: uppercase; font-size: clamp(1.5rem, 3.3vw, 2.75rem); line-height: 0.95; letter-spacing: -0.03em; color: var(--brand); transition: color 0.25s; }
.row summary:hover .row__t { color: #fff; }
.row__plus { position: relative; width: 18px; height: 18px; align-self: center; }
.row__plus::before, .row__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: #fff; transition: transform 0.3s var(--ease); }
.row__plus::after { transform: rotate(90deg); }
.row[open] .row__plus::after { transform: rotate(0deg); }
.row__d { padding: 0 0 1.75rem calc(var(--kw) + 1.5rem); color: var(--text-2); font-size: var(--fs-lead); max-width: calc(var(--kw) + 40ch); }
.row[open] .row__d { animation: row-in 0.4s var(--ease); }
@keyframes row-in { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 700px) {
  .row summary { grid-template-columns: 1fr auto; gap: 0.4rem 1rem; padding: 1.25rem 0; }
  .row__k { grid-column: 1 / -1; font-size: 0.9375rem; color: var(--text-2); }
  .row__d { padding-left: 0; }
}

/* ---------- Bloque coral ---------- */
.is-coral { background: var(--brand); color: var(--bg); }
.is-coral .h2, .is-coral .info dt, .is-coral .info dd, .is-coral .field label, .is-coral .check, .is-coral a { color: var(--bg); }
.is-coral .lead { color: rgba(13, 12, 12, 0.82); }
.is-coral .info a { text-decoration-color: var(--bg); }
.is-coral .field input, .is-coral .field textarea { background: var(--bg); border-color: var(--bg); color: #fff; }
.is-coral .field input::placeholder, .is-coral .field textarea::placeholder { color: #a39894; }
.is-coral .field input:focus, .is-coral .field textarea:focus { border-color: #fff; }
.is-coral .check input { accent-color: var(--bg); }
.is-coral .btn__in { background: var(--bg); color: #fff; }
.is-coral .btn__icon { background: var(--brand); color: var(--bg); }
.is-coral .btn:hover .btn__in { background: #000; }
.is-coral :focus-visible { outline-color: var(--bg); }

/* ---------- Pie ---------- */
.footer { display: flex; flex-direction: column; gap: 2rem; padding: clamp(48px, 7vw, 80px) var(--gutter) 2.5rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: clamp(1rem, 2.5vw, 2rem); }
.footer__links a { color: var(--text-2); font-size: var(--fs-small); font-weight: 600; text-transform: uppercase; letter-spacing: 0.01em; }
.footer__links a:hover { color: var(--text); }
.footer__wordmark { color: transparent; -webkit-text-stroke: 1px var(--line-strong); text-stroke: 1px var(--line-strong); font-size: clamp(5rem, 24vw, 30rem); letter-spacing: -0.06em; line-height: 0.8; margin-top: 2rem; }
.footer__bottom { color: var(--text-2); font-size: var(--fs-small); border-top: 1px solid var(--line); padding-top: 1.25rem; }
.tryout__controls .field { max-width: 30rem; }

/* ---------- Cabecera tipo Mollie: barra separada, logo y enlaces en coral ---------- */
.site-header, .site-header.is-scrolled { inset: 12px var(--gutter) auto; padding: 14px clamp(16px, 2vw, 24px); background: var(--bg-2); backdrop-filter: none; -webkit-backdrop-filter: none; }
.logo, .logo span { color: var(--brand); }
.site-nav { gap: clamp(1.25rem, 3vw, 2.75rem); }
.site-nav a { color: var(--brand); text-transform: uppercase; font-weight: 650; font-size: 0.875rem; letter-spacing: 0.01em; }
.site-nav a:hover { color: #fff; }
.nav-mobile summary { color: var(--brand); border-color: var(--brand); border-radius: 0; }
.nav-mobile__panel { inset: 84px var(--gutter) auto; }
.nav-mobile__panel a { text-transform: uppercase; font-weight: 900; color: var(--brand); }

/* ---------- Hero sencillo: titular + botones ---------- */
.x-hero { grid-template-rows: none; align-content: center; }
.x-hero__foot { grid-template-columns: none; }

/* El botón secundario no se vuelve blanco al pasar o pulsar */
.btn--ghost:hover .btn__in, .btn--ghost:active .btn__in { background: transparent; color: #fff; }

/* Solo gira la flecha, no el cuadrado */
.btn:hover .btn__icon { transform: none; }
.btn__icon svg { transition: transform 0.45s var(--ease); }
.btn:hover .btn__icon svg { transform: rotate(45deg); }

/* ---------- «A la altura»: texto + foto con movimiento sutil ---------- */
.altura { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; padding-block: clamp(96px, 14vw, 200px); }
@media (min-width: 900px) { .altura { grid-template-columns: 1.05fr 0.95fr; } }
.altura__title { font-size: clamp(2.25rem, 4.6vw, 4.5rem); line-height: 0.95; max-width: 15ch; }
.altura .lead { max-width: 34ch; margin-top: 1.75rem; }
.altura .btn-row { margin-top: 2.25rem; }
.altura__media { margin: 0; }
.altura__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.altura__frame img, .altura__ph { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0) scale(1.04); will-change: transform; }
.altura__ph { display: grid; place-items: center; border: 1px dashed var(--line-strong); }
.altura__frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.js .altura__media.reveal { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease); }
.js .altura__media.reveal.is-in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .js .altura__media.reveal { clip-path: none; } .altura__frame img, .altura__ph { transform: none; } }
.altura__frame { max-height: 78vh; }

/* ---------- «Mira tu negocio así» con recorrido ---------- */
.tryout { grid-template-areas: "c" "p" "n"; }
@media (min-width: 900px) { .tryout { grid-template-columns: 1fr auto; grid-template-areas: "c p" "n p"; align-items: start; } }
.tryout__controls { grid-area: c; }
.tryout__device { grid-area: p; align-self: center; }
.tryout__tour { grid-area: n; }
.tryout__note { margin-top: 1rem; text-align: center; max-width: 30ch; margin-inline: auto; }

.tour__notes { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); counter-reset: none; }
.tour__notes li { border-bottom: 1px solid var(--line); }
.tour__notes button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 0.3rem; width: 100%; padding: 1rem 0; }
.tour__notes b { font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--text-2); transition: color 0.25s; }
.tour__notes span { color: var(--text-2); font-size: var(--fs-body); display: none; }
.tour__notes button[aria-current="step"] b { color: var(--brand); }
.tour__notes button[aria-current="step"] span { display: block; animation: row-in 0.4s var(--ease); }
.tour__notes button:hover b { color: #fff; }
.tour__notes button:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }

/* Mini web: zona desplazable entre la barra y el botón fijo */
.mini { position: relative; }
.mini__viewport { flex: 1; overflow: hidden; position: relative; }
.mini__scroll { will-change: transform; }
.mini__hero { min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(180deg, color-mix(in srgb, var(--m) 22%, var(--mbg)), color-mix(in srgb, var(--m) 8%, var(--mbg))); }
/* Fotos por sector (AVIF con WebP/JPEG de respaldo) */
.mini[data-sector="taller"] .mini__hero {
  background: linear-gradient(transparent 15%, rgba(0,0,0,.6) 45%, rgba(0,0,0,.92)), url(img/sector-taller.jpg) 60% 30% / cover;
  background: linear-gradient(transparent 15%, rgba(0,0,0,.6) 45%, rgba(0,0,0,.92)), image-set(url(img/sector-taller.avif) type("image/avif"), url(img/sector-taller.webp) type("image/webp"), url(img/sector-taller.jpg) type("image/jpeg")) 60% 30% / cover;
}
.mini[data-sector="reformas"] .mini__hero {
  background: linear-gradient(transparent 15%, rgba(0,0,0,.6) 45%, rgba(0,0,0,.92)), url(img/sector-reformas.jpg) 50% 40% / cover;
  background: linear-gradient(transparent 15%, rgba(0,0,0,.6) 45%, rgba(0,0,0,.92)), image-set(url(img/sector-reformas.avif) type("image/avif"), url(img/sector-reformas.webp) type("image/webp"), url(img/sector-reformas.jpg) type("image/jpeg")) 50% 40% / cover;
}
.mini[data-sector="instalaciones"] .mini__hero {
  background: linear-gradient(transparent 15%, rgba(0,0,0,.6) 45%, rgba(0,0,0,.92)), url(img/sector-instalaciones.jpg) 50% 40% / cover;
  background: linear-gradient(transparent 15%, rgba(0,0,0,.6) 45%, rgba(0,0,0,.92)), image-set(url(img/sector-instalaciones.avif) type("image/avif"), url(img/sector-instalaciones.webp) type("image/webp"), url(img/sector-instalaciones.jpg) type("image/jpeg")) 50% 40% / cover;
}
.mini__reviews, .mini__services, .mini__hours { padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.mini__stars { color: #f5b301; }
.mini__quote { color: rgba(255, 255, 255, 0.7); font-style: italic; margin-top: 6px; font-size: 12px; }
.mini__h { font-weight: 800; text-transform: uppercase; font-size: 11px; letter-spacing: 0.04em; color: var(--m); margin-bottom: 4px; }
.mini__services .mini__list { padding: 0; }
.mini__row { display: flex; justify-content: space-between; padding: 6px 0; }
.mini__map { position: relative; height: 120px; margin-top: 8px; border-radius: 10px; background:
  linear-gradient(35deg, transparent 47%, rgba(255,255,255,.14) 48% 52%, transparent 53%),
  linear-gradient(-20deg, transparent 60%, rgba(255,255,255,.1) 61% 64%, transparent 65%),
  #1b1d21; }
.mini__map i { position: absolute; left: 52%; top: 38%; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--m); }
.mini__call { position: relative; z-index: 2; margin: 0 12px 14px; }
.mini__reviews .mini__stars { padding: 0; border: 0; }

/* Alineación: controles arriba; notas y móvil en la misma fila, centrados entre sí */
@media (min-width: 900px) {
  .tryout { grid-template-columns: 1fr auto; grid-template-areas: "c c" "n p"; align-items: center; row-gap: clamp(40px, 5vw, 72px); }
  .tryout__controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(32px, 5vw, 80px); align-items: end; }
  .tryout__controls .h2, .tryout__controls .lead { grid-column: 1 / -1; }
  .tryout__controls .field { margin-top: 2rem; }
  .tryout__controls .seg { margin: 0; }
  .tryout__tour { max-width: 40rem; }
}
/* Mini web más larga para que el recorrido pase por todas las partes */
.mini__hero { min-height: 300px; }
.mini__reviews, .mini__services, .mini__hours { padding: 20px 16px; }
.mini__map { height: 150px; }
.mini__hours { display: flex; flex-direction: column; }
.mini__hours .mini__map { flex: 1; min-height: 150px; height: auto; }

/* Precio: el normal tachado delante del de lanzamiento */
.price__num s { font-size: 0.4em; font-weight: 600; color: var(--text-2); letter-spacing: -0.02em; margin-right: 0.15em; text-decoration-thickness: 0.06em; }
.price .lead + .lead { margin-top: 0.75rem; }

/* Más aire en el gancho y en automatización */
.altura .lead { max-width: 30ch; margin-top: 2.25rem; }
.altura .btn-row { margin-top: 2.75rem; }
#automatizacion .lead { max-width: 32ch; margin-top: 2.25rem; }
#automatizacion .lead + .lead { margin-top: 1.5rem; }
#automatizacion .btn-row { margin-top: 2.75rem; }
p.work__link { text-decoration: none; border: 0; background: none; } /* dominio aún sin enlace */

.price__maint { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.price__maint-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.price__maint-num small { font-size: 0.6em; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.price__list { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.35rem; color: var(--text-2); }
.price__list li::before { content: "— "; color: var(--brand); }

/* ---------- Automatización: texto + ejemplo de mensajes ---------- */
.btn--brand .btn__in { background: var(--brand); color: var(--bg); }
.btn--brand .btn__icon { background: var(--bg); color: #fff; }
.btn--brand:hover .btn__in { background: #fff; }
.auto { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; padding-block: clamp(96px, 12vw, 180px); }
@media (min-width: 900px) { .auto { grid-template-columns: 1.05fr 0.95fr; } }
.auto .h2 { font-size: clamp(2.25rem, 4.6vw, 4.5rem); line-height: 0.95; max-width: 14ch; }
.auto .lead { max-width: 28ch; margin-top: 1.75rem; }
.auto .btn-row { margin-top: 2.25rem; }
.auto .small { margin-top: 1rem; }
.wa { width: clamp(280px, 30vw, 340px); margin-inline: auto; background: #0b141a; border: 6px solid #2a2725; border-radius: 38px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.wa__bar { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; background: #202c33; color: #e9edef; }
.wa__bar b { display: block; font-size: 1rem; font-weight: 650; line-height: 1.2; }
.wa__bar small { font-size: .75rem; color: #8696a0; }
.wa__av { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--brand); color: var(--bg); display: grid; place-items: center; font-weight: 800; }
.wa__body { padding: 1rem .9rem 1.4rem; display: grid; gap: .45rem; background: #0b141a; background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 14px 14px; }
.wa__sys { margin: .6rem auto .1rem; font-size: .72rem; color: #8696a0; background: #182229; padding: .3rem .7rem; border-radius: 8px; text-align: center; }
.wa__sys i { font-style: normal; color: #f15c6d; margin-right: .3rem; }
.wa__msg { justify-self: start; max-width: 86%; background: #202c33; color: #e9edef; padding: .55rem .7rem .3rem; border-radius: 0 10px 10px 10px; font-size: .95rem; line-height: 1.35; }
.wa__msg span { display: block; text-align: right; font-size: .68rem; color: #8696a0; margin-top: .15rem; }
.wa__msg em { font-style: normal; color: #53bdeb; margin-left: .15rem; }
.wa__auto { margin: 0; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }

/* Botones coral por defecto; en la sección coral van oscuros */
.is-coral .btn__in { background: var(--bg); color: #fff; }
.is-coral .btn__icon { background: #fff; color: var(--bg); }
.is-coral .btn:hover .btn__in { background: #fff; color: var(--bg); }
.wa__msg--me { justify-self: end; background: #005c4b; border-radius: 10px 0 10px 10px; }
.wa__body { max-height: none; }
.wa__tag { display: block; font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: .2rem; }

/* Logo: el punto final es un cuadrado coral, no redondo */
.logo span { display: inline-block; width: 0.2em; height: 0.2em; margin-left: 0.04em; background: var(--brand); font-size: 0; vertical-align: baseline; }
.logo, .logo span { color: var(--brand); }
.logo { color: #fff; }

/* Altura: pantalla de móvil con llamadas y mensajes sin responder (sin foto) */
.lock { width: clamp(280px, 30vw, 340px); margin-inline: auto; padding: 2.4rem .9rem 1.6rem; background: #0b141a; background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 14px 14px; border: 6px solid #2a2725; border-radius: 38px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); color: #e9edef; }
.lock__time { margin: 0; text-align: center; font-size: 3.6rem; font-weight: 300; line-height: 1; letter-spacing: -.02em; }
.lock__date { margin: .35rem 0 1.6rem; text-align: center; font-size: .9rem; color: #8696a0; }
.lock__list { display: grid; gap: .5rem; }
.note { display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: center; padding: .65rem .8rem; background: #202c33; border-radius: 12px; }
.note b { display: block; font-size: .9rem; font-weight: 650; line-height: 1.2; }
.note span { display: block; font-size: .8rem; color: #8696a0; line-height: 1.3; }
.note em { font-style: normal; font-size: .7rem; color: #8696a0; align-self: start; }
.note__ic { width: 2rem; height: 2rem; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-size: 1rem; font-weight: 800; background: var(--brand-strong); color: #fff; }
.note__ic--wa { background: #25d366; color: #0b141a; }
.js .note { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .altura__media.is-in .note { opacity: 1; transform: none; }
.js .altura__media.is-in .note:nth-child(2) { transition-delay: .25s; }
.js .altura__media.is-in .note:nth-child(3) { transition-delay: .5s; }
.js .altura__media.is-in .note:nth-child(4) { transition-delay: .75s; }
@media (prefers-reduced-motion: reduce) { .js .note { opacity: 1; transform: none; transition: none; } }
.lock { display: flex; flex-direction: column; min-height: 600px; }
.lock::after { content: ""; margin: auto auto 0; padding-top: 1.5rem; width: 36%; height: 5px; border-radius: 3px; background: rgba(255,255,255,.3); background-clip: content-box; box-sizing: content-box; }
