/* ============================================================
   CREOA — MAIN STYLESHEET
   Real Estate Web Design Agency
   ============================================================ */

/* 1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Light Theme (default) — 60% white, 20% silver, 20% black */
  --bg:          #F9F9FB;
  --bg-alt:      #F0F0F3;
  --surface:     #FFFFFF;
  --surface-alt: #EBEBEE;
  --text:        #111111;
  --text-muted:  #6B6B6E;
  --text-subtle: #999;
  --border:      #DCDDE1;
  --silver:      #DCDDE1;
  --accent:      #111111;
  --accent-text: #F9F9FB;
  --nav-bg:      rgba(249, 249, 251, 0.94);
  --shadow:      0 2px 16px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 32px rgba(0,0,0,0.10);
  --shadow-lg:   0 12px 56px rgba(0,0,0,0.14);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Fluid type scale */
  --text-display: clamp(3rem, 7vw, 6rem);
  --text-h1:      clamp(2.4rem, 5vw, 4.2rem);
  --text-h2:      clamp(1.8rem, 3.5vw, 3rem);
  --text-h3:      clamp(1.25rem, 2vw, 1.6rem);
  --text-h4:      clamp(1rem, 1.4vw, 1.15rem);
  --text-body-lg: clamp(1rem, 1.3vw, 1.1rem);
  --text-body:    1rem;
  --text-sm:      0.875rem;
  --text-xs:      0.8rem;

  /* Spacing */
  --section-pad:  clamp(72px, 10vw, 130px);
  --container-max: 1200px;
  --container-narrow: 760px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Transitions */
  --trans: 0.3s ease;
  --trans-slow: 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

[data-theme="dark"] {
  /* Dark Theme — 60% black, 20% white, 20% silver */
  --bg:          #111111;
  --bg-alt:      #161618;
  --surface:     #1c1c1e;
  --surface-alt: #242428;
  --text:        #F9F9FB;
  --text-muted:  #DCDDE1;
  --text-subtle: #888;
  --border:      #2c2c2e;
  --accent:      #F9F9FB;
  --accent-text: #111111;
  --nav-bg:      rgba(17, 17, 17, 0.94);
  --shadow:      0 2px 16px rgba(0,0,0,0.5);
  --shadow-md:   0 4px 32px rgba(0,0,0,0.5);
  --shadow-lg:   0 12px 56px rgba(0,0,0,0.6);
}


/* 2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--trans), color var(--trans);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--trans);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}


/* 3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }

p {
  color: var(--text-muted);
  font-size: var(--text-body-lg);
  line-height: 1.7;
}

.display-text {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
  display: block;
  margin-bottom: 16px;
}

.section-title {
  font-size: var(--text-h2);
  margin-bottom: 20px;
}

.section-sub {
  font-size: var(--text-body-lg);
  color: var(--text-muted);
  max-width: 56ch;
  line-height: 1.7;
}


/* 4. LAYOUT & CONTAINERS
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.section-header {
  margin-bottom: 64px;
}

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

.section-header.centered .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1023px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .container-narrow { padding-left: 16px; padding-right: 16px; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .section-header { margin-bottom: 40px; }
}


/* 5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background-color var(--trans), color var(--trans), transform var(--trans), box-shadow var(--trans);
  min-height: 50px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--accent-text);
}

.btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}

.btn-ghost {
  background: none;
  color: var(--text-muted);
  padding: 14px 0;
  letter-spacing: 0.02em;
  font-weight: 600;
  text-transform: none;
  font-size: 0.9rem;
}

.btn-ghost:hover {
  color: var(--text);
}

.btn-ghost::after {
  content: ' →';
}

.btn-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 540px) {
  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-group .btn {
    text-align: center;
  }
}


/* 6. NAVIGATION
   ============================================================ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background-color 0.4s ease, padding 0.3s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  background-color: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-logo {
  margin-right: auto;
  flex-shrink: 0;
}

.logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: opacity var(--trans);
}

/* Logo switching for themes */
[data-theme="light"] .logo-dark { display: none; }
[data-theme="dark"]  .logo-light { display: none; }
[data-theme="light"] .logo-light { display: block; mix-blend-mode: multiply; }
[data-theme="dark"]  .logo-dark  { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 24px;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--trans), background-color var(--trans);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.01em;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--trans);
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
}

.lang-btn:hover { color: var(--text); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 130px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  transition: background-color var(--trans), color var(--trans);
}

.lang-option:hover,
.lang-option.active {
  background-color: var(--bg-alt);
  color: var(--text);
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: color var(--trans), background-color var(--trans);
}

