/* ═══════════════════════════════════════════════════════════════
   ukroofingleads.com — Components Stylesheet
   Requires: global.css loaded first
═══════════════════════════════════════════════════════════════ */

/* ─── NAVIGATION ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(11,42,74,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: var(--transition);
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav__logo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.nav__logo span { color: var(--orange); }
.nav__logo .domain { color: rgba(255,255,255,0.35); font-weight: 300; }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

/* Dropdown group */
.nav__group {
  position: relative;
  display: flex;
  align-items: center;
  /* padding-bottom removed to keep items vertically aligned with other links */
}

.nav__group-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
  padding: 0;
  white-space: nowrap;
}

.nav__group-toggle:hover { color: var(--white); }

.nav__group-toggle svg {
  width: 14px; height: 14px;
  transition: transform 0.2s;
}

.nav__group:hover .nav__group-toggle svg { transform: rotate(180deg); }

.nav__dropdown {
  position: absolute;
  top: 100%; /* remove extra gap to prevent hover flicker */
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-sm);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 1001;
}

.nav__group:hover .nav__dropdown,
.nav__dropdown:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* footer colours */
.footer,
.footer a,
.footer p,
.footer__col h5,
.footer__bottom p {
  color: #fff;
}
.footer a:hover {
  color: var(--teal);
}

.nav__dropdown a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 9px 14px;
  font-size: 0.88rem;
  color: var(--body-text);
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.nav__dropdown a:hover {
  background: var(--teal-light);
  color: var(--teal-dark);
}

.nav__dropdown-label {
  padding: 6px 14px 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── HERO COMPONENT (shared by landing pages) ───────────────────── */
.hero {
  background: var(--navy);
  padding-top: calc(var(--nav-height) + 56px);
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 75% 35%, rgba(14,124,123,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 8%  80%, rgba(217,94,10,0.08) 0%, transparent 50%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px; align-items: center;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(14,124,123,0.18);
  border: 1px solid rgba(14,124,123,0.35);
  border-radius: 100px; padding: 6px 14px;
  font-size: 0.78rem; font-weight: 700;
  color: #7ECFCE; letter-spacing: 0.07em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: #7ECFCE;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: #7ECFCE; }
.hero__sub {
  font-size: 1.08rem; color: rgba(255,255,255,0.72);
  max-width: 520px; margin-bottom: 32px; line-height: 1.72;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__trust   { display: flex; gap: 24px; flex-wrap: wrap; }
.hero__trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.83rem; color: rgba(255,255,255,0.58); font-weight: 500;
}
.hero__trust-item svg { width: 13px; height: 13px; color: #7ECFCE; }

/* Hero card */
.hero__card {
  background: #fff; border-radius: 14px;
  padding: 36px; box-shadow: 0 20px 60px rgba(0,0,0,0.22);
  position: relative; z-index: 2;
}
.hero__card-label {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}

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


/* ---------------------------------------------------------------------------
   Grid tweak for service pages: ensure cards stack on narrow screens
   ------------------------------------------------------------------------ */
@media (max-width: 768px) {
  /* override inline grid styles used in service pages */
  section.section--cream .container > div {
    grid-template-columns: 1fr !important;
  }
}

.nav__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav__link:hover { color: var(--white); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(217,94,10,0.3);
}

.nav__cta:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(217,94,10,0.4);
}

.nav__cta svg { width: 14px; height: 14px; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-lg);
  z-index: 999;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}

.nav__mobile.open { display: block; }

.nav__mobile-group { margin-bottom: var(--space-lg); }

.nav__mobile-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--space-sm);
  padding: 0 4px;
}

.nav__mobile-link {
  display: block;
  padding: 10px 4px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s;
}

.nav__mobile-link:hover { color: var(--white); }
.nav__mobile-link:last-child { border-bottom: none; }

.nav__mobile-cta {
  display: block;
  text-align: center;
  background: var(--orange);
  color: var(--white);
  padding: 14px;
  border-radius: var(--radius);
  font-weight: 600;
  margin-top: var(--space-md);
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
}

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
}

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 0 4px 20px rgba(217,94,10,0.28);
}
.btn--primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(217,94,10,0.36);
}

