/*
Theme Name: Yulian Performance Landing
Theme URI: https://example.com/yulian-performance-landing
Author: Yulian
Author URI: https://example.com
Description: Одностраничная WordPress-тема для performance-маркетолога: главный экран, бесплатный аудит, кейсы, тарифы, отзывы и контакты.
Version: 1.8.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yulian-performance
Tags: landing-page, one-column, custom-logo, portfolio
*/

:root {
  --bg: #f6f9fd;
  --bg-soft: #eef5ff;
  --card: #ffffff;
  --text: #0b1736;
  --muted: #60708f;
  --navy: #062a5f;
  --navy-2: #0a3a7a;
  --blue: #1d4ed8;
  --teal: #0f9aa6;
  --teal-soft: #e8fbfc;
  --line: #d7e2f1;
  --shadow: 0 18px 60px rgba(6, 42, 95, 0.10);
  --shadow-soft: 0 10px 32px rgba(6, 42, 95, 0.07);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 48%, #ffffff 100%);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(215,226,241,.9);
  backdrop-filter: blur(16px);
}
.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  flex: 1;
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
  transition: transform .18s ease, opacity .18s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.06em;
  flex: 0 0 auto;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand-text {
  display: grid;
  gap: 2px;
}
.brand-title { display: block; font-weight: 850; font-size: 18px; letter-spacing: -.03em; }
.brand-subtitle { display: block; color: var(--muted); font-size: 13px; margin-top: -2px; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  font-size: 14px;
  color: #1f2c49;
  font-weight: 650;
}
.nav-links a { opacity: .82; transition: opacity .18s ease, color .18s ease; }
.nav-links a:hover { opacity: 1; color: var(--blue); }
.nav-links .nav-menu,
.footer-links .footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links .nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}
.footer-links .footer-menu {
  display: grid;
  gap: 8px;
}
.nav-links .menu-item,
.footer-links .menu-item {
  margin: 0;
  padding: 0;
}
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--navy);
  border-radius: 12px;
  padding: 0 22px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(6,42,95,.18); background: var(--navy-2); border-color: var(--navy-2); }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-secondary:hover { background: var(--bg-soft); border-color: #bfd1ea; box-shadow: var(--shadow-soft); }
.btn-teal { background: var(--teal); border-color: var(--teal); }
.btn-teal:hover { background: #0d8791; border-color: #0d8791; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; }

.hero {
  position: relative;
  overflow: visible;
  padding: 0;
  background:
    radial-gradient(circle at 85% 30%, rgba(29,78,216,.08), transparent 30%),
    linear-gradient(135deg, #fff 0%, #fff 50%, #eef6ff 100%);
}
.hero::after {
  content: "";
  position: absolute;
  right: 6%;
  bottom: 92px;
  width: 140px;
  height: 140px;
  opacity: .35;
  background-image: radial-gradient(var(--blue) 1px, transparent 1px);
  background-size: 12px 12px;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 36px;
  align-items: center;
  min-height: 500px;
}
.hero-copy { padding: 24px 0 58px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  color: var(--navy);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 18px;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--teal); box-shadow: 0 0 0 5px rgba(15,154,166,.13); }
h1 {
  max-width: 680px;
  margin: 0 0 22px;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: .98;
  letter-spacing: -.065em;
  color: var(--text);
}
h1 .accent { color: var(--navy); }
.lead {
  max-width: 610px;
  margin: 0 0 28px;
  color: #33415f;
  font-size: 19px;
}
.trust-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.78);
  color: #253554;
  font-size: 14px;
  font-weight: 700;
}
.check-icon {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  flex: 0 0 auto;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.hero-photo-wrap {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: end;
  justify-content: center;
}
.hero-photo-card {
  width: min(440px, 100%);
  min-height: 480px;
  border-radius: 34px 34px 0 0;
  overflow: hidden;
  background: linear-gradient(180deg, #eef5ff, #dbeafe);
}
.hero-photo-card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: 52% 42%;
  filter: saturate(1.02) contrast(1.02);
}
.metrics-strip {
  position: relative;
  z-index: 2;
  margin: -2px auto 0;
  transform: translateY(42%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}
.metric {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 16px 24px;
  border-right: 1px solid var(--line);
}
.metric:last-child { border-right: 0; }
.metric-icon {
  display: none;
}
.metric strong { display: block; font-size: 22px; letter-spacing: -.035em; color: var(--navy); line-height: 1; }
.metric span { display: block; color: var(--muted); font-size: 12px; }

.section { padding: 86px 0; }
.audit-section { padding-top: 128px; }
.section-title { margin: 0 0 10px; font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: -.045em; }
.section-subtitle { margin: 0; color: var(--muted); font-size: 16px; }
.section-head { margin-bottom: 26px; }
.audit-card {
  display: grid;
  grid-template-columns: .93fr .86fr 1fr;
  gap: 34px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff 0%, #f7fbff 100%);
  box-shadow: var(--shadow-soft);
}
.audit-card h2 { margin: 0 0 14px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1; letter-spacing: -.05em; }
.audit-text { color: var(--muted); margin: 0 0 24px; }
.clean-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.clean-list li { display: flex; align-items: flex-start; gap: 10px; color: #263653; font-weight: 650; }
.report-preview {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  text-align: center;
}
.report-page {
  aspect-ratio: 1 / 1.08;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #edf3fb;
  padding: 10px;
  overflow: hidden;
  box-shadow: inset 0 0 0 8px #f7faff;
}
.report-dashboard-hero {
  min-height: 84px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #10234f 0%, #2857de 64%, #38bdf8 100%);
  color: #fff;
  text-align: left;
}
.report-dashboard-hero strong {
  display: block;
  max-width: 160px;
  font-size: 13px;
  line-height: 1.1;
}
.report-dashboard-hero span {
  display: block;
  margin-top: 7px;
  width: 64%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
}
.report-tabs {
  display: flex;
  gap: 5px;
  margin: 12px 0 10px;
}
.report-tabs span {
  height: 14px;
  flex: 1;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d6e1ef;
}
.report-tabs span:first-child {
  background: #2f6df6;
  border-color: #2f6df6;
}
.report-title {
  height: 9px;
  width: 78%;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #13295a;
}
.report-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.report-kpi {
  min-height: 58px;
  padding: 9px;
  border: 1px solid #d7e2f1;
  border-radius: 12px;
  background: #fff;
  text-align: left;
}
.report-kpi span {
  display: block;
  height: 6px;
  width: 78%;
  margin-bottom: 8px;
  border-radius: 999px;
  background: #8291aa;
}
.report-kpi strong {
  display: block;
  font-size: 15px;
  line-height: 1;
  color: var(--text);
}
.report-preview figcaption { color: var(--muted); font-size: 13px; margin-top: 10px; }
.lead-form { display: grid; gap: 12px; }
.wpcf7 form.lead-form { display: grid; gap: 12px; }
.lead-form p { display: grid; gap: 12px; margin: 0; }
.lead-form br { display: none; }
.lead-form input[type="hidden"] { display: none; }
.lead-form .wpcf7-form-control-wrap { display: block; }
.lead-form .wpcf7-submit { width: 100%; }
.lead-form .wpcf7-spinner { margin: 0 auto; }
.lead-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #b42318;
  font-size: 13px;
  font-weight: 700;
}
.lead-form .wpcf7-response-output {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}
.form-field {
  width: 100%;
  min-height: 50px;
  border: 1px solid #cbd8ea;
  border-radius: 11px;
  background: #fff;
  padding: 0 16px;
  color: var(--text);
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
textarea.form-field { height: 118px; min-height: 118px; resize: vertical; padding-top: 15px; }
.form-field:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,78,216,.11); }
.form-note { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 13px; }

.cases-section { padding-top: 18px; }
.cards-row { display: grid; grid-template-columns: repeat(3, 1fr) .78fr; gap: 16px; }
.case-card, .quote-card, .price-card, .comparison-card, .review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(6,42,95,.055);
}
.case-card { overflow: hidden; display: flex; flex-direction: column; }
.case-visual {
  height: 124px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f0f5fc, #e2edf9);
  color: var(--navy);
  font-size: 42px;
}
.case-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.case-body h3 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.case-body p { margin: 0; color: var(--muted); font-size: 14px; min-height: 42px; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.result strong { display: block; color: var(--navy); font-size: 24px; letter-spacing: -.035em; }
.result span { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; }
.case-card .btn { margin-top: auto; min-height: 42px; font-size: 14px; }
.quote-card {
  padding: 24px;
  border-color: rgba(15,154,166,.34);
  background: linear-gradient(180deg, #fff 0%, #f0fdff 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.quote-mark { color: var(--teal); font-size: 56px; line-height: .8; font-weight: 950; }
.quote-card p { color: #263653; margin: 18px 0; }
.quote-author { display: block; color: var(--navy); font-weight: 850; margin-bottom: 18px; }

.pricing-layout { display: block; }
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.price-card { padding: 24px; position: relative; display: flex; flex-direction: column; min-height: 340px; }
.price-card.featured { border-color: rgba(15,154,166,.55); box-shadow: 0 18px 40px rgba(15,154,166,.12); }
.badge {
  position: absolute;
  top: -12px;
  left: 22px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-weight: 850;
  font-size: 12px;
}
.price-card h3 { margin: 0 0 12px; font-size: 20px; }
.price-value { margin: 0 0 18px; color: var(--navy); font-weight: 950; font-size: 23px; letter-spacing: -.04em; }
.price-card ul { padding: 0; margin: 0 0 22px; list-style: none; display: grid; gap: 12px; color: #263653; font-size: 14px; }
.price-card li { display: flex; gap: 8px; align-items: flex-start; }
.price-card li::before { content: "✓"; color: var(--teal); font-weight: 950; }
.price-card .btn { margin-top: auto; min-height: 44px; font-size: 14px; }

/* Homepage service catalogue. */
.home-services-section {
  background: linear-gradient(180deg, #f4f7fb 0%, #edf3f9 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.home-services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.home-services-head > div { max-width: 760px; }
.section-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.home-services-all { flex: 0 0 auto; margin-bottom: 6px; }
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #cbd8e8;
  border-left: 1px solid #cbd8e8;
  background: #fff;
}
.home-service-card {
  min-height: 255px;
  display: flex;
  flex-direction: column;
  padding: 25px 27px 23px;
  border-right: 1px solid #cbd8e8;
  border-bottom: 1px solid #cbd8e8;
  background: #fff;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.home-service-card:hover {
  position: relative;
  z-index: 1;
  transform: translateY(-4px);
  background: #f9fcff;
  box-shadow: 0 18px 40px rgba(6,42,95,.12);
}
.home-service-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.home-service-number { color: var(--teal); font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.home-service-group { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.home-service-title {
  display: block;
  margin: 29px 0 12px;
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.home-service-description { color: #52627d; font-size: 14px; line-height: 1.5; }
.home-service-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 850;
}
.home-service-more span { color: var(--teal); font-size: 20px; transition: transform .2s ease; }
.home-service-card:hover .home-service-more span { transform: translateX(5px); }
.comparison-card { padding: 24px; }
.comparison-card h3 { margin: 0 0 20px; font-size: 20px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table th, .compare-table td { padding: 13px 8px; border-bottom: 1px solid #eef3fa; text-align: center; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; color: #263653; }
.compare-table th { color: var(--muted); font-weight: 850; }
.compare-table td:last-child { color: var(--teal); font-weight: 950; background: #f2fdff; }
.compare-table tr:last-child td { border-bottom: 0; }
.minus { color: #9aa9be; }
.yes { color: var(--teal); font-weight: 950; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { padding: 22px; }
.review-head { display: flex; gap: 13px; align-items: center; margin-bottom: 14px; }
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e4edf7, #cdd9e8);
  flex: 0 0 auto;
  position: relative;
}
.avatar::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 11px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  opacity: .85;
}
.avatar::after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 9px;
  width: 24px;
  height: 13px;
  border-radius: 999px 999px 8px 8px;
  background: #fff;
  opacity: .85;
}
.review-name { font-weight: 900; color: var(--navy); }
.review-role { color: var(--muted); font-size: 13px; }
.review-card p { margin: 0 0 14px; color: #263653; }
.stars { color: var(--teal); letter-spacing: 3px; font-size: 17px; }

.site-footer {
  margin-top: 24px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.2fr .7fr 1fr;
  gap: 44px;
  padding: 44px 0;
}
.footer-main p { color: var(--muted); max-width: 360px; }
.footer-title { font-weight: 900; color: var(--navy); margin-bottom: 14px; }
.footer-links { display: grid; gap: 8px; color: #263653; }
.contact-list { display: grid; gap: 13px; color: #263653; }
.contact-list span {
  display: inline-flex;
  min-width: 52px;
  margin-right: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}
.footer-bottom {
  background: var(--navy);
  color: rgba(255,255,255,.82);
  font-size: 13px;
}
.footer-bottom .container {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.listing-hero,
.single-hero {
  padding: 74px 0 58px;
  background:
    radial-gradient(circle at 84% 26%, rgba(15,154,166,.08), transparent 28%),
    linear-gradient(135deg, #fff 0%, #f3f8ff 100%);
}
.single-hero {
  padding: 48px 0 50px;
}
.single-hero .container {
  display: grid;
  justify-items: center;
  text-align: center;
}
.listing-hero {
  padding: 48px 0 42px;
}
.listing-hero .container {
  display: grid;
  justify-items: center;
  text-align: center;
}
.listing-hero h1,
.single-hero h1 {
  margin-bottom: 18px;
}
.single-hero h1 {
  max-width: 1040px;
  font-size: clamp(40px, 4.7vw, 66px);
  line-height: 1.04;
  letter-spacing: -.05em;
}
.listing-hero h1 {
  max-width: 100%;
}
.listing-hero .lead,
.single-hero .lead {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.listing-hero + .section {
  padding-top: 52px;
}
.centered-hero {
  text-align: center;
}
.centered-layout {
  display: grid;
  justify-items: center;
  text-align: center;
}
.centered-layout .lead {
  margin-left: auto;
  margin-right: auto;
}
.centered-layout .hero-actions {
  justify-content: center;
}
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.content-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(6,42,95,.055);
}
.content-thumb {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f5fc, #e2edf9);
  color: var(--navy);
  font-weight: 900;
  font-size: 22px;
}
.content-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
}
.content-card h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.content-card p {
  margin: 0;
  color: var(--muted);
}
.content-card .link-arrow { margin-top: auto; }
.case-card-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.case-card-metrics div {
  padding: 12px;
  border-radius: 12px;
  background: var(--bg-soft);
}
.case-card-metrics strong,
.case-card-metrics span { display: block; }
.case-card-metrics strong { color: var(--navy); font-size: 21px; line-height: 1; }
.case-card-metrics span { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.25; }
.content-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.content-meta span {
  color: var(--teal);
}
.pagination-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 34px;
}
.pagination-nav .page-numbers {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
}
.pagination-nav .current {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.empty-state {
  max-width: 620px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.empty-state h2 {
  margin: 0 0 10px;
  font-size: 30px;
  letter-spacing: -.04em;
}
.empty-state p {
  margin: 0;
  color: var(--muted);
}
.single-hero .link-arrow {
  margin-bottom: 18px;
}
.single-cover {
  margin-top: -18px;
}
.single-cover img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.article-body {
  max-width: 820px;
  padding: 58px 0 86px;
  color: #263653;
  font-size: 18px;
}
.article-body > *:first-child { margin-top: 0; }
.article-body h2,
.article-body h3 {
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.article-body p,
.article-body li {
  color: #263653;
}
.article-body a {
  color: var(--blue);
  font-weight: 800;
}
.article-body img {
  border-radius: 18px;
}
.case-content {
  padding-top: 42px;
  padding-bottom: 86px;
}
.case-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.case-facts div { padding: 20px; border-right: 1px solid var(--line); }
.case-facts div:last-child { border-right: 0; }
.case-facts dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}
.case-facts dd { margin: 0; color: var(--text); font-weight: 800; }
.case-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 54px;
}
.case-metrics div {
  min-height: 144px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: 18px;
  background: var(--navy);
  color: #fff;
}
.case-metrics strong { font-size: clamp(30px, 4vw, 46px); line-height: 1; letter-spacing: -.05em; }
.case-metrics span { color: rgba(255,255,255,.76); font-size: 14px; }
.case-story { max-width: 820px; margin: 0 auto; }
.case-story > section { margin: 0 0 42px; }
.case-story h2,
.case-gallery h2,
.case-cta h2 { margin: 0 0 14px; font-size: clamp(28px, 3vw, 40px); line-height: 1.08; letter-spacing: -.04em; }
.case-story p { color: #263653; font-size: 18px; }
.case-article-body { max-width: none; padding: 0; }
.case-gallery { margin-top: 68px; }
.case-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.case-gallery-grid a { overflow: hidden; border-radius: 18px; background: var(--bg-soft); }
.case-gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s ease; }
.case-gallery-grid a:hover img { transform: scale(1.025); }
.case-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 68px;
  padding: 34px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eef6ff, #e8fbfc);
  border: 1px solid var(--line);
}
.case-cta .eyebrow { margin-bottom: 12px; }
.case-cta p { margin: 0; color: var(--muted); }
.thanks-card,
.contact-panel,
.contact-form-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.thanks-card {
  max-width: 720px;
  padding: 34px;
  text-align: center;
}
.thanks-card h2,
.contact-panel h2,
.contact-form-panel h2 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -.04em;
}
.thanks-card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
}
.contacts-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 22px;
  align-items: start;
}
.contact-panel,
.contact-form-panel {
  padding: 30px;
}
.contact-list-large {
  gap: 18px;
}
.contact-list-large a,
.contact-list-large div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.error-layout {
  min-height: 420px;
  display: grid;
  align-content: center;
}

@media (max-width: 1050px) {
  .nav-links { gap: 18px; }
  .hero-grid, .audit-card, .pricing-layout { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 26px; }
  .hero-photo-wrap { min-height: auto; }
  .hero-photo-card { border-radius: 30px; min-height: auto; }
  .hero-photo-card img { height: 560px; object-position: 50% 38%; }
  .metrics-strip { transform: none; margin-top: 20px; }
  .audit-section { padding-top: 72px; }
  .cards-row { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .home-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contacts-layout { grid-template-columns: 1fr; }
  .quote-card { min-height: 260px; }
  .case-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-facts div:nth-child(2) { border-right: 0; }
  .case-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .case-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .container { width: min(100% - 28px, var(--max)); }
  .navbar { min-height: 68px; }
  .menu-toggle { display: inline-flex; order: 3; }
  .header-navigation {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    padding: 18px 14px 22px;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(6,42,95,.12);
  }
  .header-navigation.is-open { display: grid; }
  .nav-links { display: block; }
  .nav-links .nav-menu,
  .nav-links:not(:has(.nav-menu)) { display: grid; gap: 0; }
  .nav-links a { display: block; padding: 13px 10px; border-bottom: 1px solid var(--line); }
  .header-navigation .header-cta { width: 100%; margin-top: 8px; }
  .brand { min-width: auto; }
  .site-header .btn { padding: 0 14px; font-size: 13px; }
  .metrics-strip, .price-cards, .reviews-grid, .footer-main { grid-template-columns: 1fr; }
  .home-services-head { align-items: flex-start; flex-direction: column; gap: 18px; }
  .home-services-grid { grid-template-columns: 1fr; }
  .home-service-card { min-height: 220px; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .cards-row { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .audit-card { padding: 24px; }
  .footer-bottom .container { flex-direction: column; padding: 14px 0; text-align: center; }
  .case-cta { align-items: stretch; flex-direction: column; }
  .case-cta .btn { width: 100%; }
}
@media (max-width: 560px) {
  .hero { padding-top: 0; }
  .hero-grid { min-height: auto; }
  h1 { font-size: 38px; }
  .lead { font-size: 16px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-photo-card img { height: 420px; }
  .section { padding: 58px 0; }
  .listing-hero {
    padding: 34px 0 30px;
  }
  .single-hero {
    padding: 34px 0 34px;
  }
  .single-hero h1 {
    font-size: 36px;
  }
  .listing-hero + .section {
    padding-top: 34px;
  }
  .audit-section { padding-top: 58px; }
  .result-grid { grid-template-columns: 1fr; }
  .compare-table { font-size: 12px; }
  .compare-table th, .compare-table td { padding: 10px 4px; }
  .case-content { padding-top: 28px; padding-bottom: 58px; }
  .case-facts,
  .case-metrics,
  .case-gallery-grid { grid-template-columns: 1fr; }
  .case-facts div { border-right: 0; border-bottom: 1px solid var(--line); }
  .case-facts div:last-child { border-bottom: 0; }
  .case-metrics { margin-bottom: 44px; }
  .case-metrics div { min-height: 120px; }
  .case-cta { margin-top: 48px; padding: 24px; }
}

.admin-bar .site-header { top: 32px; }
.form-alert {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}
.form-alert.success { background: #e8fbfc; color: #076872; border: 1px solid rgba(15,154,166,.25); }
.form-alert.error { background: #fff1f2; color: #9f1239; border: 1px solid rgba(225,29,72,.22); }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Structured desktop navigation and service-page framework. */
.nav-menu--structured { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.nav-menu--structured > .menu-item { position: relative; display: flex; align-items: center; }
.nav-menu--structured > .menu-item > a { padding: 12px 0; white-space: nowrap; }
.submenu-toggle { width: 28px; height: 34px; display: inline-grid; place-items: center; padding: 0; border: 0; background: transparent; color: var(--navy); cursor: pointer; }
.submenu-toggle span { width: 8px; height: 8px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.menu-services.is-open .submenu-toggle span { transform: rotate(225deg) translate(-2px, -2px); }
.mega-menu { position: absolute; z-index: 50; top: 100%; left: -40px; width: min(940px, calc(100vw - 48px)); display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 24px 56px rgba(6,42,95,.18); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.menu-services:hover .mega-menu, .menu-services:focus-within .mega-menu, .menu-services.is-open .mega-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.mega-menu::before { content: ""; position: absolute; top: -8px; left: 66px; width: 16px; height: 16px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; transform: rotate(45deg); }
.mega-menu-intro { position: relative; padding: 20px; border-radius: 15px; background: linear-gradient(145deg, #10234f, #1d4ed8); color: #fff; }
.mega-menu-kicker { display: block; margin-bottom: 15px; color: rgba(255,255,255,.67); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.mega-menu-intro strong { display: block; font-size: 22px; line-height: 1.05; letter-spacing: -.035em; }
.mega-menu-intro p { margin: 14px 0 22px; color: rgba(255,255,255,.76); font-size: 13px; line-height: 1.45; }
.mega-menu-all { color: #fff; font-size: 14px; font-weight: 800; }.mega-menu-all span { margin-left: 6px; }
.mega-menu-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 26px; }
.mega-menu-group-title { display: block; color: var(--navy); font-size: 15px; font-weight: 900; }
.mega-menu-group-description { display: block; min-height: 34px; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.mega-menu-group ul { display: grid; gap: 4px; margin: 10px 0 0; padding: 0; list-style: none; }
.mega-menu-group li a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0; color: #243653; font-size: 14px; font-weight: 700; }.mega-menu-group li a span { color: var(--teal); }.mega-menu-group li a:hover { color: var(--blue); }

/* More compact, engineering-style menu hierarchy. */
.mega-menu { width: min(880px, calc(100vw - 48px)); display: block; padding: 22px 26px 16px; border-color: #cfd6de; border-radius: 0 0 12px 12px; background: #f1f3f5; box-shadow: 0 22px 44px rgba(20,35,55,.17); }
.mega-menu::before, .mega-menu-intro { display: none; }
.mega-menu-groups { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.mega-menu-group { padding: 0 18px; border-right: 1px solid #d5dbe2; }.mega-menu-group:first-child { padding-left: 0; }.mega-menu-group:last-child { border-right: 0; }
.mega-menu-group-description { display: none; }.mega-menu-group ul { margin-top: 0; }.mega-menu-group li a { padding: 8px 0; color: #3c4b59; font-size: 13px; }
.mega-menu-all { display: inline-block; margin-top: 16px; color: var(--blue); font-size: 14px; font-weight: 850; }

.lead-page-hero { padding: 72px 0 52px; background: #dfe5eb; }.lead-page-hero h1 { max-width: 850px; margin: 12px 0 18px; font-size: clamp(40px, 5vw, 66px); line-height: 1.03; letter-spacing: -.055em; }.lead-page-hero .lead { max-width: 720px; }
.lead-page-section { padding-top: 42px; }.lead-page-layout { display: grid; grid-template-columns: 300px minmax(0, 650px); gap: 30px; align-items: start; }.lead-page-aside { padding: 26px; border-radius: 14px; background: #23384d; color: #fff; }.lead-page-aside strong { font-size: 20px; }.lead-page-aside ul { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.78); font-size: 14px; }.lead-page-aside li::before { content: "—"; margin-right: 8px; color: #70d0d1; }.lead-form-card { padding: 30px; border: 1px solid #cfd6de; border-radius: 14px; background: #f7f8fa; box-shadow: 0 16px 36px rgba(20,35,55,.08); }.email-lead-form { display: grid; gap: 16px; }.email-lead-form label { display: grid; gap: 7px; color: #314252; font-size: 14px; font-weight: 800; }.email-lead-form select { appearance: auto; }.quiz-step { display: none; min-width: 0; margin: 0; padding: 0; border: 0; }.quiz-step.is-active { display: grid; gap: 13px; }.quiz-step legend { width: 100%; margin: 0 0 20px; color: #152b3e; font-size: 27px; font-weight: 850; line-height: 1.16; }.quiz-step legend span { display: block; margin-bottom: 9px; color: var(--teal); font-size: 12px; letter-spacing: .09em; }.quiz-step label { display: flex; gap: 10px; align-items: center; min-height: 48px; padding: 12px 14px; border: 1px solid #d2d9e0; border-radius: 8px; background: #fff; cursor: pointer; }.quiz-step input[type="radio"], .quiz-step input[type="checkbox"] { accent-color: var(--teal); }.quiz-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; }.quiz-back { border: 0; background: transparent; color: #526274; cursor: pointer; font-weight: 750; }

.service-hero { padding: 74px 0 58px; background: radial-gradient(circle at 84% 24%, rgba(15,154,166,.12), transparent 24%), linear-gradient(135deg, #fff 0%, #eff6ff 100%); }
.service-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 58px; align-items: end; }.service-hero h1 { max-width: 800px; margin: 12px 0 18px; font-size: clamp(42px, 5vw, 68px); line-height: 1.02; letter-spacing: -.055em; }.service-hero .lead { max-width: 760px; }
.breadcrumb-link { display: inline-block; margin-bottom: 24px; color: var(--muted); font-size: 14px; font-weight: 750; }.breadcrumb-link::before { content: "←"; margin-right: 8px; color: var(--teal); }
.service-hero-panel { padding: 24px; border: 1px solid rgba(255,255,255,.48); border-radius: 18px; background: var(--navy); box-shadow: 0 20px 40px rgba(10,35,82,.18); color: #fff; }.service-hero-panel span { display: block; color: rgba(255,255,255,.65); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }.service-hero-panel strong { display: block; margin: 14px 0; font-size: 22px; line-height: 1.1; letter-spacing: -.035em; }.service-hero-panel p { margin: 0; color: rgba(255,255,255,.76); font-size: 14px; line-height: 1.45; }
.service-value-grid, .service-faq-grid, .service-principles-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }.service-value-grid h2, .service-faq-grid h2, .service-principles-grid h2 { margin: 10px 0 16px; font-size: clamp(32px, 3.5vw, 48px); line-height: 1.05; letter-spacing: -.05em; }.service-value-grid p, .service-faq-grid p { color: var(--muted); font-size: 17px; line-height: 1.55; }
.service-benefit-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }.service-benefit-list li { min-height: 126px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: #263653; font-weight: 750; line-height: 1.35; box-shadow: 0 10px 28px rgba(6,42,95,.04); }.service-benefit-list li::before { content: "✓"; display: block; margin-bottom: 13px; color: var(--teal); font-size: 18px; font-weight: 900; }
.service-process { background: var(--bg-soft); }.service-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }.service-steps li { min-height: 190px; padding: 22px; border-radius: 17px; background: #fff; border: 1px solid var(--line); }.service-steps li > span { display: block; margin-bottom: 38px; color: var(--teal); font-size: 13px; font-weight: 900; letter-spacing: .08em; }.service-steps p { margin: 0; color: var(--navy); font-size: 17px; font-weight: 800; line-height: 1.25; }
.service-section-head-inline { display: flex; align-items: end; justify-content: space-between; gap: 24px; }.service-section-head-inline .link-arrow { margin-bottom: 8px; white-space: nowrap; }
.service-faq { background: #fff; }.service-faq-grid details { border-top: 1px solid var(--line); }.service-faq-grid details:last-child { border-bottom: 1px solid var(--line); }.service-faq-grid summary { padding: 20px 30px 20px 0; color: var(--navy); font-size: 18px; font-weight: 850; cursor: pointer; position: relative; list-style: none; }.service-faq-grid summary::-webkit-details-marker { display: none; }.service-faq-grid summary::after { content: "+"; position: absolute; right: 3px; color: var(--teal); font-size: 26px; font-weight: 400; }.service-faq-grid details[open] summary::after { content: "−"; }.service-faq-grid details p { margin: 0 0 20px; font-size: 15px; }
.service-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 36px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(135deg, #edf6ff, #e8fbfc); }.service-cta h2 { margin: 10px 0 10px; font-size: clamp(30px, 3vw, 42px); letter-spacing: -.045em; }.service-cta p { margin: 0; color: var(--muted); }
.services-index-hero { text-align: center; }.services-index-hero h1, .services-index-hero .lead { margin-left: auto; margin-right: auto; }.services-index-hero .hero-actions { justify-content: center; }.service-group-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }.service-group-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); }.service-group-number { margin: 0 0 14px; color: var(--teal); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }.service-group-card h2 { margin: 0 0 9px; color: var(--navy); font-size: 28px; letter-spacing: -.04em; }.service-group-card > p:not(.service-group-number) { min-height: 48px; margin: 0; color: var(--muted); }.service-group-card ul { display: grid; gap: 4px; margin: 22px 0 0; padding: 0; list-style: none; }.service-group-card li a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); color: #263653; font-weight: 800; }.service-group-card li a span { color: var(--teal); }.service-principles { background: var(--navy); }.service-principles h2 { color: #fff; }.principle-list { display: grid; gap: 2px; }.principle-list p { display: flex; gap: 18px; align-items: baseline; margin: 0; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.82); font-size: 17px; }.principle-list strong { color: var(--teal); font-size: 13px; }

@media (max-width: 1050px) { .nav-menu--structured { gap: 15px; }.mega-menu { left: -90px; }.service-hero-grid, .service-value-grid, .service-faq-grid, .service-principles-grid { gap: 36px; }.service-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .nav-menu--structured { display: grid !important; gap: 0; }.nav-menu--structured > .menu-item { display: grid; grid-template-columns: 1fr 44px; }.nav-menu--structured > .menu-item > a { padding: 13px 10px; }.nav-menu--structured > .menu-item:not(.menu-services) { display: block; }.submenu-toggle { width: 44px; height: 48px; justify-self: end; }.mega-menu { position: static; grid-column: 1 / -1; width: auto; display: none; gap: 16px; margin: 0 0 12px; padding: 16px; opacity: 1; visibility: visible; pointer-events: auto; transform: none; box-shadow: none; }.menu-services.is-open .mega-menu { display: grid; }.mega-menu::before { display: none; }.mega-menu-intro { padding: 16px; }.mega-menu-groups { grid-template-columns: 1fr; gap: 16px; }.mega-menu-group-description { min-height: 0; }.mega-menu-group li a { padding: 8px 0; border: 0; }.service-hero { padding: 46px 0 40px; }.service-hero-grid, .service-value-grid, .service-faq-grid, .service-principles-grid { grid-template-columns: 1fr; }.service-hero-panel { max-width: 450px; }.service-benefit-list { grid-template-columns: 1fr; }.service-benefit-list li { min-height: auto; }.service-steps { grid-template-columns: 1fr; }.service-steps li { min-height: 0; }.service-steps li > span { margin-bottom: 18px; }.service-group-grid { grid-template-columns: 1fr; }.service-cta { align-items: stretch; flex-direction: column; }.service-cta .btn { width: 100%; } }

@media (max-width: 820px) { .mega-menu-groups { grid-template-columns: 1fr; gap: 16px; }.mega-menu-group { padding: 0; border-right: 0; }.menu-services.is-open .mega-menu { display: block; }.lead-page-hero { padding: 46px 0 36px; }.lead-page-layout { grid-template-columns: 1fr; }.lead-form-card { padding: 22px; } }

/* Three-row desktop header: contacts, company line, navigation. */
.site-header { background: #fff; border-bottom: 1px solid var(--line); backdrop-filter: none; }
.header-topbar { background: var(--navy); color: #fff; }.header-topbar-inner { min-height: 46px; display: flex; align-items: center; gap: 14px; }.header-top-label { padding: 6px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: rgba(255,255,255,.9); font-size: 12px; font-weight: 750; }.header-top-phone { color: #fff; font-weight: 900; font-size: 17px; white-space: nowrap; }.header-socials { display: flex; gap: 7px; }.header-socials a { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; color: #fff; font-size: 14px; font-weight: 900; }.header-top-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; font-size: 13px; }.header-top-cta { padding: 9px 17px; border: 1px solid var(--teal); border-radius: 10px; color: #fff; background: var(--teal); font-weight: 850; }
.header-main-row { border-bottom: 1px solid #d9dfe5; background: #fff; }.header-main-inner { min-height: 68px; display: flex; align-items: center; gap: 30px; }.header-main-inner .brand { margin-right: auto; }.header-calc-link { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--teal); border-radius: 10px; color: #182a3b; font-size: 13px; font-weight: 850; }.header-calc-link span { color: var(--teal); font-size: 20px; }.header-email { color: #2e3d4c; font-size: 14px; }.header-main-phone { color: #111d29; font-size: 19px; font-weight: 900; white-space: nowrap; }.header-main-cta { min-height: 46px; padding: 0 18px; }
.header-nav-row { background: #fff; }.header-nav-row .navbar { min-height: 64px; gap: 18px; }.header-nav-row .header-navigation { justify-content: flex-start; gap: 20px; }.header-nav-row .nav-links { justify-content: flex-start; flex: 1; }.header-nav-row .nav-menu--structured { gap: 34px; }.header-nav-row .nav-menu--structured > .menu-item > a { padding: 15px 0; }
@media (max-width: 1050px) { .header-main-inner { gap: 16px; }.header-email { display: none; }.header-nav-row .nav-menu--structured { gap: 17px; } }
@media (max-width: 820px) { .header-topbar { display: none; }.header-main-inner { min-height: 68px; }.header-main-phone, .header-main-cta { display: none; }.header-main-inner .brand { margin-right: auto; }.header-nav-row .navbar { min-height: 0; justify-content: flex-end; }.header-nav-row .menu-toggle { margin: 10px 0; }.header-nav-row .header-navigation { top: 100%; }.header-nav-row .nav-links { width: 100%; }.header-nav-row .header-navigation { position: absolute; } }

/* Two-row variant: brand and page menu, then one contact line. */
.header-topbar { display: none; }
.header-main-row { position: relative; }.header-main-inner { min-height: 76px; }.header-main-inner .header-navigation { flex: 0 1 auto; }.header-main-inner .nav-links { justify-content: flex-end; }.header-main-inner .nav-menu--structured { gap: 30px; }
.header-nav-row { border-top: 1px solid var(--line); background: var(--bg-soft); }.header-contact-row { min-height: 54px; display: flex; align-items: center; justify-content: flex-end; gap: 30px; }.header-contact-row .header-email { display: inline; }.header-contact-row .header-main-phone { display: inline; }.header-contact-row .header-main-cta { display: inline-flex; }
@media (max-width: 820px) { .header-main-inner { min-height: 68px; }.header-main-inner .header-navigation { position: absolute; top: 100%; left: 0; right: 0; }.header-contact-row { min-height: 52px; justify-content: space-between; gap: 12px; }.header-contact-row .header-email { display: none; }.header-contact-row .header-main-phone { display: inline; font-size: 15px; }.header-contact-row .header-main-cta { min-height: 39px; padding: 0 12px; font-size: 13px; } }

@media (min-width: 1051px) {
  .header-main-inner { position: relative; }
  .header-main-inner .header-navigation {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex: none;
  }
  .header-main-inner .nav-links { justify-content: center; }
}

/* Lead pages and header actions use the site's native navy/blue/teal palette. */
.header-contact-row .header-main-cta { background: var(--navy); border-color: var(--navy); color: #fff; }
.header-contact-row .header-main-cta:hover { background: var(--navy-2); border-color: var(--navy-2); }
.mega-menu { border-color: var(--line); background: #f7faff; box-shadow: 0 22px 44px rgba(6,42,95,.14); }
.mega-menu-group { border-color: var(--line); }.mega-menu-group-title { color: var(--navy); }.mega-menu-group li a { color: #263653; }
.lead-page { background: var(--bg); }.lead-page-hero { padding: 68px 0 54px; background: radial-gradient(circle at 86% 16%, rgba(15,154,166,.13), transparent 26%), linear-gradient(135deg, #fff 0%, #edf5ff 100%); border-bottom: 1px solid var(--line); }
.lead-page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 54px; align-items: end; }.lead-page-hero h1 { color: var(--navy); }.lead-page-hero-note { padding: 22px; border-radius: 18px; background: var(--navy); box-shadow: var(--shadow); color: #fff; }.lead-page-hero-note span { display: block; margin-bottom: 24px; color: #79d7dd; font-size: 13px; font-weight: 900; letter-spacing: .08em; }.lead-page-hero-note p { margin: 0; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.5; }
.lead-page-section { padding-top: 48px; }.lead-page-layout { grid-template-columns: 300px minmax(0, 680px); justify-content: center; gap: 26px; }.lead-page-aside { position: sticky; top: 150px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: linear-gradient(145deg, var(--navy), var(--navy-2)); box-shadow: var(--shadow); }.lead-page-aside-label { display: block; margin-bottom: 12px; color: #79d7dd; font-size: 11px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }.lead-page-aside strong { font-size: 23px; line-height: 1.12; }.lead-page-aside li::before { color: #79d7dd; }.lead-page-privacy { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.6); font-size: 12px; }
.lead-form-card { padding: 32px; border-color: var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); }.lead-form-heading { margin-bottom: 8px; }.lead-form-heading > span { color: var(--teal); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }.lead-form-heading h2 { margin: 7px 0 8px; color: var(--navy); font-size: 30px; letter-spacing: -.04em; }.lead-form-heading p { margin: 0; color: var(--muted); }.lead-fields-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.email-lead-form .form-field { border-color: #cbd8ea; background: #fafdff; }.email-lead-form .form-field:focus { background: #fff; }.lead-consent { display: flex !important; grid-template-columns: none; flex-direction: row; align-items: flex-start; gap: 9px !important; color: var(--muted) !important; font-size: 12px !important; font-weight: 600 !important; }.lead-consent input { margin-top: 2px; accent-color: var(--teal); }.lead-submit { width: 100%; }.lead-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.quiz-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-bottom: 18px; }.quiz-progress span { height: 5px; border-radius: 999px; background: #dbe5f2; transition: background .2s ease; }.quiz-progress span.is-active { background: linear-gradient(90deg, var(--blue), var(--teal)); }.quiz-step legend { color: var(--navy); }.quiz-step label:not(.lead-consent) { border-color: var(--line); background: #fafdff; color: #263653; }.quiz-step label:not(.lead-consent):hover { border-color: #9eb8dc; background: #f3f8ff; }.quiz-step .btn { margin-top: 10px; }.quiz-actions .btn { margin-top: 0; }
@media (max-width: 820px) { .lead-page-hero-grid, .lead-page-layout { grid-template-columns: 1fr; }.lead-page-hero-note { display: none; }.lead-page-aside { position: static; }.lead-fields-grid { grid-template-columns: 1fr; }.lead-form-card { padding: 22px; } }
