/* style.css — Mad Hatter Service Company custom design system */

/* ===== DESIGN TOKENS ===== */
:root,
[data-theme='light'] {
  /* Custom palette — warm hearth + slate authority */
  --font-display: 'Clash Display', 'Inter', sans-serif;
  --font-body: 'Satoshi', 'Inter', system-ui, sans-serif;

  --color-bg: #faf7f2;
  --color-surface: #ffffff;
  --color-surface-2: #f5f2ed;
  --color-surface-offset: #efebe4;
  --color-divider: #e5e2dd;
  --color-border: #d8d4cc;

  --color-text: #1a1a2e;
  --color-text-muted: #6b6b7b;
  --color-text-faint: #a0a0b0;
  --color-text-inverse: #faf7f2;

  --color-primary: #c2691e;
  --color-primary-hover: #a5541a;
  --color-primary-active: #8a4515;
  --color-primary-highlight: #f5e6d8;

  --color-accent: #1e3a5f;
  --color-accent-hover: #15294a;
  --color-accent-highlight: #d8e0ec;

  --color-success: #437a22;
  --color-success-highlight: #e0ecd4;

  --color-warning: #964219;
  --color-warning-highlight: #f0ddd0;

  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 3px rgba(26, 26, 46, 0.08);
  --shadow-md: 0 4px 16px rgba(26, 26, 46, 0.1);
  --shadow-lg: 0 12px 40px rgba(26, 26, 46, 0.15);

  --content-narrow: 640px;
  --content-default: 1100px;
  --content-wide: 1320px;

  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

[data-theme='dark'] {
  --color-bg: #12121d;
  --color-surface: #1a1a2e;
  --color-surface-2: #1e1e34;
  --color-surface-offset: #22223a;
  --color-divider: #2a2a42;
  --color-border: #363652;

  --color-text: #e0dfe5;
  --color-text-muted: #9a9aae;
  --color-text-faint: #6a6a82;
  --color-text-inverse: #1a1a2e;

  --color-primary: #e89544;
  --color-primary-hover: #d4823a;
  --color-primary-active: #c2691e;
  --color-primary-highlight: #2e2518;

  --color-accent: #5a8db5;
  --color-accent-hover: #4a7da5;
  --color-accent-highlight: #1a2838;

  --color-success: #7ab555;
  --color-success-highlight: #1a2818;

  --color-warning: #c2691e;
  --color-warning-highlight: #2e2218;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #12121d;
    --color-surface: #1a1a2e;
    --color-surface-2: #1e1e34;
    --color-surface-offset: #22223a;
    --color-divider: #2a2a42;
    --color-border: #363652;
    --color-text: #e0dfe5;
    --color-text-muted: #9a9aae;
    --color-text-faint: #6a6a82;
    --color-text-inverse: #1a1a2e;
    --color-primary: #e89544;
    --color-primary-hover: #d4823a;
    --color-primary-active: #c2691e;
    --color-primary-highlight: #2e2518;
    --color-accent: #5a8db5;
    --color-accent-hover: #4a7da5;
    --color-accent-highlight: #1a2838;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  }
}

/* ===== LAYOUT UTILITIES ===== */
.container { max-width: var(--content-default); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.container-wide { max-width: var(--content-wide); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.container-narrow { max-width: var(--content-narrow); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section-tight { padding-block: clamp(2rem, 4vw, 3.5rem); }

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-primary { color: var(--color-primary); }
.bg-surface { background: var(--color-surface); }
.bg-surface-2 { background: var(--color-surface-2); }
.bg-surface-offset { background: var(--color-surface-offset); }
.bg-primary { background: var(--color-primary); color: #fff; }
.bg-accent { background: var(--color-accent); color: #fff; }
.bg-dark { background: var(--color-text); color: var(--color-text-inverse); }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.header__bar {
  background: var(--color-text);
  color: var(--color-text-inverse);
  font-size: var(--text-xs);
  padding-block: 6px;
}
.header__bar-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.header__trust { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.header__trust-item { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.header__trust-item svg { flex-shrink: 0; }
.header__actions { display: flex; gap: 1rem; align-items: center; }
.header__phone { color: var(--color-primary); font-weight: 700; text-decoration: none; white-space: nowrap; }

.header__main {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
  padding-block: clamp(0.75rem, 2vw, 1.25rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--color-text); }
.logo__img { max-height: 120px; width: auto; border-radius: var(--radius-sm); }
@media (max-width: 768px) { .logo__img { max-height: 104px; } }
@media (max-width: 480px) { .logo__img { max-height: 96px; } }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav__link:hover, .nav__link.active { color: var(--color-primary); background: var(--color-primary-highlight); }

.header__cta { display: flex; gap: 0.5rem; align-items: center; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: var(--color-accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--outline { border: 2px solid var(--color-primary); color: var(--color-primary); background: transparent; }
.btn--outline:hover { background: var(--color-primary); color: #fff; }
.btn--ghost { color: var(--color-text); background: var(--color-surface-2); }
.btn--ghost:hover { background: var(--color-surface-offset); }
.btn--lg { padding: 0.875rem 1.75rem; font-size: var(--text-base); }
.btn--block { width: 100%; justify-content: center; }

/* ===== MOBILE NAV ===== */
.nav-toggle { display: none; background: none; border: none; padding: 0.5rem; cursor: pointer; color: var(--color-text); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-surface);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.5rem 2rem;
    gap: 0.5rem;
    box-shadow: var(--shadow-lg);
    transition: right 300ms cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99;
  }
  .nav--open { right: 0; }
  .nav__link { padding: 0.75rem 1rem; font-size: var(--text-base); border-radius: var(--radius-md); }
  .header__actions .btn { display: none; }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.92) 0%, rgba(30, 58, 95, 0.88) 50%, rgba(26, 26, 46, 0.95) 100%), url('./assets/hero-chimney.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 6rem);
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(194, 105, 30, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}
.hero__badge .star { color: #f5b840; }
.hero__title {
  font-size: var(--text-3xl);
  font-weight: 700;
  max-width: 14ch;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.hero__title span { color: var(--color-primary); }
.hero__subtitle {
  font-size: var(--text-lg);
  max-width: 50ch;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  line-height: 1.5;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero__stat-value { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; color: var(--color-primary); }
.hero__stat-label { font-size: var(--text-xs); color: rgba(255, 255, 255, 0.7); text-transform: uppercase; letter-spacing: 0.08em; }

.service-card__image { aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius-md) var(--radius-md) 0 0; margin: -2rem -2rem 1.25rem; }
.service-card__image img { width: 100%; height: 100%; object-fit: cover; }
.service-card { padding-top: 0; }
.service-card__body { padding: 0 2rem 2rem; }
.service-card__icon { margin-top: 2rem; }

.service-hero-img { width: 100%; aspect-ratio: 21/9; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 2rem; }

.about-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 2rem; }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding-block: 1.25rem;
}
.trust-bar__inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.trust-bar__item { display: flex; align-items: center; gap: 0.75rem; }
.trust-bar__item svg { width: 32px; height: 32px; color: var(--color-primary); flex-shrink: 0; }
.trust-bar__item-text { display: flex; flex-direction: column; line-height: 1.2; }
.trust-bar__item-value { font-weight: 700; font-size: var(--text-base); }
.trust-bar__item-label { font-size: var(--text-xs); color: var(--color-text-muted); }

/* ===== SECTIONS ===== */
.section-header { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-header__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.section-header__title { font-size: var(--text-xl); font-weight: 700; max-width: 20ch; margin-inline: auto; }
.section-header__subtitle { font-size: var(--text-base); color: var(--color-text-muted); max-width: 60ch; margin: 0.75rem auto 0; }

/* ===== SERVICE CARDS ===== */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--color-primary); }
.service-card__icon {
  width: 56px; height: 56px;
  background: var(--color-primary-highlight);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.service-card__icon svg { width: 32px; height: 32px; color: var(--color-primary); }
.service-card__title { font-size: var(--text-lg); font-weight: 700; margin-bottom: 0.5rem; }
.service-card__desc { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: 1rem; flex-grow: 1; }
.service-card__link { font-size: var(--text-sm); font-weight: 600; color: var(--color-primary); display: inline-flex; align-items: center; gap: 0.375rem; }

/* ===== FEATURE CARDS ===== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.feature-card { text-align: center; padding: 2rem 1.5rem; }
.feature-card__icon { width: 64px; height: 64px; margin: 0 auto 1.25rem; color: var(--color-primary); }
.feature-card__title { font-size: var(--text-lg); font-weight: 700; margin-bottom: 0.5rem; }
.feature-card__desc { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ===== REVIEWS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.review-card__stars { color: #f5b840; margin-bottom: 0.75rem; font-size: 1.125rem; letter-spacing: 2px; }
.review-card__text { font-size: var(--text-base); margin-bottom: 1rem; line-height: 1.6; }
.review-card__author { display: flex; align-items: center; gap: 0.75rem; }
.review-card__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--color-primary-highlight); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--color-primary); font-size: var(--text-sm); }
.review-card__name { font-weight: 600; font-size: var(--text-sm); }
.review-card__location { font-size: var(--text-xs); color: var(--color-text-muted); }

/* ===== FAQ ===== */
.faq-list { max-width: var(--content-narrow); margin-inline: auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: var(--text-base);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
}
.faq-item__question:hover { color: var(--color-primary); }
.faq-item__icon { transition: transform var(--transition); flex-shrink: 0; }
.faq-item--open .faq-item__icon { transform: rotate(180deg); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 300ms ease, padding 300ms ease; padding: 0 1.25rem; }
.faq-item--open .faq-item__answer { max-height: 500px; padding: 0 1.25rem 1.25rem; }
.faq-item__answer p { color: var(--color-text-muted); font-size: var(--text-base); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-accent) 100%);
  color: #fff;
  text-align: center;
  padding-block: clamp(3rem, 6vw, 5rem);
  border-radius: var(--radius-xl);
  margin: clamp(2rem, 4vw, 3rem);
}
.cta-section__title { font-size: var(--text-2xl); font-weight: 700; margin-bottom: 0.75rem; }
.cta-section__subtitle { font-size: var(--text-lg); color: rgba(255, 255, 255, 0.85); max-width: 50ch; margin: 0 auto 2rem; }
.cta-section__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { background: var(--color-text); color: rgba(255, 255, 255, 0.8); padding-block: clamp(3rem, 5vw, 4rem) 0; }
.footer__inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}
@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; }
}
.footer__brand-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.footer__tagline { font-size: var(--text-xs); color: rgba(255, 255, 255, 0.5); margin-bottom: 1rem; }
.footer__nap { font-size: var(--text-sm); line-height: 1.7; }
.footer__nap a { color: var(--color-primary); text-decoration: none; }
.footer__col-title { font-size: var(--text-sm); font-weight: 700; color: #fff; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer__col-list { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__col-list a { font-size: var(--text-sm); color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.footer__col-list a:hover { color: var(--color-primary); }
.footer__social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer__social a { color: rgba(255, 255, 255, 0.6); transition: color var(--transition); }
.footer__social a:hover { color: var(--color-primary); }
.footer__social svg { width: 24px; height: 24px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.5rem;
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
}

/* ===== MOBILE STICKY BAR ===== */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  z-index: 50;
  padding: 0.75rem 1rem;
  gap: 0.5rem;
}
@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
}
.mobile-cta-bar .btn { flex: 1; justify-content: center; }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-accent) 100%);
  color: #fff;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.page-hero__title { font-size: var(--text-2xl); font-weight: 700; max-width: 20ch; margin-bottom: 0.75rem; }
.page-hero__subtitle { font-size: var(--text-lg); color: rgba(255, 255, 255, 0.85); max-width: 55ch; }
.breadcrumb { font-size: var(--text-xs); color: rgba(255, 255, 255, 0.6); margin-bottom: 1rem; display: flex; gap: 0.5rem; align-items: center; }
.breadcrumb a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-primary); }

