/* =============================================================
   Carranza & Abogados — clon FIEL de jurida.framer.website
   Paleta REAL del sitio clonado: azul ejecutivo (pedido explícito de la clienta)
   Tipografía real: DM Sans (única familia, como en el original)
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #FFFFFF;
  --panel: #F8FAFF;
  --tint: #EDF3FF;
  --line: #E1E8F5;

  --navy: #001E40;      /* azul ejecutivo profundo — titulares, bandas oscuras */
  --blue: #012988;      /* azul ejecutivo vivo — acento principal, botones */
  --blue-2: #1E45B0;    /* azul medio — hover */
  --blue-soft: #3D62C9; /* azul claro — detalles sobre fondo oscuro */

  --ink: #16223A;
  --ink-soft: #55637A;
  --cream-on-dark: #EDF3FF;

  --font: "DM Sans", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --gutter: clamp(20px, 5vw, 64px);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 500; text-wrap: balance; line-height: 1.1; letter-spacing: -0.02em; color: var(--navy); }
em { font-style: normal; color: var(--blue); }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--blue); color: var(--cream-on-dark); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--blue); color: var(--cream-on-dark);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.eyebrow {
  font-weight: 700; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--blue);
  margin-bottom: .9rem; display: flex; align-items: center; gap: .7rem;
}
.eyebrow-line { display: inline-block; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--cream-on-dark); }
.section__head { max-width: 760px; margin: 0 auto clamp(2.4rem, 5vw, 3.6rem); padding: 0 var(--gutter); }
.section__head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); max-width: 22ch; }
.section__head-sub { margin-top: 1rem; color: var(--ink-soft); max-width: 46ch; }

[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; white-space: nowrap;
  transition: transform .35s var(--ease-out), background .35s var(--ease-out), color .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.btn--wa { background: var(--blue); color: #fff; box-shadow: 0 12px 28px -14px rgba(1,41,136,.55); }
.btn--wa:hover { background: var(--navy); transform: translateY(-2px); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--blue); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy); box-shadow: 0 12px 28px -14px rgba(0,0,0,.35); }
.btn--light:hover { background: var(--tint); transform: translateY(-2px); }
.btn--nav { background: var(--blue); color: #fff; padding: .7rem 1.2rem; font-size: .88rem; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }

/* =============================================================
   5. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg);
  display: grid; place-items: center;
  animation: splashSafety .01s 6s forwards;
}
.splash__frame { position: absolute; inset: clamp(16px, 5.5vmin, 52px); pointer-events: none; }
.splash__edge { position: absolute; background: var(--line); }
.splash__edge::after { content: ""; position: absolute; inset: 0; background: var(--blue); }
.splash__edge--t, .splash__edge--b { left: 0; width: 100%; height: 1.5px; }
.splash__edge--t { top: 0; } .splash__edge--b { bottom: 0; }
.splash__edge--l, .splash__edge--r { top: 0; width: 1.5px; height: 100%; }
.splash__edge--l { left: 0; } .splash__edge--r { right: 0; }
.splash__edge--t::after, .splash__edge--b::after { transform: scaleX(0); }
.splash__edge--l::after, .splash__edge--r::after { transform: scaleY(0); }
.splash__edge--t::after { transform-origin: left; animation: edgeX .62s linear 0s forwards; }
.splash__edge--r::after { transform-origin: top; animation: edgeY .62s linear .6s forwards; }
.splash__edge--b::after { transform-origin: right; animation: edgeX .62s linear 1.2s forwards; }
.splash__edge--l::after { transform-origin: bottom; animation: edgeY .62s linear 1.8s forwards; }
@keyframes edgeX { to { transform: scaleX(1); } }
@keyframes edgeY { to { transform: scaleY(1); } }
.splash__runner {
  position: absolute; top: -4.5px; left: -4.5px; width: 10px; height: 10px;
  background: var(--blue); box-shadow: 0 0 16px 2px rgba(1,41,136,.5);
  animation: runnerLap 2.42s cubic-bezier(.65,0,.35,1) forwards;
}
@keyframes runnerLap {
  0% { top: -4.5px; left: -4.5px; } 25% { top: -4.5px; left: calc(100% - 5.5px); }
  50% { top: calc(100% - 5.5px); left: calc(100% - 5.5px); } 75% { top: calc(100% - 5.5px); left: -4.5px; }
  100% { top: -4.5px; left: -4.5px; }
}
.splash__in { text-align: center; opacity: 0; animation: splashLogo .8s var(--ease-out) .5s forwards; }
.splash__word { display: block; font-weight: 700; font-size: clamp(1.5rem, 4.6vw, 2.3rem); color: var(--navy); letter-spacing: -.01em; }
.splash__word--sub { font-weight: 600; font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; color: var(--blue); margin-top: .5rem; }
.splash.is-out { opacity: 0; pointer-events: none; transition: opacity .55s var(--ease-out); }
@keyframes splashLogo { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .splash__runner, .splash__edge::after { animation: none; } .splash__edge::after { transform: none; }
  .splash__in { animation: none; opacity: 1; }
}

/* =============================================================
   6. Nav — transparente sobre el hero, solido al hacer scroll
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .35s var(--ease-out), border-color .35s var(--ease-out);
}
.nav__in {
  max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter);
  height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav__brand { display: flex; align-items: center; gap: .6rem; }
.nav__mark { color: #fff; transition: color .35s var(--ease-out); }
.nav__brand-name { font-weight: 700; font-size: 1.15rem; color: #fff; transition: color .35s var(--ease-out); }
.nav__brand-name em { color: var(--blue-soft); }
.nav__links { display: none; align-items: center; gap: 1.9rem; }
.nav__links a { font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.88); transition: color .3s var(--ease-out); }
.nav__links a:hover { color: #fff; }
.nav__cta { display: none; }
.nav__burger {
  display: grid; place-items: center; gap: 5px; width: 42px; height: 42px;
  border-radius: 50%; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
}
.nav__burger span { display: block; width: 18px; height: 1.5px; background: #fff; transition: transform .3s var(--ease-out), opacity .3s var(--ease-out), background .3s var(--ease-out); }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Estado "stuck": nav solida blanca, texto oscuro (fuera del hero o al hacer scroll) */
.nav.is-stuck { background: rgba(255,255,255,.95); border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,30,64,.4); }
.nav.is-stuck .nav__mark, .nav.is-stuck .nav__brand-name { color: var(--navy); }
.nav.is-stuck .nav__links a { color: var(--ink-soft); }
.nav.is-stuck .nav__links a:hover { color: var(--blue); }
.nav.is-stuck .nav__burger { background: var(--panel); border-color: var(--line); }
.nav.is-stuck .nav__burger span { background: var(--navy); }