.btn--secondary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--secondary:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
}

.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.btn--white:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

.btn--teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn--teal:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--teal);
  border-color: transparent;
  padding-left: 0; padding-right: 0;
}
.btn--ghost:hover { color: var(--teal-dark); gap: 12px; }

/* Sizes */
.btn--sm { padding: 8px 18px; font-size: 0.82rem; }
.btn--lg { padding: 16px 36px; font-size: 1rem; }
.btn--xl { padding: 18px 44px; font-size: 1.05rem; }
.btn--full { width: 100%; }

/* ─── HERO (inner pages) ────────────────────────────────────── */
.inner-hero {
  background: var(--navy);
  padding: calc(var(--nav-height) + 56px) 0 64px;
  position: relative;
  overflow: hidden;
}

.inner-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 80% 40%, rgba(14,124,123,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 35% 50% at 5% 85%,  rgba(217,94,10,0.07) 0%, transparent 50%);
  pointer-events: none;
}

.inner-hero__content {
  position: relative;
  max-width: 740px;
}

.inner-hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

.inner-hero p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  max-width: 580px;
  margin-bottom: var(--space-lg);
}

.inner-hero .eyebrow { color: rgba(14,124,123,0.9); }

/* Hero with sidebar (for audit page, service pages) */
.inner-hero--split {
  padding-bottom: 0;
}

.inner-hero--split .inner-hero__grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: end;
}

.inner-hero--split .inner-hero__card {
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 36px;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .inner-hero--split .inner-hero__grid { grid-template-columns: 1fr; }
  .inner-hero--split .inner-hero__card { border-radius: var(--radius-lg); }
}

/* ─── TRUST BAR ─────────────────────────────────────────────── */
.trust-bar {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.trust-bar__item svg {
  width: 16px; height: 16px;
  color: var(--teal);
  flex-shrink: 0;
}

.trust-bar__divider {
  width: 1px; height: 24px;
  background: var(--border);
}

@media (max-width: 768px) {
  .trust-bar__inner { gap: var(--space-lg); justify-content: flex-start; }
  .trust-bar__divider { display: none; }
}

/* ─── CARDS ─────────────────────────────────────────────────── */

/* Service card */
.card-service {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.card-service::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card-service:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-service:hover::before { transform: scaleX(1); }

.card-service__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-lg);
}

.card-service__icon svg { width: 24px; height: 24px; color: var(--teal); }

.card-service h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
}

.card-service p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
}

.card-service__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600; color: var(--teal);
  transition: gap 0.2s;
}
.card-service:hover .card-service__link { gap: 10px; }

/* Result card (dark bg) */
.card-result {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: background 0.2s;
}
.card-result:hover { background: rgba(255,255,255,0.1); }

.card-result__stats {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.card-result__stat .num {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
}

.card-result__stat .lbl {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}

.card-result p { font-size: 0.9rem; color: rgba(255,255,255,0.65); margin-bottom: var(--space-md); }
.card-result__loc { font-size: 0.8rem; color: rgba(255,255,255,0.35); }

/* Pricing card */
.card-pricing {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: box-shadow 0.25s;
}
.card-pricing:hover { box-shadow: var(--shadow-lg); }

.card-pricing--featured {
  background: var(--navy);
  border-color: var(--navy);
  transform: scale(1.02);
}

.card-pricing__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--white);
  font-size: 0.72rem; font-weight: 700;
  padding: 4px 14px; border-radius: 100px;
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}

.card-pricing__name {
  font-family: var(--font-body);
  font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal); margin-bottom: var(--space-sm);
}
.card-pricing--featured .card-pricing__name { color: rgba(14,124,123,0.9); }

.card-pricing__price {
  font-family: var(--font-heading);
  font-size: 2.8rem; color: var(--navy); line-height: 1;
}
.card-pricing--featured .card-pricing__price { color: var(--white); }
.card-pricing__price sub { font-size: 1rem; font-family: var(--font-body); vertical-align: super; }

.card-pricing__period { font-size: 0.82rem; color: var(--muted); margin-bottom: var(--space-lg); }
.card-pricing--featured .card-pricing__period { color: rgba(255,255,255,0.45); }