.theme-toggle:hover { color: var(--text); }

.icon-sun, .icon-moon { flex-shrink: 0; }

[data-theme="light"] .icon-moon { display: none; }
[data-theme="dark"]  .icon-sun  { display: none; }

/* Nav CTA */
.nav-cta {
  padding: 10px 22px;
  min-height: 42px;
  font-size: var(--text-xs);
}

/* Hide mobile-only nav elements on desktop */
.nav-mobile-close { display: none; }
.nav-links-cta    { display: none; }

/* Mobile Toggle */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background-color var(--trans);
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 2px;
}

.nav-mobile-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background-color: var(--bg);
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 999;
    padding: 80px 24px 40px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .nav-link {
    font-size: 1.6rem;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    padding: 12px 24px;
  }

  .nav-cta { display: none; }
  .nav-mobile-toggle { display: flex; }

  .nav-mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
  }

  .nav-links-cta {
    margin-top: 24px;
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}


/* 7. HERO SECTION
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 840px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background-color: var(--text-subtle);
}

.hero-headline {
  font-size: var(--text-display);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: italic;
  color: var(--text-muted);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 52ch;
  margin-bottom: 44px;
}

.hero-trust {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-subtle);
}

.hero-trust-item svg {
  color: var(--text);
  flex-shrink: 0;
}

.hero-divider {
  width: 1px;
  height: 20px;
  background-color: var(--border);
}

.hero-bg-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-lines::before,
.hero-bg-lines::after {
  content: '';
  position: absolute;
  right: -10%;
  width: 60vw;
  max-width: 700px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.hero-bg-lines::before { top: 30%; }
.hero-bg-lines::after { top: 60%; }

.hero-number-accent {
  position: absolute;
  top: 20%;
  right: 5%;
  font-family: var(--font-display);
  font-size: clamp(120px, 20vw, 240px);
  font-weight: 700;
  color: var(--border);
  opacity: 0.35;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

[data-theme="dark"] .hero-number-accent { opacity: 0.08; }

@media (max-width: 767px) {
  .hero { min-height: auto; padding-top: 100px; padding-bottom: 60px; }
  .hero-trust { gap: 20px; }
  .hero-divider { display: none; }
  .hero-number-accent { display: none; }
}


/* 8. STATS BAR
   ============================================================ */
.stats-bar {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: var(--bg-alt);
}

.stats-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 140px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-subtle);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 52px;
  background-color: var(--border);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .stats-bar .container { justify-content: center; gap: 24px; }
  .stat-divider { display: none; }
  .stat-item { min-width: 120px; }
}


/* 9. SECTION COMPONENTS
   ============================================================ */
.section-badge {
  display: inline-block;
  padding: 4px 14px;
  background-color: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 20px;
}

.divider {
  width: 40px;
  height: 1.5px;
  background-color: var(--text);
  margin-bottom: 28px;
}

.divider.centered { margin-left: auto; margin-right: auto; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background-color: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
}


/* 10. PROBLEM / ZILLOW SECTION
   ============================================================ */
.problem-section {
  background-color: var(--bg-alt);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
}

.problem-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.problem-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--border);
  flex-shrink: 0;
  width: 36px;
  line-height: 1.3;
}

.problem-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  font-family: var(--font-body);
}

.problem-item p {
  font-size: var(--text-sm);
  line-height: 1.65;
}

@media (max-width: 767px) {
  .problem-grid { grid-template-columns: 1fr; gap: 40px; }
}


/* 11. BENEFIT CARDS
   ============================================================ */
.benefit-card {
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-color: var(--surface);
  transition: box-shadow var(--trans), transform var(--trans), border-color var(--trans);
}

.benefit-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--text-subtle);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--text);
}

.benefit-icon svg {
  stroke: currentColor;
}

.benefit-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  font-family: var(--font-body);
}

.benefit-card p {
  font-size: var(--text-sm);
  line-height: 1.65;
}


/* 12. SERVICE CARDS
   ============================================================ */
.service-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--surface);
  transition: box-shadow var(--trans), transform var(--trans);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card-header {
  padding: 36px 32px 28px;
  border-bottom: 1px solid var(--border);
}

.service-card-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}

.service-card-name {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.service-card-body {
  padding: 28px 32px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-feature-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.service-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.service-feature::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 2px;
}

[data-theme="dark"] .service-feature::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23F9F9FB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* Featured / highlighted card */
.service-card.featured {
  border-color: var(--text);
  border-width: 2px;
  position: relative;
}

.featured-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--text);
  color: var(--bg);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}


