/* ═══════════════════════════════════════════
   BRAND TOKENS — from logo: black #181D26, crimson #BF0D23, white
═══════════════════════════════════════════ */
:root {
  --ink: #181d26;
  --ink-deep: #0d1218;
  --crimson: #BF0D23;
  --crimson-d: #8C0017;
  --body: #333840;
  --muted: #6b7280;
  --hairline: #e5e7eb;
  --canvas: #ffffff;
  --soft: #f8fafc;
  --strong: #e0e2e6;
  --dark: #181d26;
  --dark-el: #1d1f25;
  --on-dark: #ffffff;

  /* Signature surfaces — ALL brand palette, no green/yellow */
  --sig-crimson: #BF0D23;
  --sig-dark: #181d26;
  --sig-cream: #f5ece8;
  /* warm red-tinted cream */
  --sig-steel: #1e2a3a;
  /* deep steel blue-black */
  --sig-rust: #7a1a1a;
  /* deep rust */

  --sp-xxs: 4px;
  --sp-xs: 8px;
  --sp-sm: 12px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-xxl: 48px;
  --sp-section: 96px;
  --r-xs: 2px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 12px;

  --font-d: 'Space Grotesk', sans-serif;
  --font-b: 'DM Sans', sans-serif;
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-b);
  background: var(--canvas);
  color: var(--body);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--soft);
}

::-webkit-scrollbar-thumb {
  background: var(--crimson);
  border-radius: 3px;
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.nav {
  height: var(--nav-h);
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-xxl);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}

.nav-links a {
  font-size: 15px;
  color: var(--body);
  font-family: var(--font-b);
  font-weight: 400;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  border-color: var(--crimson);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .2s;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  background: var(--canvas);
  z-index: 10001; /* Higher than cookie banner */
  padding: var(--sp-xl);
  flex-direction: column;
  gap: var(--sp-lg);
  border-top: 2px solid var(--crimson);
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 24px;
  font-family: var(--font-d);
  font-weight: 500;
  color: var(--ink);
}

.mobile-menu .m-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: white;
  padding: 14px 24px;
  border-radius: var(--r-lg);
  font-size: 15px;
  font-family: var(--font-b);
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background .15s;
}

.btn-primary:hover {
  background: var(--ink-deep);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--canvas);
  color: var(--ink);
  padding: 13px 24px;
  border-radius: var(--r-lg);
  font-size: 15px;
  font-family: var(--font-b);
  font-weight: 500;
  border: 1.5px solid var(--hairline);
  cursor: pointer;
  transition: border-color .15s;
}

.btn-secondary:hover {
  border-color: var(--ink);
}

.btn-crimson {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--crimson);
  color: white;
  padding: 14px 24px;
  border-radius: var(--r-lg);
  font-size: 15px;
  font-family: var(--font-b);
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background .15s;
}

.btn-crimson:hover {
  background: var(--crimson-d);
}

.btn-on-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--ink);
  padding: 14px 24px;
  border-radius: var(--r-lg);
  font-size: 15px;
  font-family: var(--font-b);
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-nav-outline {
  background: transparent;
  border: 1.5px solid var(--hairline);
  color: var(--ink);
  padding: 8px 16px;
  border-radius: var(--r-lg);
  font-size: 14px;
  font-family: var(--font-b);
  font-weight: 500;
  cursor: pointer;
  transition: border-color .15s;
}

.btn-nav-outline:hover {
  border-color: var(--ink);
}

.btn-nav-primary {
  background: var(--ink);
  border: 1.5px solid var(--ink);
  color: white;
  padding: 8px 16px;
  border-radius: var(--r-lg);
  font-size: 14px;
  font-family: var(--font-b);
  font-weight: 500;
  cursor: pointer;
}

.btn-legal {
  background: var(--ink);
  border: 1.5px solid var(--ink);
  color: white;
  padding: 8px 16px;
  border-radius: var(--r-lg);
  font-size: 14px;
  font-family: var(--font-b);
  font-weight: 500;
  cursor: pointer;
  transition: background .15s;
}

.btn-legal:hover {
  background: var(--ink-deep);
}

.btn-row {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

/* Cookie Banner */
#cookie-banner {
  position: fixed;
  bottom: -100px; /* Hidden by default */
  left: 0;
  width: 100%;
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: var(--sp-md) var(--sp-xxl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10000;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#cookie-banner.show {
  bottom: 0;
}

#cookie-banner p {
  font-size: 13px;
  color: var(--body);
  max-width: 800px;
}