.card-pricing__divider { height: 1px; background: var(--border); margin-bottom: var(--space-lg); }
.card-pricing--featured .card-pricing__divider { background: rgba(255,255,255,0.1); }

.card-pricing__features { margin-bottom: var(--space-xl); }
.card-pricing__features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.88rem; color: var(--body-text);
  padding: 5px 0;
}
.card-pricing--featured .card-pricing__features li { color: rgba(255,255,255,0.8); }
.card-pricing__features li svg { width: 15px; height: 15px; color: var(--teal); flex-shrink: 0; margin-top: 3px; }
.card-pricing--featured .card-pricing__features li svg { color: rgba(14,124,123,0.9); }

.card-pricing__note { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: var(--space-sm); }
.card-pricing--featured .card-pricing__note { color: rgba(255,255,255,0.35); }

@media (max-width: 900px) {
  .card-pricing--featured { transform: none; }
}

/* Blog card */
.card-blog {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.card-blog:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.card-blog__thumb {
  aspect-ratio: 16/9;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.card-blog__thumb-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.15);
  font-family: var(--font-heading);
  font-size: 3rem;
}

.card-blog__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-blog__meta { display: flex; gap: var(--space-sm); align-items: center; margin-bottom: var(--space-sm); flex-wrap: wrap; }
.card-blog__date { font-size: 0.78rem; color: var(--muted); }
.card-blog h3 {
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  color: var(--navy); margin-bottom: var(--space-sm); line-height: 1.4;
  flex: 1;
}
.card-blog p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; margin-bottom: var(--space-md); }
.card-blog__link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.82rem; font-weight: 600; color: var(--teal);
  margin-top: auto;
  transition: gap 0.2s;
}
.card-blog:hover .card-blog__link { gap: 9px; }

/* Location card */
.card-location {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
  display: block;
}
.card-location:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--teal); }

.card-location__icon { font-size: 2rem; margin-bottom: var(--space-sm); }
.card-location h3 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.card-location p { font-size: 0.82rem; color: var(--muted); margin: 0; max-width: none; }

/* ─── FORMS ─────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.form-group label .optional {
  font-weight: 400;
  color: var(--muted);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--navy);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14,124,123,0.1);
}

.form-control::placeholder { color: #A8A39D; }
.form-control:invalid:not(:placeholder-shown) { border-color: var(--error); }

textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form-note { font-size: 0.78rem; color: var(--muted); }
.form-error { font-size: 0.78rem; color: var(--error); }

.form-success {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  display: none;
}

.form-success svg { width: 52px; height: 52px; color: var(--teal); margin: 0 auto var(--space-md); }
.form-success h4 { font-family: var(--font-body); font-weight: 700; color: var(--navy); margin-bottom: var(--space-sm); }
.form-success p { font-size: 0.9rem; color: var(--muted); max-width: 360px; margin: 0 auto; }

/* Inline audit form (hero) */
.audit-form { display: flex; flex-direction: column; gap: var(--space-sm); }
.audit-form .btn { margin-top: 4px; }

/* ─── STATS ROW ─────────────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.stat-card__num {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card__num span { color: var(--orange); }
.stat-card__desc { font-size: 0.86rem; color: var(--muted); line-height: 1.4; }

@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ─── HOW IT WORKS (steps) ──────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }

.steps::before {
  content: '';
  position: absolute;
  top: 27px; left: calc(12.5% + 20px); right: calc(12.5% + 20px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step { text-align: center; padding: 0 var(--space-md); }

.step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-family: var(--font-heading); font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-lg);
  position: relative; z-index: 1;
}

.step h4 {
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}
.step p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; }

@media (max-width: 768px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: var(--space-2xl); }
  .steps::before { display: none; }
}

/* ─── COMPARISON TABLE ──────────────────────────────────────── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.comparison-table th, .comparison-table td {
  padding: 15px 20px;
  text-align: left;
  font-size: 0.9rem;
}

.comparison-table thead th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
}

.comparison-table thead th:first-child { width: 36%; }
.comparison-table thead th.highlight { background: var(--teal); }

.comparison-table td { border-bottom: 1px solid var(--border); background: var(--white); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: #FAFAFA; }
.comparison-table .highlight-col { background: rgba(14,124,123,0.05) !important; font-weight: 600; color: var(--navy); }

.check-yes {
  display: flex; align-items: center; gap: 6px;
  color: var(--teal-dark); font-weight: 700;
}
.check-no { color: #C0BEBA; font-weight: 500; }
.check-yes svg { width: 14px; height: 14px; }

/* ─── FAQ ───────────────────────────────────────────────────── */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.faq-item__trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-lg) var(--space-lg);
  background: none; border: none; cursor: pointer;
  text-align: left;
  gap: var(--space-md);
}

