@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/Inter-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/Inter-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/Inter-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/Inter-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope/Manrope-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope/Manrope-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope/Manrope-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --bg: #f6f4ef;
  --text: #101319;
  --muted: #5c6470;
  --line: #ddd8cf;
  --white: #ffffff;
  --blue: #1857d8;
  --green: #138a61;
  --gold: #b9822b;
  --dark: #10141c;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(16, 20, 28, 0.16);
  --font-heading: "Manrope", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

body.is-modal-open {
  overflow: hidden;
}

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

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px max(16px, calc((100vw - 1160px) / 2));
  background: rgba(11, 16, 24, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  justify-self: start;
  display: grid;
  gap: 0;
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
}

.brand strong {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
}

.nav {
  justify-self: center;
  display: flex;
  gap: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
}

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

.nav-toggle,
.mobile-nav {
  display: none;
}

.header-phone {
  justify-self: end;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--dark);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.header-phone:hover {
  color: var(--blue);
}

.nav-toggle {
  justify-self: end;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
}

.mobile-nav {
  position: fixed;
  z-index: 19;
  top: 67px;
  left: 0;
  right: 0;
  padding: 10px 16px 14px;
  background: rgba(11, 16, 24, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 34px rgba(16, 20, 28, 0.08);
}

.mobile-nav a {
  display: block;
  padding: 12px 8px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #171b23;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% center;
  filter: saturate(0.88) contrast(1.05);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246, 244, 239, 0.98) 0%, rgba(246, 244, 239, 0.92) 42%, rgba(246, 244, 239, 0.42) 100%),
    linear-gradient(180deg, rgba(16, 20, 28, 0.08), rgba(16, 20, 28, 0.2));
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 42px;
  align-items: center;
  padding: 128px 0 72px;
}

.hero__copy {
  width: min(100%, 760px);
  max-width: calc(100vw - 32px);
  min-width: 0;
}

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

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