#cookie-banner a {
  color: #1b61c9;
  text-decoration: underline;
}

@media(max-width:768px) {
  #cookie-banner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 16px;
    bottom: -250px;
  }
  
  #cookie-banner p {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 0;
  }

  #cookie-banner .btn-legal {
    width: 100%;
    justify-content: center;
    padding: 10px;
    font-size: 13px;
  }
}

/* ═══════════════════════════════════════════
   LAYOUT HELPERS
═══════════════════════════════════════════ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-xxl);
}

.section {
  padding: var(--sp-section) 0;
}

.section-sm {
  padding: calc(var(--sp-section)*.6) 0;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

/* Typography */
.display-xl {
  font-family: var(--font-d);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  word-break: break-word;
  overflow-wrap: break-word;
}

.display-lg {
  font-family: var(--font-d);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  word-break: break-word;
  overflow-wrap: break-word;
}

.display-md {
  font-family: var(--font-d);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}

.title-lg {
  font-family: var(--font-d);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}

.eyebrow {
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--crimson);
}

.body-lg {
  font-size: 18px;
  line-height: 1.8;
  color: var(--body);
}

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

.crimson-bar {
  width: 36px;
  height: 3px;
  background: var(--crimson);
  border-radius: 2px;
  margin: var(--sp-md) 0;
}

.section-header {
  margin-bottom: var(--sp-xxl);
}

.section-header.center {
  text-align: center;
}

.section-header .display-md {
  margin-top: var(--sp-xs);
}

.section-header .body-lg {
  margin-top: var(--sp-md);
  max-width: 560px;
}

.section-header.center .body-lg {
  margin: var(--sp-md) auto 0;
}

/* Tag/pill */
.tag {
  background: var(--soft);
  border: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: var(--font-b);
  font-weight: 500;
}

.tag-crimson {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--crimson);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: var(--font-b);
  font-weight: 600;
}

.tag-dark {
  background: var(--ink);
  color: white;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: var(--font-b);
  font-weight: 500;
}

/* ═══════════════════════════════════════════
   SIGNATURE CARDS (brand-only colors)
═══════════════════════════════════════════ */
.sig-crimson-card {
  background: var(--sig-crimson);
  border-radius: var(--r-lg);
  padding: var(--sp-xxl);
  color: white;
  position: relative;
  overflow: hidden;
}

.sig-crimson-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: white;
  border-radius: 50%;
  opacity: .05;
}

.sig-crimson-card h2 {
  font-family: var(--font-d);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  color: white;
  max-width: 600px;
  margin-bottom: var(--sp-md);
  position: relative;
  z-index: 1;
}

.sig-crimson-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, .75);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: var(--sp-xxl);
  position: relative;
  z-index: 1;
}

.sig-dark-card {
  background: var(--sig-dark);
  border-radius: var(--r-lg);
  padding: var(--sp-xxl);
  color: white;
  position: relative;
  overflow: hidden;
}

.sig-dark-card::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 160px;
  height: 160px;
  background: var(--crimson);
  border-radius: 50%;
  opacity: .12;
}

.sig-dark-card h2 {
  font-family: var(--font-d);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 400;
  color: white;
  margin-bottom: var(--sp-md);
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.sig-dark-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.sig-cream-card {
  background: var(--sig-cream);
  border-radius: var(--r-lg);
  padding: var(--sp-xxl);
}

.sig-cream-card h2 {
  font-family: var(--font-d);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}

.sig-cream-card p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.75;
}

.cta-band {
  background: var(--strong);
  border-radius: var(--r-lg);
  padding: var(--sp-xxl);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-d);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}

.cta-band p {
  font-size: 16px;
  color: var(--body);
  margin-bottom: var(--sp-xxl);
  line-height: 1.75;
}

/* ═══════════════════════════════════════════
   CARDS
═══════════════════════════════════════════ */
.service-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: var(--sp-xl);
  position: relative;
  transition: border-color .2s, box-shadow .2s;
}

.service-card:hover {
  border-color: var(--crimson);
  box-shadow: 0 4px 24px rgba(191, 13, 35, .08);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  border-radius: var(--r-md) var(--r-md) 0 0;
  transition: background .2s;
}