.faq-item__trigger h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}

.faq-item__icon {
  width: 24px; height: 24px; flex-shrink: 0;
  background: var(--teal-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s, background 0.2s;
}

.faq-item__icon svg { width: 14px; height: 14px; color: var(--teal); }
.faq-item.open .faq-item__icon { transform: rotate(180deg); background: var(--teal); }
.faq-item.open .faq-item__icon svg { color: var(--white); }

.faq-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s;
}

.faq-item.open .faq-item__body { max-height: 400px; }

.faq-item__body p {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── TESTIMONIALS ──────────────────────────────────────────── */
.card-testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.2s;
}
.card-testimonial:hover { box-shadow: var(--shadow); }

.stars { display: flex; gap: 3px; margin-bottom: var(--space-md); }
.stars svg { width: 15px; height: 15px; color: var(--orange); }

.card-testimonial__text {
  font-size: 0.93rem;
  color: var(--body-text);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.card-testimonial__author { display: flex; align-items: center; gap: var(--space-md); }

.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.1rem; color: var(--white);
  flex-shrink: 0;
}

.author-name { font-weight: 700; font-size: 0.88rem; color: var(--navy); }
.author-role { font-size: 0.8rem; color: var(--muted); }

/* ─── CTA SECTION ───────────────────────────────────────────── */
.cta-section {
  background: var(--teal);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255,255,255,0.07) 0%, transparent 70%);
}

.cta-section h2 { color: var(--white); position: relative; margin-bottom: var(--space-md); }
.cta-section p { color: rgba(255,255,255,0.78); font-size: 1.05rem; max-width: 520px; margin: 0 auto var(--space-xl); position: relative; }
.cta-section .btn { position: relative; }
.cta-section__note { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: var(--space-md); position: relative; }

/* ─── SCORE CARD (Audit tool) ───────────────────────────────── */
.score-gauge {
  width: 140px; height: 140px; position: relative; margin: 0 auto;
}

.score-gauge svg { transform: rotate(-90deg); }

.score-gauge__num {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 2.2rem; color: var(--navy); line-height: 1;
}

.score-gauge__label { font-family: var(--font-body); font-size: 0.72rem; color: var(--muted); font-weight: 600; }

.score-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  gap: var(--space-md);
}
.score-item:last-child { border-bottom: none; }

.score-item__label { font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.score-item__detail { font-size: 0.8rem; color: var(--muted); }

.score-bar {
  width: 120px; height: 6px;
  background: var(--border); border-radius: 3px;
  overflow: hidden; flex-shrink: 0;
}
.score-bar__fill { height: 100%; border-radius: 3px; transition: width 1s ease; }
.score-bar__fill--high    { background: #1A7A1A; }
.score-bar__fill--medium  { background: var(--yellow); }
.score-bar__fill--low     { background: var(--error); }

/* ─── BLOG FILTERS ──────────────────────────────────────────── */
.blog-filters {
  display: flex; gap: var(--space-sm); flex-wrap: wrap; margin-bottom: var(--space-2xl);
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem; font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--white); color: var(--muted);
  transition: var(--transition);
}
.filter-btn:hover { border-color: var(--teal); color: var(--teal); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ─── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 64px 0 32px;
  color: rgba(255,255,255,0.65);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__logo {
  font-family: var(--font-body);
  font-weight: 700; font-size: 1.05rem;
  color: var(--white); margin-bottom: 14px;
}
.footer__logo span { color: var(--orange); }
.footer__logo .domain { color: rgba(255,255,255,0.3); font-weight: 300; }

.footer__tagline { font-size: 0.88rem; line-height: 1.65; max-width: 260px; }

.footer__col h5 {
  font-family: var(--font-body);
  font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--white); margin-bottom: var(--space-md);
}

.footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.footer__col ul li a { font-size: 0.86rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer__col ul li a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-lg);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--space-md);
  font-size: 0.8rem;
}

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

