/* =========================================================
   Unitax Multiservicios — hoja de estilos
   Colores tomados de la tarjeta de presentación:
   azul marino (MULTISERVICIOS), azul (UNITAX), rojo (círculo)
   y celeste (ola inferior). Para ajustar la marca cuando
   llegue el logo, cambia solo las variables de :root.
   ========================================================= */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* Marca */
  --navy-900: #081f45;
  --navy: #0b2a5b;
  --blue: #1d4e9e;
  --blue-500: #2d6cc0;
  --red: #c42b1c;
  --red-700: #9c2013;
  --red-50: #fdefec;
  --sky-50: #f3f9fd;
  --sky-100: #e6f2fb;
  --sky-200: #cde5f6;
  --sky-300: #a9d2ef;
  --wa: #0f7a3e;
  --wa-700: #0b5f30;

  /* Texto y superficies */
  --ink: #0f1e33;
  --text: #24364f;
  --muted: #51627a;
  --line: #dce6f0;
  --white: #ffffff;

  /* Sistema */
  --font-head: "Archivo", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 91, .06), 0 2px 10px rgba(11, 42, 91, .06);
  --shadow-md: 0 10px 34px rgba(11, 42, 91, .12);
  --container: 1180px;
  --gutter: clamp(18px, 4vw, 32px);
  --section: clamp(56px, 8vw, 96px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a[href^="tel:"] { white-space: nowrap; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sky-200); color: var(--ink); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--sky { background: var(--sky-50); }
.section--tight { padding-block: clamp(40px, 6vw, 64px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--red); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Marcas de "por confirmar" — se quitan antes de publicar */
.todo {
  background: #fff4c2; color: #5b4300; border-bottom: 2px dashed #d9a300;
  padding: 0 .25em; border-radius: 3px; cursor: help;
}

/* ---------- Iconos ---------- */
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 28px; height: 28px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.3rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(196, 43, 28, .25); }
.btn--primary:hover { background: var(--red-700); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-700); color: #fff; }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--sky-100); color: var(--navy); }
.btn--ghost-light { color: #fff; border-color: rgba(255, 255, 255, .55); background: transparent; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn--sm { min-height: 40px; padding: .5rem 1rem; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Barra superior y cabecera ---------- */
.topbar { background: var(--navy-900); color: rgba(255, 255, 255, .86); font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar__info { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.topbar__info span { display: inline-flex; align-items: center; gap: .4rem; }
.topbar .icon { width: 16px; height: 16px; opacity: .8; }
.lang-switch { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s var(--ease); }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); }
.brand img { height: 62px; width: auto; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav__list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav__link, .nav__btn {
  display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: .5rem .8rem;
  font: 600 .98rem/1 var(--font-body); color: var(--ink); text-decoration: none; background: none; border: 0; border-radius: 999px; cursor: pointer;
}
.nav__link:hover, .nav__btn:hover, .nav__link[aria-current="page"] { color: var(--red); background: var(--red-50); }
.nav__btn .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav__item--has-menu { position: relative; }
.submenu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: 520px; padding: .75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav__item--has-menu:hover .submenu,
.nav__item--has-menu:focus-within .submenu,
.nav__btn[aria-expanded="true"] + .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__item--has-menu:hover .nav__btn .icon { transform: rotate(180deg); }
.submenu a { display: flex; gap: .7rem; align-items: flex-start; padding: .65rem .7rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.submenu a:hover { background: var(--sky-50); color: var(--ink); }
.submenu strong { display: block; font-size: .96rem; }
.submenu small { color: var(--muted); font-size: .84rem; line-height: 1.35; display: block; }
.submenu .icon { color: var(--red); margin-top: 2px; }
.nav__cta { margin-left: .5rem; }
.nav-toggle { display: none; }

/* ---------- Hero de inicio ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--sky-50) 100%); padding-block: clamp(48px, 7vw, 88px) clamp(80px, 10vw, 128px); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero h1 .hl { color: var(--red); position: relative; white-space: nowrap; }
.hero .lead { margin-bottom: 1.6rem; }
.hero__call { margin-top: 1.1rem; color: var(--muted); font-size: .98rem; }
.hero__call a { font-weight: 700; color: var(--navy); text-decoration: none; }
.hero__call a:hover { color: var(--red); }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 0; width: 100%; height: auto; pointer-events: none; }

.hero__media { position: relative; }
.photo-ph {
  position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 80% 10%, rgba(217, 54, 31, .32), transparent 55%),
    linear-gradient(160deg, var(--blue) 0%, var(--navy) 60%, var(--navy-900) 100%);
  color: #fff; display: grid; place-items: center; text-align: center; box-shadow: var(--shadow-md);
}
.photo-ph::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 18px 18px; }
.photo-ph__inner { position: relative; z-index: 1; padding: 24px; }
.photo-ph__mono { width: 104px; height: 104px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font: 800 2.2rem/1 var(--font-head); background: rgba(255, 255, 255, .14); border: 2px solid rgba(255, 255, 255, .35); }
.photo-ph__cap { font-size: .9rem; opacity: .85; max-width: 26ch; margin: 0 auto; }
.photo-ph--wide { aspect-ratio: 16 / 10; }
.hero__badge {
  position: absolute; left: -22px; bottom: 34px; display: flex; gap: .7rem; align-items: center;
  background: #fff; color: var(--ink); padding: .85rem 1rem; border-radius: 14px; box-shadow: var(--shadow-md); max-width: 260px;
}
.hero__badge .badge-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--red-50); color: var(--red); flex: none; }
.hero__badge strong { display: block; font-family: var(--font-head); font-size: 1rem; line-height: 1.2; }
.hero__badge small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.35; margin-top: 2px; }
.hero__badge--top { left: auto; right: -14px; top: 28px; bottom: auto; }

/* ---------- Franja de confianza ---------- */
.trust { position: relative; z-index: 2; margin-top: -56px; }
.trust__list {
  list-style: none; margin: 0; padding: 1.1rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.trust__item { display: flex; gap: .75rem; align-items: center; padding: .6rem .7rem; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-100); color: var(--blue); flex: none; }
.trust__item strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1rem; line-height: 1.2; }
.trust__item span { color: var(--muted); font-size: .88rem; line-height: 1.35; display: block; }
.trust__item .todo { display: inline; font-size: inherit; color: #5b4300; }

/* ---------- Tarjetas de servicio ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: .4rem; padding: 26px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sky-300); color: var(--text); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--red-50); color: var(--red); margin-bottom: .6rem; }
.card h3 { margin-bottom: .2rem; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card__more { margin-top: auto; padding-top: .9rem; display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--red); font-size: .95rem; }
.card__more .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
a.card:hover .card__more .icon { transform: translateX(3px); }
.card--feature { grid-column: span 2; background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); color: #fff; border: 0; }
.card--feature h3, .card--feature .card__more { color: #fff; }
.card--feature p { color: rgba(255, 255, 255, .85); }
.card--feature .card__icon { background: rgba(255, 255, 255, .14); color: #fff; }
.card--feature .tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; padding: 0; list-style: none; }
.card--feature .tags li { font-size: .84rem; padding: .3rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .14); }

/* ---------- Pasos ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem; border-radius: 50%;
  background: var(--navy); color: #fff; font: 800 1.15rem/1 var(--font-head);
}
.step p { color: var(--muted); margin: 0; }

/* ---------- Banda azul ---------- */
.band { position: relative; overflow: hidden; background: var(--navy); color: rgba(255, 255, 255, .88); }
.band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 54, 31, .55), rgba(217, 54, 31, 0) 70%); }
.band .container { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.band h2 { color: #fff; }
.band .eyebrow { color: #ff9aa9; }
.band__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.band__list li { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1rem; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.band__list .icon { color: #fff; margin-top: 2px; }
.band__list strong { color: #fff; display: block; }

/* ---------- Sobre Cecilia ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse { grid-template-columns: 1.1fr .9fr; }
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.checks li { display: flex; gap: .65rem; align-items: flex-start; }
.checks .icon { color: var(--red); margin-top: 3px; }
.checks--2 { grid-template-columns: 1fr 1fr; gap: .75rem 1.5rem; }
.quote { font-family: var(--font-head); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.35; color: var(--navy); border-left: 4px solid var(--red); padding-left: 1rem; margin: 0 0 1.5rem; }

/* ---------- Reseñas ---------- */
.reviews-ph { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-slot { min-height: 168px; padding: 22px; border-radius: var(--radius); border: 2px dashed var(--sky-300); background: #fff; display: flex; flex-direction: column; gap: .6rem; justify-content: flex-start; color: var(--muted); }
.review-slot .stars { display: flex; gap: 2px; color: #d9a300; }
.review-slot .stars .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.reviews-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: center; text-align: center; }

/* ---------- Preguntas frecuentes ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq--center { margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq details[open] { border-color: var(--sky-300); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 18px 20px; font: 700 1.05rem/1.35 var(--font-head); color: var(--ink); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--red); transition: transform .2s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .faq__a { padding: 0 20px 18px; color: var(--muted); }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* ---------- Área y contacto ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.chips li { padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: .95rem; color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: stretch; }
.contact-card { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; }
.contact-list .ci { width: 42px; height: 42px; border-radius: 12px; background: var(--sky-100); color: var(--blue); display: grid; place-items: center; flex: none; }
.contact-list strong { display: block; color: var(--ink); font-family: var(--font-head); }
.contact-list a { color: var(--text); text-decoration: none; }
.contact-list a:hover { color: var(--red); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 360px; background: var(--sky-100); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

/* ---------- CTA final ---------- */
.cta-final { background: linear-gradient(120deg, var(--red) 0%, #9c2013 100%); color: #fff; border-radius: 28px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-final::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 48px solid rgba(255, 255, 255, .08); }
.cta-final h2 { color: #fff; margin-bottom: .3em; }
.cta-final p { color: rgba(255, 255, 255, .9); margin: 0; }
.cta-final .btn-row { justify-content: flex-end; position: relative; z-index: 1; }

/* ---------- Páginas internas ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky-50), var(--sky-100)); padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 88px); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 22ch; }
.page-hero .lead { margin-bottom: 1.5rem; }
.page-hero__grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: end; }
.page-hero__icon { justify-self: end; width: 148px; height: 148px; border-radius: 36px; display: grid; place-items: center; background: #fff; color: var(--red); box-shadow: var(--shadow-md); }
.page-hero__icon .icon { width: 64px; height: 64px; stroke-width: 1.6; }
.breadcrumbs { font-size: .9rem; margin-bottom: 1.1rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--sky-300); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--red); }

.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 56px); align-items: start; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose > p, .prose li { max-width: 68ch; }
.feature-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-list li { display: flex; gap: .7rem; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--sky-50); border: 1px solid var(--line); }
.feature-list .icon { color: var(--red); margin-top: 3px; }
.feature-list strong { display: block; color: var(--ink); }
.feature-list span { color: var(--muted); font-size: .94rem; }
.note { padding: 16px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); color: var(--text); margin: 0 0 1.5rem; }
.note--warn { border-left-color: var(--red); background: var(--red-50); }
.note strong { color: var(--ink); }

.aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.aside-card { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.aside-card h3 { font-size: 1.1rem; }
.aside-card .btn { width: 100%; }
.aside-card .btn + .btn { margin-top: .6rem; }
.aside-card--navy { background: var(--navy); border: 0; color: rgba(255, 255, 255, .88); }
.aside-card--navy h3 { color: #fff; }
.aside-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.aside-links a { display: flex; align-items: center; gap: .6rem; padding: .55rem .5rem; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; }
.aside-links a:hover { background: var(--sky-50); color: var(--red); }
.aside-links .icon { color: var(--red); width: 18px; height: 18px; }

/* Lista de documentos */
.checklist-group { margin-bottom: 1.6rem; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.checklist-group h2 { font-size: 1.25rem; margin: 0 0 .9rem; display: flex; gap: .6rem; align-items: center; }
.checklist-group h2 .icon { color: var(--red); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.checklist label { display: flex; gap: .75rem; align-items: flex-start; cursor: pointer; padding: .35rem 0; }
.checklist input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.checklist small { display: block; color: var(--muted); }

/* Formularios */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.field .hint { display: block; color: var(--muted); font-size: .88rem; margin-top: .3rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: #fff; border: 1.5px solid #c3d2e2; border-radius: 12px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(45, 108, 192, .18); }
.form-note { display: none; padding: 14px 16px; border-radius: 12px; background: var(--sky-100); color: var(--navy); font-weight: 500; }
.form-note.is-visible { display: block; }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .78); padding-block: 64px 28px; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 36px; }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-body); font-weight: 600; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand img { height: 68px; width: auto; margin-bottom: 1rem; background: #fff; padding: 8px 12px; border-radius: 12px; }
.footer-legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; color: rgba(255, 255, 255, .62); }
.footer-legal p { margin: 0; max-width: 78ch; }

/* ---------- Barra fija móvil ---------- */
.mobile-bar { display: none; }

/* ---------- Animación de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .trust__list { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card--feature { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .aside { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(88vw, 380px); flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 88px 20px 24px; box-shadow: -10px 0 40px rgba(8, 31, 69, .2); overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .28s var(--ease), visibility 0s linear .28s; z-index: 60;
  }
  .nav-open .nav { transform: none; visibility: visible; transition: transform .28s var(--ease); }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(8, 31, 69, .45); opacity: 0; visibility: hidden; transition: opacity .2s; z-index: 55; }
  .nav-close { position: absolute; top: 18px; right: 18px; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link, .nav__btn { width: 100%; justify-content: space-between; padding: .8rem .9rem; font-size: 1.05rem; border-radius: 12px; }
  .submenu { position: static; width: auto; transform: none; box-shadow: none; border: 0; padding: 0 0 .5rem .5rem; grid-template-columns: 1fr; display: none; opacity: 1; visibility: visible; }
  .nav__btn[aria-expanded="true"] + .submenu { display: grid; transform: none; }
  .nav__item--has-menu:hover .submenu { transform: none; }
  .nav__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .nav__cta { margin: 1rem 0 0; width: 100%; }
  .topbar__hours { display: none !important; }
  .hero__grid, .split, .split--reverse, .band .container, .cta-final, .page-hero__grid, .contact-grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 440px; margin-inline: auto; width: 100%; }
  .page-hero__icon { display: none; }
  .cta-final .btn-row { justify-content: flex-start; }
  .steps, .reviews-ph { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; padding-bottom: 76px; }
  .topbar__addr { display: none !important; }
  .trust { margin-top: -40px; }
  .trust__list { grid-template-columns: 1fr; padding: .6rem; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--line); }
  .cards, .feature-list, .checks--2, .form__row, .aside { grid-template-columns: 1fr; }
  .card--feature { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero .photo-ph { aspect-ratio: 4 / 3; }
  .hero__badge { left: 12px; right: auto; bottom: 16px; }
  .hero__badge--top { display: none; }
  .brand img { height: 50px; }
  .site-header .container { min-height: 68px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(8, 31, 69, .12);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    gap: 8px;
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: .82rem; }
  .mobile-bar .mb-call { background: var(--sky-100); color: var(--navy); }
  .mobile-bar .mb-wa { background: var(--wa); color: #fff; }
  .mobile-bar .mb-cita { background: var(--red); color: #fff; }
}

/* ---------- Impresión (lista de documentos) ---------- */
@media print {
  .topbar, .site-header, .site-footer, .mobile-bar, .aside, .no-print, .page-hero .btn-row, .cta-final { display: none !important; }
  body { font-size: 12pt; padding: 0; }
  .page-hero { background: none; padding: 0 0 12pt; }
  .checklist-group { break-inside: avoid; border: 1px solid #999; }
  .content-grid { grid-template-columns: 1fr; }
  a { color: inherit; text-decoration: none; }
}

/* =========================================================
   v2 — portada por secciones, formulario y GEO
   ========================================================= */
html { scroll-padding-top: 96px; }
.hero__art { position: relative; }
.hero__photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-md); }
.hero__art svg { width: 100%; height: auto; filter: drop-shadow(0 18px 40px rgba(11, 42, 91, .18)); }

/* Tarjetas de servicio con acciones */
.card--svc { gap: .45rem; }
.card__actions { margin-top: auto; padding-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.card__actions .btn { flex: 1 1 auto; }
.card__link { margin-top: .7rem; font-size: .92rem; font-weight: 600; color: var(--blue); text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; }
.card__link .icon { width: 16px; height: 16px; }
.card__link:hover { color: var(--red); }
.card--feature .card__link { color: #fff; }
.card--feature .btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.card--feature .btn--outline:hover { background: #fff; color: var(--navy); }

/* Sección documentos */
.docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.docs-box { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.docs-box h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.08rem; }
.docs-box h3 .icon { color: var(--red); }
.docs-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; color: var(--muted); font-size: .96rem; }
.docs-box li { display: flex; gap: .5rem; align-items: flex-start; }
.docs-box li .icon { width: 16px; height: 16px; color: var(--blue); margin-top: 4px; }

/* Zonas y datos rápidos (GEO) */
.facts { margin: 0; display: grid; grid-template-columns: 170px 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.facts dt, .facts dd { margin: 0; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--ink); background: var(--sky-50); }
.facts dd { color: var(--text); }
.facts dt:last-of-type, .facts dd:last-of-type { border-bottom: 0; }
.towns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; list-style: none; padding: 0; margin: 0 0 1.4rem; }
.towns li { padding: .7rem .9rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.towns strong { display: block; color: var(--ink); }
.towns span { color: var(--muted); font-size: .9rem; }

/* Formulario de cita / documentos */
.form-card { padding: clamp(22px, 3vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); }
.mode { border: 0; padding: 0; margin: 0 0 .4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mode legend { font-weight: 600; color: var(--ink); margin-bottom: .5rem; padding: 0; }
.mode__opt { position: relative; cursor: pointer; display: flex; }
.mode__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.mode__opt span {
  display: flex; align-items: center; gap: .6rem; width: 100%; min-height: 56px; padding: .7rem .9rem; border-radius: 12px;
  border: 1.5px solid #c3d2e2; font-weight: 600; color: var(--ink); background: #fff; transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.mode__opt span .icon { color: var(--muted); }
.mode__opt input:checked + span { border-color: var(--red); background: var(--red-50); box-shadow: 0 0 0 3px rgba(196, 43, 28, .12); }
.mode__opt input:checked + span .icon { color: var(--red); }
.mode__opt input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.js [data-only][hidden] { display: none !important; }
.doc-checks { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 1rem; }
.doc-checks legend { font-weight: 600; color: var(--ink); margin-bottom: .4rem; padding: 0; }
.doc-checks label { display: flex; gap: .55rem; align-items: center; min-height: 36px; cursor: pointer; }
.doc-checks input { width: 20px; height: 20px; accent-color: var(--red); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: .88rem; color: var(--muted); margin: 0; }
.form-status { display: none; padding: 14px 16px; border-radius: 12px; font-weight: 500; }
.form-status.is-ok { display: block; background: #e8f6ee; color: #0b5f30; border: 1px solid #b9e2c8; }
.form-status.is-error { display: block; background: var(--red-50); color: var(--red-700); border: 1px solid #f3c4bd; }
.form-status a { color: inherit; font-weight: 700; }
.btn[disabled] { opacity: .65; cursor: progress; }
.contact-side { display: grid; gap: 20px; align-content: start; }

@media (max-width: 1080px) {
  .docs-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .docs-grid, .doc-checks { grid-template-columns: 1fr; }
  .towns { gap: 8px; }
  .towns li { padding: .55rem .7rem; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: .2rem; }
  .facts dd { padding-top: 0; background: var(--sky-50); }
  .mode { grid-template-columns: 1fr; }
  .card__actions .btn { flex: 1 1 100%; }
  html { scroll-padding-top: 80px; }
}
