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

:root {
  --bg: #ffffff;
  --text: #0a0a0a;
  --muted: #767676;
  --light: #f6f5f1;
  --border: #e8e8e8;
  --green: #16a34a;
  --green-light: #dcfce7;
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Bricolage Grotesque', sans-serif;
  --nav-h: 68px;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 6rem 0; }
.section-tag {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.section-heading em {
  font-style: italic;
  font-weight: 700;
}

/* ─── BUTTONS ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-body);
  border: 1.5px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-dark {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}
.btn-dark:hover { background: #333; border-color: #333; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn-outline:hover { background: var(--text); color: #fff; }

.btn-light {
  background: #fff;
  color: var(--text);
  border-color: #fff;
}
.btn-light:hover { background: #f0f0f0; border-color: #f0f0f0; }

/* ─── NAV ───────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--text); }
.nav-cta { padding: 0.55rem 1.2rem; font-size: 0.85rem; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.nav-mobile-link:last-child { border-bottom: none; }
.nav-mobile-cta {
  margin-top: 0.5rem;
  color: var(--green);
  border-bottom: none;
}

/* ─── HERO ──────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}
.hero-tag {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin-bottom: 2.5rem;
}
.hero-heading em {
  font-style: italic;
  font-weight: 700;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-scroll-line {
  width: 40px;
  height: 1px;
  background: var(--muted);
}

/* Hero collage cards */
.hero-collage {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hc {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.09);
  border: 1px solid var(--border);
  min-width: 180px;
}
.hc-bar {
  height: 28px;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 5px;
}
.hc-bar::before, .hc-bar::after,
.hc-bar + .hc-body::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #d0d0d0;
}
.hc-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hc-site { font-size: 0.8rem; font-weight: 600; color: var(--text); }
.hc-loc { font-size: 0.7rem; color: var(--muted); }
.hc-result {
  margin-top: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-light);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  align-self: flex-start;
}
.hc-stat-big {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.hc-stat-label { font-size: 0.7rem; color: var(--muted); margin-top: 4px; }

/* Individual card positions */
.hc-1 { top: 15%; right: 8%; transform: rotate(3deg); width: 200px; }
.hc-2 { top: 42%; right: 3%; transform: rotate(-2deg); width: 190px; }
.hc-3 { bottom: 18%; right: 14%; transform: rotate(4deg); width: 185px; }
.hc-4 { top: 20%; right: 28%; transform: rotate(-3deg); width: 150px; }
.hc-5 { bottom: 22%; right: 30%; transform: rotate(2deg); width: 150px; }

/* ─── TICKER ────────────────────────────────────────────────────────────────── */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  background: var(--light);
}
.ticker-track {
  display: flex;
  gap: 2rem;
  animation: ticker 30s linear infinite;
  width: max-content;
  align-items: center;
}
.ticker-track span { font-size: 0.85rem; font-weight: 500; white-space: nowrap; color: var(--text); }
.ticker-dot { color: var(--muted); font-size: 0.6rem !important; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── ABOUT ─────────────────────────────────────────────────────────────────── */
.about-section { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.about-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #333;
  margin-top: 1rem;
}
.about-body strong { color: var(--text); font-weight: 600; }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.stat-card {
  background: var(--light);
  border-radius: 14px;
  padding: 1.5rem;
  border: 1px solid var(--border);
}
.stat-card--green {
  background: var(--green-light);
  border-color: #bbf7d0;
}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
}
.stat-unit {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* ─── SERVICES ──────────────────────────────────────────────────────────────── */
.services-section { background: var(--light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  margin-top: 3rem;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.service-card {
  background: #fff;
  padding: 2rem;
  transition: background 0.15s;
}
.service-card:hover { background: #fafaf8; }
.service-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 1rem;
}
.service-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.service-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* ─── WORK (HOME) ───────────────────────────────────────────────────────────── */
.work-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.work-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  background: #fff;
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.1); }
.work-card-preview {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.work-card-mockup {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.wm-bar {
  height: 22px;
  background: #f0f0ee;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
}
.wm-bar span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #d0d0d0;
}
.wm-url {
  font-size: 0.5rem;
  color: #bbb;
  padding: 4px 8px;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wm-body { padding: 10px; display: flex; flex-direction: column; gap: 5px; }
.wm-line {
  height: 5px;
  background: #e8e8e8;
  border-radius: 3px;
}
.wm-line--wide { width: 90%; }
.wm-line--medium { width: 65%; }
.wm-line--narrow { width: 40%; }
.wm-block { height: 30px; background: #f0f0ee; border-radius: 4px; margin: 4px 0; }
.work-card-info { padding: 1.25rem; }
.work-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.work-card-type { font-size: 0.75rem; color: var(--muted); }
.work-card-loc { font-size: 0.75rem; color: var(--muted); }
.work-card-loc::before { content: '·'; margin-right: 0.75rem; }
.work-card-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.75rem; }
.result-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-light);
  padding: 2px 10px;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}
.work-card-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  font-size: 0.7rem;
  color: var(--muted);
  background: var(--light);
  border: 1px solid var(--border);
  padding: 2px 9px;
  border-radius: 100px;
}

