/* ─── Ashlar shared stylesheet ───────────────────────────────── */
:root {
  --stone-950: #0c1829;
  --stone-900: #152440;
  --stone-800: #1e3050;
  --stone-700: #2c4163;
  --stone-600: #554e4e;
  --stone-500: #716a6a;
  --stone-400: #9a9292;
  --stone-300: #c4bcbc;
  --stone-200: #e2dcdc;
  --stone-100: #f0ecec;
  --stone-50:  #f7f4f4;
  --accent-600: #7B1A2B;
  --accent-500: #9B2335;
  --accent-400: #B83A4D;
  --accent-300: #D4606F;
  --accent-dim: rgba(155,35,53,0.08);
  --cta-green: #15803d;
  --cta-green-hover: #166534;
  --white: #fefaf9;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', -apple-system, sans-serif;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  color: var(--stone-900);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ─── TOPBAR + NAV ─── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(254,254,250,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--stone-200);
  transition: all 0.3s ease;
}
.topbar.scrolled { box-shadow: 0 2px 40px rgba(0,0,0,0.06); }
.topbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--serif); font-size: 1.6rem;
  color: var(--stone-900); text-decoration: none; letter-spacing: 0.04em;
}
.logo span { color: var(--accent-500); }
nav { display: flex; align-items: center; gap: 2.2rem; }
nav > a, nav .nav-dropdown-trigger {
  font-size: 0.88rem; font-weight: 500; color: var(--stone-600);
  text-decoration: none; letter-spacing: 0.03em;
  transition: color 0.2s; cursor: pointer; background: none; border: none;
  font-family: var(--sans); padding: 0;
}
nav > a:hover, nav .nav-dropdown-trigger:hover { color: var(--stone-900); }
nav > a.active, nav .nav-dropdown.active .nav-dropdown-trigger { color: var(--accent-500); }

