/* ==========================================================================
   AVEPAS — Hoja de estilos principal
   Servicios para la construcción · Bizkaia
   Paleta, tipografía y componentes reutilizados en todas las páginas.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --c-navy-900:#001E3C;
  --c-navy-850:#00284C;
  --c-navy-800:#002B52;
  --c-navy-700:#0A3A6B;
  --c-blue-600:#346094;
  --c-yellow:#FFD100;
  --c-yellow-600:#E5A800;
  --c-yellow-200:#FFE890;
  --c-ink:#0A2540;
  --c-ink-900:#15181D;
  --c-text:#5A6573;
  --c-text-2:#7A8696;
  --c-text-3:#9AA6B5;
  --c-muted:#A6B0BC;
  --c-bg:#FFFFFF;
  --c-bg-alt:#F5F7FA;
  --c-border:#E8ECF1;
  --c-border-2:#E4E9EF;
  --c-border-3:#DEE3EA;
  --c-line:#EEF1F5;
  --font-display:'Archivo', sans-serif;
  --font-body:'Manrope', sans-serif;
  --maxw:1280px;
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--c-ink-900);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
::selection { background: var(--c-yellow); color: var(--c-navy-800); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--c-line); }
::-webkit-scrollbar-thumb { background: var(--c-blue-600); border-radius: 6px; }

/* Accesibilidad: salto al contenido */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 3000;
  background: var(--c-yellow); color: var(--c-navy-800);
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  padding: 12px 20px; border-radius: 0 0 9px 0; text-decoration: none;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--c-blue-600); outline-offset: 2px; }

/* ---------- Animaciones ---------- */
@keyframes avFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes avMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes avPulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes avSpin { to { transform: rotate(360deg); } }

/* ---------- Layout ---------- */
.page { min-height: 100vh; overflow-x: clip; }
.container { max-width: var(--maxw); margin: 0 auto; }
.container--wide { max-width: 1320px; margin: 0 auto; }
.container--920 { max-width: 920px; margin: 0 auto; }
.container--880 { max-width: 880px; margin: 0 auto; }
.container--760 { max-width: 760px; margin: 0 auto; }

.eyebrow {
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: 2px; color: var(--c-blue-600); margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(30px,3.6vw,46px); line-height: 1.08;
  letter-spacing: -1.2px; color: var(--c-ink);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; line-height: 1;
  border: none; cursor: pointer; text-decoration: none;
  transition: all .25s; white-space: nowrap;
}
.btn--primary { background: var(--c-yellow); color: var(--c-navy-800); }
.btn--lg { font-size: 16px; padding: 18px 34px; border-radius: 11px; box-shadow: 0 12px 34px rgba(255,209,0,.35); }
.btn--lg.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(255,209,0,.5); }
.btn--ghost-light {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.25);
  font-weight: 600; color: #fff; font-size: 16px; padding: 18px 34px; border-radius: 11px;
}
.btn--ghost-light:hover { background: rgba(255,255,255,.14); border-color: #fff; }

/* ==========================================================================
   CABECERA / NAVEGACIÓN
   ========================================================================== */
/* Barra superior de contacto */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: var(--tbh, 40px); display: flex; align-items: center;
  padding: 0 clamp(20px,4vw,56px);
  background: #001327; border-bottom: 1px solid rgba(255,255,255,.08);
  transition: transform .4s ease;
}
.topbar.is-hidden { transform: translateY(-100%); }
.topbar__inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: clamp(16px,2.4vw,36px);
}
.topbar__item {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.72);
  text-decoration: none; white-space: nowrap; transition: color .2s;
}
.topbar__item:hover { color: #fff; }
.topbar__ic { color: var(--c-yellow); font-size: 13.5px; line-height: 0; }
.topbar__item--phone { font-weight: 700; color: #fff; }

.nav {
  position: fixed; top: var(--tbh, 40px); left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px,4vw,56px); height: 78px;
  background: rgba(0,20,40,.28); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.12); transition: background .4s ease, top .4s ease, border-color .4s ease;
}
.nav.scrolled { top: 0; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(0,0,0,.07); }

@media (max-width: 980px) { .topbar__item--addr { display: none; } }
@media (max-width: 720px) {
  :root { --tbh: 0px; }
  .topbar { display: none; }
}
.nav__brand { display: flex; align-items: center; }
.nav__logo { height: 42px; width: auto; display: block; }
.nav__logo--dark { display: none; }
.nav.scrolled .nav__logo--light { display: none; }
.nav.scrolled .nav__logo--dark { display: block; }
.nav__menu { display: flex; align-items: center; gap: 6px; }
.nav__link {
  background: transparent; border: none; font-family: var(--font-body);
  font-weight: 700; font-size: 14px; color: rgba(255,255,255,.85);
  padding: 9px 13px; border-radius: 8px; cursor: pointer;
  transition: all .2s; letter-spacing: .1px; white-space: nowrap; text-decoration: none;
}
.nav__link:hover { background: rgba(52,96,148,.1); }
.nav__link.is-active { color: var(--c-yellow); }
.nav.scrolled .nav__link { color: #3A4452; }
.nav.scrolled .nav__link.is-active { color: var(--c-navy-800); }
.nav__cta {
  display: flex; align-items: center; gap: 8px; margin-left: 8px; white-space: nowrap;
  background: var(--c-yellow); border: none; font-family: var(--font-display);
  font-weight: 700; font-size: 14px; color: var(--c-navy-800);
  padding: 12px 20px; border-radius: 9px; cursor: pointer; transition: all .25s;
  box-shadow: 0 6px 18px rgba(255,209,0,.3); text-decoration: none;
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255,209,0,.45); }

