/* ============================================================
   JYAM — Global Stylesheet  v2
   Change With Intent.
   ============================================================ */

:root {
  --bg:        #060606;
  --surface:   #0d0d0d;
  --surface2:  #141414;
  --border:    #1c1c1c;
  --border2:   #272727;
  --text:      #EEECEA;
  --text-dim:  #a8a8a4;
  --muted:     #5a5a58;
  --accent:    #C8FA5F;
  --accent-h:  #aee048;
  --radius:    2px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { background: var(--bg); color: var(--text); font-family: 'DM Sans', sans-serif; overflow-x: hidden; }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5 { font-family: 'Syne', sans-serif; line-height: 1.0; letter-spacing: -0.03em; font-weight: 800; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent);
}
.section-eyebrow::before {
  content: ''; width: 24px; height: 1px;
  background: var(--accent); flex-shrink: 0;
}

/* ============ LAYOUT ============ */
.container { max-width: 1320px; margin: 0 auto; padding: 0 2.5rem; }
@media (max-width: 640px) { .container { padding: 0 1.25rem; } }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  padding: 0 2.5rem; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6,6,6,0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.125rem; font-weight: 800; letter-spacing: 0.14em;
  color: var(--text); z-index: 301; flex-shrink: 0;
}

.nav-links {
  display: flex; align-items: center; gap: 0;
  position: absolute; left: 50%; transform: translateX(-50%);
}

.nav-item { position: relative; }

.nav-link {
  position: relative; padding: 0 1rem; height: 64px;
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.82rem; font-weight: 500; color: var(--muted);
  transition: color 0.2s; white-space: nowrap; cursor: pointer;
}
.nav-link:hover, .nav-link.active { color: var(--text); }

.nav-chevron { width: 11px; height: 11px; transition: transform 0.25s; flex-shrink: 0; opacity: 0.55; }
.nav-item:hover .nav-chevron { transform: rotate(180deg); opacity: 1; }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: calc(100% - 2px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 256px; background: var(--surface);
  border: 1px solid var(--border2); border-radius: 4px;
  padding: 0.4rem; opacity: 0; pointer-events: none;
  transition: opacity 0.22s, transform 0.22s; z-index: 500;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
}
.nav-item:hover .nav-dropdown { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }

.nav-dd-item {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 0.75rem 0.875rem; border-radius: 3px;
  font-size: 0.82rem; color: var(--text-dim);
  transition: background 0.15s, color 0.15s;
}
.nav-dd-item:hover { background: var(--surface2); color: var(--text); }
.nav-dd-icon {
  width: 30px; height: 30px; background: rgba(200,250,95,0.08);
  border-radius: 3px; display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}
.nav-dd-icon svg { width: 14px; height: 14px; }
.nav-dd-label { font-weight: 600; line-height: 1.2; }
.nav-dd-sub   { font-size: 0.715rem; color: var(--muted); margin-top: 1px; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; z-index: 301; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 299;
  background: var(--bg); flex-direction: column;
  align-items: center; justify-content: center; gap: 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800;
  color: var(--muted); letter-spacing: -0.025em; padding: 0.55rem 1.5rem;
  transition: color 0.2s; display: block;
}
.mobile-nav a:hover { color: var(--text); }
.mob-divider { width: 36px; height: 1px; background: var(--border); margin: 0.75rem 0; flex-shrink: 0; }

/* ============================================================
   HERO — Two-Column + Live Dashboard Canvas
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: grid;
  grid-template-columns: 52% 48%;
  padding-top: 64px;
  overflow: hidden;
}

/* ── Left column ── */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2.5rem 3rem;
  position: relative;
  z-index: 2;
}
@media (min-width: 1400px) {
  .hero-left { padding-left: calc((100vw - 1320px)/2 + 2.5rem); }
}

/* Headline — tightly sized so everything fits one screen */
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.25rem, 3.4vw, 3.875rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.hero-headline em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 400px;
  margin-bottom: 1.875rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 1.875rem;
  border-top: 1px solid var(--border);
}
.hero-stat-val {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--accent);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.3rem;
  line-height: 1.4;
  max-width: 80px;
}