/* Services dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger::after {
  content: ' \25BE'; font-size: 0.7rem; opacity: 0.6;
}
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  min-width: 240px;
  padding: 0.5rem;
  opacity: 0; visibility: hidden;
  transition: all 0.2s ease;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block; padding: 0.7rem 1rem; border-radius: 8px;
  font-size: 0.88rem; color: var(--stone-700); text-decoration: none;
  font-weight: 500; transition: all 0.15s;
}
.nav-dropdown-menu a:hover { background: var(--stone-100); color: var(--stone-950); }
.nav-dropdown-menu a strong { display: block; font-weight: 600; color: var(--stone-900); margin-bottom: 0.15rem; font-size: 0.9rem; }
.nav-dropdown-menu a small { display: block; font-size: 0.78rem; color: var(--stone-500); font-weight: 400; line-height: 1.4; }

.nav-cta {
  background: var(--cta-green) !important; color: var(--white) !important;
  padding: 0.6rem 1.4rem !important; border-radius: 6px;
  font-size: 0.85rem !important; font-weight: 600 !important;
  transition: all 0.2s !important;
}
.nav-cta:hover { background: var(--cta-green-hover) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 0.5rem; color: var(--stone-700);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ─── HERO ─── */
.hero {
  padding: 10rem 0 6rem;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 20% 100%, rgba(155,35,53,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(155,35,53,0.04) 0%, transparent 60%),
    var(--white);
}
.hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 500px; height: 500px;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0v60M0 30h60' stroke='%23e2e2dc' stroke-width='0.5' fill='none'/%3E%3C/svg%3E");
  opacity: 0.4;
  mask-image: radial-gradient(ellipse at top right, black 20%, transparent 70%);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: center; position: relative;
}
.hero-grid.single { grid-template-columns: 1fr; max-width: 820px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--stone-100); border: 1px solid var(--stone-200);
  padding: 0.45rem 1rem; border-radius: 100px;
  font-size: 0.78rem; font-weight: 600; color: var(--stone-600);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease both;
}
.hero-badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-500); animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 {
  font-family: var(--serif); font-size: 3.6rem; line-height: 1.12;
  color: var(--stone-950); margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.1s both;
}
.hero h1 em { font-style: italic; color: var(--accent-500); }
.hero-sub {
  font-size: 1.15rem; line-height: 1.7;
  color: var(--stone-600); max-width: 540px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.6s ease 0.2s both;
}
.hero-quote {
  font-style: italic; font-size: 0.95rem; color: var(--accent-500);
  border-left: 3px solid var(--accent-500); padding-left: 16px;
  margin: 1.25rem 0 1.5rem;
  animation: fadeInUp 0.6s ease 0.25s both;
}
.hero-quote-attr {
  font-style: normal; display: block; font-size: 0.75rem;
  color: var(--stone-500); margin-top: 4px;
}
.hero-actions {
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s both;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--cta-green); color: var(--white);
  padding: 1rem 2rem; border-radius: 8px;
  font-size: 0.95rem; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.25s ease; font-family: var(--sans);
}
.btn-primary:hover { background: var(--cta-green-hover); transform: translateY(-1px); box-shadow: 0 8px 30px rgba(21,128,61,0.25); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--stone-700);
  padding: 1rem 1.5rem; border-radius: 8px;
  font-size: 0.95rem; font-weight: 500;
  text-decoration: none; border: 1.5px solid var(--stone-300);
  transition: all 0.2s; font-family: var(--sans); cursor: pointer;
}
.btn-secondary:hover { border-color: var(--stone-500); color: var(--stone-900); }
.hero-proof {
  display: flex; flex-direction: column; gap: 1.2rem;
  animation: fadeInUp 0.6s ease 0.4s both;
}
.proof-card {
  background: var(--white); border: 1px solid var(--stone-200);
  border-radius: 12px; padding: 1.5rem 1.8rem;
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.proof-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent-500);
}
.proof-card:hover { border-color: var(--accent-400); transform: translateX(4px); box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.proof-stat { font-family: var(--serif); font-size: 1.6rem; color: var(--accent-500); margin-bottom: 0.3rem; }
.proof-label { font-size: 0.9rem; color: var(--stone-600); font-weight: 500; line-height: 1.5; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ─── SECTION COMMON ─── */
.section-tag {
  font-size: 0.78rem; font-weight: 700; color: var(--accent-500);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem;
}
.section-title {
  font-family: var(--serif); font-size: 2.6rem;
  color: var(--stone-950); margin-bottom: 1rem; line-height: 1.2;
}
.section-sub {
  font-size: 1.05rem; color: var(--stone-500);
  max-width: 600px; line-height: 1.7; margin-bottom: 3.5rem;
}

/* ─── SERVICES (was segments) ─── */
.services { padding: 7rem 0; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.services-grid.five { grid-template-columns: repeat(3, 1fr); }
.services-grid.five > .service-card:nth-child(4),
.services-grid.five > .service-card:nth-child(5) {
  grid-column: span 1;
}
.services-grid.five > .service-card:nth-child(4) { grid-column-start: 1; }
.service-card {
  background: var(--white); border: 1.5px solid var(--stone-200);
  border-radius: 16px; padding: 2.2rem 1.8rem;
  transition: all 0.35s ease; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--accent-500);
  transform: scaleX(0); transition: transform 0.35s ease;
}
.service-card:hover { border-color: var(--accent-400); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.2rem;
}
.service-card:nth-child(1) .service-icon { background: #fce8eb; }
.service-card:nth-child(2) .service-icon { background: #e8f0ea; }
.service-card:nth-child(3) .service-icon { background: #f0ece8; }
.service-card:nth-child(4) .service-icon { background: #ece8f0; }
.service-card:nth-child(5) .service-icon { background: #e8eef0; }
.service-card h3 { font-family: var(--serif); font-size: 1.3rem; color: var(--stone-900); margin-bottom: 0.7rem; }
.service-card p { font-size: 0.92rem; color: var(--stone-500); line-height: 1.65; margin-bottom: 1.2rem; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.5rem; flex: 1; }
.service-list li { font-size: 0.85rem; color: var(--stone-600); padding-left: 1.2rem; position: relative; line-height: 1.5; }
.service-list li::before { content: '\2192'; position: absolute; left: 0; color: var(--accent-500); font-weight: 600; }
.service-cta {
  font-size: 0.88rem; font-weight: 600; color: var(--accent-500);
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem;
  transition: gap 0.2s; margin-top: auto;
}
.service-card:hover .service-cta { gap: 0.7rem; }

/* ─── AI SECTION (used on home teaser + ai-approach page) ─── */
.ai-section {
  padding: 7rem 0;
  background: var(--stone-50);
  border-top: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
}
.ai-intro { margin-bottom: 2.5rem; }
.ai-intro h2 {
  font-family: var(--serif); font-size: 2.4rem;
  color: var(--stone-950); margin-bottom: 0.5rem; line-height: 1.2;
}
.ai-intro p {
  font-size: 1.05rem; color: var(--stone-500); line-height: 1.7;
}
.dyk-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
}
.dyk-card {
  background: var(--white);
  border: 1.5px solid var(--stone-200);
  border-radius: 14px;
  padding: 1.6rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.dyk-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--accent-500);
}
.dyk-card:hover { border-color: var(--accent-400); box-shadow: 0 6px 24px rgba(0,0,0,0.05); }
.dyk-label {
  font-size: 0.7rem; font-weight: 800; color: var(--accent-500);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 0.6rem; flex-shrink: 0;
}
.dyk-stat {
  font-family: var(--serif); font-size: 1.3rem; color: var(--stone-950);
  line-height: 1.3; margin-bottom: 0.6rem; flex-shrink: 0;
}
.dyk-body {
  font-size: 0.87rem; color: var(--stone-500); line-height: 1.65;
  flex: 1;
}
.ai-closing {
  background: var(--stone-900);
  border-radius: 14px;
  padding: 1.8rem 2.4rem;
  border-left: 4px solid var(--accent-500);
  margin-bottom: 2.5rem;
}
.ai-closing p {
  font-size: 1.02rem; color: var(--white); line-height: 1.75; font-weight: 500;
}
.ai-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}
.ai-principle {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: 14px;
  padding: 1.6rem 1.8rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.ai-principle:hover {
  border-color: var(--accent-400);
  box-shadow: 0 6px 24px rgba(0,0,0,0.04);
}
.ai-principle-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; margin-bottom: 0.9rem; flex-shrink: 0;
}
.ai-principle:nth-child(1) .ai-principle-icon { background: #fce8eb; }
.ai-principle:nth-child(2) .ai-principle-icon { background: #e8f0ea; }
.ai-principle:nth-child(3) .ai-principle-icon { background: #f0ece8; }
.ai-principle h4 {
  font-size: 0.95rem; font-weight: 700;
  color: var(--stone-900); margin-bottom: 0.5rem; flex-shrink: 0;
}
.ai-principle p {
  font-size: 0.87rem; color: var(--stone-500); line-height: 1.6; flex: 1;
}
.ai-tools-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.8rem; }
.ai-chip {
  padding: 0.35rem 0.85rem;
  background: var(--stone-950);
  border: 1px solid var(--stone-700);
  border-radius: 100px;
  font-size: 0.75rem; color: var(--stone-300);
}

/* AI page extras */
.ai-engagement {
  background: var(--white);
  padding: 7rem 0;
}
.ai-engagement-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem;
}
.ai-engagement-card {
  background: var(--stone-50);
  border: 1.5px solid var(--stone-200);
  border-radius: 16px;
  padding: 2.2rem 2rem;
}
.ai-engagement-card h3 {
  font-family: var(--serif); font-size: 1.5rem;
  color: var(--stone-950); margin-bottom: 0.8rem;
}
.ai-engagement-card p {
  font-size: 0.95rem; color: var(--stone-600); line-height: 1.65; margin-bottom: 1.2rem;
}
.ai-engagement-card ul { list-style: none; padding: 0; }
.ai-engagement-card ul li {
  font-size: 0.9rem; color: var(--stone-600); padding-left: 1.5rem;
  position: relative; margin-bottom: 0.55rem; line-height: 1.55;
}
.ai-engagement-card ul li::before {
  content: '\2713'; position: absolute; left: 0;
  color: var(--accent-500); font-weight: 700;
}

/* ─── PROCESS ─── */
.process {
  padding: 7rem 0; background: #1e3a5f;
  color: var(--white); position: relative; overflow: hidden;
}
.process::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(155,35,53,0.08) 0%, transparent 70%);
}
.process .section-tag { color: var(--accent-400); }
.process .section-title { color: var(--white); }
.process .section-sub { color: var(--stone-400); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.process-step {
  text-align: center; padding: 2rem 1.4rem; position: relative;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  transition: background 0.3s ease;
}
.process-step:hover { background: rgba(255,255,255,0.07); }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.2rem;
  color: var(--white); margin: 0 auto 1.2rem;
}
.process-step h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.6rem; color: var(--white); }
.process-step p { font-size: 0.88rem; color: var(--stone-300); line-height: 1.6; }

/* ─── ABOUT ─── */
.about {
  padding: 7rem 0;
  background:
    radial-gradient(ellipse 50% 50% at 80% 50%, rgba(155,35,53,0.05) 0%, transparent 70%),
    var(--white);
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-visual {
  background: var(--stone-100); border-radius: 20px; padding: 3rem;
}
.about-quote {
  font-family: var(--serif); font-size: 1.55rem; line-height: 1.5;
  color: var(--stone-800);
  padding-left: 1.5rem; border-left: 3px solid var(--accent-500);
}
.about-attr { margin-top: 1.5rem; font-size: 0.85rem; color: var(--stone-500); font-weight: 500; }
.about-content h2 { font-family: var(--serif); font-size: 2.2rem; color: var(--stone-950); margin-bottom: 1.5rem; line-height: 1.25; }
.about-content p { font-size: 1rem; color: var(--stone-600); line-height: 1.8; margin-bottom: 1.2rem; }
.about-photo-row {
  display: flex; align-items: center; gap: 16px; margin-bottom: 24px;
}
.about-photo-circle {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(155,35,53,0.12); border: 2px solid var(--accent-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; color: var(--accent-500);
  font-family: 'IBM Plex Mono', monospace; flex-shrink: 0;
}
.about-photo-name { font-size: 14px; color: navy; line-height: 1.6; font-weight: 600; }
.about-photo-loc { font-size: 12px; color: var(--stone-600); font-family: 'IBM Plex Mono', monospace; }

/* ─── GUARANTEE ─── */
.guarantee {
  padding: 5rem 0;
  background: var(--white);
  border-top: 1px solid var(--stone-200);
}
.guarantee-box {
  max-width: 720px; margin: 0 auto;
  background: var(--stone-50);
  border: 2px solid var(--stone-200);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  position: relative;
}
.guarantee-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 1.5rem;
  border: 2px solid var(--accent-500);
}
.guarantee-box h3 {
  font-family: var(--serif); font-size: 1.7rem;
  color: var(--stone-950); margin-bottom: 1rem; line-height: 1.3;
}
.guarantee-box p {
  font-size: 1rem; color: var(--stone-600);
  line-height: 1.7; max-width: 540px; margin: 0 auto;
}
.guarantee-box p strong { color: var(--stone-900); }
.guarantee-box p + p { margin-top: 1rem; }

/* ─── VALUE STACK + URGENCY ─── */
.value-stack-dark {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem;
  margin: 2rem auto; max-width: 560px; text-align: left;
}
.value-stack-dark .value-item {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.9rem; color: var(--stone-300); line-height: 1.5;
}
.value-check {
  color: var(--accent-500); font-weight: 700; font-size: 1rem;
  flex-shrink: 0; margin-top: 1px;
}

/* ─── AUDIT FORM ─── */
.audit-section {
  padding: 5rem 0 6rem;
  background: var(--stone-950);
  position: relative; overflow: hidden;
}
.audit-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 30% 50%, rgba(155,35,53,0.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 70% 50%, rgba(155,35,53,0.06) 0%, transparent 70%);
}
.audit-wrapper { position: relative; z-index: 1; max-width: 1140px; margin: 0 auto; }
.audit-layout {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 4rem; align-items: start;
}
.audit-copy .section-tag { color: var(--accent-400); margin-bottom: 0.8rem; }
.audit-copy h2 {
  font-family: var(--serif); font-size: 2.2rem; color: var(--white);
  margin-bottom: 1rem; line-height: 1.25;
}
.audit-copy > p {
  font-size: 1rem; color: var(--stone-300); line-height: 1.7; margin-bottom: 1.5rem;
}
.audit-copy .value-stack-dark {
  grid-template-columns: 1fr;
  max-width: 100%;
  margin: 0 0 1.5rem;
}
.audit-urgency {
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--accent-500);
  background: rgba(155,35,53,0.07);
  border-radius: 0 10px 10px 0;
  margin-top: 0.5rem;
}
.audit-urgency .urgency-eyebrow {
  font-size: 0.78rem; color: var(--stone-400); margin-bottom: 0.4rem;
}
.audit-urgency .urgency-headline {
  font-size: 1.1rem; font-weight: 700; color: var(--white);
  margin-bottom: 0.5rem; line-height: 1.4;
}
.audit-urgency .urgency-body {
  font-size: 0.9rem; color: var(--stone-300); line-height: 1.6;
}
.audit-form-heading { text-align: center; padding: 0 0 1.5rem; }
.audit-form-heading h3 {
  font-family: var(--serif); font-size: 1.6rem; color: var(--white);
  margin-bottom: 0.4rem;
}
.audit-form-heading p { font-size: 0.92rem; color: var(--stone-300); }
.form-progress {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; margin-bottom: 2.5rem;
}
.progress-step {
  width: 40px; height: 4px; border-radius: 2px;
  background: var(--stone-700); transition: all 0.4s ease;
}
.progress-step.active { background: var(--accent-500); }
.progress-step.done { background: var(--accent-400); }
.form-card {
  background: var(--stone-900);
  border: 2px solid var(--accent-500);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 0 60px rgba(155,35,53,0.15);
}
.form-step { display: none; }
.form-step.active { display: block; animation: fadeInUp 0.4s ease; }
.form-step-title {
  font-family: var(--serif); font-size: 1.4rem;
  color: var(--white); margin-bottom: 0.5rem;
}
.form-step-sub {
  font-size: 0.9rem; color: var(--stone-300);
  margin-bottom: 2rem; line-height: 1.5;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--stone-300); margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1.5px solid var(--stone-700);
  border-radius: 10px;
  background: var(--stone-800);
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--sans);
  transition: border-color 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--stone-500); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent-500);
}
.form-group select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239a9a92' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-group select option { background: var(--stone-800); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 72px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.type-card {
  background: var(--stone-800);
  border: 1.5px solid var(--stone-700);
  border-radius: 14px;
  padding: 1.5rem 1.2rem;
  text-align: center; cursor: pointer;
  transition: all 0.25s ease;
}
.type-card:hover { border-color: var(--stone-500); }
.type-card.selected { border-color: var(--accent-500); background: rgba(155,35,53,0.08); }
.type-card-icon { font-size: 1.8rem; margin-bottom: 0.6rem; }
.type-card-label { font-size: 0.88rem; font-weight: 600; color: var(--white); margin-bottom: 0.3rem; }
.type-card-desc { font-size: 0.75rem; color: var(--stone-300); line-height: 1.4; }
.pill-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill-option {
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--stone-700);
  border-radius: 100px;
  font-size: 0.85rem; font-weight: 500;
  color: var(--stone-300);
  cursor: pointer; transition: all 0.2s;
  user-select: none;
}
.pill-option:hover { border-color: var(--stone-500); }
.pill-option.selected { border-color: var(--accent-500); background: rgba(155,35,53,0.1); color: var(--accent-300); }
.form-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--stone-800);
}
.form-back {
  font-size: 0.9rem; font-weight: 500; color: var(--stone-300);
  background: none; border: none; cursor: pointer;
  font-family: var(--sans); transition: color 0.2s;
  padding: 0.7rem 0;
}
.form-back:hover { color: var(--white); }
.form-next {
  background: var(--accent-500); color: var(--white);
  padding: 0.85rem 2rem; border: none; border-radius: 8px;
  font-size: 0.92rem; font-weight: 600; font-family: var(--sans);
  cursor: pointer; transition: all 0.25s;
}
.form-next:hover { background: var(--accent-400); transform: translateY(-1px); }
.form-next:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.form-success { text-align: center; padding: 2rem 0; }
.success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(155,35,53,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 1.5rem;
}
.form-success h3 {
  font-family: var(--serif); font-size: 1.7rem;
  color: var(--white); margin-bottom: 0.8rem;
}
.form-success p { font-size: 0.95rem; color: var(--stone-300); line-height: 1.6; max-width: 400px; margin: 0 auto; }
.audit-fine { text-align: center; margin-top: 1.5rem; font-size: 0.78rem; color: var(--stone-500); }