/* ==========================================================================
   HERO (home)
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg,#001E3C 0%,#002B52 55%,#0A3A6B 100%);
}
.hero__photo {
  position: absolute; inset: -8% 0 0 0;
  background-image: url('../assets/fondos/hero-bg.jpg');
  background-size: cover; background-position: center; opacity: 1;
}
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(120deg,rgba(0,21,42,.5) 0%,rgba(0,30,58,.34) 45%,rgba(10,45,80,.24) 100%);
}
.hero__grid {
  display: none;
}
.hero__glow {
  position: absolute; top: -12%; right: -8%; width: 680px; height: 680px;
  background: radial-gradient(circle,rgba(255,209,0,.16),transparent 62%); filter: blur(20px);
}
.hero__glow2 {
  position: absolute; bottom: 8%; left: -4%; width: 380px; height: 380px;
  background: radial-gradient(circle,rgba(52,96,148,.5),transparent 65%); filter: blur(30px);
}
.hero__blade {
  position: absolute; top: 0; right: 0; width: 42%; height: 100%;
  background: linear-gradient(160deg,transparent 38%,rgba(255,209,0,.07) 100%);
  clip-path: polygon(28% 0,100% 0,100% 100%,0 100%);
}
.hero__inner {
  position: relative; z-index: 5; max-width: var(--maxw); margin: 0 auto;
  padding: 120px clamp(20px,5vw,90px) 80px; width: 100%; transform-origin: center top;
}
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,209,0,.4);
  border-radius: 100px; margin-bottom: 30px; white-space: nowrap;
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-yellow); animation: avPulse 2s infinite; flex-shrink: 0; }
.badge__label { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--c-yellow-200); }
.hero__title {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(44px,6.6vw,92px);
  line-height: .98; letter-spacing: -2.5px; color: #fff; max-width: 1000px; text-wrap: balance;
}
.hero__title .hl { color: var(--c-yellow); }
.hero__lead {
  font-size: clamp(17px,1.5vw,21px); line-height: 1.6; color: rgba(255,255,255,.78);
  max-width: 640px; margin: 30px 0 42px; font-weight: 500;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 40px; margin-top: 64px; flex-wrap: wrap; }
.hero-stat__n { font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--c-yellow); }
.hero-stat__n span { font-size: 20px; }
.hero-stat__label { font-size: 13.5px; color: rgba(255,255,255,.6); font-weight: 600; margin-top: 2px; }
.hero-stat__rule { width: 1px; background: rgba(255,255,255,.15); }
.hero__scrollcue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 5;
}
.hero__scrollcue span:first-child { font-size: 11px; letter-spacing: 2px; color: rgba(255,255,255,.5); font-weight: 700; }
.hero__scrollcue .arrow { font-size: 18px; color: var(--c-yellow); animation: avFloat 2.2s infinite; }

/* ==========================================================================
   MARQUEE / PARTNERS
   ========================================================================== */