.service-card:hover::before {
  background: var(--crimson);
}

.service-icon {
  width: 44px;
  height: 44px;
  background: var(--soft);
  border-radius: var(--r-sm);
  margin-bottom: var(--sp-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  font-family: var(--font-d);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--sp-xs);
}

.service-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: var(--sp-md);
}

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

/* Feature cards */
.feature-card {
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: var(--sp-xl);
}

.feature-card .num {
  font-family: var(--font-d);
  font-size: 38px;
  font-weight: 300;
  color: var(--crimson);
  opacity: .25;
  line-height: 1;
  margin-bottom: var(--sp-md);
}

.feature-card h3 {
  font-family: var(--font-d);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--sp-xs);
}

.feature-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* Why item */
.why-item {
  display: flex;
  gap: var(--sp-md);
  padding: var(--sp-xl);
  background: var(--soft);
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
}

.why-icon {
  width: 38px;
  height: 38px;
  background: var(--crimson);
  border-radius: var(--r-sm);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.why-item h3 {
  font-family: var(--font-d);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}

.why-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* Process */
.process-step {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: var(--sp-xl);
  text-align: center;
}

.process-num {
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-size: 15px;
  font-weight: 600;
  margin: 0 auto var(--sp-md);
}

.process-step:nth-child(2) .process-num {
  background: var(--crimson);
}

.process-step h3 {
  font-family: var(--font-d);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}

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

/* Stat card */
.stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}

.stat-item {
  border-left: 3px solid var(--crimson);
  padding-left: var(--sp-md);
}

.stat-item .num {
  font-family: var(--font-d);
  font-size: 36px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}

.stat-item .lbl {
  font-size: 13px;
  color: var(--body);
  margin-top: 6px;
  line-height: 1.5;
}

/* Team card */
.team-card {
  text-align: center;
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--soft);
  border: 2px solid var(--hairline);
  margin: 0 auto var(--sp-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.team-card h3 {
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 3px;
}

.team-card .role {
  font-size: 12px;
  color: var(--crimson);
  font-weight: 600;
  margin-bottom: var(--sp-xs);
}

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

/* Value card */
.value-card {
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: var(--sp-xl);
}

.value-card h3 {
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}

.value-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* Hero visual */
.hero-visual {
  background: var(--sig-dark);
  border-radius: 16px;
  padding: var(--sp-xxl);
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: var(--crimson);
  border-radius: 50%;
  opacity: .12;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
  position: relative;
  z-index: 1;
}

.h-stat {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-md);
  padding: var(--sp-lg);
}

.h-stat .sn {
  font-family: var(--font-d);
  font-size: 32px;
  font-weight: 600;
  color: white;
  line-height: 1;
}

.h-stat .sn span {
  color: var(--crimson);
  font-size: 18px;
}

.h-stat .sl {
  font-size: 11px;
  color: rgba(255, 255, 255, .45);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.h-stat.accent {
  background: var(--crimson);
  border-color: var(--crimson);
  grid-column: span 2;
}

.h-stat.accent .sn {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

/* Mockup inside tabs */
.tab-mockup {
  background: var(--ink);
  border-radius: var(--r-md);
  padding: var(--sp-lg);
  margin-bottom: var(--sp-md);
}

.mockup-bar-row {
  display: flex;
  gap: 5px;
  align-items: flex-end;
  height: 36px;
  margin-top: var(--sp-sm);
}

.mb {
  flex: 1;
  background: rgba(255, 255, 255, .12);
  border-radius: 2px;
}

.mb.a {
  background: var(--crimson);
  opacity: .8;
}

.mockup-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xs);
}

.mm {
  background: rgba(255, 255, 255, .06);
  border-radius: 6px;
  padding: var(--sp-xs);
}

.mm .v {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 600;
  color: white;
}

.mm .v.acc {
  color: var(--crimson);
}

.mm .l {
  font-size: 9px;
  color: rgba(255, 255, 255, .4);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: 2px;
}

.dots {
  display: flex;
  gap: 5px;
  margin-bottom: var(--sp-md);
}

.dot-r {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f57;
}

.dot-y {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffbd2e;
}

.dot-g {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28ca41;
}

/* Feature tab section */
.feature-tabbed {
  background: var(--soft);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--sp-xxl);
}