/* ── Right column — canvas panel ── */
.hero-right {
  position: relative;
  border-left: 1px solid var(--border);
  overflow: hidden;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 1.75rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  z-index: 2;
  opacity: 0.3;
  pointer-events: none;
}
.hero-scroll span {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-scroll-line {
  width: 1px; height: 28px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollpulse 2s ease infinite;
}
@keyframes scrollpulse {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1.2); transform-origin: top; }
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100svh;
  }
  .hero-right { display: none; }
  .hero-left {
    padding: 3rem 1.5rem 3.5rem;
    justify-content: center;
    min-height: calc(100svh - 64px);
  }
}
@media (max-width: 480px) {
  .hero-headline { font-size: clamp(2rem, 10vw, 2.75rem); }
  .hero-actions  { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats    { flex-wrap: wrap; gap: 1.25rem; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-strip {
  background: var(--surface); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); overflow: hidden; padding: 0.9rem 0;
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  display: flex; align-items: center; gap: 1.75rem; padding: 0 1.75rem;
  font-family: 'Syne', sans-serif; font-size: 0.67rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.marquee-dot { width: 3px; height: 3px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section    { padding: 6.5rem 0; }
.section-sm { padding: 4.5rem 0; }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 3.25rem; gap: 2rem; flex-wrap: wrap;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.875rem, 3.25vw, 3.5rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.0; margin-top: 0.875rem;
}
.section-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 600; color: var(--muted);
  border-bottom: 1px solid var(--border); padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s, gap 0.2s; white-space: nowrap;
}
.section-link:hover { color: var(--text); border-color: var(--text); gap: 0.75rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.02em; border-radius: var(--radius);
  transition: all 0.2s; cursor: pointer; flex-shrink: 0;
}
.btn svg { width: 14px; height: 14px; }
.btn-lime { background: var(--accent); color: var(--bg); border: 1px solid transparent; }
.btn-lime:hover { background: var(--accent-h); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border2); }
.btn-ghost:hover { border-color: var(--text-dim); background: rgba(255,255,255,0.035); }
.btn-dark  { background: var(--bg); color: var(--text); border: 1px solid transparent; }
.btn-dark:hover { background: #111; transform: translateY(-1px); }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border); gap: 1px; background: var(--border);
}
.service-card {
  background: var(--bg); padding: 2.25rem 1.875rem 1.875rem;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden; transition: background 0.3s;
}
.service-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.19,1,0.22,1);
}
.service-card:hover { background: var(--surface); }
.service-card:hover::after { transform: scaleX(1); }

.service-num { font-size: 0.63rem; font-weight: 700; letter-spacing: 0.2em; color: var(--accent); text-transform: uppercase; margin-bottom: 1.25rem; }
.service-title { font-family: 'Syne', sans-serif; font-size: 1.3125rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 0.75rem; }
.service-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.8; margin-bottom: 1.5rem; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.875rem; }
.service-list li { font-size: 0.8125rem; color: var(--text-dim); display: flex; align-items: center; gap: 0.75rem; }
.service-list li::before { content: ''; width: 12px; height: 1px; background: var(--accent); flex-shrink: 0; }
.service-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; font-weight: 700; color: var(--accent); transition: gap 0.2s; }
.service-cta:hover { gap: 0.75rem; }
.service-cta svg { width: 12px; height: 12px; }

/* ============================================================
   PROCESS ACCORDION
   ============================================================ */
.process-wrap { border: 1px solid var(--border); }
.process-item { border-bottom: 1px solid var(--border); overflow: hidden; transition: background 0.25s; }
.process-item:last-child { border-bottom: none; }
.process-item.active, .process-item:hover { background: var(--surface); }

.process-trigger {
  display: grid; grid-template-columns: 60px 1fr 40px;
  align-items: center; gap: 1.25rem; padding: 1.625rem 1.875rem; cursor: pointer;
}
.process-num { font-size: 0.63rem; font-weight: 800; letter-spacing: 0.2em; color: var(--accent); text-transform: uppercase; }
.process-name { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: -0.015em; }
.process-icon {
  width: 32px; height: 32px; border: 1px solid var(--border2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: all 0.25s; flex-shrink: 0; margin-left: auto;
}
.process-icon svg { width: 12px; height: 12px; transition: transform 0.3s; }
.process-item.active .process-icon { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.process-item.active .process-icon svg { transform: rotate(45deg); }

.process-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.19,1,0.22,1), padding 0.4s;
  padding: 0 1.875rem 0 calc(60px + 1.25rem + 1.875rem);
}
.process-item.active .process-body { max-height: 300px; padding-bottom: 1.875rem; }
.process-body p { font-size: 0.875rem; color: var(--muted); line-height: 1.875; max-width: 580px; }