/* ─── SERVICE PAGE LAYOUT ─── */
.service-hero {
  padding: 9rem 0 4rem;
  background:
    radial-gradient(ellipse 60% 50% at 30% 100%, rgba(155,35,53,0.06) 0%, transparent 70%),
    var(--white);
  border-bottom: 1px solid var(--stone-200);
}
.service-hero h1 {
  font-family: var(--serif); font-size: 3.2rem; line-height: 1.15;
  color: var(--stone-950); margin: 1rem 0 1.2rem; max-width: 760px;
}
.service-hero h1 em { color: var(--accent-500); font-style: italic; }
.service-hero .lead {
  font-size: 1.15rem; color: var(--stone-600); line-height: 1.7;
  max-width: 640px; margin-bottom: 2rem;
}

.service-body { padding: 5rem 0; }
.service-body-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem;
}
.service-block {
  background: var(--stone-50);
  border: 1.5px solid var(--stone-200);
  border-radius: 16px;
  padding: 2rem 2.2rem;
}
.service-block h2 {
  font-family: var(--serif); font-size: 1.5rem;
  color: var(--stone-950); margin-bottom: 0.8rem;
}
.service-block p, .service-block li {
  font-size: 0.95rem; color: var(--stone-600); line-height: 1.7;
}
.service-block ul { list-style: none; padding: 0; margin-top: 0.8rem; }
.service-block ul li {
  padding-left: 1.5rem; position: relative; margin-bottom: 0.6rem;
}
.service-block ul li::before {
  content: '\2713'; position: absolute; left: 0;
  color: var(--accent-500); font-weight: 700;
}

