/* DCM Partner — design tokens */
:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #FAFAFA;
  --bg-tertiary: #F4F4F8;
  --bg-pastel-violet: #F3F0FF;
  --bg-pastel-cyan: #E0FAFA;
  --bg-pastel-rose: #FFE4F0;
  --border: #E4E4E7;
  --border-strong: #D4D4D8;
  --text-primary: #0A0A1F;
  --text-secondary: #3F3F52;
  --text-muted: #71717A;
  --accent-primary: #1E40AF;
  --accent-primary-hover: #1D4ED8;
  --accent-violet: #7C5CFF;
  --accent-cyan: #06B6D4;
  --accent-pastel-violet: #C4B5FD;
  --accent-pastel-cyan: #A5F3FC;
  --success: #16A34A;
  --gradient-hero: linear-gradient(135deg, #7C5CFF 0%, #06B6D4 100%);
  --shadow-card: 0 1px 2px rgba(10,10,31,0.04), 0 4px 16px rgba(124,92,255,0.06);
  --shadow-card-hover: 0 4px 8px rgba(10,10,31,0.04), 0 16px 32px rgba(124,92,255,0.10);
  --shadow-cta: 0 0 0 4px rgba(196,181,253,0.25);
  --shadow-cta-hover: 0 4px 16px rgba(30,64,175,0.20), 0 0 0 6px rgba(196,181,253,0.30);
  --container: 1200px;
  --space-pad: 96px;
  --radius-card: 20px;
  --radius-btn: 8px;
  --font-display: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

[data-density="airy"]   { --space-pad: 128px; }
[data-density="compact"]{ --space-pad: 64px; }

[data-pastel="none"]   { --bg-pastel-violet: #FFFFFF; --bg-pastel-cyan: #FFFFFF; --bg-pastel-rose: #FFFFFF; }
[data-pastel="bold"]   { --bg-pastel-violet: #E9E2FF; --bg-pastel-cyan: #C8F3F3; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg-primary); color: var(--text-primary); }
body { font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
section { padding: var(--space-pad) 0; position: relative; }
.section-tag { display: inline-block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-primary); padding: 6px 12px; background: var(--bg-pastel-violet); border-radius: 999px; margin-bottom: 24px; }
.h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 7vw, 88px); line-height: 1.04; letter-spacing: -0.025em; color: var(--text-primary); }
.h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.08; letter-spacing: -0.02em; color: var(--text-primary); }
.h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; letter-spacing: -0.01em; }
.body-lg { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.55; color: var(--text-secondary); }
.body { color: var(--text-secondary); }
.muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); }
.gradient-text { background: var(--gradient-hero); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: var(--radius-btn); font-weight: 500; font-size: 15px; transition: all .2s ease; white-space: nowrap; }
.btn-primary { background: var(--accent-primary); color: #fff; box-shadow: var(--shadow-cta); }
.btn-primary:hover { background: var(--accent-primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-cta-hover); }
.btn-secondary { background: #fff; color: var(--text-primary); border: 1px solid var(--border-strong); }
.btn-secondary:hover { background: var(--bg-pastel-violet); }
.btn-ghost { color: var(--accent-primary); }
.btn-ghost:hover { background: var(--bg-pastel-violet); }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 68px; display: flex; align-items: center; transition: all .25s ease; }
.nav.scrolled { background: rgba(255,255,255,0.82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--text-secondary); }
.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--text-primary); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; background: var(--bg-tertiary); border-radius: 999px; padding: 3px; font-size: 12px; font-family: var(--font-mono); }
.lang-switch button { padding: 4px 10px; border-radius: 999px; color: var(--text-muted); transition: all .15s ease; }
.lang-switch button.active { background: #fff; color: var(--text-primary); box-shadow: 0 1px 2px rgba(10,10,31,.06); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--text-primary); }
.logo-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--accent-primary); position: relative; }
.logo-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 999px; background: var(--accent-primary); opacity: 0.35; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(0.8); opacity: 0.35; } 50% { transform: scale(1.6); opacity: 0; } }

