/* ============================================================
   Digital Engineers Guild — Main Stylesheet
   Palette: dark green-black bg, sage green + steel blue accents
   ============================================================ */

:root {
  --bg:           #0d1510;
  --bg-2:         #121c14;
  --bg-3:         #172019;
  --surface:      #1e2e21;
  --surface-2:    #263828;
  --border:       #3a5640;
  --border-light: #4a6e50;

  --green:        #5ec490;
  --green-light:  #80e0b0;
  --green-dim:    #2a5c45;
  --blue:         #5aaed8;
  --blue-light:   #7acef0;
  --blue-dim:     #1e5270;

  --text:         #f0f8f0;
  --text-muted:   #a8ccac;
  --text-dim:     #6e9474;
  --white:        #f0f5f1;

  --radius:       8px;
  --radius-lg:    14px;
  --radius-xl:    20px;

  --font-body:    'Inter', system-ui, sans-serif;
  --font-head:    'Sora', system-ui, sans-serif;

  --nav-h:        84px;
  --max-w:        1140px;
  --section-pad:  96px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--green-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--green); }

/* ── Utilities ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-pad) 0; }
.section--alt { background: var(--bg-2); }
.section--dark { background: var(--bg-3); }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(74, 158, 120, 0.12);
  border: 1px solid rgba(74, 158, 120, 0.25);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
}

.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-header--center .section-sub { margin: 0 auto; }

.text-green  { color: var(--green-light); }
.text-blue   { color: var(--blue-light); }
.text-muted  { color: var(--text-muted); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--green) 0%, #3a9e85 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(74, 158, 120, 0.3);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green) 100%);
  color: #fff;
  box-shadow: 0 6px 28px rgba(74, 158, 120, 0.45);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn--outline:hover {
  border-color: var(--green);
  color: var(--green-light);
  background: rgba(74, 158, 120, 0.06);
}

.btn--blue {
  background: linear-gradient(135deg, var(--blue) 0%, #2a7fa8 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(58, 140, 181, 0.3);
}
.btn--blue:hover {
  color: #fff;
  box-shadow: 0 6px 28px rgba(58, 140, 181, 0.45);
  transform: translateY(-1px);
}

.btn--sm { padding: 9px 20px; font-size: 14px; }
.btn--lg { padding: 16px 36px; font-size: 16px; }

/* ── Navigation ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(8, 12, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: rgba(8, 12, 10, 0.97);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.logo-img {
  height: 54px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 6px rgba(74, 158, 120, 0.25));
}

.logo-text {
  font-size: 15px;
  line-height: 1.25;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.logo-text strong {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  letter-spacing: -0.01em;
}

.logo--footer .logo-text strong { font-size: 14px; }
.logo--footer .logo-text { font-size: 13px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}

.nav-link:hover, .nav-link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.nav-cta {
  margin-left: 8px;
  padding: 9px 20px;
  background: linear-gradient(135deg, var(--green) 0%, #3a9e85 100%);
  color: #fff !important;
  font-weight: 600;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(74, 158, 120, 0.3);
}

.nav-link.nav-cta:hover {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(74, 158, 120, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(94, 196, 144, 0.28) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 70%, rgba(90, 174, 216, 0.20) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(94, 196, 144, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 196, 144, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--green);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-title .accent { color: var(--green-light); }
.hero-title .accent-blue { color: var(--blue-light); }

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  margin-top: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-dim);
}

.hero-scroll::before {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--border-light));
}

/* ── Stats / Proof strip ────────────────────────────────────── */
.proof-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}

.proof-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: 6px;
}

.proof-item span { font-size: 13px; color: var(--text-muted); }

/* ── Compare table ──────────────────────────────────────────── */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}

.compare-card--old {
  background: var(--surface);
  opacity: 0.75;
}

.compare-card--new {
  background: linear-gradient(145deg, rgba(74, 158, 120, 0.08) 0%, rgba(58, 140, 181, 0.06) 100%);
  border-color: rgba(74, 158, 120, 0.3);
  box-shadow: 0 0 40px rgba(74, 158, 120, 0.08);
}

.compare-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.compare-card--new .compare-label { color: var(--green); }