.tab-rail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.tab-btn {
  padding: 12px var(--sp-md);
  border-radius: var(--r-md);
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s;
  border-left: 3px solid transparent;
}

.tab-btn.active {
  background: white;
  color: var(--ink);
  font-weight: 500;
  border-left-color: var(--crimson);
  border-radius: var(--r-md);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.tab-pane h3 {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}

.tab-pane p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.75;
  margin-bottom: var(--sp-lg);
}

/* Contact form */
.contact-form-card {
  background: var(--soft);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--sp-xxl);
}

.contact-form-card h3 {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--sp-xxl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
  margin-bottom: var(--sp-md);
}

.form-row.full {
  grid-template-columns: 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: white;
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--ink);
  font-family: var(--font-b);
  height: 44px;
  outline: none;
  transition: border-color .15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--crimson);
}

.form-group textarea {
  height: 110px;
  resize: none;
}

/* Contact info card */
.contact-info-card {
  background: white;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: var(--sp-xl);
  display: flex;
  gap: var(--sp-md);
  align-items: flex-start;
}

.ci-icon {
  width: 40px;
  height: 40px;
  background: var(--ink);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ci-icon.c {
  background: var(--crimson);
}

.ci-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.contact-info-card h4 {
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 3px;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.contact-info-card a {
  color: var(--crimson);
  font-weight: 500;
}

/* Map */
.map-card {
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map-pin-wrapper {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.map-pin {
  width: 18px;
  height: 18px;
  background: var(--crimson);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  position: relative;
}

.map-pin::after {
  content: '';
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.map-pin-pulse {
  width: 40px;
  height: 40px;
  background: var(--crimson);
  border-radius: 50%;
  opacity: .2;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.map-label {
  background: white;
  border-radius: var(--r-md);
  padding: var(--sp-md) var(--sp-lg);
  position: relative;
  z-index: 2;
}

.map-label h4 {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.map-label p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}

.map-label a {
  font-size: 11px;
  color: var(--crimson);
  font-weight: 600;
  margin-top: 3px;
  display: inline-block;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: var(--sp-xl);
}

.faq-item h4 {
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--sp-xs);
  display: flex;
  gap: var(--sp-xs);
  align-items: flex-start;
}

.faq-q {
  width: 18px;
  height: 18px;
  background: var(--crimson);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.faq-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  padding-left: 26px;
}

/* Policy pages */
.policy-content {
  max-width: 760px;
  margin: 0 auto;
}

.policy-content h2 {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin: var(--sp-xxl) 0 var(--sp-md);
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.8;
  margin-bottom: var(--sp-md);
}

.policy-content ul {
  margin: var(--sp-md) 0 var(--sp-md) var(--sp-xl);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.policy-content ul li {
  font-size: 14px;
  color: var(--body);
  line-height: 1.75;
  list-style: disc;
}

.policy-content .policy-updated {
  background: var(--soft);
  border-left: 3px solid var(--crimson);
  padding: var(--sp-md) var(--sp-lg);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: var(--sp-xxl);
}

.policy-divider {
  height: 1px;
  background: var(--hairline);
  margin: var(--sp-xl) 0;
}

/* Trust strip */
.trust-strip {
  background: var(--soft);
  padding: var(--sp-lg) 0;
  border-bottom: 1px solid var(--hairline);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
  flex-wrap: wrap;
}

.trust-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.trust-pills {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: white;
  border: 1px solid var(--hairline);
  border-radius: 20px;
}

.trust-pill .dp {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  opacity: .3;
}

.trust-pill span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

/* About hero cards */
.about-card {
  border-radius: var(--r-md);
  padding: var(--sp-xl);
}

.about-card.dark {
  background: var(--sig-dark);
}

.about-card.dark h3 {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 500;
  color: white;
}

.about-card.dark p {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  line-height: 1.6;
  margin-top: 4px;
}

.about-card.light {
  background: var(--soft);
  border: 1px solid var(--hairline);
}

.about-card.light h3 {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}

.about-card.light p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 4px;
}

.about-card.crimson {
  background: var(--crimson);
  grid-column: span 2;
}

.about-card.crimson h3 {
  font-family: var(--font-d);
  font-size: 15px;
  font-weight: 500;
  color: white;
}

.about-card.crimson p {
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
  line-height: 1.6;
  margin-top: 4px;
}

/* Pricing */
.pricing-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: var(--sp-xl);
}

.pricing-card.featured {
  background: var(--soft);
  border-color: var(--ink);
  border-width: 2px;
}

.pricing-card .plan {
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: var(--sp-md);
}

.pricing-card .price {
  font-family: var(--font-d);
  font-size: 40px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}

.pricing-card .price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
}

.pricing-card .sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  margin-bottom: var(--sp-lg);
}

.pricing-card hr {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: var(--sp-md) 0;
}

.pricing-feat {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.pricing-feat .ck {
  width: 16px;
  height: 16px;
  background: var(--crimson);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-feat .ck svg {
  width: 9px;
  height: 9px;
  fill: white;
}

.pricing-feat span {
  font-size: 13px;
  color: var(--body);
}

.badge-best {
  background: var(--crimson);
  color: white;
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: .05em;
  display: inline-block;
  margin-bottom: var(--sp-md);
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: var(--sp-section) 0 var(--sp-xxl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.3fr;
  gap: var(--sp-xxl);
  margin-bottom: var(--sp-section);
}

.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: var(--sp-md);
  max-width: 260px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-md);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--muted);
  transition: color .15s;
}

.footer-col ul li a:hover {
  color: var(--ink);
}

.footer-contact-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.fc-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--crimson);
  flex-shrink: 0;
  margin-top: 5px;
}

