:root {
  --ink: #17211f;
  --muted: #62716e;
  --soft: #f4f7fb;
  --white: #ffffff;
  --line: #d8e1df;
  --blue: #159b84;
  --blue-dark: #0d6f61;
  --accent: #ffb703;
  --accent-dark: #f97316;
  --graphite: #24313d;
  --shadow: 0 20px 54px rgba(23, 33, 31, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #f7f9fb;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 10px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(23, 33, 31, 0.10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 205px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  font-weight: 700;
}

.brand small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 28px;
  color: rgba(23, 33, 31, 0.78);
  font-size: 13px;
  font-weight: 600;
}

.nav a {
  padding: 9px 0;
}

.nav a:hover,
.footer-links a:hover,
.mini-link:hover {
  color: var(--blue);
}

.header-actions,
.hero-actions,
.calc-notes,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.phone {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: var(--accent-dark);
  border-radius: 999px;
}

.icon-button svg,
.button svg,
.strip-item svg,
.value-card svg,
.calc-notes svg,
.proof-list svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.hero {
  position: relative;
  min-height: calc(100svh - 68px);
  overflow: hidden;
  background:
    linear-gradient(135deg, #eef8f5 0%, #f7f9fb 42%, #fff7e5 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 33, 31, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 33, 31, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 84%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1220px;
  min-height: calc(100svh - 68px);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 40px) 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.hero-copy {
  max-width: 680px;
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.hero .eyebrow {
  color: var(--blue);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(42px, 5.9vw, 76px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 span {
  color: var(--blue);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.18;
}

.lead {
  max-width: 620px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 600;
  line-height: 1.38;
}

.hero-actions {
  justify-content: flex-start;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--ink);
  background: var(--accent);
}

.button-primary:hover {
  background: #ffd166;
}

.button-secondary {
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(21, 155, 132, 0.30);
}

.button-dark {
  width: 100%;
  color: var(--white);
  background: var(--ink);
}

.full {
  width: 100%;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-badges span {
  padding: 9px 12px;
  color: var(--graphite);
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(23, 33, 31, 0.10);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  display: grid;
  gap: 16px;
}

.quiz-card {
  position: relative;
  z-index: 2;
  padding: clamp(22px, 3vw, 32px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(23, 33, 31, 0.10);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quiz-top,
.quiz-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.quiz-top span,
.quiz-bottom small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.quiz-top strong,
.quiz-bottom strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
}

.progress {
  height: 8px;
  margin: 18px 0 24px;
  overflow: hidden;
  background: #edf2f1;
  border-radius: 999px;
}

.progress span {
  display: block;
  width: 34%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--accent));
}

.quiz-card h2 {
  margin-bottom: 18px;
  font-size: clamp(26px, 3vw, 36px);
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}

.quiz-options a {
  min-height: 58px;
  padding: 14px;
  background: #f7faf9;
  border: 1px solid rgba(23, 33, 31, 0.10);
  border-radius: 8px;
  font-weight: 800;
}

.quiz-options a:hover {
  color: var(--blue-dark);
  border-color: rgba(21, 155, 132, 0.42);
}

.hero-photo {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(23, 33, 31, 0.16);
}

.hero-photo img {
  height: clamp(180px, 24vw, 280px);
  object-fit: cover;
}

.trust-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1220px;
  margin: -44px auto 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 102px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-weight: 700;
}

.strip-item svg {
  flex: 0 0 auto;
  color: var(--accent-dark);
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 920px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading.compact {
  max-width: 760px;
}

.section-heading p,
.strategy-section .section-heading p,
.calc-copy p,
.lead-panel p,
.proof-copy p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 500;
  line-height: 1.52;
}

.value-grid,
.price-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.value-card,
.price-card,
.case-card,
.calculator,
.lead-form,
details {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
}

.value-card,
.price-card {
  padding: 28px;
}

.value-card svg {
  margin-bottom: 28px;
  color: var(--accent-dark);
}

.value-card p,
.price-card li,
.case-card p,
.faq p {
  color: var(--muted);
  line-height: 1.58;
}

.privacy-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.privacy-note a {
  color: var(--accent-dark);
  font-weight: 800;
}

.prices,
.services-section,
.demand,
.faq {
  background: #ffffff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  min-height: 214px;
  padding: 22px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  border-color: rgba(42, 109, 245, 0.28);
  box-shadow: 0 18px 40px rgba(24, 31, 38, 0.08);
  transform: translateY(-3px);
}

.service-card svg {
  margin-bottom: 26px;
  color: var(--accent-dark);
}

.service-card span {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 800;
}

.service-card small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.price-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
}

.price-card.featured {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark), #12332e);
  border-color: transparent;
}

