/* ACE Production Styles (CSP-safe, no inline styles required)
   Palette: #FAF3E1 bg | #016B61 deep teal | #9ECFD4 light teal
*/

/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  background: #FAF3E1;
  color: #222222;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 12px;
  background: rgba(1,107,97,0.1); color: #016B61;
  padding: 10px 14px; border-radius: 10px; z-index: 2000;
  border: 1px solid rgba(1,107,97,0.2);
}
.skip-link:focus { left: 12px; }

/* ═══════════════════════════════════════
   CSS VARIABLES — Warm Parchment Palette
   ═══════════════════════════════════════ */
:root {
  --bg:           #FAF3E1;
  --bg-section:   #F5EDD6;
  --bg-deep:      #EDE4CC;
  --teal-deep:    #016B61;
  --teal-mid:     #70B2B2;
  --teal-light:   #9ECFD4;
  --sage:         #E5E9C5;
  --charcoal:     #222222;
  --text-primary: #1A1A1A;
  --text-secondary: rgba(34,34,34,0.65);
  --text-muted:   rgba(34,34,34,0.45);
  --text-faint:   rgba(34,34,34,0.25);
  --card-bg:      rgba(255,255,255,0.7);
  --card-border:  rgba(1,107,97,0.1);
  /* Brand accent palette — maroon primary, orange as warm highlight */
  --maroon:        #562F00;
  --maroon-mid:    #7A4510;
  --maroon-light:  rgba(86,47,0,0.12);
  --maroon-border: rgba(86,47,0,0.22);
  --orange:        #FF9644;
  --orange-glow:   rgba(255,150,68,0.09);
  --orange-border: rgba(255,150,68,0.20);
  --font-display: 'Sora', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --max-w:        1200px;
  --section-pad:  80px 24px;
  --radius:       18px;
  --radius-lg:    24px;
  --shadow-soft:  0 4px 32px rgba(1,107,97,0.08);
  --shadow-card:  0 8px 48px rgba(1,107,97,0.12);
  --shadow-hover: 0 20px 60px rgba(1,107,97,0.18);
}

/* ═══════════════════════════════════════
   KEYFRAMES
   ═══════════════════════════════════════ */
@keyframes floatParticle {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(14px, -20px) rotate(90deg); }
  50%  { transform: translate(-10px, 16px) rotate(180deg); }
  75%  { transform: translate(18px, 10px) rotate(270deg); }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(44px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroBadgeIn {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(1,107,97,0.2); }
  50%       { box-shadow: 0 0 28px 10px rgba(1,107,97,0.06); }
}
@keyframes kenBurns {
  0%   { transform: scale(1.04); }
  50%  { transform: scale(1.12) translate(-1%, -0.5%); }
  100% { transform: scale(1.04); }
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes logoFadeInOnce {
  from { opacity: 0; transform: translateY(-6px); filter: blur(1px); }
  to   { opacity: 1; transform: translateY(0);   filter: blur(0); }
}
@keyframes logoSweep { to { left: 140%; } }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -40px) scale(1.05); }
  66%       { transform: translate(-20px, 20px) scale(0.97); }
}
@keyframes lineGrow { from { width: 0; } to { width: 60px; } }

/* ═══════════════════════════════════════
   PAGE TEXTURE OVERLAY
   ═══════════════════════════════════════ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(1,107,97,0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(158,207,212,0.05) 0%, transparent 50%),
    radial-gradient(circle at 60% 10%, rgba(112,178,178,0.04) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

/* ═══════════════════════════════════════
   AMBIENT ORB BACKGROUNDS
   ═══════════════════════════════════════ */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orbFloat 20s ease-in-out infinite;
}
/* Predefined orbs (replace inline styles) */
.orb-about { width:300px; height:300px; top:10%; right:5%; background: radial-gradient(circle,rgba(158,207,212,0.15),transparent 70%); animation-duration:22s; }
.orb-services { width:250px; height:250px; bottom:15%; left:3%; background: radial-gradient(circle,rgba(1,107,97,0.08),transparent 70%); animation-duration:18s; animation-delay:-5s; }
.orb-process { width:350px; height:350px; top:20%; right:-5%; background: radial-gradient(circle,rgba(229,233,197,0.5),transparent 70%); animation-duration:24s; animation-delay:-8s; }
.orb-contact { width:400px; height:400px; top:10%; right:5%; background: radial-gradient(circle,rgba(229,233,197,0.4),transparent 70%); animation-duration:20s; }

