/* A Plus Roofing and Waterproofing — estilos v4 (rediseño) */
:root {
  /* Paleta: azul tormenta + rojo de marca (logo) + dorado para valoraciones */
  --navy-950: #06111C;
  --navy-900: #0B1B2A;
  --navy-800: #11263A;
  --navy-700: #1A3550;
  --steel-400: #7D93A8;
  --steel-300: #A8B8C8;
  --steel-200: #CBD6E0;
  --mist: #EEF2F6;
  --paper: #F7F8FA;
  --white: #FFFFFF;
  --line: #E1E7ED;
  --text: #22313F;
  --muted: #536375;
  --red: #E0262D;          /* rojo del logo */
  --red-600: #C8161D;      /* rojo accesible para botones y enlaces */
  --red-700: #9E1016;
  --red-soft: #FF8E92;     /* acento sobre fondos oscuros */
  --gold: #F5B83D;

  --font-sans: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(6, 17, 28, .06);
  --shadow: 0 18px 40px -12px rgba(6, 17, 28, .18);
  --shadow-lg: 0 40px 80px -20px rgba(6, 17, 28, .45);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --topbar-h: 38px;
  --header-h: 78px;
  --section-y: clamp(72px, 10vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; font-family: var(--font-sans); font-size: 17px; line-height: 1.65;
  color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--red-600); }
a:hover { color: var(--red-700); }
h1, h2, h3, p, figure, blockquote { margin: 0; }
address { font-style: normal; }
button { font: inherit; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 3px solid var(--red-soft); outline-offset: 3px; border-radius: 4px; }

.container { max-width: 1320px; margin: 0 auto; padding-inline: clamp(18px, 4vw, 40px); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--navy-900); padding: 10px 14px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Acento tipográfico: palabras en serif itálica dentro de los titulares */
h1 em, h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--red-600); padding-right: .04em; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 70; pointer-events: none; }
.progress__bar { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); transform-origin: left; transform: scaleX(var(--progress, 0)); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 15px/1.2 var(--font-sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s, translate .4s var(--ease);
}
.btn svg { flex: none; transition: transform .4s var(--ease); }
.btn:hover svg:last-child:not(:first-child) { transform: translateX(4px); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn--lg { font-size: 16px; padding: 16px 30px; min-height: 58px; }
.btn--block { width: 100%; font-size: 16px; min-height: 56px; }
.btn--primary { background: var(--red-600); color: var(--white); box-shadow: 0 10px 24px -8px rgba(200, 22, 29, .6); }
.btn--primary:hover { background: var(--red-700); color: var(--white); box-shadow: 0 16px 32px -10px rgba(200, 22, 29, .7); }
.btn--glass { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); color: var(--white); backdrop-filter: blur(10px); }
.btn--glass:hover { background: var(--white); border-color: var(--white); color: var(--navy-900); }
.btn--white { background: var(--white); color: var(--navy-900); }
.btn--white:hover { background: var(--mist); color: var(--red-700); }
.btn[disabled] { opacity: .7; cursor: wait; }
.link { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; }
.link svg { transition: transform .4s var(--ease); }
.link:hover svg { transform: translateX(4px); }
.link--light { color: var(--white); }
.link--light:hover { color: var(--red-soft); }

