/* =========================================================
   AB GROUP S.R.L. — hoja de estilos
   ========================================================= */
:root {
  --ink: #0b1729;
  --ink-2: #12233b;
  --ink-3: #1b3150;
  --paper: #f7f3ec;
  --paper-2: #efe8dc;
  --white: #fffdf9;
  --text: #17202e;
  --muted: #5d6676;
  --line: rgba(23, 32, 46, .12);
  --line-dark: rgba(255, 255, 255, .1);
  --gold: #c99b4a;
  --gold-2: #d9b46a;
  --gold-3: #f3e3bd;
  --bo-red: #d52b1e;
  --bo-yel: #f9e300;
  --bo-grn: #007934;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 40px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--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%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
::selection { background: var(--gold-2); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.ico { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.15em; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--gold-2); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

/* progreso de scroll */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--gold-3)); }

/* ---------- Botones ---------- */
.btn {
  --bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.35em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; line-height: 1.2;
  background: var(--bg); white-space: nowrap;
  transition: transform .35s var(--ease), background-color .3s, color .3s, box-shadow .35s var(--ease), border-color .3s;
}
.btn--lg { padding: 1em 1.6em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--gold { --bg: var(--gold-2); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(217, 180, 106, .7); }
.btn--gold:hover { --bg: var(--gold-3); box-shadow: 0 16px 40px -14px rgba(217, 180, 106, .9); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.28); }
.btn--ghost:hover { border-color: var(--gold-2); color: var(--gold-3); }
.btn--light { --bg: var(--white); color: var(--ink); }
.btn--light:hover { --bg: var(--gold-3); }
.btn:active { transform: scale(.97); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--white); transition: transform .5s var(--ease); }
.topbar { font-size: .78rem; color: rgba(255,255,255,.62); border-bottom: 1px solid var(--line-dark); transition: margin .4s var(--ease), opacity .3s; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 36px; }
.topbar__in > span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__right { gap: 18px !important; }
.topbar a:hover { color: var(--gold-3); }
.header.is-scrolled .topbar { margin-top: -37px; opacity: 0; }

.nav { transition: background-color .4s, backdrop-filter .4s, box-shadow .4s; }
.header.is-scrolled .nav { background: rgba(11, 23, 41, .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line-dark); }
.nav__in { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark { width: 44px; height: 44px; color: var(--gold-2); transition: transform .8s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-12deg) scale(1.05); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__txt strong { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; letter-spacing: -.01em; white-space: nowrap; }
.brand__txt strong span { color: var(--gold-2); font-size: .8em; }
.brand__txt small { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 3px; }
.nav__links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.nav__links a { position: relative; color: rgba(255,255,255,.8); transition: color .3s; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-2); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--white); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 50%; background: none; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: -1; background: var(--ink); display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 100px var(--pad) 40px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu:not([hidden]) { animation: menuIn .5s var(--ease); }
.mobile-menu a:not(.btn) { font-family: var(--serif); font-size: 2.3rem; line-height: 1.3; color: var(--white); }
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }
@keyframes menuIn { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--white); padding: 190px 0 70px; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* Fondo fotográfico en movimiento */
.hero__photo { position: absolute; top: -6%; bottom: -6%; left: 34%; right: -4%; will-change: transform; mask-image: linear-gradient(90deg, transparent 0%, #000 30%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 25%; transform-origin: 50% 35%; animation: kenburns 28s ease-in-out infinite alternate; filter: saturate(.9) contrast(1.08) brightness(.92); }
@keyframes kenburns {
  0%   { transform: scale(1.04) translate3d(0, 0, 0); }
  50%  { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
  100% { transform: scale(1.08) translate3d(1%, 1.5%, 0); }
}
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(11,23,41,.96) 0%, rgba(11,23,41,.85) 38%, rgba(11,23,41,.35) 62%, rgba(11,23,41,.1) 82%, rgba(11,23,41,.4) 100%),
  linear-gradient(0deg, rgba(11,23,41,1) 0%, rgba(11,23,41,.0) 38%),
  linear-gradient(180deg, rgba(11,23,41,.85) 0%, rgba(11,23,41,0) 26%),
  radial-gradient(ellipse 50% 60% at 72% 45%, rgba(201,155,74,.18), transparent 70%); }
.hero__sweep { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(243,227,189,.13) 50%, transparent 60%); background-size: 250% 100%; mix-blend-mode: screen; animation: sweep 9s ease-in-out infinite; }
@keyframes sweep { 0% { background-position: 130% 0; } 60%, 100% { background-position: -30% 0; } }
.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; }
.grid-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse 45% 60% at 18% 45%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 45% 60% at 18% 45%, #000 10%, transparent 70%); opacity: .6; }