/* ═══════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0;
  transition: all 0.4s cubic-bezier(.22,1,.36,1);
}
.nav.scrolled {
  padding: 0;
  background: rgba(250,243,225,0.92);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(1,107,97,0.08);
  box-shadow: 0 2px 24px rgba(1,107,97,0.06);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: stretch; justify-content: space-between;
  height: 72px;
}
.nav-brand {
  display: flex; align-items: stretch; gap: 10px; cursor: pointer;
  position: relative; margin: 0; padding: 0;
}
.nav-brand img {
  height: 100%; width: auto; object-fit: contain;
  display: block; margin: 0; padding: 0;
  opacity: 1; transform: translate3d(0,0,0);
  will-change: transform, opacity;
}
.nav-brand-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 700;
  letter-spacing: 2px; color: var(--teal-deep); line-height: 1;
}
.nav-brand-sub {
  display: block; font-size: 11px; color: var(--teal-mid);
  letter-spacing: 1.2px; margin-top: 2px;
  font-family: var(--font-body); font-weight: 600; line-height: 1.1;
}
.nav-brand::after {
  content: "";
  position: absolute; top: -6px; bottom: -6px; left: -140%; width: 120%;
  background: linear-gradient(120deg, transparent 35%, rgba(1,107,97,0.12) 50%, transparent 65%);
  transform: skewX(-20deg); pointer-events: none; opacity: 0;
}
.nav-brand.logo-sweep::after { opacity: 1; animation: logoSweep 1.8s ease forwards; }
.nav-brand img.logo-fade { animation: logoFadeInOnce 1.1s ease-out forwards; }

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-link,
.nav-links a:not(.nav-cta) {
  background: transparent; border: none; color: var(--text-secondary);
  padding: 8px 18px; border-radius: 8px; cursor: pointer; font-size: 13px;
  font-weight: 400; transition: all 0.3s; letter-spacing: 0.3px;
  text-decoration: none; display: inline-flex; align-items: center;
}
.nav-link:hover,
.nav-links a:not(.nav-cta):hover { color: var(--teal-deep); background: rgba(1,107,97,0.06); }
.nav-link.active,
.nav-links a:not(.nav-cta).active { color: var(--teal-deep); background: rgba(1,107,97,0.1); font-weight: 600; }
.nav-cta {
  background: linear-gradient(135deg, var(--teal-deep), #025a52);
  border: none; color: #FAF3E1; padding: 9px 24px; border-radius: 8px;
  cursor: pointer; font-size: 13px; font-weight: 700; margin-left: 8px;
  transition: all 0.3s; letter-spacing: 0.3px;
}
.nav-cta:hover {
  box-shadow: 0 8px 28px rgba(86,47,0,0.2);
  transform: translateY(-1px);
  background: linear-gradient(135deg, #025a52, var(--maroon));
}
.nav-mobile-btn {
  display: none; background: none; border: none; color: var(--teal-deep);
  font-size: 26px; cursor: pointer; padding: 4px; line-height: 1;
}
.nav-mobile-menu {
  display: none; background: rgba(250,243,225,0.98); backdrop-filter: blur(20px);
  padding: 12px 24px 20px; flex-direction: column; gap: 2px;
  border-top: 1px solid rgba(1,107,97,0.08);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-link,
.nav-mobile-menu a {
  background: transparent; border: none; color: var(--text-secondary);
  padding: 14px 16px; border-radius: 8px; cursor: pointer; font-size: 15px;
  text-align: left; font-family: inherit; transition: all 0.3s;
  text-decoration: none; display: block;
}
.nav-mobile-link:hover, .nav-mobile-link.active,
.nav-mobile-menu a:hover, .nav-mobile-menu a.active { color: var(--teal-deep); background: rgba(1,107,97,0.08); }

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh; display: flex;
  align-items: center; overflow: hidden; background: var(--bg);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; animation: kenBurns 30s ease-in-out infinite; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(135deg, rgba(250,243,225,0.95) 0%, rgba(250,243,225,0.85) 35%, rgba(250,243,225,0.5) 65%, rgba(250,243,225,0.7) 100%),
    linear-gradient(to top, rgba(250,243,225,1) 0%, transparent 40%),
    linear-gradient(to bottom, rgba(250,243,225,0.7) 0%, transparent 20%);
}
.hero-glow {
  position: absolute; top: 15%; left: 8%; width: 500px; height: 500px;
  border-radius: 50%; background: radial-gradient(circle, rgba(1,107,97,0.07), transparent 70%);
  z-index: 2; filter: blur(60px); animation: orbFloat 25s ease-in-out infinite;
}
.hero-glow-2 {
  position: absolute; top: 40%; right: 15%; width: 350px; height: 350px;
  border-radius: 50%; background: radial-gradient(circle, rgba(158,207,212,0.12), transparent 70%);
  z-index: 2; filter: blur(50px); animation: orbFloat 18s ease-in-out 5s infinite;
}
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 3; }
.hero-particle { position: absolute; border-radius: 50%; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; }

.hero-content {
  position: relative; z-index: 10; max-width: var(--max-w);
  margin: 0 auto; padding: 140px 24px 100px; width: 100%;
}
.hero-inner { max-width: 640px; }

/* Hero badge pill (used on certification/503b pages) */
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(1,107,97,0.08); border: 1px solid rgba(1,107,97,0.18);
  border-radius: 100px; padding: 6px 16px 6px 8px;
  margin-bottom: 22px; backdrop-filter: blur(8px);
}
.hero-badge img {
  width: 28px; height: 28px;
  object-fit: contain; border-radius: 50%; flex-shrink: 0;
}
.hero-badge span {
  font-size: 12px; font-weight: 600; color: var(--teal-deep);
  letter-spacing: 0.5px; text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-display); font-size: 62px; font-weight: 800;
  line-height: 1.06; margin-bottom: 28px; letter-spacing: -1.5px;
  color: var(--charcoal);
  animation: heroFadeUp 1s ease-out 0.1s both;
}
.hero-title .gradient {
  background: linear-gradient(135deg, #016B61 0%, #70B2B2 50%, #9ECFD4 100%);
  background-size: 200% auto; animation: gradientShift 5s ease infinite;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: 18px; color: var(--text-secondary); line-height: 1.75;
  margin-bottom: 48px; max-width: 520px;
  animation: heroFadeUp 1s ease-out 0.25s both;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; animation: heroFadeUp 1s ease-out 0.4s both; }

.hero-fade-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 220px;
  background: linear-gradient(to top, var(--bg), transparent); z-index: 6;
}

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; border-radius: 12px; border: none;
  font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.4s cubic-bezier(.22,1,.36,1);
  letter-spacing: 0.3px; position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal-deep) 0%, #025a52 100%);
  color: #FAF3E1;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
  background-size: 200% 100%; background-position: -100% center;
  transition: background-position 0.6s ease;
}
.btn-primary:hover::before { background-position: 100% center; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(1,107,97,0.35); }
.btn-secondary {
  background: rgba(1,107,97,0.06); color: var(--teal-deep);
  border: 1.5px solid rgba(1,107,97,0.2);
}
.btn-secondary:hover {
  background: rgba(1,107,97,0.1); border-color: rgba(1,107,97,0.4);
  transform: translateY(-3px); box-shadow: 0 8px 28px rgba(1,107,97,0.12);
}
.btn-full { width: 100%; justify-content: center; padding: 18px 36px; }
.btn-arrow { font-size: 18px; transition: transform 0.3s; }
.btn:hover .btn-arrow { transform: translateX(5px); }

