/* ============================================================
   MachTen Aviation Consulting — Stylesheet v1.0
   Brand: Airframe Gray / Scarlet / Midnight Navy
   Fonts: Chakra Petch (display) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,600;0,700;1,300&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ── CSS Variables ───────────────────────────────── */
:root {
  --scarlet:     #CC1C2C;
  --deep-scar:   #A01018;
  --navy:        #1C2535;
  --steel:       #8A9AAC;
  --gray:        #F0F3F7;
  --light-gray:  #E4E9F0;
  --mid-gray:    #C8D0DA;
  --body-text:   #2C3440;
  --muted:       #6B7888;
  --white:       #FFFFFF;

  --font-display: 'Chakra Petch', 'Century Gothic', sans-serif;
  --font-body:    'DM Sans', Arial, sans-serif;

  --nav-h:       72px;
  --max-w:       1160px;
  --radius:      4px;
  --transition:  0.22s ease;
}

/* ── Reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--body-text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--scarlet); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--deep-scar); }
ul { list-style: none; }

/* ── Utility ─────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-scarlet { color: var(--scarlet); }
.text-steel   { color: var(--steel); }
.text-navy    { color: var(--navy); }

/* ── Scarlet top bar (brand rule) ────────────────── */
.brand-rule { height: 3px; background: var(--scarlet); width: 100%; }

/* ── Navigation ──────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  height: var(--nav-h);
  border-bottom: 2px solid var(--scarlet);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-divider {
  width: 1px;
  height: 32px;
  background: var(--scarlet);
  opacity: 0.4;
  flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--white);
  line-height: 1;
}
.nav-logo-sub {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 7px;
  letter-spacing: 0.26em;
  color: var(--scarlet);
  text-transform: uppercase;
  margin-top: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: var(--scarlet);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--scarlet);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--deep-scar) !important; color: var(--white); }
.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--navy);
  padding: 24px 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 999;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-mobile a:last-child { border-bottom: none; }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  background: var(--gray);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -60px;
  width: 600px;
  height: 600px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 76 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='30,10 70,40 30,70' stroke='%23CC1C2C' stroke-width='14' fill='none' stroke-linecap='butt' stroke-linejoin='miter'/%3E%3Cpolyline points='8,10 48,40 8,70' stroke='%23A01018' stroke-width='14' fill='none' stroke-linecap='butt' stroke-linejoin='miter'/%3E%3C/svg%3E") no-repeat center/contain;
  opacity: 0.05;
  pointer-events: none;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--scarlet);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.1s forwards;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--navy);
  max-width: 720px;
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}
.hero h1 span { color: var(--scarlet); }
.hero-tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  color: var(--steel);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.3s forwards;
}
.hero-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.4s forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.5s forwards;
}
.hero-pillars {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--light-gray);
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  opacity: 0;
  animation: fadeUp 0.6s ease 0.6s forwards;
}
.hero-pillars .dot { color: var(--scarlet); font-size: 16px; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--scarlet);
  color: var(--white);
  border-color: var(--scarlet);
}
.btn-primary:hover {
  background: var(--deep-scar);
  border-color: var(--deep-scar);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(204,28,44,0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

/* ── Section scaffolding ─────────────────────────── */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-dark { background: var(--navy); }
.section-gray { background: var(--gray); }
.section-white { background: var(--white); }

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--scarlet);
  margin-bottom: 14px;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.5vw, 40px);
  letter-spacing: 0.04em;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-dark .section-title { color: var(--white); }
.section-subtitle {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 560px;
}
.section-dark .section-subtitle { color: rgba(255,255,255,0.6); }
.section-header { margin-bottom: 56px; }
.section-header-center { text-align: center; }
.section-header-center .section-subtitle { margin: 0 auto; }

/* ── Accent rule ─────────────────────────────────── */
.accent-rule {
  width: 40px;
  height: 3px;
  background: var(--scarlet);
  margin-bottom: 24px;
}
.center .accent-rule { margin: 0 auto 24px; }