.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-3); padding: 8px 14px; border: 1px solid rgba(217,180,106,.3); border-radius: 999px; background: rgba(217,180,106,.06); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 0 rgba(217,180,106,.7); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(217,180,106,0); } 100% { box-shadow: 0 0 0 0 rgba(217,180,106,0); } }

.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6.2vw, 5.3rem); line-height: 1.02; letter-spacing: -.025em; margin: 28px 0 28px; font-variation-settings: "opsz" 144; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-loaded .hero__title .line > span { transform: none; }
.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.is-loaded .hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.is-loaded .hero__title .line:nth-child(4) > span { transition-delay: .24s; }

.rotator { position: relative; display: inline-grid; font-style: italic; color: var(--gold-2); font-weight: 300; }
.rotator b { grid-area: 1 / 1; font-weight: inherit; opacity: 0; transform: translateY(40%); filter: blur(6px); transition: opacity .6s var(--ease), transform .8s var(--ease), filter .6s; white-space: nowrap; }
.rotator b.is-on { opacity: 1; transform: none; filter: none; }
.rotator b.is-out { opacity: 0; transform: translateY(-40%); filter: blur(6px); }

.hero__lead { max-width: 540px; font-size: 1.1rem; color: rgba(255,255,255,.72); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__visual { position: relative; min-height: 440px; }
.float-card { position: absolute; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: rgba(11,23,41,.55); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 24px 50px -24px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.08); line-height: 1.25; }
.float-card.is-in { animation: bob 7s ease-in-out infinite; }
.float-card small { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.float-card strong { font-family: var(--serif); font-weight: 500; font-size: 1.08rem; }
.float-card strong em { color: var(--gold-2); font-style: normal; }
.float-card__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gold-2); color: var(--ink); font-size: 1.25rem; }
.float-card__big { font-family: var(--serif); font-size: 2.3rem; font-weight: 300; color: var(--gold-2); line-height: 1; }
.float-card--a { top: 60%; right: -2%; }
.float-card--b { top: 26%; left: 0; flex-direction: column; align-items: flex-start; gap: 6px; animation-delay: -2.3s !important; }
.float-card--c { bottom: -6%; left: 14%; animation-delay: -4.6s !important; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.live { display: inline-flex; align-items: center; gap: 8px; color: #9fe0b5; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; animation: blink 1.8s infinite; }
@keyframes blink { 50% { opacity: .35; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 90px 0 0; border-top: 1px solid var(--line-dark); }
.stat { padding: 28px 24px 0 0; display: flex; flex-direction: column-reverse; gap: 4px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.stat dt { font-size: .82rem; color: rgba(255,255,255,.55); letter-spacing: .02em; }
.stat dd { margin: 0; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; color: var(--white); font-weight: 300; }
.stat__txt { color: var(--gold-2) !important; font-style: italic; }

/* ---------- Marquee ---------- */
.marquee { background: var(--gold-2); color: var(--ink); overflow: hidden; padding: 18px 0; border-block: 1px solid rgba(0,0,0,.08); }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 38s linear infinite; font-family: var(--serif); font-size: 1.35rem; font-style: italic; white-space: nowrap; }
.marquee__track i { font-style: normal; font-size: .9rem; align-self: center; opacity: .6; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.kicker { font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.08; letter-spacing: -.02em; max-width: 18ch; font-variation-settings: "opsz" 144; }
.h2 em, .about__statement strong, .cta-band em { font-style: italic; color: var(--gold); font-weight: 400; }
.sec-head { margin-bottom: 60px; }
.sec-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.sec-head__aside { max-width: 380px; color: var(--muted); }

/* about */
.about { background: var(--white); }
.about__statement { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.22; letter-spacing: -.015em; max-width: 26ch; }
.about__statement strong { font-weight: 400; }
.split-words .w { opacity: .14; transition: opacity .5s; }
.split-words .w.is-lit { opacity: 1; }

/* why */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { position: relative; padding: 40px 32px 36px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.why-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, var(--ink-2), var(--ink)); opacity: 0; transition: opacity .5s var(--ease); z-index: 0; }
.why-card > * { position: relative; z-index: 1; transition: color .4s; }
.why-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(11,23,41,.45); border-color: transparent; }
.why-card:hover::before { opacity: 1; }
.why-card:hover h3 { color: var(--white); }
.why-card:hover p { color: rgba(255,255,255,.7); }
.why-card__n { font-family: var(--serif); font-style: italic; font-size: 3.2rem; line-height: 1; color: var(--gold-2); display: block; margin-bottom: 40px; }
.why-card h3 { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 12px; }
.why-card p { color: var(--muted); font-size: .97rem; }

/* services */
.services { background: var(--paper-2); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { padding: .6em 1.15em; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: .9rem; font-weight: 600; transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.chip sup { font-size: .68em; opacity: .55; margin-left: 2px; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; min-height: 270px;
  border-radius: var(--r); background: var(--white); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .45s var(--ease), border-color .3s;
}
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(217,180,106,.22), transparent 45%); opacity: 0; transition: opacity .4s; }
.svc:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -28px rgba(11,23,41,.4); border-color: rgba(201,155,74,.45); }
.svc:hover::before { opacity: 1; }
.svc__ico { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--paper); color: var(--ink); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; transition: background-color .4s, color .4s, transform .6s var(--ease); }
.svc:hover .svc__ico { background: var(--ink); color: var(--gold-2); transform: rotate(-8deg) scale(1.06); }
.svc h3 { font-family: var(--serif); font-size: 1.28rem; line-height: 1.2; margin-bottom: 10px; }
.svc p { color: var(--muted); font-size: .93rem; line-height: 1.55; }
.svc__go { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; color: var(--gold); }
.svc__go .ico { transition: transform .4s var(--ease); }
.svc:hover .svc__go .ico { transform: translateX(5px); }
.svc.is-hidden { display: none; }
.svc.is-entering { animation: svcIn .55s var(--ease) both; }
@keyframes svcIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }

/* nosotros */
.team { background: var(--white); }
.team__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.team__sticky { position: sticky; top: 120px; }
.team__sticky .h2 { margin-bottom: 24px; }
.team__sticky > p:not(.kicker) { color: var(--muted); max-width: 46ch; }
.team__sign { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--gold); }
.team__sign svg { width: 56px; height: 56px; flex: none; }
.team__sign strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.35rem; color: var(--ink); }
.team__sign small { color: var(--muted); font-size: .85rem; }
.team__pillars { display: flex; flex-direction: column; gap: 20px; }
.pillar { padding: 40px 38px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.pillar__tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.pillar h3 { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.2; margin-bottom: 14px; }
.pillar p { color: var(--muted); }
.pillar--dark { background: var(--ink); color: var(--white); border-color: transparent; position: relative; overflow: hidden; }
.pillar--dark::after { content: ""; position: absolute; width: 340px; height: 340px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(217,180,106,.25), transparent 70%); }
.pillar--dark p { color: rgba(255,255,255,.68); }
.pillar--dark .pillar__tag { color: var(--gold-2); }
.recursos { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 2px; }
.recursos li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-dark); font-weight: 500; transition: padding .4s var(--ease), color .3s; }
.recursos li:hover { padding-left: 10px; color: var(--gold-3); }
.recursos .ico { color: var(--gold-2); font-size: 1.2rem; }

/* método */
.method { background: var(--paper); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 28px; left: 28px; right: 28px; height: 1px; background: var(--line); }
.steps::after { content: ""; position: absolute; top: 28px; left: 28px; right: 28px; height: 1px; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.step { position: relative; padding-right: 28px; }
.step__n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--gold-2); font-family: var(--serif); font-size: 1.4rem; font-style: italic; margin-bottom: 28px; box-shadow: 0 0 0 8px var(--paper); }
.step h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .96rem; }

