/* MyC Abogados — diseño dinámico enfocado en regularización ante Bienes Nacionales.
   Colores de marca (azul marino y dorado) en el bloque :root. */
:root {
  --navy: #0b1d44;
  --navy-2: #13306a;
  --navy-deep: #060f26;
  --gold: #c9953d;
  --gold-soft: #ecd29b;
  --gold-deep: #8c5f17;
  --paper: #f4f1ea;
  --paper-2: #fbf9f4;
  --white: #ffffff;
  --ink: #0f1a33;
  --muted: #56627a;
  --line: #e2dccd;
  --on-navy: #d6def0;
  --ok: #2fbf71;
  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper-2); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.gut { padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
.in { max-width: 1180px; margin: 0 auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--navy-deep); padding: 10px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  font-family: var(--font-body); font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn.big { min-height: 58px; padding: 0 30px; font-size: 16px; }
.btn.sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn.gold { background: var(--gold); color: var(--navy-deep); box-shadow: 0 10px 30px -10px rgba(201, 149, 61, .8); }
.btn.gold:hover { background: var(--gold-soft); }
.btn.ghost { border-color: rgba(236, 210, 155, .55); color: #fff; background: rgba(255,255,255,.04); }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); }
.btn.navy { background: var(--navy); color: #fff; }
.btn.navy:hover { background: var(--navy-2); }
.btn.line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn.line:hover { background: var(--navy); color: #fff; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.eyebrow { font-weight: 800; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.on-navy .eyebrow { color: var(--gold-soft); }

/* Header fijo: transparente sobre el inicio, sólido al bajar */
.top { position: fixed; inset: 0 0 auto 0; z-index: 40; transition: background .3s, box-shadow .3s, padding .3s; }
.top.solid { background: rgba(6, 15, 38, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 8px 30px -12px rgba(0,0,0,.5); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; transition: padding .3s; }
.top.solid .bar { padding-block: 10px; }
.logo { display: block; line-height: 0; }
.logo svg { height: 50px; width: auto; display: block; transition: height .3s; }
.top.solid .logo svg { height: 42px; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { color: var(--on-navy); text-decoration: none; font-weight: 600; font-size: 15px; position: relative; }
nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--gold); transition: right .25s var(--ease); }
nav a:not(.btn):hover::after, nav a.act::after { right: 0; }
nav a:hover, nav a.act { color: #fff; }
nav .btn { color: var(--navy-deep); }
.burger { display: none; width: 46px; height: 46px; border: 1px solid rgba(236,210,155,.4); border-radius: 12px; background: transparent; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* HERO */
.hero { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden; padding-block: 150px 110px; min-height: 100svh; display: flex; align-items: center; }
.hero > .in { width: 100%; position: relative; z-index: 2; }
.mesh { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.mesh i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: float 18s ease-in-out infinite alternate; }
.mesh i:nth-child(1) { width: 620px; height: 620px; background: #1b3d86; left: -160px; top: -160px; }
.mesh i:nth-child(2) { width: 520px; height: 520px; background: #8c5f17; right: -140px; bottom: -200px; opacity: .35; animation-delay: -6s; }
.mesh i:nth-child(3) { width: 420px; height: 420px; background: #13306a; right: 25%; top: 20%; animation-delay: -12s; opacity: .45; }
@keyframes float { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,40px) scale(1.1); } 100% { transform: translate(-40px,20px) scale(.95); } }
.grid-bg { position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(236,210,155,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(236,210,155,.07) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(236,210,155,.3); color: var(--gold-soft); font-size: 14px; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(47,191,113,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47,191,113,.6); } 100% { box-shadow: 0 0 0 12px rgba(47,191,113,0); } }
.hero h1 { font-size: clamp(44px, 7vw, 88px); line-height: 1; margin-block: 26px 26px; font-weight: 600; }
.hero h1 > span { display: block; }
.rot { display: inline-grid; color: var(--gold-soft); font-style: italic; font-weight: 500; }
.rot b { grid-area: 1 / 1; font-weight: inherit; opacity: 0; transform: translateY(40%); transition: opacity .5s var(--ease), transform .6s var(--ease); white-space: nowrap; }
.rot b.on { opacity: 1; transform: none; }
.rot b.out { opacity: 0; transform: translateY(-40%); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--on-navy); max-width: 52ch; }
.lead strong { color: #fff; font-weight: 700; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--on-navy); font-size: 15px; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23060f26' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat; }

/* Tarjeta animada del trámite */
.hero-card { position: relative; overflow: hidden; background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); border: 1px solid rgba(236,210,155,.28); border-radius: 22px; padding: 28px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.hc-wm { position: absolute; right: -40px; bottom: -40px; height: 240px; width: auto; opacity: .07; pointer-events: none; }
.hc-head { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; position: relative; }
.hc-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--gold); display: grid; place-items: center; flex: none; }
.hc-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--navy-deep); stroke-width: 2; stroke-linejoin: round; }
.hc-k { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; }
.hc-t { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: #fff; line-height: 1.2; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; position: relative; }
.checks li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); color: rgba(214,222,240,.65); font-size: 15.5px; font-weight: 600; transition: background .4s, color .4s, border-color .4s; }
.ck { width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(236,210,155,.4); flex: none; position: relative; transition: background .35s, border-color .35s, transform .35s var(--ease); }
.ck::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--navy-deep); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease) .1s; }
.checks li.done { color: #fff; background: rgba(201,149,61,.12); border-color: rgba(201,149,61,.35); }
.checks li.done .ck { background: var(--gold); border-color: var(--gold); transform: scale(1.08); }
.checks li.done .ck::after { transform: rotate(45deg) scale(1); }
.hc-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.1); margin-top: 22px; overflow: hidden; position: relative; }
.hc-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); border-radius: 6px; transition: width .7s var(--ease); }
.hc-foot { margin-top: 12px; font-size: 14.5px; color: var(--on-navy); position: relative; min-height: 1.6em; }