.partners { background: #fff; padding: 38px 0; border-bottom: 1px solid var(--c-line); overflow: hidden; }
.partners__title { text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: 2px; color: var(--c-text-3); margin-bottom: 26px; }
.partners__track { display: flex; gap: 72px; width: max-content; animation: avMarquee 26s linear infinite; }
.partners__item { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: #C2CAD4; letter-spacing: 1px; white-space: nowrap; }

/* ==========================================================================
   SECCIONES GENÉRICAS
   ========================================================================== */
.section { padding: clamp(64px,8vw,108px) clamp(20px,5vw,90px); }
.section--alt { background: var(--c-bg-alt); }
.section--white { background: #fff; }
.section--stats { background: var(--c-bg-alt); padding: clamp(64px,8vw,104px) clamp(20px,5vw,90px); }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head--center { text-align: center; margin: 0 auto 56px; max-width: 620px; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 56px; }
.section-head__intro { max-width: 380px; font-size: 16px; line-height: 1.65; color: var(--c-text); }

/* ---------- Stats cards ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.stat-card { background: #fff; border-radius: 16px; padding: 34px 30px; border: 1px solid var(--c-border); box-shadow: 0 2px 20px rgba(10,37,64,.04); }
.stat-card__row { display: flex; align-items: baseline; }
.stat-card__n { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px,4vw,56px); color: var(--c-ink); letter-spacing: -2px; line-height: 1; }
.stat-card__label { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--c-ink); margin-top: 14px; }
.stat-card__sub { font-size: 13.5px; color: var(--c-text-2); margin-top: 5px; line-height: 1.4; }
.stat-card__rule { width: 38px; height: 4px; background: var(--c-yellow); border-radius: 2px; margin-top: 18px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--c-border); border-radius: 20px;
  cursor: pointer; transition: all .35s cubic-bezier(.16,1,.3,1); overflow: hidden;
  text-decoration: none; color: inherit; display: block;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(10,37,64,.13); border-color: #fff; }
.service-card__media { position: relative; height: 190px; overflow: hidden; }
.service-card__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s ease; }
.service-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,33,62,.15),rgba(0,33,62,.55)); }
.service-card__tag { position: absolute; top: 18px; left: 22px; font-family: var(--font-display); font-weight: 900; font-size: 46px; color: rgba(255,255,255,.92); line-height: 1; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.service-card__accent { position: absolute; bottom: 0; left: 0; width: 64px; height: 6px; }
.service-card__body { padding: 30px 34px 34px; }
.service-card__title { font-family: var(--font-display); font-weight: 800; font-size: 25px; color: var(--c-ink); letter-spacing: -.5px; }
.service-card__desc { font-size: 15px; line-height: 1.62; color: var(--c-text); margin: 14px 0 22px; }
.service-card__points { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; list-style: none; }
.service-card__points li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--c-ink); }
.service-card__points .check { color: var(--c-blue-600); font-weight: 800; }
.service-card__link { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--c-blue-600); }

/* ==========================================================================
   PROCESO (timeline)
   ========================================================================== */
.process {
  position: relative; padding: clamp(64px,8vw,116px) clamp(20px,5vw,90px); overflow: hidden;
  background: linear-gradient(180deg,#001E3C,#00284C 55%,#002B52);
}
.process__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
  background-size: 60px 60px;
}
.process__glow { position: absolute; top: 6%; right: -4%; width: 460px; height: 460px; background: radial-gradient(circle,rgba(255,209,0,.12),transparent 62%); filter: blur(24px); }
.process__head { text-align: center; max-width: 720px; margin: 0 auto 18px; }
.process__badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,209,0,.35); border-radius: 100px; margin-bottom: 22px; }
.process__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-yellow); animation: avPulse 2s infinite; }
.process__badge span:last-child { font-family: var(--font-display); font-weight: 700; font-size: 12.5px; letter-spacing: 1.8px; color: var(--c-yellow-200); }
.process__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px,3.8vw,50px); line-height: 1.05; letter-spacing: -1.4px; color: #fff; }
.process__lead { font-size: clamp(15px,1.3vw,18px); line-height: 1.6; color: rgba(255,255,255,.62); margin-top: 18px; }
.timeline { position: relative; margin-top: 72px; }
.timeline__track { position: absolute; left: 0; right: 0; top: 34px; height: 3px; background: rgba(255,255,255,.12); border-radius: 2px; }
.timeline__fill { position: absolute; left: 0; top: 33px; width: 0; height: 5px; background: linear-gradient(90deg,#E5A800,#FFD100); border-radius: 3px; transition: width 2.4s cubic-bezier(.5,0,.1,1); box-shadow: 0 0 18px rgba(255,209,0,.6); }
.timeline__row { position: relative; display: grid; grid-template-columns: repeat(6,1fr); gap: clamp(10px,1.4vw,22px); }
.timeline__step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.timeline__node { position: relative; width: 70px; height: 70px; flex-shrink: 0; margin-bottom: 26px; }
.timeline__node-inner { position: absolute; inset: 0; border-radius: 50%; background: #04284B; border: 2px solid rgba(255,209,0,.55); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 900; font-size: 24px; color: var(--c-yellow); box-shadow: 0 0 0 6px rgba(0,30,60,.6), 0 8px 24px rgba(0,0,0,.35); z-index: 2; transition: all .3s; }
.timeline__card { width: 100%; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.09); border-radius: 16px; padding: 24px 18px 26px; min-height: 172px; transition: all .35s cubic-bezier(.16,1,.3,1); }
.timeline__card:hover { background: rgba(255,209,0,.06); border-color: rgba(255,209,0,.4); transform: translateY(-6px); }
.timeline__card h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(14px,1.15vw,17px); color: #fff; margin-bottom: 11px; line-height: 1.2; }
.timeline__card p { font-size: clamp(12px,.92vw,13.5px); line-height: 1.55; color: rgba(255,255,255,.6); }
.process__cta-wrap { display: flex; justify-content: center; margin-top: 56px; }
.btn--process { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.22); font-weight: 700; font-size: 15px; color: #fff; padding: 15px 30px; border-radius: 11px; }
.btn--process:hover { background: var(--c-yellow); color: var(--c-navy-800); border-color: var(--c-yellow); }

/* ==========================================================================
   PROYECTOS DESTACADOS (home)
   ========================================================================== */
.btn--outline { background: #fff; border: 1px solid var(--c-border-3); font-weight: 700; font-size: 15px; color: var(--c-ink); padding: 14px 26px; border-radius: 10px; }
.btn--outline:hover { border-color: var(--c-navy-800); transform: translateY(-2px); }
.featured { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.featured__main { position: relative; min-height: 420px; border-radius: 20px; overflow: hidden; cursor: pointer; background: linear-gradient(135deg,#346094,#0A3A6B); text-decoration: none; color: inherit; display: block; }
.featured__col { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.featured__card { position: relative; border-radius: 20px; overflow: hidden; cursor: pointer; text-decoration: none; color: inherit; display: block; }
.featured__img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.featured__shade { position: absolute; inset: 0; }
.featured__chip { position: absolute; top: 24px; left: 24px; padding: 7px 15px; background: var(--c-yellow); border-radius: 8px; font-family: var(--font-display); font-weight: 700; font-size: 12.5px; color: var(--c-navy-800); letter-spacing: .5px; }
.featured__capt { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 34px; background: linear-gradient(transparent,rgba(0,20,40,.85)); }
.featured__loc { display: inline-block; padding: 5px 12px; background: rgba(255,255,255,.15); border-radius: 6px; font-size: 12px; color: #fff; font-weight: 600; margin-bottom: 14px; }
.featured__h { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: #fff; line-height: 1.1; }
.featured__capt--sm { padding: 28px; }
.featured__cat { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.9); margin-bottom: 6px; }
.featured__h--sm { font-family: var(--font-display); font-weight: 800; font-size: 21px; color: #fff; }

/* ==========================================================================
   TESTIMONIOS
   ========================================================================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testimonial { background: var(--c-bg-alt); border: 1px solid var(--c-border); border-radius: 18px; padding: 34px 30px; display: flex; flex-direction: column; }
.testimonial__stars { font-size: 22px; color: var(--c-yellow); margin-bottom: 16px; }
.testimonial__quote { font-size: 15.5px; line-height: 1.65; color: #2A3542; font-weight: 500; flex: 1; }
.testimonial__author { display: flex; align-items: center; gap: 13px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--c-border-2); }
.testimonial__avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg,#346094,#002B52); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; color: var(--c-yellow); font-size: 18px; }
.testimonial__name { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--c-ink); }
.testimonial__role { font-size: 12.5px; color: var(--c-text-2); }
.note { text-align: center; font-size: 12.5px; color: var(--c-muted); margin-top: 24px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq { background: #fff; border: 1px solid var(--c-border-2); border-radius: 14px; overflow: hidden; }
.faq__q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 26px; cursor: pointer; background: none; border: none; font-family: var(--font-display); font-weight: 700; font-size: 17.5px; color: var(--c-ink); }
.faq__sign { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: #F0F3F7; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; color: var(--c-blue-600); }
.faq__a { max-height: 0; opacity: 0; padding: 0 26px; overflow: hidden; transition: max-height .35s ease, opacity .3s ease, padding .35s ease; }
.faq__a p { font-size: 15.5px; line-height: 1.68; color: var(--c-text); }
.faq.is-open .faq__a { max-height: 600px; opacity: 1; padding: 0 26px 24px; }
.faq.is-open .faq__sign { font-size: 20px; }

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta-final { padding: 0 clamp(20px,5vw,90px) clamp(64px,8vw,100px); background: #fff; }
.cta-final__box { position: relative; border-radius: 28px; overflow: hidden; background: linear-gradient(125deg,#002B52,#0A3A6B 70%,#346094); padding: clamp(48px,7vw,84px) clamp(30px,6vw,80px); text-align: center; }
.cta-final__glow { position: absolute; top: -30%; right: -6%; width: 480px; height: 480px; background: radial-gradient(circle,rgba(255,209,0,.2),transparent 60%); filter: blur(20px); }
.cta-final__inner { position: relative; z-index: 2; }
.cta-final__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(32px,4.6vw,58px); line-height: 1.05; letter-spacing: -1.5px; color: #fff; max-width: 780px; margin: 0 auto; }
.cta-final__lead { font-size: clamp(16px,1.5vw,20px); color: rgba(255,255,255,.78); max-width: 560px; margin: 22px auto 38px; line-height: 1.6; }
.cta-final__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn--phone-ghost { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); font-weight: 600; font-size: 16px; color: #fff; padding: 18px 34px; border-radius: 11px; }
.btn--phone-ghost:hover { background: rgba(255,255,255,.16); }

/* ==========================================================================
   PÁGINA DE SERVICIO
   ========================================================================== */
.svc-hero { position: relative; padding: clamp(120px,14vw,170px) clamp(20px,5vw,90px) clamp(56px,7vw,80px); overflow: hidden; background: linear-gradient(135deg,#001E3C,#002B52 60%,#0A3A6B); }
.svc-hero__photo { position: absolute; inset: -8% 0 0 0; background-size: cover; background-position: center; opacity: .3; }
.svc-hero__veil { position: absolute; inset: 0; background: linear-gradient(120deg,rgba(0,21,42,.92),rgba(0,33,62,.78) 55%,rgba(10,45,80,.55)); }
.svc-hero__grid { position: absolute; inset: -10% 0 0 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size: 54px 54px; }
.svc-hero__glow { position: absolute; top: -15%; right: -6%; width: 540px; height: 540px; border-radius: 50%; opacity: .28; filter: blur(20px); }
.svc-hero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.55); font-weight: 600; margin-bottom: 26px; flex-wrap: wrap; }
.breadcrumb a { text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--c-yellow); }
.breadcrumb [aria-current] { color: var(--c-yellow); }
.svc-hero__badge { display: none; }
.svc-hero__badge span { font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px; color: var(--c-yellow-200); }
.svc-hero__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(38px,5.6vw,76px); line-height: 1; letter-spacing: -2px; color: #fff; max-width: 900px; }
.svc-hero__title .hl { color: var(--c-yellow); }
.svc-hero__lead { font-size: clamp(16px,1.5vw,20px); line-height: 1.6; color: rgba(255,255,255,.78); max-width: 660px; margin: 26px 0 36px; font-weight: 500; }
.svc-hero__badges { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; list-style: none; }
.svc-hero__badges li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 9px; font-size: 14px; font-weight: 600; color: #fff; }
.svc-hero__badges .check { color: var(--c-yellow); }
.btn--svc-hero { background: var(--c-yellow); color: var(--c-navy-800); font-size: 16px; padding: 17px 32px; border-radius: 11px; box-shadow: 0 12px 34px rgba(255,209,0,.3); }
.btn--svc-hero:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(255,209,0,.5); }

.svc-intro { background: #fff; padding: clamp(56px,7vw,96px) clamp(20px,5vw,90px); }
.svc-intro__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; }
.svc-intro__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px,3.2vw,40px); line-height: 1.1; letter-spacing: -1px; color: var(--c-ink); }
.svc-intro__text { font-size: clamp(16px,1.4vw,19px); line-height: 1.7; color: #4A5563; font-weight: 500; }

.svc-benefits { background: var(--c-bg-alt); padding: clamp(56px,7vw,96px) clamp(20px,5vw,90px); }
.svc-title-c { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.svc-title-c .section-title, .svc-section-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px,3.4vw,44px); line-height: 1.08; letter-spacing: -1px; color: var(--c-ink); }
.benefits-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.benefit { display: flex; gap: 22px; background: #fff; border: 1px solid var(--c-border); border-radius: 18px; padding: 34px 32px; }
.benefit__icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; }
.benefit__t { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--c-ink); margin-bottom: 10px; }
.benefit__d { font-size: 15px; line-height: 1.62; color: var(--c-text); }

.svc-apps { background: #fff; padding: clamp(56px,7vw,96px) clamp(20px,5vw,90px); }
.svc-apps__head { max-width: 620px; margin-bottom: 48px; }
.apps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--c-border-2); border: 1px solid var(--c-border-2); border-radius: 18px; overflow: hidden; }
.app { background: #fff; padding: 32px 30px; transition: background .25s; }
.app:hover { background: #F8FAFC; }
.app__rule { width: 40px; height: 4px; background: var(--c-yellow); border-radius: 2px; margin-bottom: 18px; }
.app__t { font-family: var(--font-display); font-weight: 700; font-size: 18.5px; color: var(--c-ink); margin-bottom: 10px; }
.app__d { font-size: 14.5px; line-height: 1.6; color: var(--c-text); }

/* Variante del bloque de proceso en páginas de servicio (tamaños del original) */
.process--svc .process__title { font-size: clamp(28px,3.8vw,48px); }
.process--svc .process__glow { width: 400px; height: 400px; background: radial-gradient(circle,rgba(255,209,0,.11),transparent 62%); }

.svc-faqs { background: var(--c-bg-alt); padding: clamp(56px,7vw,96px) clamp(20px,5vw,90px); }
.svc-faqs .svc-section-title { font-size: clamp(28px,3.4vw,42px); }
.svc-faqs__head { margin-bottom: 40px; }
.svc-faq { background: #fff; border: 1px solid var(--c-border-2); border-radius: 14px; padding: 26px 28px; }
.svc-faq__q { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--c-ink); margin-bottom: 12px; display: flex; gap: 12px; }
.svc-faq__q .mark { color: var(--c-yellow); }
.svc-faq__a { font-size: 15.5px; line-height: 1.66; color: var(--c-text); padding-left: 24px; }

.svc-cta { background: #fff; padding: clamp(48px,6vw,80px) clamp(20px,5vw,90px) clamp(64px,8vw,100px); }
.svc-cta__box { max-width: var(--maxw); margin: 0 auto; border-radius: 26px; padding: clamp(44px,6vw,72px); display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.svc-cta__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(28px,3.6vw,46px); line-height: 1.05; letter-spacing: -1px; color: #fff; max-width: 560px; }
.svc-cta__lead { font-size: 17px; color: rgba(255,255,255,.78); margin-top: 16px; max-width: 520px; }
.btn--svc-cta { flex-shrink: 0; background: var(--c-yellow); color: var(--c-navy-800); font-size: 16px; padding: 18px 36px; border-radius: 11px; box-shadow: 0 12px 34px rgba(255,209,0,.3); }
.btn--svc-cta:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(255,209,0,.5); }

/* ==========================================================================
   GALERÍA / PROYECTOS
   ========================================================================== */
.gal-hero { position: relative; padding: clamp(120px,14vw,160px) clamp(20px,5vw,90px) clamp(40px,5vw,56px); overflow: hidden; background: linear-gradient(135deg,#001E3C,#002B52 65%,#0A3A6B); }
.gal-hero__photo { position: absolute; inset: -8% 0 0 0; background-image: url('../assets/fondos/hero-bg.jpg'); background-size: cover; background-position: center; opacity: .28; }
.gal-hero__veil { position: absolute; inset: 0; background: linear-gradient(120deg,rgba(0,21,42,.92),rgba(0,33,62,.78) 55%,rgba(10,45,80,.55)); }
.gal-hero__grid { position: absolute; inset: -10% 0 0 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size: 54px 54px; }
.gal-hero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.gal-hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,209,0,.4); border-radius: 100px; margin-bottom: 22px; }
.gal-hero__badge span { font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px; color: var(--c-yellow-200); }
.gal-hero__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(38px,5.4vw,72px); line-height: 1; letter-spacing: -2px; color: #fff; max-width: 840px; }
.gal-hero__title .hl { color: var(--c-yellow); }
.gal-hero__lead { font-size: clamp(16px,1.5vw,20px); line-height: 1.6; color: rgba(255,255,255,.78); max-width: 620px; margin-top: 24px; font-weight: 500; }

.gal-filters { background: #fff; padding: 36px clamp(20px,5vw,90px); position: sticky; top: 78px; z-index: 50; border-bottom: 1px solid var(--c-line); }
.gal-filters__row { max-width: var(--maxw); margin: 0 auto; display: flex; gap: 12px; flex-wrap: wrap; }
.gal-filter { background: #fff; color: #3A4452; border: 1px solid var(--c-border-3); font-family: var(--font-display); font-weight: 700; font-size: 14.5px; padding: 11px 22px; border-radius: 9px; cursor: pointer; transition: all .2s; }
.gal-filter.is-active { background: var(--c-navy-800); color: #fff; border-color: var(--c-navy-800); }

.gal-grid-section { background: var(--c-bg-alt); padding: clamp(40px,5vw,64px) clamp(20px,5vw,90px) clamp(64px,8vw,100px); }
.gal-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.gal-card { background: #fff; border: 1px solid var(--c-border); border-radius: 18px; overflow: hidden; cursor: pointer; transition: all .35s cubic-bezier(.16,1,.3,1); text-align: left; padding: 0; font: inherit; color: inherit; display: block; width: 100%; }
.gal-card[hidden] { display: none; }
.gal-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(10,37,64,.14); }
.gal-card__media { position: relative; height: 230px; overflow: hidden; }
.gal-card__img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.gal-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,33,62,.1),rgba(0,33,62,.45)); }
.gal-card__type { position: absolute; top: 18px; left: 18px; padding: 6px 13px; background: rgba(255,255,255,.92); border-radius: 7px; font-family: var(--font-display); font-weight: 700; font-size: 11.5px; letter-spacing: .5px; color: var(--c-navy-800); }
.gal-card__open { position: absolute; bottom: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--c-navy-800); }
.gal-card__body { padding: 24px 24px 26px; }
.gal-card__title { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--c-ink); line-height: 1.15; margin-bottom: 10px; }
.gal-card__loc { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--c-text-2); margin-bottom: 16px; }
.gal-card__loc .pin { color: var(--c-blue-600); }
.gal-card__meta { display: flex; gap: 18px; padding-top: 16px; border-top: 1px solid var(--c-line); }
.gal-card__k { font-size: 11px; color: var(--c-text-3); font-weight: 700; letter-spacing: .5px; }
.gal-card__v { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--c-ink); margin-top: 3px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(0,12,28,.88); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 30px; }
.lightbox[hidden] { display: none; }
.lightbox__panel { position: relative; max-width: 880px; width: 100%; background: #fff; border-radius: 22px; overflow: hidden; }
.lightbox__media { position: relative; height: 340px; background: linear-gradient(135deg,#346094,#0A2540); }
.lightbox__img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.lightbox__shade { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,33,62,.05),rgba(0,33,62,.4)); }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 42px; height: 42px; border-radius: 50%; border: none; background: rgba(255,255,255,.92); font-size: 20px; color: var(--c-navy-800); cursor: pointer; }
.lightbox__type { position: absolute; bottom: 22px; left: 24px; padding: 7px 15px; background: var(--c-yellow); border-radius: 8px; font-family: var(--font-display); font-weight: 700; font-size: 12.5px; color: var(--c-navy-800); }
.lightbox__body { padding: 36px 40px; }
.lightbox__title { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--c-ink); letter-spacing: -.5px; }
.lightbox__loc { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--c-text-2); margin: 10px 0 26px; }
.lightbox__loc .pin { color: var(--c-blue-600); }
.lightbox__specs { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--c-border-2); border: 1px solid var(--c-border-2); border-radius: 14px; overflow: hidden; }
.lightbox__spec { background: #F8FAFC; padding: 20px; }
.lightbox__spec .k { font-size: 11px; color: var(--c-text-3); font-weight: 700; letter-spacing: .5px; }
.lightbox__spec .v { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--c-ink); margin-top: 5px; }
.btn--lightbox { margin-top: 26px; background: var(--c-navy-800); color: #fff; font-size: 15px; padding: 15px 28px; border-radius: 10px; }
.btn--lightbox:hover { background: var(--c-navy-700); }

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact-hero { position: relative; padding: clamp(118px,13vw,150px) clamp(20px,5vw,90px) clamp(56px,7vw,80px); overflow: hidden; background: linear-gradient(135deg,#001E3C,#002B52 65%,#0A3A6B); }
.contact-hero__photo { position: absolute; inset: -8% 0 0 0; background-image: url('../assets/fondos/contacto-home-bg.jpg'); background-size: cover; background-position: center; opacity: .28; }
.contact-hero__veil { position: absolute; inset: 0; background: linear-gradient(120deg,rgba(0,21,42,.92),rgba(0,33,62,.78) 55%,rgba(10,45,80,.55)); }
.contact-hero__grid { position: absolute; inset: -10% 0 0 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size: 54px 54px; }
.contact-hero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.contact-hero__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(38px,5.4vw,72px); line-height: 1; letter-spacing: -2px; color: #fff; max-width: 760px; }
.contact-hero__title .hl { color: var(--c-yellow); }
.contact-hero__lead { font-size: clamp(16px,1.5vw,20px); line-height: 1.6; color: rgba(255,255,255,.78); max-width: 600px; margin-top: 24px; font-weight: 500; }

.contact-body { background: #fff; padding: clamp(56px,7vw,90px) clamp(20px,5vw,90px) clamp(64px,8vw,100px); }
.contact-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; }
.contact-info__title { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--c-ink); letter-spacing: -.5px; margin-bottom: 28px; }
.contact-cards { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px 22px; background: var(--c-bg-alt); border: 1px solid var(--c-border); border-radius: 14px; text-decoration: none; transition: all .2s; color: inherit; }
a.contact-card:hover { border-color: var(--c-blue-600); transform: translateX(4px); }
.contact-card__icon { width: 46px; height: 46px; border-radius: 11px; background: var(--c-navy-800); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--c-yellow); flex-shrink: 0; }
.contact-card__k { font-size: 12.5px; color: var(--c-text-2); font-weight: 600; }
.contact-card__v { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--c-ink); }
.contact-card__v--sm { font-size: 16px; }
.contact-hours { padding: 24px 26px; background: var(--c-navy-800); border-radius: 16px; }
.contact-hours__h { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; color: var(--c-yellow); margin-bottom: 14px; }
.contact-hours__row { display: flex; justify-content: space-between; font-size: 14.5px; color: rgba(255,255,255,.85); margin-bottom: 8px; }
.contact-hours__row:last-child { margin-bottom: 0; }
.contact-hours__row b { font-weight: 700; }