/* CTA */
.cta-band { background: var(--ink); color: var(--white); padding: clamp(70px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(217,180,106,.18), transparent 65%); }
.cta-band__in { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.02em; }
.cta-band em { color: var(--gold-2); }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* contacto */
.contact { background: var(--white); }
.contact__in { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.contact__info .h2 { margin-bottom: 40px; }
.office { padding: 24px 0; border-top: 1px solid var(--line); }
.office__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.office h3 { font-family: var(--serif); font-size: 1.35rem; }
.office ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted); }
.office li { display: flex; gap: 12px; align-items: flex-start; }
.office li .ico { margin-top: 5px; color: var(--gold); }
.office a { color: var(--text); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .3s; }
.office a:hover { border-color: var(--gold); }
.flag { width: 28px; height: 18px; border-radius: 3px; box-shadow: 0 0 0 1px var(--line); }
.flag--es { background: linear-gradient(#aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%); }
.flag--bo { background: linear-gradient(var(--bo-red) 0 33.33%, var(--bo-yel) 33.33% 66.66%, var(--bo-grn) 66.66%); }
.map { margin-top: 20px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--paper); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); transition: filter .5s; }
.map:hover iframe { filter: none; }

.form { position: sticky; top: 110px; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: var(--ink); color: var(--white); box-shadow: 0 40px 80px -40px rgba(11,23,41,.6); }
.form h3 { font-family: var(--serif); font-size: 2rem; }
.form__sub { color: rgba(255,255,255,.6); margin: 6px 0 28px; font-size: .95rem; }
.field { position: relative; margin-bottom: 14px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--white);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 14px;
  padding: 24px 16px 10px; transition: border-color .3s, background-color .3s; resize: vertical;
}
.field select { padding: 17px 16px; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold-2) 50%), linear-gradient(135deg, var(--gold-2) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-2); background-color: rgba(255,255,255,.08); }
.field label { position: absolute; left: 17px; top: 17px; color: rgba(255,255,255,.5); pointer-events: none; transition: transform .3s var(--ease), font-size .3s, color .3s; transform-origin: left top; }
.field label span { color: var(--gold-2); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.75); color: var(--gold-3); }
.field .is-invalid, .field input.is-invalid { border-color: #f87171; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: rgba(255,255,255,.65); margin: 6px 0 20px; cursor: pointer; }
.check input { accent-color: var(--gold-2); margin-top: 4px; }
.form__error { color: #fca5a5; font-size: .88rem; margin-bottom: 12px; }
.form__note { text-align: center; color: rgba(255,255,255,.45); font-size: .8rem; margin-top: 14px; }

/* footer */
.footer { background: var(--ink); color: rgba(255,255,255,.65); padding: 40px 0 30px; overflow: hidden; }
.footer__big { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 13vw, 12rem); line-height: .9; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(217,180,106,.35); white-space: nowrap; margin-bottom: 60px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-dark); }
.footer__brand { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--white); margin-bottom: 10px; }
.footer h4 { color: var(--gold-2); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; margin-bottom: 16px; }
.footer__grid a { display: block; padding: 3px 0; transition: color .3s, transform .3s var(--ease); }
.footer__grid a:hover { color: var(--white); transform: translateX(4px); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: .85rem; }
.footer__bottom a:hover { color: var(--gold-3); }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7); transition: transform .4s var(--ease); transform: scale(0); }
.wa-float.is-in { transform: scale(1); }
.wa-float:hover { transform: scale(1.08); }
.wa-float > svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.wa-float__bubble { position: absolute; right: 74px; bottom: 10px; white-space: nowrap; background: var(--white); color: var(--ink); font-size: .85rem; font-weight: 600; padding: 10px 14px; border-radius: 14px 14px 4px 14px; box-shadow: 0 12px 30px -12px rgba(0,0,0,.35); opacity: 0; transform: translateX(10px); transition: opacity .4s, transform .5s var(--ease); pointer-events: none; }
.wa-float.show-bubble .wa-float__bubble, .wa-float:hover .wa-float__bubble { opacity: 1; transform: none; }

/* modal */
.modal { border: 0; padding: 38px 34px 34px; border-radius: var(--r-lg); width: min(440px, calc(100% - 32px)); background: var(--ink); color: var(--white); box-shadow: 0 40px 100px -20px rgba(0,0,0,.6); }
.modal[open] { animation: modalIn .5s var(--ease); }
.modal::backdrop { background: rgba(11,23,41,.55); backdrop-filter: blur(6px); }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal h3 { font-family: var(--serif); font-size: 1.8rem; margin-bottom: 6px; }
.modal p { color: rgba(255,255,255,.62); margin-bottom: 24px; }
.modal__close-form { position: absolute; top: 14px; right: 14px; margin: 0; }
.modal__x { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-dark); background: none; font-size: 1.4rem; line-height: 1; color: var(--white); }
.modal__x:hover { border-color: var(--gold-2); }