/* Cinta en movimiento */
.ribbon { background: var(--gold); color: var(--navy-deep); overflow: hidden; padding-block: 16px; border-block: 1px solid var(--gold-deep); }
.track { display: flex; gap: 28px; width: max-content; animation: marquee 38s linear infinite; font-weight: 800; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; align-items: center; }
.track i { font-style: normal; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Secciones */
section { padding-block: 100px; }
.head { max-width: 62ch; display: grid; gap: 14px; margin-bottom: 48px; }
.head h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; color: var(--navy); }
.head h2 em { font-style: italic; color: var(--gold-deep); font-weight: 500; }
.head p { color: var(--muted); font-size: 18px; }
.head p a { color: var(--navy); font-weight: 700; }
.on-navy .head h2 { color: #fff; }
.on-navy .head h2 em { color: var(--gold-soft); }
.on-navy .head p { color: var(--on-navy); }

/* Ventajas */
.vgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.v { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 30px 26px 30px; display: grid; gap: 12px; align-content: start; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.v::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.v:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(11,29,68,.35); border-color: transparent; }
.v:hover::before { transform: scaleX(1); }
.vn { position: absolute; right: 20px; top: 14px; font-family: var(--font-display); font-size: 54px; line-height: 1; color: rgba(11,29,68,.06); font-weight: 700; }
.v svg { width: 46px; height: 46px; padding: 10px; border-radius: 14px; background: var(--paper); fill: none; stroke: var(--gold-deep); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.v h3 { font-size: 25px; line-height: 1.12; color: var(--navy); }
.v p { color: var(--muted); font-size: 16.5px; }
.v.feat { background: var(--navy); border-color: var(--navy); }
.v.feat h3 { color: #fff; }
.v.feat p { color: var(--on-navy); }
.v.feat .vn { color: rgba(255,255,255,.07); }
.v.feat svg { background: var(--gold); stroke: var(--navy-deep); }
.vlink { color: var(--gold-soft); font-weight: 700; text-decoration: none; font-size: 15.5px; margin-top: 4px; }
.vlink:hover { text-decoration: underline; }


/* Tarjetas "Por qué con nosotros": el azul sigue al mouse */
.v, .v h3, .v p, .v svg, .v .vn { transition: transform .35s var(--ease), box-shadow .35s, border-color .35s, background .35s var(--ease), color .35s, stroke .35s; }
.vgrid:hover .v.feat:not(:hover) { background: var(--white); border-color: var(--line); }
.vgrid:hover .v.feat:not(:hover) h3 { color: var(--navy); }
.vgrid:hover .v.feat:not(:hover) p { color: var(--muted); }
.vgrid:hover .v.feat:not(:hover) .vn { color: rgba(11,29,68,.06); }
.vgrid:hover .v.feat:not(:hover) svg { background: var(--paper); stroke: var(--gold-deep); }
.vgrid:hover .v.feat:not(:hover) .vlink { color: var(--gold-deep); }
.v:hover { background: var(--navy); border-color: var(--navy); }
.v:hover h3 { color: #fff; }
.v:hover p { color: var(--on-navy); }
.v:hover .vn { color: rgba(255,255,255,.07); }
.v:hover svg { background: var(--gold); stroke: var(--navy-deep); }

/* Selector de situación */
.situ { background: var(--paper); }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 22px; }
.tabs button { font: inherit; font-weight: 700; font-size: 15.5px; border: 0; background: transparent; color: var(--muted); padding: 12px 22px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.tabs button:hover { color: var(--navy); }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 36px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; }
.panel.on { animation: panelIn .45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.panel h3 { font-size: clamp(26px, 3vw, 34px); color: var(--navy); margin-bottom: 10px; }
.panel p { color: var(--muted); font-size: 18px; max-width: 60ch; }
#p-rechazo { background: var(--navy); border-color: var(--navy); }
#p-rechazo h3 { color: #fff; }
#p-rechazo p { color: var(--on-navy); }

/* Proceso (línea de tiempo que se llena al bajar) */
.proc { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; --p: 0; }
.tl::before { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: rgba(236,210,155,.2); }
.tl::after { content: ""; position: absolute; left: 28px; top: 27px; height: 2px; width: calc((100% - 56px) * var(--p)); background: var(--gold); transition: width .2s linear; }
.tl li { position: relative; z-index: 1; display: grid; gap: 18px; align-content: start; }
.tn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); border: 2px solid rgba(236,210,155,.4); font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--gold-soft); transition: background .4s, color .4s, border-color .4s, transform .4s var(--ease); }
.tl li.lit .tn { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); transform: scale(1.08); }
.tl h3 { font-size: 23px; line-height: 1.15; margin-bottom: 8px; }
.tl p { color: var(--on-navy); font-size: 16px; }