.service-deliverables {
  background: var(--white);
  border: 1.5px solid var(--accent-400);
  border-radius: 16px;
  padding: 2.4rem 2.6rem;
  margin-top: 1rem;
}
.service-deliverables h2 {
  font-family: var(--serif); font-size: 1.6rem;
  color: var(--stone-950); margin-bottom: 1rem;
}
.service-deliverables-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem;
}
.service-deliverables-grid li {
  font-size: 0.9rem; color: var(--stone-700); line-height: 1.55;
  padding-left: 1.5rem; position: relative; list-style: none;
}
.service-deliverables-grid li::before {
  content: '\2192'; position: absolute; left: 0;
  color: var(--accent-500); font-weight: 700;
}

.service-cta-banner {
  padding: 5rem 0; text-align: center;
  background: var(--stone-50);
  border-top: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
}
.service-cta-banner h2 {
  font-family: var(--serif); font-size: 2rem;
  color: var(--stone-950); margin-bottom: 1rem;
}
.service-cta-banner p {
  font-size: 1.05rem; color: var(--stone-600);
  max-width: 540px; margin: 0 auto 2rem; line-height: 1.7;
}

/* ─── FOOTER ─── */
footer {
  padding: 3rem 0; background: var(--stone-950);
  border-top: 1px solid var(--stone-800);
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-logo { font-family: var(--serif); font-size: 1.2rem; color: var(--stone-400); text-decoration: none; }
.footer-logo span { color: var(--accent-500); }
.footer-tag { font-size: 0.78rem; color: var(--stone-500); margin-top: 0.4rem; font-style: italic; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-links a { font-size: 0.82rem; color: var(--stone-500); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent-400); }

/* ─── RESPONSIVE ─── */
@media (max-width: 980px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero h1 { font-size: 2.6rem; }
  .services-grid, .services-grid.five { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .service-body-grid { grid-template-columns: 1fr; }
  .ai-engagement-grid { grid-template-columns: 1fr; }
  .audit-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .dyk-cards, .ai-principles { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  nav { gap: 1.2rem; }
  nav > a:not(.nav-cta), .nav-dropdown { display: none; }
  .nav-toggle { display: inline-flex; }
  .topbar-inner { gap: 1rem; }
  .hero { padding: 8rem 0 4rem; }
  .services-grid, .services-grid.five { grid-template-columns: 1fr; }
  .type-grid { grid-template-columns: 1fr; }
  .service-deliverables-grid { grid-template-columns: 1fr; }
  /* Mobile drawer when toggled */
  nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0.4rem; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 1rem 2rem 1.5rem; border-bottom: 1px solid var(--stone-200); }
  nav.open > a, nav.open .nav-dropdown { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--stone-100); }
  nav.open .nav-dropdown-menu { position: static; transform: none; box-shadow: none; border: none; opacity: 1; visibility: visible; padding: 0.5rem 0 0 1rem; min-width: 0; }
  nav.open .nav-cta { margin-top: 0.6rem; text-align: center; }
}
@media (max-width: 540px) {
  .hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.9rem; }
  .service-hero h1 { font-size: 2.2rem; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .footer-inner { flex-direction: column; text-align: center; }
  .form-card { padding: 2rem 1.5rem; }
  .audit-copy h2 { font-size: 1.8rem; }
  .value-stack-dark { grid-template-columns: 1fr; }
  .guarantee-box { padding: 2rem 1.5rem; }
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
