/* ═══════════════════════════════════════════════════════════════
   SOLVAGENCE AGENCY — SECTIONS v3
   ═══════════════════════════════════════════════════════════════ */

/* ══ HERO ════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;   /* fallback for Android Chrome <108, iOS Safari <15.4 */
  min-height: 100svh;  /* preferred: adjusts for mobile browser chrome */
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 80px;
  /* Critical: push content below both announce bar + nav */
  padding-top: calc(var(--announce-h) + var(--nav-h) + 20px);
}

.hero-bg-grid     { z-index: 0; }
.hero-blob-blue   { width: 900px; height: 900px; top: -300px; right: -200px; }
.hero-blob-teal   { width: 500px; height: 500px; bottom: 0; left: -100px; }
.hero-veil        {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, var(--bg-void) 0%, rgba(3,8,18,.5) 55%, transparent 100%);
}

.hero-inner { position: relative; z-index: 2; }

.hero-eyebrow-row {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 32px;
  animation: fadeUp .7s var(--ease-out) both;
}
.hero-divider-v { width: 1px; height: 18px; background: var(--bd-default); }

/* Hero headline with clip-path reveal words */
.hero-h1 {
  font-family: var(--f-display);
  font-size: clamp(4rem, 8.5vw, 9.5rem);
  font-weight: 300; line-height: 1.0;
  letter-spacing: -.03em;
  color: var(--tx-200);
  margin-bottom: 36px;
  overflow: hidden;
}
.hero-h1 em         { font-style: italic; color: var(--sv-teal-500); }
.hero-h1 .blue-em   { font-style: normal; color: var(--sv-blue-400); }
.hero-h1-row { overflow: hidden; }
.hero-h1-word {
  display: inline-block;
  animation: wordReveal .9s var(--ease-out) both;
}
.hero-h1-row:nth-child(1) .hero-h1-word { animation-delay: .1s; }
.hero-h1-row:nth-child(2) .hero-h1-word { animation-delay: .22s; }
.hero-h1-row:nth-child(3) .hero-h1-word { animation-delay: .34s; }
@keyframes wordReveal {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* Typewriter sub */
.hero-sub-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  animation: fadeUp .8s .44s var(--ease-out) both;
}
.hero-desc {
  font-size: 1rem; color: var(--tx-400);
  max-width: 520px; line-height: 1.85;
}
.hero-desc strong { color: var(--tx-300); font-weight: 400; }
.hero-typewriter {
  font-family: var(--f-mono);
  font-size: .78rem; color: var(--sv-teal-400);
  margin-top: 12px;
}
.hero-typewriter::after {
  content: '|'; animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0;} }

.hero-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

/* Stats bar */
.hero-stats {
  margin-top: 64px; padding-top: 44px;
  border-top: 1px solid var(--bd-subtle);
  display: grid; grid-template-columns: repeat(4,1fr);
  animation: fadeUp .8s .56s var(--ease-out) both;
}
.hero-stat { padding: 0 36px; border-right: 1px solid var(--bd-subtle); }
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child  { border-right: none; }
.hero-stat-val {
  font-family: var(--f-display);
  font-size: 2.6rem; font-weight: 300; line-height: 1;
  letter-spacing: -.02em;
  background: var(--g-brand-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-name {
  font-family: var(--f-heading);
  font-size: .68rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--tx-200); margin-top: 9px;
}
.hero-stat-note { font-size: .75rem; color: var(--tx-400); margin-top: 4px; line-height: 1.45; }

/* Scroll hint */
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--f-heading);
  font-size: .58rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--tx-500);
  animation: fadeUp 1s .9s var(--ease-out) both;
}
.scroll-line {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, var(--sv-teal-500), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ══ ABOUT ════════════════════════════════════════════════════ */
#about { background: var(--bg-surface); }
.about-badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 28px; }
.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--bd-subtle); margin-top: 40px; }
.pillar {
  background: var(--bg-raised); padding: 24px 22px;
  transition: background var(--dur-sm);
}
.pillar:hover { background: var(--bg-overlay); }
.pillar-icon { font-size: 1.2rem; margin-bottom: 12px; }
.pillar-name {
  font-family: var(--f-heading);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--sv-teal-500); margin-bottom: 8px;
}
.pillar-text { font-size: .8rem; color: var(--tx-400); line-height: 1.7; }