.compare-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.compare-list li::before {
  content: '✕';
  font-size: 12px;
  color: #c94a4a;
  flex-shrink: 0;
  margin-top: 2px;
}

.compare-card--new .compare-list li::before {
  content: '✓';
  color: var(--green-light);
}

/* ── Service cards ──────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  border-color: rgba(74, 158, 120, 0.4);
  box-shadow: 0 8px 40px rgba(74, 158, 120, 0.1);
  transform: translateY(-3px);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.service-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--green-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.25;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-declaration {
  font-size: 13px;
  color: var(--green);
  background: rgba(74, 158, 120, 0.08);
  border-left: 3px solid var(--green);
  border-radius: 0 6px 6px 0;
  padding: 10px 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(58, 140, 181, 0.1);
  color: var(--blue-light);
  border: 1px solid rgba(58, 140, 181, 0.2);
}

.tag--blue {
  background: rgba(58, 140, 181, 0.1);
  color: var(--blue-light);
  border-color: rgba(58, 140, 181, 0.2);
}

/* ── Full service detail (services.php) ─────────────────────── */
.service-detail {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-of-type { border-bottom: none; }

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.service-detail-inner.reverse { direction: rtl; }
.service-detail-inner.reverse > * { direction: ltr; }

.service-detail-content h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.service-detail-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.feature-list li::before {
  content: '→';
  color: var(--green);
  flex-shrink: 0;
  margin-top: 1px;
  font-weight: 700;
}

.service-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sv-icon-row {
  display: flex;
  gap: 12px;
  font-size: 24px;
}

.sv-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sv-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sv-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.sv-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.sv-dot--blue { background: var(--blue); }

/* ── Pricing ────────────────────────────────────────────────── */
/* ── New single-price layout ── */
.price-hero {
  display: flex;
  justify-content: center;
}

.price-hero-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 56px 64px;
  text-align: center;
  max-width: 540px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.price-hero-inner .starting-at {
  font-size: 13px;
  padding: 5px 14px;
  letter-spacing: 0.14em;
}

.price-hero-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-hero-amount .currency {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-muted);
  align-self: flex-start;
  margin-top: 10px;
}

.price-hero-amount .amount {
  font-family: var(--font-head);
  font-size: 80px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-hero-amount .period {
  font-size: 18px;
  color: var(--text-dim);
  margin-left: 4px;
}

.price-hero-note {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 380px;
}

/* ── Quote factors ── */
.quote-factors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.quote-factor {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
}

.qf-num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.quote-factor h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.quote-factor p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Legacy (kept for any other pages) ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: box-shadow 0.3s;
}

.pricing-card--featured {
  background: linear-gradient(160deg, rgba(74, 158, 120, 0.1) 0%, rgba(58, 140, 181, 0.08) 100%);
  border-color: rgba(74, 158, 120, 0.4);
  box-shadow: 0 0 60px rgba(74, 158, 120, 0.12);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--green), var(--blue));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pricing-tier--green  { color: var(--green); }
.pricing-tier--blue   { color: var(--blue-light); }
.pricing-tier--purple { color: #8b7dca; }

.pricing-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.2;
}

