/* ========================================================
   Anvitech Services LLC — style.css
   Inspired by Thoughtworks: editorial, bold, professional
   ======================================================== */

/* ── RESET & VARS ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:    #0A0A0A;
  --paper:  #FAFAF8;
  --mid:    #F0EFE9;
  --muted:  #4A4A40;
  --border: #D8D8D0;
  --accent: #E8FF00;
  --blue:   #1A2B6B;
  --teal:   #00896B;
  --red:    #C0392B;
  --white:  #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'IBM Plex Sans', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --r: 4px;
  --r-lg: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ───────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--ink);
}
h2 em, h1 em { font-style: italic; color: var(--blue); }

p { color: #252520; }
a { text-decoration: none; color: inherit; }

/* ── LAYOUT HELPERS ───────────────────────────────────── */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.sec-label, .section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 24px;
}

/* ── BUTTONS ──────────────────────────────────────────── */
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 500;
  transition: background .2s, transform .15s;
}
.btn-dark:hover { background: var(--blue); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  padding: 14px 28px;
  border-radius: var(--r);
  border: 1.5px solid var(--border);
  font-size: .95rem;
  font-weight: 500;
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--ink); }

/* ── PULSE DOT ────────────────────────────────────────── */
.pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.pulse-dot.sm { width: 6px; height: 6px; }
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.8); }
}

/* ── NAVBAR ───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250,250,248,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
/* PNG logo image in navbar */
.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}
/* Footer logo */
.footer-logo-link {
  display: inline-block;
  margin-bottom: 20px;
}
.footer-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1); /* make logo white on dark footer */
}
.logo-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-contact {
  background: var(--ink);
  color: var(--white);
  padding: 9px 20px;
  border-radius: var(--r);
  font-weight: 500;
  transition: background .2s;
}
.nav-links .nav-contact:hover { background: var(--blue); }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: .3s;
}