/* ---------- Revelado al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 921px) {
  .mobile-menu { display: none !important; }
}
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .nav__links { gap: 22px; }
}
@media (max-width: 920px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .hero { padding-top: 150px; }
  .hero__in { grid-template-columns: 1fr; gap: 50px; }
  .hero__visual { min-height: 300px; }
  .hero__photo { left: -4%; mask-image: none; -webkit-mask-image: none; }
  .hero__photo img { object-position: 50% 15%; }
  .hero__shade { background: linear-gradient(180deg, rgba(11,23,41,.9) 0%, rgba(11,23,41,.7) 45%, rgba(11,23,41,.35) 70%, rgba(11,23,41,1) 100%); }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 60px; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .why__grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .team__in, .contact__in { grid-template-columns: 1fr; gap: 50px; }
  .team__sticky, .form { position: static; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps::before, .steps::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .topbar__in > span:first-child { display: none; }
  .topbar__in { justify-content: flex-end; }
  .hero__actions .btn { width: 100%; }
  .svc-grid, .steps, .footer__grid { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .float-card { padding: 11px 14px; }
  .float-card--c { right: 0; }
  .pillar { padding: 30px 24px; }
  .cta-band__actions .btn { flex: 1; }
  .wa-float__bubble { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
  .hero__photo img, .hero__sweep { animation: none; }
  .split-words .w { opacity: 1; }
  .marquee__track { animation: none; }
}
.footer__credit { font-size: .75rem; opacity: .7; } .footer__credit a { text-decoration: underline; }

/* ---------- Opiniones (Facebook) ---------- */
.reviews { background: var(--paper-2); position: relative; overflow: hidden; }
.reviews::before { content: "“"; position: absolute; top: .02em; left: 2%; font-family: var(--serif); font-size: clamp(16rem, 34vw, 32rem); line-height: 1; color: rgba(201,155,74,.12); pointer-events: none; }
.reviews__in { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 500px); gap: 70px; align-items: start; }
.reviews__lead { color: var(--muted); max-width: 46ch; margin-top: 22px; }
.fb-badge { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; padding: 12px 20px 12px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); line-height: 1.25; }
.fb-badge small { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.fb-badge strong { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; }
.fb-badge__logo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #1877f2; color: #fff; flex: none; }
.fb-badge__logo svg { width: 22px; height: 22px; }
.reviews__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn--dark { --bg: var(--ink); color: var(--white); }
.btn--dark:hover { --bg: var(--ink-3); }
.btn--line { color: var(--ink); border-color: rgba(23,32,46,.25); }
.btn--line:hover { border-color: var(--ink); }
.fb-posts { display: grid; gap: 16px; margin-top: 36px; }
.fb-posts:empty { display: none; }
.fb-posts iframe { width: 100%; border: 0; border-radius: var(--r); background: var(--white); box-shadow: 0 20px 40px -28px rgba(11,23,41,.4); }
.fb-frame { position: sticky; top: 110px; min-height: 620px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: 0 40px 80px -45px rgba(11,23,41,.45); overflow: hidden; display: grid; place-items: center; }
.fb-frame iframe { display: block; width: 100%; height: 620px; border: 0; opacity: 0; transition: opacity .6s var(--ease); }
.fb-frame iframe.is-ready { opacity: 1; }
.fb-frame__placeholder { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; color: var(--muted); padding: 30px; }
.fb-frame__placeholder a { font-weight: 700; color: #1877f2; }
.fb-frame.is-loaded .fb-frame__placeholder { display: none; }
@media (max-width: 920px) {
  .reviews__in { grid-template-columns: 1fr; gap: 44px; }
  .fb-frame { position: static; width: 100%; max-width: 500px; }
}

/* ---------- Asistente "¿Qué trámite necesito?" ---------- */
.hero__hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-size: .92rem; color: rgba(255,255,255,.7); border-bottom: 1px solid rgba(217,180,106,.35); padding-bottom: 4px; transition: color .3s, border-color .3s; }
.hero__hint strong { color: var(--gold-2); font-weight: 600; }
.hero__hint .ico { color: var(--gold-2); transition: transform .4s var(--ease); }
.hero__hint:hover { color: var(--white); border-color: var(--gold-2); }
.hero__hint:hover .ico { transform: translateX(4px); }

.wizard-sec { background: var(--paper); }
.wizard-sec__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.wizard-sec__lead { color: var(--muted); margin-top: 22px; max-width: 46ch; }
.wizard-sec__points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.wizard-sec__points li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.wizard-sec__points span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-family: var(--serif); font-style: italic; flex: none; }

