/* ===============================================================
   LUX DETAILING SOLUTIONS — Design System
   Palette: orange (#eea03c / #F2A945), near-black (#0b0e11)
   Fonts: Saira (display), Rubik (body)
   =============================================================== */

:root {
  /* Brand */
  --primary: #eea03c;
  --primary-rgb: 238, 160, 60;
  --primary-ink: #0b0e11;
  --primary-dark: #8a510f;
  --primary-dark-rgb: 138, 81, 15;
  --primary-hover: #d4881e;
  --primary-hover-rgb: 212, 136, 30;

  --secondary: #0b0e11;
  --secondary-rgb: 11, 14, 17;
  --secondary-ink: #ffffff;

  --accent: #f4b563;
  --accent-rgb: 244, 181, 99;
  --accent-ink: #0b0e11;

  --text: #14181d;
  --text-rgb: 20, 24, 29;
  --text-light: #5a6470;
  --text-light-rgb: 90, 100, 112;
  --text-muted: #8b939e;

  --background: #ffffff;
  --background-rgb: 255, 255, 255;
  --surface: #f4f5f7;
  --surface-rgb: 244, 245, 247;
  --surface-2: #e9ebef;

  --bg-alt: #0b0e11;
  --bg-alt-ink: #ffffff;
  --bg-alt-muted: #a8afba;

  --border: rgba(11, 14, 17, 0.08);
  --border-strong: rgba(11, 14, 17, 0.16);
  --border-dark: rgba(255, 255, 255, 0.10);

  /* Typography */
  --font-display: "Saira", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rhythm */
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;

  --container: 1200px;
  --gutter: 24px;

  --shadow-soft: 0 10px 30px -12px rgba(11, 14, 17, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(11, 14, 17, 0.30);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -----------------------------------------------
   Base
   ----------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--background);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--primary-dark); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--primary); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; letter-spacing: 0.02em; text-transform: uppercase; }

p { margin: 0 0 1em; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--secondary);
  color: var(--secondary-ink);
  padding: 12px 16px;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Focus */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* Eyebrow */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--primary); }

/* Accent word — dark-friendly by default, overridden on dark bgs */
.accent { color: var(--primary-dark); }
.hero .accent,
.cta-banner .accent,
.section--pricing .accent,
.section-head--light .accent,
.area-card--cta .accent,
.tier--dark .accent { color: var(--primary); }

/* -----------------------------------------------
   Buttons
   ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: var(--primary-ink);
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--primary-ink);
  transform: translateY(-1px);
}

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

.btn--ghost {
  background: #14181d;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--ghost:hover {
  background: #fff;
  color: var(--secondary);
  border-color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}
.btn--outline:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-ink);
}
.tier--dark .btn--outline {
  color: var(--primary);
  border-color: var(--primary);
}
.tier--dark .btn--outline:hover {
  background: var(--primary);
  color: var(--primary-ink);
}

.btn--lg {
  padding: 18px 32px;
  font-size: 0.9rem;
}

.btn--header {
  padding: 12px 20px;
  font-size: 0.78rem;
}

/* -----------------------------------------------
   Header
   ----------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--background);
  box-shadow: 0 1px 0 var(--border);
}

.header-topbar {
  background: var(--secondary);
  color: var(--secondary-ink);
  font-size: 0.82rem;
}
.header-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 20px;
  min-height: 40px;
}
.header-topbar__meta {
  display: flex;
  gap: 20px;
  color: #cfd3da;
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.meta-icon { color: var(--primary); flex-shrink: 0; }

.header-topbar__actions .phone-link--top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
}
.header-topbar__actions .phone-link--top:hover { color: var(--primary); }
.phone-link__label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}
.phone-link__number {
  font-family: var(--font-display);
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.phone-icon { color: var(--primary); flex-shrink: 0; }

.header-main__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 16px;
  padding-bottom: 16px;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--secondary);
  font-family: var(--font-display);
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover { color: var(--primary-dark); }
.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.brand-text__line1 { font-size: 1rem; text-transform: uppercase; }
.brand-text__line2 { font-size: 0.75rem; color: var(--primary-dark); letter-spacing: 0.15em; text-transform: uppercase; }

/* Nav */
.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-list {
  display: flex;
  gap: 6px;
  align-items: center;
}
.nav-list > li { position: relative; }
.nav-list a,
.nav-dropdown-toggle {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-list a:hover,
.nav-list a.active,
.nav-dropdown-toggle:hover { color: var(--primary-dark); }
.nav-list a.active { color: var(--primary-dark); }
.nav-list a.active::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  position: absolute;
  bottom: -2px;
  left: 0;
}