/* Mobile menu */
@media (max-width: 768px) {
  .burger { display: flex; }
  .nav-logo {
    flex: 0 1 auto;
    max-width: calc(100% - 60px); /* always leave room for burger */
    overflow: hidden;
  }
  .nav-logo-img {
    height: 36px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px 32px;
    gap: 20px;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links .nav-contact { padding: 10px 20px; }
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: 68px;
  background: var(--ink);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 60%, rgba(0,137,107,.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(26,43,107,.3) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 40px 60px 80px;
  max-width: 760px;
}
@media (max-width: 900px) {
  .hero-inner { padding: 60px 32px 40px; }
  .hero { grid-template-columns: 1fr; }
  .hero-ticker-col { display: none; }
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .1em;
  color: rgba(255,255,255,.82);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem); /* decreased by 2 units */
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-body {
  font-size: 1.1rem;
  color: rgba(255,255,255,.88);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-actions .btn-dark {
  background: var(--accent);
  color: var(--ink);
}
.hero-actions .btn-dark:hover { background: #d4e800; }
.hero-actions .btn-outline {
  border-color: rgba(255,255,255,.25);
  color: var(--white);
}
.hero-actions .btn-outline:hover { border-color: var(--white); }

/* Vertical ticker */
.hero-ticker-col {
  grid-column: 2;
  grid-row: 1;
  width: 80px;
  border-left: 1px solid rgba(255,255,255,.1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vert-ticker { height: 360px; overflow: hidden; }
.vt-track {
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: scrollUp 18s linear infinite;
}
.vt-track span {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  color: rgba(255,255,255,.7);
  writing-mode: vertical-rl;
  text-transform: uppercase;
  white-space: nowrap;
}
@keyframes scrollUp {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

/* Hero stats */
.hero-stats {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  align-items: center;
  padding: 32px 80px;
  border-top: 1px solid rgba(255,255,255,.1);
  gap: 0;
}
@media (max-width: 900px) { .hero-stats { padding: 24px 32px; flex-wrap: wrap; gap: 16px; } }
.hs { display: flex; flex-direction: column; min-width: 120px; }
.hs-n { font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: var(--white); line-height: 1; }
.hs-l { font-size: .75rem; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.hs-d { width: 1px; height: 40px; background: rgba(255,255,255,.1); margin: 0 40px; }
@media (max-width: 600px) { .hs-d { display: none; } }

/* ── TICKER STRIP ─────────────────────────────────────── */
.ticker-strip {
  background: var(--accent);
  overflow: hidden;
  padding: 14px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.ticker-inner {
  display: flex;
  gap: 48px;
  align-items: center;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
  width: max-content;
}
.ticker-inner span {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.ticker-inner em {
  font-style: normal;
  font-size: .6rem;
  color: rgba(0,0,0,.4);
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SERVICES ─────────────────────────────────────────── */
.services {
  padding: 100px 0;
  background: var(--paper);
}
.services-hdr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 60px;
  align-items: end;
}
.services-hdr h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}
.services-hdr p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .services-hdr { grid-template-columns: 1fr; }
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px 36px 36px;
  position: relative;
  transition: background .25s, border-color .25s, transform .25s;
  overflow: hidden;
}
.svc-card::after {
  content: attr(data-i);
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 500;
  color: var(--mid);
  line-height: 1;
  transition: color .25s;
}
.svc-card:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}
.svc-card:hover * { color: var(--white) !important; }
.svc-card:hover .svc-cta { color: var(--accent) !important; }
.svc-card:hover::after { color: rgba(255,255,255,.08); }

.svc-featured {
  background: var(--blue);
  border-color: var(--blue);
}
.svc-featured *, .svc-featured h3, .svc-featured p { color: var(--white) !important; }
.svc-featured .svc-ico { color: rgba(255,255,255,.7) !important; }
.svc-featured::after { color: rgba(255,255,255,.06) !important; }
.svc-featured:hover { background: #0f1e52; }

.feat-pill {
  display: inline-block;
  background: var(--accent);
  color: var(--ink) !important;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.svc-i {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.svc-ico {
  color: var(--muted);
  margin-bottom: 20px;
  display: block;
}
.svc-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.svc-card p {
  font-size: .9rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 24px;
}
.svc-cta {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  transition: gap .2s;
}

/* ── ABOUT ────────────────────────────────────────────── */
.about {
  padding: 100px 0;
  background: var(--mid);
}
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) { .about-wrap { grid-template-columns: 1fr; gap: 48px; } }

.about-visual {}
.about-big {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(0,0,0,.12);
  margin-bottom: 32px;
}
.about-big span { display: block; font-size: clamp(4rem, 12vw, 9rem); color: var(--ink); }

.about-nums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 24px;
}
.an {
  background: var(--white);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.an-n { font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: var(--ink); }
.an-l { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

.certs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.certs span {
  background: var(--ink);
  color: var(--white);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}

.about-copy h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; margin-bottom: 24px; }
.about-lead { font-size: 1.1rem; color: var(--ink); font-weight: 500; margin-bottom: 16px; }
.about-copy p { margin-bottom: 16px; color: var(--muted); line-height: 1.7; }

.pillars { display: flex; flex-direction: column; gap: 16px; margin: 32px 0; }
.pillar {
  display: flex;
  gap: 16px;
  background: var(--white);
  padding: 20px;
  border-radius: var(--r);
  border: 1px solid var(--border);
}
.p-dot { color: var(--blue); font-size: .8rem; flex-shrink: 0; margin-top: 3px; }
.pillar strong { display: block; font-weight: 600; margin-bottom: 4px; }
.pillar p { font-size: .88rem; margin: 0; }

/* ── WORK ─────────────────────────────────────────────── */
.work {
  padding: 100px 0;
  background: var(--paper);
}
.work-hdr {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}
.work-hdr h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
.see-all {
  font-size: .9rem;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
  transition: gap .2s;
}
.see-all:hover { text-decoration: underline; }

.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
@media (max-width: 768px) { .cases { grid-template-columns: 1fr; } }

.case {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .25s;
}
.case:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.case.dark { background: var(--ink); border-color: var(--ink); }
.case.dark .case-tag { background: rgba(255,255,255,.1); color: var(--accent); border-color: transparent; }
.case.dark h3, .case.dark p { color: var(--white); }
.case.dark p { color: rgba(255,255,255,.85); }
.case.dark .case-metrics strong { color: var(--accent); }
.case.dark .case-metrics span { color: rgba(255,255,255,.82); border-color: rgba(255,255,255,.1); }
.case.dark .case-lnk { color: var(--accent); }
.case.accent { background: var(--blue); border-color: var(--blue); }
.case.accent .case-tag { background: rgba(255,255,255,.15); color: var(--accent); border-color: transparent; }
.case.accent h3, .case.accent p { color: var(--white); }
.case.accent p { color: rgba(255,255,255,.88); }
.case.accent .case-metrics strong { color: var(--accent); }
.case.accent .case-metrics span { color: rgba(255,255,255,.82); border-color: rgba(255,255,255,.15); }
.case.accent .case-lnk { color: var(--accent); }

.case-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--muted);
  width: fit-content;
}
.case h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.case p { font-size: .9rem; color: var(--muted); line-height: 1.6; flex: 1; }
.case-metrics {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.case-metrics span {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.4;
}
.case-metrics strong { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); }
.case-lnk {
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: 4px;
}
.case-lnk:hover { text-decoration: underline; }

/* ── PROCESS ──────────────────────────────────────────── */
.process {
  padding: 100px 0;
  background: #0F2040;
  color: var(--white);
}
.process .sec-label {
  color: rgba(255,255,255,.75);
  border-color: rgba(255,255,255,.15);
}
.proc-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 64px;
}
.proc-title em { color: var(--accent); }
.proc-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
@media (max-width: 900px) { .proc-steps { grid-template-columns: 1fr; gap: 0; } }

.proc-step {
  padding: 40px 32px 40px 0;
  border-right: 1px solid rgba(255,255,255,.08);
  padding-right: 32px;
}
.proc-step:last-child { border-right: none; }
@media (max-width: 900px) {
  .proc-step {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 32px 0;
  }
}
.ps-num {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--accent);
  letter-spacing: .1em;
  margin-bottom: 16px;
}
.ps-bar {
  width: 32px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 20px;
}
.proc-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.proc-step p {
  font-size: .88rem;
  color: rgba(255,255,255,.82);
  line-height: 1.65;
}

/* ── INSIGHTS ─────────────────────────────────────────── */
.insights {
  padding: 100px 0;
  background: var(--mid);
}
.ins-hdr {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}
.ins-hdr h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
.ins-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
}
@media (max-width: 768px) { .ins-grid { grid-template-columns: 1fr; grid-template-rows: auto; } }

.ins-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .25s, transform .25s;
}
.ins-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ins-big {
  grid-row: 1 / -1;
}
.ins-cat {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue);
  font-family: var(--font-mono);
}
.ins-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}
.ins-big h3 { font-size: 1.5rem; }
.ins-card p { font-size: .9rem; color: var(--muted); line-height: 1.65; flex: 1; }
.ins-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.ins-foot span { font-size: .8rem; color: var(--muted); font-family: var(--font-mono); }
.ins-foot a { font-size: .85rem; font-weight: 600; color: var(--blue); }
.ins-foot a:hover { text-decoration: underline; }

/* ── TESTIMONIALS ─────────────────────────────────────── */
.testimonials {
  padding: 100px 0;
  background: var(--paper);
}
.testi-h {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 48px;
}
.testi-h em { color: var(--blue); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testi-hl {
  background: var(--ink);
  border-color: var(--ink);
}
.testi-hl blockquote, .testi-hl .ta-info strong,
.testi-hl .ta-info span { color: rgba(255,255,255,.75) !important; }
.testi-hl .stars { color: var(--accent) !important; }
.testi-hl .ta-av { background: rgba(255,255,255,.1) !important; color: var(--white) !important; }

.stars { color: #F59E0B; font-size: 1rem; letter-spacing: 2px; }
.testi-card blockquote {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--muted);
  font-style: italic;
  flex: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.ta-av {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: .9rem; font-weight: 600; }
.testi-author span { font-size: .8rem; color: var(--muted); }

/* ── CONTACT ──────────────────────────────────────────── */
.contact {
  padding: 100px 0;
  background: var(--mid);
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; gap: 48px; } }

.contact-left h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}
.contact-left h2 em { color: var(--blue); }
.contact-left p { color: var(--muted); line-height: 1.7; margin-bottom: 32px; }

.c-info { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.c-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
  color: var(--ink);
  font-weight: 500;
  transition: color .2s;
}
a.c-row:hover { color: var(--blue); }
.resp-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 580px) { .f-row { grid-template-columns: 1fr; } }
.f-field { display: flex; flex-direction: column; gap: 8px; }
.f-field label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .03em;
}
.f-field input,
.f-field select,
.f-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  -webkit-appearance: none;
}
.f-field input:focus,
.f-field select:focus,
.f-field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0,0,0,.05);
}
.f-field textarea { resize: vertical; min-height: 120px; }

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 24px;
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-submit:hover { background: var(--blue); transform: translateY(-1px); }
.btn-submit .arr { font-size: 1.2rem; }