/* ---------- Header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: var(--white); transition: top .5s var(--ease); }
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6,17,28,.55), rgba(6,17,28,0));
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.header.is-scrolled { top: calc(-1 * var(--topbar-h)); }
.header.is-scrolled::before { background: rgba(9, 22, 35, .86); backdrop-filter: blur(16px) saturate(150%); box-shadow: 0 12px 30px -10px rgba(0,0,0,.35); }
.topbar { height: var(--topbar-h); border-bottom: 1px solid rgba(255,255,255,.1); font-size: 13px; color: var(--steel-200); }
.topbar__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__mail { margin-left: auto; color: var(--steel-200); text-decoration: none; }
.topbar__mail:hover { color: var(--white); }
.lang-switch { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; font-size: 12px; letter-spacing: .04em; background: rgba(255,255,255,.08); padding: 3px 8px; border-radius: 99px; border: 1px solid rgba(255,255,255,.14); margin-left: 14px; }
.lang-switch__btn { color: var(--steel-300); text-decoration: none; padding: 2px 6px; border-radius: 99px; transition: color .2s, background-color .2s; }
.lang-switch__btn:hover { color: var(--white); }
.lang-switch__btn.is-active { color: var(--white); background: rgba(255,255,255,.2); }
.lang-switch__sep { color: rgba(255,255,255,.3); font-size: 11px; user-select: none; }
.lang-switch--header { display: none; margin-left: 0; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.18); }
.nav__lang { display: none; }
.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand__logo { height: 54px; width: auto; transition: transform .5s var(--ease); }
.brand:hover .brand__logo { transform: scale(1.04) rotate(-1deg); }

.nav { display: flex; align-items: center; margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: rgba(255,255,255,.88); text-decoration: none; font-weight: 600; font-size: 15px;
}
.nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; border-radius: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after, .nav__link[aria-current="true"]::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="true"], .nav__link[aria-current="page"] { color: var(--white); }
.nav__item--has-sub .nav__link { padding-right: 2px; }
.nav__sub-toggle { width: 28px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.nav__sub-toggle svg { transition: transform .3s var(--ease); }
.nav__sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: -8px; min-width: 300px;
  background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transform-origin: top left;
  transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}
.nav__sub--services {
  display: grid;
  grid-template-columns: repeat(3, 220px);
  column-gap: 24px;
  row-gap: 8px;
  padding: 22px 24px;
  min-width: 720px;
  left: -140px;
  border-top: 3px solid var(--red-600);
}
.nav__sub-col {
  display: flex;
  flex-direction: column;
}
.nav__sub-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel-400);
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--slate-100);
}
.nav__sub-col a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-900);
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: color .2s, background-color .2s, transform .2s;
}
.nav__sub-col a svg {
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s, transform .2s var(--ease);
  color: var(--red-600);
  flex-shrink: 0;
}
.nav__sub-col a:hover {
  color: var(--red-600);
  background: var(--mist);
  transform: translateX(4px);
}
.nav__sub-col a:hover svg {
  opacity: 1;
  transform: none;
}
.nav__sub::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav__sub a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); color: var(--navy-900); text-decoration: none; font-weight: 600; font-size: 15px; transition: background-color .2s, color .2s; }
.nav__sub a svg { opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease); color: var(--red-600); }
.nav__sub a:hover { background: var(--mist); color: var(--red-600); }
.nav__sub a:hover svg { opacity: 1; transform: none; }
.nav__item--has-sub:hover .nav__sub, .nav__item--has-sub:focus-within .nav__sub, .nav__item--has-sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__item--has-sub.is-open .nav__sub-toggle svg, .nav__item--has-sub:hover .nav__sub-toggle svg { transform: rotate(180deg); }
.nav__cta, .nav__phone { display: none; }

.header__actions { display: flex; align-items: center; gap: 18px; flex: none; }
.header__phone { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font-weight: 700; font-size: 16px; line-height: 1.2; }
.header__phone:hover { color: var(--white); }
.header__phone-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); transition: background-color .3s, transform .4s var(--ease); }
.header__phone:hover .header__phone-icon { background: var(--red-600); border-color: var(--red-600); transform: rotate(-12deg); }
.header__phone-text small { display: block; font-size: 11px; font-weight: 600; color: var(--steel-300); text-transform: uppercase; letter-spacing: .08em; }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: var(--white); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle__bars { position: relative; width: 20px; height: 14px; }
.nav-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease), opacity .3s, top .45s var(--ease); }
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; color: var(--white); background: var(--navy-900); overflow: hidden; display: flex; flex-direction: column; }
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.hero__slide.is-active .hero__img, .hero__slide.is-leaving .hero__img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.16) translate3d(1.5%, 1%, 0); } to { transform: scale(1.03) translate3d(0, 0, 0); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,17,28,.94) 0%, rgba(6,17,28,.78) 38%, rgba(6,17,28,.25) 75%, rgba(6,17,28,.35) 100%),
    linear-gradient(0deg, rgba(6,17,28,.85) 0%, rgba(6,17,28,0) 35%);
}
.hero__grain {
  position: absolute; inset: 0; opacity: .07; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__grid {
  position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
  padding-top: calc(var(--topbar-h) + var(--header-h) + clamp(32px, 5vw, 64px));
  padding-bottom: 150px;
}
.hero__copy { display: flex; flex-direction: column; gap: 26px; max-width: 680px; }
.tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px);
  font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px;
}
.tag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(224,38,45,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(224,38,45,0); } 100% { box-shadow: 0 0 0 0 rgba(224,38,45,0); } }
.hero__title { font: 800 clamp(42px, 5.6vw, 82px)/1.02 var(--font-sans); letter-spacing: -.035em; text-wrap: balance; }
.hero__title em { color: var(--red-soft); font-size: 1.08em; }
html[lang="es"] .hero__title { font-size: clamp(38px, 4.8vw, 70px); line-height: 1.06; }
html[lang="es"] .quote__title { font-size: 28px; }
.hero__lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--steel-200); max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; font-weight: 500; color: var(--steel-200); }
.hero__checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__checks svg { color: var(--navy-900); background: var(--red-soft); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }
.hero__foot { position: absolute; left: 0; right: 0; bottom: 110px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.hero__dots { display: flex; gap: 10px; pointer-events: auto; }
.hero__dot { width: 46px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.hero__dot span { position: relative; display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(255,255,255,.25); overflow: hidden; }
.hero__dot span::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active span::after { animation: dotfill var(--slide-ms, 6500ms) linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero__scroll { pointer-events: auto; width: 30px; height: 48px; border: 2px solid rgba(255,255,255,.45); border-radius: 20px; display: flex; justify-content: center; padding-top: 8px; }
.hero__scroll span { width: 4px; height: 9px; border-radius: 4px; background: var(--white); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Quote form ---------- */
.quote {
  position: relative; background: var(--white); color: var(--navy-900); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 38px); display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.4);
}
.quote::before { content: ""; position: absolute; top: 0; left: 32px; right: 32px; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--red), var(--gold)); }
.quote__head { display: flex; flex-direction: column; gap: 6px; }
.quote__badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red-600); background: #FDECEC; padding: 5px 10px; border-radius: 999px; }
.quote__title { font: 800 30px/1.1 var(--font-sans); letter-spacing: -.02em; }
.quote__sub { color: var(--muted); font-size: 15px; }
.quote__note { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 13px; }
.quote__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 14px; }
.quote__status { padding: 12px 14px; border-radius: var(--r-sm); font-weight: 600; font-size: 15px; animation: slideDown .5s var(--ease); }
.quote__status[data-type="success"] { background: #E6F4EA; color: #1E5631; }
.quote__status[data-type="error"] { background: #FDECEA; color: #8A1F11; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } }
.quote.is-highlight { animation: pulse 1.4s var(--ease) 1; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(224,38,45,.6), var(--shadow-lg); } 100% { box-shadow: 0 0 0 22px rgba(224,38,45,0), var(--shadow-lg); } }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 13px; color: var(--navy-800); }
.field__optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 500 15px var(--font-sans); color: var(--navy-900); width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper);
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #8C9AA8; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel-300); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); background: var(--white); box-shadow: 0 0 0 4px rgba(26,53,80,.12); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B42318; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.field__error { color: #B42318; font-weight: 500; font-size: 13px; }
.field__error:empty { display: none; }