/* 13. PROCESS STEPS
   ============================================================ */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  align-items: flex-start;
  padding-bottom: 40px;
  position: relative;
}

.process-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 35px;
  top: 52px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--border), transparent);
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--bg-alt);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
  transition: background-color var(--trans), border-color var(--trans);
}

.process-step:hover .step-num {
  background-color: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  font-family: var(--font-body);
  padding-top: 12px;
}

.step-content p {
  font-size: var(--text-sm);
  line-height: 1.65;
}

.step-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-subtle);
  margin-top: 8px;
  letter-spacing: 0.04em;
}


/* 14. PRICING CARDS
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--surface);
  transition: transform var(--trans), box-shadow var(--trans);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.best-value {
  border-color: var(--text);
  border-width: 2px;
  position: relative;
}

.pricing-card-top {
  padding: 40px 32px 28px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.best-value-tag {
  position: absolute;
  top: -1px;
  right: 28px;
  background-color: var(--text);
  color: var(--bg);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.pricing-plan-name {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 16px;
}

.pricing-price {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 12px;
}

.price-currency {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 12px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.pricing-tagline {
  font-size: var(--text-sm);
  color: var(--text-subtle);
  line-height: 1.5;
}

.pricing-card-body {
  padding: 28px 32px 36px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.check-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-note {
  font-size: var(--text-xs);
  color: var(--text-subtle);
  line-height: 1.6;
  padding: 16px;
  background-color: var(--bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-top: 20px;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}


/* 15. TESTIMONIALS / REVIEWS
   ============================================================ */
.reviews-section {
  background-color: var(--bg-alt);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.review-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow var(--trans), transform var(--trans);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.review-stars {
  color: #C8A85A;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-text {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--surface-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}

.review-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.review-title {
  font-size: 11px;
  color: var(--text-subtle);
}

.google-reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 48px;
  padding: 14px 24px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color var(--trans), color var(--trans);
}

.google-reviews-link:hover {
  border-color: var(--text);
  color: var(--text);
}

@media (max-width: 1100px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .reviews-grid { grid-template-columns: 1fr; } }


/* 16. FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-body);
  transition: color var(--trans);
  min-height: 44px;
}

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

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  color: var(--text-muted);
  transition: transform 0.3s ease, background-color var(--trans), border-color var(--trans), color var(--trans);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background-color: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.25, 0.1, 0.25, 1), padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: var(--text-sm);
  line-height: 1.75;
}


/* 17. CTA STRIPS
   ============================================================ */
.cta-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: var(--bg-alt);
  padding: 96px 0;
}

.cta-strip-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.cta-strip h2 {
  margin-bottom: 20px;
}

.cta-strip p {
  margin-bottom: 40px;
  font-size: var(--text-body-lg);
}

.cta-strip-alt {
  padding: 72px 0;
  background-color: var(--surface-alt);
}

.audit-strip {
  background-color: var(--text);
  padding: 64px 0;
}

.audit-strip h2,
.audit-strip p,
.audit-strip .eyebrow {
  color: var(--bg);
}

.audit-strip .btn-primary {
  background-color: var(--bg);
  color: var(--text);
}

.audit-strip .btn-secondary {
  border-color: rgba(255,255,255,0.3);
  color: var(--bg);
}

.audit-strip .btn-secondary:hover {
  border-color: var(--bg);
}


/* 18. CONTACT FORM
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.form-label .required {
  color: #C0392B;
  margin-left: 4px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text);
  background-color: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--trans), box-shadow var(--trans);
  min-height: 52px;
  appearance: none;
  -webkit-appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(17,17,17,0.08);
}

[data-theme="dark"] .form-control:focus {
  box-shadow: 0 0 0 3px rgba(249,249,251,0.08);
}

.form-control::placeholder {
  color: var(--text-subtle);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6B6E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.radio-group {
  display: flex;
  gap: 16px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--text);
  cursor: pointer;
}

.radio-option span {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
}

.form-error {
  font-size: var(--text-xs);
  color: #C0392B;
  display: none;
}

.form-group.error .form-control {
  border-color: #C0392B;
}

.form-group.error .form-error {
  display: block;
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 32px;
  background-color: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
}

.form-success.visible { display: block; }

.form-success h3 {
  font-size: 1.4rem;
  font-family: var(--font-display);
  margin-bottom: 12px;
}

.form-success p {
  font-size: var(--text-sm); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}


/* 19. TEAM / ABOUT
   ============================================================ */
.team-hero {
  min-height: 70svh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
}

.team-card {
  padding: 48px 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-color: var(--surface);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--surface-alt);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 24px;
}