/* ═══════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════ */
.section { padding: var(--section-pad); max-width: var(--max-w); margin: 0 auto; }
.section-bg { background: linear-gradient(180deg, var(--bg-section) 0%, var(--bg) 100%); position: relative; overflow: hidden; }
.section-bg-alt { background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-section) 100%); position: relative; overflow: hidden; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; display: inline-block; margin-bottom: 14px;
  position: relative;
}
.section-label::after {
  content: '';
  display: block; height: 2px; background: var(--maroon);
  border-radius: 2px; margin-top: 6px;
  width: 0; animation: lineGrow 0.6s ease-out 0.2s forwards;
}
.section-label.accent1 { color: var(--teal-deep); }
.section-label.accent2 { color: var(--teal-mid); }
.section-label.accent2::after { background: var(--teal-mid); }
.section-title {
  font-family: var(--font-display); font-size: 42px;
  font-weight: 800; line-height: 1.12; color: var(--charcoal);
}
.section-title .light { color: var(--teal-mid); font-weight: 300; }
.section-center { text-align: center; }
.section-header { margin-bottom: 52px; }

/* Utility */
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-link { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: #025a52; }
.mt-20 { margin-top: 20px; }
.mt-26 { margin-top: 26px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mw-780 { max-width: 780px; }
.mw-720 { max-width: 720px; }

/* ═══════════════════════════════════════
   SEO BLOCKS
   ═══════════════════════════════════════ */
.seo-wrap { max-width: 1100px; margin: 0 auto; padding: 60px 24px; }
.seo-wrap.narrow { max-width: 900px; }
.seo-wrap h2 { font-family: var(--font-display); font-size: 32px; margin-bottom: 20px; letter-spacing: -0.2px; color: var(--charcoal); }
.seo-wrap p { font-size: 17px; line-height: 1.75; color: var(--text-secondary); margin-bottom: 16px; }
.seo-wrap p:last-child { margin-bottom: 0; }

/* Comparison table */
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare-table th { background: linear-gradient(135deg, rgba(86,47,0,0.07), rgba(1,107,97,0.05)); color: var(--maroon); font-weight: 700; }
.compare-table th, .compare-table td { padding: 14px 16px; border-bottom: 1px solid rgba(1,107,97,0.1); text-align: left; }
.compare-table tbody tr:hover { background: rgba(86,47,0,0.02); }
.compare-table caption { caption-side: bottom; padding: 14px; font-size: 13px; color: var(--text-muted); }

/* FAQ */
.faq details {
  background: rgba(255,255,255,0.6); border: 1px solid rgba(1,107,97,0.1);
  border-radius: 14px; padding: 18px 20px; margin-bottom: 12px;
  transition: all 0.3s ease;
}
.faq details[open] { background: rgba(255,255,255,0.9); border-color: rgba(1,107,97,0.2); }
.faq summary { cursor: pointer; list-style: none; color: var(--charcoal); font-size: 16px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; float: right; color: var(--teal-mid); font-weight: 700; transition: transform 0.3s; }
.faq details[open] summary::after { content: "—"; color: var(--teal-deep); }
.faq p { margin-top: 12px; font-size: 15px; line-height: 1.75; color: var(--text-secondary); }

/* ═══════════════════════════════════════
   REVEAL ON SCROLL
   ═══════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(44px); transition: all 0.9s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }

/* ═══════════════════════════════════════
   TRUST STRIP
   ═══════════════════════════════════════ */
.trust-strip {
  padding: 32px 24px;
  background: linear-gradient(135deg, rgba(86,47,0,0.04) 0%, rgba(1,107,97,0.03) 100%);
  border-top: 1px solid var(--maroon-border);
  border-bottom: 1px solid rgba(1,107,97,0.08);
}
.trust-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 13px; font-weight: 600; letter-spacing: 0.3px; }
.trust-icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--maroon-light), rgba(1,107,97,0.07));
  border: 1px solid var(--maroon-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}

