/* Hiperloom — hoja de estilos propia, sin dependencias.
   Basada fielmente en la web anterior (valores de color, radios y tipografía
   idénticos). Cambios respecto al original: reseteo mínimo propio (sin Tailwind),
   tamaños mínimos de texto de 11 px, contrastes corregidos, foco visible,
   enlace "saltar al contenido" y estilos de los campos condicionales del formulario. */

/* ---------- Tokens de marca ---------- */
:root {
  --pink: #d90078;      /* magenta de acción (PENDIENTE de decisión: ver docs/PENDIENTES.md) */
  --pink2: #a8005d;     /* magenta hover */
  --ink: #171318;       /* negro de texto */
  --cream: #f7f4ef;     /* fondo base */
  --paper: #fff;
  --yellow: #ffd449;
  --blue: #77d9e7;
  --violet: #8e78ff;
  --line: #ddd7dc;
  --pink-soft: #f3d1e3; /* tarjeta energía */
  --violet-soft: #d9d2ff;/* tarjeta servicios digitales */
  --muted: #6a6269;     /* texto secundario */
}

/* ---------- Reseteo mínimo ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { -webkit-text-size-adjust: 100%; line-height: 1.5; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { background: var(--cream); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: bolder; }
small { font-size: 80%; }
ol, ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; background-color: transparent; border-radius: 0; }
textarea { resize: vertical; }
[hidden] { display: none !important; }

/* ---------- Accesibilidad ---------- */
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.business :focus-visible, .cookieBanner :focus-visible, .businessCta :focus-visible, .legalFooter :focus-visible { outline-color: #fff; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 99px; font-size: 13px; font-weight: 700; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Estructura ---------- */
.shell { width: min(1200px, 100% - 48px); margin-inline: auto; }
.section { padding: 112px 0; }

/* ---------- Cabecera ---------- */
.siteHeader { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); z-index: 50; background: #fffffff0; border-bottom: 1px solid #eee; height: 82px; position: sticky; top: 0; }
.nav { justify-content: space-between; align-items: center; height: 100%; display: flex; }
.logo img { object-fit: contain; width: 205px; height: auto; display: block; }
.navCta { background: var(--ink); color: #fff; border-radius: 99px; gap: 22px; padding: 13px 18px; display: flex; }
.navCta span { color: var(--yellow); }
.menuButton { display: none; }

/* ---------- Hero ---------- */
.hero { align-items: center; height: calc(100svh - 82px); min-height: 680px; display: flex; position: relative; overflow: hidden; }
.hero picture { position: absolute; inset: 0; display: block; }
.heroPhoto { object-fit: cover; width: 100%; height: 100%; }
.heroOverlay { background: linear-gradient(90deg, #f8f5f0fc 0%, #f8f5f0ee 30%, #f8f5f045 52%, #f8f5f000 70%); position: absolute; inset: 0; }
.heroContent { z-index: 2; position: relative; }
.kicker { text-transform: uppercase; letter-spacing: .18em; align-items: center; gap: 11px; margin: 0 0 23px; font-size: 11px; font-weight: 900; display: flex; }
.kicker > span { background: var(--pink); border-radius: 9px; width: 29px; height: 3px; }
.kicker.dark { color: #6e666e; }
.kicker.onDark { color: #cfc7ce; }
.hero .heroTitle { letter-spacing: -.075em; max-width: 700px; margin: 0; font-size: clamp(54px, 5.6vw, 88px); line-height: .9; }
.hero .heroTitle em, .stickyCopy h2 em { color: var(--pink); font-style: normal; }
.heroLead { color: #565056; max-width: 540px; margin: 35px 0; font-size: 18px; line-height: 1.65; }
.actions { flex-wrap: wrap; gap: 13px; display: flex; }

/* ---------- Botones ---------- */
.button { border-radius: 99px; align-items: center; gap: 24px; padding: 16px 21px; font-size: 13px; font-weight: 850; transition: all .2s; display: inline-flex; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--pink); color: #fff; box-shadow: 0 15px 35px #d9007833; }
.button.primary:hover { background: var(--pink2); }
.button.ghost { background: #ffffff85; border: 1px solid #bdb6bb; }

/* ---------- Cabeceras de sección ---------- */
.sectionIntro { grid-template-columns: 1.25fr .75fr; align-items: end; gap: 8vw; margin-bottom: 55px; display: grid; }
.sectionIntro h2, .stickyCopy h2, .businessHead h2, .contact h2 { letter-spacing: -.06em; margin: 0; font-size: clamp(42px, 5vw, 70px); line-height: .95; }
.sectionIntro > p, .stickyCopy > p, .businessHead > p, .contactGrid > div > p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.75; }

/* ---------- Servicios ---------- */
.serviceSection { background: var(--cream); }
.serviceGrid { grid-template-columns: repeat(4, 1fr); gap: 13px; display: grid; }
.serviceCard { border-radius: 23px; flex-direction: column; min-height: 370px; padding: 27px; transition: all .25s; display: flex; position: relative; }
.serviceCard:hover { transform: translateY(-6px); box-shadow: 0 22px 60px #1112; }
.serviceCard > span { opacity: .7; font-size: 11px; font-weight: 900; }
.serviceMark { margin: 48px 0 auto; font-size: 34px; }
.serviceCard h3 { letter-spacing: -.04em; margin: 0 0 15px; font-size: 27px; }
.serviceCard p { color: #433d42; margin: 0; font-size: 13px; line-height: 1.6; }
.serviceCard.pink { background: var(--pink-soft); }
.serviceCard.yellow { background: var(--yellow); }
.serviceCard.blue { background: var(--blue); }
.serviceCard.violet { background: var(--violet-soft); }

/* ---------- Energía ---------- */
.energy { background: #fff; }
.split { grid-template-columns: .9fr 1.1fr; align-items: start; gap: 8vw; display: grid; }
.stickyCopy { position: sticky; top: 120px; }
.stickyCopy h2 { margin-bottom: 30px; }
.note { border-left: 3px solid var(--pink); background: #fff5fa; margin: 26px 0; padding: 12px 16px; font-size: 12px; line-height: 1.6; }
.audiences { flex-wrap: wrap; gap: 8px; display: flex; }
.audiences span { background: var(--cream); border-radius: 99px; padding: 10px 13px; font-size: 11px; font-weight: 700; }

/* ---------- Bloques CTA ---------- */
.sectionCta { border-radius: 26px; flex-direction: column; justify-content: flex-end; min-height: 390px; padding: 42px; display: flex; position: relative; overflow: hidden; }
.sectionCta::before { content: ""; background: #fff5; border-radius: 50%; width: 220px; height: 220px; position: absolute; top: -70px; right: -70px; }
.sectionCta > span { letter-spacing: .15em; text-transform: uppercase; margin-bottom: auto; font-size: 11px; font-weight: 900; }
.sectionCta h3 { letter-spacing: -.05em; max-width: 500px; margin: 0 0 18px; font-size: 38px; line-height: 1; }
.sectionCta p { max-width: 500px; margin: 0 0 26px; font-size: 14px; line-height: 1.65; }
.sectionCta .button { align-self: flex-start; }
.energyCta { background: var(--pink-soft); }
.telecomCta { background: var(--blue); }

/* ---------- Fibra y móvil ---------- */
.telecom { background: #eeeae5; }
.telecomLayout { grid-template-columns: .85fr 1.15fr; gap: 7vw; display: grid; }
.featureRail article, .featureRail a { border-top: 1px solid #c9c3c6; grid-template-columns: 45px 1fr auto; align-items: center; padding: 23px 5px; display: grid; }
.featureRail b { color: var(--pink); font-size: 11px; }
.featureRail h3 { letter-spacing: -.035em; margin: 0; font-size: 24px; }
.featureRail span { font-size: 24px; }

/* ---------- Empresas ---------- */
.business { background: var(--ink); color: #fff; }
.businessHead { grid-template-columns: 1.2fr .8fr; align-items: end; gap: 9vw; display: grid; }
.businessHead h2 { max-width: 780px; }
.businessHead > p { color: #afa7ad; }
.businessBanner { display: block; margin-top: 56px; border-radius: 23px; overflow: hidden; }
.businessBanner img { width: 100%; height: auto; display: block; }
.businessServices { background: #fff2; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 40px 0 70px; display: grid; }
.businessServices div { background: var(--ink); flex-direction: column; justify-content: space-between; min-height: 150px; padding: 22px; display: flex; }
.businessServices span { color: #a39ba2; font-size: 11px; }
.businessServices strong { font-size: 17px; line-height: 1.35; }
.businessCta { background: var(--pink); border-radius: 27px; grid-template-columns: .7fr 1.3fr; align-items: start; gap: 7vw; padding: 45px; display: grid; }
.businessCta h3 { letter-spacing: -.04em; margin: 0 0 28px; font-size: 32px; }
.businessCta > div > p:not(.formOverline) { color: #ffe8f4; line-height: 1.7; }
.businessCta .formOverline { color: #fff; }
.businessButton { color: var(--pink); background: #fff; place-self: center end; }

/* ---------- Contacto y formulario ---------- */
.contact { background: #fff; }
.contactGrid { grid-template-columns: .85fr 1.15fr; align-items: start; gap: 9vw; display: grid; }
.contact h2 { margin-bottom: 30px; }
.mailLink { color: var(--pink); border-bottom: 1px solid #d9b2c7; gap: 20px; margin-top: 26px; padding-bottom: 7px; font-weight: 850; display: inline-flex; }
.formPanel { background: #f5edf2; border-radius: 26px; padding: 35px; }
.formPanel.compact { background: var(--cream); }
.formPanel > h3 { letter-spacing: -.04em; margin: 0 0 28px; font-size: 32px; }
.formOverline { text-transform: uppercase; letter-spacing: .16em; color: var(--pink); margin: 0 0 10px; font-size: 11px; font-weight: 900; }
.contactForm { flex-direction: column; gap: 17px; display: flex; }
.fieldRow { grid-template-columns: 1fr 1fr; gap: 13px; display: grid; }
.fieldRow.single { grid-template-columns: 1fr; }
.contactForm label { flex-direction: column; gap: 7px; font-size: 12px; font-weight: 800; display: flex; }
.contactForm small { color: var(--muted); font-weight: 500; font-size: 11px; }
.contactForm input, .contactForm select, .contactForm textarea { color: #222; background: #fff; border: 1px solid #d8d0d5; border-radius: 11px; outline: none; width: 100%; padding: 13px 14px; font-size: 14px; }
.contactForm input:focus, .contactForm select:focus, .contactForm textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 3px #d9007826; }
.contactForm textarea { resize: vertical; }
.fieldGroup { flex-direction: column; gap: 17px; display: flex; }
.fileField { border: 1px dashed #c5b8c1; border-radius: 12px; padding: 14px; }
.fileField input { background: transparent; border: 0; padding: 4px; }
.check { align-items: flex-start; line-height: 1.5; flex-direction: row !important; font-weight: 500 !important; }
.check input { width: 17px; height: 17px; accent-color: var(--pink); margin: 2px 0 0; padding: 0; }
.check a { text-decoration: underline; }
.submitButton { background: var(--pink); color: #fff; cursor: pointer; border: 0; border-radius: 99px; justify-content: space-between; padding: 15px 19px; font-size: 13px; font-weight: 850; display: flex; }
.submitButton:hover { background: var(--pink2); }
.submitButton:disabled { opacity: .6; cursor: wait; }
.formStatus { border-radius: 10px; margin: 0; padding: 12px 14px; font-size: 13px; line-height: 1.5; }
.formStatus.success { color: #155c38; background: #dff6ea; }
.formStatus.error { color: #7d1919; background: #ffe3e3; }
.honeypot { width: 1px !important; height: 1px !important; position: absolute !important; left: -9999px !important; }
.intentSelect { background: #fff; border: 2px solid #ead6e1; border-radius: 14px; padding: 15px; }
.intentSelect select { margin-top: 5px; font-weight: 800; background: #f8f4f6 !important; border-color: transparent !important; }


/* ---------- Páginas locales ---------- */
.localHero { background: var(--cream); padding: 90px 0 80px; }
.localHero h1 { letter-spacing: -.07em; font-size: clamp(44px, 6vw, 84px); line-height: .92; max-width: 900px; margin: 0; }
.localHero h1 em { color: var(--pink); font-style: normal; }
.localHero .heroLead { margin: 30px 0; }

/* ---------- Garantías ---------- */
.trust { background: var(--ink); color: #fff; }
.trustGrid { grid-template-columns: repeat(4, 1fr); gap: 1px; display: grid; background: #ffffff1f; }
.trustGrid > div { background: var(--ink); padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; }
.trustGrid b { font-size: 15px; letter-spacing: -.01em; }
.trustGrid b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); margin-right: 10px; }
.trustGrid span { color: #c6bec4; font-size: 13px; line-height: 1.55; }

/* ---------- Cómo funciona ---------- */
.how { background: var(--cream); }
.how h2 em, .faq h2 em { color: var(--pink); font-style: normal; }
.how .sectionIntro h2 { letter-spacing: -.06em; }
.steps { grid-template-columns: repeat(3, 1fr); gap: 13px; display: grid; }
.steps li { background: #fff; border-radius: 23px; padding: 30px; min-height: 260px; display: flex; flex-direction: column; }
.steps b { color: var(--pink); font-size: 12px; font-weight: 900; letter-spacing: .12em; margin-bottom: auto; }
.steps h3 { letter-spacing: -.04em; font-size: 26px; margin: 40px 0 12px; line-height: 1.05; }
.steps p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ---------- Preguntas frecuentes ---------- */
.faq { background: var(--cream); }
.faqGrid { grid-template-columns: .8fr 1.2fr; gap: 8vw; align-items: start; display: grid; }
.faq h2 { letter-spacing: -.06em; font-size: clamp(38px, 4.4vw, 60px); line-height: .98; }
.faqList details { border-top: 1px solid #cfc8cc; padding: 0; }
.faqList details:last-child { border-bottom: 1px solid #cfc8cc; }
.faqList summary { cursor: pointer; list-style: none; padding: 22px 36px 22px 4px; font-size: 17px; font-weight: 800; letter-spacing: -.02em; position: relative; }
.faqList summary::-webkit-details-marker { display: none; }
.faqList summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--pink); }
.faqList details[open] summary::after { content: "–"; }
.faqList details p { color: var(--muted); font-size: 15px; line-height: 1.75; padding: 0 36px 24px 4px; }
.faqList details p a { color: var(--pink); text-decoration: underline; }

/* ---------- Contacto directo y WhatsApp ---------- */
.directContact { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.directContact a { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; font-weight: 800; font-size: 17px; transition: border-color .2s; }
.directContact a:hover { border-color: var(--pink); }
.directContact span { color: var(--pink); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 900; }
.waFloat { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; align-items: center; gap: 10px; background: #1a7f4b; color: #fff; border-radius: 99px; padding: 13px 18px; font-size: 13px; font-weight: 800; box-shadow: 0 12px 34px #0004; transition: transform .2s; }
.waFloat:hover { transform: translateY(-2px); }
.waFloat:focus-visible { outline-color: #fff; outline-offset: 2px; box-shadow: 0 0 0 5px #1a7f4b; }
.cookieBanner ~ .waFloat { bottom: 120px; }


/* ---------- Formulario por pasos ---------- */
.step { border: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 17px; }
.step[hidden] { display: none !important; }
.step legend { font-size: 22px; font-weight: 800; letter-spacing: -.04em; margin-bottom: 14px; padding: 0; outline: none; }
.progress { display: flex; gap: 6px; }
.progress i { flex: 1; height: 4px; border-radius: 4px; background: #e2dbe0; }
.progress i.on { background: var(--pink); }
.stepCount { color: var(--muted); font-size: 12px; font-weight: 800; margin: -4px 0 4px; }
.miniLabel { font-size: 12px; font-weight: 800; margin-bottom: -6px; }
.choiceGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choiceGrid.three { grid-template-columns: repeat(3, 1fr); }
.contactForm .choice { position: relative; display: block; font-size: 14px; font-weight: 800; }
.choice input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: block; text-align: center; background: #fff; border: 2px solid #e2dbe0; border-radius: 12px; padding: 15px 10px; transition: all .15s; }
.choice input:checked + span { border-color: var(--pink); background: #fff5fa; color: var(--pink2); }
.choice input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
.step.tried .choice input:invalid + span { border-color: #c62828; }
.step.tried input:invalid:not([type="radio"]):not([type="checkbox"]), .step.tried select:invalid { border-color: #c62828; }
.formNav { display: flex; gap: 10px; }
.formNav .submitButton { flex: 1; }
.backButton { cursor: pointer; background: #fff; border: 1px solid #d8d0d5 !important; border-radius: 99px; padding: 15px 20px; font-size: 13px; font-weight: 850; }
.backButton:hover { border-color: var(--pink) !important; }

/* ---------- Logos de comercializadoras ---------- */
.partners { margin-top: 90px; padding-top: 46px; border-top: 1px solid var(--line); }
.partnersTitle { text-align: center; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 26px; }
.partnersList { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 34px; max-width: 920px; margin-inline: auto; }
.partnersList li { width: 112px; height: 44px; display: flex; align-items: center; justify-content: center; }
.partnersList img { max-width: 112px; max-height: 44px; width: auto; height: auto; object-fit: contain; }


/* ---------- Color con intención (paleta de marca) ---------- */
.steps li:nth-child(1) { background: var(--yellow); }
.steps li:nth-child(2) { background: var(--blue); }
.steps li:nth-child(3) { background: var(--pink-soft); }
.steps li b { color: var(--ink); }
.steps li p { color: #433d42; }
.audiences span:nth-child(4n+1) { background: var(--pink-soft); }
.audiences span:nth-child(4n+2) { background: #fff0b8; }
.audiences span:nth-child(4n+3) { background: #cdeff4; }
.audiences span:nth-child(4n+4) { background: var(--violet-soft); }
.trustGrid > div:nth-child(1) b::before { background: var(--yellow); }
.trustGrid > div:nth-child(2) b::before { background: var(--pink); }
.trustGrid > div:nth-child(3) b::before { background: var(--blue); }
.trustGrid > div:nth-child(4) b::before { background: var(--violet); }
.faqList details[open] { background: #fff; border-radius: 14px; }
.faqList details[open] summary { padding-left: 16px; }
.faqList details[open] p { padding-left: 16px; }
.localHero { background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); }


/* ---------- Página rápida (/estudio, fibra) ---------- */
.quickPage { background: var(--cream); }
.quickHeader { background: #fffffff0; border-bottom: 1px solid #eee; height: 72px; }
.quickHeader .nav { height: 100%; }
.quickHeader .logo img { width: 170px; }
.quickMain { padding: 56px 0 72px; }
.quickGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: start; }
.quickIntro h1 { letter-spacing: -.07em; font-size: clamp(44px, 5.4vw, 76px); line-height: .92; margin: 0; }
.quickIntro h1 em { color: var(--pink); font-style: normal; }
.quickIntro .heroLead { margin: 26px 0; max-width: 460px; }
.quickPoints { display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.6; color: #433d42; }
.quickPoints li { padding-left: 22px; position: relative; }
.quickPoints li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.quickPanel { background: #fff; box-shadow: 0 20px 60px #1111; }
.quickPanel .step { gap: 12px; }
.quickForm.tried input:invalid:not([type="radio"]):not([type="checkbox"]), .quickForm.tried select:invalid { border-color: #c62828; }
.quickForm.tried .choice input:invalid + span { border-color: #c62828; }
.quickDone h2 { letter-spacing: -.05em; font-size: 36px; margin-bottom: 12px; }
.quickDone p { color: var(--muted); line-height: 1.7; margin-bottom: 22px; }
.quickFooter { border-top: 1px solid #e7e2e5; padding: 22px 0; font-size: 11px; color: #6f686d; }
.quickFooter .shell { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.quickFooter a { text-decoration: underline; }
@media (max-width: 960px) { .quickGrid { grid-template-columns: 1fr; gap: 34px; } .quickMain { padding: 36px 0 56px; } }

/* ---------- Pie ---------- */

/* ---------- Banner de cookies ---------- */
.cookieBanner { z-index: 80; color: #fff; background: #171318; border-radius: 18px; justify-content: space-between; align-items: center; gap: 35px; padding: 20px 24px; display: flex; position: fixed; bottom: 18px; left: 22px; right: 22px; box-shadow: 0 18px 60px #0005; }
.cookieBanner b { font-size: 14px; }
.cookieBanner p { color: #c6bec4; max-width: 680px; margin: 5px 0 0; font-size: 12px; line-height: 1.5; }
.cookieBanner > div:last-child { flex-wrap: wrap; align-items: center; gap: 8px; display: flex; }
.cookieBanner button { color: #fff; cursor: pointer; background: transparent; border: 1px solid #655d63; border-radius: 99px; padding: 10px 14px; font-size: 12px; }
.cookieBanner button.accept { background: var(--pink); border-color: var(--pink); }
.cookieBanner a { margin-left: 5px; font-size: 11px; text-decoration: underline; }

/* ---------- Páginas legales ---------- */
.legalPage { background: #fff; min-height: calc(100vh - 82px); padding: 90px 0 110px; }
.legalPage h1 { letter-spacing: -.07em; margin: 0 0 55px; font-size: clamp(50px, 7vw, 90px); }
.legalContent { max-width: 820px; }
.legalContent h2 { margin: 38px 0 12px; font-size: 24px; }
.legalContent p { color: #5f585e; font-size: 15px; line-height: 1.75; }
.legalContent p a { color: var(--pink); text-decoration: underline; }
.legalFooter { background: var(--ink); color: #fff; padding: 25px 0; }
.legalFooter > div { justify-content: space-between; font-size: 12px; display: flex; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .menuButton { background: transparent; border: 0; grid-template-columns: 22px auto; align-items: center; column-gap: 8px; display: grid; cursor: pointer; padding: 8px 0; }
  .menuButton span { background: #222; grid-column: 1; width: 22px; height: 2px; display: block; margin: 2px 0; }
  .menuButton b { grid-area: 1 / 2 / 4; font-size: 12px; }
  .heroOverlay { background: linear-gradient(90deg, #f8f5f0fa, #f8f5f0d1 58%, #f8f5f02e); }
  .serviceGrid { grid-template-columns: 1fr 1fr; }
  .split, .telecomLayout, .contactGrid { grid-template-columns: 1fr; }
  .stickyCopy { position: static; }
  .businessServices { grid-template-columns: 1fr 1fr; }
  .businessCta { grid-template-columns: 1fr; }
  .trustGrid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 0; }
  .faqGrid { grid-template-columns: 1fr; gap: 30px; }
  .sectionIntro, .businessHead { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .shell { width: min(100% - 30px, 1200px); }
  .section { padding: 78px 0; }
  .siteHeader { height: 70px; }
  .logo img { width: 170px; }
  .hero { align-items: flex-start; height: auto; min-height: 880px; padding-top: 86px; }
  .heroPhoto { object-position: 72% 80%; }
  .heroOverlay { background: linear-gradient(#f8f5f0fc 0%, #f8f5f0f5 48%, #f8f5f000 76%); }
  .hero .heroTitle { font-size: 52px; }
  .localHero { padding: 60px 0 56px; }
  .localHero h1 { font-size: 44px; }
  .heroLead { margin: 26px 0; font-size: 15px; }
  .actions { flex-direction: column; align-items: flex-start; }
  .sectionIntro h2, .stickyCopy h2, .businessHead h2, .contact h2 { font-size: 42px; }
  .serviceGrid { grid-template-columns: 1fr; }
  .serviceCard { min-height: 280px; }
  .split { gap: 55px; }
  .formPanel, .businessCta { border-radius: 20px; padding: 24px; }
  .fieldRow { grid-template-columns: 1fr; }
  .businessServices { grid-template-columns: 1fr; margin: 45px 0; }
  .businessServices div { min-height: 95px; }
  .businessBanner { margin-top: 36px; border-radius: 18px; }
  .businessBanner img { height: 230px; object-fit: cover; object-position: 78% center; }
  .trustGrid { grid-template-columns: 1fr; }
  .waFloat span { display: none; }
  .partners { margin-top: 60px; }
  .partnersList { gap: 10px 14px; }
  .partnersList li { width: 92px; height: 38px; }
  .partnersList img { max-width: 92px; max-height: 38px; }
  .choiceGrid.three { grid-template-columns: 1fr; }
  .waFloat { padding: 14px; }
  .faqList summary { font-size: 16px; }
  .cookieBanner { flex-direction: column; align-items: flex-start; gap: 14px; bottom: 10px; left: 10px; right: 10px; }
  .cookieBanner > div:last-child { width: 100%; }
  .legalPage { padding: 65px 0; }
  .legalPage h1 { margin-bottom: 40px; font-size: 50px; }
  .sectionCta { min-height: 340px; padding: 26px; }
  .sectionCta h3 { font-size: 34px; }
  .businessButton { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .serviceCard, .waFloat { transition: none; }
}
.quickPanel .choiceGrid.three { grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 960px) { .quickPanel .choiceGrid.three { grid-template-columns: repeat(3, 1fr); } .quickHeader .logo img { width: 140px; } }

/* ---------- Fibra y móvil ---------- */
.localHero h1 em { color: var(--pink); font-style: normal; }
.covSection .covBox { border-radius: 26px; overflow: hidden; background: #fff; border: 1px solid var(--line); margin-top: 8px; }
.covBox iframe { display: block; width: 100%; height: 600px; border: 0; }
.covFallback { font-size: 13px; color: var(--muted); margin-top: 14px; }
.covFallback a { text-decoration: underline; }
.covResult { margin-top: 20px; background: var(--cream); border-radius: 20px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.covResult p { font-weight: 700; font-size: 17px; line-height: 1.4; max-width: 640px; }
.tGroup { margin-top: 44px; }
.tHead h3 { letter-spacing: -.05em; font-size: 28px; }
.tHead p { color: var(--muted); margin-top: 6px; font-size: 14px; }
.tCards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin-top: 18px; }
.tCard { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.tCard.hot { background: var(--ink); color: #fff; border-color: var(--ink); }
.tCard b { font-size: 17px; letter-spacing: -.02em; }
.tDetail { font-size: 13px; line-height: 1.5; opacity: .75; min-height: 40px; }
.tPrice strong { font-size: 30px; letter-spacing: -.05em; }
.tPrice small { display: block; font-size: 11px; opacity: .7; margin-top: 2px; }
.tUntil { font-size: 11px; font-weight: 700; color: var(--pink2); }
.tCard.hot .tUntil { color: var(--yellow); }
.tPick { margin-top: auto; align-self: flex-start; border: 1.5px solid currentColor; border-radius: 99px; padding: 10px 16px; font-size: 12px; font-weight: 850; cursor: pointer; transition: all .2s; }
.tPick:hover { background: var(--pink); border-color: var(--pink); color: #fff; }
.tNote, .tarNone { font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 34px; max-width: 760px; }
.quickH2 { letter-spacing: -.06em; font-size: clamp(34px, 4.2vw, 56px); line-height: .98; margin: 0; }
.packChosen { margin-top: 18px; display: inline-block; background: var(--pink-soft); border-radius: 12px; padding: 12px 16px; font-size: 14px; font-weight: 700; }
.quickForm select { width: 100%; }
.quickForm textarea { width: 100%; }
@media (max-width: 960px) { .covBox iframe { height: 560px; } }
.section.pale { background: #fff; }

.featureRail a { color: inherit; transition: all .2s; }
.featureRail a:hover { color: var(--pink); padding-left: 14px; }

/* ---------- Portada telecom y páginas de servicio ---------- */
.hubGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hubGrid a { display: flex; flex-direction: column; gap: 12px; min-height: 300px; padding: 30px; border-radius: 26px; background: #fff; border: 1px solid var(--line); transition: all .25s; height: 100%; }
.hubGrid .hot a { background: var(--ink); color: #fff; border-color: var(--ink); }
.hubGrid a:hover { transform: translateY(-4px); box-shadow: 0 18px 40px #1111; }
.hubGrid span { color: var(--pink); font-size: 12px; font-weight: 800; }
.hubGrid h2 { letter-spacing: -.05em; font-size: 32px; margin: 0; }
.hubGrid p { line-height: 1.6; opacity: .75; font-size: 15px; }
.hubGrid b { margin-top: auto; font-size: 13px; }
.tfCards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 8px; }
.tfCards.three { grid-template-columns: repeat(3, 1fr); }
.tfCards.four { grid-template-columns: repeat(4, 1fr); }
.tfCards li { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.section.pale .tfCards li { background: #fff; }
.tfCards h3 { letter-spacing: -.035em; font-size: 20px; margin: 0 0 10px; }
.tfCards p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.cfg { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; margin-top: 8px; align-items: start; }
.cfgForm { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.cfgForm label { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 700; }
.cfgForm label.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; line-height: 1.5; }
.cfgForm select { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #fff; }
.cfgHint { font-size: 12px; color: var(--muted); line-height: 1.6; }
.cfgTotal { background: var(--ink); color: #fff; border-radius: 26px; padding: 30px; display: flex; flex-direction: column; gap: 10px; position: sticky; top: 90px; }
.cfgTotal > span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.cfgTotal strong { font-size: 54px; letter-spacing: -.06em; line-height: 1; }
.cfgTotal small { opacity: .7; }
.cfgTotal ul { font-size: 14px; line-height: 1.9; border-top: 1px solid #ffffff33; padding-top: 12px; margin-bottom: 8px; }
.cfgTotal .button { justify-content: space-between; cursor: pointer; border: 0; }
@media (max-width: 960px) {
  .hubGrid, .tfCards.three, .tfCards.four, .cfg { grid-template-columns: 1fr; }
  .hubGrid a { min-height: 0; }
  .cfgTotal { position: static; }
}
.steps.four { grid-template-columns: repeat(4, 1fr); }
.steps.four h3 { font-size: 22px; }
.steps li:nth-child(4) { background: var(--violet-soft); }
@media (max-width: 960px) { .steps.four { grid-template-columns: 1fr; } }

/* ---------- Ayuda: códigos ---------- */
.codeBlock { margin-top: 28px; }
.codeBlock h3 { letter-spacing: -.04em; font-size: 24px; }
.codeBlock > p { color: var(--muted); font-size: 14px; margin-top: 6px; line-height: 1.6; }
.codeList { margin-top: 14px; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.codeList li { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 22px; border-top: 1px solid var(--line); font-size: 14px; }
.codeList li:first-child { border-top: 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--cream); border-radius: 8px; padding: 5px 9px; font-size: 13px; font-weight: 700; word-break: break-all; }
.codeList code { white-space: nowrap; word-break: normal; }
.tfCards code { font-size: 18px; }
.section.pale .codeList { background: #fff; }
@media (max-width: 960px) { .codeList li { flex-direction: column; align-items: flex-start; gap: 8px; } .codeList code { white-space: normal; word-break: break-all; } }
.codeGrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; align-items: start; }
.codeGrid .codeBlock { min-width: 0; }
.codeList li span { flex: 1; }
@media (max-width: 960px) { .codeGrid { grid-template-columns: 1fr; } }

/* ---------- Doble cobertura y flujo de llamada ---------- */
.featureRail h3 small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-top: 4px; }
.dual { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.dualNet { background: var(--ink); color: #fff; border-radius: 22px; padding: 22px 34px; display: flex; flex-direction: column; gap: 2px; min-width: 190px; }
.dualNet.alt { background: var(--pink); }
.dualNet b { font-size: 26px; letter-spacing: -.04em; }
.dualNet span { font-size: 13px; opacity: .8; font-weight: 700; }
.dualPlus { font-size: 36px; font-weight: 300; }
.dual p { color: var(--muted); font-size: 14px; max-width: 280px; line-height: 1.6; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: f; margin-top: 8px; }
.flow li { position: relative; background: #fff; border: 1px solid var(--line); padding: 24px 20px; margin-right: -1px; }
.flow li:first-child { border-radius: 22px 0 0 22px; }
.flow li:last-child { border-radius: 0 22px 22px 0; margin-right: 0; }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 50%; transform: translateY(-50%); background: var(--pink); color: #fff; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; display: flex; align-items: center; justify-content: center; z-index: 2; }
.flow b { color: var(--pink); font-size: 12px; font-weight: 900; }
.flow h3 { letter-spacing: -.03em; font-size: 18px; margin: 10px 0 8px; line-height: 1.1; }
.flow p { color: var(--muted); font-size: 13px; line-height: 1.6; }
@media (max-width: 960px) {
  .flow { grid-template-columns: 1fr; }
  .flow li, .flow li:first-child, .flow li:last-child { border-radius: 16px; margin: 0 0 -1px; }
  .flow li:not(:last-child)::after { content: "↓"; right: auto; left: 24px; top: auto; bottom: -11px; transform: none; }
}

/* ---------- Franja cultura y eventos ---------- */
.cultureBand { background: var(--ink); color: #fff; padding: 46px 0; }
.cultureBand .shell { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cultureBand .kicker { color: #ffffffb0; }
.cultureBand h2 { letter-spacing: -.05em; font-size: clamp(26px, 3.4vw, 40px); margin: 6px 0 8px; }
.cultureBand p:not(.kicker) { color: #ffffffb8; font-size: 14px; }

/* ---------- Bloques de servicios bajo el hero ---------- */
.servicesBand { background: #fff; padding: 46px 0; }
.hubGrid.four { grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hubGrid.four a { min-height: 210px; padding: 24px; }
.hubGrid.four h2 { font-size: 26px; }
.hubGrid.four p { font-size: 13.5px; }
@media (max-width: 1100px) { .hubGrid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .hubGrid.four { grid-template-columns: 1fr; } .hubGrid.four a { min-height: 0; } }
/* La portada deja ver los servicios sin hacer scroll en escritorio */
@media (min-width: 961px) { .hero { height: auto; min-height: 580px; padding: 70px 0 185px; } .servicesBand { margin-top: -64px; padding-top: 0; background: transparent; position: relative; z-index: 3; } .servicesBand .hubGrid a { box-shadow: 0 18px 40px #1111; } }

/* ---------- Megamenú de cabecera ---------- */
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.navLinks { align-items: center; gap: 22px; font-size: 13px; font-weight: 700; display: flex; }
.navList { display: flex; align-items: center; gap: 2px; }
.navItem { display: flex; align-items: center; height: 82px; }
.navLink { display: flex; align-items: center; height: 100%; padding: 0 2px 0 12px; }
.navToggle { display: flex; align-items: center; justify-content: center; width: 28px; height: 100%; cursor: pointer; color: var(--muted); background: transparent; }
.navToggle .ic { width: 16px; height: 16px; stroke-width: 2.4; transition: transform .2s; }
.navItem.open .navToggle .ic { transform: rotate(180deg); }
.navLink:hover, .navToggle:hover, .navItem.open > .navLink, .navItem.open > .navToggle { color: var(--pink); }
.navItem.open > .navLink, .navItem.open > .navToggle { box-shadow: inset 0 -3px 0 var(--pink); }
.navCta:hover { background: var(--pink); }

.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 2; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -24px #11111466; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility 0s .18s; font-weight: 400; }
.navItem.open > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (min-width: 961px) { .siteHeader.hasOpen::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 100vh; background: #17131838; z-index: 1; pointer-events: none; } }
.megaGrid { display: grid; gap: 40px; padding: 34px 0 38px; align-items: start; }
.megaGrid.g2 { grid-template-columns: 5fr 7fr; }
.megaGrid.g3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.megaGrid.gh { grid-template-columns: 7fr 5fr; }
.mFeature { background: var(--ink); color: #fff; border-radius: 26px; padding: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.mFeature h3 { font-size: 24px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.mFeature p { color: #d3ccd1; font-size: 14px; line-height: 1.55; }
.megaBtn { margin-top: 8px; display: inline-flex; gap: 14px; background: var(--pink); color: #fff; border-radius: 99px; padding: 13px 18px; font-size: 13px; font-weight: 800; transition: background .2s; }
.megaBtn:hover { background: #fff; color: var(--ink); }
.megaBtn span { color: var(--yellow); }
.megaBtn:hover span { color: var(--pink); }
.mFeature :focus-visible, .footerDark :focus-visible { outline-color: #fff; }
.megaLabel { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 700; margin: 0 0 12px 14px; }
.mItems { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.mItems.one { grid-template-columns: 1fr; }
.mItem { display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 18px; transition: background .15s; }
.mItem:hover { background: #faf4f8; }
.mItem:hover b { color: var(--pink); }
.mIc { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--pink-soft); color: var(--pink); display: grid; place-items: center; }
.mIc.dark { background: var(--pink); color: #fff; border-radius: 99px; }
.mTx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mTx b { font-size: 14px; font-weight: 800; transition: color .15s; }
.mTx b i { font-style: normal; color: var(--pink); }
.mTx small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.mCol { border: 1px solid var(--line); border-radius: 26px; padding: 24px; transition: box-shadow .2s, border-color .2s; }
.mCol:hover { border-color: #cfc6cc; box-shadow: 0 14px 34px #1111; }
.mHead { display: flex; align-items: center; gap: 12px; }
.mHead b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.mHead:hover b { color: var(--pink); }
.mCol p { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 12px 0 8px; }
.mCol li a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid #eee; font-size: 13.5px; font-weight: 700; }
.mCol li a::after { content: "→"; color: var(--pink); transition: transform .15s; }
.mCol li a:hover { color: var(--pink); }
.mCol li a:hover::after { transform: translateX(3px); }
.megaStrip { background: var(--cream); border-top: 1px solid var(--line); }
.megaStrip .shell { display: flex; align-items: center; gap: 26px; padding: 14px 0; }
.megaStrip span { margin-right: auto; color: var(--muted); font-size: 13px; }
.megaStrip a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; }
.megaStrip a .ic { width: 18px; height: 18px; color: var(--pink); }
.megaStrip a:hover { color: var(--pink); }

@media (max-width: 960px) {
  .navLinks { display: none; position: absolute; top: 81px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid #ddd; box-shadow: 0 20px 40px #1112; padding: 6px 20px 24px; max-height: calc(100vh - 81px); max-height: calc(100dvh - 81px); overflow-y: auto; overscroll-behavior: contain; }
  .navLinks.open { display: flex; }
  .navList { flex-direction: column; align-items: stretch; gap: 0; }
  .navItem { flex-wrap: wrap; height: auto; border-bottom: 1px solid #eee; }
  .navLink { flex: 1; height: 58px; padding: 0 4px; font-size: 17px; font-weight: 800; }
  .navToggle { width: 58px; height: 58px; }
  .navToggle .ic { width: 20px; height: 20px; }
  .navItem.open > .navLink, .navItem.open > .navToggle { box-shadow: none; }
  .mega { position: static; flex-basis: 100%; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; transition: none; background: transparent; }
  .navItem.open > .mega { display: block; }
  .mega .shell { width: 100%; }
  .megaGrid, .megaGrid.g2, .megaGrid.g3, .megaGrid.gh { grid-template-columns: 1fr; gap: 14px; padding: 4px 0 20px; }
  .mFeature { padding: 22px; border-radius: 22px; }
  .mFeature h3 { font-size: 21px; }
  .mItems { grid-template-columns: 1fr; gap: 2px; }
  .megaLabel { margin-left: 4px; }
  .mItem { padding: 12px 4px; }
  .mCol { padding: 20px; border-radius: 22px; }
  .megaStrip { background: transparent; border: 0; }
  .megaStrip .shell { flex-wrap: wrap; gap: 10px 20px; padding: 0 0 18px; }
  .megaStrip span { flex-basis: 100%; }
  .navCta { margin-top: 18px; justify-content: center; padding: 17px 18px; font-size: 14px; }
  .menuButton[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menuButton[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menuButton[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .menuButton span { transition: transform .2s, opacity .2s; }
}
@media (max-width: 600px) { .navLinks { top: 69px; max-height: calc(100vh - 69px); max-height: calc(100dvh - 69px); } }
@media (min-width: 961px) and (max-width: 1120px) { .navLink { padding-left: 6px; } .navLinks { gap: 12px; } .navCta { padding: 12px 14px; gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .mega, .navToggle .ic { transition: none; } }

/* ---------- Pie con accesos directos ---------- */
.siteFooter { background: transparent; border: 0; padding: 0; }
.footerTop { background: var(--cream); border-top: 1px solid #e7e2e5; padding: 64px 0 58px; }
.footerCols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px; }
.footerCols h3 { font-size: 17px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 22px; }
.footerCols ul { display: flex; flex-direction: column; gap: 4px; }
.footerCols a { display: inline-block; padding: 6px 0; font-size: 14px; color: #4a444a; }
.footerCols a:hover { color: var(--pink); text-decoration: underline; text-underline-offset: 4px; }
.footerDark { background: var(--ink); color: #fff; padding: 36px 0 26px; }
.footerContact { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 28px; }
.footerLogo img { width: 170px; height: auto; }
.contactChips { display: flex; flex-wrap: wrap; gap: 12px; }
.contactChips a { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid #ffffff38; border-radius: 99px; font-size: 13px; font-weight: 700; transition: background .2s, border-color .2s; }
.contactChips a:hover { background: var(--pink); border-color: var(--pink); }
.contactChips .ic { width: 18px; height: 18px; }
.footerArea { flex-basis: 100%; color: #b9b1b7; font-size: 13px; padding-bottom: 26px; border-bottom: 1px solid #ffffff22; }
.footerLegal { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding-top: 22px; font-size: 12px; color: #b9b1b7; }
.footerLegal nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footerLegal nav a { color: #fff; padding: 6px 0; }
.footerLegal nav a:hover { color: #ff7ac0; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1100px) { .footerCols { grid-template-columns: repeat(3, 1fr); gap: 36px 30px; } }
@media (max-width: 600px) {
  .footerTop { padding: 46px 0 40px; }
  .footerCols { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .footerCols h3 { font-size: 16px; margin-bottom: 14px; }
  .contactChips { width: 100%; flex-direction: column; }
  .contactChips a { justify-content: center; padding: 15px 18px; }
  .footerLegal { flex-direction: column; align-items: flex-start; }
}

/* ---------- Portada: slider de servicios ---------- */
.heroSlider { position: relative; --hero-delay: 8s; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
.slide.active { opacity: 1; visibility: visible; z-index: 1; transition-delay: 0s; }
.slide.dark { background: #0d0a0e; color: #fff; }
.slide.dark .heroTitle { color: #fff; }
.slide.dark .kicker { color: #d6cfd4; }
.slide.dark .heroLead { color: #d3ccd1; }
.slide.dark .button.ghost { background: transparent; border-color: #ffffff59; color: #fff; }
.slide.dark .button.ghost:hover { background: #ffffff1a; }
.slide.dark :focus-visible { outline-color: #fff; }
.heroOverlay.dark { background: linear-gradient(90deg, #080808f5 0%, #080808d9 45%, #0808088c 100%); }
.heroControls { position: absolute; left: 0; right: 0; bottom: 96px; z-index: 4; pointer-events: none; }
.heroBar { display: inline-flex; align-items: center; gap: 4px; background: #171318ee; color: #fff; border-radius: 99px; padding: 6px; pointer-events: auto; box-shadow: 0 12px 30px #11111455; }
.heroTabs { display: flex; gap: 2px; }
.heroTab { position: relative; overflow: hidden; min-height: 40px; padding: 0 16px; border-radius: 99px; font-size: 12px; font-weight: 800; color: #cfc7ce; cursor: pointer; background: transparent; transition: background .2s, color .2s; }
.heroTab:hover { color: #fff; }
.heroTab.on { background: #ffffff1f; color: #fff; }
.heroTab::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--pink); transform: scaleX(0); transform-origin: left; }
.heroSlider.running .heroTab.on::after { animation: heroProg var(--hero-delay) linear forwards; }
@keyframes heroProg { to { transform: scaleX(1); } }
.heroArrow, .heroPause { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; cursor: pointer; background: transparent; transition: background .2s; }
.heroArrow:hover, .heroPause:hover { background: #ffffff26; }
.heroArrow .ic { width: 18px; height: 18px; stroke-width: 2.4; }
.heroArrow.prev .ic { transform: rotate(90deg); }
.heroArrow.next .ic { transform: rotate(-90deg); }
.heroPause { margin-left: 2px; }
.heroPause .ic { width: 16px; height: 16px; stroke-width: 2.6; }
.heroPause .icPlay { fill: currentColor; stroke-width: 1.5; }
.heroBar :focus-visible { outline-color: #fff; outline-offset: 1px; }
@media (max-width: 600px) {
  .hero { min-height: 740px; padding-top: 58px; padding-bottom: 96px; }
  .hero .heroTitle { font-size: 44px; }
  .heroLead { margin: 20px 0; }
    .heroControls { bottom: 20px; }
  .heroControls .shell { width: min(100% - 30px, 1200px); }
  .heroBar { display: flex; width: 100%; padding: 5px; }
  .heroArrow { display: none; }
  .heroTabs { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .heroTabs::-webkit-scrollbar { display: none; }
  .heroTab { flex: 1 0 auto; padding: 0 10px; font-size: 11px; }
  .heroTab::after { left: 10px; right: 10px; }
}
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } .heroSlider.running .heroTab.on::after { animation: none; transform: scaleX(1); } }
.spriteDef { position: absolute; width: 0; height: 0; overflow: hidden; }
.tNote a { text-decoration: underline; text-underline-offset: 3px; }

.cookiePrefs { color: inherit; font: inherit; cursor: pointer; background: none; border: 0; padding: 0; text-decoration: underline; }