.wizard { position: relative; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-lg); background: linear-gradient(160deg, var(--ink-2), var(--ink)); color: var(--white); box-shadow: 0 50px 90px -45px rgba(11,23,41,.7); overflow: hidden; isolation: isolate; min-height: 520px; display: flex; flex-direction: column; }
.wizard::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(217,180,106,.2), transparent 70%); z-index: -1; }
.wizard__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; }
.wizard__title { color: var(--gold-2); font-weight: 700; }
.wizard__step { color: rgba(255,255,255,.55); white-space: nowrap; }
.wizard__bar { height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); margin: 14px 0 30px; overflow: hidden; }
.wizard__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-3)); transform-origin: left; transform: scaleX(0); transition: transform .6s var(--ease); }
.wizard__body { flex: 1; display: flex; flex-direction: column; }
.wizard__body.is-entering { animation: wzIn .5s var(--ease) both; }
@keyframes wzIn { from { opacity: 0; transform: translateX(24px); } }

.wz-q { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; margin-bottom: 22px; outline: none; }
.wz-opts { display: grid; gap: 10px; }
.wz-opt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); color: var(--white); font-size: .97rem; font-weight: 500; line-height: 1.35; transition: background-color .3s, border-color .3s, transform .35s var(--ease); }
.wz-opt:hover, .wz-opt:focus-visible { background: rgba(217,180,106,.1); border-color: var(--gold-2); transform: translateX(4px); }
.wz-opt > span:not(.wz-opt__dot) { flex: 1; }
.wz-opt__ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(217,180,106,.14); color: var(--gold-2); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wz-opt__dot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--gold-2); margin: 0 4px; flex: none; transition: background-color .3s; }
.wz-opt:hover .wz-opt__dot { background: var(--gold-2); }
.wz-opt__go { color: var(--gold-2); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .35s var(--ease); }
.wz-opt:hover .wz-opt__go, .wz-opt:focus-visible .wz-opt__go { opacity: 1; transform: none; }
.wz-back { align-self: flex-start; margin-top: 22px; padding: 6px 0; background: none; border: 0; color: rgba(255,255,255,.6); font-size: .9rem; font-weight: 600; transition: color .3s; }
.wz-back:hover { color: var(--gold-3); }

.wz-result { display: flex; flex-direction: column; }
.wz-result__eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #86efac; margin-bottom: 10px; }
.wz-result.is-urgent .wz-result__eyebrow { color: #fca5a5; }
.wz-result__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; color: var(--gold-2); outline: none; }
.wz-result__text { color: rgba(255,255,255,.78); margin-top: 12px; }
.wz-result__note { margin-top: 14px; padding: 14px 16px; border-left: 2px solid var(--gold-2); background: rgba(217,180,106,.08); border-radius: 0 12px 12px 0; color: rgba(255,255,255,.85); font-size: .94rem; }
.wz-result__alert { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: rgba(248,113,113,.12); border: 1px solid rgba(248,113,113,.35); color: #fecaca; font-size: .94rem; }
.wz-result__alert a { color: #fff; font-weight: 700; text-decoration: underline; }
.wz-summary { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wz-summary li { font-size: .8rem; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.85); }
.wz-summary li span { color: rgba(255,255,255,.5); margin-right: 6px; }
.wz-summary li span::after { content: ":"; }
.wz-actions { display: grid; gap: 10px; margin-top: 24px; }
.wz-disclaimer { margin-top: 14px; font-size: .78rem; color: rgba(255,255,255,.45); text-align: center; }
.wz-restart { align-self: center; }

@media (max-width: 920px) {
  .wizard-sec__in { grid-template-columns: 1fr; gap: 44px; }
  .wizard { min-height: 0; }
}
@media (max-width: 600px) {
  .wz-opt { padding: 13px 14px; font-size: .94rem; }
  .wizard__title { letter-spacing: .1em; }
}