/* ─── RESULTS ───────────────────────────────────────────────────────────────── */
.results-section { background: var(--light); }
.results-intro {
  font-size: 1rem;
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.7;
  margin-top: 1.5rem;
  margin-bottom: 3rem;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.result-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}
.result-location {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.rk {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.rk:last-child { border-bottom: none; }
.rk-pos {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--green);
  min-width: 2.5ch;
}
.rk-kw { font-size: 0.85rem; color: var(--text); line-height: 1.4; }
.rk-vol { font-size: 0.75rem; color: var(--muted); margin-left: 0.4rem; }
.result-note {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 1rem;
  font-style: italic;
}
.result-block--tech {}
.tech-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}
.tech-stat {}
.tech-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--green);
}
.tech-label { font-size: 0.75rem; color: var(--muted); margin-top: 0.25rem; display: block; }
.results-disclaimer {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* ─── FOOTER ────────────────────────────────────────────────────────────────── */
.footer { background: var(--text); color: #fff; }
.footer-cta {
  padding: 7rem 2rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-cta .section-tag { color: rgba(255,255,255,0.5); margin-bottom: 1.5rem; }
.footer-cta-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
}
.footer-bottom { padding: 4rem 2rem 2rem; }
.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.6; }
.footer-col-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.footer-link {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
  transition: color 0.15s;
}
a.footer-link:hover { color: #fff; }
.footer-legal {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ─── PAGE HERO ─────────────────────────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) 0 4rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 1rem 0;
}
.page-hero-heading em { font-style: italic; color: var(--muted); }
.page-hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 50ch; line-height: 1.7; margin-top: 1rem; }

/* ─── WORK PAGE ─────────────────────────────────────────────────────────────── */
.work-list { display: flex; flex-direction: column; gap: 6rem; }
.work-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.work-item:nth-child(even) .work-item-preview { order: 2; }
.work-item:nth-child(even) .work-item-info { order: 1; }
.work-item-preview {
  aspect-ratio: 4/3;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border: 1px solid var(--border);
}
.work-item-mockup {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.08);
}
.work-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.work-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}
.work-result-pill {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  background: var(--green-light);
  border-radius: 100px;
  padding: 4px 14px;
}
.result-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green);
}
.result-lbl { font-size: 0.75rem; color: var(--green); font-weight: 500; }
.work-type { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.5rem; }
.work-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.work-desc { font-size: 0.95rem; color: var(--muted); line-height: 1.75; margin-bottom: 1.25rem; }
.work-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Rankings callout */
.rankings-callout { background: var(--light); }
.rankings-callout-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.rc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.rc-stat {}
.rc-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.rc-lbl { font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; display: block; }

/* ─── ABOUT PAGE ────────────────────────────────────────────────────────────── */
.about-story {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 5rem;
  align-items: start;
}
.about-story-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1.25rem;
}
.about-story-text p strong { color: var(--text); font-weight: 600; }
.aside-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 1rem;
}
.aside-card--dark {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}
.aside-card-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.aside-card--dark .aside-card-title { color: rgba(255,255,255,0.5); }
.aside-card-text { font-size: 0.9rem; line-height: 1.7; color: var(--muted); }
.aside-card-location {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
}
.aside-card-location span { font-size: 0.9rem; font-family: var(--font-body); font-weight: 400; opacity: 0.6; }

