/* ─────────── TOKENS ─────────── */
:root {
  --bg:      #F6F3EE;
  --warm:    #EFEAE1;
  --pure:    #FFFFFF;
  --text:    #111827;
  --ink:     #111827;
  --navy:    #0E1E40;
  --navy-d:  #0A1730;
  --dark:    #0E1E40;
  --gray:    #5B6472;
  --muted:   #5B6472;
  --gray-l:  #9CA3AF;
  --faint:   #9CA3AF;
  --blue:      #2E6BF0;
  --blue-dark: #1E4FC0;
  --cyan:    #16C7E6;
  --grad:    linear-gradient(110deg, #16C7E6, #2E6BF0);
  --border:  rgba(17,24,39,.08);
  --na:      rgba(17,24,39,.08);
  --na-2:    rgba(17,24,39,.05);
  --hero-bg: #EEF3FC;

  --f-display: 'Montserrat', -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  --f-body:    'Montserrat', sans-serif;
  --f-hero:    clamp(34px, 4.4vw, 60px);
  --ease-out:  cubic-bezier(.16,1,.3,1);
  --gutter:    52px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; color-scheme: light; }
body { background: var(--bg); color: var(--text); font-family: var(--f-body); overflow-x: hidden; -webkit-font-smoothing: antialiased; cursor: none; }
::selection { background: var(--blue); color: #fff; }
a { color: inherit; text-decoration: none; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
p { text-wrap: pretty; }
.hero-sub { text-wrap: balance; }

/* ─────────── CURSOR ─────────── */
#cursor, #ring { position: fixed; border-radius: 50%; pointer-events: none; transform: translate(-50%,-50%); z-index: 10000; top: 0; left: 0; }
#cursor { width: 6px; height: 6px; background: var(--text); }
#ring { width: 32px; height: 32px; border: 1px solid rgba(17,24,39,.3); transition: width .35s var(--ease-out), height .35s var(--ease-out), border-color .3s; }
body:has(a:hover, button:hover) #ring { width: 48px; height: 48px; border-color: var(--blue); }
.on-dark #cursor { background: #fff; } .on-dark #ring { border-color: rgba(255,255,255,.45); }
@media (max-width: 767px) { body { cursor: auto; } #cursor, #ring { display: none; } }

/* ─────────── HEADER ─────────── */
#header { position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: 76px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); transform: translateY(0); transition: height .3s var(--ease-out), border-color .3s, box-shadow .3s, transform .35s var(--ease-out); }
#header.header--scrolled { height: 66px; border-bottom-color: rgba(46,107,240,.45); box-shadow: 0 16px 36px -20px rgba(4,10,24,.7); }
#header.header--hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { #header { transition: height .3s var(--ease-out), border-color .3s, box-shadow .3s; } #header.header--hidden { transform: none; } }
.h-logo img { height: 42px; width: auto; display: block; transition: height .3s; }
#header.header--scrolled .h-logo img { height: 36px; }

.h-nav { display: none; align-items: center; gap: 6px; }
.h-nav-item { position: relative; }
.h-nav-link { position: relative; background: none; border: none; display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-body); font-size: 14px; font-weight: 500; color: rgba(255,255,255,.68); padding: 9px 14px; cursor: none; transition: color .2s; }
.h-nav-link::after { content: ''; position: absolute; left: 50%; right: 50%; bottom: 4px; height: 2px; background: var(--cyan); transition: left .25s var(--ease-out), right .25s var(--ease-out); }
.h-nav-link:hover { color: #fff; }
.h-nav-link:hover::after { left: 14px; right: 14px; }
.h-nav-chevron { font-size: 9px; line-height: 1; transition: transform .2s var(--ease-out); display: inline-block; }
.h-nav-item.is-open .h-nav-chevron { transform: rotate(180deg); }
.h-nav-item.is-open > .h-nav-link { color: #fff; }
.h-dropdown { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(-8px); background: rgba(12,26,54,.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; box-shadow: 0 18px 44px rgba(4,10,24,.5); min-width: 240px; padding: 8px; opacity: 0; pointer-events: none; transition: opacity .25s var(--ease-out), transform .25s var(--ease-out); z-index: 300; }
.h-nav-item::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 14px; }
.h-nav-item:hover .h-dropdown, .h-nav-item.is-open .h-dropdown { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: all; }
.h-dd-item { display: flex; flex-direction: column; padding: 10px 14px; border-radius: 9px; transition: background .15s; opacity: 0; transform: translateY(-6px); transition: background .15s, opacity .3s var(--ease-out), transform .3s var(--ease-out); }
.h-nav-item:hover .h-dd-item, .h-nav-item.is-open .h-dd-item { opacity: 1; transform: none; }
.h-nav-item:hover .h-dd-item:nth-child(1), .h-nav-item.is-open .h-dd-item:nth-child(1) { transition-delay: .04s; }
.h-nav-item:hover .h-dd-item:nth-child(2), .h-nav-item.is-open .h-dd-item:nth-child(2) { transition-delay: .08s; }
.h-nav-item:hover .h-dd-item:nth-child(3), .h-nav-item.is-open .h-dd-item:nth-child(3) { transition-delay: .12s; }
.h-nav-item:hover .h-dd-item:nth-child(4), .h-nav-item.is-open .h-dd-item:nth-child(4) { transition-delay: .16s; }
.h-dd-item:hover { background: rgba(255,255,255,.07); }
.h-dd-name { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.h-dd-desc { font-size: 12px; color: rgba(255,255,255,.45); }
.h-dd-item--thumb { flex-direction: row; align-items: center; gap: 12px; }
.h-dd-thumb { height: 30px; width: auto; max-width: 120px; object-fit: contain; opacity: .85; flex-shrink: 0; filter: brightness(0) invert(1); }
.h-dd-item--thumb .h-dd-name { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 0; }
.h-dd-ext { color: rgba(255,255,255,.45); font-size: 12px; }

.h-dd-item--icon { flex-direction: row; align-items: center; gap: 12px; }
.h-dd-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(46,107,240,.14); transition: background .25s, transform .25s var(--ease-out); }
.h-dd-item--icon:hover .h-dd-icon { background: var(--blue); transform: scale(1.08) rotate(-4deg); }
.h-dd-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; }
.h-dd-item--icon:hover .h-dd-icon svg { stroke: #fff; }
.h-dd-txt { display: flex; flex-direction: column; }
.h-dd-item--cta { border-top: 1px solid rgba(255,255,255,.1); margin-top: 4px; padding-top: 12px; }
.h-dd-item--cta .h-dd-name { color: var(--cyan); font-size: 13px; margin-bottom: 0; }
.h-dd-item--cta:hover .h-dd-name { color: #fff; }

.h-right { display: flex; align-items: center; gap: 14px; }
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 50% { box-shadow: 0 0 0 5px rgba(34,197,94,0); } }
.h-cta { display: none; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #fff; background: var(--blue); border: none; padding: 10px 18px 10px 20px; border-radius: 10px; transition: background .2s, transform .25s var(--ease-out), box-shadow .25s var(--ease-out); cursor: none; box-shadow: 0 8px 20px -8px rgba(46,107,240,.6); }
.h-cta:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(46,107,240,.75); }
.h-cta-arrow { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease-out); }
.h-cta:hover .h-cta-arrow { transform: translateX(3px); }
.menu-btn { background: none; border: 1px solid rgba(255,255,255,.18); width: 40px; height: 40px; border-radius: 10px; cursor: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; transition: border-color .2s, background .2s; padding: 0; }
.menu-btn:hover { background: rgba(255,255,255,.06); }
.menu-btn span { display: block; width: 16px; height: 1px; background: #fff; transition: transform .35s cubic-bezier(.76,0,.24,1), opacity .2s; }
.menu-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 880px) { .menu-btn { display: none; } .h-nav { display: flex; } .h-cta { display: inline-flex; } }
@media (max-width: 879px) { .h-nav { display: none; } .h-cta { display: none; } #header { padding: 0 24px; height: 68px; } .h-logo img { height: 38px; } .menu-btn { cursor: pointer; } }

/* ─────────── OVERLAY NAV (mobile) ─────────── */
#overlay { position: fixed; inset: 0; z-index: 190; background: var(--bg); padding: 100px 24px 32px; display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); transition: clip-path .55s cubic-bezier(.76,0,.24,1); pointer-events: none; }
#overlay.open { clip-path: inset(0 0 0% 0); pointer-events: all; }
.ov-nav { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; }
.ov-item { display: flex; align-items: center; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--na); opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), border-color .2s; }
#overlay.open .ov-item { opacity: 1; transform: none; }
#overlay.open .ov-item:nth-child(1) { transition-delay: .1s; }
#overlay.open .ov-item:nth-child(2) { transition-delay: .16s; }
#overlay.open .ov-item:nth-child(3) { transition-delay: .22s; }
#overlay.open .ov-item:nth-child(4) { transition-delay: .28s; }
#overlay.open .ov-item:nth-child(5) { transition-delay: .34s; }
.ov-item:active { border-color: rgba(46,107,240,.3); }
.ov-item-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(46,107,240,.08); transition: background .2s, transform .2s var(--ease-out); }
.ov-item:active .ov-item-icon { background: var(--blue); transform: scale(1.05) rotate(-4deg); }
.ov-item-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; }
.ov-item:active .ov-item-icon svg { stroke: #fff; }
.ov-item-txt { display: flex; flex-direction: column; gap: 2px; }
.ov-link { font-family: var(--f-display); font-size: clamp(22px, 6.4vw, 30px); font-weight: 600; letter-spacing: -.03em; color: var(--text); line-height: 1.15; }
.ov-link .hero-accent { color: var(--blue); }
.ov-item-desc { font-size: 12.5px; color: var(--gray); }
.ov-item--cta { border-bottom: none; margin-top: 6px; }
.ov-item--cta .ov-item-icon { background: var(--blue); }
.ov-item--cta .ov-item-icon svg { stroke: #fff; }
.ov-foot { display: flex; gap: 22px; font-size: 12px; color: var(--gray); }
@media (prefers-reduced-motion: reduce) { .ov-item { opacity: 1; transform: none; transition: none; } }

/* ─────────── HERO ─────────── */
#hero { min-height: 86vh; padding: 118px var(--gutter) 56px; display: flex; align-items: center; position: relative; overflow: hidden; background: var(--hero-bg); }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-shape { position: absolute; background: var(--blue); border-radius: 46px; }
.hero-shape-a { width: 620px; height: 620px; top: -280px; right: -220px; opacity: .07; transform: rotate(-18deg); }
.hero-shape-b { width: 320px; height: 320px; bottom: -140px; left: -100px; opacity: .05; transform: rotate(12deg); }
.hero-mark { position: absolute; filter: saturate(1.1); }
.hero-mark-a { width: clamp(300px, 26vw, 420px); top: 12%; right: 2%; opacity: .3; transform: rotate(-8deg); }
.hero-mark-b { width: clamp(150px, 12vw, 190px); bottom: 4%; left: 2%; opacity: .16; transform: rotate(14deg); }
.hero-grid { width: 100%; position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 440px; gap: 56px; align-items: center; }
.hero-text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; }

.hero-kicker { margin-bottom: 16px; overflow: hidden; }
.hero-kicker .hw-inner { display: block; font-family: var(--f-display); font-size: clamp(14px, 1.3vw, 17px); font-weight: 600; letter-spacing: -.01em; color: var(--gray); transform: translateY(120%) scale(1.15); opacity: 0; filter: blur(10px); }
.hero-accent { color: var(--blue); }

.hero-hl { font-family: var(--f-display); font-size: var(--f-hero); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: var(--text); margin-bottom: 20px; min-height: 2.2em; max-width: 15ch; text-wrap: balance; }
.hero-type { white-space: pre-wrap; }
.hero-caret { display: inline-block; width: .04em; height: .82em; margin-left: .04em; background: var(--blue); vertical-align: -.08em; animation: caretBlink 1s step-end infinite; }
.hero-hl.is-done .hero-caret { animation: caretBlink 1s step-end infinite; opacity: .6; }

.hero-sub { font-size: clamp(15px, 1.15vw, 17px); color: var(--gray); font-weight: 500; letter-spacing: -.01em; max-width: 40ch; line-height: 1.6; opacity: 0; }
.hero-ctas { display: flex; justify-content: flex-start; gap: 16px; margin-top: 30px; opacity: 0; }
.hero-cta-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #fff; background: var(--blue); padding: 15px 26px; border-radius: 10px; box-shadow: 0 10px 26px -10px rgba(46,107,240,.55); transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .2s; }
.hero-cta-btn:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(46,107,240,.65); }

/* ── proposal form card ── */
.hero-form-wrap { position: relative; width: 100%; opacity: 0; perspective: 1400px; }
.hero-form-wrap::before { content: ''; position: absolute; inset: 16px -16px -16px 16px; background: var(--blue); border-radius: 18px; z-index: 0; transition: transform .3s var(--ease-out); }

.hero-video-wrap { position: relative; width: 100%; opacity: 0; }

/* ── HX: explicativo "paso a paso" en HTML/CSS, mismo slot 16:9 que los videos del resto del sitio ── */
.hx { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--navy); }
.hx-step { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 28px 32px; opacity: 0; }
.hx-num { font-family: var(--f-display); font-size: 34px; font-weight: 700; letter-spacing: -.02em; color: rgba(255,255,255,.16); line-height: 1; }
.hx-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 13px; background: rgba(46,107,240,.16); margin-top: -6px; }
.hx-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--cyan); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hx-text { font-family: var(--f-display); font-size: clamp(15px, 1.7vw, 19px); font-weight: 600; letter-spacing: -.01em; line-height: 1.35; color: #fff; max-width: 30ch; }
.hx-dots { position: absolute; left: 32px; bottom: 20px; display: flex; gap: 6px; z-index: 2; }
.hx-dot { width: 16px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.18); }
.hx-dot--1 { animation: hxDot1 16s ease-in-out infinite; }
.hx-dot--2 { animation: hxDot2 16s ease-in-out infinite; }
.hx-dot--3 { animation: hxDot3 16s ease-in-out infinite; }
.hx-dot--4 { animation: hxDot4 16s ease-in-out infinite; }