.caret { transition: transform 0.2s var(--ease); flex-shrink: 0; }

/* Dropdown */
.has-dropdown .nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
  z-index: 20;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown,
.has-dropdown .nav-dropdown-toggle[aria-expanded="true"] + .nav-dropdown {
  display: block;
}
.has-dropdown:hover .caret,
.has-dropdown .nav-dropdown-toggle[aria-expanded="true"] .caret {
  transform: rotate(180deg);
}
.nav-dropdown li a {
  display: block;
  padding: 10px 14px;
  color: var(--text);
  font-size: 0.78rem;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}
.nav-dropdown li a:hover {
  background: var(--surface);
  color: var(--primary-dark);
}
.nav-dropdown--wide { min-width: 260px; }
.nav-dropdown__group {
  display: block;
  padding: 12px 14px 6px;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.nav-dropdown li.nav-dropdown__group:first-child { border-top: 0; margin-top: 0; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-close {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  width: 40px;
  height: 40px;
}

/* -----------------------------------------------
   Hero
   ----------------------------------------------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: 100px 0 120px;
  background: var(--secondary);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(11, 14, 17, 0.92) 0%,
    rgba(11, 14, 17, 0.80) 35%,
    rgba(11, 14, 17, 0.55) 60%,
    rgba(11, 14, 17, 0.30) 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 2;
}
.hero__content {
  max-width: 640px;
}
.hero__title {
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 24px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.hero__sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
  margin: 0 0 32px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.hero__sub strong { color: var(--primary); font-weight: 600; }
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof .dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.25);
}

.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.hero__scroll span {
  display: block;
  width: 2px;
  height: 6px;
  background: #fff;
  border-radius: 1px;
  animation: scrollDot 1.6s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* -----------------------------------------------
   Feature Strip
   ----------------------------------------------- */
.feature-strip {
  background: var(--primary);
  color: var(--primary-ink);
  padding: 22px 0;
}
.feature-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}
.strip-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.strip-item__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--primary-ink);
}

/* -----------------------------------------------
   Sections (general)
   ----------------------------------------------- */
.section {
  padding: 100px 0;
}
.section-head {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head--light .section-title,
.section-head--light .section-lead { color: #fff; }

.section-title {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin: 0 0 16px;
}
.section-lead {
  font-size: 1.08rem;
  color: var(--text-light);
  margin: 0;
}
.section-lead--light { color: var(--bg-alt-muted); }

/* -----------------------------------------------
   Intro / About
   ----------------------------------------------- */
.section--intro {
  background: var(--background);
}
.intro__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}
.intro__content .lead {
  font-size: 1.1rem;
  color: var(--text);
}
.intro__content strong { color: var(--secondary); }
.intro__actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.callout--phone {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  color: var(--secondary);
  padding: 10px 18px 10px 0;
  border-left: 3px solid var(--primary);
  padding-left: 18px;
  white-space: nowrap;
}
.callout__label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-dark);
}
.callout__value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
  white-space: nowrap;
}

.intro__media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.intro__photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/5;
  background: var(--surface);
}
.intro__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.intro__photo:hover img { transform: scale(1.04); }
.intro__photo--a { transform: translateY(30px); }
.intro__photo--b { transform: translateY(-30px); }

.intro__badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--background);
}
.intro__badge-top,
.intro__badge-bot {
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.85;
}
.intro__badge-mid {
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* -----------------------------------------------
   Services
   ----------------------------------------------- */
.section--services {
  background: var(--surface);
}
.service-grid {
  display: grid;
  gap: 24px;
}
.service-grid.service-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-card {
  background: var(--background);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.service-card__media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--surface-2);
  position: relative;
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
  color: var(--text);
  background: var(--background);
}
.service-card__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.service-card__body h3 {
  font-size: 1.25rem;
  margin: 0;
  color: var(--secondary);
}
.service-card__body p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 8px 0 16px;
  flex: 1;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-dark);
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}
.link-arrow:hover {
  color: var(--secondary);
  gap: 12px;
}