/* ---------- Trust / stats ---------- */
.trust { position: relative; z-index: 2; background: var(--paper); }
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: -80px;
  background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden;
}
.stat { position: relative; padding: 30px 28px; display: flex; flex-direction: column; gap: 6px; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.stat__num { font: 800 clamp(40px, 4vw, 56px)/1 var(--font-sans); letter-spacing: -.04em; color: var(--navy-900); display: flex; align-items: flex-start; }
.stat__num sup, .stat__num small { font-size: .5em; color: var(--red-600); margin-left: 2px; }
.stat__num small { align-self: flex-end; margin-bottom: .2em; }
.stat__num--text { font-size: clamp(26px, 2.4vw, 34px); padding-block: .2em; color: var(--white); }
.stat__label { font-size: 14px; color: var(--muted); }
.stat--accent { background: var(--navy-900); }
.stat--accent .stat__label { color: var(--steel-300); }
.brands { display: flex; align-items: center; gap: 28px; padding: 46px 0 10px; max-width: 1320px; margin: 0 auto; padding-inline: clamp(18px, 4vw, 40px); }
.brands__label { flex: none; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.marquee { display: flex; overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { list-style: none; margin: 0; padding: 0 64px 0 0; display: flex; gap: 64px; flex: none; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { font: 800 24px/1.4 var(--font-sans); letter-spacing: -.02em; color: var(--steel-400); white-space: nowrap; transition: color .3s; }
.marquee__track li:hover { color: var(--navy-900); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--white { background: var(--white); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--navy-900); color: var(--steel-200); }
.section__head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--center { margin-inline: auto; text-align: center; align-items: center; }
.section__head--split { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.section__head--split > div:first-child { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.section__intro { max-width: 420px; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--red-600); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--red-soft); }
.section__title { font: 800 clamp(34px, 4.4vw, 60px)/1.05 var(--font-sans); letter-spacing: -.035em; color: var(--navy-900); text-wrap: balance; }
.section--dark .section__title, .storm .section__title { color: var(--white); }
.section--dark .section__title em, .storm .section__title em { color: var(--red-soft); }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.placeholder { background: var(--navy-700); color: var(--steel-300); display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; font-size: 14px; }
.placeholder small { display: block; opacity: .75; margin-top: 4px; font-size: 12px; }

/* ---------- Services (bento) ---------- */
.services { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 290px; gap: 20px; }
.service {
  position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--navy-950);
  color: var(--white); text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end;
  grid-column: span 5; transform-style: preserve-3d;
}
.service--1 { grid-column: span 7; grid-row: span 2; }
.service--4 { grid-column: 1 / -1; }
.service:hover { color: var(--white); }
.service__media { position: absolute; inset: 0; }
.service__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.service:hover .service__img { transform: scale(1.12); }
.service__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,17,28,.92) 0%, rgba(6,17,28,.45) 45%, rgba(6,17,28,.05) 75%); transition: opacity .5s; }
.service--4 .service__media { inset: 0; left: 0; }
.service--4 .service__img { object-position: right center; }
.service--4 .service__media::after { background: linear-gradient(90deg, var(--navy-950) 0%, var(--navy-950) 34%, rgba(6,17,28,.88) 48%, rgba(6,17,28,.3) 68%, rgba(6,17,28,0) 85%); }
.service::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.16), transparent 45%);
}
.service:hover::before { opacity: 1; }
.service__num { position: absolute; top: 22px; left: 26px; z-index: 1; font: 800 15px var(--font-sans); letter-spacing: .1em; color: var(--white); padding: 6px 12px; border-radius: 999px; background: rgba(6,17,28,.45); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.2); }
.service__body { position: relative; z-index: 1; padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.service__title { font: 800 clamp(24px, 2.2vw, 32px)/1.1 var(--font-sans); letter-spacing: -.025em; }
.service--1 .service__title { font-size: clamp(30px, 3vw, 44px); }
.service__text { color: var(--steel-200); font-size: 15px; }
.service__cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--white); margin-top: 6px; }
.service__cta svg { width: 34px; height: 34px; padding: 9px; border-radius: 50%; background: var(--red-600); transition: transform .5s var(--ease), background-color .3s; }
.service:hover .service__cta svg { transform: rotate(-45deg); background: var(--white); color: var(--red-600); }

/* ---------- Storm ---------- */
.storm { position: relative; overflow: hidden; background: var(--navy-950); color: var(--steel-200); padding-block: var(--section-y); }
.storm__bg { position: absolute; inset: -12% 0; }
.storm__img { width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: grayscale(.4) contrast(1.1); }
.storm__rain { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    repeating-linear-gradient(105deg, transparent 0 22px, rgba(200,220,240,.09) 22px 23px, transparent 23px 61px),
    repeating-linear-gradient(105deg, transparent 0 37px, rgba(200,220,240,.06) 37px 38px, transparent 38px 89px);
  background-size: 400px 400px, 600px 600px;
  animation: rain 1.1s linear infinite;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.storm::after { content: ""; position: absolute; inset: 0; background: #DCE8F5; opacity: 0; pointer-events: none; animation: flash 11s infinite; }
@keyframes rain { to { background-position: -120px 400px, -160px 600px; } }
@keyframes flash { 0%, 92%, 100% { opacity: 0; } 93% { opacity: .07; } 94% { opacity: 0; } 95.5% { opacity: .1; } 97% { opacity: 0; } }
.storm__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.storm__copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.storm__quote {
  position: relative; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(16px);
  display: flex; flex-direction: column; gap: 22px; box-shadow: var(--shadow-lg);
}
.storm__mark { color: var(--red); }
.storm__quote p { font: 500 clamp(21px, 2.1vw, 28px)/1.45 var(--font-sans); color: var(--white); letter-spacing: -.01em; }
.storm__quote figcaption { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--steel-300); }
.storm__quote strong { color: var(--white); }
.stars { display: inline-flex; gap: 3px; color: var(--gold); }
.stars svg { fill: currentColor; }
.is-in .stars svg { animation: star .6s var(--ease) both; }
.is-in .stars svg:nth-child(2) { animation-delay: .08s; }
.is-in .stars svg:nth-child(3) { animation-delay: .16s; }
.is-in .stars svg:nth-child(4) { animation-delay: .24s; }
.is-in .stars svg:nth-child(5) { animation-delay: .32s; }
@keyframes star { from { transform: scale(0) rotate(-45deg); opacity: 0; } }

/* ---------- Process ---------- */
.steps-wrap { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); position: relative; }
.steps__line { position: absolute; top: 40px; left: 16.66%; right: 16.66%; height: 2px; background: var(--line); }
.steps__fill { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); transform: scaleX(var(--p, 0)); transform-origin: left; }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.step__icon { position: relative; width: 80px; height: 80px; border-radius: 24px; display: grid; place-items: center; background: var(--navy-900); color: var(--white); box-shadow: 0 16px 30px -12px rgba(11,27,42,.6); transition: transform .6s var(--ease), background-color .4s; }
.step:hover .step__icon { transform: translateY(-6px) rotate(-6deg); background: var(--red-600); }
.step__num { position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--red-600); color: var(--white); font-size: 13px; font-weight: 800; border: 3px solid var(--white); }
.step__title { font-size: 21px; letter-spacing: -.02em; color: var(--navy-900); margin-top: 6px; }
.step p { color: var(--muted); max-width: 340px; font-size: 16px; }