.price-card.featured li,
.price-card.featured .price-top span {
  color: rgba(255, 255, 255, 0.72);
}

.price-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.price-top span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.price {
  margin: 22px 0;
  font-size: 42px;
  font-weight: 700;
}

.price-card ul {
  margin: 0 0 28px;
  padding-left: 20px;
}

.mini-link {
  margin-top: auto;
  color: var(--blue-dark);
  font-weight: 700;
}

.featured .mini-link {
  color: #78baff;
}

.calculator-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  background:
    linear-gradient(135deg, #f7f9fb 0%, #eef8f5 100%);
}

.calc-copy {
  max-width: 620px;
}

.calc-notes {
  margin-top: 24px;
}

.calc-notes span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
}

.calculator,
.lead-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

input:focus,
select:focus {
  outline: 4px solid rgba(21, 155, 132, 0.18);
  border-color: var(--blue);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-row input {
  width: 20px;
  min-height: 20px;
  accent-color: var(--blue);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.calc-result {
  display: grid;
  gap: 4px;
  padding: 20px;
  background: #12332e;
  color: var(--white);
  border-radius: 8px;
}

.calc-result span,
.calc-result small {
  color: rgba(255, 255, 255, 0.72);
}

.calc-result strong {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
}

.case-card {
  overflow: hidden;
}

.case-card img {
  height: 250px;
  object-fit: cover;
}

.case-card div {
  padding: 24px;
}

.case-card span {
  display: inline-block;
  margin-top: 10px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1040px;
  margin: 0 auto;
}

.keyword-cloud a,
.keyword-cloud span {
  padding: 9px 14px;
  color: var(--ink);
  background: #f7faf9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.keyword-cloud a:hover {
  color: var(--blue-dark);
  border-color: rgba(21, 155, 132, 0.34);
  background: #effaf7;
}

.related-pages {
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.related-pages h2 {
  margin-bottom: 18px;
  font-size: 28px;
  line-height: 1.16;
}

.related-pages .keyword-cloud {
  justify-content: flex-start;
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
  background: #15211f;
  color: var(--white);
}

.proof-section .eyebrow {
  color: var(--accent);
}

.proof-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.proof-list {
  display: grid;
  gap: 12px;
}

.proof-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.proof-list svg {
  color: var(--accent);
  flex: 0 0 auto;
}

.lead-section {
  background:
    linear-gradient(90deg, rgba(247, 249, 251, 0.98), rgba(247, 249, 251, 0.78)),
    url("https://images.pexels.com/photos/7031406/pexels-photo-7031406.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-position: center;
  background-size: cover;
}

.lead-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 920px;
  margin: 0 auto;
}

details {
  padding: 19px 21px;
  background: var(--soft);
}

summary {
  font-weight: 700;
  cursor: pointer;
}

details p {
  margin: 12px 0 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.70);
  background: #111817;
}

.footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
}

.footer p {
  max-width: 560px;
  margin: 0;
}

.footer-links a {
  color: var(--white);
  font-weight: 700;
}

.page-shell {
  min-height: calc(100vh - 210px);
  padding: 138px 22px 84px;
  background: linear-gradient(180deg, #f7f7f4 0%, #ffffff 68%);
}

.content-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(24, 31, 38, 0.08);
}

.content-page h1 {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(38px, 6vw, 68px);
}

.page-content {
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
}

.page-content h2,
.page-content h3 {
  margin: 34px 0 12px;
  color: var(--ink);
}

.page-content p,
.page-content ul,
.page-content ol {
  margin: 0 0 18px;
}

.page-content a {
  color: var(--accent-dark);
  font-weight: 800;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

@media (max-width: 1040px) {
  .nav {
    display: none;
  }

  .hero-grid,
  .trust-strip,
  .value-grid,
  .price-grid,
  .service-grid,
  .case-grid,
  .calculator-section,
  .proof-section,
  .lead-panel {
    grid-template-columns: 1fr;
  }

  .lead-panel,
  .calc-copy {
    max-width: 760px;
  }

  .hero-copy {
    max-width: 800px;
  }

  .trust-strip {
    margin-inline: 18px;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 58px;
    padding: 9px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .phone {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: auto;
  }

  .hero-content {
    padding: 44px 18px 82px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 34px;
  }

  .lead {
    font-size: 20px;
  }

  .quiz-options,
  .hero-proof {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin: -38px 14px 0;
  }

  .section {
    padding: 60px 18px;
  }

  .page-shell {
    padding: 94px 14px 58px;
  }

  .content-page {
    padding: 28px;
  }

  .price {
    font-size: 34px;
  }

  .case-card img {
    height: 190px;
  }

  .footer {
    flex-direction: column;
  }
}