/* ============================================================
   METRICS
   ============================================================ */
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); }
.metric-cell {
  padding: 2.25rem 1.625rem; border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.45rem;
}
.metric-cell:last-child { border-right: none; }
.metric-val {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.875rem, 3vw, 3.25rem);
  font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--accent);
}
.metric-label { font-size: 0.8rem; color: var(--muted); line-height: 1.55; max-width: 140px; }

/* ============================================================
   CTA BLOCK
   ============================================================ */
.cta-block { background: var(--accent); padding: 4rem 2.5rem; }
.cta-inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2.25rem; flex-wrap: wrap;
}
.cta-hl {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 2.75vw, 2.875rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--bg); max-width: 640px;
}
.cta-sub { font-size: 0.9rem; color: rgba(6,6,6,0.58); margin-top: 0.5rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 4.25rem 2.5rem 2.25rem; }
.footer-top {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 3rem; padding-bottom: 3.25rem; border-bottom: 1px solid var(--border);
}
.footer-logo { font-family: 'Syne', sans-serif; font-size: 1.125rem; font-weight: 800; letter-spacing: 0.14em; }
.footer-tagline { font-size: 0.83rem; color: var(--muted); line-height: 1.75; margin-top: 0.75rem; max-width: 215px; }
.footer-socials { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.social-btn {
  width: 32px; height: 32px; border: 1px solid var(--border2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: all 0.2s;
}
.social-btn svg { width: 13px; height: 13px; }
.social-btn:hover { border-color: var(--accent); color: var(--accent); }

.footer-col-title { font-size: 0.63rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.125rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-nav a { font-size: 0.85rem; color: var(--text-dim); transition: color 0.2s; }
.footer-nav a:hover { color: var(--text); }

.footer-change-text {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.375rem, 2.75vw, 2.875rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 0.88;
  text-transform: uppercase; color: var(--border2); align-self: flex-end;
}
.footer-bottom {
  max-width: 1320px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; padding-top: 1.625rem;
}
.footer-copy  { font-size: 0.75rem; color: var(--muted); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.75rem; color: var(--muted); transition: color 0.2s; }
.footer-legal a:hover { color: var(--text); }

/* ============================================================
   INNER PAGES
   ============================================================ */
.page-hero { padding: 9rem 2.5rem 4.25rem; border-bottom: 1px solid var(--border); }
.page-hero-inner { max-width: 1320px; margin: 0 auto; }
.page-hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.375rem, 5vw, 5.5rem);
  font-weight: 800; letter-spacing: -0.04em; line-height: 0.92; margin-top: 1rem;
}
.page-hero-sub { font-size: 0.9875rem; color: var(--muted); line-height: 1.82; max-width: 500px; margin-top: 1.375rem; }

/* Services page */
.service-detail { padding: 5rem 0; border-bottom: 1px solid var(--border); }
.service-detail:last-child { border-bottom: none; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; align-items: start; }
.service-detail-label { position: sticky; top: 7rem; }
.service-detail-num { font-size: 0.63rem; font-weight: 700; letter-spacing: 0.2em; color: var(--accent); text-transform: uppercase; margin-bottom: 0.875rem; }
.service-detail-title { font-family: 'Syne', sans-serif; font-size: 2.125rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.service-detail-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.85; margin-top: 0.875rem; }
.service-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.service-mini-card { background: var(--surface); padding: 1.75rem; transition: background 0.2s; }
.service-mini-card:hover { background: var(--surface2); }
.service-mini-card h4 { font-size: 0.9rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.4rem; }
.service-mini-card p  { font-size: 0.825rem; color: var(--muted); line-height: 1.75; }

/* About page */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-visual {
  background: var(--surface); border: 1px solid var(--border); aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative;
}
.about-visual-bg { font-family: 'Syne', sans-serif; font-size: 10rem; font-weight: 800; color: var(--border); letter-spacing: -0.05em; position: absolute; user-select: none; }
.about-visual-front { position: relative; z-index: 1; text-align: center; }
.about-visual-front p { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; }
.values-list { display: flex; flex-direction: column; gap: 1px; border: 1px solid var(--border); margin-top: 2.25rem; }
.value-item {
  padding: 1.5rem 1.625rem; background: var(--bg);
  display: flex; align-items: flex-start; gap: 1.125rem;
  border-bottom: 1px solid var(--border); transition: background 0.2s;
}
.value-item:last-child { border-bottom: none; }
.value-item:hover { background: var(--surface); }
.value-icon {
  width: 32px; height: 32px; flex-shrink: 0; background: rgba(200,250,95,0.07);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-top: 1px;
}
.value-item h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.2rem; letter-spacing: -0.01em; }
.value-item p  { font-size: 0.825rem; color: var(--muted); line-height: 1.7; }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; }
.contact-info   { position: sticky; top: 8rem; }
.contact-info-item { display: flex; flex-direction: column; gap: 0.2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.contact-info-item:first-child { border-top: 1px solid var(--border); }
.contact-info-label { font-size: 0.63rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.contact-info-val   { font-size: 0.875rem; color: var(--text-dim); margin-top: 0.1rem; }
.contact-info-val a:hover { color: var(--accent); }

.form-field  { display: flex; flex-direction: column; gap: 0.45rem; }
.form-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-label  { font-size: 0.63rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.form-input, .form-select, .form-textarea {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  padding: 0.8rem 0.9375rem; font-family: 'DM Sans', sans-serif; font-size: 0.875rem;
  border-radius: var(--radius); outline: none; transition: border-color 0.2s;
  width: 100%; -webkit-appearance: none; appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--accent); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); }
.form-textarea { min-height: 140px; resize: vertical; }
.form-select   { cursor: pointer; }
.form-select option { background: var(--surface); }

/* Legal pages */
.legal-content { max-width: 700px; }
.legal-content h2 { font-family: 'Syne', sans-serif; font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.02em; margin-top: 2.125rem; margin-bottom: 0.7rem; color: var(--text); }
.legal-content p  { font-size: 0.875rem; color: var(--muted); line-height: 1.85; margin-bottom: 0.825rem; }
.legal-content ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.825rem; }
.legal-content ul li { font-size: 0.875rem; color: var(--muted); line-height: 1.75; padding-left: 1.25rem; position: relative; }
.legal-content ul li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }
.legal-content a { color: var(--accent); }
.legal-content a:hover { text-decoration: underline; }