/* ===== CONTENT BLOCKS ===== */
.content-block { max-width: var(--content-narrow); margin-inline: auto; }
.content-block h2 { font-size: var(--text-xl); margin-bottom: 0.75rem; margin-top: 2.5rem; }
.content-block h3 { font-size: var(--text-lg); margin-bottom: 0.5rem; margin-top: 2rem; }
.content-block p { margin-bottom: 1rem; color: var(--color-text-muted); }
.content-block ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.content-block li { margin-bottom: 0.5rem; color: var(--color-text-muted); }
.content-block strong { color: var(--color-text); }

/* ===== PRICING TABLE ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.pricing-card__service { font-size: var(--text-lg); font-weight: 700; margin-bottom: 0.5rem; }
.pricing-card__price { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; color: var(--color-primary); margin-bottom: 1rem; }
.pricing-card__desc { font-size: var(--text-sm); color: var(--color-text-muted); }
.pricing-card__features { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.pricing-card__features li { display: flex; align-items: center; gap: 0.5rem; font-size: var(--text-sm); color: var(--color-text-muted); }
.pricing-card__features svg { width: 20px; height: 20px; color: var(--color-success); flex-shrink: 0; }

/* ===== SERVICE AREAS ===== */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.area-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 500;
}

/* ===== TWO COLUMN LAYOUT ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }
.two-col__content h2 { font-size: var(--text-xl); margin-bottom: 1rem; }
.two-col__content p { color: var(--color-text-muted); margin-bottom: 1rem; }
.two-col__image { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--color-surface-2); }

/* ===== CONTACT FORM ===== */
.contact-form { display: flex; flex-direction: column; gap: 1rem; max-width: 560px; }
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-label { font-size: var(--text-sm); font-weight: 600; }
.form-input, .form-textarea, .form-select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--text-base);
  transition: border-color var(--transition);
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--color-primary); outline: none; box-shadow: 0 0 0 3px var(--color-primary-highlight); }
.form-textarea { min-height: 120px; resize: vertical; }

