/* ============================================================
   AuditPortal — главный стиль лендинга.
   Палитра/шрифты: brand-tokens.css (Albert Sans + Playfair Display + зелёно-золото).
   Стилистическая модель: КОНСИС-лендинг (mpt719) — cream/emerald + gold CTA.
   ============================================================ */

/* ---- Дополнительные токены (расширяем brand-tokens.css) ---- */
:root {
  --cream:        #F5F2ED;
  --cream-dark:   #EAE6DE;
  --stone:        #D4CFC6;
  --emerald:      var(--green-900);
  --emerald-mid:  #1A5C50;
  --teal:         var(--green-400);
  --teal-light:   #7BC4B8;
  --gold:         var(--gold-600);
  --gold-light:   var(--gold-300);
  --gold-pale:    #F5E6C0;
  --dark:         #0E1715;
  --gray:         var(--ink-600);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Albert Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  --shadow-gold:    0 8px 36px rgba(201,162,75,.18);
  --shadow-emerald: 0 16px 48px rgba(11,61,52,.16);
  --shadow-soft:    0 4px 20px rgba(11,61,52,.06);

  --transition: .3s cubic-bezier(.4,0,.2,1);

  --container-w: 1240px;
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--green-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
input, textarea, select, button { font-family: inherit; font-size: inherit; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--emerald);
  letter-spacing: -.01em;
  margin: 0 0 .4em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 4.4rem); line-height: 1.06; }
h2 { font-size: clamp(1.85rem, 3.4vw, 3.2rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.55rem); }
h2 em, h1 em { font-style: italic; color: var(--gold); }

p { margin: 0 0 1em; color: var(--gray); }

/* ---- Layout primitives ---- */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
}

.section {
  padding: clamp(56px, 7vw, 110px) 0;
}
.section--cream { background: var(--cream); }
.section--white { background: #fff; }
.section--dark {
  background: var(--emerald);
  color: rgba(255,255,255,.85);
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(56,155,139,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,155,139,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.section--dark > .container { position: relative; z-index: 1; }
.section--dark .badge { background: rgba(201,162,75,.1); border-color: rgba(201,162,75,.4); color: var(--gold-light); }
.section--dark p { color: rgba(255,255,255,.7); }
.title-light { color: #fff !important; }

.section-title { font-family: var(--font-display); font-weight: 600; color: var(--emerald); margin: 0 0 .3em; font-size: clamp(1.85rem,3.4vw,3.2rem); letter-spacing: -.01em; }
.section-title em { font-style: italic; color: var(--gold); }
.section-subtitle { font-size: 1.05rem; color: var(--gray); max-width: 720px; margin: 8px 0 36px; }
.section-subtitle.center { margin-left: auto; margin-right: auto; text-align: center; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold);
  padding: 6px 16px;
  border: 1px solid rgba(201,162,75,.4);
  border-radius: var(--r-pill);
  background: rgba(201,162,75,.06);
  margin-bottom: 18px;
}
.badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.badge--light { color: var(--gold-light); }

.gold-line {
  display: block;
  width: 60px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 14px 0 28px;
}
.gold-line.center { margin-left: auto; margin-right: auto; }

.section--dark .gold-line { background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ---- Buttons ---- */
.btn-gold, .btn-primary, .btn-outline, .btn-outline-light {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 14px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  border: none; cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--emerald);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(201,162,75,.32);
  color: var(--emerald);
}
.btn-gold:active { transform: translateY(0); }

.btn-primary {
  background: var(--emerald);
  color: #fff;
}
.btn-primary:hover {
  background: var(--emerald-mid);
  transform: translateY(-2px);
  color: #fff;
  box-shadow: var(--shadow-emerald);
}

.btn-outline {
  background: transparent;
  color: var(--emerald);
  border: 1.5px solid rgba(11,61,52,.25);
}
.btn-outline:hover {
  background: rgba(11,61,52,.06);
  border-color: var(--emerald);
  color: var(--emerald);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  color: #fff;
}

/* spinner inside buttons */
.btn-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.is-loading .btn-spinner { display: block; }
.is-loading .btn-text { opacity: .65; }
.is-loading { pointer-events: none; }

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

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: clamp(12px, 2vw, 18px) 0;
  transition: background .35s, box-shadow .35s, padding .35s;
}
#header.scrolled {
  background: rgba(11,61,52,.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 6px 32px rgba(0,0,0,.18);
  padding: 10px 0;
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
}

.logo-wrap {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  color: inherit;
}
.logo-mark { display: inline-flex; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-title {
  font-family: var(--font-body);
  font-size: 19px; font-weight: 800;
  color: #fff; letter-spacing: .01em;
}
.logo-sub {
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,.55);
  letter-spacing: .14em; text-transform: uppercase;
  margin-top: 4px;
}

.header-nav {
  display: flex; align-items: center; gap: clamp(18px, 2vw, 28px);
  margin-left: auto;
}
.header-nav a {
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.78);
  text-decoration: none;
}
.header-nav a:hover { color: var(--gold-light); }

.header-phone {
  font-size: 15px; font-weight: 700;
  color: var(--teal-light);
  text-decoration: none;
}
.header-phone:hover { color: var(--gold-light); }

.header-cta { padding: 11px 22px; font-size: 12px; }

.burger-btn {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  padding: 8px; margin-left: auto;
}
.burger-btn span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: var(--transition);
}