/* Hero */
.hero { min-height: 100vh; padding-top: 140px; padding-bottom: 80px; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-orbs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.7; }
.orb.violet { background: radial-gradient(circle, var(--accent-pastel-violet) 0%, transparent 70%); width: 520px; height: 520px; top: -120px; left: -180px; animation: drift 18s ease-in-out infinite alternate; }
.orb.cyan { background: radial-gradient(circle, var(--accent-pastel-cyan) 0%, transparent 70%); width: 440px; height: 440px; top: 40%; right: -140px; animation: drift2 22s ease-in-out infinite alternate; }
.orb.rose { background: radial-gradient(circle, #FFD0E5 0%, transparent 70%); width: 320px; height: 320px; bottom: -60px; left: 30%; animation: drift 26s ease-in-out infinite alternate; opacity: 0.5; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(80px, 60px) scale(1.1); } }
@keyframes drift2 { from { transform: translate(0,0) scale(1); } to { transform: translate(-60px, -80px) scale(1.05); } }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); letter-spacing: 0.08em; margin-bottom: 24px; padding: 6px 12px; background: rgba(255,255,255,0.6); border: 1px solid var(--border); border-radius: 999px; backdrop-filter: blur(6px); }
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--success); box-shadow: 0 0 0 3px rgba(22,163,74,0.18); }
.hero h1 { margin-bottom: 28px; }
.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(20px); animation: rise 0.7s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
.cursor { display: inline-block; width: 4px; height: 0.85em; background: var(--accent-primary); margin-left: 6px; vertical-align: -2px; animation: blink 1.05s steps(2) infinite; border-radius: 1px; }
@keyframes blink { 50% { opacity: 0; } }
.hero p.body-lg { margin-bottom: 36px; max-width: 560px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

[data-hero="centered"] .hero-grid { grid-template-columns: 1fr; text-align: center; }
[data-hero="centered"] .hero p.body-lg { margin-left: auto; margin-right: auto; }
[data-hero="centered"] .hero-ctas { justify-content: center; }
[data-hero="centered"] .hero-visual { display: none; }
[data-hero="editorial"] .hero-grid { grid-template-columns: 1fr; }
[data-hero="editorial"] .hero h1 { font-size: clamp(56px, 11vw, 140px); letter-spacing: -0.04em; line-height: 0.96; }
[data-hero="editorial"] .hero-visual { display: none; }
[data-hero="editorial"] .hero-orbs { opacity: 0.4; }

/* Hero agent visual */
.agent-visual { position: relative; width: 100%; height: 440px; }
.agent-card { position: absolute; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-card); font-size: 13px; min-width: 220px; }
.agent-card .agent-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.agent-card .agent-icon { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.agent-card .agent-name { font-family: var(--font-mono); font-size: 12px; color: var(--text-primary); font-weight: 500; }
.agent-card .agent-status { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--success); display: inline-flex; align-items: center; gap: 6px; }
.agent-card .agent-status::before { content:''; width: 6px; height: 6px; border-radius: 999px; background: var(--success); }
.agent-card .agent-task { color: var(--text-secondary); font-size: 13px; line-height: 1.4; }
.agent-card .agent-meta { margin-top: 10px; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.agent-card.a1 { top: 10px; left: 10px; animation: float 6s ease-in-out infinite; }
.agent-card.a2 { top: 130px; right: 10px; animation: float 7s ease-in-out infinite 0.6s; }
.agent-card.a3 { bottom: 30px; left: 50px; animation: float 8s ease-in-out infinite 1.2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.agent-link { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-pastel-violet), transparent); }
.agent-link.l1 { top: 70px; left: 230px; right: 230px; }
.agent-link.l2 { top: 200px; left: 80px; right: 280px; }

/* Section headers */
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head .body-lg { margin-top: 16px; }

/* Cards */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); padding: 32px; transition: all .25s ease; box-shadow: var(--shadow-card); }
.card:hover { transform: translateY(-4px); border-color: var(--accent-pastel-violet); box-shadow: var(--shadow-card-hover); }
.card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-pastel-violet); color: var(--accent-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card h3 { margin-bottom: 8px; font-family: var(--font-display); font-weight: 600; font-size: 22px; }

.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Servicios expandible */
.svc-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px 32px; transition: all .25s ease; cursor: pointer; }
.svc-card:hover { border-color: var(--accent-pastel-violet); box-shadow: var(--shadow-card); }
.svc-card.open { border-color: var(--accent-pastel-violet); box-shadow: var(--shadow-card-hover); background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--bg-pastel-violet) 200%); }
.svc-head { display: flex; align-items: center; gap: 20px; }
.svc-num { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); min-width: 32px; }
.svc-title { font-family: var(--font-display); font-weight: 600; font-size: 24px; flex: 1; }
.svc-sub { color: var(--text-secondary); margin-top: 6px; font-size: 15px; }
.svc-chev { width: 36px; height: 36px; border-radius: 999px; background: var(--bg-tertiary); display: flex; align-items: center; justify-content: center; transition: transform .3s ease; flex-shrink: 0; }
.svc-card.open .svc-chev { transform: rotate(180deg); background: var(--bg-pastel-violet); }
.svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.svc-card.open .svc-body { grid-template-rows: 1fr; }
.svc-body-inner { overflow: hidden; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--border); }
.svc-item { display: flex; gap: 12px; padding: 8px 0; }
.svc-item-icon { color: var(--accent-violet); flex-shrink: 0; margin-top: 3px; }
.svc-item-title { font-weight: 500; color: var(--text-primary); font-size: 15px; }
.svc-item-desc { color: var(--text-muted); font-size: 14px; }