/* ─── SIDEBAR LAYOUT ────────────────────────────────────────── */
.sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  display: flex; flex-direction: column; gap: var(--space-lg);
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.sidebar-widget h4 {
  font-family: var(--font-body);
  font-weight: 700; font-size: 0.88rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--teal); margin-bottom: var(--space-md);
}

.sidebar-widget ul li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0;
  font-size: 0.88rem; color: var(--body-text);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.sidebar-widget ul li:last-child a { border-bottom: none; }
.sidebar-widget ul li a:hover { color: var(--teal); }
.sidebar-widget ul li a svg { width: 14px; height: 14px; color: var(--border); transition: color 0.2s; }
.sidebar-widget ul li a:hover svg { color: var(--teal); }

@media (max-width: 900px) {
  .sidebar-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* ─── CALLOUT BOX ───────────────────────────────────────────── */
.callout {
  border-radius: var(--radius);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
  border-left: 4px solid;
}

.callout--info    { background: var(--teal-light);   border-color: var(--teal);   }
.callout--warning { background: var(--orange-light);  border-color: var(--orange); }
.callout--success { background: var(--success-bg);    border-color: var(--success);}

.callout__title {
  font-family: var(--font-body);
  font-weight: 700; font-size: 0.9rem;
  margin-bottom: 6px;
}
.callout--info .callout__title    { color: var(--teal-dark); }
.callout--warning .callout__title { color: var(--orange-dark); }
.callout--success .callout__title { color: var(--success); }

.callout p { font-size: 0.9rem; max-width: none; margin: 0; }

/* ─── SCROLL TO TOP ─────────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateY(10px);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover { background: var(--teal); }
.scroll-top svg { width: 18px; height: 18px; }

/* ─── AUDIT TOOL PAGE ───────────────────────────────────────── */
.audit-page { background: var(--warm); }

.audit-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.audit-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.audit-form-header {
  background: var(--navy);
  padding: 28px 32px;
}
.audit-form-header h2 {
  color: #fff; font-size: 1.4rem; margin-bottom: 6px;
}
.audit-form-header p {
  color: rgba(255,255,255,0.65); font-size: 0.88rem; max-width: none;
}

.audit-steps {
  padding: 32px;
  display: flex; flex-direction: column; gap: 0;
}

/* Step navigation */
.step-nav {
  display: flex; gap: 0; margin-bottom: 32px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
}
.step-nav-item {
  flex: 1; padding: 10px 6px; text-align: center;
  font-size: 0.75rem; font-weight: 600; color: var(--muted);
  background: var(--cream); border-right: 1px solid var(--border);
  cursor: pointer; transition: var(--transition);
}
.step-nav-item:last-child { border-right: none; }
.step-nav-item.active { background: var(--navy); color: #fff; }
.step-nav-item.done   { background: var(--teal); color: #fff; }
.step-nav-item .step-num {
  display: block; font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 2px;
}

/* Audit step panels */
.audit-step { display: none; }
.audit-step.active { display: block; }

.audit-question {
  margin-bottom: 24px;
}
.audit-question > label {
  display: block; font-weight: 700; font-size: 0.9rem;
  color: var(--navy); margin-bottom: 8px;
}
.audit-question .hint {
  font-size: 0.78rem; color: var(--muted);
  margin-bottom: 10px; display: block;
}

/* Radio cards */
.radio-cards {
  display: flex; flex-direction: column; gap: 8px;
}
.radio-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius); cursor: pointer;
  transition: var(--transition);
}
.radio-card:hover { border-color: var(--teal); }
.radio-card input { display: none; }
.radio-card.selected { border-color: var(--teal); background: var(--teal-light); }
.radio-card__dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--border); flex-shrink: 0;
  transition: var(--transition);
}
.radio-card.selected .radio-card__dot {
  border-color: var(--teal); background: var(--teal);
  box-shadow: inset 0 0 0 3px #fff;
}
.radio-card__label { font-size: 0.88rem; color: var(--body-text); }
.radio-card.selected .radio-card__label { color: var(--navy); font-weight: 600; }