/* ---------- Gallery ---------- */
.filters { position: relative; display: flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.filters__pill { position: absolute; top: 0; left: 0; height: var(--h, 0); width: var(--w, 0); transform: translate(var(--x, 0), var(--y, 0)); border-radius: 999px; background: var(--white); transition: transform .5s var(--ease), width .5s var(--ease); }
.filter { position: relative; z-index: 1; min-height: 42px; padding: 8px 20px; border-radius: 999px; cursor: pointer; border: 0; background: none; color: var(--steel-200); font-weight: 600; font-size: 14px; transition: color .3s; }
.filter:hover { color: var(--white); }
.filter.is-active { color: var(--navy-900); }
.filters:not(.has-pill) .filter.is-active { background: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 20vw, 270px); grid-auto-flow: dense; gap: 16px; }
.gallery__item { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: var(--navy-800); }
.gallery__item.is-feature { grid-column: span 2; grid-row: span 2; }
.gallery__item.is-feature-right { grid-column: 2 / span 2; }
.gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.gallery__item:hover .gallery__img { transform: scale(1.08); }
.gallery__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 6px; padding: 20px; background: linear-gradient(0deg, rgba(6,17,28,.85), rgba(6,17,28,0) 55%); }
.gallery__label { padding: 4px 12px; border-radius: 999px; background: var(--red-600); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.gallery__caption { color: var(--white); font-weight: 600; font-size: 15px; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease); }
.gallery__zoom { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--navy-900); transform: scale(.5) rotate(0deg); opacity: 0; transition: transform .5s var(--ease), opacity .3s; }
.gallery__item:hover .gallery__caption, .gallery__item:focus-visible .gallery__caption { opacity: 1; transform: none; }
.gallery__item:hover .gallery__zoom, .gallery__item:focus-visible .gallery__zoom { opacity: 1; transform: scale(1) rotate(-45deg); }
.js .gallery__item.is-hidden { display: none; }
.gallery__item.is-entering { animation: galleryIn .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes galleryIn { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.gallery__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.video { margin-bottom: 24px; }
.video__play { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden; cursor: pointer; background: #000; aspect-ratio: 16 / 9; }
.video__play img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform 1s var(--ease); }
.video__play:hover img { transform: scale(1.04); }
.video__icon { position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; border-radius: 50%; background: var(--red-600); color: var(--white); display: flex; align-items: center; justify-content: center; animation: ping 2s infinite; }
.video__icon svg { fill: currentColor; margin-left: 4px; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-lg); display: block; }

/* Before / after */
.ba { display: flex; flex-direction: column; gap: 10px; }
.ba figcaption { font-weight: 600; color: var(--navy-900); }
.ba__frame { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.ba__img { width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__frame::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); pointer-events: none; }
.ba__tag { position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(6,17,28,.78); color: var(--white); font-size: 13px; font-weight: 600; }
.ba__tag--before { left: 12px; }
.ba__tag--after { right: 12px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(6, 17, 28, .94); backdrop-filter: blur(6px); }
.lightbox[open] { animation: fadeIn .4s ease; }
.lightbox[open] .lightbox__img { animation: zoomIn .6s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 64px 84px; }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: var(--r); transition: opacity .25s; }
.lightbox__img.is-swapping { opacity: 0; }
.lightbox__caption { color: var(--steel-200); font-size: 15px; text-align: center; }
.lightbox__close, .lightbox__nav { position: absolute; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: var(--white); cursor: pointer; width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background-color .3s, color .3s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--white); color: var(--navy-900); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.review {
  position: relative; margin: 0; background: var(--white); border-radius: var(--r-lg); padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: box-shadow .5s var(--ease), translate .5s var(--ease);
}
.review:hover { translate: 0 -6px; box-shadow: var(--shadow); }
.review__mark { position: absolute; top: 26px; right: 28px; color: var(--red); opacity: .15; transition: opacity .4s, transform .6s var(--ease); }
.review:hover .review__mark { opacity: .9; transform: rotate(-8deg) scale(1.1); }
.review p { font-size: 19px; line-height: 1.6; color: var(--navy-900); font-weight: 500; flex: 1; }
.review footer { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.review footer strong { display: block; color: var(--navy-900); }
.review footer small { color: var(--muted); font-size: 13px; }
.review__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--white); font-weight: 800; font-size: 18px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__visual { position: relative; padding: 0 8% 14% 0; }
.about__frame { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.2; box-shadow: var(--shadow); }
.about__parallax { height: 116%; margin-top: -8%; }
.about__img { width: 100%; height: 100%; object-fit: cover; }
.about__inset { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; border: 8px solid var(--paper); box-shadow: var(--shadow-lg); }
.about__inset-img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute; top: 28px; left: -20px; display: flex; align-items: center; gap: 12px; max-width: 250px;
  padding: 16px 20px; border-radius: var(--r); background: var(--red-600); color: var(--white); box-shadow: 0 20px 40px -12px rgba(200,22,29,.6);
}
.about__badge.is-in { animation: float 5s ease-in-out 1.2s infinite; }
.about__badge strong { font: 800 40px/1 var(--font-sans); letter-spacing: -.04em; }
.about__badge span { font-size: 13px; line-height: 1.35; font-weight: 600; }
@keyframes float { 50% { translate: 0 -10px; } }
.about__copy { display: flex; flex-direction: column; gap: 20px; }
.about__copy > p { color: var(--muted); }
.about__list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.about__list li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--navy-900); }
.about__list svg { flex: none; width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: #FDECEC; color: var(--red-600); }
.about__areas-title { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 8px 0 10px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--navy-900); }
.chips svg { color: var(--red-600); }

