/*
Theme Name: KZ Auditors Live
Theme URI: https://www.kzauditors.co.uk
Author: KZ Auditors
Description: Custom live-ready theme for KZ Auditors.
Version: 1.5.6
Text Domain: kz-auditors-live
*/

:root {
  --paper: #fffdf8;
  --soft: #f7f8fb;
  --pale: #dbe3ed;
  --green: #4c617c;
  --green-2: #5f7189;
  --ink: #4c617c;
  --muted: #65727f;
  --gold: #d6a83d;
  --gold-dark: #856326;
  --line: #dce6db;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(9, 35, 29, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(220,227,238,.92);
  background: rgba(247,248,251,.92);
  color: #111827;
  box-shadow: 0 2px 18px rgba(17,24,39,.06);
  backdrop-filter: blur(14px);
}
.wrap {
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #111827;
  min-width: 260px;
}
.brand-mark svg { width: 92px; height: 35px; display: block; }
.brand-mark path { fill: #111827; }
.brand-mark .brand-dot { fill: #6672ff; }
.brand-rule {
  width: 1px;
  height: 34px;
  background: rgba(17,24,39,.18);
}
.brand-copy { display: block; line-height: 1; }
.brand-title {
  display: block;
  font-size: .98rem;
  font-weight: 900;
  letter-spacing: -.02em;
}
.brand-subtitle {
  display: block;
  max-width: 15rem;
  margin-top: 6px;
  color: rgba(17,24,39,.78);
  font-size: 7.6px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.logo-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: transparent;
  padding: 0;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.brand-sub {
  display: block;
  margin-top: 6px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(17,24,39,.70);
  font-size: 14px;
  font-weight: 800;
}
.main-nav > a,
.nav-dropdown-trigger {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.main-nav a:hover { color: #111827; }
.nav-dropdown { position: relative; }
.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  width: min(720px, calc(100vw - 36px));
  transform: translateX(-50%) translateY(8px);
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 26px 70px rgba(17,24,39,.16);
  padding: 16px;
  color: var(--ink);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.nav-dropdown-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.dropdown-grid a {
  display: grid;
  gap: 5px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 13px 14px;
  background: var(--soft);
  transition: border-color .18s ease, background .18s ease;
}
.dropdown-grid a:hover {
  border-color: rgba(102,114,255,.25);
  background: #fff;
}
.dropdown-grid strong {
  color: #111827;
  font-size: 13px;
  line-height: 1.25;
}
.dropdown-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}
.dropdown-all {
  margin-top: 10px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: #111827;
}
.nav-dropdown-compact .nav-dropdown-panel { width: min(620px, calc(100vw - 36px)); }
.mobile-menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(17,24,39,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  color: #111827;
  min-height: 44px;
  padding: 0 16px;
  font: inherit;
  font-weight: 900;
}
.mobile-menu-toggle i,
.mobile-menu-toggle i::before,
.mobile-menu-toggle i::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transition: transform .2s ease, opacity .2s ease;
}
.mobile-menu-toggle i { position: relative; }
.mobile-menu-toggle i::before,
.mobile-menu-toggle i::after { position: absolute; left: 0; }
.mobile-menu-toggle i::before { top: -6px; }
.mobile-menu-toggle i::after { top: 6px; }
.mobile-menu-toggle[aria-expanded="true"] i { background: transparent; }
.mobile-menu-toggle[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] i::after { top: 0; transform: rotate(-45deg); }

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: 104px;
  color: #fff;
  background: #dbe3ed;
}
.hero-media, .hero-media img, .hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media { opacity: .88; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(214,168,61,.18), transparent 34%),
    linear-gradient(90deg, rgba(17,24,39,.76) 0%, rgba(48,67,95,.54) 52%, rgba(17,24,39,.28) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 96px 0 42px;
}
.pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(214,168,61,.45);
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: var(--gold);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  margin: 0;
  letter-spacing: -.02em;
}
.hero h1 {
  margin-top: 28px;
  max-width: 840px;
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: .92;
  font-weight: 650;
}
.hero-lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.86);
  font-size: 18px;
  line-height: 1.8;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 900;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #fff; }