.team-role {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 8px;
  display: block;
}

.team-name {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
}

.team-bio {
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 54ch;
}

.value-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-subtle);
  flex-shrink: 0;
  width: 28px;
}

.value-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: 0;
}

.value-item p {
  font-size: var(--text-sm);
  line-height: 1.65;
}


/* 20. POLICY / LEGAL
   ============================================================ */
.policy-content {
  max-width: 720px;
}

.policy-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-top: 56px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

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

.policy-content h3 {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--text);
  margin-top: 28px;
  margin-bottom: 10px;
}

.policy-content p {
  font-size: var(--text-sm);
  line-height: 1.8;
  margin-bottom: 16px;
}

.policy-content ul, .policy-content ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  padding-left: 0;
}

.policy-content ul li::before {
  content: '— ';
  color: var(--text-subtle);
}

.policy-content li {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.policy-content ol { counter-reset: policy-list; }
.policy-content ol li { counter-increment: policy-list; }
.policy-content ol li::before {
  content: counter(policy-list) '. ';
  color: var(--text-subtle);
  position: absolute;
  left: 0;
}

.policy-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 100px;
}

.policy-nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-subtle);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--trans), background-color var(--trans);
  border-left: 2px solid transparent;
}

.policy-nav-link:hover,
.policy-nav-link.active {
  color: var(--text);
  border-left-color: var(--text);
  background-color: var(--bg-alt);
}

.policy-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 900px) {
  .policy-layout { grid-template-columns: 1fr; }
  .policy-nav { position: static; flex-direction: row; flex-wrap: wrap; }
}


/* 21. FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 72px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-logo .logo { height: 38px; }

.footer-tagline {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--text-subtle);
  max-width: 30ch;
  margin-bottom: 24px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--text-subtle);
  margin-bottom: 10px;
  transition: color var(--trans);
}

.footer-contact-item:hover { color: var(--text); }

.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  font-size: var(--text-sm);
  color: var(--text-subtle);
  transition: color var(--trans);
}

.footer-links-list a:hover { color: var(--text); }

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

.footer-copy {
  font-size: var(--text-xs);
  color: var(--text-subtle);
  line-height: 1.6;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  font-size: var(--text-xs);
  color: var(--text-subtle);
  transition: color var(--trans);
}

.footer-legal-links a:hover { color: var(--text); }

.footer-seo-text {
  font-size: 11px;
  color: var(--text-subtle);
  line-height: 1.7;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  max-width: 72ch;
}

@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 640px)  { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }


/* 22. PAGE HEROES (non-home)
   ============================================================ */
.page-hero {
  padding-top: 160px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border);
  background-color: var(--bg-alt);
}

.page-hero-inner {
  max-width: 680px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-subtle);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.breadcrumb a { transition: color var(--trans); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { color: var(--border); }


/* 23. UTILITY CLASSES
   ============================================================ */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.mt-auto      { margin-top: auto; }
.w-full       { width: 100%; }
.sr-only      {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Scroll-reveal — GSAP sets initial states at runtime, no CSS pre-hiding */
.reveal, .reveal-left, .reveal-right { will-change: transform, opacity; }

/* Urgency badge */
.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.urgency-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #C0392B;
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

/* Highlight text (pull quote style) */
.pull-quote {
  padding: 28px 32px;
  border-left: 3px solid var(--text);
  background-color: var(--surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
}

/* Feature comparison table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.compare-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
  border-bottom: 2px solid var(--border);
  background-color: var(--bg-alt);
}

.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  line-height: 1.5;
}

.compare-table tr:hover td {
  background-color: var(--bg-alt);
}

/* Services page specifics */
.service-detail {
  padding: 40px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-color: var(--surface);
  transition: box-shadow var(--trans);
}

.service-detail:hover { box-shadow: var(--shadow-md); }

.service-detail-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-detail h3 {
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-body);
  margin-bottom: 12px;
}

.service-detail p {
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* Contact page specifics */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 20px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--surface-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
}

.contact-detail-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 4px;
  display: block;
}

.contact-detail-value {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  transition: color var(--trans);
}

.contact-detail-value:hover { color: var(--text-muted); }

.contact-form-wrap {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-wrap { padding: 32px 24px; }
}


/* 24. LOADING / PERFORMANCE
   ============================================================ */
.lazy-img {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.lazy-img.loaded { opacity: 1; }


/* 25. PRINT STYLES
   ============================================================ */
@media print {
  #nav, .cta-strip, .audit-strip, .site-footer { display: none; }
  body { background: white; color: black; }
}