/* ---------- CTA ---------- */
.cta { padding-bottom: clamp(56px, 7vw, 100px); }
.cta__inner {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); background: var(--navy-900); color: var(--steel-200);
  display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: center; padding: clamp(40px, 6vw, 80px);
}
.cta__glow { position: absolute; z-index: -1; width: 720px; height: 720px; right: -200px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(224,38,45,.55), rgba(224,38,45,0) 65%); animation: glow 12s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate3d(-240px, 160px, 0) scale(1.2); } }
.cta__copy { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.cta__title { font: 800 clamp(36px, 4.6vw, 64px)/1.02 var(--font-sans); letter-spacing: -.035em; color: var(--white); }
.cta__title em { color: var(--red-soft); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--navy-950); color: var(--steel-300); font-size: 15px; }
.footer a { color: var(--steel-300); text-decoration: none; transition: color .25s; }
.footer a:hover { color: var(--white); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; padding-block: 80px 56px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__lead { display: flex; flex-direction: column; gap: 14px; }
.footer__headline { font: 800 clamp(34px, 4.4vw, 60px)/1.04 var(--font-sans); letter-spacing: -.035em; color: var(--white); }
.footer__headline em { color: var(--red-soft); }
.footer__contact { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer__big { display: inline-flex; align-items: center; gap: 12px; font: 700 clamp(24px, 2.6vw, 34px)/1.2 var(--font-sans); letter-spacing: -.02em; color: var(--white) !important; background: linear-gradient(var(--red), var(--red)) left bottom / 0 2px no-repeat; transition: background-size .5s var(--ease); }
.footer__big:hover { background-size: 100% 2px; }
.footer__big svg { color: var(--red-soft); }
.footer__big--sm { font-size: 18px; font-weight: 600; color: var(--steel-200) !important; }
.footer__link--cta { margin-top: 6px; font-weight: 700; color: var(--red-soft) !important; }
.footer__link--cta:hover { color: var(--white) !important; }
.footer__grid { display: grid; grid-template-columns: 1.3fr .9fr 1fr 1.4fr; gap: 40px; padding-block: 56px 40px; }
.footer__grid--no-map { grid-template-columns: 1.3fr 1fr 1fr; }
.footer__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer__logo { width: 140px; height: auto; margin-bottom: 8px; }
.footer__name { color: var(--white); font-weight: 700; }
.footer__title { font: 700 12px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 6px; }
.footer__title--spaced { margin-top: 16px; }
.footer__link { display: inline-flex; align-items: center; gap: 6px; }
.footer__link:hover svg { transform: translateX(3px); }
.footer__link svg { transition: transform .3s var(--ease); }
.footer__social { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__social a { padding: 6px 14px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; font-size: 13px; font-weight: 600; transition: background-color .3s, color .3s, border-color .3s; }
.footer__social a:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.footer__map { border-radius: var(--r-lg); overflow: hidden; min-height: 240px; background: var(--navy-800); }
.footer__map iframe { width: 100%; height: 100%; min-height: 240px; border: 0; display: block; filter: grayscale(1) invert(.9) contrast(.9); }
.footer__legal { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid rgba(255,255,255,.08); padding-block: 22px 30px; font-size: 13px; color: var(--steel-400); }
.footer__copy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.footer__dot { color: rgba(255, 255, 255, .25); font-weight: bold; }
.footer__dev a { color: var(--steel-300); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.footer__dev a:hover { color: var(--white); }
.footer__top-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.footer__wordmark { font: 800 clamp(80px, 17vw, 260px)/.8 var(--font-sans); letter-spacing: -.06em; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07); margin-bottom: -.12em; user-select: none; }

/* ---------- Page hero (páginas interiores) ---------- */
.page-hero { position: relative; overflow: hidden; color: var(--white); background: var(--navy-900); }
.page-hero__media { position: absolute; inset: -10% 0; will-change: transform; }
.page-hero__img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__inner {
  position: relative; display: flex; flex-direction: column; gap: 24px;
  padding-top: calc(var(--topbar-h) + var(--header-h) + clamp(40px, 6vw, 88px));
  padding-bottom: clamp(72px, 9vw, 130px);
}
.page-hero__inner > * { max-width: 760px; }
.page-hero__inner--stats { padding-bottom: clamp(140px, 13vw, 190px); }
.page-hero__title { font: 800 clamp(40px, 5.2vw, 76px)/1.03 var(--font-sans); letter-spacing: -.035em; text-wrap: balance; }
.page-hero__title em { color: var(--red-soft); font-size: 1.06em; }
html[lang="es"] .page-hero__title { font-size: clamp(38px, 4.8vw, 68px); line-height: 1.06; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--steel-300); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: rgba(255,255,255,.3); }
.breadcrumb a { color: var(--steel-200); text-decoration: none; transition: color .25s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current="page"] { color: var(--white); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 28px; }
.contact__info .section__head { margin-bottom: 4px; }
.contact__form { position: sticky; top: calc(var(--header-h) + 24px); box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.contact-cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 18px;
  padding: 20px 22px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); color: var(--text); text-decoration: none;
  transition: box-shadow .5s var(--ease), translate .5s var(--ease), border-color .3s;
}
a.contact-card:hover { translate: 0 -4px; box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.contact-card__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--navy-900); color: var(--white); box-shadow: 0 14px 26px -12px rgba(11,27,42,.6); transition: transform .6s var(--ease), background-color .4s; }
a.contact-card:hover .contact-card__icon { transform: rotate(-6deg); background: var(--red-600); }
.contact-card__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-card__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-600); }
.contact-card__value { font: 800 clamp(18px, 1.6vw, 21px)/1.3 var(--font-sans); letter-spacing: -.02em; color: var(--navy-900); overflow-wrap: anywhere; }
.contact-card__text { font-size: 14px; color: var(--muted); }
.contact-card__arrow { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--navy-900); transition: transform .5s var(--ease), background-color .3s, color .3s; }
a.contact-card:hover .contact-card__arrow { transform: rotate(-45deg); background: var(--red-600); color: var(--white); }
.social-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.social-pills a { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--navy-900); font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color .3s, color .3s, border-color .3s; }
.social-pills a:hover { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }

.contact-map { padding-bottom: var(--section-y); }
.contact-map__frame { position: relative; min-height: 520px; border-radius: var(--r-xl); overflow: hidden; background: var(--navy-800); box-shadow: var(--shadow); }
.contact-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35) contrast(1.02); }
.contact-map__card {
  position: absolute; left: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px); max-width: 400px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  padding: clamp(26px, 3vw, 38px); border-radius: var(--r-lg); background: var(--navy-900); color: var(--steel-200); box-shadow: var(--shadow-lg);
}
.contact-map__title { font: 800 clamp(28px, 2.6vw, 36px)/1.08 var(--font-sans); letter-spacing: -.03em; color: var(--white); }
.contact-map__title em { color: var(--red-soft); }
.chips--dark li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: var(--white); }
.chips--dark svg { color: var(--red-soft); }

/* ---------- Floating ---------- */
.whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 55; width: 60px; height: 60px; border-radius: 50%; background: #1FA855; color: var(--white); display: none; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0,0,0,.25); transition: transform .4s var(--ease); }
.whatsapp:hover { background: #178A45; color: var(--white); transform: scale(1.08); }
.mobile-bar { display: none; }

/* ---------- Motion: reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 34px, 0);
  transition: opacity .9s var(--ease), transform 1.1s var(--ease), clip-path 1.3s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal="right"] { transform: translate3d(48px, 0, 0); }
.js [data-reveal="left"] { transform: translate3d(-48px, 0, 0); }
.js [data-reveal="zoom"] { transform: translate3d(0, 24px, 0) scale(.94); }
.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round var(--r-xl)); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="mask"].is-in { clip-path: inset(0 0 0 0 round var(--r-xl)); }
.js [data-reveal].is-settled { transition-delay: 0s; }
.js .service.is-settled { transition: transform .5s var(--ease); }
.js .service.is-tilting { transition: transform .12s linear; }

/* Titulares que entran palabra a palabra */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w__i { display: inline-block; }
.js [data-split].is-split .w__i { transform: translate3d(0, 110%, 0); transition: transform 1.1s var(--ease); transition-delay: calc(var(--wi, 0) * 55ms + 80ms); }
.js [data-split].is-in .w__i { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .header__phone-text { display: none; }
  .nav__link { padding: 0 9px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .header__actions { margin-left: auto; gap: 12px; }
  .nav {
    position: fixed; inset: 0; z-index: -1; margin: 0; overflow-y: auto;
    padding: calc(var(--topbar-h) + var(--header-h) + 16px) clamp(18px, 4vw, 40px) 40px;
    background: var(--navy-950); flex-direction: column; align-items: stretch; gap: 24px;
    clip-path: circle(0 at calc(100% - 44px) 76px); visibility: hidden;
    transition: clip-path .8s var(--ease), visibility .8s;
  }
  .header.is-scrolled .nav { padding-top: calc(var(--topbar-h) * 2 + var(--header-h) + 16px); }
  .nav.is-open { clip-path: circle(150% at calc(100% - 44px) 76px); visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,.08); opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .7s var(--ease); }
  .nav.is-open .nav__item { opacity: 1; transform: none; }
  .nav.is-open .nav__item:nth-child(2) { transition-delay: .05s; }
  .nav.is-open .nav__item:nth-child(3) { transition-delay: .1s; }
  .nav.is-open .nav__item:nth-child(4) { transition-delay: .15s; }
  .nav.is-open .nav__item:nth-child(5) { transition-delay: .2s; }
  .nav.is-open .nav__item:nth-child(6) { transition-delay: .25s; }
  .nav__link { flex: 1; min-height: 64px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; padding: 0 4px; color: var(--white); }
  .nav__link::after { display: none; }
  .nav__sub-toggle { width: 56px; height: 64px; }
  .nav__sub { position: static; width: 100%; min-width: 0; box-shadow: none; padding: 0 0 12px; background: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav__sub--services { grid-template-columns: 1fr; border-top: 0; padding: 0 0 16px; }
  .nav__sub a { color: var(--steel-200); }
  .nav__sub a:hover { background: rgba(255,255,255,.06); color: var(--white); }
  .nav__sub-col a { color: var(--steel-200); font-size: 16px; padding: 8px 4px; }
  .nav__sub-col a:hover { background: rgba(255,255,255,.06); color: var(--white); transform: none; }
  .nav__sub-title { color: rgba(255, 255, 255, .5); margin-top: 14px; border-bottom-color: rgba(255, 255, 255, .1); }
  .nav__item--has-sub.is-open .nav__sub { display: block; }
  .nav__item--has-sub:hover .nav__sub, .nav__item--has-sub:focus-within .nav__sub { display: none; }
  .nav__item--has-sub.is-open:hover .nav__sub, .nav__item--has-sub.is-open:focus-within .nav__sub { display: block; }
  .nav__item--has-sub:hover .nav__sub-toggle svg { transform: none; }
  .nav__item--has-sub.is-open .nav__sub-toggle svg { transform: rotate(180deg); }
  .nav__cta { display: inline-flex; min-height: 58px; font-size: 17px; }
  .nav__phone { display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: var(--white); font-weight: 700; font-size: 20px; text-decoration: none; }
  .nav__lang { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 12px; margin-top: 10px; border-top: 1px solid rgba(255,255,255,.08); color: var(--steel-300); font-size: 15px; font-weight: 600; }
  .nav__lang .lang-switch__btn { font-size: 16px; padding: 4px 10px; }
  body.nav-open { overflow: hidden; }

  .hero__grid { grid-template-columns: 1fr; padding-bottom: 170px; }
  .hero__shade { background: linear-gradient(180deg, rgba(6,17,28,.82), rgba(6,17,28,.7) 50%, rgba(6,17,28,.92)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .services { grid-auto-rows: 300px; }
  .service, .service--1 { grid-column: span 6; grid-row: span 1; }
  .storm__grid, .about, .contact { grid-template-columns: 1fr; }
  .contact__form { position: relative; top: auto; }
  .about__visual { max-width: 640px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand__logo { height: 46px; }
  .topbar__address { display: none; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps__line { top: 40px; bottom: 40px; left: 39px; right: auto; width: 2px; height: auto; }
  .steps__fill { width: 100%; height: 100%; transform: scaleY(var(--p, 0)); transform-origin: top; }
  .step { display: grid; grid-template-columns: 80px minmax(0, 1fr); column-gap: 24px; row-gap: 6px; text-align: left; align-items: start; }
  .step__icon { grid-row: span 2; }
  .step__title { margin-top: 8px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .gallery__item.is-feature-right { grid-column: span 2; }
  .gallery__caption { opacity: 1; transform: none; }
  .lightbox__inner { padding: 64px 12px 90px; }
  .lightbox__nav { top: auto; bottom: 20px; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 64px); }
  .lightbox__nav--next { right: calc(50% - 64px); }

  body { padding-bottom: 78px; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(9, 22, 35, .9); backdrop-filter: blur(14px); border-top: 1px solid rgba(255,255,255,.1);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    transform: translateY(110%); transition: transform .6s var(--ease);
  }
  .mobile-bar.is-visible, .no-js .mobile-bar { transform: none; }
  .whatsapp { display: flex; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); right: 18px; width: 62px; height: 62px; z-index: 65; box-shadow: 0 10px 26px rgba(0,0,0,.35); transition: bottom .4s var(--ease), transform .4s var(--ease); }
  .mobile-bar.is-visible ~ .whatsapp { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}

/* =========================================================
   Service Page (service.php) & FAQ styles
   ========================================================= */
.svc-hero { position: relative; background: var(--navy-950); color: var(--white); overflow: hidden; isolation: isolate; }
.svc-hero__media { position: absolute; inset: 0 0 0 30%; z-index: -2; overflow: hidden; }
.svc-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: right top; }
.svc-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--navy-950) 34%, rgba(6, 17, 28, .88) 54%, rgba(6, 17, 28, .4) 78%, rgba(6, 17, 28, .2)),
    linear-gradient(0deg, rgba(6, 17, 28, .6), transparent 50%);
}
.svc-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding-top: calc(var(--topbar-h) + var(--header-h) + clamp(36px, 5vw, 64px));
  padding-bottom: clamp(64px, 8vw, 104px);
}
.svc-hero__inner > * { max-width: 720px; }
.svc-hero__inner .breadcrumb { margin: 0; }
.svc-hero__inner .tag { margin: 0; align-self: flex-start; }
.svc-hero__inner .svc-hero__title { margin: 0; }
.svc-hero__inner .svc-hero__lead { margin: 0; }
.svc-hero__inner .hero__ctas { margin: 8px 0 0; }
.svc-hero__inner .svc-hero__note { margin: 0; }
.svc-hero__title { font: 800 clamp(34px, 4.8vw, 56px)/1.08 var(--font-sans); letter-spacing: -.02em; margin: 0 0 18px; text-wrap: balance; color: var(--white); }
.svc-hero__lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--steel-200); margin-bottom: 30px; }
.svc-hero .hero__ctas { margin-bottom: 24px; }
.svc-hero__note { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--steel-300); font-weight: 500; }
.svc-hero__note svg { color: var(--red-soft); }