/* ═══════════════════════════════════════
   STATS
   ═══════════════════════════════════════ */
.stats-section {
  background: linear-gradient(135deg, var(--teal-deep) 0%, #025a52 100%);
  position: relative; overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(158,207,212,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.05) 0%, transparent 40%);
}
.stats-row {
  max-width: var(--max-w); margin: 0 auto; padding: 64px 24px;
  display: flex; justify-content: space-around; gap: 24px; position: relative; z-index: 1;
}
.stat { text-align: center; flex: 1; }
.stat-value {
  font-size: 56px; font-weight: 800; font-family: var(--font-display);
  color: #FAF3E1;
  text-shadow: 0 0 40px rgba(158,207,212,0.4);
}
.stat-label { color: rgba(250,243,225,0.65); font-size: 12px; margin-top: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }
.stat-line { width: 40px; height: 2px; background: var(--maroon-mid); margin: 12px auto 0; border-radius: 2px; }

/* ═══════════════════════════════════════
   FEATURE CARDS
   ═══════════════════════════════════════ */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.feature-card {
  padding: 40px 32px; border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
  transition: all 0.5s cubic-bezier(.22,1,.36,1);
  position: relative; overflow: hidden;
  backdrop-filter: blur(8px);
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--maroon), var(--teal-mid));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(.22,1,.36,1);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(1,107,97,0.25);
  background: rgba(255,255,255,0.9);
}
.feature-icon-wrap {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(1,107,97,0.1), rgba(158,207,212,0.15));
  display: flex; align-items: center; justify-content: center;
  transition: all 0.4s ease;
}
.feature-card:hover .feature-icon-wrap { background: linear-gradient(135deg, var(--teal-deep), var(--teal-mid)); transform: rotate(5deg); }
.feature-icon { font-size: 26px; transition: transform 0.3s; }
.feature-card:hover .feature-icon { transform: scale(1.1); }
.feature-title { font-size: 18px; font-weight: 700; margin-bottom: 12px; font-family: var(--font-display); color: var(--charcoal); }
.feature-desc { color: var(--text-secondary); font-size: 14.5px; line-height: 1.75; }