/* ── Service cards ───────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--scarlet);
}
.service-card:hover {
  box-shadow: 0 12px 40px rgba(28,37,53,0.12);
  transform: translateY(-3px);
}
.service-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 24px;
}
.service-card-link {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--scarlet);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service-card-link::after {
  content: '→';
  transition: transform var(--transition);
}
.service-card:hover .service-card-link::after { transform: translateX(4px); }

/* ── Stats bar ───────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stat-item {
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  color: var(--scarlet);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ── Team cards ──────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.team-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
}
.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--scarlet);
}
.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--light-gray);
  flex-shrink: 0;
}
.team-photo-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--gray);
  border: 3px solid var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.team-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 4px;
}
.team-title {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--scarlet);
  margin-bottom: 16px;
}
.team-bio {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 20px;
}
.team-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.credential-tag {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gray);
  color: var(--navy);
  padding: 5px 10px;
  border-radius: 2px;
  border: 1px solid var(--light-gray);
}

/* ── Why MachTen ─────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--light-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  overflow: hidden;
}
.why-item {
  background: var(--white);
  padding: 40px 36px;
}
.why-item h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.why-item h4::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--scarlet);
  flex-shrink: 0;
}
.why-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* ── CTA section ─────────────────────────────────── */
.cta-section {
  background: var(--navy);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -80px;
  width: 400px;
  height: 400px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 76 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='30,10 70,40 30,70' stroke='%23CC1C2C' stroke-width='14' fill='none'/%3E%3Cpolyline points='8,10 48,40 8,70' stroke='%23A01018' stroke-width='14' fill='none'/%3E%3C/svg%3E") no-repeat center/contain;
  opacity: 0.06;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 42px);
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
  max-width: 520px;
}
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Blog cards ──────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover {
  box-shadow: 0 8px 32px rgba(28,37,53,0.1);
  transform: translateY(-2px);
}
.blog-card-header {
  background: var(--gray);
  padding: 28px;
  border-bottom: 3px solid var(--scarlet);
}
.blog-card-pillar {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--scarlet);
  margin-bottom: 10px;
}
.blog-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  color: var(--navy);
  line-height: 1.35;
}
.blog-card-body { padding: 24px 28px; }
.blog-card-excerpt {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 20px;
}
.blog-card-meta {
  font-size: 11px;
  color: var(--steel);
  display: flex;
  justify-content: space-between;
}
.blog-card-read {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--scarlet);
}

/* ── Contact form ────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.form-group { margin-bottom: 24px; }
.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--body-text);
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 12px 16px;
  transition: border-color var(--transition);
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--scarlet); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-note {
  font-size: 12px;
  color: var(--steel);
  margin-top: 16px;
  line-height: 1.6;
}

/* ── Resources ───────────────────────────────────── */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.resource-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: box-shadow var(--transition);
}
.resource-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--scarlet);
}
.resource-card:hover { box-shadow: 0 8px 32px rgba(28,37,53,0.1); }
.resource-type {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--scarlet);
  margin-bottom: 12px;
}
.resource-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}
.resource-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 24px;
}
.resource-coming {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  background: var(--gray);
  padding: 6px 12px;
  border-radius: 2px;
  display: inline-block;
}

/* ── Footer ──────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-brand-sub {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--scarlet);
  margin-bottom: 16px;
}
.footer-tagline {
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
  line-height: 1.6;
}
.footer-contact a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--scarlet); }
.footer-col-title {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--scarlet); }
.footer-pillars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-pillar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.footer-pillar::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--scarlet);
  flex-shrink: 0;
}
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--scarlet); }

/* ── Page hero (inner pages) ─────────────────────── */
.page-hero {
  background: var(--gray);
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--light-gray);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -40px;
  width: 360px;
  height: 360px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 76 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='30,10 70,40 30,70' stroke='%23CC1C2C' stroke-width='14' fill='none'/%3E%3Cpolyline points='8,10 48,40 8,70' stroke='%23A01018' stroke-width='14' fill='none'/%3E%3C/svg%3E") no-repeat center/contain;
  opacity: 0.05;
}
.page-hero .section-eyebrow { margin-bottom: 12px; }
.page-hero .section-title { margin-bottom: 14px; }

/* ── Service detail sections ─────────────────────── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  color: var(--light-gray);
  line-height: 1;
  margin-bottom: 8px;
}
.service-engagements {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.engagement-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.engagement-item::before {
  content: '→';
  color: var(--scarlet);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}
.service-disclaimer {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--gray);
  border-left: 3px solid var(--scarlet);
  font-size: 13px;
  color: var(--steel);
  line-height: 1.65;
  font-style: italic;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ── Calendly placeholder ────────────────────────── */
.calendly-placeholder {
  background: var(--gray);
  border: 2px dashed var(--mid-gray);
  border-radius: var(--radius);
  padding: 56px 32px;
  text-align: center;
}
.calendly-placeholder h3 {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 8px;
}
.calendly-placeholder p {
  font-size: 13px;
  color: var(--steel);
}

/* ── Animations ──────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Inline SVG logo helper ──────────────────────── */
.logo-icon svg { display: block; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-item { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 40px; }
  .service-detail.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .container { padding: 0 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .team-card { grid-template-columns: 1fr; }
  .team-photo, .team-photo-placeholder { width: 120px; height: 120px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .cta-actions { flex-direction: column; }
}