/* mobile nav */
.mobile-nav {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: var(--emerald);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 26px;
  padding: 40px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.mobile-nav a:hover { color: var(--gold-light); }
.mobile-nav .mobile-phone { color: var(--gold-light); font-size: 1.2rem; }
.mobile-nav-close {
  position: absolute; top: 18px; right: 18px;
  background: none; border: none;
  color: #fff; font-size: 36px; line-height: 1;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  background: var(--emerald);
  color: #fff;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: 130px 0 70px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(56,155,139,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,155,139,.07) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-glow {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 70% 60% at 70% 30%, rgba(56,155,139,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 12% 80%, rgba(201,162,75,.10) 0%, transparent 55%);
}
.hero-container {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 920px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
  padding: 8px 18px;
  border: 1px solid rgba(201,162,75,.35);
  background: rgba(201,162,75,.06);
  border-radius: var(--r-pill);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,162,75,.25);
}
.hero-title {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  margin: 0 0 18px;
}
.hero-title em { color: var(--gold-light); font-style: italic; }
.hero-subtitle {
  color: rgba(255,255,255,.78);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

/* hero trust */
.hero-trust {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero-trust__item {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
}
.hero-trust__num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
}
.hero-trust__label {
  font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  text-align: center;
}
.hero-trust__divider {
  width: 1px; height: 32px;
  background: rgba(255,255,255,.15);
}

/* ============================================================
   AUDIT FORM (Hero)
   ============================================================ */
.audit-form {
  display: flex; gap: 10px;
  max-width: 620px;
  margin: 0 auto;
}
.audit-form__input {
  flex: 1; min-width: 0;
  height: 56px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: border-color .25s, background .25s;
}
.audit-form__input::placeholder { color: rgba(255,255,255,.45); }
.audit-form__input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.1);
}
.audit-form__input.error {
  border-color: #FF8A8A;
  animation: shake .35s ease;
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
.audit-form__submit {
  height: 56px;
  padding: 0 32px;
}
.audit-form__hint {
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
  margin-top: 14px;
  text-align: center;
}

/* progress / error blocks */
.audit-progress, .audit-error {
  display: none;
  max-width: 620px;
  margin: 32px auto 0;
}
.audit-progress.active, .audit-error.active { display: block; }

.audit-progress__bar-wrapper {
  height: 6px;
  background: rgba(255,255,255,.1);
  border-radius: 3px;
  overflow: hidden;
}
.audit-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  transition: width .5s ease;
}
.audit-progress__text {
  margin: 14px 0 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,.7);
}

.audit-error {
  text-align: center;
  background: rgba(185,45,45,.08);
  border: 1px solid rgba(185,45,45,.3);
  padding: 20px 24px;
  border-radius: var(--r-md);
}
.audit-error__text { color: #FFB8B8; margin: 0 0 14px; }

/* ============================================================
   AUDIT RESULTS
   ============================================================ */
.audit-results-section {
  display: none;
  background: var(--cream);
  padding: clamp(48px, 7vw, 100px) 0 clamp(24px, 4vw, 56px);
}
.audit-results-section.active { display: block; }
.audit-results { display: block; }

.audit-results__head {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  background: #fff;
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--stone);
  margin-bottom: 24px;
}