.footer-contact-row span,
.footer-contact-row a {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-contact-row a:hover {
  color: var(--crimson);
}

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: var(--sp-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-md);
}

.footer-bottom p {
  font-size: 12px;
  color: var(--muted);
}

.footer-links-bottom {
  display: flex;
  gap: var(--sp-xl);
}

.footer-links-bottom a {
  font-size: 12px;
  color: var(--muted);
}

.footer-links-bottom a:hover {
  color: var(--ink);
}

/* ═══════════════════════════════════════════
   GRIDS — responsive
═══════════════════════════════════════════ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xxl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
}

.grid-2-3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
}

.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xxl);
}

/* Page hero shared */
.page-hero {
  background: var(--canvas);
  padding: var(--sp-section) 0;
  border-bottom: 1px solid var(--hairline);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-section);
  align-items: center;
}

/* Services page */
.services-all-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.service-detail-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.sdc-header {
  padding: var(--sp-xl);
  background: var(--soft);
  border-bottom: 1px solid var(--hairline);
}

.sdc-header .icon-lg {
  width: 52px;
  height: 52px;
  background: var(--ink);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-md);
}

.sdc-header .icon-lg svg {
  width: 26px;
  height: 26px;
  fill: white;
}

.sdc-header.c .icon-lg {
  background: var(--crimson);
}

.sdc-header h3 {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}

.sdc-header p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.sdc-body {
  padding: var(--sp-xl);
}

.sdc-feat {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  align-items: flex-start;
}

.sdc-feat .ck {
  width: 16px;
  height: 16px;
  background: var(--crimson);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.sdc-feat .ck svg {
  width: 8px;
  height: 8px;
  fill: white;
}

.sdc-feat span {
  font-size: 13px;
  color: var(--body);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--sp-md);
}

.breadcrumb span,
.breadcrumb a {
  font-size: 12px;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--crimson);
}

.breadcrumb .sep {
  font-size: 12px;
  color: var(--hairline);
}

.breadcrumb .cur {
  color: var(--ink);
  font-weight: 500;
}

/* Dark section bg */
.section-dark {
  background: var(--ink);
  padding: var(--sp-section) 0;
}

.section-dark .eyebrow {
  color: var(--crimson);
}

.section-dark .display-md {
  color: white;
}

.section-dark .body-lg {
  color: rgba(255, 255, 255, .6);
}

/* Divider */
.divider {
  height: 1px;
  background: var(--hairline);
  margin: 0;
}

/* ═══════════════════════════════════════════
   LAYOUT UTILITIES
═══════════════════════════════════════════ */
.contact-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xxl);
  align-items: start;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xxl);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
  position: relative;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xxl);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.about-hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}