p,
li,
dd,
dt,
label,
input,
select,
textarea {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 100%;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: clamp(42px, 6.4vw, 78px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

h1 span {
  display: block;
}

h2 span {
  display: block;
}

.section__head p span {
  display: inline;
}

h2 {
  max-width: 100%;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

h3 {
  max-width: 100%;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.hero__role {
  width: min(100%, 660px);
  max-width: calc(100vw - 32px);
  margin-bottom: 12px;
  color: #252b35;
  font-size: 18px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.hero__role span {
  display: inline;
}

.hero__subtitle {
  width: min(100%, 690px);
  max-width: calc(100vw - 32px);
  margin-bottom: 24px;
  color: #2e3540;
  font-size: clamp(18px, 2.2vw, 24px);
  overflow-wrap: anywhere;
}

.hero__subtitle span {
  display: inline;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 0;
}

.hero__cases-link {
  color: #2e3540;
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button--primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(24, 87, 216, 0.25);
}

.button--primary:hover {
  background: #134abe;
}

.button--ghost {
  color: var(--dark);
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line);
}

.button--dark {
  color: var(--white);
  background: var(--dark);
}

.button--line {
  color: var(--dark);
  border-color: var(--line);
  background: var(--white);
}

.hero__panel {
  display: grid;
  gap: 12px;
  align-self: center;
  min-width: 0;
}

.metric,
.hero__proof li {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(221, 216, 207, 0.95);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(16, 20, 28, 0.1);
}

.metric {
  padding: 20px;
}

.metric--main {
  padding: 26px;
}

.metric__label {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.metric--main strong {
  font-size: 42px;
  line-height: 1.05;
}

.metric span {
  color: var(--muted);
  font-size: 14px;
}

.metric__link {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero__proof {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0;
  margin: 6px 0 0;
  list-style: none;
}

.hero__proof li {
  padding: 18px;
}

.hero__proof strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
}

.hero__proof span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 92px 0;
}

.section--tight {
  padding-top: 78px;
}

.section--muted {
  background: #eee9df;
}

.section--dark {
  color: var(--white);
  background: var(--dark);
}

.section--dark .eyebrow {
  color: #8fb7ff;
}

.section__head {
  width: 100%;
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.section__head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.section--dark .section__head p:not(.eyebrow),
.section--dark .process-item p {
  color: #c8d0dc;
}

.section__head--left {
  margin: 0;
  text-align: left;
}

.cta-strip,
.section-cta {
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(16, 20, 28, 0.08);
}

.cta-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
}

.cta-strip h2 {
  max-width: 720px;
}

.cta-strip p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: #303744;
  font-weight: 600;
  line-height: 1.45;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--blue);
  border-radius: 50%;
}

.offer-grid,
.case-grid,
.process-grid,
.month-grid {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.offer-grid {
  grid-template-columns: 1.14fr 1fr 1fr;
  align-items: stretch;
}

.offer,
.case-card,
.process-item,
.fit-card {
  border-radius: var(--radius);
}

.offer {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(16, 20, 28, 0.06);
  min-width: 0;
}

.offer--featured {
  color: var(--white);
  background: var(--dark);
  border-color: var(--dark);
  box-shadow: var(--shadow);
}

.tag {
  width: fit-content;
  margin-bottom: 22px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: #e8eefc;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
}

.offer--featured .tag {
  color: var(--white);
  background: rgba(24, 87, 216, 0.92);
}

.offer--featured .button {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 14px 34px rgba(24, 87, 216, 0.28);
}

.offer--featured .button:hover {
  background: #134abe;
  border-color: #134abe;
}

.offer p {
  color: var(--muted);
  line-height: 1.62;
}

.offer--featured p,
.offer--featured li {
  color: #d9dee8;
}

.offer strong {
  display: block;
  margin: 8px 0 20px;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.offer ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.62;
}

.offer .button {
  margin-top: auto;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 42px;
  align-items: center;
  min-width: 0;
}

.trust-list,
.niche-list {
  display: grid;
  gap: 12px;
}

.trust-list div,
.niche-list div,
.month-grid div,
.leak-grid article {
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.35;
}

.niche-list div {
  display: grid;
  gap: 8px;
  font-size: 20px;
}

.niche-list strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
}

.niche-list p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.58;
}

.leak-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.leak-grid article {
  min-width: 0;
  box-shadow: 0 12px 34px rgba(16, 20, 28, 0.05);
}

.leak-grid span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 800;
}

.leak-grid p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.62;
}

.about-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  align-items: center;
  padding: 0;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(16, 20, 28, 0.08);
}

.about-card__media {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 34px 0 34px 34px;
}

.about-card__media img {
  display: block;
  width: 260px;
  height: 260px;
  object-fit: cover;
  object-position: 38% center;
  border: 8px solid #f2efe8;
  border-radius: 50%;
  box-shadow: 0 18px 48px rgba(16, 20, 28, 0.18);
}

.about-card__content {
  padding: 26px 34px 34px;
}

.about-card__tags {
  margin: 0 0 4px;
  color: #303744;
  font-size: 15px;
  line-height: 1.4;
}

.about-card__content h3 {
  color: var(--text);
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 14px;
}

.about-card__content ul {
  display: grid;
  gap: 7px;
  padding-left: 20px;
  margin: 0 0 22px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

.about-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.case-grid {
  grid-template-columns: repeat(3, 1fr);
}

.case-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(16, 20, 28, 0.05);
  line-height: 1.62;
  min-width: 0;
}