.audit-score { text-align: center; }
.audit-score__circle {
  width: 180px; height: 180px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-direction: column;
  border: 6px solid var(--warning-600);
  margin-bottom: 12px;
  background: #fff;
  position: relative;
  transition: transform .4s, border-color .4s;
}
.audit-score__circle.status-pass    { border-color: var(--success-600); color: var(--success-600); }
.audit-score__circle.status-warning { border-color: var(--warning-600); color: var(--warning-600); }
.audit-score__circle.status-fail    { border-color: var(--danger-600);  color: var(--danger-600); }
.audit-score__number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
}
.audit-score__label {
  font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gray);
  margin-top: 6px;
}
.audit-score__status {
  font-size: 17px; font-weight: 700;
  margin: 0;
}
.audit-score__domain {
  font-size: 13px;
  color: var(--gray);
  margin: 4px 0 0;
}

.audit-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.audit-summary__item {
  background: var(--cream);
  border: 1px solid var(--stone);
  border-radius: var(--r-md);
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.audit-summary__num {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 700;
  color: var(--emerald);
  line-height: 1;
}
.audit-summary__label {
  font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--gray);
}

.audit-penalty {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(185,45,45,.12), rgba(185,45,45,.04));
  border-color: rgba(185,45,45,.3);
}
.audit-penalty__title {
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--danger-600);
  font-weight: 700;
}
.audit-penalty__amount {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700;
  color: var(--danger-600);
  line-height: 1.2;
}
.audit-penalty.no-penalty {
  background: linear-gradient(135deg, rgba(25,135,84,.12), rgba(25,135,84,.04));
  border-color: rgba(25,135,84,.3);
}
.audit-penalty.no-penalty .audit-penalty__title,
.audit-penalty.no-penalty .audit-penalty__amount {
  color: var(--success-600);
}

/* categories grid */
.audit-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.audit-category {
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: var(--r-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-soft);
}
.audit-category__header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}
.audit-category__name {
  font-size: 14.5px; font-weight: 700;
  color: var(--emerald);
  line-height: 1.3;
}
.audit-category__pct {
  font-size: 14px; font-weight: 700;
  flex-shrink: 0;
}
.audit-category__pct.status-pass    { color: var(--success-600); }
.audit-category__pct.status-warning { color: var(--warning-600); }
.audit-category__pct.status-fail    { color: var(--danger-600); }

.audit-category__bar {
  height: 5px;
  background: rgba(11,61,52,.06);
  border-radius: 3px;
  overflow: hidden;
}
.audit-category__bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width .8s cubic-bezier(.4,0,.2,1);
}
.audit-category__bar-fill.status-pass    { background: var(--success-600); }
.audit-category__bar-fill.status-warning { background: var(--warning-600); }
.audit-category__bar-fill.status-fail    { background: var(--danger-600); }

.audit-results__cta {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center;
  margin: 28px 0 14px;
}

