/* ==========================================================
   Torre 7 Soluciones Integrales — versión moderna
   Referencias: lovable.dev y plantillas de consultoría de Envato
   ========================================================== */

:root {
  --bg: #ffffff;
  --soft: #ffffff;
  --ink: #141414;
  --text: #3a3a3a;
  --muted: #5c5c5c;          /* 6:1 sobre blanco */
  --line: #e6e6e6;
  --dark: #141414;
  --dark-2: #1e1e1e;
  --yellow: #f7b100;
  --amber: #f7b100;
  --orange: #f7b100;
  --green: #003721;
  --green-deep: #003721;
  --grad: linear-gradient(120deg, #f7b100 0%, #f7b100 45%, #003721 100%);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 3vw, 32px);
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 18px 40px -20px rgba(0,0,0,.25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 19px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: clamp(80px, 9vw, 128px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

/* ---------- tipografía ---------- */
.h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
.h2--light { color: #fff; }
.lead { font-size: clamp(19px, 1.3vw,21px); color: var(--muted); max-width: 620px; margin-top: 14px; }
.lead--light { color: rgba(255,255,255,.72); }
.head { margin-bottom: clamp(36px, 5vw, 56px); }
.head--center { text-align: center; }
.head--center .h2, .head--center .lead { margin-inline: auto; }
.kicker { font-size: 15.5px; font-weight: 600; color: var(--yellow); margin-bottom: 14px; }
.note { font-size: 15px; color: var(--muted); margin-top: 18px; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--font); text-decoration: none; padding: 14px 20px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn--sm { padding: 9px 14px; font-size: 16.5px; border-radius: 8px; }
.btn--block { width: 100%; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2b2b2b; }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: #cccccc; }
.btn--grad { background: var(--grad); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(247, 177, 0, .7); }
.btn--grad:hover { box-shadow: 0 14px 28px -12px rgba(247, 177, 0, .85); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; padding-top: 0; transition: padding .35s var(--ease); }
.header .header__inner { background: rgba(255,255,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: max-width .45s var(--ease), border-radius .45s var(--ease), box-shadow .35s, height .35s; max-width: 1200px; }
.header.is-scrolled { padding-top: 10px; }
.header.is-scrolled .header__inner { max-width: 1040px; border-radius: 16px; height: 58px; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 14px 34px -16px rgba(0,0,0,.3); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 66px; }
.logo img { height: 36px; width: auto; }
.nav { display: flex; gap: 24px; font-size: 17px; font-weight: 500; margin-right: auto; }
.nav a:not(.btn) { text-decoration: none; color: var(--text); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav__cta { display: none; }
.header__actions { display: flex; gap: 8px; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; padding: 13px 11px; margin-left: auto; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s; }
.burger span + span { margin-top: 6px; }

/* ---------- degradado tipo malla ---------- */
.mesh { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.mesh i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .85; animation: drift 18s ease-in-out infinite alternate; }
.mesh i:nth-child(1) { width: 52vw; height: 52vw; left: -10vw; bottom: -30vw; background: #f7b100; }
.mesh i:nth-child(2) { width: 46vw; height: 46vw; left: 26vw; bottom: -32vw; background: #f7b100; animation-duration: 22s; }
.mesh i:nth-child(3) { width: 48vw; height: 48vw; right: -12vw; bottom: -28vw; background: #003721; animation-duration: 26s; }
.mesh i:nth-child(4) { width: 30vw; height: 30vw; left: 40vw; bottom: -6vw; background: #f7b100; opacity: .7; animation-duration: 20s; }
@keyframes drift { to { transform: translate(4vw, -3vw) scale(1.08); } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; min-height: calc(100svh - 66px); display: grid; align-items: center; padding-block: 72px 120px; background: linear-gradient(180deg, #fff 0%, #fff 30%, transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.85) 28%, rgba(255,255,255,0) 72%); pointer-events: none; }
.hero__inner { position: relative; z-index: 2; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 16px; font-weight: 500; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); margin-bottom: 26px; }
.pill__new { background: var(--ink); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 14.5px; font-weight: 600; }
.hero__title { font-size: clamp(40px, 6.6vw, 84px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin-bottom: 18px; }
.hero__lead { font-size: clamp(19px, 1.5vw,23px); color: var(--muted); max-width: 600px; margin: 0 auto 34px; }
.prompt { max-width: 680px; margin: 0 auto; background: #fff; border-radius: 22px; padding: 16px 16px 12px 20px; text-align: left; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 30px 60px -24px rgba(0,0,0,.35); border: 1px solid rgba(0,0,0,.06); }
.prompt textarea { width: 100%; border: 0; resize: none; font: 400 17px/1.5 var(--font); color: var(--ink); outline: none; background: transparent; min-height: 56px; }
.prompt textarea::placeholder { color: #5c5c5c; }
.prompt__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prompt__hint { font-size: 15.5px; color: var(--muted); }
.prompt__send { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.prompt__send:hover { transform: translateY(-2px); background: var(--orange); }
.suggest { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.suggest button { background: rgba(255,255,255,.8); border: 1px solid rgba(0,0,0,.08); border-radius: 999px; padding: 7px 14px; font-size: 16px; font-weight: 500; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.suggest button:hover { background: #fff; border-color: rgba(0,0,0,.2); }
.reco { max-width: 680px; margin: 18px auto 0; display: flex; align-items: center; gap: 16px; text-align: left; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); animation: pop .4s var(--ease); }
.reco[hidden] { display: none; }
.reco__ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: var(--ink); font-size: 21px; }
.reco small { font-size: 14.5px; color: var(--muted); font-weight: 600; }
.reco strong { display: block; color: var(--ink); font-size: 19px; }
.reco p { margin: 2px 0 0; font-size: 16.5px; color: var(--muted); }
.reco .btn { margin-left: auto; flex: none; }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } }

/* ---------- con quién ---------- */
.logos { padding-block: 36px; border-block: 1px solid var(--line); text-align: center; overflow: hidden; }
.logos > p { font-size: 16px; color: var(--muted); margin-bottom: 18px; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: slide 40s linear infinite; }
.marquee span { font-size: 23.5px; font-weight: 700; color: #6b6b6b; letter-spacing: -.02em; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- tarjetas con mini-interfaces ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ucard { background: var(--soft); border-radius: var(--r-xl); padding: 14px 14px 26px; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out, box-shadow .3s; will-change: transform; }
.ucard:hover { box-shadow: 0 30px 60px -34px rgba(0,0,0,.35); }
.ucard h3 { font-size: 21px; letter-spacing: -.02em; margin: 22px 12px 8px; }
.ucard p { font-size: 18px; color: var(--muted); margin: 0 12px; }
.ucard__ui { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; display: grid; place-items: center; padding: 22px; }
.ui-diag { background: radial-gradient(circle at 20% 20%, #ffffff, #f7b100 60%, #f7b100); }
.ui-plan { background: radial-gradient(circle at 80% 10%, #ffffff, #f7b100 60%, #f7b100); }
.ui-chart { background: radial-gradient(circle at 30% 80%, #ffffff, #003721 60%, #003721); }
.ui-win { width: 100%; background: #fff; border-radius: 12px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.35); padding: 12px 14px 14px; transition: transform .5s var(--ease); }
.ucard:hover .ui-win { transform: translateY(-6px) rotate(-1deg); }
.ui-top { display: flex; align-items: center; gap: 5px; margin-bottom: 12px; }
.ui-top i { width: 8px; height: 8px; border-radius: 50%; background: #e6e6e6; }
.ui-top span { margin-left: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.ui-row { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-top: 9px; }
.ui-row b { height: 8px; border-radius: 99px; background: #ffffff; position: relative; overflow: hidden; }
.ui-row b::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: var(--grad); }
.ui-grid { display: grid; grid-template-columns: 1.3fr 1fr; font-size: 14px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.ui-grid span { padding: 7px 9px; border-top: 1px solid var(--line); color: var(--text); }
.ui-grid span:nth-child(odd) { border-right: 1px solid var(--line); }
.ui-grid .h { border-top: 0; background: #ffffff; font-weight: 600; color: var(--ink); }
.ui-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 0 4px; border-bottom: 1px solid var(--line); }
.ui-bars b { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #003721, #003721); }
.ui-bars b:last-child { background: var(--grad); }

/* ---------- sección oscura ---------- */
.dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px circle at var(--mx, 70%) var(--my, 40%), rgba(247, 177, 0, .10), transparent 60%); pointer-events: none; }
.dark { background: var(--dark); color: #fff; padding-block: clamp(80px, 9vw, 128px); position: relative; overflow: hidden; border-radius: var(--r-xl); margin-inline: clamp(8px, 1.4vw, 16px); }
.dark__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.svc { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.12); }
.svc button { width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding: 14px 0; font-size: 18.5px; font-weight: 500; color: rgba(255,255,255,.62); cursor: pointer; position: relative; transition: color .2s; }
.svc button::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--grad); transition: width .4s var(--ease); }
.svc button:hover { color: #fff; }
.svc button[aria-selected="true"] { color: #fff; }
.svc button[aria-selected="true"]::after { width: 100%; }
.dark.is-auto .svc button[aria-selected="true"]::after { width: 0; animation: fillbar var(--dur, 3.8s) linear forwards; }
@keyframes fillbar { to { width: 100%; } }
.stage { position: relative; min-height: 460px; display: grid; place-items: center; }
.stage__glow { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,138,31,.45), rgba(31,174,91,.25) 45%, transparent 70%); filter: blur(30px); animation: pulse 6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.08); opacity: .8; } }
.stage__card { position: relative; z-index: 2; width: min(440px, 100%); background: rgba(20, 20, 20, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 28px; box-shadow: 0 0 0 1px rgba(255,255,255,.04) inset, 0 30px 80px -30px rgba(0,0,0,.8); transition: opacity .25s, transform .25s var(--ease); }
.stage__card.is-out { opacity: 0; transform: translateY(8px); }
.stage__card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .7; pointer-events: none; }
.stage__num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: var(--ink); font-weight: 800; font-size: 16.5px; margin-bottom: 18px; }
.stage__card h3 { color: #fff; font-size: 23.5px; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 10px; }
.stage__card > p { color: rgba(255,255,255,.72); font-size: 18px; }
.stage__label { font-size: 14.5px !important; font-weight: 600; color: var(--yellow) !important; text-transform: uppercase; letter-spacing: .08em; margin: 18px 0 10px !important; }
.stage__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.stage__card li { display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.06); border-radius: 10px; padding: 10px 12px; font-size: 17px; color: #fff; }
.stage__card li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); flex: none; }
.stage__note { margin: 14px 0 0 !important; font-size: 15.5px !important; color: var(--yellow) !important; }
.orbit { position: absolute; inset: 0; pointer-events: none; }
.orbit i { position: absolute; border: 1px dashed rgba(255,255,255,.12); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); animation: spin 50s linear infinite; }
.orbit i:nth-child(1) { width: 92%; aspect-ratio: 1; }
.orbit i:nth-child(2) { width: 70%; aspect-ratio: 1; animation-direction: reverse; animation-duration: 36s; }
.orbit i:nth-child(3) { width: 112%; aspect-ratio: 1; animation-duration: 70s; }
.orbit i::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 16px; }
.tile { position: relative; border-radius: var(--r-xl); overflow: hidden; text-decoration: none; isolation: isolate; }
.tile--big { grid-column: span 2; grid-row: span 2; }
.tile--txt { grid-row: span 2; padding: 26px; display: flex; flex-direction: column; }
.tile--photo { grid-column: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile--big::before, .tile--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.72)); }
.tile__body { position: absolute; left: 22px; right: 22px; bottom: 20px; color: #fff; }
.tile__body h3 { color: #fff; font-size: 23.5px; letter-spacing: -.02em; line-height: 1.2; margin: 10px 0 4px; }
.tile--big .tile__body h3 { font-size: clamp(26px, 3vw, 36px); }
.tile__body p { margin: 0; font-size: 17px; color: rgba(255,255,255,.88); }
.tile--amber { background: linear-gradient(160deg, #ffffff, #f7b100); }
.tile--mint { background: linear-gradient(160deg, #ffffff, #003721); }
.tile--txt h3 { font-size: 23.5px; letter-spacing: -.02em; line-height: 1.2; margin: 14px 0 16px; }
.tile--txt ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 17px; color: #2b2b2b; }
.tile--txt li { padding-left: 22px; position: relative; }
.tile--txt li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--ink); }
.tile__foot { margin: auto 0 0; padding-top: 14px; font-size: 15.5px; font-weight: 600; color: #003721; }
.tag { display: inline-block; align-self: flex-start; font-size: 14.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--ink); }
.tag--green { background: var(--green-deep); color: #fff; }
.tag--orange { background: var(--orange); color: var(--ink); }

/* ---------- cifras ---------- */
.stats-sec { background: var(--soft); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.nums { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; margin: 0; }
.nums div { border-top: 1px solid #e0e0e0; padding-top: 14px; }
.nums dt { font-size: 16px; color: var(--muted); font-weight: 500; }
.nums dd { margin: 4px 0 0; font-size: clamp(44px, 5vw, 64px); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--ink); }

/* ---------- membresías ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px 26px; }
.plan--pop { border: 0; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 2px solid transparent; box-shadow: 0 30px 60px -30px rgba(247, 177, 0, .45); }
.plan__badge { position: absolute; top: -13px; left: 26px; background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 28px; letter-spacing: -.03em; margin-bottom: 8px; }
.plan__for { color: var(--muted); font-size: 18px; min-height: 48px; }
.plan .btn { margin: 8px 0 22px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 18px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 4px; height: 8px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- método ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: var(--soft); border-radius: var(--r-lg); padding: 26px 22px; position: relative; }
.steps li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 30px; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 15.5px; z-index: 2; }
.steps__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: 18px; }
.steps li:nth-child(2) .steps__n { background: var(--orange); color: var(--ink); }
.steps li:nth-child(3) .steps__n { background: var(--yellow); color: var(--ink); }
.steps li:nth-child(4) .steps__n { background: var(--green-deep); }
.steps h3 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 8px; }
.steps p { font-size: 17px; color: var(--muted); margin: 0; }

/* ---------- preguntas ---------- */
.faq-sec { background: var(--soft); }
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__list { display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: var(--r-md); border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-weight: 600; transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* ---------- contacto ---------- */
.cta-card { position: relative; overflow: hidden; border-radius: 32px; background: #ffffff; isolation: isolate; }
.mesh--card { z-index: -1; }
.mesh--card i:nth-child(1) { width: 50%; height: 120%; left: -10%; bottom: -40%; }
.mesh--card i:nth-child(2) { width: 50%; height: 120%; left: 30%; bottom: -60%; }
.mesh--card i:nth-child(3) { width: 50%; height: 120%; right: -15%; bottom: -30%; }
.mesh--card i:nth-child(4) { width: 40%; height: 80%; left: 20%; top: -40%; bottom: auto; background: #fff; opacity: .9; }
.cta-card__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); padding: clamp(28px, 5vw, 64px); align-items: center; }
.cta-card .lead { color: #3a3a3a; }
.contact-data { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 8px; }
.contact-data li { display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.7); backdrop-filter: blur(8px); border-radius: 12px; padding: 10px 14px; font-size: 17px; max-width: 380px; }
.contact-data small { font-weight: 700; color: var(--ink); min-width: 84px; font-size: 15.5px; }
.contact-data .pending { color: #003721; font-style: italic; }
.form { background: #fff; border-radius: 22px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: 400 15px/1.4 var(--font); color: var(--ink); background: var(--soft); border: 1px solid transparent; border-radius: 10px; padding: 12px 14px; transition: border-color .2s, background .2s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--ink); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #b42318; background: #fff; }
.form__msg { margin: 10px 0 0; font-size: 16.5px; min-height: 1.4em; color: var(--green-deep); font-weight: 600; }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,.7); padding-top: 64px; margin-top: 40px; font-size: 17px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand img { height: 42px; width: auto; margin-bottom: 14px; }
.footer h4, .footer .footer__h { color: #fff; font-size: 16.5px; margin-bottom: 12px; }
.footer a { display: block; text-decoration: none; padding-block: 4px; }
.footer a:hover { color: #fff; }
#footerContact .pending { color: var(--yellow); font-style: italic; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 15.5px; }
.footer__bottom a { display: inline; padding: 0; text-decoration: underline; }

/* ---------- entrada ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1000px) {
  .header__actions { display: none; }
  .burger { display: block; }
  .nav {
    position: fixed; left: 12px; right: 12px; top: 72px; flex-direction: column; gap: 0; margin: 0; padding: 8px 18px 18px;
    background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 20px; }
  .nav__cta { display: inline-flex; margin-top: 14px; padding: 14px; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .cards3 { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .dark__grid, .stats, .faq, .cta-card__grid { grid-template-columns: 1fr; }
  .stage { min-height: 420px; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .tile--big { grid-column: span 2; grid-row: span 2; }
  .tile--txt { grid-row: span 2; }
  .tile--photo { grid-column: span 2; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan--pop { order: -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2)::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero { padding-block: 48px 96px; }
  .prompt__hint { display: none; }
  .reco { flex-wrap: wrap; }
  .reco .btn { margin-left: 56px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile--big, .tile--photo { grid-column: auto; grid-row: auto; min-height: 280px; }
  .tile--txt { grid-row: auto; }
  .steps { grid-template-columns: 1fr; }
  .steps li:not(:last-child)::after { display: none; }
  .form__row, .footer__grid { grid-template-columns: 1fr; }
  .form__row { gap: 0; }
  .nums dd { font-size: 44px; }
}

/* ==========================================================
   Mejoras versión PRO
   ========================================================== */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: var(--grad); transform-origin: left; transform: scaleX(0); pointer-events: none; }
.grad-text { background: linear-gradient(100deg, #f7b100 0%, #f7b100 45%, #003721 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text--light { background: linear-gradient(100deg, #f7b100, #f7b100 50%, #003721); -webkit-background-clip: text; background-clip: text; }
.eyebrow { display: inline-block; font-size: 15.5px; font-weight: 700; color: #003721; background: #ffffff; border-radius: 999px; padding: 5px 12px; margin-bottom: 14px; }

/* tarjetas flotantes del hero */
.floaters { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fl { position: absolute; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(0,0,0,.06); border-radius: 14px; padding: 10px 14px 10px 10px; box-shadow: 0 18px 40px -20px rgba(0,0,0,.35); font-size: 15.5px; animation: bob 6s ease-in-out infinite; transition: translate .5s var(--ease); }
.fl b { display: block; color: var(--ink); font-size: 16px; }
.fl small { color: var(--muted); font-size: 14.5px; }
.fl__ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; font-weight: 800; }
.fl__ic--green { background: #ffffff; color: var(--green-deep); }
.fl__ic--orange { background: #ffffff; color: #003721; }
.fl__ic--amber { background: #ffffff; color: #003721; }
.fl__bars { display: flex; align-items: flex-end; gap: 3px; height: 30px; width: 34px; }
.fl__bars i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: var(--grad); }
.fl--1 { left: max(16px, calc(50% - 600px)); top: 56%; }
.fl--2 { right: max(16px, calc(50% - 600px)); top: 52%; animation-delay: -1.5s; }
.fl--3 { left: max(40px, calc(50% - 560px)); top: 86%; animation-delay: -3s; }
.fl--4 { right: max(40px, calc(50% - 560px)); top: 84%; animation-delay: -4.5s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* sector social */
.social__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.collage { position: relative; aspect-ratio: 1 / .92; }
.collage__a { position: absolute; left: 0; top: 0; width: 78%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow); }
.collage__b { position: absolute; right: 0; bottom: 0; width: 58%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--r-xl); border: 6px solid #fff; box-shadow: var(--shadow); }
.chip { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 12px 16px; font-size: 16px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.chip--a { right: 6%; top: 8%; flex-direction: column; align-items: flex-start; gap: 0; }
.chip--a b { font-size: 34px; line-height: 1; letter-spacing: -.04em; background: linear-gradient(100deg, #f7b100, #f7b100 50%, #003721); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chip--a span { font-size: 15px; color: var(--muted); font-weight: 500; }
.chip--b { left: 4%; bottom: 10%; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.feats { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; }
.feats li { display: flex; gap: 16px; align-items: flex-start; }
.feats__ic { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; font-weight: 800; font-size: 15.5px; color: var(--ink); border: 1px solid var(--line); }
.feats b { color: var(--ink); font-size: 19.5px; }
.feats p { margin: 2px 0 0; color: var(--muted); font-size: 18px; }

/* cinta de entregables */
.deliv { overflow: hidden; padding-bottom: clamp(64px, 7vw, 96px); }
.ribbon { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); padding-block: 6px; }
.ribbon + .ribbon { margin-top: 10px; }
.ribbon__track { display: flex; gap: 12px; width: max-content; animation: slide 46s linear infinite; }
.ribbon--rev .ribbon__track { animation-direction: reverse; animation-duration: 52s; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon span { white-space: nowrap; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 20px; font-size: 18px; font-weight: 600; color: var(--ink); box-shadow: 0 6px 16px -12px rgba(0,0,0,.3); }

/* línea de tiempo */
.tl { position: relative; max-width: 880px; margin-inline: auto; }
.tl__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; transform: translateX(-50%); background: var(--line); border-radius: 3px; overflow: hidden; }
.tl__line span { display: block; width: 100%; height: 0; background: linear-gradient(180deg, #f7b100, #f7b100 50%, #003721); }
.tl__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.tl__item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.tl__dot { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.85); width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: grid; place-items: center; font-weight: 800; color: var(--muted); transition: all .4s var(--ease); z-index: 2; }
.tl__item.is-on .tl__dot { background: var(--ink); color: #fff; border-color: #fff; transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 6px var(--soft); }
.tl__card { background: var(--soft); border-radius: var(--r-lg); padding: 24px 26px; opacity: .45; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.tl__item.is-on .tl__card { opacity: 1; transform: none; }
.tl__item:nth-child(odd) .tl__card { grid-column: 1; text-align: right; }
.tl__item:nth-child(even) .tl__card { grid-column: 2; }
.tl__card h3 { font-size: 24px; letter-spacing: -.02em; margin-bottom: 6px; }
.tl__card p { margin: 0; color: var(--muted); font-size: 18px; }

/* cierre grande */
.finale { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding-block: clamp(96px, 12vw, 160px); margin: 24px clamp(8px, 1.4vw, 16px) 0; border-radius: var(--r-xl); text-align: center; isolation: isolate; }
.mesh--finale { z-index: -1; opacity: .5; }
.finale__mark { width: 64px; margin: 0 auto 24px; }
.finale__title { color: #fff; font-size: clamp(36px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -.045em; font-weight: 800; max-width: 900px; margin: 0 auto 36px; text-wrap: balance; }
.finale__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn--glass { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255,255,255,.18); }
.footer { margin-top: 0; }

/* botón fijo en móvil */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 16px 34px -12px rgba(0,0,0,.5); transform: translateY(80px); transition: transform .35s var(--ease); }
  .sticky-cta.is-on { transform: none; }
  body { padding-bottom: 76px; }
}

@media (max-width: 1150px) { .floaters { display: none; } }
@media (max-width: 1000px) {
  .header.is-scrolled { padding-top: 8px; }
  .header.is-scrolled .header__inner { margin-inline: 8px; width: auto; }
  .social__grid { grid-template-columns: 1fr; }
  .collage { max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (max-width: 700px) {
  .tl__line { left: 22px; transform: none; }
  .tl__item { grid-template-columns: 1fr; gap: 0; padding-left: 62px; }
  .tl__dot { left: 22px; }
  .tl__item:nth-child(odd) .tl__card, .tl__item:nth-child(even) .tl__card { grid-column: 1; text-align: left; }
  .chip--b { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .tl__card { opacity: 1; transform: none; }
  .ucard { transform: none; }
}

/* ==========================================================
   FUENTES DE LA MARCA (Bebas Neue para títulos, DIN Pro para texto)
   ========================================================== */
@font-face { font-family: "Bebas Neue"; src: url("../fonts/BebasNeue.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DIN Pro"; src: url("../fonts/DINPro-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DIN Pro"; src: url("../fonts/DINPro-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DIN Pro"; src: url("../fonts/DINPro-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DIN Pro"; src: url("../fonts/DINPro-Black.ttf") format("truetype"); font-weight: 900; font-display: swap; }
html { font-synthesis: none; }
body { font-family: "DIN Pro", "Segoe UI", system-ui, -apple-system, sans-serif; }
:root { --font: "DIN Pro", "Segoe UI", system-ui, -apple-system, sans-serif; }
h1, h2, h3, .h2, .h3, .hero__title, .nums dd, .plan h3, .finale__title, .chip--a b { font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif !important; font-weight: 400 !important; }
h1, h2, h3, h4, .h2, .h3, .display, .hero__title, .intro__title, .title, .index__name, .plan__name, .feature__title, .quote__text, .foot__line, .tunnel__title, .srow__t, .statement__text, .manifesto__text, .velo__row, .footer__giant, .contact__title, .finale__title, .red-esal__title, .blog-title, .loader__word { letter-spacing: .01em !important; }