/* CTA grande */
.bigcta { padding-block: 90px; background: var(--paper-2); }
.bc { text-align: center; background: radial-gradient(circle at 20% 0%, #fff6e2, transparent 50%), linear-gradient(135deg, #f7ecd3, #ecd29b); border-radius: 30px; padding: 70px 24px; display: grid; justify-items: center; gap: 14px; border: 1px solid #e3c98e; position: relative; overflow: hidden; }
.bc h2 { font-size: clamp(48px, 8vw, 104px); line-height: .95; color: var(--navy); }
.bc h2 em { font-style: italic; color: var(--gold-deep); }
.bc p { font-size: 19px; color: #4a3a1a; }
.bc .cta { justify-content: center; margin-top: 18px; }

/* Otras áreas (secundario) */
.otras { padding-block: 80px; }
.otras .head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.ogrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.o { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: var(--white); transition: border-color .25s, transform .25s var(--ease); }
.o:hover { border-color: var(--navy); transform: translateY(-3px); }
.o h3 { font-size: 21px; color: var(--navy); margin-bottom: 6px; }
.o p { color: var(--muted); font-size: 15.5px; }

/* Preguntas */
.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.acc { display: grid; gap: 12px; }
.acc details { border: 1px solid var(--line); border-radius: 16px; background: var(--paper-2); transition: background .25s, border-color .25s; }
.acc details[open] { background: var(--white); border-color: var(--gold); box-shadow: 0 20px 40px -30px rgba(11,29,68,.4); }
.acc summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 18px; color: var(--navy); position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-size: 22px; font-weight: 500; color: var(--gold-deep); transition: transform .3s var(--ease), background .3s; }
.acc details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--gold); color: var(--navy-deep); }
.acc details p { padding: 0 22px 22px; color: var(--muted); font-size: 17px; }

/* Agenda */
.agenda { background: var(--paper); }
.cal { background: var(--white); border: 1px solid var(--line); border-radius: 22px; min-height: 160px; overflow: hidden; }
.cal .calendly-inline-widget { min-width: 320px; height: 720px; }
.cal-off { padding: 34px; display: grid; gap: 4px; max-width: 72ch; }
.cal-off p { color: var(--muted); font-size: 18px; }
.cal-off .cta { margin-top: 20px; }