.audit-disclaimer {
  font-size: 13px;
  color: var(--gray);
  text-align: center;
  max-width: 800px;
  margin: 14px auto 0;
  line-height: 1.55;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-results {
  display: none;
  padding: clamp(40px, 6vw, 80px) 0;
  background: #fff;
}
.pricing-results.active { display: block; }

.audit-pricing__timer {
  background: rgba(201,162,75,.08);
  border: 1px solid rgba(201,162,75,.4);
  border-radius: var(--r-md);
  padding: 14px 24px;
  text-align: center;
  margin: 0 auto 28px;
  max-width: 600px;
  font-size: 15px;
  font-weight: 600;
  color: var(--emerald);
}
.audit-pricing__countdown {
  font-family: var(--font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 19px;
  color: var(--gold);
  margin-left: 6px;
}

.audit-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 28px);
  margin-top: 24px;
}
.audit-pricing__card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--stone);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column;
  transition: var(--transition);
}
.audit-pricing__card:hover {
  background: #fff;
  border-color: rgba(201,162,75,.4);
  box-shadow: var(--shadow-gold);
  transform: translateY(-6px);
}
.audit-pricing__card--popular {
  background: #fff;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-gold);
}
.audit-pricing__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--emerald);
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--r-pill);
}
.audit-pricing__name {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 600;
  color: var(--emerald);
  margin-bottom: 10px;
}
.audit-pricing__price {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  color: var(--emerald);
  margin-bottom: 22px;
  line-height: 1;
}
.audit-pricing__features {
  list-style: none;
  padding: 0; margin: 0 0 26px;
  display: flex; flex-direction: column; gap: 10px;
}
.audit-pricing__features li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--ink-700);
  line-height: 1.5;
}
.audit-pricing__features li::before {
  content: '';
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(11,61,52,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231E4F3A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center no-repeat;
}
.audit-pricing__card--popular .audit-pricing__features li::before {
  background-color: rgba(201,162,75,.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C9A24B' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}
.audit-pricing__button {
  margin-top: auto;
  width: 100%;
}

/* ============================================================
   WHY GRID
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 28px);
  margin-top: 36px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.5vw, 32px);
  position: relative;
  transition: var(--transition);
  display: flex; flex-direction: column; gap: 8px;
}
.why-card:hover {
  border-color: rgba(201,162,75,.4);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.why-card__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--gold);
  width: 44px; height: 44px;
  background: rgba(201,162,75,.12);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.why-card__num--accent {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--emerald);
}
.why-card h3 { margin: 0 0 4px; }
.why-card p { color: var(--gray); margin: 0; font-size: 15px; }
.why-card--accent {
  background: linear-gradient(160deg, var(--emerald), var(--emerald-mid));
  border: none;
}
.why-card--accent h3 { color: #fff; }
.why-card--accent p { color: rgba(255,255,255,.75); }

/* ============================================================
   PENALTIES TABLE
   ============================================================ */
.penalties-table-wrap {
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: var(--r-lg);
  padding: 8px clamp(8px, 2vw, 24px);
  box-shadow: var(--shadow-soft);
  overflow-x: auto;
}
.penalties-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.penalties-table th {
  text-align: left;
  padding: 16px 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gray);
  border-bottom: 2px solid var(--stone);
}
.penalties-table th.penalties-table__amount,
.penalties-table .penalties-table__amount {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.penalties-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(11,61,52,.06);
  vertical-align: top;
  color: var(--ink-700);
}
.penalties-table .penalties-table__amount {
  font-weight: 700;
  color: var(--danger-600);
}
.penalties-table tr:last-child td { border-bottom: none; }
.penalties-table__group td {
  background: var(--cream);
  font-weight: 700;
  color: var(--emerald);
  font-size: 13.5px;
  letter-spacing: .02em;
  padding: 14px;
}
.penalties-table__group--leak td { color: #8a3838; background: #FBEEEE; }
.penalties-table__group--criminal td { color: #501010; background: #f4e1e1; }
.penalties-table__repeat td {
  background: rgba(201,162,75,.05);
  font-style: italic;
  color: var(--gray);
}
.penalties-table__amount--max {
  color: #8a1010 !important;
  font-weight: 800;
}

/* ============================================================
   CHECK GRID (what we check)
   ============================================================ */
.check-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 22px);
  margin-top: 32px;
}
.check-card {
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.5vw, 28px);
  display: flex; flex-direction: column; gap: 8px;
  transition: var(--transition);
}
.check-card:hover {
  border-color: rgba(201,162,75,.4);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.check-card__num {
  width: 36px; height: 36px;
  background: var(--emerald);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  margin-bottom: 12px;
}
.check-card h3 { font-size: 1.1rem; margin: 0 0 6px; line-height: 1.25; }
.check-card p { font-size: 14px; color: var(--gray); margin: 0; flex: 1; }
.check-card__count {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.check-card--cta {
  background: linear-gradient(160deg, var(--emerald), var(--emerald-mid));
  border: none;
  color: #fff;
}
.check-card--cta h3 { color: #fff; }
.check-card--cta p { color: rgba(255,255,255,.7); }
.check-card--cta:hover { box-shadow: var(--shadow-emerald); }

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
  margin-top: 32px;
}
.benefit-card {
  background: var(--cream);
  border: 1px solid var(--stone);
  border-radius: var(--r-xl) var(--r-md) var(--r-md) var(--r-md);
  padding: clamp(24px, 3vw, 36px);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.benefit-card::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle at top right, rgba(201,162,75,.1) 0%, transparent 65%);
}
.benefit-card:hover {
  background: #fff;
  border-color: rgba(201,162,75,.4);
  box-shadow: var(--shadow-gold);
  transform: translateY(-6px);
}
.benefit-card__icon {
  width: 60px; height: 60px;
  background: rgba(11,61,52,.07);
  border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--emerald);
  margin-bottom: 18px;
}
.benefit-card h3 { margin-bottom: 10px; }
.benefit-card p { margin: 0; font-size: 15px; }

/* ============================================================
   HOW WE WORK
   ============================================================ */
.how-grid {
  display: grid;
  gap: 0;
  margin-top: 36px;
  max-width: 880px;
}
.how-step {
  display: flex; gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.how-step:last-child { border-bottom: none; }
.how-step::before {
  content: '';
  position: absolute; left: 21px; top: 60px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(201,162,75,.4), transparent);
}
.how-step:last-child::before { display: none; }
.how-step__num {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--emerald);
  box-shadow: 0 4px 18px rgba(201,162,75,.3);
}
.how-step__body h3 { color: #fff; margin-bottom: 4px; }
.how-step__body p { color: rgba(255,255,255,.65); margin: 0; font-size: 15px; }

.how-cta {
  display: flex; gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}
.faq-item {
  background: var(--cream);
  border: 1px solid var(--stone);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item[open] {
  background: #fff;
  border-color: rgba(201,162,75,.4);
  box-shadow: var(--shadow-gold);
}
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px;
  padding: 18px 22px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--emerald);
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 28px; height: 28px;
  background: rgba(11,61,52,.08);
  color: var(--teal);
  font-size: 18px; font-weight: 600;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .3s, background .3s, color .3s;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--emerald);
  color: #fff;
}
.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 15px;
  color: var(--ink-700);
  line-height: 1.65;
}