/* Compact tag list */
.services-menu {
  margin-top: 64px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.services-menu__title {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-dark);
  margin: 0 0 20px;
  font-family: var(--font-display);
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-list li {
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--text);
  background: var(--background);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tag-list li:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-ink);
}

/* -----------------------------------------------
   Pricing / Tiers (dark band)
   ----------------------------------------------- */
.section--pricing {
  background: var(--secondary);
  color: var(--bg-alt-ink);
}
.section--pricing .section-head { margin-bottom: 56px; }
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.tier-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}
.tier {
  background: #f6f7f9;
  color: var(--text);
  border-radius: var(--radius);
  padding: 40px 32px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--border);
}
.tier--dark {
  background: #17191d;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.tier--dark .tier__desc,
.tier--dark .tier__list li,
.tier--dark .tier__body p { color: rgba(255, 255, 255, 0.82); }
.tier--dark .tier__group-title { color: rgba(255, 255, 255, 0.95); }

.tier--featured {
  border: 2px solid var(--primary);
  transform: translateY(-8px);
}
.tier__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--primary-ink);
  padding: 6px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tier__head {
  text-align: center;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 24px;
}
.tier--dark .tier__head { border-bottom-color: rgba(255,255,255,0.1); }

.tier__name {
  font-size: 2rem;
  color: var(--primary-dark);
  margin: 0 0 8px;
  font-weight: 700;
  font-family: var(--font-display);
}
.tier--dark .tier__name { color: var(--primary); }
.tier__desc {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0 0 20px;
  min-height: 44px;
}
.tier__price {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
}
.tier--dark .tier__price { color: var(--primary); }
.tier__amount { font-size: 3.4rem; letter-spacing: -0.03em; }
.tier__unit { font-size: 1.6rem; }
.tier__price--small .tier__amount-small {
  font-size: 1.6rem;
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-weight: 700;
}
.tier--dark .tier__price--small .tier__amount-small { color: var(--primary); }

.tier__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tier__body--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.tier__group-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 12px 0 6px;
}
.tier__group-title small {
  display: block;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--text-light);
  margin-top: 4px;
}
.tier--dark .tier__group-title small { color: rgba(255,255,255,0.7); }

.tier__list li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
}
.tier__list li::before {
  content: '›';
  position: absolute;
  left: 4px;
  top: 5px;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1rem;
}
.tier--dark .tier__list li::before { color: var(--primary); }
.tier--dark .tier__list li { color: rgba(255,255,255,0.85); }

.tier__list--compact li { padding-top: 4px; padding-bottom: 4px; font-size: 0.86rem; }
.tier__group-title--muted { color: var(--text-light); margin-top: 20px; }
.tier__group-title--muted small {
  display: block;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--text-muted);
  margin-top: 4px;
}
.tier__list--muted li {
  color: var(--text-muted);
  font-size: 0.86rem;
}
.tier__list--muted li::before {
  content: '–';
  color: var(--text-muted);
  font-weight: 500;
  top: 4px;
}
.tier__list--priced li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-left: 0;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 12px;
  margin-bottom: 4px;
}
.tier__list--priced li::before { display: none; }
.tier__list--priced li small {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 400;
  margin-top: 2px;
}
.price-tag {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
}

.tier__addon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.tier__note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 8px;
  font-style: italic;
}

.tier__cta {
  margin-top: 28px;
  width: 100%;
}

/* -----------------------------------------------
   Service Areas
   ----------------------------------------------- */
.section--areas { background: var(--background); }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.area-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--text);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.area-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--primary);
  color: var(--text);
}
.area-card__media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--surface-2);
}
.area-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.area-card:hover .area-card__media img { transform: scale(1.06); }
.area-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.area-card__body h3 { margin: 0; font-size: 1.4rem; color: var(--secondary); }
.area-card__body p { color: var(--text-light); margin: 0 0 14px; font-size: 0.95rem; flex: 1; }
.area-card__body .link-arrow { color: var(--primary-dark); }