.stats-section { background: var(--light); }
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.stat-block {
  background: #fff;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.stat-block--green { background: var(--green-light); }
.stat-big {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-block--green .stat-big { color: var(--green); }
.stat-big-unit { font-size: 1rem; color: var(--muted); font-weight: 500; margin-top: 0.25rem; }
.stat-big-label { font-size: 0.8rem; color: var(--muted); margin-top: 0.5rem; line-height: 1.4; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.skill-item { padding: 0; }
.skill-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.skill-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

.pricing-preview { background: var(--light); }
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pricing-card--featured {
  border-color: var(--text);
  background: var(--text);
  color: #fff;
}
.pricing-card-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
}
.pricing-card-name { font-weight: 600; font-size: 1rem; }
.pricing-card--featured .pricing-card-name { color: rgba(255,255,255,0.7); }
.pricing-card-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.pricing-card-price span { font-size: 1rem; font-family: var(--font-body); font-weight: 400; color: var(--muted); }
.pricing-card--featured .pricing-card-price span { color: rgba(255,255,255,0.5); }
.pricing-card-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.65; flex: 1; }
.pricing-card--featured .pricing-card-desc { color: rgba(255,255,255,0.6); }
.pricing-card .btn-dark { align-self: flex-start; }
.pricing-card--featured .btn-dark { background: #fff; color: var(--text); border-color: #fff; }
.pricing-card--featured .btn-dark:hover { background: #f0f0f0; }

/* ─── CONTACT PAGE ──────────────────────────────────────────────────────────── */
.contact-section {
  padding: calc(var(--nav-h) + 5rem) 0 6rem;
  min-height: 100vh;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}
.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 1rem 0 1.5rem;
}
.contact-sub { font-size: 1rem; color: var(--muted); line-height: 1.75; max-width: 40ch; margin-bottom: 3rem; }
.contact-details { display: flex; flex-direction: column; gap: 0; }
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail:first-child { border-top: 1px solid var(--border); }
.cd-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.cd-value { font-size: 1rem; font-weight: 500; color: var(--text); }
a.contact-detail:hover .cd-value { text-decoration: underline; }

.contact-form-wrap {}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label { font-size: 0.85rem; font-weight: 500; color: var(--text); }
.form-label span { color: var(--muted); }
.form-optional { color: var(--muted); font-weight: 400; }
.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.15s;
  outline: none;
  appearance: none;
}
.form-input:focus { border-color: var(--text); }
.form-input::placeholder { color: #bbb; }
.form-textarea { min-height: 140px; resize: vertical; }
.btn-submit { align-self: flex-start; padding: 0.85rem 2rem; font-size: 1rem; }
.form-error-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 3rem;
  background: var(--green-light);
  border: 1px solid #bbf7d0;
  border-radius: 20px;
}
.form-success-icon {
  width: 48px; height: 48px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.form-success h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; }
.form-success p { font-size: 0.95rem; color: var(--muted); }

/* ─── 404 ───────────────────────────────────────────────────────────────────── */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--nav-h) + 5rem) 2rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ─── ASK AI SECTION ─────────────────────────────────────────────────────────── */
.ask-ai-section {
  background: var(--text);
  color: #ffffff;
  padding: 5rem 0;
  text-align: center;
}
.section-tag--light { color: rgba(255,255,255,0.5); }
.ask-ai-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 1rem;
}
.ask-ai-sub {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.ask-ai-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.ask-ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.ask-ai-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}
.ask-ai-btn:active { transform: translateY(0); }
.ask-ai-icon { font-size: 1rem; opacity: 0.7; }
.ask-ai-toast {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(22,163,74,0.2);
  border: 1px solid rgba(22,163,74,0.4);
  color: #4ade80;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  max-width: 320px;
  margin: 0 auto;
  animation: toastIn 0.3s ease;
}
.ask-ai-toast.visible { display: flex; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── 404 PAGE ───────────────────────────────────────────────────────────────── */
.not-found-section {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: var(--nav-h) 0 4rem;
}
.not-found-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 800;
  line-height: 1;
  color: var(--border);
  margin-bottom: 0.5rem;
}
.not-found-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.not-found-sub {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}
.not-found-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1.5px solid var(--text);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--text); color: #fff; }

/* ─── RESPONSIVE ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: 1fr; }
  .rankings-callout-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-story { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-bottom-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hc-3, .hc-4, .hc-5 { display: none; }
  .work-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .section { padding: 4rem 0; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .hero-collage { display: none; }
  .work-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; gap: 1px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .work-item { grid-template-columns: 1fr; gap: 2rem; }
  .work-item:nth-child(even) .work-item-preview { order: 0; }
  .work-item:nth-child(even) .work-item-info { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom-inner { grid-template-columns: 1fr; gap: 2rem; }
  .rc-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .stats-row { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}