/* Modular Grids */
.g-2 { display: grid; grid-template-columns: 1fr 1fr; }
.g-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.ai-center { align-items: center; }
.gap-section { gap: var(--sp-section); }
.gap-lg { gap: var(--sp-lg); }
.gap-md { gap: var(--sp-md); }
.gap-sm { gap: var(--sp-sm); }
.gap-xs { gap: var(--sp-xs); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media(max-width:1024px) {
  .container {
    padding: 0 var(--sp-xl);
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .services-all-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
  }

  .feature-tabbed {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

  .about-hero-cards {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-band {
    grid-template-columns: 1fr 1fr;
  }

  .grid-6 {
    grid-template-columns: 1fr 1fr;
  }

  .tab-rail {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: var(--sp-md);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }

  .tab-rail::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
  }

  .tab-btn {
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
    border-radius: var(--r-md);
    padding: 10px 20px;
    background: var(--strong);
    opacity: 0.7;
  }

  .tab-btn.active {
    border-left: none;
    border-bottom-color: var(--crimson);
    background: white;
    opacity: 1;
  }

  .stat-band {
    grid-template-columns: 1fr 1fr;
  }

  .grid-6 {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .container {
    padding: 0 var(--sp-lg);
  }

  .nav {
    padding: 0 var(--sp-md);
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .page-hero-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-2-3 {
    grid-template-columns: 1fr;
  }

  .grid-6 {
    grid-template-columns: 1fr;
  }

  .services-all-grid {
    grid-template-columns: 1fr;
  }

  .about-card.crimson {
    grid-column: span 1;
  }

  .hero-stat-grid {
    grid-template-columns: 1fr;
  }

  .h-stat.accent {
    grid-column: span 1;
  }

  .sig-crimson-card {
    padding: var(--sp-xl);
  }

  .sig-dark-card {
    padding: var(--sp-xl);
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: var(--sp-xl);
  }

  .stat-band {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .g-2, .g-3 {
    grid-template-columns: 1fr;
  }

  .gap-section {
    gap: var(--sp-xl);
  }

  .contact-hero-inner {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .sig-dark-card.grid-row {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-right {
    display: none;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }
  
  .btn-row > * {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }

  .footer-links-bottom {
    flex-wrap: wrap;
    gap: var(--sp-md);
  }
}

@media(max-width:480px) {
  .nav-logo img {
    width: 130px;
    height: auto;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-stat-grid {
    grid-template-columns: 1fr;
  }

  .h-stat.accent {
    grid-column: span 1;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .trust-pills {
    justify-content: flex-start;
  }
}



/* ═══════════════════════════════════════════
   ANIMATIONS & HOVERS
   Added for a professional & interactive feel
═══════════════════════════════════════════ */

/* Reveal on Scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered Children Reveal */
.reveal-stagger>* {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-stagger.active>* {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.active>*:nth-child(1) {
  transition-delay: 0.1s;
}

.reveal-stagger.active>*:nth-child(2) {
  transition-delay: 0.2s;
}

.reveal-stagger.active>*:nth-child(3) {
  transition-delay: 0.3s;
}

.reveal-stagger.active>*:nth-child(4) {
  transition-delay: 0.4s;
}

.reveal-stagger.active>*:nth-child(5) {
  transition-delay: 0.5s;
}

.reveal-stagger.active>*:nth-child(6) {
  transition-delay: 0.6s;
}

/* Enhanced Hover Effects */
.btn-primary,
.btn-secondary,
.btn-crimson,
.btn-nav-outline,
.btn-nav-primary,
.btn-on-dark {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover,
.btn-crimson:hover,
.btn-nav-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(191, 13, 35, 0.2);
}

.btn-primary:active,
.btn-crimson:active {
  transform: translateY(0);
}

.service-card,
.feature-card,
.why-item,
.process-step,
.team-card,
.value-card,
.sig-crimson-card,
.sig-dark-card,
.sig-cream-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.service-card:hover,
.feature-card:hover,
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* Smooth Hero Visual Animation */
.hero-visual {
  animation: floatHero 6s ease-in-out infinite;
}

@keyframes floatHero {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* Smooth Scrolling Lag effect (Subtle) */
html {
  scroll-behavior: smooth;
}

/* ═══════════════════════════════════════════
   PRELOADER
═══════════════════════════════════════════ */
.preloader {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s;
  pointer-events: all;
}

html.loading,
body.loading,
html.menu-open,
body.menu-open {
  overflow: hidden !important;
  height: 100% !important;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none !important;
}

.loader-crimson {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(191, 13, 35, 0.1);
  border-top-color: var(--crimson);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
