/* ========================================
   Find Your Barber — Styles
   Color palette: warm barbershop aesthetic
   Fonts: DM Serif Display + Inter
   ======================================== */

:root {
  /* Colors */
  --color-primary: #C8A97E;
  --color-primary-hover: #B8935E;
  --color-primary-light: rgba(200, 169, 126, 0.12);
  --color-secondary: #2D5016;
  --color-background: #FAFAF7;
  --color-surface: #FFFFFF;
  --color-dark: #1C1C1E;
  --color-dark-surface: #252527;
  --color-text: #1C1C1E;
  --color-text-muted: #6B6B6B;
  --color-text-light: #F0EDE8;
  --color-accent: #C8A97E;
  --color-border: #E5E2DC;
  --color-warm-bg: #F4F1EB;
  --color-success: #2D7D46;

  /* Typography */
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.65;

  /* Spacing */
  --spacing-section: clamp(4rem, 8vw, 7rem);
  --spacing-block: clamp(1.5rem, 4vw, 3rem);
  --max-width: 1200px;
  --max-width-narrow: 720px;

  /* Border radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* ========== RESET & BASE ========== */

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

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

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

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover { color: var(--color-primary); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
}

/* ========== UTILITIES ========== */

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

.container--narrow {
  max-width: var(--max-width-narrow);
}

.section-heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
  margin-bottom: var(--spacing-block);
  position: relative;
  padding-bottom: 1rem;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.section-heading--light {
  color: var(--color-text-light);
}

.section-heading--light::after {
  background-color: var(--color-primary);
}

.section-subheading {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: -0.5rem auto var(--spacing-block);
  font-size: 1.0625rem;
}

.section-cta {
  text-align: center;
  margin-top: var(--spacing-block);
}

/* ========== BUTTONS ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.75rem 1.5rem;
  min-height: 48px;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--color-text-light);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-text-light);
}

.btn-sm { padding: 0.5rem 1.125rem; font-size: 0.875rem; min-height: 40px; }
.btn-lg { padding: 1rem 2rem; font-size: 1.0625rem; }
.btn-full { width: 100%; }

/* ========== HEADER ========== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
  background-color: var(--color-dark);
  box-shadow: var(--shadow-md);
  padding: 0.625rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  color: var(--color-text-light);
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover { color: var(--color-primary); }

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:hover { color: var(--color-text-light); }

.header-cta {
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-light);
  transition: all 0.3s ease;
  border-radius: 1px;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== HERO ========== */

.hero {
  background-color: var(--color-dark);
  padding: clamp(7rem, 12vw, 10rem) 0 var(--spacing-section);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(200, 169, 126, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
  max-width: 560px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(240, 237, 232, 0.75);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-proof {
  font-size: 0.8125rem;
  color: rgba(240, 237, 232, 0.5);
  letter-spacing: 0.02em;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: var(--radius-xl);
  object-fit: cover;
  width: 100%;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

/* ========== HOW IT WORKS ========== */

.how-it-works {
  background-color: var(--color-warm-bg);
  padding: var(--spacing-section) 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-dark);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ========== BENEFITS ========== */

.benefits {
  background-color: var(--color-surface);
  padding: var(--spacing-section) 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  padding: 2rem 1.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.benefit-icon {
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.benefit-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ========== SERVICES ========== */

.services {
  background-color: var(--color-warm-bg);
  padding: var(--spacing-section) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.service-card-body {
  padding: 1.5rem;
}

.service-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.service-header h3 {
  font-size: 1.125rem;
}

.price-tag {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary-hover);
  white-space: nowrap;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ========== TESTIMONIALS ========== */

.testimonials {
  background-color: var(--color-dark);
  padding: var(--spacing-section) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--color-dark-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonial-stars {
  color: var(--color-primary);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  color: rgba(240, 237, 232, 0.85);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.author-name {
  font-weight: 600;
  color: var(--color-text-light);
}

.author-location {
  color: rgba(240, 237, 232, 0.45);
}

.author-location::before {
  content: '·';
  margin-right: 0.5rem;
}

.author-verified {
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.85;
}

.author-verified::before {
  content: '·';
  margin-right: 0.5rem;
  color: rgba(240, 237, 232, 0.45);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle--light {
  color: rgba(240, 237, 232, 0.6);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 520px;
  margin: 0.75rem auto 0;
}

.testimonials-trust-bar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding: 1rem 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(240, 237, 232, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
}

.trust-badge__icon {
  color: var(--color-primary);
  font-size: 1rem;
}

/* ========== COMPARISON ========== */

.comparison {
  background-color: var(--color-surface);
  padding: var(--spacing-section) 0;
}

.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1.125rem 1.5rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border);
}

.comparison-table thead th {
  background-color: var(--color-warm-bg);
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.0625rem;
  padding: 1.25rem 1.5rem;
}

.comparison-table thead th:first-child {
  width: 140px;
}

.comparison-table thead th.highlight {
  background-color: var(--color-primary-light);
  color: var(--color-text);
}

.comparison-table td.highlight {
  background-color: rgba(200, 169, 126, 0.04);
  color: var(--color-text);
  font-weight: 500;
}

.comparison-table .row-label {
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

.comparison-table tbody td:not(.row-label):not(.highlight) {
  color: var(--color-text-muted);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

/* ========== FAQ ========== */

.faq {
  background-color: var(--color-warm-bg);
  padding: var(--spacing-section) 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--color-primary);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  min-height: 48px;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary:hover { color: var(--color-primary-hover); }

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* ========== FINAL CTA ========== */

.final-cta {
  background-color: var(--color-dark);
  padding: var(--spacing-section) 0;
}

.final-cta-subtitle {
  text-align: center;
  color: rgba(240, 237, 232, 0.7);
  font-size: 1.0625rem;
  max-width: 560px;
  margin: -0.5rem auto 2.5rem;
  line-height: 1.65;
}

/* ========== FORMS ========== */

.inline-lead-form,
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(240, 237, 232, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lead-form .form-group label,
.modal-content .form-group label {
  color: var(--color-text-muted);
}

.form-group input,
.form-group select {
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-light);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 48px;
}

.form-group input::placeholder {
  color: rgba(240, 237, 232, 0.3);
}

.form-group input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(200, 169, 126, 0.15);
  outline: none;
}

.form-group input:invalid:not(:placeholder-shown) {
  border-color: #e74c3c;
}

.modal-content .form-group input,
.modal-content .form-group select {
  border-color: var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
}

.modal-content .form-group input::placeholder {
  color: var(--color-text-muted);
}

.modal-content .form-group input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.form-trust {
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(240, 237, 232, 0.4);
  margin-top: 0.5rem;
}

.modal-content .form-trust {
  color: var(--color-text-muted);
}

.form-success {
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  color: var(--color-success);
  margin-bottom: 1rem;
}

.form-success h3 {
  color: var(--color-text-light);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.form-success p {
  color: rgba(240, 237, 232, 0.65);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.modal-content .form-success h3 { color: var(--color-text); }
.modal-content .form-success p { color: var(--color-text-muted); }

/* ========== MODAL ========== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 2rem 2rem 1.5rem;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.modal-overlay.open .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background-color: var(--color-warm-bg);
  color: var(--color-text);
}

/* Modal header */
.modal-header { margin-bottom: 1.25rem; }

.modal-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-hover);
  background: var(--color-primary-light);
  padding: 0.3125rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.modal-content h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  padding-right: 2rem;
  line-height: 1.25;
}

.modal-subtitle {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 0;
  line-height: 1.55;
}

/* Progress steps */
.modal-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.modal-step {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  opacity: 0.35;
  transition: opacity 0.3s ease;
}

.modal-step.active { opacity: 1; }
.modal-step.done { opacity: 0.6; }

.modal-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--color-warm-bg);
  color: var(--color-text-muted);
  transition: background 0.3s ease, color 0.3s ease;
}

.modal-step.active .modal-step-num {
  background: var(--color-primary);
  color: var(--color-dark);
}

.modal-step.done .modal-step-num {
  background: var(--color-success);
  color: #fff;
}

.modal-step-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.modal-step.active .modal-step-label {
  color: var(--color-text);
  font-weight: 600;
}

.modal-step-line {
  width: 32px;
  height: 2px;
  background: var(--color-border);
  margin: 0 0.5rem;
  border-radius: 1px;
  transition: background 0.3s ease;
}

.modal-step-line.done {
  background: var(--color-success);
}

/* Form steps */
.form-step { animation: stepIn 0.25s ease; }

@keyframes stepIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

.form-step-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.modal-back-btn {
  border-color: var(--color-border);
  color: var(--color-text-muted);
}

.modal-back-btn:hover {
  background: var(--color-warm-bg);
  color: var(--color-text);
}

.field-hint {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  opacity: 0.7;
  margin-top: 0.125rem;
}

/* Trust indicators */
.modal-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

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

/* Success animation */
.success-anim {
  color: var(--color-success);
  margin-bottom: 1rem;
}

.success-circle {
  stroke-dasharray: 190;
  stroke-dashoffset: 190;
  animation: drawCircle 0.6s ease forwards;
}

.success-check {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawCheck 0.4s 0.4s ease forwards;
}

@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

.success-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-primary-hover);
  font-weight: 600;
  margin-top: 1rem;
}

.success-sep { color: var(--color-border); }

/* ========== FOOTER ========== */

.site-footer {
  background-color: #141416;
  padding: 3rem 0 2rem;
  color: rgba(240, 237, 232, 0.5);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-brand .logo {
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(240, 237, 232, 0.35);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.footer-links a {
  color: rgba(240, 237, 232, 0.5);
  transition: color 0.2s ease;
}

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

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(240, 237, 232, 0.25);
}

/* ========== SCROLL ANIMATIONS ========== */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-child {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.stagger-child.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== COOKIE CONSENT ========== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: var(--color-surface);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
  padding: 1.25rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  flex: 1;
}

.cookie-text a {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-actions .btn {
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
  min-height: 36px;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border-color: var(--color-border);
}

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

/* ========== RESPONSIVE — TABLET ========== */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
  }

  .hero h1 { max-width: none; }
  .hero-subtitle { max-width: none; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-proof { text-align: center; }

  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
  }

  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

/* ========== RESPONSIVE — MOBILE ========== */

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 105;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .main-nav a {
    font-size: 1.25rem;
  }

  .header-cta { display: none; }
  .hamburger { display: flex; }

  .hero {
    padding-top: 6rem;
    padding-bottom: 3rem;
  }

  .hero-visual {
    display: none;
  }

  .hero-content { text-align: left; }
  .hero-actions { justify-content: flex-start; }
  .hero-proof { text-align: left; }

  .hero-actions .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .testimonials-trust-bar {
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    justify-content: center;
  }

  .comparison-table-wrap {
    margin: 0 -1.25rem;
    border-radius: 0;
  }

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

  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-actions {
    width: 100%;
    justify-content: center;
  }

  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal-content {
    padding: 1.75rem 1.25rem 1.25rem;
    margin: 0;
    max-height: 95vh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    transform: translateY(100%);
  }

  .modal-overlay.open .modal-content {
    transform: translateY(0);
  }

  .modal-steps { gap: 0; }
  .modal-step-label { display: none; }
  .modal-step-line { width: 24px; }

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

  .modal-trust { gap: 0.5rem 1rem; }

  .section-heading {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========== PRINT ========== */

@media print {
  .site-header,
  .modal-overlay,
  .cookie-banner,
  .hamburger { display: none !important; }

  .hero { padding-top: 2rem; }

  body { color: #000; background: #fff; }
}