.reg-block {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--bd-blue); background: var(--color-primary-ghost);
  margin-bottom: 28px;
}
.reg-flag { font-size: 1.5rem; }
.reg-label { font-family: var(--f-heading); font-size: .6rem; font-weight: 600; letter-spacing:.2em; text-transform:uppercase; color:var(--tx-400); }
.reg-value { font-family: var(--f-heading); font-size: .78rem; font-weight: 700; color: var(--tx-200); margin-top: 3px; }

.about-visual-wrap {
  padding: 2px;
  background: linear-gradient(135deg, var(--sv-blue-600), rgba(0,201,167,.3) 50%, transparent);
}
.about-visual-inner {
  background: var(--bg-raised); padding: 44px;
  position: relative; overflow: hidden;
}
.about-visual-inner::before {
  content: ''; position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(38,80,232,.10) 0%, transparent 70%);
  pointer-events: none;
}

/* ══ AI SPOTLIGHT ═══════════════════════════════════════════ */
#ai-spotlight { background: var(--bg-base); }
.ai-frame {
  border: 1px solid var(--bd-blue);
  background: var(--g-brand-subtle);
  padding: 80px; position: relative; overflow: hidden;
}
.ai-frame-wm {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  font-family: var(--f-display); font-size: 22rem; font-weight: 300;
  color: rgba(38,80,232,.03); pointer-events: none; line-height: 1;
  letter-spacing: -.05em; white-space: nowrap; user-select: none;
}
.ai-steps { display: flex; flex-direction: column; gap: 24px; margin-top: 36px; }
.ai-step  { display: flex; gap: 18px; align-items: flex-start; }
.ai-step-num { font-family: var(--f-display); font-size: 1.5rem; font-weight: 300; color: var(--sv-blue-400); line-height: 1; min-width: 30px; }
.ai-step-title { font-family: var(--f-heading); font-size: .72rem; font-weight: 700; letter-spacing:.1em; text-transform:uppercase; color:var(--tx-200); margin-bottom: 5px; }
.ai-step-text  { font-size: .85rem; color: var(--tx-400); line-height: 1.75; }
.ai-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--bd-subtle); }
.ai-metric {
  background: var(--bg-surface); padding: 32px 28px; text-align: center;
  transition: background var(--dur-sm);
}
.ai-metric:hover { background: var(--bg-raised); }
.ai-metric-val {
  font-family: var(--f-display); font-size: 2.8rem; font-weight: 300; line-height: 1;
  background: var(--g-brand-text); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.ai-metric-label { font-family: var(--f-heading); font-size: .62rem; font-weight: 500; letter-spacing:.16em; text-transform:uppercase; color:var(--tx-400); margin-top: 10px; line-height: 1.55; }

/* ══ METHODOLOGY ════════════════════════════════════════════ */
#methodology { background: var(--bg-surface); }
.method-stepper { display: flex; flex-direction: column; }
.method-step {
  display: flex; gap: 0; cursor: pointer;
  transition: opacity var(--dur-sm);
}
.method-track {
  display: flex; flex-direction: column; align-items: center;
  padding-right: 24px; padding-top: 2px;
}
.method-dot {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--bd-default); background: var(--bg-raised);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: 1.05rem; font-weight: 300;
  color: var(--tx-400);
  transition: all var(--dur-sm) var(--ease-out); flex-shrink: 0; z-index: 1;
}
.method-step:hover .method-dot,
.method-step.is-active .method-dot {
  border-color: var(--sv-blue-500); color: var(--sv-blue-400);
  background: var(--color-primary-ghost);
  box-shadow: 0 0 24px rgba(38,80,232,.25);
}
.method-line { width:1px; flex:1; min-height:32px; background:var(--bd-subtle); margin:4px 0; }
.method-step:last-child .method-line { display:none; }
.method-content { padding: 4px 0 36px; }
.method-label {
  font-family: var(--f-heading); font-size: .72rem; font-weight: 600;
  letter-spacing:.12em; text-transform:uppercase; color:var(--tx-400);
  transition: color var(--dur-sm);
}
.method-step:hover .method-label,
.method-step.is-active .method-label { color: var(--sv-teal-500); }
.method-sublabel { font-size: .75rem; color: var(--tx-500); margin-top: 3px; }