.svc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.svc-aside {
  position: sticky;
  top: 100px;
}
.quote--page {
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.svc-intro p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 18px;
}
.svc-intro p:last-child { margin-bottom: 0; }

.svc-block {
  margin-top: clamp(44px, 5vw, 68px);
}
.svc-block__title {
  font: 800 clamp(26px, 2.8vw, 34px)/1.15 var(--font-sans);
  letter-spacing: -.02em;
  color: var(--navy-900);
  margin: 0 0 24px;
}
.svc-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.svc-checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy-900);
}
.svc-checks__icon {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(200, 22, 29, .1);
  color: var(--red-600);
  margin-top: -2px;
}

.svc-why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.svc-why__item {
  padding: 26px;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color .3s, transform .35s var(--ease), box-shadow .3s;
}
.svc-why__item:hover {
  border-color: var(--red-600);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.svc-why__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--navy-900);
  color: var(--white);
  margin-bottom: 16px;
}
.svc-why__item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 8px;
}
.svc-why__item p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

.faq {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.faq > div:first-child p {
  color: var(--muted);
  margin-top: 16px;
  font-size: 16px;
}
.faq > div:first-child a {
  color: var(--red-600);
  font-weight: 700;
  text-decoration: none;
}
.faq > div:first-child a:hover {
  text-decoration: underline;
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy-900);
  transition: color .2s;
}
.faq__item summary:hover {
  color: var(--red-600);
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__toggle {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mist);
  flex-shrink: 0;
  transition: background-color .3s, transform .35s var(--ease);
}
.faq__toggle::before, .faq__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  background: var(--navy-900);
  transform: translate(-50%, -50%);
  transition: transform .3s, background-color .3s;
}
.faq__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq__item[open] .faq__toggle {
  background: var(--red-600);
  transform: rotate(180deg);
}
.faq__item[open] .faq__toggle::before,
.faq__item[open] .faq__toggle::after {
  background: var(--white);
}
.faq__item[open] .faq__toggle::after {
  transform: translate(-50%, -50%) rotate(0);
}
.faq__item p {
  color: var(--muted);
  padding-bottom: 22px;
  margin: 0;
  line-height: 1.65;
  font-size: 15.5px;
}
@supports selector(::details-content) {
  .faq__item::details-content {
    block-size: 0;
    overflow: hidden;
    opacity: 0;
    transition: block-size .35s var(--ease), opacity .3s;
  }
  .faq__item[open]::details-content {
    block-size: auto;
    opacity: 1;
  }
}