/* ============================================================
   CTA SECTION (with form)
   ============================================================ */
.cta-block {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.cta-block__left h2 { color: #fff; }
.cta-block__left p { font-size: 1.05rem; color: rgba(255,255,255,.72); }
.cta-block__points {
  list-style: none;
  padding: 0; margin: 28px 0 0;
  display: flex; flex-direction: column; gap: 12px;
}
.cta-block__points li {
  display: flex; align-items: flex-start; gap: 12px;
  color: rgba(255,255,255,.85);
  font-size: 15px;
}
.cta-block__icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  background: rgba(201,162,75,.12);
  border: 1px solid rgba(201,162,75,.35);
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  margin-top: 2px;
}

.cta-block__form {
  background: #fff;
  border-radius: var(--r-xl) var(--r-md) var(--r-md) var(--r-md);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-emerald);
  position: relative;
  overflow: hidden;
}
.cta-block__form::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--gold), var(--emerald));
  background-size: 200% 100%;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* ============================================================
   LEAD FORM (universal)
   ============================================================ */
.lead-form {
  display: flex; flex-direction: column;
  gap: 16px;
}
.lead-form__field {
  display: flex; flex-direction: column;
  gap: 6px;
}
.lead-form__field label {
  font-size: 12.5px; font-weight: 700;
  color: var(--emerald);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.lead-form__optional {
  text-transform: none;
  font-size: 11px;
  color: var(--gray);
  font-weight: 500;
  letter-spacing: 0;
}
.lead-form__field input,
.lead-form__field textarea,
.lead-form__challenge input {
  padding: 13px 16px;
  border: 1.5px solid var(--stone);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink-900);
  font-size: 15px;
  outline: none;
  transition: border-color .25s;
  font-family: inherit;
}
.lead-form__field input:focus,
.lead-form__field textarea:focus,
.lead-form__challenge input:focus {
  border-color: var(--gold);
}
.lead-form__field input.error,
.lead-form__challenge input.error {
  border-color: var(--danger-600);
}
.lead-form__field textarea {
  resize: vertical;
  min-height: 80px;
}
.lead-form__challenge {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--cream);
  border: 1px dashed var(--stone);
  border-radius: var(--r-sm);
  padding: 14px;
}
.lead-form__challenge label {
  font-size: 12.5px; font-weight: 700;
  color: var(--emerald);
}
.lead-form__challenge-q {
  font-weight: 600;
  color: var(--ink-900);
}
.lead-form__check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px;
  color: var(--ink-700);
  cursor: pointer;
  line-height: 1.45;
}
.lead-form__check input {
  margin-top: 3px;
  accent-color: var(--gold);
}
.lead-form__submit {
  margin-top: 6px;
  padding: 16px 28px;
  font-size: 14px;
}
.lead-form__response {
  font-size: 14px;
  margin-top: 4px;
  min-height: 20px;
}
.lead-form__response.success { color: var(--success-600); font-weight: 700; }
.lead-form__response.error   { color: var(--danger-600); font-weight: 700; }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--dark);
  color: rgba(255,255,255,.55);
  padding: clamp(48px, 6vw, 72px) 0 clamp(20px, 3vw, 28px);
  position: relative;
}
#footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .4;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 24px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  text-decoration: none;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  margin-bottom: 8px;
}
.footer-logo__text { display: flex; flex-direction: column; line-height: 1; }
.footer-logo__title {
  font-family: var(--font-body);
  font-size: 18px; font-weight: 800;
  color: #fff;
}
.footer-logo__sub {
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,.45);
  letter-spacing: .14em; text-transform: uppercase;
  margin-top: 4px;
}
.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,.42);
  line-height: 1.65;
  margin: 6px 0 0;
  max-width: 420px;
}
.footer-heading {
  font-size: 11px; font-weight: 700;
  color: #fff;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 6px;
}
.footer-muted { color: rgba(255,255,255,.35); font-size: 13px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}