.method-panel { background:var(--bg-raised); border:1px solid var(--bd-subtle); padding:44px; display:none; }
.method-panel.is-active { display: block; animation: fadeUp .4s var(--ease-out) both; }
.method-panel-title {
  font-family: var(--f-display);
  font-size: 2.1rem; font-weight: 300; color: var(--tx-200); line-height: 1.2; margin: 16px 0 18px;
}
.method-panel-title em { font-style: italic; color: var(--sv-teal-500); }
.method-panel-text { font-size: .9rem; color: var(--tx-400); line-height: 1.85; }
.method-deliverables { margin-top: 28px; display: flex; flex-direction: column; gap: 11px; }
.method-dl { display: flex; align-items: center; gap: 14px; font-size: .85rem; color: var(--tx-300); }
.method-dl::before { content:''; width:22px; height:1px; background:var(--g-brand); flex-shrink:0; }

/* ══ ASSESSMENTS ════════════════════════════════════════════ */
#assessments { background: var(--bg-base); }
.assess-grid { display: grid; grid-template-columns: repeat(4,1fr); gap:1px; background:var(--bd-subtle); }
.assess-card {
  background: var(--bg-surface); padding: 36px 28px;
  position: relative; overflow: hidden; transition: background var(--dur-sm);
}
.assess-card:hover { background: var(--bg-raised); }
.assess-card::after {
  content: ''; position:absolute; top:0; left:0; right:0; height:2px;
  background: var(--g-brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-md) var(--ease-out);
}
.assess-card:hover::after { transform: scaleX(1); }
.assess-icon { font-size: 1.4rem; margin-bottom: 18px; display: block; }
.assess-title {
  font-family: var(--f-heading); font-size: .72rem; font-weight: 700;
  letter-spacing:.12em; text-transform:uppercase; color:var(--tx-200); margin-bottom: 12px;
}
.assess-desc { font-size: .82rem; color: var(--tx-400); line-height: 1.75; }
.assess-list { margin-top: 20px; display: flex; flex-direction: column; gap: 9px; }
.assess-li { display: flex; align-items: center; gap: 12px; font-size: .78rem; color: var(--tx-400); }
.assess-li::before { content:''; width:12px; height:1px; background:var(--sv-teal-600); flex-shrink:0; }

/* ══ INDUSTRIES ═════════════════════════════════════════════ */
#industries { background: var(--bg-surface); }
.ind-grid { display: grid; grid-template-columns: repeat(3,1fr); gap:1px; background:var(--bd-subtle); }
.ind-card {
  background: var(--bg-surface); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background var(--dur-sm); position: relative;
}
.ind-card:hover { background: var(--bg-raised); }
.ind-icon { font-size: 1.6rem; }
.ind-name { font-family: var(--f-heading); font-size: .75rem; font-weight: 700; letter-spacing:.1em; text-transform:uppercase; color:var(--tx-200); }
.ind-desc { font-size: .82rem; color: var(--tx-400); line-height: 1.65; }
.ind-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ══ WHY ════════════════════════════════════════════════════ */
#why { background: var(--bg-base); }
.diff-list { display: flex; flex-direction: column; gap: 18px; }
.diff-item {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 24px 26px; border: 1px solid var(--bd-subtle); background: var(--bg-surface);
  transition: all var(--dur-sm) var(--ease-out);
}
.diff-item:hover { border-color: var(--bd-blue); background: var(--color-primary-ghost); transform: translateX(4px); }
.diff-num { font-family: var(--f-display); font-size: 2rem; font-weight: 300; color: var(--sv-blue-600); line-height: 1; min-width: 36px; }
.diff-title { font-family: var(--f-heading); font-size: .72rem; font-weight: 700; letter-spacing:.12em; text-transform:uppercase; color:var(--tx-200); margin-bottom: 8px; }
.diff-text  { font-size: .85rem; color: var(--tx-400); line-height: 1.75; }