/* Contacto */
.contact { background: var(--navy-deep); color: #fff; }
.cgrid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.info { display: grid; gap: 28px; }
.info h3 { font-family: var(--font-body); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); font-weight: 800; margin-bottom: 6px; }
.info p, .info a.val { font-size: 19px; color: #fff; overflow-wrap: anywhere; }
.info a.val { text-decoration: none; border-bottom: 1px solid rgba(236,210,155,.5); }
.info a.val:hover { border-color: var(--gold-soft); }
.info .small { font-size: 15px; margin-top: 8px; }
.mailtxt { user-select: all; }
.formcard { background: var(--white); color: var(--ink); border-radius: 22px; padding: 34px; display: grid; gap: 16px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.5); }
.formcard h3 { font-size: 30px; color: var(--navy); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: grid; gap: 6px; min-width: 0; }
.f label { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.f input, .f select, .f textarea { font: inherit; color: var(--ink); background: var(--paper-2); width: 100%; min-width: 0; min-height: 52px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #d6cfbf; transition: border-color .2s, background .2s; }
.f textarea { min-height: 130px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--navy); background: #fff; outline: 2px solid var(--navy); outline-offset: 0; }
.f.err input, .f.err textarea { border-color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: 14px; color: var(--muted); }
.msg { padding: 14px 16px; border-radius: 12px; font-size: 16px; }
.msg.bad { background: #fdecea; color: #7a1a14; }
.msg.good { background: #e8f4ec; color: #14532d; }
.msg.note { background: var(--paper); color: var(--ink); display: grid; gap: 10px; }
.msg pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--font-body); font-size: 15px; }
.mapbox { margin-top: 56px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(236,210,155,.3); line-height: 0; }
.mapbox iframe { width: 100%; height: 380px; border: 0; display: block; filter: saturate(.85); }

footer { background: #040a1b; color: #a3afc9; padding-block: 46px 110px; font-size: 14.5px; }
footer .in { display: grid; gap: 22px; }
.fbrand { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 28px; }
footer .logo svg { height: 46px; }
footer .disc { max-width: 80ch; line-height: 1.55; border-top: 1px solid rgba(236,210,155,.18); padding-top: 20px; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); width: 62px; height: 62px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0,0,0,.3); z-index: 50; text-decoration: none; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: wa 2.4s ease-out infinite; z-index: -1; }
@keyframes wa { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-float svg { width: 34px; height: 34px; }
.wa-tip { position: absolute; right: 74px; white-space: nowrap; background: #fff; color: var(--navy); font-weight: 700; font-size: 14.5px; padding: 9px 14px; border-radius: 12px; box-shadow: 0 10px 24px rgba(0,0,0,.18); opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.wa-float:hover .wa-tip, .wa-float.hint .wa-tip { opacity: 1; transform: none; }

/* Aparición al bajar */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .55s var(--ease); }
.js .reveal.d1 { transition-delay: .06s; } .js .reveal.d2 { transition-delay: .12s; } .js .reveal.d3 { transition-delay: .18s; } .js .reveal.d4 { transition-delay: .24s; }
.js .reveal.seen { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-card { max-width: 520px; }
  .vgrid, .ogrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-left: 0; }
  .tl::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .tl::after { left: 27px; top: 28px; width: 2px; height: calc((100% - 56px) * var(--p)); transition: height .2s linear; }
  .tl li { grid-template-columns: 56px minmax(0, 1fr); gap: 20px; }
  .faq-grid, .cgrid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 860px) {
  section { padding-block: 72px; }
  .hero { padding-block: 120px 80px; min-height: 0; }
  .burger { display: flex; }
  nav { position: fixed; inset: 0; top: 0; z-index: -1; background: rgba(6,15,38,.98); flex-direction: column; justify-content: center; gap: 26px; opacity: 0; pointer-events: none; transition: opacity .3s; }
  nav a { font-size: 22px; font-family: var(--font-display); }
  nav .btn { font-family: var(--font-body); font-size: 17px; min-height: 54px; padding: 0 30px; }
  body.menu-open nav { opacity: 1; pointer-events: auto; }
  body.menu-open { overflow: hidden; }
  .panel { grid-template-columns: minmax(0, 1fr); padding: 28px 24px; }
  .tabs { border-radius: 20px; display: grid; width: 100%; }
  .tabs button { text-align: left; border-radius: 14px; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .vgrid, .ogrid, .row { grid-template-columns: minmax(0, 1fr); }
  .formcard { padding: 24px 18px; }
  .cta .btn { width: 100%; }
  .logo svg { height: 42px; }
  .hero-card { padding: 22px; }
  .bc { padding: 54px 18px; border-radius: 22px; }
  .mapbox iframe { height: 280px; }
  .cal .calendly-inline-widget { height: 1000px; }
  .wa-tip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.panel[hidden] { display: none; }