/* ═══════════════════════════════════════
   SERVICE CARDS
   ═══════════════════════════════════════ */
.services-row { display: flex; gap: 32px; flex-wrap: wrap; }
.service-card {
  flex: 1; min-width: 300px;
  padding: 48px 36px; border-radius: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  transition: all 0.5s cubic-bezier(.22,1,.36,1);
  position: relative; overflow: hidden;
  backdrop-filter: blur(8px);
}
.service-card::after {
  content: '';
  position: absolute; inset: 0; border-radius: 24px;
  background: linear-gradient(135deg, rgba(1,107,97,0) 0%, rgba(158,207,212,0.08) 100%);
  opacity: 0; transition: opacity 0.5s;
}
.service-card:hover::after { opacity: 1; }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.service-card.accent1:hover { border-color: rgba(1,107,97,0.3); }
.service-card.accent2:hover { border-color: rgba(112,178,178,0.4); }
.service-card .glow { position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; border-radius: 50%; opacity: 0; transition: opacity 0.5s; }
.service-card:hover .glow { opacity: 1; }
.service-card.accent1 .glow { background: radial-gradient(circle, rgba(1,107,97,0.1), transparent 70%); }
.service-card.accent2 .glow { background: radial-gradient(circle, rgba(112,178,178,0.12), transparent 70%); }
.service-icon { font-size: 44px; margin-bottom: 24px; }
.service-title { font-size: 24px; font-weight: 700; margin-bottom: 28px; font-family: var(--font-display); color: var(--charcoal); }
.service-item {
  display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start;
  opacity: 0; transform: translateX(-10px);
  transition: all 0.5s cubic-bezier(.22,1,.36,1);
}
.service-card.items-visible .service-item { opacity: 1; transform: translateX(0); }
.service-item:nth-child(1) { transition-delay: 0.05s; }
.service-item:nth-child(2) { transition-delay: 0.10s; }
.service-item:nth-child(3) { transition-delay: 0.15s; }
.service-item:nth-child(4) { transition-delay: 0.20s; }
.service-item:nth-child(5) { transition-delay: 0.25s; }
.service-item:nth-child(6) { transition-delay: 0.30s; }
.service-check {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; transition: transform 0.3s;
}
.service-card.accent1 .service-check { background: rgba(1,107,97,0.12); color: var(--teal-deep); }
.service-card.accent2 .service-check { background: rgba(112,178,178,0.15); color: var(--teal-mid); }
.service-item:hover .service-check { transform: scale(1.2) rotate(10deg); }
.service-item p { color: var(--text-secondary); font-size: 14px; line-height: 1.65; }
.service-note { margin-top: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ═══════════════════════════════════════
   TIMELINE
   ═══════════════════════════════════════ */
.timeline { max-width: 640px; margin: 0 auto; }
.timeline-step { display: flex; gap: 28px; align-items: flex-start; }
.timeline-node { display: flex; flex-direction: column; align-items: center; min-width: 56px; }
.timeline-dot {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(1,107,97,0.06); border: 2px solid rgba(1,107,97,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; color: rgba(1,107,97,0.3);
  transition: all 0.8s cubic-bezier(.22,1,.36,1);
  font-family: var(--font-display);
}
.timeline-dot.active {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-mid));
  border: none; color: #FAF3E1;
  box-shadow: 0 0 0 8px rgba(1,107,97,0.1), 0 0 40px rgba(1,107,97,0.2);
}
.timeline-line { width: 2px; height: 80px; background: rgba(1,107,97,0.1); position: relative; overflow: hidden; margin: 4px 0; }
.timeline-line-fill { position: absolute; top: 0; left: 0; width: 100%; height: 0%; background: linear-gradient(to bottom, var(--teal-deep), var(--teal-mid)); transition: height 1.2s cubic-bezier(.22,1,.36,1) 0.3s; border-radius: 2px; }
.timeline-line-fill.active { height: 100%; }
.timeline-content { opacity: 0; transform: translateY(24px); transition: all 0.8s cubic-bezier(.22,1,.36,1) 0.15s; padding-bottom: 48px; }
.timeline-content.active { opacity: 1; transform: translateY(0); }
.timeline-content:last-child { padding-bottom: 0; }
.timeline-title { font-size: 21px; font-weight: 700; margin-bottom: 10px; font-family: var(--font-display); color: var(--charcoal); }
.timeline-desc { color: var(--text-secondary); line-height: 1.75; font-size: 15px; }