.pricing-target {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.pricing-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.starting-at {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(74, 158, 120, 0.12);
  border: 1px solid rgba(74, 158, 120, 0.3);
  border-radius: 4px;
  padding: 3px 8px;
  display: inline-block;
}

.pricing-price .amount {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.pricing-price .currency {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-muted);
  align-self: flex-start;
  margin-top: 8px;
}

.pricing-price .period {
  font-size: 14px;
  color: var(--text-dim);
  margin-left: 2px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}

.pricing-features li::before {
  content: '✓';
  color: var(--green-light);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 13px;
  margin-top: 1px;
}

.pricing-cta { display: block; width: 100%; text-align: center; }

.pricing-card--featured .pricing-cta {
  background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
  box-shadow: 0 4px 24px rgba(74, 158, 120, 0.35);
}

/* Contract terms */
.contract-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.contract-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.contract-card h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.contract-card p { font-size: 13px; color: var(--text-muted); }
.contract-card .contract-perk {
  margin-top: 10px;
  font-size: 12px;
  color: var(--green);
  font-weight: 500;
}

/* ── SaaS callout ── */
.saas-callout {
  margin-top: 48px;
  background: rgba(74, 158, 120, 0.06);
  border: 1px solid rgba(74, 158, 120, 0.22);
  border-radius: 14px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.saas-callout-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.saas-callout-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  max-width: 600px;
}

@media (max-width: 768px) {
  .saas-callout {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
}

/* ── Vibe code declaration ── */
.vibe-declaration {
  margin-top: 48px;
  border: 1px solid rgba(74, 158, 120, 0.35);
  border-left: 4px solid var(--green);
  border-radius: 0 14px 14px 0;
  padding: 36px 40px;
  background: rgba(74, 158, 120, 0.05);
}

.vibe-declaration-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

.vibe-declaration h3 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.vibe-declaration p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 760px;
  margin: 0;
}

/* ── Who it's for ───────────────────────────────────────────── */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.client-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.client-card:hover {
  border-color: rgba(58, 140, 181, 0.4);
  transform: translateY(-2px);
}

.client-icon { font-size: 26px; margin-bottom: 12px; display: block; }

.client-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.client-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── Introspective Questions ─────────────────────────────────── */
.questions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.question-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}

.question-card:hover {
  border-color: rgba(58, 140, 181, 0.4);
  transform: translateY(-2px);
}

.question-mark {
  font-size: 48px;
  line-height: 1;
  color: var(--accent);
  font-family: Georgia, serif;
  margin-bottom: 8px;
  opacity: 0.5;
}

.question-card p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
  font-style: italic;
}

/* ── Process / How it works ─────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding-top: 24px;
}

.process-step::before {
  counter-increment: step;
  content: '0' counter(step);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--green-dim);
  margin-bottom: 12px;
  display: block;
}

.process-step h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.process-step p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

.step-line {
  position: absolute;
  top: 38px;
  right: -16px;
  width: 32px;
  height: 1px;
  background: linear-gradient(to right, var(--border-light), transparent);
}

.process-step:last-child .step-line { display: none; }

/* ── CTA band ────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg,
    rgba(74, 158, 120, 0.12) 0%,
    rgba(58, 140, 181, 0.10) 100%);
  border-top: 1px solid rgba(74, 158, 120, 0.2);
  border-bottom: 1px solid rgba(74, 158, 120, 0.2);
  padding: 80px 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
}

.cta-band p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.cta-band-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Contact form ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.contact-info p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--text-muted);
}

.contact-detail-icon {
  width: 38px; height: 38px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
  gap: 12px;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(74, 158, 120, 0.15);
  border: 2px solid var(--green);
  color: var(--green);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.form-success h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.form-success p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 340px;
  line-height: 1.6;
}

.form-errors {
  background: rgba(200, 60, 60, 0.08);
  border: 1px solid rgba(200, 60, 60, 0.3);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 24px;
}

.form-errors p {
  font-size: 13px;
  color: #e07070;
  margin: 0;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--text);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(74, 158, 120, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group select option { background: var(--bg-2); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit { width: 100%; justify-content: center; margin-top: 8px; }

/* ── Page hero (inner pages) ────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 0 60px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .footer-tagline {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer-nav h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-nav a {
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--green-light); }

.footer-contact h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-contact p {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 16px;
  line-height: 1.5;
}

.footer-email {
  margin-top: 14px !important;
  font-size: 13px !important;
}

.footer-email a { color: var(--text-dim); }
.footer-email a:hover { color: var(--green-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .service-detail-inner { grid-template-columns: 1fr; gap: 32px; }
  .service-detail-inner.reverse { direction: ltr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .quote-factors-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .questions-grid { grid-template-columns: repeat(2, 1fr); }
  .price-hero-inner { padding: 40px 28px; }
  .price-hero-amount .amount { font-size: 60px; }
  .compare-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(8, 12, 10, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    padding: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open { display: flex; }
  .nav-link { padding: 14px 16px; width: 100%; border-radius: var(--radius); }
  .nav-link.nav-cta { margin: 8px 0 0; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band-actions { flex-direction: column; }
  .clients-grid { grid-template-columns: 1fr; }
  .questions-grid { grid-template-columns: 1fr; }
}