.contact-form-wrap { background: var(--c-bg-alt); border: 1px solid var(--c-border); border-radius: 22px; padding: clamp(30px,4vw,48px); }
.contact-form__title { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--c-ink); letter-spacing: -.5px; margin-bottom: 8px; }
.contact-form__sub { font-size: 14.5px; color: var(--c-text-2); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-field { margin-bottom: 18px; }
.form-field--last { margin-bottom: 24px; }
.form-label { display: block; font-size: 13px; font-weight: 700; color: var(--c-ink); margin-bottom: 8px; }
.form-control { width: 100%; padding: 14px 16px; border: 1px solid var(--c-border-3); border-radius: 10px; font-family: var(--font-body); font-size: 15px; background: #fff; outline: none; transition: border .2s; color: var(--c-ink); }
textarea.form-control { resize: vertical; }
.form-control:focus { border-color: var(--c-blue-600); }
.btn--submit { width: 100%; justify-content: center; background: var(--c-yellow); color: var(--c-navy-800); font-size: 16px; padding: 18px; border-radius: 11px; box-shadow: 0 10px 28px rgba(255,209,0,.3); }
.btn--submit:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(255,209,0,.45); }
.form-legal { font-size: 12px; color: var(--c-text-3); text-align: center; margin-top: 14px; line-height: 1.5; }
.form-success { text-align: center; padding: 60px 20px; }
.form-success[hidden] { display: none; }
.form-success__icon { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; background: #1F8A5B; display: flex; align-items: center; justify-content: center; font-size: 34px; color: #fff; }
.form-success__h { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--c-ink); margin-bottom: 12px; }
.form-success__p { font-size: 16px; color: var(--c-text); line-height: 1.6; max-width: 380px; margin: 0 auto; }

/* ==========================================================================
   PIE
   ========================================================================== */
.footer { background: var(--c-navy-900); color: #fff; padding: clamp(56px,7vw,96px) clamp(20px,5vw,90px) 40px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__logo { height: 46px; width: auto; display: block; margin-bottom: 22px; }
.footer__about { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.65); max-width: 340px; }
.footer__social { display: flex; gap: 10px; margin-top: 24px; }
.footer__social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; font-size: 15px; cursor: pointer; transition: all .2s; text-decoration: none; color: #fff; }
.footer__social a:hover { background: var(--c-yellow); color: var(--c-navy-800); border-color: var(--c-yellow); }
.footer__h { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; color: var(--c-yellow); margin-bottom: 20px; }
.footer__links { display: flex; flex-direction: column; gap: 13px; list-style: none; }
.footer__links a { font-size: 14.5px; color: rgba(255,255,255,.7); cursor: pointer; transition: color .2s; text-decoration: none; }
.footer__links a:hover { color: #fff; }
.footer__contact { display: flex; flex-direction: column; gap: 14px; font-size: 14.5px; color: rgba(255,255,255,.7); font-style: normal; }
.footer__contact a { color: inherit; text-decoration: none; }
.footer__contact a:hover { color: #fff; }
.footer__contact > div { display: flex; gap: 10px; }
.footer__contact .ic { color: var(--c-yellow); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; flex-wrap: wrap; gap: 14px; }
.footer__copy { font-size: 13px; color: rgba(255,255,255,.4); }
.footer__legal { display: flex; gap: 24px; font-size: 13px; }
.footer__legal a { color: rgba(255,255,255,.4); text-decoration: none; }
.footer__legal a:hover { color: rgba(255,255,255,.7); }

/* ==========================================================================
   PÁGINAS LEGALES
   ========================================================================== */
.legal-hero { position: relative; padding: clamp(118px,13vw,150px) clamp(20px,5vw,90px) clamp(40px,5vw,56px); overflow: hidden; background: linear-gradient(135deg,#001E3C,#002B52 65%,#0A3A6B); }
.legal-hero__grid { position: absolute; inset: -10% 0 0 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size: 54px 54px; }
.legal-hero__inner { position: relative; max-width: 880px; margin: 0 auto; }
.legal-hero__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(34px,4.6vw,58px); line-height: 1.03; letter-spacing: -1.5px; color: #fff; }
.legal-body { background: #fff; padding: clamp(48px,6vw,80px) clamp(20px,5vw,90px) clamp(64px,8vw,100px); }
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content .legal-updated { color: var(--c-text-2); font-size: 14px; margin-bottom: 32px; }
.legal-content h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px,2.4vw,28px); color: var(--c-ink); letter-spacing: -.5px; margin: 38px 0 14px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--c-ink); margin: 24px 0 10px; }
.legal-content p { font-size: 16px; line-height: 1.75; color: #3A4452; margin-bottom: 16px; }
.legal-content ul { margin: 0 0 16px 22px; }
.legal-content li { font-size: 16px; line-height: 1.7; color: #3A4452; margin-bottom: 8px; }
.legal-content a { color: var(--c-blue-600); }
.legal-content strong { color: var(--c-ink); }

/* ==========================================================================
   HERO HOME — variante minimalista (logo grande + catálogo)
   ========================================================================== */
.hero__inner--center {
  text-align: center; display: flex; flex-direction: column; align-items: center;
  padding-top: clamp(132px,17vh,190px); padding-bottom: clamp(90px,12vh,130px);
}
.hero__logo {
  width: clamp(250px,38vw,432px); height: auto; margin-bottom: 34px;
  filter: drop-shadow(0 14px 40px rgba(0,0,0,.45));
}
.hero__tagline {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(40px,7vw,84px); line-height: .98; letter-spacing: -2.5px; color: #fff;
}
.hero__tagline .hl { color: var(--c-yellow); }
.hero__sub {
  max-width: 700px; margin: 22px auto 42px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.hero__sub-line {
  font-size: clamp(16px,1.55vw,20px); line-height: 1.55; color: rgba(255,255,255,.82); font-weight: 500;
}
.hero__slogan {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(21px,2.5vw,32px); line-height: 1.12; letter-spacing: -.7px; color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero__slogan em { font-style: normal; color: var(--c-yellow); }
.hero__actions--center { justify-content: center; }
.btn--catalog { background: var(--c-yellow); color: var(--c-navy-800); }
.btn--catalog .btn__ico { font-size: 19px; line-height: 0; }
.btn--catalog:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(255,209,0,.5); }

/* ==========================================================================
   PARTNERS — logos reales de marcas homologadas
   ========================================================================== */
.partners__logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(26px,4.6vw,60px); max-width: 1080px; margin: 0 auto; padding: 0 24px;
}
.partners__logo {
  height: clamp(26px,3.4vw,40px); width: auto; object-fit: contain;
  filter: none; opacity: 1; transition: transform .3s;
}
.partners__logo:hover { transform: translateY(-2px); }
.partners__logo--box { height: clamp(34px,4.2vw,50px); }
.partners__foot {
  text-align: center; font-size: 13.5px; line-height: 1.7; color: var(--c-text-2);
  margin-top: 30px; padding: 0 20px;
}
.partners__foot b { color: var(--c-ink); font-weight: 800; font-family: var(--font-display); }

/* ==========================================================================
   MATERIALES Y SISTEMAS (páginas de servicio)
   ========================================================================== */
.svc-materials { padding: clamp(64px,8vw,104px) clamp(20px,5vw,90px); background: var(--c-bg-alt); }
.svc-materials__lead { max-width: 690px; margin-top: 14px; font-size: 16px; line-height: 1.65; color: var(--c-text); }
.matgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 26px; margin-top: 50px; }
.matcard {
  background: #fff; border: 1px solid var(--c-border); border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 20px rgba(10,37,64,.04); transition: transform .3s, box-shadow .3s;
}
.matcard:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(10,37,64,.12); }
.matcard__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-bg-alt); }
.matcard__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.matcard:hover .matcard__img { transform: scale(1.06); }
.matcard__body { padding: 22px 24px 26px; }
.matcard__tag { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 1.2px; color: var(--c-blue-600); margin-bottom: 10px; }
.matcard__t { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--c-ink); letter-spacing: -.3px; margin-bottom: 8px; }
.matcard__d { font-size: 14.5px; line-height: 1.6; color: var(--c-text); }