.f-success {
  display: none;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 14px 16px;
  border-radius: var(--r);
  font-size: .9rem;
  font-weight: 500;
}
.f-success.show { display: block; }

/* ── FOOTER ───────────────────────────────────────────── */
.footer { background: var(--ink); }

.footer-top { padding: 80px 0 60px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr;
  gap: 80px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; gap: 48px; } }

.footer-brand .nav-logo { margin-bottom: 20px; }
.footer-brand .logo-name { color: var(--white); }

/* ── HOW WE WORK SECTION ─────────────────────────────── */
.how-we-work {
  padding: 96px 0;
  background: var(--mid);
}
.hww-intro {
  max-width: 640px;
  margin-bottom: 64px;
}
.hww-intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.15;
}
.hww-intro h2 em { font-style: italic; color: var(--blue); }
.hww-intro p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}
.hww-sub {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 36px;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.hww-process {
  margin-bottom: 72px;
}
.hww-why {
  margin-bottom: 72px;
}
.why-diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.wdiff-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: border-color .2s, box-shadow .2s;
}
.wdiff-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(0,0,0,.07);
}
.wdiff-ico {
  width: 44px;
  height: 44px;
  background: var(--ink);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
}
.wdiff-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}
.wdiff-card p {
  font-size: .88rem;
  line-height: 1.65;
  color: var(--muted);
}
.hww-models-intro {
  font-size: .95rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 560px;
}
.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.model-card {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: 28px 24px;
}
.model-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 500;
}
.model-card p {
  font-size: .88rem;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
  margin: 0;
}
.hww-cta {
  text-align: left;
  margin-top: 8px;
}