/* ═══════════════════════════════════════
   VALUE CARD
   ═══════════════════════════════════════ */
.value-card {
  border-radius: 28px; padding: 80px 60px;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(1,107,97,0.06) 0%, rgba(112,178,178,0.04) 50%, rgba(229,233,197,0.3) 100%);
  border: 1px solid rgba(1,107,97,0.12);
  box-shadow: var(--shadow-card);
}
.value-glow { position: absolute; top: -80px; right: -80px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(158,207,212,0.2), transparent 70%); filter: blur(40px); }
.value-glow-2 { position: absolute; bottom: -100px; left: -50px; width: 350px; height: 350px; border-radius: 50%; background: radial-gradient(circle, rgba(1,107,97,0.08), transparent 70%); filter: blur(50px); }
.value-inner { position: relative; z-index: 1; max-width: 680px; }
.value-logo { width: 68px; height: 68px; object-fit: contain; margin-bottom: 28px; filter: drop-shadow(0 4px 16px rgba(1,107,97,0.2)); }
.value-title { font-family: var(--font-display); font-size: 38px; font-weight: 800; margin-bottom: 24px; line-height: 1.15; color: var(--charcoal); }
.value-text { color: var(--text-secondary); font-size: 16px; line-height: 1.85; margin-bottom: 18px; }
.value-text:last-of-type { margin-bottom: 40px; }