/* Industrias */
.chips { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-size: 16px; font-weight: 500; transition: all .2s ease; border: 1px solid transparent; }
.chip.standard { background: var(--bg-tertiary); color: var(--text-primary); }
.chip.featured { background: var(--bg-pastel-violet); color: var(--accent-primary); padding: 18px 28px; font-size: 17px; }
.chip.featured .chip-meta { font-family: var(--font-mono); font-size: 11px; color: var(--accent-violet); margin-left: 6px; padding: 3px 8px; background: rgba(124,92,255,0.12); border-radius: 999px; }
.chip.ghost { background: transparent; border-color: var(--border-strong); color: var(--text-muted); }
.chip:hover { transform: translateY(-2px); }

/* Método */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before { content: ''; position: absolute; top: 36px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, var(--accent-pastel-violet), var(--accent-pastel-cyan)); z-index: 0; }
.step { position: relative; z-index: 1; }
.step-num { width: 56px; height: 56px; border-radius: 999px; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--accent-primary); margin-bottom: 20px; box-shadow: var(--shadow-card); }
.step h3 { margin-bottom: 6px; font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.step .duration { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); margin-bottom: 12px; display: block; }

/* Caso */
.case { background: var(--bg-pastel-violet); border-radius: 28px; padding: 64px; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.partners { display: flex; flex-direction: column; gap: 18px; }
.partner { display: flex; align-items: center; gap: 20px; background: rgba(255,255,255,0.7); border: 1px solid rgba(124,92,255,0.14); border-radius: 16px; padding: 20px 24px; transition: all .25s ease; }
.partner:hover { background: #fff; transform: translateY(-2px); }
.partner-logo { width: 96px; height: 56px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner-name { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--text-primary); }
.partner-note { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.partner-foot { font-size: 11px; color: var(--text-muted); margin-top: 4px; line-height: 1.5; }
.metric { padding: 24px 0; border-bottom: 1px solid rgba(124,92,255,0.18); }
.metric:last-child { border-bottom: 0; }
.metric .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.03em; background: var(--gradient-hero); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric .lbl { font-size: 15px; color: var(--text-secondary); margin-top: 8px; }

/* Orchestra (PMO + agents) */
.orchestra { margin-top: 28px; padding: 24px; background: rgba(255,255,255,0.6); border-radius: 16px; border: 1px solid rgba(124,92,255,0.14); }
.orch-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.orch-pmo { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: linear-gradient(135deg, var(--accent-violet), var(--accent-cyan)); color: #fff; border-radius: 12px; box-shadow: 0 8px 22px rgba(124,92,255,0.25); }
.orch-pmo .orch-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.orch-pmo .orch-name { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: #fff; letter-spacing: -0.01em; }
.orch-pmo .orch-role { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.85); margin-top: 1px; }
.orch-desc { font-size: 13px; color: var(--text-secondary); margin: 12px 18px 0; line-height: 1.5; }
.orch-stem { width: 2px; height: 28px; background: linear-gradient(180deg, var(--accent-pastel-violet), var(--accent-pastel-cyan)); margin: 8px auto 6px; border-radius: 1px; }
.orch-tier-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; text-align: center; margin-bottom: 10px; }
.orch-agents { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: relative; }
.orch-agents::before { content: ''; position: absolute; top: -10px; left: 25%; right: 25%; height: 1px; background: var(--accent-pastel-violet); }
.orch-agent { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; transition: all .2s ease; position: relative; }
.orch-agent::before { content: ''; position: absolute; top: -10px; left: 50%; width: 1px; height: 10px; background: var(--accent-pastel-violet); }
.orch-agent:hover { border-color: var(--accent-pastel-violet); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(124,92,255,0.10); }
.orch-agent-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.orch-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--success); box-shadow: 0 0 0 3px rgba(22,163,74,0.18); }
.orch-agent-head .orch-name { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--text-primary); }
.orch-agent-role { font-size: 12px; color: var(--text-muted); line-height: 1.45; margin-bottom: 6px; }
.orch-agent-status { font-size: 10px; color: var(--success); letter-spacing: 0.08em; text-transform: uppercase; }