/* honeypot field — hidden from humans */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

@media (max-width: 768px) {
  .how-we-work { padding: 64px 0; }
  .why-diff-grid { grid-template-columns: 1fr; }
  .models-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .models-grid { grid-template-columns: 1fr; }
}
.footer-brand p {
  font-size: .9rem;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-email {
  font-size: .9rem;
  color: var(--accent);
  font-weight: 500;
  transition: opacity .2s;
}
.footer-email:hover { opacity: .7; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 580px) { .footer-cols { grid-template-columns: 1fr 1fr; } }

.fc h4 {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 16px;
}
.fc a, .fc span {
  display: block;
  font-size: .88rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 10px;
  transition: color .2s;
}
.fc a:hover { color: var(--white); }

.footer-btm {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer-btm-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.7);
}
@media (max-width: 580px) { .footer-btm-inner { flex-direction: column; gap: 8px; text-align: center; } }

/* ── SCROLL ANIMATIONS ────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SECTION SPACING UTILITY ──────────────────────────── */
@media (max-width: 768px) {
  .services, .about, .work, .process,
  .insights, .testimonials, .contact { padding: 64px 0; }
  .hero-inner { padding: 48px 24px 36px; }
  .hero-stats { padding: 24px; }
  .wrap { padding: 0 20px; }
}