.case-card span {
  color: var(--green);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.case-card dl {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
}

.case-card dt {
  color: var(--text);
  font-weight: 700;
}

.case-card dd {
  margin: -6px 0 8px;
  color: var(--muted);
  line-height: 1.58;
}

.case-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.case-card__actions {
  margin-top: auto;
  padding-top: 22px;
}

.case-card__actions .button {
  width: 100%;
}

.article-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-teaser {
  display: flex;
  min-width: 0;
  min-height: 280px;
  flex-direction: column;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(16, 20, 28, 0.05);
}

.article-teaser__type {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.article-teaser p:not(.article-teaser__type) {
  margin-bottom: 20px;
  color: var(--muted);
  line-height: 1.62;
}

.article-teaser__link {
  margin-top: auto;
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.articles-page {
  padding: 136px 0 92px;
}

.articles-intro {
  max-width: 780px;
  margin-bottom: 44px;
}

.articles-intro p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.article-list {
  display: grid;
  gap: 22px;
}

.article-entry {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(16, 20, 28, 0.05);
  scroll-margin-top: 92px;
}

.article-entry h2 {
  max-width: 760px;
  font-size: clamp(28px, 3.4vw, 42px);
}

.article-entry > p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.article-entry ol,
.article-entry ul {
  display: grid;
  max-width: 760px;
  gap: 10px;
  padding-left: 22px;
  color: #303744;
}

.article-entry li::marker {
  color: var(--blue);
  font-weight: 800;
}

.section-cta {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding: 24px;
  background: var(--dark);
  color: var(--white);
}

.section-cta p {
  max-width: 620px;
  margin: 0;
  color: #d6dce7;
  font-size: 18px;
  line-height: 1.55;
}

.case-card--featured {
  background: linear-gradient(145deg, #ffffff 0%, #eef6ee 100%);
  border-color: rgba(19, 138, 97, 0.28);
  box-shadow: 0 18px 44px rgba(19, 138, 97, 0.12);
}

.case-card--featured h3 {
  max-width: 420px;
}

.case-card--homes {
  background: linear-gradient(145deg, #ffffff 0%, #f3efe6 100%);
  border-color: rgba(185, 130, 43, 0.3);
  box-shadow: 0 18px 44px rgba(185, 130, 43, 0.12);
}

.case-card--homes h3 {
  max-width: 430px;
}

.case-feature {
  background: var(--bg);
}

.case-feature--homes {
  background:
    radial-gradient(circle at 18% 0%, rgba(185, 130, 43, 0.16), transparent 34%),
    linear-gradient(180deg, #f6f4ef 0%, #f3efe6 100%);
}

.case-feature--hevaa {
  background:
    radial-gradient(circle at 20% 0%, rgba(19, 138, 97, 0.14), transparent 32%),
    linear-gradient(180deg, #f6f4ef 0%, #eef3ec 100%);
}

.case-feature__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 28px;
  align-items: stretch;
  padding: 34px;
  background: var(--dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 0;
}

.case-feature__hero > div,
.case-feature__card,
.case-feature__result > div,
.case-feature__result dl,
.case-feature__media figure {
  min-width: 0;
}

.case-feature__hero h1 {
  max-width: 100%;
  color: var(--white);
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -0.04em;
  line-height: 0.98;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.case-feature__hero h2,
.case-feature__hero p {
  color: var(--white);
}

.case-feature__hero p:not(.eyebrow) {
  max-width: 760px;
  color: #d6dce7;
  font-size: 18px;
  line-height: 1.64;
}

.case-feature__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.case-feature__stats div,
.case-feature__card,
.case-feature__result,
.case-feature__media figure {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.case-feature__stats div {
  padding: 18px;
}

.case-feature__stats--primary div:first-child,
.case-feature__stats--primary div:nth-child(2) {
  background: #f1f7ef;
  border-color: rgba(19, 138, 97, 0.26);
}

.case-feature__stats--primary div:first-child strong,
.case-feature__stats--primary div:nth-child(2) strong {
  color: var(--green);
  font-size: 34px;
}

.case-feature--homes .case-feature__stats--primary div:first-child,
.case-feature--homes .case-feature__stats--primary div:nth-child(2),
.case-feature--homes .case-feature__stats--primary div:nth-child(3) {
  background: #fbf5e9;
  border-color: rgba(185, 130, 43, 0.28);
}

.case-feature--homes .case-feature__stats--primary div:first-child strong,
.case-feature--homes .case-feature__stats--primary div:nth-child(2) strong,
.case-feature--homes .case-feature__stats--primary div:nth-child(3) strong {
  color: var(--gold);
  font-size: 34px;
}

.case-feature__stats strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.case-feature__stats span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.case-feature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.case-feature__card {
  padding: 26px;
  box-shadow: 0 12px 34px rgba(16, 20, 28, 0.05);
}

.case-feature__card ul {
  display: grid;
  gap: 10px;
  padding-left: 19px;
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.case-feature__card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.case-feature__card--accent {
  background: #0f1a15;
  border-color: #0f1a15;
}

.case-feature__card--accent h3,
.case-feature__card--accent p {
  color: var(--white);
}

.case-feature__card--accent p {
  color: #dfe9df;
}

.case-feature__result {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 28px;
  margin-top: 18px;
  padding: 28px;
  box-shadow: 0 12px 34px rgba(16, 20, 28, 0.05);
}

.case-feature__result p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.64;
}

.case-feature__result dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 18px;
  margin: 0;
}

.case-feature__result dt {
  color: var(--text);
  font-weight: 700;
}

.case-feature__result dd {
  margin: 0;
  color: var(--muted);
}

.case-feature__result--hevaa {
  border-color: rgba(19, 138, 97, 0.24);
}

.case-feature__result--homes {
  border-color: rgba(185, 130, 43, 0.26);
}

.case-feature__result--hevaa dl {
  padding: 20px;
  background: #f8faf7;
  border: 1px solid rgba(19, 138, 97, 0.18);
  border-radius: var(--radius);
}

.case-feature__result--homes dl {
  padding: 20px;
  background: #fffaf0;
  border: 1px solid rgba(185, 130, 43, 0.2);
  border-radius: var(--radius);
}

.case-feature__ads {
  margin-top: 18px;
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(19, 138, 97, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(16, 20, 28, 0.05);
}

.case-feature__ads-head {
  max-width: 760px;
  margin-bottom: 22px;
}

.case-feature__ads-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.64;
}

.case-feature__ads-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.case-feature__ads figure {
  margin: 0;
  overflow: hidden;
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.case-feature__ads img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  background: #f6f4ef;
}

.case-feature__ads figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.case-feature__ads-grid .case-feature__wide {
  grid-column: 1 / -1;
}

.case-feature__ads-grid .case-feature__wide img {
  max-height: 420px;
}

.case-feature__cta {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 26px;
  color: var(--white);
  background: var(--dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.case-feature__cta h3 {
  margin: 0 0 8px;
  color: var(--white);
}

.case-feature__cta p {
  max-width: 620px;
  margin: 0;
  color: #d6dce7;
  line-height: 1.6;
}

.case-page-main {
  padding-top: 54px;
}

.case-back {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
}

.case-feature__media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.case-feature__media figure {
  margin: 0;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(16, 20, 28, 0.05);
}

.case-feature__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: top center;
  overflow-wrap: anywhere;
}

.case-feature__wide {
  grid-column: 1 / -1;
}

.case-feature__wide img {
  height: auto;
  max-height: 420px;
  object-fit: contain;
  background: var(--white);
}

.month-grid {
  grid-template-columns: repeat(3, 1fr);
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.process-item {
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.process-item span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 800;
}

.fit-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.fit-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(16, 20, 28, 0.05);
}

.fit-card--yes {
  border-top: 5px solid var(--green);
}

.fit-card--no {
  border-top: 5px solid var(--gold);
}

.fit-card ul {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
}

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

.faq-list details {
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(16, 20, 28, 0.04);
}

.faq-list summary {
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.cta {
  background: #f6f4ef;
}

.cta__layout {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 42px;
  align-items: start;
  min-width: 0;
}

.cta__layout > div > p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.telegram-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-panel h3 {
  margin: 0;
}

.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.lead-modal[hidden] {
  display: none;
}

.lead-modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 20, 28, 0.58);
  backdrop-filter: blur(7px);
}

.lead-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lead-modal__dialog h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 4vw, 42px);
}

.lead-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: #303744;
  font-size: 14px;
  font-weight: 500;
}

.lead-form__optional {
  color: var(--muted) !important;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  color: var(--text);
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(24, 87, 216, 0.25);
  border-color: var(--blue);
}

.lead-form .button {
  width: 100%;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.form-help {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.lead-form.is-sending .button[type="submit"] {
  cursor: progress;
  opacity: 0.76;
}

.consent-field {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.lead-form .consent-field input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  box-sizing: border-box;
  display: inline-block;
  flex: 0 0 14px;
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  padding: 0 !important;
  margin: 3px 0 0 !important;
  border-radius: 3px;
  accent-color: var(--blue);
}

.consent-field a {
  color: var(--blue);
  font-weight: 700;
}

.footer {
  padding: 26px 0;
  color: #c8d0dc;
  background: #0b1018;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.footer a {
  color: var(--white);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.legal-page {
  padding-top: 54px;
}

.legal-content {
  max-width: 860px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(16, 20, 28, 0.05);
}

.legal-content h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.legal-content h2 {
  margin-top: 30px;
  font-size: 28px;
}

.legal-content p {
  color: var(--muted);
  line-height: 1.65;
}

.legal-content a {
  color: var(--blue);
  font-weight: 700;
}

.mobile-telegram {
  display: none;
  border: 0;
}

.cookie-banner {
  position: fixed;
  z-index: 120;
  right: 16px;
  bottom: 16px;
  display: grid;
  width: min(460px, calc(100% - 32px));
  gap: 14px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  pointer-events: auto;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner .button {
  position: relative;
  z-index: 1;
  min-height: 42px;
  pointer-events: auto;
}

@media (max-width: 1024px) {
  .hero__content,
  .offer-grid,
  .case-grid,
  .article-teaser-grid,
  .process-grid,
  .split,
  .cta__layout,
  .cta-strip {
    grid-template-columns: 1fr;
  }

  .case-feature__hero,
  .case-feature__result {
    grid-template-columns: 1fr;
  }

  .case-feature__media {
    grid-template-columns: 1fr 1fr;
  }

  .hero__panel {
    max-width: 620px;
  }

  .offer {
    min-height: auto;
  }

  .process-grid,
  .month-grid,
  .fit-layout {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero__proof,
  .month-grid,
  .fit-layout,
  .leak-grid {
    grid-template-columns: 1fr;
  }

  .case-feature__grid,
  .case-feature__stats,
  .case-feature__media,
  .case-feature__ads-grid {
    grid-template-columns: 1fr;
  }

  .case-feature__cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .section__head {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 48px), 1160px);
  }

  body {
    padding-bottom: 70px;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    padding: 12px 16px;
  }

  .brand span {
    display: block;
    max-width: 116px;
    overflow: hidden;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand strong {
    display: none;
  }

  .nav {
    display: none;
  }

  .header-phone {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .mobile-nav:not([hidden]) {
    display: block;
  }

  .hero {
    min-height: auto;
  }

  .hero__image {
    object-position: 68% center;
  }

  .hero__overlay {
    background: rgba(246, 244, 239, 0.94);
  }

  .hero__content {
    padding-top: 112px;
    padding-bottom: 48px;
    gap: 24px;
  }

  .hero__copy,
  .hero__copy h1,
  .hero__copy h1 span,
  .hero__role,
  .hero__subtitle {
    width: calc(100vw - 80px) !important;
    max-width: calc(100vw - 80px) !important;
  }

  h1 {
    font-size: 31px;
    line-height: 1.06;
    letter-spacing: -0.03em;
  }

  h2 {
    font-size: 23px;
    line-height: 1.12;
    letter-spacing: -0.02em;
  }

  .hero__role,
  .hero__subtitle {
    font-size: 15px;
    max-width: 100%;
    word-break: break-word;
  }

  .hero__role span {
    display: block;
  }

  .hero__subtitle span {
    display: block;
  }

  .hero__actions,
  .hero__actions .button {
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 15px;
  }

  .hero__actions {
    width: 100% !important;
    max-width: 100% !important;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .metric--main strong {
    font-size: 34px;
  }

  .section {
    padding: 64px 0;
  }

  .section__head {
    margin-bottom: 28px;
    width: 100%;
    max-width: 100%;
  }

  .section__head h2,
  .section__head p:not(.eyebrow) {
    width: 100%;
    max-width: 100%;
  }

  .section__head p span {
    display: block;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .niche-list div {
    font-size: 20px;
  }

  .lead-form,
  .article-entry,
  .fit-card,
  .cta-strip,
  .section-cta,
  .about-card,
  .legal-content,
  .faq-list details,
  .case-feature__hero,
  .case-feature__card,
  .case-feature__result,
  .case-feature__ads,
  .case-feature__cta {
    padding: 20px;
  }

  .about-card {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .about-card__media {
    padding: 24px 20px 0;
  }

  .about-card__media img {
    width: min(240px, 72vw);
    height: min(240px, 72vw);
    min-height: 0;
  }

  .about-card__content {
    padding: 18px 20px 22px;
  }

  .about-card__actions .button {
    width: 100%;
  }

  .case-feature__hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .case-feature__stats--primary div:first-child strong,
  .case-feature__stats--primary div:nth-child(2) strong {
    font-size: 30px;
  }

  .case-feature__media img {
    height: auto;
    max-height: none;
  }

  .case-feature .container,
  .case-feature__hero,
  .case-feature__card,
  .case-feature__result,
  .case-feature__ads,
  .case-feature__cta,
  .case-feature__media,
  .case-feature__media figure {
    width: 100%;
    max-width: 100%;
  }

  .case-feature .container {
    width: min(calc(100% - 48px), 1160px);
    max-width: min(calc(100% - 48px), 1160px);
  }

  .case-feature__hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: 27px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .case-feature__hero p:not(.eyebrow) {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .case-page .case-feature__hero h1,
  .case-page .case-feature__hero p:not(.eyebrow),
  .case-page .case-feature__card h3,
  .case-page .case-feature__card p,
  .case-page .case-feature__card li,
  .case-page .case-feature__result h3,
  .case-page .case-feature__result p,
  .case-page .case-feature__result dt,
  .case-page .case-feature__result dd,
  .case-page .case-feature__ads-head,
  .case-page .case-feature__cta h3,
  .case-page .case-feature__cta p {
    max-width: 280px;
    overflow-wrap: anywhere;
  }

  .case-page .case-feature__hero,
  .case-page .case-feature__card,
  .case-page .case-feature__result,
  .case-page .case-feature__ads,
  .case-page .case-feature__cta {
    max-width: 340px;
  }

  .case-feature__ads img {
    max-height: none;
  }

  .case-feature__cta .button {
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
    text-align: center;
  }

  .cta-strip .button,
  .section-cta .button {
    width: 100%;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .case-feature__result dl {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .case-feature__result dd {
    margin-bottom: 12px;
  }

  .footer .container {
    flex-direction: column;
  }

  .mobile-telegram {
    position: fixed;
    z-index: 30;
    left: 16px;
    right: 16px;
    bottom: 12px;
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--blue);
    border-radius: var(--radius);
    box-shadow: 0 14px 34px rgba(24, 87, 216, 0.32);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
  }

  .cookie-banner {
    right: 12px;
    bottom: 76px;
    gap: 10px;
    padding: 14px;
  }

  .cookie-banner p {
    font-size: 12px;
    line-height: 1.42;
  }

  .cookie-banner .button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .lead-modal {
    align-items: end;
    padding: 12px;
  }

  .lead-modal__dialog {
    max-height: calc(100vh - 24px);
    padding: 22px;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(calc(100% - 32px), 1160px);
  }

  h1 {
    font-size: 30px;
  }

  .button {
    padding: 0 16px;
  }
}