@media (min-width: 960px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }
}

.nav__mobile {
  position: fixed; inset: 84px 0 0 0; z-index: 480; background: var(--bg);
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .4s var(--ease-out), opacity .4s var(--ease-out);
  padding: 2rem var(--gutter); display: flex; flex-direction: column; gap: 1.4rem;
}
.nav.is-open .nav__mobile { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav__mobile a { font-size: 1.5rem; font-weight: 600; color: var(--navy); }
.nav__mobile .btn { align-self: flex-start; margin-top: .5rem; }

@media (min-width: 960px) { .nav__mobile { display: none; } }

/* =============================================================
   7. Hero — full-bleed
   ============================================================= */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,10,26,.35) 0%, rgba(0,10,26,.15) 30%, rgba(0,14,32,.55) 68%, rgba(0,14,32,.85) 100%);
}
.hero__in {
  position: relative; width: 100%; max-width: 1320px; margin: 0 auto;
  padding: clamp(2rem, 6vw, 3.5rem) var(--gutter) clamp(2.2rem, 5vw, 3rem); color: #fff;
  display: flex; flex-direction: column; gap: 1.8rem;
}
.hero__copy { max-width: 620px; }
.hero__eyebrow { color: rgba(255,255,255,.92); }
.hero__eyebrow .eyebrow-line { background: rgba(255,255,255,.7); }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 3.6rem); max-width: 16ch; }
.hero__lead { margin-top: 1.2rem; font-size: 1.05rem; color: rgba(255,255,255,.86); max-width: 44ch; }
.hero__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.hero__trust {
  display: flex; align-items: center; gap: .7rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  padding: .5rem .9rem .5rem .5rem; border-radius: 999px; backdrop-filter: blur(6px);
}
.hero__trust img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.hero__trust span { font-size: .8rem; color: rgba(255,255,255,.85); line-height: 1.25; }
.hero__trust strong { color: #fff; }

@media (min-width: 720px) {
  .hero__in { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 2rem; }
  .hero__aside { align-items: flex-end; }
}

/* =============================================================
   8. About — foto ancha + texto + stats
   ============================================================= */
.about { background: var(--panel); }
.about__figure { width: 100%; }
.about__figure img { width: 100%; height: clamp(220px, 42vw, 460px); object-fit: cover; }
.about__in { max-width: 1000px; margin: 0 auto; padding: clamp(2.4rem, 6vw, 4rem) var(--gutter) clamp(3.5rem, 7vw, 5rem); }
.about__in h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); max-width: 20ch; }
.about__in > p { margin-top: 1.1rem; color: var(--ink-soft); max-width: 60ch; }
.about__in .btn { margin-top: 1.6rem; }
.about__stats { margin-top: 2.6rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
.stat__num { font-weight: 700; font-size: clamp(2.2rem, 5vw, 3rem); background: linear-gradient(180deg, var(--blue), var(--navy)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin-top: .3rem; font-size: .88rem; color: var(--ink-soft); }

@media (min-width: 540px) { .about__stats { grid-template-columns: repeat(4, 1fr); } }

/* =============================================================
   9. Areas — carrusel horizontal, tarjetas con foto completa
   ============================================================= */
.areas { padding: clamp(4rem, 8vw, 6rem) 0; }
.areas__scroller { overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; padding-bottom: .5rem; }
.areas__scroller::-webkit-scrollbar { height: 6px; }
.areas__scroller::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.areas__track { display: flex; gap: 1.2rem; padding: 0 var(--gutter); width: max-content; }
.area {
  position: relative; scroll-snap-align: start; flex: 0 0 auto;
  width: min(78vw, 340px); aspect-ratio: .92; border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 40px -28px rgba(0,30,64,.4);
}
.area img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s var(--ease-out); }
.area:hover img { transform: scale(1.05); }
.area::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,20,42,.05) 0%, rgba(0,20,42,.15) 45%, rgba(0,14,32,.92) 100%);
}
.area__n {
  position: absolute; top: 1.2rem; left: 1.2rem; width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(4px);
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .85rem;
}
.area__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; color: #fff; }
.area__body h3 { color: #fff; font-size: 1.2rem; }
.area__body p { margin-top: .5rem; color: rgba(255,255,255,.82); font-size: .88rem; line-height: 1.5; }
.area__link { margin-top: 1rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .86rem; color: #fff; }
.area__link svg { transition: transform .3s var(--ease-out); }
.area:hover .area__link svg { transform: translate(3px, -3px); }

@media (min-width: 1280px) {
  .areas__track { width: 100%; }
  .area { flex: 1 1 0; width: auto; }
}

/* =============================================================
   10. Process — banda oscura full-bleed con pasos
   ============================================================= */
.process { position: relative; padding: clamp(4.5rem, 9vw, 7rem) 0; overflow: hidden; isolation: isolate; }
.process__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.process__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,10,26,.55), rgba(0,10,26,.85)); }
.process__in { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }
.process__head { max-width: 720px; margin-bottom: 3rem; }
.process__head h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.process__head p { margin-top: 1rem; color: rgba(237,243,255,.82); }
.process__steps { border-top: 1px solid rgba(237,243,255,.2); }
.step { display: flex; gap: 1.3rem; padding: 1.6rem 0; border-bottom: 1px solid rgba(237,243,255,.2); }
.step:first-child { padding-top: 0; }
.step__n { font-weight: 700; color: var(--blue-soft); font-size: 1.25rem; flex: none; width: 2.6rem; }
.step__title { font-weight: 700; color: #fff; }
.step__text { margin-top: .35rem; color: rgba(237,243,255,.78); font-size: .93rem; max-width: 60ch; }

/* =============================================================
   11. Bio (single lawyer profile)
   ============================================================= */
.bio { padding: clamp(4rem, 8vw, 6rem) 0; }
.bio__in { max-width: 900px; margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
.bio__in h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.bio__sub { margin-top: 1rem; color: var(--ink-soft); max-width: 50ch; margin-left: auto; margin-right: auto; }
.bio__card {
  margin-top: 2.6rem; background: var(--navy); color: var(--cream-on-dark);
  border-radius: 22px; padding: clamp(2rem, 5vw, 3rem); display: grid; gap: 1.8rem; text-align: left;
}
.bio__badge {
  width: 90px; height: 90px; border-radius: 50%; background: var(--blue);
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.8rem;
  border: 1px solid rgba(237,243,255,.25); justify-self: center;
}
.bio__body h3 { color: var(--cream-on-dark); font-size: 1.5rem; text-align: center; }
.bio__reg { margin-top: .4rem; color: var(--blue-soft); font-size: .88rem; text-align: center; }
.bio__body > p:not(.bio__reg):not(.bio__quote) { margin-top: .9rem; text-align: center; color: rgba(237,243,255,.82); font-size: .94rem; }
.bio__quote {
  margin-top: 1.6rem; font-style: normal; font-size: 1.1rem; text-align: center;
  color: var(--cream-on-dark); border-top: 1px solid rgba(237,243,255,.2); padding-top: 1.4rem; max-width: 56ch; margin-left: auto; margin-right: auto;
}

@media (min-width: 640px) { .bio__card { grid-template-columns: auto 1fr; align-items: center; } .bio__badge { justify-self: start; } }

/* =============================================================
   12. Mid CTA (dark band)
   ============================================================= */
.midcta { background: var(--navy); color: var(--cream-on-dark); padding: clamp(4rem, 9vw, 6.5rem) 0; text-align: center; }
.midcta__in { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); display: flex; flex-direction: column; align-items: center; }
.midcta .eyebrow { justify-content: center; }
.midcta h2 { color: var(--cream-on-dark); font-size: clamp(2rem, 4vw, 2.8rem); }
.midcta p { margin-top: 1.1rem; color: rgba(237,243,255,.78); max-width: 52ch; }
.midcta .btn { margin-top: 1.8rem; }

/* =============================================================
   13. Testimonials
   ============================================================= */
.testimonials { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--tint); }
.testimonials__feature {
  max-width: 1100px; margin: 0 auto clamp(2rem, 4vw, 2.8rem); padding: 0 var(--gutter);
  display: grid; gap: 1.4rem;
}
.testimonials__quote {
  background: var(--bg); border-radius: 20px; padding: clamp(1.8rem, 4vw, 2.6rem);
  border: 1px solid var(--line);
}
.testimonials__mark { font-size: 2.6rem; color: var(--blue); line-height: 1; font-weight: 700; }
.testimonials__quote p { margin-top: .6rem; font-size: 1.15rem; color: var(--navy); line-height: 1.5; }
.testimonials__quote footer { margin-top: 1.2rem; display: flex; align-items: center; gap: .7rem; font-size: .88rem; color: var(--ink-soft); }
.testimonials__quote footer strong { color: var(--navy); }
.testimonials__avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--cream-on-dark);
  display: grid; place-items: center; font-weight: 700; font-size: .82rem; flex: none;
}
.testimonials__rating {
  background: var(--navy); color: var(--cream-on-dark); border-radius: 20px;
  padding: clamp(1.6rem, 4vw, 2.2rem); display: flex; flex-direction: column; justify-content: center; gap: .3rem;
}
.testimonials__rating-value { font-weight: 700; font-size: 2.2rem; }
.testimonials__rating-count { font-size: .85rem; color: rgba(237,243,255,.75); }
.testimonials__stars { margin-top: .4rem; color: var(--blue-soft); letter-spacing: .1em; }