/* ============================================================
   MODALS
   ============================================================ */
.modal {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal.is-open { display: flex; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal__overlay {
  position: absolute; inset: 0;
  background: rgba(11,61,52,.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.modal__window {
  position: relative;
  width: 100%; max-width: 540px;
  max-height: 92vh; overflow-y: auto;
  background: #fff;
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
  animation: modalIn .35s cubic-bezier(.4,0,.2,1);
}
@keyframes modalIn {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: var(--cream);
  border: none;
  border-radius: 50%;
  font-size: 22px; line-height: 1;
  color: var(--emerald);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal__close:hover { background: var(--gold); color: var(--emerald); transform: rotate(90deg); }

.modal__title {
  margin: 0 0 8px;
  font-size: 1.4rem;
}
.modal__subtitle, .modal__text {
  margin: 0 0 20px;
  font-size: 14.5px;
  color: var(--gray);
}
.modal__icon { text-align: center; margin-bottom: 16px; }
.modal__window--thanks { text-align: center; max-width: 460px; }
.modal__window--thanks .btn-gold { margin-top: 8px; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .header-nav { display: none; }
  .burger-btn { display: flex; }
  .header-cta { display: none; }
  .header-phone { font-size: 14px; margin-left: auto; }
  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .audit-pricing__grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-block { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .header-phone { display: none; }
  .audit-results__head { grid-template-columns: 1fr; text-align: center; }
  .audit-summary { grid-template-columns: 1fr 1fr; }
  .audit-categories { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .audit-form { flex-direction: column; }
  .audit-form__input, .audit-form__submit { width: 100%; }
  .audit-form__submit { padding: 0 24px; }
  .hero-trust { gap: 16px; }
  .hero-trust__divider { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .audit-summary { grid-template-columns: 1fr; }
  .audit-score__circle { width: 140px; height: 140px; }
  .audit-score__number { font-size: 42px; }
  .penalties-table { font-size: 13px; }
  .penalties-table th, .penalties-table td { padding: 10px 8px; }
}

/* Print rules — base, override in report.php */
@media print {
  #header, .mobile-nav, #footer, .audit-form, .audit-progress, .modal, .cookie-banner { display: none !important; }
  body { background: #fff; }
}