.area-card--cta {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}
.area-card--cta:hover { color: #fff; border-color: var(--primary); }
.area-card__body--cta {
  padding: 32px;
  height: 100%;
  justify-content: center;
}
.area-card__body--cta h3 { color: #fff; }
.area-card__body--cta p { color: rgba(255,255,255,0.8); }
.area-card__body--cta .link-arrow { color: var(--primary); }
.area-card__cta-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.15);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

/* -----------------------------------------------
   Process / Steps
   ----------------------------------------------- */
.section--process { background: var(--surface); }
ol.steps {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: none;
}
.step {
  background: var(--background);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--primary-ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  border-radius: 50%;
  margin-bottom: 14px;
}
.step__title {
  font-size: 1.1rem;
  color: var(--secondary);
  margin: 0 0 6px;
}
.step p {
  color: var(--text-light);
  font-size: 0.94rem;
  margin: 0;
}

/* -----------------------------------------------
   FAQ
   ----------------------------------------------- */
.section--faq { background: var(--background); }
.faq__wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}
.faq__intro .section-title { text-align: left; }
.faq__intro p { color: var(--text-light); margin-bottom: 24px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.faq-item[open] {
  border-color: var(--primary);
  background: var(--background);
  box-shadow: var(--shadow-soft);
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--secondary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--primary);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__answer {
  padding: 0 24px 24px;
}
.faq-item__answer p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* -----------------------------------------------
   CTA Banner
   ----------------------------------------------- */
.cta-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  color: #fff;
  background: var(--secondary);
}
.cta-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-banner__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(11,14,17,0.94) 0%,
    rgba(11,14,17,0.80) 45%,
    rgba(11,14,17,0.55) 100%
  );
}
.cta-banner__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-banner__title {
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  margin: 0 0 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.cta-banner__sub {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.cta-banner__actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* -----------------------------------------------
   Footer
   ----------------------------------------------- */
.site-footer {
  background: var(--secondary);
  color: #fff;
  padding: 72px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.brand--footer { color: #fff; }
.brand--footer .brand-text__line1 { color: #fff; }
.brand--footer .brand-text__line2 { color: var(--primary); }
.brand--footer:hover { color: var(--primary); }
.brand--footer .brand-logo { width: 56px; height: 56px; }
.footer__tag {
  color: #cfd3da;
  max-width: 340px;
  margin-top: 20px;
  font-size: 0.95rem;
}
.footer__title {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.footer__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__list li {
  color: #dfe3ea;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer__icon {
  color: var(--primary);
  display: inline-flex;
  margin-top: 4px;
  flex-shrink: 0;
}
.footer__list--links li a {
  color: #dfe3ea;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer__list--links li a:hover { color: var(--primary); }
.phone-link--footer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}
.phone-link--footer:hover { color: var(--primary); }
.phone-link--footer .phone-link__number { font-size: 1.05rem; }

.footer__bottom {
  border-top: 1px solid var(--border-dark);
  padding: 20px 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: #a8afba;
  font-size: 0.86rem;
}
.footer__bottom-inner p { margin: 0; }
.footer__legal {
  display: flex;
  gap: 20px;
}
.footer__legal a {
  color: #a8afba;
  text-decoration: none;
}
.footer__legal a:hover { color: var(--primary); }

/* -----------------------------------------------
   Floating call button (mobile)
   ----------------------------------------------- */
.floating-call {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 90;
  background: var(--primary);
  color: var(--primary-ink);
  padding: 14px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-lg);
  display: none;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.floating-call:hover { background: var(--primary-dark); color: var(--primary-ink); }

/* ===============================================================
   Responsive
   =============================================================== */

/* Large tablets */
@media (max-width: 1100px) {
  .header-main__inner { gap: 20px; }
  .nav-list { gap: 2px; }
  .nav-list a, .nav-dropdown-toggle { padding: 10px 8px; font-size: 0.78rem; }
  .brand-text__line1 { font-size: 0.92rem; }
  .brand-text__line2 { font-size: 0.68rem; }
  .btn--header { padding: 10px 14px; font-size: 0.72rem; }
}

/* Tablets */
@media (max-width: 980px) {
  .header-topbar__meta { display: none; }
  .header-topbar__inner { justify-content: flex-end; }

  .nav-toggle { display: flex; }
  .nav-close { display: block; }
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(88vw, 360px);
    background: var(--secondary);
    padding: 72px 24px 24px;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    z-index: 200;
    display: block;
    overflow-y: auto;
  }
  .site-nav.is-open { transform: translateX(0); }
  .nav-list {
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
  }
  .nav-list a,
  .nav-dropdown-toggle {
    color: #fff;
    padding: 14px 12px;
    width: 100%;
    justify-content: space-between;
    font-size: 0.95rem;
  }
  .nav-list a:hover, .nav-list a.active, .nav-dropdown-toggle:hover { color: var(--primary); }
  .nav-list a.active::after { display: none; }
  .has-dropdown .nav-dropdown {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 8px 12px;
    display: none;
  }
  .has-dropdown .nav-dropdown-toggle[aria-expanded="true"] + .nav-dropdown { display: block; }
  .nav-dropdown li a { color: #cfd3da; font-size: 0.82rem; padding: 10px 12px; }
  .nav-dropdown li a:hover { background: rgba(255,255,255,0.05); color: var(--primary); }
  .nav-dropdown__group {
    color: rgba(255,255,255,0.55);
    border-top-color: rgba(255,255,255,0.1);
    padding: 14px 12px 6px;
  }

  .btn--header { display: none; }

  .body-locked { overflow: hidden; }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
  }
  .nav-backdrop.is-visible { opacity: 1; pointer-events: auto; }

  .intro__grid { grid-template-columns: 1fr; gap: 48px; }
  .intro__media { max-width: 500px; margin: 0 auto; }

  .service-grid.service-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier-grid { grid-template-columns: 1fr; gap: 20px; }
  .tier-grid--two { grid-template-columns: 1fr; }
  .tier--featured { transform: none; margin-top: 12px; }

  .areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  ol.steps { grid-template-columns: repeat(2, 1fr); }

  .faq__wrap { grid-template-columns: 1fr; gap: 32px; }

  .cta-banner__inner { grid-template-columns: 1fr; gap: 24px; }
  .cta-banner__actions { justify-content: flex-start; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }

  .feature-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .strip-item { justify-content: flex-start; }

  .section { padding: 72px 0; }
  .hero { padding: 80px 0 96px; min-height: 640px; }
}

/* Phones */
@media (max-width: 620px) {
  :root { --gutter: 18px; }
  .header-topbar { font-size: 0.75rem; }
  .header-topbar__actions .phone-link--top .phone-link__label { display: none; }
  .header-topbar__inner { padding-top: 6px; padding-bottom: 6px; }
  .header-main__inner { padding-top: 12px; padding-bottom: 12px; }
  .brand-text__line2 { display: none; }

  .hero { padding: 64px 0 88px; }
  .hero__title { font-size: 2.4rem; }
  .hero__sub { font-size: 1rem; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__proof { flex-direction: column; gap: 10px; }

  .service-grid.service-grid--three { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  ol.steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-strip__grid { grid-template-columns: 1fr; }

  .tier__body--split { grid-template-columns: 1fr; gap: 12px; }
  .tier__addon { grid-template-columns: 1fr; }
  .tier { padding: 32px 24px 24px; }

  .cta-banner__actions .btn { width: 100%; }

  .floating-call { display: inline-flex; }

  .services-menu { padding: 24px 20px; }
  .section-head { margin-bottom: 40px; }
  .section { padding: 56px 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* betterly-css-safety-net:start */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img, .hero__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.site-header {
  width: 100%;
  max-width: 100%;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(1.25rem, 2vw, 1.75rem);
  align-items: stretch;
}

.service-card {
  background: var(--background, #fff);
  border: 1px solid var(--border, #e1e6ed);
  border-radius: var(--radius, 12px);
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: auto;
  overflow: hidden;
}

@media (max-width: 760px) {
  .intro-grid,
  .founder-grid,
  .visit-grid,
  .feature-grid,
  .trust-grid,
  .value-grid,
  .value__grid,
  .program-grid,
  .pillar-grid,
  .link-grid,
  .two-col {
    grid-template-columns: 1fr;
  }
  .value__list,
  .values-list,
  .trust-list,
  .checklist,
  .bullets {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    display: grid;
  }
  .cta-banner-inner {
    display: grid;
  }
}
/* betterly-css-safety-net:end */