/* ==========================================================================
   REVEAL (estados iniciales para animación por JS)
   El JS aplica opacity/transform finales; respetamos prefers-reduced-motion.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   NAVEGACIÓN RESPONSIVE — menú hamburguesa (se inyecta por JS)
   ========================================================================== */
.nav__toggle { display: none; }

@media (max-width: 1080px) {
  .nav__toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 44px; padding: 0 11px; cursor: pointer;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.28); border-radius: 10px;
    transition: background .25s, border-color .25s;
  }
  .nav.scrolled .nav__toggle { background: rgba(0,0,0,.04); border-color: rgba(0,0,0,.12); }
  .nav__toggle span { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform .3s, opacity .2s, background .25s; }
  .nav.scrolled .nav__toggle span { background: var(--c-navy-800); }
  .nav.open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav__menu {
    position: fixed; top: calc(var(--tbh, 40px) + 78px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px clamp(20px,4vw,56px) 24px;
    background: rgba(0,20,40,.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.12);
    max-height: calc(100dvh - 78px); overflow-y: auto;
    transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav.scrolled .nav__menu { background: rgba(255,255,255,.98); border-bottom: 1px solid rgba(0,0,0,.08); }
  .nav.scrolled .nav__menu { top: 78px; }
  .nav.open .nav__menu { transform: none; opacity: 1; pointer-events: auto; }
  .nav__link { padding: 13px 14px; font-size: 15.5px; border-radius: 10px; }
  .nav.scrolled .nav__link { color: #3A4452; }
  .nav.scrolled .nav__link.is-active { color: var(--c-navy-800); }
  .nav__cta { margin-left: 0; margin-top: 10px; justify-content: center; padding: 15px; font-size: 15px; }
}

/* ===== Banner de cookies (Consent Mode v2) ===== */
#cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  background: #0A2540; border-top: 3px solid var(--c-yellow);
  box-shadow: 0 -6px 24px rgba(0,0,0,.18);
}
.cookie-banner__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 18px clamp(20px,5vw,90px);
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.cookie-banner__text { color: rgba(255,255,255,.88); font-size: 14px; line-height: 1.5; flex: 1 1 380px; margin: 0; }
.cookie-banner__text a { color: var(--c-yellow-200); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 12px; flex-shrink: 0; }
@media (max-width: 560px) {
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; justify-content: center; }
}