@media (min-width: 860px) { .testimonials__feature { grid-template-columns: 1.5fr 1fr; } }

/* Carrusel horizontal infinito (patron de la casa, ver BRASA) */
.reviews__marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reviews__track { display: flex; width: max-content; animation: marqueeX 38s linear infinite; }
.reviews__track:hover { animation-play-state: paused; }
.reviews__group { display: flex; gap: 1.2rem; padding: 0 var(--gutter) 0 0; }
.reviews__group:first-child { padding-left: var(--gutter); }
@keyframes marqueeX { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.rcard { width: 280px; flex: 0 0 auto; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; display: flex; flex-direction: column; gap: .8rem; }
.rcard__stars { color: var(--blue); font-size: .82rem; letter-spacing: .1em; }
.rcard p { color: var(--ink); font-size: .92rem; line-height: 1.5; }
.rcard__who { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.rcard__who i { font-style: normal; width: 36px; height: 36px; border-radius: 50%; background: var(--c, var(--blue)); display: flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 700; color: #fff; flex: none; }
.rcard__who span { display: flex; flex-direction: column; font-size: .78rem; color: var(--ink-soft); }
.rcard__who b { font-weight: 700; color: var(--navy); font-size: .88rem; }

@media (prefers-reduced-motion: reduce) { .reviews__track { animation: none; } }

/* =============================================================
   14. Location
   ============================================================= */
.location { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.location__in { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }
.location__card {
  display: grid; gap: 1.4rem; background: var(--panel); border: 1px solid var(--line);
  border-radius: 20px; padding: clamp(1.2rem, 3vw, 1.6rem); align-items: stretch;
}
.location__mapframe {
  position: relative; border-radius: 14px; overflow: hidden; min-height: 260px;
  background: linear-gradient(160deg, var(--tint), var(--panel));
  display: flex;
}
.location__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(120% 100% at 50% 30%, #000, transparent 82%);
}
.location__mapframe .mapa-ph { position: relative; z-index: 1; margin: auto; display: grid; justify-items: center; gap: .7rem; padding: 2rem; text-align: center; transition: opacity .4s var(--ease-out); }
.location__mapframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; opacity: 0; transition: opacity .6s var(--ease-out); }
.location__mapframe iframe.is-loaded { opacity: 1; }
.location__pin { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 24px -10px rgba(1,41,136,.5); }
.location__body { padding: .4rem .6rem 1rem; }
.location__body h3 { font-size: 1.35rem; }
.location__body p { margin-top: .35rem; color: var(--ink-soft); }
.location__note { font-size: .85rem; margin-top: .6rem; }
.location__body .btn { margin-top: 1.1rem; }

@media (min-width: 720px) { .location__card { grid-template-columns: 1.1fr .9fr; } .location__mapframe { min-height: 100%; } }

/* =============================================================
   15. FAQ
   ============================================================= */
.faq { padding: clamp(4rem, 8vw, 6rem) 0; }
.faq__list { max-width: 900px; margin: 0 auto; padding: 0 var(--gutter); border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1.4rem 0; display: flex; justify-content: space-between; gap: 1rem;
  font-weight: 600; font-size: 1.02rem; color: var(--navy);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-size: 1.5rem; color: var(--blue); flex: none; font-weight: 400;
  transition: transform .3s var(--ease-out);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 1.5rem; color: var(--ink-soft); max-width: 62ch; }

/* =============================================================
   16. Closing CTA
   ============================================================= */
.cta { position: relative; padding: clamp(5rem, 12vw, 8rem) 0; overflow: hidden; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,20,42,.8), rgba(1,20,70,.92)); }
.cta__in { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); text-align: center; color: var(--cream-on-dark); }
.cta .eyebrow { justify-content: center; }
.cta h2 { color: var(--cream-on-dark); font-size: clamp(2rem, 4.4vw, 3rem); text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.cta .btn { margin-top: 2rem; }
.cta__meta { margin-top: 1.2rem; color: rgba(237,243,255,.75); font-size: .9rem; }

/* =============================================================
   17. Footer
   ============================================================= */
.footer { background: var(--navy); color: var(--cream-on-dark); padding: clamp(3rem, 6vw, 4.5rem) 0 1.6rem; }
.footer__in { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 2.4rem; }
.footer__col { display: flex; flex-direction: column; gap: .7rem; }
.footer__col--brand { gap: .9rem; }
.footer__brand { font-weight: 700; font-size: 1.3rem; color: var(--cream-on-dark); }
.footer__brand em { color: var(--blue-soft); }
.footer__col--brand p { color: rgba(237,243,255,.7); font-size: .92rem; max-width: 30ch; }
.footer__col h4 { font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(237,243,255,.6); margin-bottom: .3rem; }
.footer__col a, .footer__col span { color: rgba(237,243,255,.86); font-size: .92rem; }
.footer__col a:hover { color: var(--cream-on-dark); text-decoration: underline; }
.footer__reg { color: rgba(237,243,255,.55); }
.footer__bottom {
  max-width: 1320px; margin: 2.6rem auto 0; padding: 1.4rem var(--gutter) 0;
  border-top: 1px solid rgba(237,243,255,.15); display: flex; flex-wrap: wrap; gap: .6rem 1.4rem;
  justify-content: space-between; font-size: .8rem; color: rgba(237,243,255,.6);
}
.footer__bottom a { color: rgba(237,243,255,.85); text-decoration: underline; }

@media (min-width: 720px) { .footer__in { grid-template-columns: 1.3fr repeat(3, 1fr); } }

/* =============================================================
   18. Floating WhatsApp
   ============================================================= */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 400;
  width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 28px -10px rgba(1,41,136,.6);
  transition: transform .3s var(--ease-out);
}
.wa-float:hover { transform: scale(1.06); }

/* =============================================================
   19. Reduced motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
