/* =============================================================
   Marketing UI Kit v3 — PRECISION (rev 6)
   ============================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --blue: #037ecc;
  --blue-bright: #01aaec;
  --blue-deep: #2c3b8d;
  --ink: #0a0e16;
  --ink-2: #14192a;
  --ink-3: #1f2638;
  --line-dark: #222a42;
  --text-dim: #7c8498;
  --paper: #ffffff;
  --paper-2: #f5f6f9;
  --line: #e4e6ec;
  --text: #0a0e16;
  --text-mid: #474c5c;
  --sans: 'Inter', -apple-system, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { font-family: var(--sans); background: var(--paper); color: var(--text); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* HEADER */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(10,14,22,0.85); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line-dark); }
.hdr .row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.hdr img { height: 22px; filter: brightness(0) invert(1); }
.hdr nav { display: flex; gap: 28px; }
.hdr nav a { color: #c8cdd9; font-size: 13px; font-weight: 500; text-decoration: none; transition: color 0.2s; }
.hdr nav a:hover { color: #fff; }
.hdr .cta { background: var(--blue); color: #fff; font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 6px; text-decoration: none; transition: background 0.2s; }
.hdr .cta:hover { background: var(--blue-bright); }

/* HERO base dark + subtle animated glow */
.hero { background: var(--ink); color: #fff; padding: 80px 0 100px; border-bottom: 1px solid var(--line-dark); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% -10%, rgba(1,170,236,0.18), transparent 55%); pointer-events: none; animation: heroGlow 8s ease-in-out infinite alternate; }
@keyframes heroGlow { 0% { transform: translateX(-5%) scale(1); opacity: 0.9; } 100% { transform: translateX(5%) scale(1.1); opacity: 1; } }
.hero .container { position: relative; }
.hero .meta { display: flex; gap: 16px; color: var(--text-dim); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 32px; flex-wrap: wrap; }
.hero .meta span { display: flex; align-items: center; gap: 8px; }
.hero .meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-bright); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(1,170,236,0.5); } 50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(1,170,236,0); } }
.hero .ctas { display: flex; gap: 12px; align-items: center; }
.hero .ctas .primary { background: var(--blue); color: #fff; padding: 14px 22px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 14px; transition: background 0.2s, transform 0.2s; }
.hero .ctas .primary:hover { background: var(--blue-bright); transform: translateY(-1px); }
.hero .ctas .ghost { color: #fff; padding: 14px 8px; text-decoration: none; font-weight: 500; font-size: 14px; opacity: 0.7; transition: opacity 0.2s; }
.hero .ctas .ghost:hover { opacity: 1; }

/* HERO C */
.hero-C-top { max-width: 880px; margin-bottom: 56px; }
.hero-C-top h1 { font-size: clamp(52px, 7vw, 96px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; margin-bottom: 24px; }
.hero-C-top h1 .accent { color: var(--blue-bright); }
.hero-C-top .sub { font-size: 18px; color: #c8cdd9; line-height: 1.55; margin-bottom: 28px; max-width: 62ch; }
.hero-C-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.hc-cell { padding: 36px 24px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); transition: background 0.3s; }
.hc-cell:hover { background: rgba(1,170,236,0.04); }
.hc-cell:nth-child(4n) { border-right: none; }
.hc-big { font-size: 56px; font-weight: 600; letter-spacing: -0.03em; color: var(--blue-bright); font-variant-numeric: tabular-nums; line-height: 1; }
.hc-small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-top: 14px; line-height: 1.4; }

/* MARQUEE */
.marquee-section { background: var(--paper); padding: 40px 0 48px; border-bottom: 1px solid var(--line); }
.marquee-label { text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 24px; }
.marquee { overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 80px, #000 calc(100% - 80px), transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 80px, #000 calc(100% - 80px), transparent); }
.marquee-track { display: flex; gap: 32px; width: max-content; animation: scroll 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-slot { flex: 0 0 180px; height: 88px; border: 1px solid var(--line); border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--paper); padding: 14px 20px; transition: border-color .3s, transform .3s; }
.logo-slot:hover { border-color: var(--blue); transform: translateY(-2px); }
.logo-slot img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(0.2); transition: filter .3s; }
.logo-slot:hover img { filter: none; }

/* CASES */
.cases { padding: 120px 0; background: var(--paper); }
.cases .head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 64px; align-items: end; }
.cases .head h2 { font-size: 48px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.cases .head p { color: var(--text-mid); font-size: 16px; max-width: 48ch; }
.cases .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 48px; }
.cases .grid:last-child { margin-bottom: 0; }
.cat-bar { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); padding: 14px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); margin: 40px 0 20px; font-weight: 600; }
.cat-bar:first-of-type { margin-top: 0; }
.case { background: var(--paper); padding: 40px; display: flex; flex-direction: column; gap: 24px; transition: background 0.3s; }
.case:hover { background: var(--paper-2); }
.case .client { display: flex; align-items: center; gap: 16px; }
.case .client-id { display: flex; align-items: center; gap: 16px; width: 100%; }
.case .client-logo { width: 64px; height: 64px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); display: flex; align-items: center; justify-content: center; padding: 8px; overflow: hidden; }
.case .client-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.case .client-text { flex: 1; min-width: 0; }
.case .client .name { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.case .client .sector { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-top: 2px; }
.case .what { font-size: 15px; color: var(--text-mid); line-height: 1.55; min-height: 3em; }
.case .metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case .metric .v { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; color: var(--blue); white-space: nowrap; font-variant-numeric: tabular-nums; }
.case .metric .v[data-count] { background: linear-gradient(180deg, var(--blue-bright), var(--blue)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.case .metric .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); margin-top: 4px; white-space: normal; }

/* SERVICES */
.services { background: var(--ink); color: #fff; padding: 120px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.services .head { margin-bottom: 64px; }
.services .head .tag { color: var(--blue-bright); }
.services .head h2 { font-size: 48px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin: 12px 0 16px; max-width: 22ch; }
.services .head p { color: #c8cdd9; font-size: 16px; max-width: 58ch; }
.services .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.svc { padding: 40px 32px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); transition: background 0.3s; display: flex; flex-direction: column; }
.svc:last-child { border-right: none; }
.svc:hover { background: var(--ink-2); }
.svc .num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--blue-bright); margin-bottom: 20px; }
.svc h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.svc p { color: #c8cdd9; font-size: 14px; line-height: 1.55; margin-bottom: 24px; }
.svc ul { list-style: none; padding: 0; font-size: 13px; color: #c8cdd9; }
.svc li { padding: 8px 0; border-top: 1px solid var(--line-dark); display: flex; gap: 8px; }
.svc li::before { content: '+'; color: var(--blue-bright); font-weight: 600; }

/* GUARANTEES rediseño tipográfico */
.guarantees { padding: 120px 0; background: var(--paper); }
.guarantees .head { max-width: 720px; margin: 0 auto 72px; text-align: center; }
.guarantees .head .tag { color: var(--blue); display: block; margin-bottom: 12px; }
.guarantees .head h2 { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.guarantees .head p { color: var(--text-mid); font-size: 16px; margin-top: 16px; }
.commit-list { max-width: 960px; margin: 0 auto; border-top: 1px solid var(--line); }
.commit { display: grid; grid-template-columns: 120px 1fr; gap: 48px; padding: 36px 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: padding 0.3s; }
.commit:hover { padding-left: 12px; }
.commit-num { font-family: var(--mono); font-size: 48px; font-weight: 300; color: var(--blue); letter-spacing: -0.02em; line-height: 1; }
.commit-body h4 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.commit-body p { font-size: 15px; color: var(--text-mid); line-height: 1.55; max-width: 56ch; }

/* PROCESS — interactive stepper */
.process-stepper { background: var(--ink); color: #fff; padding: 120px 0; position: relative; overflow: hidden; }
.process-stepper::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 50%, rgba(1,170,236,0.08), transparent 60%); pointer-events: none; }
.process-stepper .container { position: relative; }
.process-stepper .head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; margin-bottom: 64px; align-items: end; }
.process-stepper .head .tag { color: var(--blue-bright); display: block; margin-bottom: 12px; }
.process-stepper .head h2 { font-size: 48px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.process-stepper .head p { color: #c8cdd9; font-size: 16px; max-width: 45ch; }

.stepper { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; padding: 20px 0 28px; margin-bottom: 32px; }
.step-track { position: absolute; top: calc(20px + 36px); left: 8%; right: 8%; height: 2px; background: var(--line-dark); border-radius: 2px; z-index: 0; }
.step-progress { position: absolute; top: calc(20px + 36px); left: 8%; height: 2px; background: linear-gradient(90deg, var(--blue), var(--blue-bright)); border-radius: 2px; z-index: 1; transition: width 0.6s cubic-bezier(.2,.7,.2,1); width: 0; box-shadow: 0 0 12px rgba(1,170,236,0.6); }

.step { background: transparent; border: none; cursor: pointer; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; z-index: 2; color: inherit; font-family: var(--sans); }
.step-circle { width: 72px; height: 72px; border-radius: 50%; background: var(--ink-2); border: 2px solid var(--line-dark); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 16px; font-weight: 600; color: var(--text-dim); letter-spacing: 0.02em; transition: all 0.4s cubic-bezier(.2,.7,.2,1); position: relative; }
.step-circle::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid transparent; transition: border-color 0.4s; }
.step.done .step-circle { background: var(--blue); border-color: var(--blue); color: #fff; }
.step.active .step-circle { background: var(--blue-bright); border-color: var(--blue-bright); color: #fff; transform: scale(1.12); box-shadow: 0 12px 32px rgba(1,170,236,0.35); }
.step.active .step-circle::after { border-color: rgba(1,170,236,0.3); animation: stepPulse 2s ease-in-out infinite; }
@keyframes stepPulse { 0%, 100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.15); opacity: 0; } }
.step:hover:not(.active) .step-circle { border-color: var(--blue-bright); color: #fff; transform: translateY(-2px); }
.step-label { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: #c8cdd9; transition: color 0.3s; }
.step.active .step-label { color: #fff; }
.step-dur { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }

.step-detail-wrap { position: relative; min-height: 220px; }
.step-detail { position: absolute; inset: 0; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 14px; padding: 36px 40px; display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: start; opacity: 0; transform: translateY(16px); transition: opacity 0.5s cubic-bezier(.2,.7,.2,1), transform 0.5s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.step-detail.active { opacity: 1; transform: none; pointer-events: auto; }
.step-detail-num { font-family: var(--mono); font-size: 96px; font-weight: 300; color: var(--blue-bright); line-height: 0.9; letter-spacing: -0.04em; opacity: 0.4; }
.step-detail-body h4 { font-size: 28px; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 14px; }
.step-detail-body p { font-size: 16px; line-height: 1.6; color: #c8cdd9; max-width: 64ch; margin-bottom: 20px; }
.step-detail-deliv { display: inline-flex; align-items: baseline; gap: 12px; padding: 12px 20px; background: rgba(1,170,236,0.08); border: 1px solid rgba(1,170,236,0.2); border-radius: 8px; font-size: 14px; color: #c8cdd9; }
.step-detail-deliv span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-bright); font-weight: 600; }

/* FOUNDER */
.founder { padding: 120px 0; background: var(--paper-2); }
.founder-top { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; margin-bottom: 96px; }
.founder-photo { position: relative; }
.founder-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 14px; box-shadow: 0 20px 60px rgba(10,14,22,0.18); display: block; }
.founder-role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); font-weight: 600; margin: -16px 0 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.founder-close { font-size: 17px; font-weight: 500; color: var(--text); margin-top: 24px; line-height: 1.5; max-width: 58ch; }
.founder-text .tag { color: var(--blue); display: block; margin-bottom: 12px; }
.founder-text h2 { font-size: 56px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; margin-bottom: 28px; }
.founder-text .lead { font-size: 20px; line-height: 1.5; color: var(--text); margin-bottom: 20px; font-weight: 500; }
.founder-text p { font-size: 16px; line-height: 1.65; color: var(--text-mid); margin-bottom: 16px; max-width: 58ch; }
.founder-signoff { margin-top: 24px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); padding-top: 20px; border-top: 1px solid var(--line); }

.team-block { }
.team-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }

/* Team marquee — horizontal infinite loop */
.team-marquee { overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 80px, #000 calc(100% - 80px), transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 80px, #000 calc(100% - 80px), transparent); padding: 8px 0; }
.team-marquee-track { display: flex; gap: 40px; width: max-content; animation: teamScroll 60s linear infinite; align-items: flex-start; }
.team-marquee:hover .team-marquee-track { animation-play-state: paused; }
@keyframes teamScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.team-marquee .tmate { flex: 0 0 180px; width: 180px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.team-marquee .tmate-avatar { width: 140px; height: 140px; flex-shrink: 0; aspect-ratio: auto; background: var(--paper-2); border: 1px solid var(--line); border-radius: 50%; margin: 0 auto 14px; overflow: hidden; transition: transform 0.3s, border-color 0.3s; }
.team-marquee .tmate:hover .tmate-avatar { transform: translateY(-4px); border-color: var(--blue); }
.team-marquee .tmate-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-marquee .tmate-name { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.team-marquee .tmate-role { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); margin-top: 4px; }

/* PRICING */
.pricing { padding: 120px 0; background: var(--paper); }
.pricing .head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.pricing .head h2 { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.pricing .head p { color: var(--text-mid); font-size: 16px; margin-top: 16px; }
.pricing .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 960px; margin: 0 auto; }
.plan { border: 1px solid var(--line); border-radius: 10px; padding: 36px; transition: transform 0.3s, box-shadow 0.3s; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(10,14,22,0.08); }
.plan.featured { border-color: var(--ink); background: var(--ink); color: #fff; }
.plan .tag { margin-bottom: 24px; }
.plan.featured .tag { color: var(--blue-bright); }
.plan h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.02em; }
.plan .price { font-size: 16px; color: var(--text-mid); margin-bottom: 28px; }
.plan.featured .price { color: #c8cdd9; }
.plan ul { list-style: none; }
.plan li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.plan.featured li { border-top-color: var(--line-dark); color: #c8cdd9; }
.plan li::before { content: '✓'; color: var(--blue); font-weight: 600; }
.plan.featured li::before { color: var(--blue-bright); }
.plan .cta { display: inline-block; margin-top: 28px; padding: 12px 20px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 14px; border: 1px solid var(--line); color: var(--text); transition: background 0.2s; }
.plan.featured .cta { background: var(--blue); color: #fff; border-color: var(--blue); }
.plan.featured .cta:hover { background: var(--blue-bright); }

/* CTA BAND + FORM */
.cta-band { padding: 120px 0; background: var(--ink); color: #fff; text-align: center; border-top: 1px solid var(--line-dark); }
.cta-band h2 { font-size: clamp(40px, 5vw, 64px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; max-width: 18ch; margin: 0 auto 24px; }
.cta-band h2 .accent { color: var(--blue-bright); }
.cta-band p { color: #c8cdd9; font-size: 17px; max-width: 52ch; margin: 0 auto 8px; }

.qform { max-width: 720px; margin: 48px auto 0; text-align: left; background: rgba(255,255,255,0.03); border: 1px solid var(--line-dark); border-radius: 12px; padding: 32px; }
.qform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.qform label { display: block; }
.qform label span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 6px; }
.qform input, .qform select, .qform textarea { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid var(--line-dark); color: #fff; padding: 10px 12px; border-radius: 6px; font-family: var(--sans); font-size: 14px; outline: none; transition: border-color 0.2s, background 0.2s; }
.qform input:focus, .qform select:focus, .qform textarea:focus { border-color: var(--blue-bright); background: rgba(1,170,236,0.05); }
.qform input::placeholder, .qform textarea::placeholder { color: #556073; }
.qform-full { display: block; margin-bottom: 16px; }
.qform-submit { background: var(--blue); color: #fff; border: none; padding: 14px 28px; border-radius: 6px; font-family: var(--sans); font-weight: 600; font-size: 14px; cursor: pointer; transition: background 0.2s; }
.qform-submit:hover { background: var(--blue-bright); }
.qform-note { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); margin-top: 16px; }

/* FOOTER */
.ftr { background: var(--ink); color: #c8cdd9; padding: 48px 0 32px; border-top: 1px solid var(--line-dark); }
.ftr .row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; gap: 24px; flex-wrap: wrap; }
.ftr img { height: 20px; filter: brightness(0) invert(1); opacity: 0.8; }
.ftr .links { display: flex; gap: 24px; }
.ftr a { color: var(--text-dim); text-decoration: none; }
.ftr a:hover { color: #fff; }

/* Hamburger + mobile nav ----------------------------- */
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 60;
}
.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #c8cdd9;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
body.nav-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .menu-btn span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.nav-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10,14,22,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 49;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  overflow-y: auto;
}
body.nav-open .mobile-nav { display: flex; }
body.nav-open { overflow: hidden; }
.mobile-nav a {
  color: #c8cdd9;
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.02em;
  font-family: var(--sans);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: #fff; }
.mobile-nav .mobile-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 16px;
  margin-top: 8px;
}
.mobile-nav .mobile-cta:hover { background: var(--blue-bright); }

/* Responsive */
@media (max-width: 960px) {
  .hdr nav, .hdr .cta { display: none; }
  .menu-btn { display: flex; }
  .hero-C-grid { grid-template-columns: repeat(2, 1fr); }
  .hc-cell:nth-child(2n) { border-right: none; }
  .hc-cell:nth-child(4n) { border-right: 1px solid var(--line-dark); }
  .cases .grid, .services .grid, .pricing .grid, .hero-B-foot, .founder-top, .cases .head, .process-stepper .head { grid-template-columns: 1fr !important; gap: 24px; }
  .commit { grid-template-columns: 1fr; gap: 12px; }
  .stepper { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .step-circle { width: 56px; height: 56px; font-size: 14px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { padding: 60px 0 80px; }
  .hero-C-top { margin-bottom: 40px; }
  .hc-big { font-size: 40px; }
  .hc-cell { padding: 24px 14px; }
  .cases, .services, .guarantees, .process-stepper, .founder, .pricing, .cta-band { padding: 80px 0; }
  .case .metrics { grid-template-columns: 1fr 1fr; }
  .stepper { grid-template-columns: repeat(2, 1fr); padding: 16px 0 20px; }
  .step-circle { width: 48px; height: 48px; font-size: 12px; }
  .step-label { font-size: 11px; }
  .step-dur { display: none; }
  .step-track, .step-progress { left: 4%; right: 4%; }
  .step-detail-wrap { min-height: 0; }
  .step-detail { position: relative; inset: auto; padding: 24px 20px; grid-template-columns: 1fr; gap: 12px; opacity: 1; transform: none; pointer-events: auto; }
  .step-detail:not(.active) { display: none; }
  .step-detail-num { font-size: 56px; opacity: 0.3; line-height: 1; }
  .step-detail-body h4 { font-size: 22px; }
  .step-detail-body p { font-size: 15px; }
  .commit-num { font-size: 36px; }
  .founder-text h2 { font-size: 40px; }
  .svc { padding: 32px 24px; }
  .plan { padding: 28px 24px; }
  .marquee-section { padding: 28px 0 36px; }
}