/* ===== BLOG ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.blog-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--color-text); transition: all var(--transition); }
.blog-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.blog-card__image { aspect-ratio: 16/9; background: var(--color-surface-2); overflow: hidden; }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 1.5rem; }
.blog-card__title { font-size: var(--text-base); font-weight: 700; margin-bottom: 0.5rem; }
.blog-card__excerpt { font-size: var(--text-sm); color: var(--color-text-muted); }
.blog-card__date { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: 0.75rem; }

/* ===== THEME TOGGLE ===== */
.theme-toggle { background: none; border: none; cursor: pointer; color: var(--color-text-muted); padding: 0.5rem; border-radius: var(--radius-sm); transition: all var(--transition); }
.theme-toggle:hover { color: var(--color-primary); background: var(--color-primary-highlight); }
.theme-toggle svg { width: 20px; height: 20px; }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ===== MOBILE HEADER: bigger logo ===== */
@media (max-width: 1024px) {
  .header__cta .btn { display: none; }
  .header__cta { display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0; }
}
@media (max-width: 600px) {
  .header__trust-item:nth-child(n+2) { display: none; }
  .header__bar-inner { flex-wrap: nowrap; }
  .header__main { gap: 0.5rem; padding-block: 0.5rem; }
  .logo { flex: 1 1 auto; min-width: 0; }
  .logo__img { max-height: none; width: 100%; max-width: 260px; height: auto; }
}
.pricing-card { position: relative; display: flex; flex-direction: column; }
.pricing-card--featured { border: 2px solid var(--color-primary); box-shadow: var(--shadow-md); }
.pricing-card__badge { position: absolute; top: -12px; left: 2rem; background: var(--color-primary); color: #fff; font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 999px; }
.pricing-card__features li { align-items: flex-start; }
.pricing-card__note { margin-top: auto; padding-top: 1rem; font-size: var(--text-sm); color: var(--color-text-muted); }
.pricing-card__note a { color: var(--color-primary); font-weight: 600; }
.pricing-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.pricing-card__price { font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.25rem); line-height: 1.1; white-space: nowrap; }
.pricing-card__price--text { font-size: clamp(1.5rem, 1.1rem + 1vw, 1.875rem); }
.pricing-card__service { line-height: 1.3; }
.pricing-grid { padding-top: 14px; } .pricing-card__note a[href^="tel"] { white-space: nowrap; }
.pricing-group + .pricing-group { margin-top: clamp(3rem, 6vw, 4.5rem); }
.pricing-group__header { margin-bottom: 1.5rem; max-width: 70ch; }
.pricing-group__title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; line-height: 1.2; }
.pricing-group__subtitle { margin-top: 0.5rem; font-size: var(--text-sm); color: var(--color-text-muted); }
.pricing-card--audit { border-color: color-mix(in srgb, var(--color-primary) 45%, var(--color-border)); }
.legal { max-width: 72ch; }
.legal h2 { font-family: var(--font-display); font-size: var(--text-lg); margin: 2rem 0 0.75rem; }
.legal h3 { font-size: var(--text-base); margin: 1.25rem 0 0.5rem; }
.legal a { color: var(--color-primary); }
.footer__bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