/* las 4 franjas usan exactamente los mismos cortes (%) que los 4 pasos de abajo, para quedar sincronizadas */
@keyframes hxStep1 { 0%, 3% { opacity: 0; transform: translateY(8px); } 6%, 20% { opacity: 1; transform: none; } 23%, 100% { opacity: 0; } }
@keyframes hxStep2 { 0%, 28% { opacity: 0; transform: translateY(8px); } 31%, 45% { opacity: 1; transform: none; } 48%, 100% { opacity: 0; } }
@keyframes hxStep3 { 0%, 53% { opacity: 0; transform: translateY(8px); } 56%, 70% { opacity: 1; transform: none; } 73%, 100% { opacity: 0; } }
@keyframes hxStep4 { 0%, 78% { opacity: 0; transform: translateY(8px); } 81%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes hxDot1 { 0%, 3% { background: rgba(255,255,255,.18); } 6%, 20% { background: var(--cyan); } 23%, 100% { background: rgba(255,255,255,.18); } }
@keyframes hxDot2 { 0%, 28% { background: rgba(255,255,255,.18); } 31%, 45% { background: var(--cyan); } 48%, 100% { background: rgba(255,255,255,.18); } }
@keyframes hxDot3 { 0%, 53% { background: rgba(255,255,255,.18); } 56%, 70% { background: var(--cyan); } 73%, 100% { background: rgba(255,255,255,.18); } }
@keyframes hxDot4 { 0%, 78% { background: rgba(255,255,255,.18); } 81%, 95% { background: var(--cyan); } 98%, 100% { background: rgba(255,255,255,.18); } }
.hx-step--1 { animation: hxStep1 16s ease-in-out infinite; }
.hx-step--2 { animation: hxStep2 16s ease-in-out infinite; }
.hx-step--3 { animation: hxStep3 16s ease-in-out infinite; }
.hx-step--4 { animation: hxStep4 16s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .hx-step { animation: none !important; }
  .hx-step--1 { opacity: 1; }
  .hx-dot { animation: none !important; }
  .hx-dot--1 { background: var(--cyan); }
}
.hero-formcard { position: relative; z-index: 1; width: 100%; background: var(--pure); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-md, 0 4px 16px rgba(0,0,0,.07)); overflow: hidden; }