/* ═══════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════ */
.contact-card {
  max-width: 560px; margin: 0 auto; padding: 56px 48px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(1,107,97,0.1);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}
.form-group { margin-bottom: 22px; }
.form-label { font-size: 11px; color: var(--teal-deep); display: block; margin-bottom: 8px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.form-input {
  width: 100%; padding: 15px 20px; border-radius: 12px;
  border: 1.5px solid rgba(1,107,97,0.12);
  background: rgba(250,243,225,0.6); color: var(--charcoal);
  font-size: 15px; outline: none; transition: all 0.3s;
  font-family: var(--font-body);
}
.form-input:focus { border-color: rgba(1,107,97,0.4); background: rgba(255,255,255,0.9); box-shadow: 0 0 0 4px rgba(1,107,97,0.06); }
.form-input::placeholder { color: rgba(34,34,34,0.3); }
textarea.form-input { resize: vertical; min-height: 110px; }
.form-toggle-row { display: flex; gap: 10px; }
.form-toggle {
  flex: 1; padding: 13px 14px; border-radius: 12px;
  background: rgba(1,107,97,0.04); border: 1.5px solid rgba(1,107,97,0.12);
  color: var(--text-secondary); font-size: 13px; font-weight: 500; cursor: pointer;
  text-align: center; transition: all 0.3s; font-family: var(--font-body);
}
.form-toggle:hover { background: rgba(1,107,97,0.08); border-color: rgba(1,107,97,0.25); }
.form-toggle.selected { background: rgba(1,107,97,0.1); border-color: rgba(1,107,97,0.35); color: var(--teal-deep); font-weight: 700; }

.form-message { margin-top: 16px; text-align: center; font-size: 14px; display:none; padding:14px; border-radius:12px; }
.form-message.ok { display:block; background: rgba(1,107,97,0.08); color: var(--teal-deep); border: 1px solid rgba(1,107,97,0.2); }
.form-message.err { display:block; background: rgba(200,50,50,0.06); color: #c03030; border: 1px solid rgba(200,50,50,0.15); }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer { background: linear-gradient(180deg, var(--bg-deep) 0%, #E8DEC9 100%); border-top: 2px solid var(--maroon-border); padding: 56px 24px 40px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 36px; height: 36px; object-fit: contain; }
.footer-brand-name { font-size: 15px; font-weight: 700; letter-spacing: 1px; color: var(--teal-deep); font-family: var(--font-display); }
.footer-brand-sub { display: block; font-size: 11px; color: var(--text-muted); margin-top: 3px; }
.footer-links { display: flex; gap: 20px; align-items: center; }
.footer-link { background: none; border: none; color: var(--text-muted); font-size: 13px; cursor: pointer; font-family: inherit; transition: color 0.3s; }
.footer-link:hover { color: var(--maroon); }
.footer-copy { color: var(--text-faint); font-size: 11px; width: 100%; text-align: center; margin-top: 28px; padding-top: 28px; border-top: 1px solid rgba(1,107,97,0.07); }

/* ═══════════════════════════════════════
   CURSOR RING + PROGRESS
   ═══════════════════════════════════════ */
/* Cursor ring removed per design revision */
#cursor-ring { display: none !important; }

#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal-light));
  z-index: 2000; width: 0%; transition: width 0.1s ease;
  box-shadow: 0 0 10px rgba(1,107,97,0.4);
}

/* ═══════════════════════════════════════
   MOBILE
   ═══════════════════════════════════════ */
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }
@media (max-width: 768px) {
  :root { --section-pad: 56px 20px; }
  .nav-links { display: none !important; }
  .nav-cta { display: none !important; }
  .nav-mobile-btn { display: block !important; }
  .hero-title { font-size: 36px !important; letter-spacing: -0.5px !important; }
  .hero-sub { font-size: 16px !important; }
  .hero-content { padding: 120px 20px 80px !important; }
  .stats-row { flex-direction: column; gap: 40px !important; }
  .stat-value { font-size: 44px; }
  .services-row { flex-direction: column !important; }
  .service-card { min-width: 0 !important; }
  .features-grid { grid-template-columns: 1fr !important; }
  .section-title { font-size: 32px !important; }
  .value-card { padding: 48px 28px !important; }
  .value-title { font-size: 28px !important; }
  .contact-card { padding: 36px 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { display: none !important; }
  .nav-brand-sub { display: none; }
  .timeline { padding: 0 4px; }
  .timeline-step { gap: 18px; }
  .nav-brand img { height: 100%; max-height: 56px; }
  .nav-brand-text { font-size: 22px; }
  .trust-inner { gap: 20px; }
  #cursor-ring { display: none !important; }
  .seo-wrap { padding: 44px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg, .hero-glow, .hero-glow-2, .ambient-orb { animation: none !important; }
  .nav-brand.logo-sweep::after, .nav-brand img.logo-fade { animation: none !important; }
  .section-label::after { animation: none !important; width: 60px; }
}

/* ═══════════════════════════════════════════════════
   BRAND ACCENT SYSTEM — Maroon primary, Orange warm highlight
   ═══════════════════════════════════════════════════ */

/* Scroll progress — maroon to teal */
#scroll-progress {
  background: linear-gradient(90deg, var(--maroon), var(--teal-light)) !important;
  box-shadow: 0 0 10px rgba(86,47,0,0.25) !important;
}

/* Hero badge — maroon border accent */
.hero-badge {
  border-color: var(--maroon-border) !important;
  background: linear-gradient(135deg, var(--maroon-light), rgba(1,107,97,0.05)) !important;
}
.hero-badge span { color: var(--maroon) !important; }

/* FAQ open state — maroon border */
.faq details[open] {
  border-color: var(--maroon-border);
  background: rgba(255,255,255,0.9);
}
.faq summary::after { color: var(--maroon-mid) !important; }
.faq details[open] summary::after { color: var(--maroon) !important; }

/* Service card accent1 check — maroon */
.service-card.accent1 .service-check {
  background: var(--maroon-light);
  color: var(--maroon);
}

/* Section backgrounds — warm parchment, no orange tint */
.section-bg {
  background: linear-gradient(180deg, #F0E8D5 0%, var(--bg) 100%);
}
.section-bg-alt {
  background: linear-gradient(180deg, #EAE0CA 0%, #F0E8D5 100%);
}

/* Timeline dot active — maroon ring glow */
.timeline-dot.active {
  box-shadow: 0 0 0 8px rgba(86,47,0,0.08), 0 0 40px rgba(1,107,97,0.2);
}

/* Btn primary hover — maroon shadow */
.btn-primary:hover {
  box-shadow: 0 14px 44px rgba(86,47,0,0.22) !important;
}

/* Maroon rule divider */
.maroon-rule {
  border: none; height: 2px; width: 48px;
  background: var(--maroon); border-radius: 2px;
  margin: 20px 0;
}

/* Value card left edge — maroon */
.value-card {
  border-left: 3px solid var(--maroon-border) !important;
}

/* Section label mobile */
@media (max-width: 768px) {
  .section-label::after { animation: none !important; width: 48px; }
}