.quote-wrap { padding: 2px; background: linear-gradient(135deg, var(--sv-blue-600), rgba(0,201,167,.3) 60%, transparent); }
.quote-inner { background: var(--bg-raised); padding: 48px; }
.quote-mark { font-family: var(--f-display); font-size: 5rem; font-weight: 300; color: var(--sv-blue-400); line-height: .8; display: block; margin-bottom: 16px; }
.quote-text { font-family: var(--f-display); font-size: 1.5rem; font-weight: 300; font-style: italic; color: var(--tx-200); line-height: 1.55; }
.quote-attr { margin-top: 24px; font-family: var(--f-heading); font-size: .6rem; font-weight: 500; letter-spacing:.2em; text-transform:uppercase; color:var(--tx-400); }

.engage-box { margin-top: 28px; padding: 28px; border: 1px solid var(--bd-subtle); background: var(--bg-surface); }
.engage-head { font-family: var(--f-heading); font-size: .62rem; font-weight: 700; letter-spacing:.22em; text-transform:uppercase; color:var(--sv-teal-500); margin-bottom: 18px; }
.engage-list { display: flex; flex-direction: column; gap: 11px; }
.engage-item { display: flex; align-items: center; gap: 14px; font-size: .85rem; color: var(--tx-300); }
.engage-item::before { content:''; width:22px; height:1px; background:var(--g-brand); flex-shrink:0; }

/* ══ CTA ════════════════════════════════════════════════════ */
#cta { background: var(--bg-base); text-align: center; position: relative; overflow: hidden; }
.cta-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(38,80,232,.10) 0%, rgba(0,201,167,.05) 45%, transparent 70%);
}
.cta-rule-top, .cta-rule-bottom {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--sv-blue-500) 35%, var(--sv-teal-500) 65%, transparent 100%);
}
.cta-rule-top  { top: 0; }
.cta-rule-bottom { bottom: 0; }

.cta-h2 {
  font-family: var(--f-display);
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-weight: 300; line-height: 1.04; letter-spacing: -.03em;
  color: var(--tx-200); margin-bottom: 28px;
}
.cta-h2 em { font-style: italic; color: var(--sv-teal-500); }
.cta-desc { font-size: 1rem; color: var(--tx-400); max-width: 480px; margin: 0 auto 44px; line-height: 1.85; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; }
.cta-meta { margin-top: 40px; display: flex; align-items: center; justify-content: center; gap: 32px; }
.cta-meta-item { display: flex; align-items: center; gap: 9px; font-family: var(--f-heading); font-size: .62rem; font-weight: 500; letter-spacing:.16em; text-transform:uppercase; color:var(--tx-400); }
.cta-meta-dot  { width:5px; height:5px; border-radius:50%; background:var(--sv-teal-500); flex-shrink:0; }

/* ══ CONTACT ════════════════════════════════════════════════ */
#contact { background: var(--bg-surface); }
.contact-info { display: flex; flex-direction: column; gap: 22px; margin-top: 32px; }
.ci-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.ci-label { font-family: var(--f-heading); font-size: .6rem; font-weight: 600; letter-spacing:.22em; text-transform:uppercase; color:var(--sv-teal-600); margin-bottom: 4px; }
.ci-val   { font-size: .88rem; color: var(--tx-300); line-height: 1.65; }
.ci-link  { font-size: .88rem; color: var(--sv-blue-400); transition: color var(--dur-xs); }
.ci-link:hover { color: var(--sv-teal-500); }