.fc-head { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--border); background: var(--hero-bg); }
.fc-dot { width: 8px; height: 8px; border-radius: 50%; }
.fc-dot--r { background: #F87171; } .fc-dot--y { background: #FBBF24; } .fc-dot--g { background: #34D399; }
.fc-url { margin-left: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; color: var(--gray); letter-spacing: -.01em; background: var(--pure); border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px 4px 8px; }
.fc-url-live { width: 6px; height: 6px; border-radius: 50%; background: #34D399; flex-shrink: 0; animation: pulse-dot 2.5s ease-in-out infinite; }

.fc-steps { display: flex; gap: 6px; padding: 12px 16px 0; }
.fc-step { flex: 1; height: 3px; border-radius: 3px; background: var(--na); overflow: hidden; }
.fc-step::after { content: ''; display: block; height: 100%; width: 0; background: var(--blue); transition: width .3s var(--ease-out); }
.fc-step.is-filled::after { width: 100%; }

.fc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.ff label { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-l); margin-bottom: 6px; }
.ff-input { position: relative; min-height: 46px; display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: var(--hero-bg); border: 1px solid var(--border); border-radius: 9px; font-size: 14.5px; color: var(--text); transition: border-color .3s, background .3s; }
.ff.is-active .ff-input { border-color: rgba(46,107,240,.4); background: var(--pure); }
.ff--area .ff-input { align-items: flex-start; min-height: 76px; line-height: 1.5; }
.ff-icon { width: 15px; height: 15px; flex-shrink: 0; fill: none; stroke: var(--gray-l); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.ff-icon--top { margin-top: 2px; }
.ff.is-active .ff-icon { stroke: var(--blue); }
.ff-type { white-space: pre-wrap; }
.ff-caret { width: 2px; height: 14px; background: var(--blue); margin-left: 2px; opacity: 0; flex-shrink: 0; }
.ff.is-active .ff-caret { opacity: 1; animation: caretBlink .9s step-end infinite; }
@keyframes caretBlink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }

/* ── inputs reales (formulario funcional del CTA) ── */
.ff-real { flex: 1; min-width: 0; align-self: stretch; padding: 11px 0; border: none; outline: none; background: transparent; font-family: var(--f-body); font-size: 14.5px; color: var(--text); }
.ff-real::placeholder { color: var(--gray-l); }
.ff-real--area { resize: none; align-self: stretch; line-height: 1.5; padding-top: 1px; }
.ff-input:focus-within { border-color: rgba(46,107,240,.4); background: var(--pure); }
.ff-input:focus-within .ff-icon { stroke: var(--blue); }
.fc-status { min-height: 16px; font-size: 12.5px; color: var(--gray); margin-top: -4px; }
.fc-status.is-ok { color: #16A34A; font-weight: 600; }
.fc-status.is-error { color: #DC2626; font-weight: 600; }
.fc-status-link { color: #DC2626; text-decoration: underline; text-underline-offset: 2px; }

/* ── submit button ── */
.fc-submit { position: relative; margin-top: 4px; width: 100%; min-height: 48px; padding: 15px; border-radius: 10px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; overflow: visible; cursor: pointer; transition: background .3s var(--ease-out); }
.fc-submit-ring { display: none; width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; }
.fc-submit.is-sending .fc-submit-ring { display: inline-block; animation: submitSpin .7s linear infinite; }
.fc-submit.is-sending .fc-submit-label { opacity: .85; }
.fc-submit-sent { display: none; align-items: center; gap: 7px; }
.fc-check { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fc-check path { stroke-dasharray: 24; stroke-dashoffset: 24; }
.fc-submit.is-sent { background: #16A34A; animation: submitPop .45s var(--ease-out); }
.fc-submit.is-sent .fc-submit-label,
.fc-submit.is-sent .fc-submit-ring { display: none; }
.fc-submit.is-sent .fc-submit-sent { display: inline-flex; }
.fc-submit.is-sent .fc-check path { animation: checkDraw .5s ease-out .08s forwards; }
.fc-submit-burst { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.fc-submit.is-sent .fc-submit-burst { animation: submitBurst .7s ease-out; }
@keyframes submitSpin { to { transform: rotate(360deg); } }
@keyframes checkDraw { to { stroke-dashoffset: 0; } }
@keyframes submitPop { 0% { transform: scale(1); } 40% { transform: scale(1.04); } 100% { transform: scale(1); } }
@keyframes submitBurst { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.45); } 100% { box-shadow: 0 0 0 18px rgba(22,163,74,0); } }

@media (max-width: 900px) {
  #hero { min-height: auto; padding: 96px 24px 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-hl { font-size: clamp(28px, 9vw, 40px); min-height: 0; margin-bottom: 14px; max-width: 12ch; }
  .hero-sub { max-width: 100%; text-wrap: balance; }
  .hero-form-wrap::before { inset: 12px -12px -12px 12px; }
  .hero-mark-a { top: auto; bottom: 2%; right: -6%; opacity: .18; }
  .hero-mark-b { display: none; }
}
@media (max-width: 480px) { .fc-url { display: none; } }

/* ─────────── CTA (cierre de página, mismos efectos que el hero) ─────────── */
#cta { position: relative; overflow: hidden; padding: 110px var(--gutter); background: var(--hero-bg); }
@media (max-width: 900px) {
  #cta { padding: 80px 24px; }
}

/* ─────────── SECTION TAG (bespoke, reusado en varias secciones) ─────────── */
.section-tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.section-tag-mark { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }
.section-tag span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text); padding-bottom: 5px; border-bottom: 2px solid var(--blue); }
.section-tag--on-dark span { color: #fff; }

/* ─────────── QUÉ ES TULKIT ─────────── */
#about { background: var(--navy); position: relative; overflow: hidden; padding: 100px var(--gutter) 110px; }
.about-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.about-shape { position: absolute; width: 640px; height: 640px; background: var(--blue); opacity: .1; border-radius: 46px; bottom: -260px; right: -180px; transform: rotate(18deg); }
.about-mark { position: absolute; width: clamp(220px, 20vw, 300px); top: -60px; left: -60px; opacity: .12; transform: rotate(9deg); }
.about-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.about-head { max-width: 860px; margin-bottom: 48px; }
.about-title { font-family: var(--f-display); font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; color: #fff; text-wrap: balance; }
.about-def { margin-top: 14px; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.65; color: rgba(255,255,255,.78); max-width: 760px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.about-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* video card (reutilizada también en #websoft) */
.about-video-wrap { position: relative; width: 100%; }
.about-video-wrap::before { content: ''; position: absolute; inset: -14px -14px 14px 14px; background: var(--blue); border-radius: 20px; z-index: 0; }
.about-video-card { position: relative; z-index: 1; background: var(--navy); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0,0,0,.55); }
.about-video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.case-tag { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-top: 1px solid rgba(255,255,255,.1); }
.case-tag-label { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.case-tag-name { font-size: 13.5px; font-weight: 700; color: #fff; }

.case-tag--wd { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; }
.case-tag-info { display: flex; flex-direction: column; gap: 2px; }
.case-tag-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: #fff; background: var(--blue); padding: 9px 14px; border-radius: 8px; white-space: nowrap; transition: background .2s, transform .25s var(--ease-out); }
.case-tag-btn svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.case-tag-btn:hover { background: var(--blue-dark); transform: translateY(-1px); }
@media (max-width: 460px) { .case-tag--wd { flex-direction: column; align-items: flex-start; } .case-tag-btn { width: 100%; justify-content: center; } }

.about-card { display: block; padding: 32px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.09); border-radius: 18px; transition: transform .3s var(--ease-out), background .3s, border-color .3s; }
.about-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.055); border-color: rgba(46,107,240,.35); }
.about-card-icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 16px; background: var(--blue); box-shadow: 0 14px 28px -12px rgba(46,107,240,.55); }
.about-card-icon svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.about-card-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; height: 64px; padding-bottom: 14px; border-bottom: 2px solid var(--blue); margin-bottom: 14px; }
.about-card-title { font-family: var(--f-display); font-size: clamp(19px, 1.7vw, 23px); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; color: #fff; }
.about-card-num { flex: none; font-family: var(--f-display); font-size: 30px; font-weight: 600; letter-spacing: -.02em; line-height: 1; color: rgba(255,255,255,.16); }
.about-card-text { font-size: 14.5px; line-height: 1.75; color: #C7D0E0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

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

@media (max-width: 900px) {
  #about { padding: 72px 24px 80px; }
  .about-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-head { margin-bottom: 36px; }
  .about-video-wrap::before { inset: -10px -10px 10px 10px; }
}
@media (prefers-reduced-motion: reduce) { .reveal-up { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* ─────────── SOFTWARE Y DESARROLLO WEB ─────────── */
#websoft { background: var(--pure); position: relative; overflow: hidden; padding: 100px var(--gutter) 110px; }
.ws-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ws-shape { position: absolute; width: 560px; height: 560px; background: var(--blue); opacity: .05; border-radius: 46px; top: -220px; left: -160px; transform: rotate(-16deg); }
.ws-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.ws-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.ws-title { font-family: var(--f-display); font-size: clamp(26px, 2.9vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; color: var(--text); margin-bottom: 16px; max-width: 28ch; text-wrap: balance; }
.ws-body { font-size: 16px; line-height: 1.65; color: var(--gray); max-width: 46ch; margin-bottom: 28px; }
.ws-list { display: flex; flex-direction: column; gap: 12px; }
.ws-list-item { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; font-weight: 600; color: var(--text); line-height: 1.4; }
.ws-list-item svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; padding: 3px; box-sizing: border-box; border-radius: 50%; background: rgba(46,107,240,.12); fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 900px) {
  #websoft { padding: 72px 24px 80px; }
  .ws-grid { grid-template-columns: 1fr; gap: 40px; }
  .ws-title { max-width: 100%; }
}

/* ─────────── DESARROLLO WEB ─────────── */
#webdev { background: var(--navy); position: relative; overflow: hidden; padding: 100px var(--gutter); }
.wd-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.wd-shape { position: absolute; width: 560px; height: 560px; background: var(--blue); opacity: .09; border-radius: 46px; bottom: -240px; right: -180px; transform: rotate(20deg); }
.wd-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.wd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.wd-title { font-family: var(--f-display); font-size: clamp(26px, 2.9vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; color: #fff; margin-bottom: 16px; max-width: 16ch; text-wrap: balance; }
.wd-sub { font-size: 16px; line-height: 1.65; color: #C7D0E0; max-width: 44ch; }

@media (max-width: 900px) {
  #webdev { padding: 72px 24px 80px; }
  .wd-grid { grid-template-columns: 1fr; gap: 32px; }
  .wd-text { order: -1; }
  .wd-title { max-width: 100%; }
}

/* ─────────── WORKSHOPS ─────────── */
#workshops { background: var(--pure); position: relative; overflow: hidden; padding: 100px var(--gutter) 110px; }
.wk-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.wk-shape { position: absolute; width: 600px; height: 600px; background: var(--blue); opacity: .05; border-radius: 46px; top: -240px; right: -180px; transform: rotate(-14deg); }
.wk-mark { position: absolute; width: clamp(200px, 18vw, 280px); bottom: -50px; left: -50px; opacity: .05; transform: rotate(-8deg); }
.wk-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.wk-head { max-width: 680px; margin-bottom: 48px; }
.wk-title { font-family: var(--f-display); font-size: clamp(28px, 3.1vw, 42px); font-weight: 700; letter-spacing: -.03em; line-height: 1.18; color: var(--text); margin-bottom: 14px; }
.wk-sub { font-size: 16px; font-weight: 500; color: var(--gray); }

.wk-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.wk-card { --wk-accent: var(--blue); position: relative; aspect-ratio: 5/6; perspective: 1200px; -webkit-perspective: 1200px; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.wk-card-inner { position: relative; width: 100%; height: 100%; transition: transform .6s cubic-bezier(.4,.2,.2,1); transform-style: preserve-3d; -webkit-transform-style: preserve-3d; will-change: transform; transform: translateZ(0) rotateY(0deg); -webkit-transform: translateZ(0) rotateY(0deg); }
.wk-card.is-flipped .wk-card-inner { transform: translateZ(0) rotateY(180deg); -webkit-transform: translateZ(0) rotateY(180deg); }
.wk-card:hover:not(.is-flipped) .wk-card-inner { transform: translateZ(0) translateY(-6px); -webkit-transform: translateZ(0) translateY(-6px); }

.wk-card-face { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 18px; transform: translateZ(0); -webkit-transform: translateZ(0); }
.wk-card-face--front { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 20px 16px; background: rgba(11,18,32,.03); border: 1px solid rgba(11,18,32,.08); transition: border-color .3s, background .3s, box-shadow .35s; }
.wk-card-face--front::after { content: ''; position: absolute; top: -44px; right: -44px; width: 120px; height: 120px; border-radius: 50%; background: var(--wk-accent); opacity: .07; transition: opacity .35s; }
.wk-card:hover:not(.is-flipped) .wk-card-face--front { background: rgba(11,18,32,.05); border-color: color-mix(in srgb, var(--wk-accent) 55%, transparent); box-shadow: 0 26px 44px -22px rgba(11,18,32,.16); }
.wk-card:hover:not(.is-flipped) .wk-card-face--front::after { opacity: .16; }
.wk-card-icon { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; flex-shrink: 0; border-radius: 22px; background: color-mix(in srgb, var(--wk-accent) 16%, transparent); transition: background .35s, transform .35s var(--ease-out); }
.wk-card:hover .wk-card-icon { background: var(--wk-accent); transform: scale(1.06) rotate(-3deg); }
.wk-card-icon svg { width: 46px; height: 46px; fill: none; stroke: var(--wk-accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.wk-card:hover .wk-card-icon svg { stroke: #fff; }
.wk-card-label { position: relative; z-index: 1; font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--text); text-wrap: balance; }

.wk-card-bottom { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.wk-card-arrow { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: color-mix(in srgb, var(--wk-accent) 14%, transparent); transition: background .3s, transform .3s var(--ease-out); }
.wk-card-arrow svg { width: 15px; height: 15px; fill: none; stroke: var(--wk-accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s, transform .3s var(--ease-out); }
.wk-card:hover:not(.is-flipped) .wk-card-arrow { background: var(--wk-accent); transform: scale(1.08); }
.wk-card:hover:not(.is-flipped) .wk-card-arrow svg { stroke: #fff; transform: translateX(2px); }

.wk-card-face--back { transform: translateZ(0) rotateY(180deg); -webkit-transform: translateZ(0) rotateY(180deg); display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 20px 16px; background: var(--wk-accent); }
.wk-card-back-title { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.wk-card-back-text { font-size: 13px; line-height: 1.5; font-weight: 600; color: #fff; text-wrap: balance; }

.wk-card--c1 { --wk-accent: #2E6BF0; }
.wk-card--c2 { --wk-accent: #16C7E6; }
.wk-card--c3 { --wk-accent: #8B5CF6; }
.wk-card--c4 { --wk-accent: #10B981; }
.wk-card--c5 { --wk-accent: #F59E0B; }
.wk-card--c6 { --wk-accent: #F43F5E; }

@media (max-width: 1100px) { .wk-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) {
  #workshops { padding: 72px 24px 80px; }
  .wk-head { margin-bottom: 32px; }
}
@media (max-width: 720px) { .wk-grid { grid-template-columns: repeat(3, 1fr); } .wk-card-icon { width: 76px; height: 76px; } .wk-card-icon svg { width: 36px; height: 36px; } }
@media (max-width: 520px) { .wk-grid { grid-template-columns: repeat(2, 1fr); } .wk-card { aspect-ratio: auto; min-height: 180px; } }
@media (max-width: 420px) {
  .wk-grid { grid-template-columns: 1fr; }
  .wk-card { min-height: 140px; }
  .wk-card-face--front { flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; }
  .wk-card-bottom { flex: 1; min-width: 0; align-items: center; }
  .wk-card-icon { width: 64px; height: 64px; }
  .wk-card-icon svg { width: 30px; height: 30px; }
  .wk-card-arrow { width: 28px; height: 28px; }
  .wk-card-arrow svg { width: 13px; height: 13px; }
  .wk-card-face--back { padding: 16px; }
  .wk-card-back-text { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) { .wk-card-inner { transition: none; } }

/* ─────────── GENERACIÓN DE CONTENIDO ─────────── */
#contenido { background: var(--navy); position: relative; overflow: hidden; padding: 100px var(--gutter) 110px; }
.cg-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.cg-shape { position: absolute; width: 560px; height: 560px; background: var(--blue); opacity: .09; border-radius: 46px; top: -220px; right: -180px; transform: rotate(14deg); }
.cg-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.cg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.cg-title { font-family: var(--f-display); font-size: clamp(26px, 2.9vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; color: #fff; margin-bottom: 16px; max-width: 24ch; text-wrap: balance; }
.cg-body { font-size: 16px; line-height: 1.65; color: #C7D0E0; max-width: 48ch; margin-bottom: 28px; }
.cg-list { display: flex; flex-direction: column; gap: 12px; }
.cg-list-item { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; font-weight: 600; color: #fff; line-height: 1.4; }
.cg-list-item svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; padding: 3px; box-sizing: border-box; border-radius: 50%; background: rgba(255,255,255,.1); fill: none; stroke: var(--cyan); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.cg-stage { position: relative; width: 100%; aspect-ratio: 1/1; overflow: hidden; background: var(--navy-d); }
.cg-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: cg-frame-cycle 24s ease-in-out infinite both; }
@keyframes cg-frame-cycle {
  0%    { opacity: 0;   transform: scale(1); }
  1.5%  { opacity: 1;   transform: scale(1); }
  8%    { opacity: 1;   transform: scale(1.03); }
  9.5%  { opacity: 0;   transform: scale(1.04); }
  100%  { opacity: 0;   transform: scale(1.04); }
}

@media (max-width: 900px) {
  #contenido { padding: 72px 24px 80px; }
  .cg-grid { grid-template-columns: 1fr; gap: 40px; }
  .cg-text { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  .cg-frame { animation: none; opacity: 1; }
  .cg-frame:not(:first-child) { display: none; }
}

/* ─────────── EMPRESAS QUE CONFÍAN EN NOSOTROS ─────────── */
#empresas { background: var(--pure); position: relative; overflow: hidden; padding: 100px var(--gutter) 110px; }
.emp-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.emp-shape { position: absolute; width: 560px; height: 560px; background: var(--blue); opacity: .05; border-radius: 46px; top: -220px; right: -180px; transform: rotate(-18deg); }
.emp-mark { position: absolute; width: clamp(200px, 18vw, 280px); bottom: -50px; left: -60px; opacity: .05; transform: rotate(8deg); }
.emp-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.emp-head { max-width: 680px; margin-bottom: 44px; }
.emp-title { font-family: var(--f-display); font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; color: var(--text); text-wrap: balance; }

.emp-panel { background: var(--pure); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: 0 24px 48px -20px rgba(17,24,39,.16); }
.emp-row { position: relative; display: flex; align-items: center; gap: 22px; padding: 26px 28px; border-bottom: 1px solid var(--border); transition: background .25s; }
.emp-row:last-child { border-bottom: none; }
a.emp-row:hover { background: var(--na-2); }
.emp-row-num { flex-shrink: 0; font-family: var(--f-display); font-size: 13px; font-weight: 700; color: var(--gray-l); width: 22px; }
.emp-row-logo { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 112px; height: 112px; border-radius: 20px; background: var(--bg); border: 1px solid var(--border); }
.emp-row-logo img { height: 58%; width: auto; max-width: 80%; object-fit: contain; }
.emp-row-logo img.emp-row-logo--invert { filter: invert(1); }
.emp-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.emp-row-name { font-family: var(--f-display); font-size: 16.5px; font-weight: 700; color: var(--text); }
.emp-row-desc { font-size: 13.5px; line-height: 1.5; color: var(--gray); }
.emp-row-link { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--blue); white-space: nowrap; transition: transform .25s var(--ease-out); }
.emp-row-link svg { width: 12px; height: 12px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
a.emp-row:hover .emp-row-link { transform: translateX(3px); }
.emp-row-link--tag { color: var(--gray-l); }

@media (max-width: 900px) {
  #empresas { padding: 72px 24px 80px; }
  .emp-head { margin-bottom: 32px; }
  .emp-row { display: grid; grid-template-columns: 76px 1fr; column-gap: 16px; row-gap: 10px; padding: 22px 20px; }
  .emp-row-num { display: none; }
  .emp-row-logo { grid-row: 1; grid-column: 1; width: 76px; height: 76px; border-radius: 16px; }
  .emp-row-body { grid-row: 1; grid-column: 2; }
  .emp-row-link { grid-row: 2; grid-column: 1 / -1; }
}

/* ─────────── FOOTER (usado por terminos.html / privacidad.html) ─────────── */
#footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,.06); padding: 30px var(--gutter); position: relative; overflow: hidden; }
#footer::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 64px 64px; pointer-events: none; z-index: 0; }
.ft-in { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.ft-left { display: flex; align-items: center; gap: 14px; }
.ft-left img { height: 40px; width: auto; }
.ft-left span { font-size: 12px; color: rgba(246,243,238,.4); }
.ft-right { display: flex; gap: 24px; align-items: center; }
.ft-right a, .ft-right span { font-size: 12px; color: rgba(246,243,238,.4); transition: color .2s; }
.ft-right a:hover { color: #fff; }
@media (max-width: 640px) { #footer { padding: 30px 24px; } .ft-in { flex-direction: column; align-items: flex-start; gap: 18px; } .ft-right { flex-wrap: wrap; gap: 14px 20px; } }

/* ─────────── FOOTER completo (usado en index.html) ─────────── */
.ft-wrap { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; }
.ft-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.ft-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.ft-nav a { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.55); padding: 8px 12px; border-radius: 999px; transition: background .15s, color .15s; }
.ft-nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.ft-powered { display: flex; align-items: center; gap: 8px; margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12.5px; color: rgba(255,255,255,.4); }
.ft-powered-btn { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: rgba(255,255,255,.8); padding: 6px 10px; border-radius: 999px; font-size: 12.5px; transition: background .15s, color .15s; }
.ft-powered-btn:hover { color: #fff; background: rgba(255,255,255,.08); }
.ft-powered-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease-out); }
.ft-powered-btn:hover svg { transform: translate(2px,-2px); }
.ft-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; color: rgba(255,255,255,.35); }
.ft-bottom-right { display: flex; gap: 4px; }
.ft-bottom-right a { padding: 6px 10px; border-radius: 999px; color: rgba(255,255,255,.35); transition: background .15s, color .15s; }
.ft-bottom-right a:hover { color: #fff; background: rgba(255,255,255,.07); }
@media (max-width: 640px) { .ft-top, .ft-bottom { flex-direction: column; align-items: flex-start; } }

/* ─────────── HERO ENTRANCE (CSS-driven, on load) ─────────── */
@keyframes heroFade { to { opacity: 1; } }
@keyframes heroRise { 0% { transform: translateY(120%) scale(1.25); opacity: 0; filter: blur(14px); } 55% { opacity: 1; } 100% { transform: none; opacity: 1; filter: blur(0); } }
#hero .hero-kicker .hw-inner { animation: heroRise 1.1s cubic-bezier(.19,1,.22,1) .1s forwards; }
#hero .hero-sub { animation: heroFade .9s ease 1.5s forwards; }
#hero .hero-ctas { animation: heroFade .9s ease 1.62s forwards; }
#hero .hero-form-wrap { animation: heroFade 1s ease .6s forwards; }
#hero .hero-video-wrap { animation: heroFade 1s ease .6s forwards; }

/* ─────────── CTA ENTRANCE (mismos efectos, disparados al entrar en viewport) ─────────── */
#cta.is-in .hero-kicker .hw-inner { animation: heroRise 1.1s cubic-bezier(.19,1,.22,1) .1s forwards; }
#cta.is-in .hero-sub { animation: heroFade .9s ease .9s forwards; }
#cta.is-in .hero-ctas { animation: heroFade .9s ease 1.02s forwards; }
#cta.is-in .hero-form-wrap { animation: heroFade 1s ease .4s forwards; }

/* ─────────── LEGAL (términos / privacidad) ─────────── */
.legal-hero { max-width: 860px; margin: 0 auto; padding: 150px var(--gutter) 0; }
.legal-tag { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.legal-hero h1 { font-family: var(--f-display); font-size: clamp(38px, 5vw, 68px); font-weight: 600; letter-spacing: -.03em; line-height: 1.02; margin: 18px 0 10px; }
.legal-meta { font-size: 13px; color: var(--gray-l); }
.legal-body { max-width: 860px; margin: 0 auto; padding: 48px var(--gutter) 100px; }
.legal-body h2 { font-family: var(--f-display); font-size: clamp(20px, 2.2vw, 27px); font-weight: 600; letter-spacing: -.02em; color: var(--text); margin: 40px 0 12px; }
.legal-body p, .legal-body li { font-size: 15px; line-height: 1.8; color: var(--ink-2, #33406A); }
.legal-body p { margin-bottom: 14px; }
.legal-body ul { margin: 0 0 14px 20px; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--blue); }
.legal-notice { background: var(--warm); border: 1px solid var(--na); border-radius: 12px; padding: 20px 24px; margin-bottom: 24px; font-size: 14px; color: var(--gray); }
@media (max-width: 640px) { .legal-hero { padding-top: 110px; } }

/* ─────────── REVEAL ─────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
  .hero-sub, .hero-ctas, .hero-form-wrap, .hero-video-wrap { opacity: 1 !important; }
  .hero-kicker .hw-inner { transform: none !important; opacity: 1 !important; filter: none !important; }
  .hero-caret, .ff-caret { display: none !important; }
}