/* ============================================================
   UTILS
   ============================================================ */
.hr { height: 1px; background: var(--border); }
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.in { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: 0.11s; }
.fade-up.d2 { transition-delay: 0.22s; }
.fade-up.d3 { transition-delay: 0.33s; }
.fade-up.d4 { transition-delay: 0.48s; }
.alert { padding: 0.9375rem 1.125rem; border-radius: var(--radius); font-size: 0.875rem; font-weight: 500; display: none; }
.alert.success { background: rgba(200,250,95,0.09); border: 1px solid rgba(200,250,95,0.28); color: var(--accent); display: block; }
.alert.error   { background: rgba(255,80,80,0.09);  border: 1px solid rgba(255,80,80,0.28);  color: #ff8080; display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero-ghost, .hero-ghost-accent { padding-right: 1.5rem; }
  .hero-ghost-text, .hero-ghost-accent { font-size: clamp(5rem, 22vw, 8rem); }
}

@media (max-width: 1100px) {
  .hero-content { padding: 4rem 2.5rem 2.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-cell:nth-child(2) { border-right: none; }
  .metric-cell:nth-child(3), .metric-cell:nth-child(4) { border-top: 1px solid var(--border); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact-info { position: static; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail-label { position: static; }
}
@media (max-width: 768px) {
  .site-header { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-left { padding: 3.5rem 1.25rem 2rem; }
  .hero-stats { gap: 1.75rem; }
  .section { padding: 4.5rem 0; }
  .page-hero { padding: 8rem 1.25rem 3.5rem; }
  .service-cards-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .process-trigger { grid-template-columns: 52px 1fr 34px; padding: 1.375rem 1.25rem; }
  .process-body { padding-left: calc(52px + 1.25rem + 1.25rem); padding-right: 1.25rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2.25rem; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: clamp(2.375rem, 11vw, 3rem); }
  .hero-stats { flex-wrap: wrap; gap: 1.25rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn { width: 100%; justify-content: center; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric-cell { border-right: none !important; border-bottom: 1px solid var(--border); }
  .metric-cell:last-child { border-bottom: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