.btn-outline { border: 1px solid rgba(255,255,255,.22); color: #fff; background: rgba(255,255,255,.10); }
.btn-outline:hover { background: rgba(255,255,255,.18); }
.hero-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,.16);
  padding-bottom: 80px;
  padding-top: 32px;
}
.hero-card {
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 18px;
  background: rgba(255,255,255,.14);
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,.10);
  backdrop-filter: blur(10px);
}
.hero-card h2 { color: #fff; font-size: 26px; }
.hero-card p { color: rgba(255,255,255,.76); line-height: 1.6; }

.section { padding: 88px 0; }
.section.soft { background: var(--soft); }
.section.white { background: #fff; }
.section.pale { background: var(--pale); }
.kicker {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section-title {
  max-width: 760px;
  margin-top: 12px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.02;
  font-weight: 650;
}
.muted { color: var(--muted); line-height: 1.75; }
.grid-4, .grid-3, .grid-2 { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.topline {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 40px;
}
.trust-card, .sector-card, .review-card, .info-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 2px 16px rgba(9,35,29,.04);
}
.trust-strip { padding: 28px 0; background: #fff; }
.trust-card { display: flex; align-items: center; gap: 14px; font-weight: 900; color: var(--muted); text-transform: uppercase; letter-spacing: .11em; font-size: 13px; }
.trust-strip a.trust-card { color: var(--muted); text-decoration: none; transition: color .18s ease, transform .18s ease; }
.trust-strip a.trust-card:hover { color: #111827; transform: translateY(-2px); }
.prestige-strip {
  border-top: 1px solid var(--line);
  background: linear-gradient(135deg, #fff, var(--soft));
  padding: 34px 0;
}
.prestige-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  padding: 24px 28px;
  box-shadow: 0 18px 44px rgba(17,24,39,.06);
}
.prestige-panel p {
  max-width: 660px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}
.prestige-names {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 310px;
}
.prestige-names span {
  min-width: 78px;
  display: inline-flex;
  justify-content: center;
  border: 1px solid rgba(76,97,124,.18);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: .08em;
}
.icon { color: var(--gold-dark); }
.service-card {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 30px 70px rgba(9,35,29,.14); }
.service-image { position: relative; height: 194px; overflow: hidden; background: var(--ink); }
.service-image img { width: 100%; height: 100%; object-fit: cover; opacity: .88; transition: transform .5s ease; }
.service-card:hover .service-image img { transform: scale(1.06); }
.service-image::after { content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(9,35,29,.6), transparent); }
.service-icon {
  position: absolute;
  z-index: 2;
  left: 20px;
  top: 20px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  color: var(--gold-dark);
  font-weight: 900;
}
.service-body { padding: 26px; }
.service-body h3 { margin-top: 10px; font-size: 32px; line-height: 1.05; }
.service-body p { color: var(--muted); line-height: 1.75; }
.small-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 900;
}
.small-btn:hover { background: var(--gold); color: var(--ink); }
.calculator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.calculator-intro {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: stretch;
  margin: 34px 0 24px;
}
.calculator-intro > div {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, #fff, var(--soft));
  padding: 26px;
}
.calculator-intro h3 {
  margin: 8px 0 10px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.02;
}
.mini-kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.calculator-note {
  display: grid;
  align-content: center;
  gap: 10px;
}
.calculator-note strong {
  color: var(--ink);
  font-size: 22px;
}
.calculator-note span {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.65;
}
.calculator-tabs {
  position: sticky;
  top: 96px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
  border: 1px solid rgba(76,97,124,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 44px rgba(17,24,39,.08);
  padding: 10px;
  backdrop-filter: blur(14px);
}
.calculator-tabs a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  padding: 0 16px;
  font-size: 13px;
  font-weight: 900;
}
.calculator-tabs a:hover {
  background: var(--ink);
  color: #fff;
}
.calculator-card {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 130px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 18px 48px rgba(9,35,29,.08);
}
.calculator-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), #6672ff);
}
.calculator-card-head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.calculator-card-head > span {
  width: max-content;
  border-radius: 999px;
  background: var(--soft);
  color: var(--gold);
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.calculator-card h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.1;
}
.calculator-card-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}
.calculator-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}
.calculator-card input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(76,97,124,.22);
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
  color: var(--ink);
  background: var(--soft);
  font-weight: 900;
}
.calculator-card input:focus {
  outline: 3px solid rgba(102,114,255,.16);
  border-color: rgba(102,114,255,.45);
  background: #fff;
}
.calculator-result {
  margin-top: 18px;
  border: 1px solid rgba(76,97,124,.13);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--soft), #fff);
  padding: 18px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.55;
}
.calculator-result strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
}
.calculator-result span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.result-breakdown {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(76,97,124,.12);
}
.result-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.result-breakdown b {
  color: var(--ink);
}
.calculator-advice-card {
  background: var(--ink);
  color: #fff;
}
.calculator-advice-card::before { background: var(--gold); }
.calculator-advice-card .calculator-card-head > span { background: rgba(255,255,255,.1); }
.calculator-advice-card h3 { color: #fff; }
.calculator-advice-card .calculator-card-head p { color: rgba(255,255,255,.68); }
.calculator-advice-card .small-btn { background: var(--gold); color: var(--ink); }
.sector-card { display: flex; min-height: 80px; align-items: center; gap: 12px; background: var(--paper); font-weight: 800; }
.about-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.story-card {
  border-radius: 32px;
  background: var(--ink);
  color: #fff;
  padding: 34px;
  box-shadow: 0 28px 70px rgba(9,35,29,.18);
}
.story-card .story-number {
  margin-top: 34px;
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: .9;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
}
.story-card h2 {
  margin: 16px 0;
  font-size: 28px;
  line-height: 1.1;
}
.story-card p {
  color: rgba(255,255,255,.72);
  line-height: 1.75;
}
.info-card h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  margin-bottom: 16px;
}
.audit-type-card h3 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.05;
}
.audit-type-card p {
  color: var(--muted);
  line-height: 1.75;
}
.step-card span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--gold-dark);
  font-weight: 900;
}
.step-card h3, .detail-card h3 {
  margin: 22px 0 12px;
  font-size: 24px;
  line-height: 1.14;
}
.step-card p, .detail-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}
.split-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: center;
}
.feature-list {
  display: grid;
  gap: 14px;
}
.feature-list div {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 2px 16px rgba(9,35,29,.04);
}
.feature-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}
.feature-list span {
  display: block;
  color: var(--muted);
  line-height: 1.65;
}
.review-card { background: var(--paper); }
.stars { display: flex; gap: 4px; margin-bottom: 18px; }
.star { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 4px; background: #b8d3bd; color: #fff; font-weight: 900; }
.review-card blockquote { margin: 0; color: rgba(9,35,29,.88); font-size: 18px; line-height: 1.7; font-weight: 700; }
.review-card figcaption { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.review-card strong { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 48px; align-items: start; }
.contact-form {
  border-radius: 8px;
  background: #fff;
  padding: 30px;
  box-shadow: var(--shadow);
}
.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.contact-notice {
  margin-bottom: 20px;
  border: 1px solid;
  border-radius: 8px;
  padding: 14px 16px;
  font-weight: 800;
  line-height: 1.5;
}
.contact-notice-success {
  border-color: #95b99d;
  background: #edf7ef;
  color: #245c30;
}
.contact-notice-error {
  border-color: #d8a1a1;
  background: #fff1f1;
  color: #8b2525;
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid label { font-size: 14px; font-weight: 900; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 48px;
  padding: 12px;
  font: inherit;
}
.form-grid .full { grid-column: 1 / -1; }
textarea { min-height: 130px; resize: vertical; }
.submit-btn {
  width: 100%;
  min-height: 52px;
  margin-top: 20px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(214,168,61,.16), transparent 28%),
    linear-gradient(135deg, #eef2f7, #dbe3ed 48%, #cfd9e6);
  color: #111827;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.76), rgba(255,255,255,.34));
  pointer-events: none;
}
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .7fr .7fr .85fr;
  gap: 34px;
  padding: 62px 0 46px;
  align-items: start;
}
.footer-brand {
  border: 1px solid rgba(76,97,124,.15);
  border-radius: 26px;
  background: rgba(255,255,255,.58);
  padding: 24px;
  box-shadow: 0 18px 44px rgba(17,24,39,.06);
}
.footer-brand .brand { display: inline-flex; margin-bottom: 12px; }
.footer-logo .brand-mark path { fill: #111827; }
.footer-logo .brand-mark .brand-dot { fill: #6672ff; }
.footer-logo .brand-title { color: #111827; }
.footer-logo .brand-subtitle { color: rgba(17,24,39,.72); }
.footer-logo .brand-rule { background: rgba(17,24,39,.18); }
.footer-brand p { max-width: 520px; margin-bottom: 0; }
.site-footer h3 {
  margin: 4px 0 0;
  color: #111827;
  font-size: 15px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.site-footer p,
.site-footer a {
  color: rgba(17,24,39,.68);
  line-height: 1.75;
}
.site-footer a:hover { color: #111827; }
.footer-links { display: grid; gap: 10px; margin-top: 18px; font-size: 14px; }
.footer-links a {
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.footer-links a:hover { border-color: rgba(214,168,61,.8); }
.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(76,97,124,.16);
  padding: 20px 0;
  text-align: center;
  color: rgba(17,24,39,.52);
  font-size: 12px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 190px 0 110px;
  background: var(--pale);
  color: #fff;
}
.page-hero img { position: absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.45; }
.page-hero::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(17,24,39,.84), rgba(48,67,95,.66) 48%, rgba(17,24,39,.42));}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { max-width: 980px; font-size: clamp(3.5rem, 7vw, 6.5rem); line-height: .96; }
.page-hero p { max-width: 760px; color: rgba(255,255,255,.84); font-size: 18px; line-height: 1.75; }
.breadcrumbs { margin: 0 0 22px; }
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 700;
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: rgba(255,255,255,.44); }
.breadcrumbs a { border-bottom: 1px solid rgba(255,255,255,.32); }
.breadcrumbs a:hover { border-color: #fff; color: #fff; }
.content-list { display: grid; gap: 12px; margin-top: 22px; }
.list-row { display: flex; gap: 12px; align-items: start; border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 16px; color: var(--muted); font-weight: 700; }
.faq-card h3,
.related-service-card h3 { margin: 10px 0 12px; font-size: 1.45rem; line-height: 1.18; }
.faq-card p,
.related-service-card p { margin: 0; color: var(--muted); line-height: 1.75; }
.related-service-card { display: flex; min-height: 100%; flex-direction: column; }
.related-service-card .small-btn { margin-top: auto; padding-top: 22px; }

[data-reveal] { opacity: 1; transform: none; filter: none; }
[data-reveal].is-visible { opacity: 1; transform: none; filter: none; }

@media (max-width: 900px) {
  .wrap { width: min(100% - 28px, 720px); }
  .site-header { background: rgba(247,248,251,.96); }
  .header-inner {
    position: relative;
    min-height: 72px;
    gap: 12px;
  }
  .brand { min-width: 0; gap: 10px; flex: 1 1 auto; }
  .brand-mark svg { width: 74px; height: 29px; }
  .brand-rule { height: 28px; }
  .brand-title { font-size: .9rem; }
  .brand-subtitle {
    max-width: 11.5rem;
    margin-top: 4px;
    font-size: 6.6px;
    letter-spacing: .1em;
  }
  .mobile-menu-toggle { display: inline-flex; margin-left: auto; }
  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    right: 0;
    z-index: 60;
    border: 1px solid var(--line);
    border-radius: 0 0 22px 22px;
    background: rgba(247,248,251,.98);
    box-shadow: 0 24px 60px rgba(17,24,39,.12);
    padding: 12px;
    max-height: calc(100vh - 88px);
    overflow: auto;
  }
  .main-nav.is-open {
    display: grid;
    gap: 4px;
  }
  .main-nav a,
  .nav-dropdown-trigger {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    border-radius: 14px;
    padding: 0 14px;
    color: rgba(17,24,39,.78);
    background: rgba(255,255,255,.72);
  }
  .nav-dropdown { position: static; }
  .nav-dropdown-panel {
    position: static;
    width: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    margin: 4px 0 8px;
    border-radius: 16px;
    padding: 8px;
    box-shadow: none;
    background: rgba(255,255,255,.62);
  }
  .nav-dropdown-panel::before { display: none; }
  .dropdown-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .dropdown-grid a {
    min-height: auto;
    padding: 10px 12px;
    background: rgba(247,248,251,.9);
  }
  .dropdown-grid span { display: none; }
  .dropdown-all { min-height: 42px; }
  body.nav-open { overflow: hidden; }
  .calculator-tabs {
    position: static;
    border-radius: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    min-height: auto;
    padding: 118px 0 42px;
  }
  .hero::after {
    background: linear-gradient(180deg, rgba(17,24,39,.74), rgba(48,67,95,.60) 55%, rgba(17,24,39,.28));
  }
  .hero-content { padding: 28px 0 24px; }
  .pill { font-size: 11px; letter-spacing: .12em; }
  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.55rem);
    line-height: .93;
    letter-spacing: -.05em;
  }
  .hero-lead {
    max-width: 100%;
    font-size: 17px;
  }
  .hero-actions {
    display: grid;
    gap: 12px;
  }
  .btn {
    width: 100%;
    justify-content: center;
    min-height: 54px;
    padding: 0 18px;
  }
  .hero-cards,
  .prestige-panel,
  .grid-4,
  .grid-3,
  .grid-2,
  .calculator-intro,
  .calculator-grid,
  .about-row,
  .split-panel,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cards {
    gap: 12px;
    padding-top: 22px;
    padding-bottom: 36px;
  }
  .prestige-panel {
    align-items: flex-start;
    padding: 20px;
  }
  .prestige-names {
    min-width: 0;
    justify-content: flex-start;
  }
  .prestige-names span {
    min-width: 68px;
    padding: 10px 14px;
    font-size: 15px;
  }
  .hero-card {
    padding: 18px;
    border-radius: 16px;
  }
  .hero-card h2 { font-size: 22px; margin: 0 0 8px; }
  .hero-card p { margin: 0; }
  .section { padding: 58px 0; }
  .topline {
    display: block;
    margin-bottom: 26px;
  }
  .section-title {
    font-size: clamp(2.35rem, 11vw, 3.15rem);
  }
  .trust-strip { padding: 18px 0; }
  .trust-card, .sector-card, .review-card, .info-card {
    border-radius: 18px;
    padding: 18px;
  }
  .service-card { border-radius: 22px; }
  .service-image { height: 176px; }
  .service-body { padding: 22px; }
  .service-body h3 { font-size: 28px; }
  .sector-card { min-height: 70px; }
  .contact-form {
    padding: 20px;
    border-radius: 18px;
  }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .footer-grid {
    gap: 22px;
    padding: 42px 0;
  }
  .page-hero {
    padding: 128px 0 64px;
  }
  .page-hero h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }
  .page-hero p {
    font-size: 16px;
  }
}

@media (max-width: 520px) {
  .wrap { width: min(100% - 22px, 480px); }
  .header-inner { min-height: 68px; gap: 8px; }
  .brand { gap: 7px; max-width: calc(100% - 52px); }
  .brand-mark svg { width: 54px; height: 21px; }
  .brand-rule { height: 22px; }
  .brand-title { font-size: .78rem; }
  .brand-subtitle {
    max-width: 8.6rem;
    font-size: 5.2px;
    letter-spacing: .06em;
  }
  .mobile-menu-toggle span { display: none; }
  .mobile-menu-toggle {
    width: 44px;
    justify-content: center;
    padding: 0;
  }
  .hero h1 { font-size: clamp(2.85rem, 16vw, 4rem); }
  .hero-lead { font-size: 16px; }
  .section-title { font-size: clamp(2.15rem, 12vw, 2.85rem); }
  .calculator-tabs { grid-template-columns: 1fr; }
  .calculator-card { padding: 20px; }
  .calculator-result strong { font-size: 21px; }
  .service-image { height: 156px; }
  .service-body h3 { font-size: 25px; }
  .small-btn { width: 100%; justify-content: center; }
  .page-hero h1 { font-size: clamp(2.65rem, 15vw, 3.65rem); }
}

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