/* Insights */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-link { display: block; color: inherit; text-decoration: none; }
.post { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; transition: all .25s ease; cursor: pointer; height: 100%; }
.post-link:hover .post { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--accent-pastel-violet); }
.post-img { height: 200px; background: linear-gradient(135deg, var(--bg-pastel-violet), var(--bg-pastel-cyan)); position: relative; overflow: hidden; }
.post-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.post-img.alt2 { background: linear-gradient(135deg, var(--bg-pastel-cyan), var(--bg-pastel-rose)); }
.post-img.alt3 { background: linear-gradient(135deg, var(--bg-pastel-rose), var(--bg-pastel-violet)); }
.post-img::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), transparent 60%); pointer-events: none; opacity: 0; }
.post-body { padding: 24px; }
.post-cat { font-family: var(--font-mono); font-size: 11px; color: var(--accent-primary); text-transform: uppercase; letter-spacing: 0.08em; }
.post h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; margin: 10px 0 14px; line-height: 1.3; }
.post-meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }

/* CTA final */
.cta-final { background: linear-gradient(135deg, var(--bg-pastel-violet), var(--bg-pastel-cyan)); padding: 96px 64px; border-radius: 32px; text-align: center; position: relative; overflow: hidden; }
.cta-final::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(124,92,255,0.18), transparent 70%); border-radius: 50%; }
.cta-final::after { content: ''; position: absolute; bottom: -80px; left: -80px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(6,182,212,0.18), transparent 70%); border-radius: 50%; }
.cta-final > * { position: relative; z-index: 1; }
.cta-final h2 { margin-bottom: 16px; }
.cta-final p { max-width: 540px; margin: 0 auto 32px; }
.cta-email { display: block; margin-top: 20px; font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); }
.cta-email a { color: var(--accent-primary); }

/* Footer */
.footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text-secondary); }
.footer-col a:hover { color: var(--text-primary); }
.footer-tag { color: var(--text-muted); font-size: 14px; margin-top: 14px; max-width: 240px; line-height: 1.5; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }
.footer-bottom .legal { display: flex; gap: 20px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-display); font-weight: 500; font-size: 19px; color: var(--text-primary); }
.faq-q .icon { width: 28px; height: 28px; flex-shrink: 0; transition: transform .25s ease; color: var(--text-muted); }
.faq-item.open .faq-q .icon { transform: rotate(45deg); color: var(--accent-primary); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 0 24px; color: var(--text-secondary); max-width: 700px; }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(10,10,31,0.5); backdrop-filter: blur(6px); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal { background: #fff; border-radius: 24px; max-width: 720px; width: 100%; max-height: 90vh; overflow: auto; box-shadow: 0 30px 80px rgba(10,10,31,0.25); animation: rise .3s cubic-bezier(.2,.7,.2,1); }
.modal-head { padding: 28px 32px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal-head h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin-bottom: 6px; }
.modal-close { width: 36px; height: 36px; border-radius: 999px; background: var(--bg-tertiary); display: flex; align-items: center; justify-content: center; }
.modal-body { padding: 28px 32px; }
.cal-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.cal-month { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.cal-month button { width: 28px; height: 28px; border-radius: 999px; background: var(--bg-tertiary); display: flex; align-items: center; justify-content: center; }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); margin-bottom: 8px; text-align: center; }
.cal-cells { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-cell { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 13px; border-radius: 8px; font-family: var(--font-mono); transition: all .15s ease; }
.cal-cell.empty { visibility: hidden; }
.cal-cell.disabled { color: var(--text-muted); opacity: 0.4; }
.cal-cell.avail { color: var(--text-primary); background: var(--bg-tertiary); cursor: pointer; }
.cal-cell.avail:hover { background: var(--bg-pastel-violet); }
.cal-cell.selected { background: var(--accent-primary); color: #fff; }
.cal-times { display: flex; flex-direction: column; gap: 8px; }
.cal-times h4 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 4px; }
.cal-time { padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; font-family: var(--font-mono); font-size: 14px; cursor: pointer; transition: all .15s ease; text-align: center; }
.cal-time:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.cal-time.picked { background: var(--accent-primary); color: #fff; border-color: var(--accent-primary); }
.cal-confirm { margin-top: 24px; padding: 20px; background: var(--bg-pastel-violet); border-radius: 14px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
  :root { --space-pad: 64px; }
  .hero { min-height: auto; padding-top: 120px; }
  .hero-grid, .three-col, .case-grid, .footer-grid, .posts, .cal-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps::before { display: none; }
  .nav-links { display: none; }
  .case { padding: 36px 24px; }
  .cta-final { padding: 64px 24px; }
  .footer-grid { gap: 28px; }
  .agent-visual { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
}