/* Range slider */
.range-wrap { position: relative; }
.range-labels {
  display: flex; justify-content: space-between;
  font-size: 0.72rem; color: var(--muted); margin-top: 4px;
}
input[type="range"] {
  width: 100%; -webkit-appearance: none;
  height: 6px; border-radius: 3px;
  background: var(--border); outline: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px;
  border-radius: 50%; background: var(--navy);
  border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.range-value {
  text-align: center; font-family: var(--font-heading);
  font-size: 1.8rem; color: var(--navy); margin-top: 8px;
}

/* Checkboxes */
.check-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.check-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1.5px solid var(--border);
  border-radius: var(--radius); cursor: pointer;
  transition: var(--transition); font-size: 0.82rem;
}
.check-card:hover { border-color: var(--teal); }
.check-card input { display: none; }
.check-card__box {
  width: 18px; height: 18px; border-radius: 4px;
  border: 2px solid var(--border); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.check-card.checked { border-color: var(--teal); background: var(--teal-light); }
.check-card.checked .check-card__box {
  background: var(--teal); border-color: var(--teal);
}
.check-card.checked .check-card__box::after {
  content: '✓'; color: #fff; font-size: 11px; font-weight: 700;
}

/* Step buttons */
.step-buttons {
  display: flex; gap: 10px; margin-top: 24px;
}

/* Progress */
.audit-progress {
  height: 4px; background: var(--border);
  border-radius: 2px; margin-bottom: 24px; overflow: hidden;
}
.audit-progress__fill {
  height: 100%; background: var(--teal);
  border-radius: 2px; transition: width 0.4s ease;
}

/* Sidebar */
.audit-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  display: flex; flex-direction: column; gap: 20px;
}
.what-you-get { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.what-you-get h4 {
  font-family: var(--font-body); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--teal); margin-bottom: 20px;
}
.get-item { display: flex; gap: 14px; margin-bottom: 18px; }
.get-item:last-child { margin-bottom: 0; }
.get-icon {
  width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
}
.get-icon svg { width: 17px; height: 17px; color: var(--teal); }
.get-text h5 { font-family: var(--font-body); font-weight: 700; font-size: 0.88rem; color: var(--navy); margin-bottom: 2px; }
.get-text p  { font-size: 0.8rem; color: var(--muted); max-width: none; }

/* Result card */
.result-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  display: none;
}
.result-card.visible { display: block; animation: fadeUp 0.5s ease; }

.result-header {
  display: grid; grid-template-columns: 1fr 160px;
  gap: 24px; align-items: center; margin-bottom: 32px;
}
.result-grade {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 100px;
  font-weight: 700; font-size: 1rem; margin-bottom: 12px;
}

.score-breakdown { margin-bottom: 32px; }
.score-breakdown h4 {
  font-family: var(--font-body); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 16px;
}

.priority-actions { background: var(--cream); border-radius: var(--radius); padding: 24px; margin-bottom: 28px; }
.priority-actions h4 {
  font-family: var(--font-body); font-weight: 700; color: var(--navy);
  margin-bottom: 14px;
}
.action-item {
  display: flex; gap: 12px; margin-bottom: 14px;
}
.action-item:last-child { margin-bottom: 0; }
.action-num {
  width: 26px; height: 26px; border-radius: 50%; background: var(--navy);
  color: #fff; font-family: var(--font-heading); font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.action-text { font-size: 0.88rem; color: var(--body-text); line-height: 1.6; }

@media (max-width: 900px) {
  .audit-wrap { grid-template-columns: 1fr; }
  .audit-sidebar { position: static; }
  .check-cards { grid-template-columns: 1fr; }
  .result-header { grid-template-columns: 1fr; }
}