.services--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 28px;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s;
  position: relative;
}
.service-card--urgent {
  border-color: rgba(224, 38, 45, .4);
}
.service-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red-600);
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(224, 38, 45, .4);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-900);
}
.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.service-card:hover .service-card__img {
  transform: scale(1.05);
}
.service-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--mist);
  color: var(--red-600);
  margin-bottom: 14px;
}
.service-card__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 10px;
}
.service-card__title a {
  color: inherit;
  text-decoration: none;
}
.service-card__title a:hover {
  color: var(--red-600);
}
.service-card__text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 20px;
  flex: 1;
}
.service-card__link {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--red-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .2s;
}
.service-card__link:hover {
  gap: 12px;
}

@media (max-width: 1100px) {
  .svc-layout { grid-template-columns: minmax(0, 1fr) 380px; }
}
@media (max-width: 960px) {
  .svc-layout, .faq { grid-template-columns: 1fr; }
  .svc-aside { position: static; }
  .svc-hero__media { inset: 0; }
  .svc-hero::before { background: linear-gradient(180deg, rgba(6, 17, 28, .82), rgba(6, 17, 28, .94)); }
  .services--3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .svc-checks, .svc-why { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar__item:first-child { display: none; }
  .topbar__mail { margin-left: 0; }
  .topbar .lang-switch { display: none; }
  .lang-switch--header { display: inline-flex; }
  .header__phone, .header__cta { display: none; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__foot { bottom: 120px; }
  .hero__scroll { display: none; }
  .stats { margin-top: -90px; }
  .stat { padding: 22px 18px; }
  .brands { flex-direction: column; align-items: flex-start; gap: 14px; }
  .marquee { width: 100%; }
  .services { grid-auto-rows: auto; }
  .service, .service--1, .service--4 { grid-column: 1 / -1; min-height: 340px; }
  .service--4 .service__media { left: 0; }
  .service--4 .service__media::after { background: linear-gradient(0deg, rgba(6,17,28,.95) 10%, rgba(6,17,28,.4) 70%); }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery__item.is-feature, .gallery__item.is-feature-right { grid-column: auto; grid-row: span 1; }
  .about__badge { left: 10px; top: 14px; }
  .footer__grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 18px; }
  .contact-card__icon { width: 48px; height: 48px; border-radius: 14px; }
  .contact-card__arrow { display: none; }
  .contact-card__value { font-size: 16px; }
  .contact-map__frame { display: flex; flex-direction: column; min-height: 0; }
  .contact-map__frame iframe { position: relative; height: 320px; }
  .contact-map__card { position: static; max-width: none; border-radius: 0; box-shadow: none; }
  .contact-map__card .btn { width: 100%; }
  .section__head--split { align-items: flex-start; }
  .cta__actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js [data-reveal], .js [data-split].is-split .w__i { opacity: 1; transform: none; clip-path: none; }
  .marquee__track { animation: none; }
  .storm__rain, .storm::after { display: none; }
}

/* =========================================================
   Páginas Legales (Privacidad y Cookies)
   ========================================================= */
.legal-page { padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 100px); background: var(--paper); }
.legal-card { max-width: 860px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow-sm); }
.legal-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.legal-prose { color: var(--navy-800); font-size: 16px; line-height: 1.75; }
.legal-prose h2 { font-size: clamp(20px, 2.2vw, 24px); color: var(--navy-900); margin: 36px 0 14px; font-weight: 700; }
.legal-prose h2:first-of-type { margin-top: 0; }
.legal-prose h3 { font-size: 17px; color: var(--navy-900); margin: 24px 0 10px; font-weight: 600; }
.legal-prose p { margin: 0 0 16px; }
.legal-prose ul { margin: 0 0 18px 20px; list-style: disc; }
.legal-prose li { margin-bottom: 8px; }
.legal-prose a { color: var(--red-600); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal-prose a:hover { color: var(--red-700); }
.legal-contact-box { margin-top: 36px; padding: 24px 28px; background: var(--mist); border-radius: var(--r); border-left: 4px solid var(--red-600); }
.legal-contact-box p { margin: 0 0 8px; }
.legal-contact-box p:last-child { margin: 0; }

/* =========================================================
   Banner de consentimiento de Cookies
   ========================================================= */
.cookie-banner {
  position: fixed; left: 24px; bottom: 24px; z-index: 999;
  max-width: 480px; width: calc(100% - 48px);
  background: rgba(6, 17, 28, .96); color: var(--white);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--r-lg); padding: 22px 24px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .4);
  transform: translateY(120%); opacity: 0; pointer-events: none;
  transition: transform .45s var(--ease), opacity .3s ease;
}
@supports (backdrop-filter: blur(1px)) {
  .cookie-banner { background: rgba(6, 17, 28, .92); backdrop-filter: blur(16px); }
}
.cookie-banner.is-visible {
  transform: translateY(0); opacity: 1; pointer-events: auto;
}
.cookie-banner__inner { display: flex; flex-direction: column; gap: 14px; }
.cookie-banner__title { font-size: 17px; font-weight: 700; color: var(--white); margin: 0 0 6px; }
.cookie-banner__text { font-size: 13.5px; line-height: 1.55; color: var(--steel-300); margin: 0; }
.cookie-banner__text a { color: var(--white); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__text a:hover { color: var(--red-500); }
.cookie-banner__actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.btn--sm { padding: 8px 16px; font-size: 13.5px; min-height: 38px; }

@media (max-width: 640px) {
  .cookie-banner {
    left: 14px; right: 14px; bottom: 82px;
    width: auto; max-width: none; padding: 18px; border-radius: var(--r);
  }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; justify-content: center; }
}
