:root {
  --navy: #071c33;
  --navy-2: #0d2947;
  --ink: #132238;
  --muted: #5c6878;
  --orange: #ff6519;
  --orange-dark: #e95008;
  --cream: #fff7f1;
  --soft: #f5f7fa;
  --line: #e2e7ee;
  --white: #ffffff;
  --green: #178547;
  --shadow: 0 18px 50px rgba(4, 24, 44, .10);
  --radius: 22px;
  --radius-sm: 14px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed; left: 16px; top: 12px; transform: translateY(-160%);
  background: #fff; color: var(--navy); padding: 10px 14px; border-radius: 10px; z-index: 999;
}
.skip-link:focus { transform: translateY(0); }
.shell { width: var(--shell); margin-inline: auto; }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 80% 18%, rgba(255,101,25,.13), transparent 28%),
    radial-gradient(circle at 20% 0%, rgba(53,118,180,.22), transparent 31%),
    linear-gradient(135deg, #06182c, #082643 68%, #071b31);
  padding: 78px 0 64px;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -120px 50%; height: 240px;
  background: rgba(255,255,255,.03); filter: blur(0); transform: rotate(-5deg);
}
.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.eyebrow, .kicker {
  margin: 0 0 12px; font-size: .78rem; line-height: 1; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
}
.eyebrow { color: #ffb38c; }
.kicker { color: var(--orange); }
.kicker--light { color: #ffc3a5; }
.hero h1 { margin: 0; font-size: clamp(2.8rem, 5.1vw, 5.4rem); line-height: .98; letter-spacing: -.045em; max-width: 760px; }
.hero h1 span { color: var(--orange); }
.hero__lead { max-width: 660px; color: #d8e1ec; font-size: clamp(1.03rem, 1.6vw, 1.22rem); margin: 24px 0 0; }
.hero__benefits { margin: 24px 0 0; color: #fff; font-size: clamp(1rem, 1.35vw, 1.13rem); font-weight: 850; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px;
  padding: 13px 20px; border: 1px solid transparent; border-radius: 12px; font-weight: 900; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 12px 28px rgba(255,101,25,.26); }
.btn--primary:hover { background: var(--orange-dark); box-shadow: 0 16px 36px rgba(255,101,25,.34); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.46); background: rgba(255,255,255,.04); }
.btn--ghost:hover { background: rgba(255,255,255,.09); }
.btn--wide { width: 100%; }
.hero-gallery { display: grid; grid-template-columns: .9fr 1.1fr; grid-template-rows: 215px 185px; gap: 12px; }
.hero-photo { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 32px rgba(0,0,0,.24); border: 1px solid rgba(255,255,255,.08); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo--a img { object-position: center; }
.hero-photo--b img { object-position: center 58%; }
.hero-photo--c img { object-position: center; }
.hero-photo--d img { object-position: center; }

.section { padding: 84px 0; }
.section--soft { background: var(--soft); }
.section--split { background: linear-gradient(180deg, #fff, #fbfcfd); }
.split-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 64px; align-items: start; }
h2 { margin: 0; font-size: clamp(2rem, 3.2vw, 3.15rem); line-height: 1.07; letter-spacing: -.035em; color: var(--navy); }
h3 { margin: 0; line-height: 1.25; color: var(--navy); }
.section-copy { color: var(--muted); max-width: 620px; }

.problem-list { display: grid; gap: 10px; margin-top: 28px; }
.problem-item { display: flex; align-items: center; gap: 13px; background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 14px 16px; box-shadow: 0 6px 18px rgba(13,41,71,.04); font-weight: 720; }
.problem-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 10px; background: var(--cream); color: var(--orange); font-weight: 900; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.service-card { padding: 20px 16px; min-height: 176px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 7px 20px rgba(13,41,71,.04); text-align: center; }
.service-card h3 { font-size: 1rem; margin-top: 10px; }
.service-card p { color: var(--muted); font-size: .88rem; margin: 8px 0 0; }
.service-icon { width: 46px; height: 46px; margin: 0 auto; display: grid; place-items: center; color: var(--orange); border: 2px solid #ffb086; border-radius: 13px; font-size: 1.25rem; font-weight: 900; }
.fineprint { margin: 18px 0 0; color: var(--muted); font-size: .92rem; }

.section-heading { display: grid; grid-template-columns: 1fr .9fr; gap: 40px; align-items: end; margin-bottom: 30px; }
.section-heading > p { margin: 0; color: var(--muted); }
.example-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.example-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.example-card__media { height: 220px; background: #e8edf2; overflow: hidden; }
.example-card__media img { width: 100%; height: 100%; object-fit: cover; }
.example-card__body { padding: 22px; }
.example-card h3 { margin-top: 11px; font-size: 1.22rem; }
.example-card p { margin: 12px 0 0; font-size: .93rem; }
.tag { display: inline-block; padding: 6px 9px; background: var(--cream); color: var(--orange-dark); border-radius: 8px; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 900; }
.before { color: var(--muted); }
.result { color: #13693a; }
.heating-visual { display: grid; place-items: center; background: linear-gradient(135deg, #eaf0f5, #f8fafc); }
.heating-visual svg { width: 100%; height: 100%; }

.process-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: start; }
.steps { margin-top: 28px; display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 15px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step__number { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 900; box-shadow: 0 8px 20px rgba(255,101,25,.25); }
.step h3 { font-size: 1.08rem; }
.step p { color: var(--muted); margin: 6px 0 0; }
.why-card { position: sticky; top: 24px; background: var(--navy); color: #dfe8f2; border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
.why-card h2 { color: #fff; margin-top: 15px; }
.why-card strong { color: #fff; }
.why-card__pill { display: inline-block; color: #fff; background: rgba(255,101,25,.2); border: 1px solid rgba(255,101,25,.45); padding: 7px 10px; border-radius: 999px; font-size: .78rem; font-weight: 900; }
.text-link { color: #ffab7d; font-weight: 900; text-decoration: none; }

.section--cta { background: var(--navy); color: #dfe8f2; }
.section--cta h2 { color: #fff; }
.lead-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.lead-copy > p:not(.kicker) { font-size: 1.1rem; color: #cdd9e6; }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #ff9c69; font-weight: 900; }
.lead-form { background: #fff; color: var(--ink); border-radius: 24px; padding: 26px; box-shadow: 0 22px 60px rgba(0,0,0,.22); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form label { display: grid; gap: 7px; margin-bottom: 14px; color: #364659; font-weight: 800; font-size: .86rem; }
.lead-form input, .lead-form textarea { width: 100%; border: 1px solid #d7dee7; border-radius: 10px; padding: 12px 13px; color: var(--ink); background: #fff; outline: none; transition: border .2s, box-shadow .2s; }
.lead-form textarea { resize: vertical; min-height: 108px; }
.lead-form input:focus, .lead-form textarea:focus { border-color: #ff9d6d; box-shadow: 0 0 0 4px rgba(255,101,25,.10); }
.lead-form [aria-invalid="true"] { border-color: #c93838; }
.consent { display: flex !important; grid-template-columns: auto 1fr; align-items: flex-start; gap: 9px !important; font-weight: 550 !important; font-size: .78rem !important; color: var(--muted) !important; }
.consent input { width: auto; margin-top: 3px; }
.form-note { text-align: center; color: var(--muted); font-size: .78rem; margin: 10px 0 0; }
.form-status { margin-top: 10px; min-height: 1.2em; font-size: .84rem; font-weight: 750; }
.form-status.is-error { color: #b42318; }
.form-status.is-info { color: #8a4b08; }

.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }
.accordion { display: grid; gap: 10px; }
.accordion__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 0; background: transparent; color: var(--navy); font-weight: 850; text-align: left; padding: 17px 18px; }
.accordion__trigger span:last-child { color: var(--orange); font-size: 1.4rem; transition: transform .2s; }
.accordion__trigger[aria-expanded="true"] span:last-child { transform: rotate(45deg); }
.accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.accordion__panel > p { overflow: hidden; margin: 0; padding: 0 18px; color: var(--muted); }
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__item.is-open .accordion__panel > p { padding-bottom: 18px; }

.footer { background: #06182c; color: #dce6f0; padding: 42px 0 22px; }
.footer__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 50px; align-items: center; }
.about-card { display: grid; grid-template-columns: 82px 1fr; gap: 18px; align-items: center; }
.about-card__photo { width: 82px; height: 82px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.15); }
.about-card h2 { color: #fff; font-size: 1.45rem; }
.about-card p { margin: 7px 0 0; color: #b8c8d9; max-width: 590px; }
.footer-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.footer-trust div { display: grid; gap: 3px; }
.footer-trust span { color: var(--orange); font-size: 1.35rem; }
.footer-trust strong { color: #fff; }
.footer-trust small { color: #9eb1c5; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #91a6bb; font-size: .82rem; }
.footer__bottom nav { display: flex; gap: 18px; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: #fff; }
.mobile-cta { display: none; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.legal { min-height: 100vh; background: var(--soft); padding: 50px 0 80px; }
.legal__card { width: min(840px, calc(100% - 40px)); margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 5vw, 54px); box-shadow: var(--shadow); }
.legal__card h1 { color: var(--navy); font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1; margin: 0 0 24px; }
.legal__card h2 { font-size: 1.35rem; margin-top: 30px; }
.legal__card p, .legal__card li { color: var(--muted); }
.todo { padding: 13px 15px; background: #fff4ec; color: #8b3b0e !important; border: 1px solid #ffd2b9; border-radius: 12px; font-weight: 750; }
.back-link { display: inline-block; margin-bottom: 24px; color: var(--orange-dark); font-weight: 900; text-decoration: none; }

@media (max-width: 980px) {
  .hero { padding-top: 52px; }
  .hero__grid, .split-grid, .process-grid, .lead-grid, .faq-grid, .footer__grid { grid-template-columns: 1fr; }
  .hero-gallery { order: -1; grid-template-rows: 160px 140px; }
  .hero__grid { gap: 34px; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .example-grid { grid-template-columns: 1fr 1fr; }
  .why-card { position: static; }
  .footer-trust { max-width: 520px; }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 26px, 1180px); }
  .hero { padding: 24px 0 50px; }
  .hero-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 130px 110px; gap: 8px; }
  .hero h1 { font-size: clamp(2.6rem, 12.4vw, 4rem); }
  .hero__lead { font-size: 1rem; }
  .hero__actions { display: grid; }
  .btn { width: 100%; }
  .section { padding: 60px 0; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card { min-height: 150px; padding: 17px 12px; }
  .example-grid { grid-template-columns: 1fr; }
  .example-card__media { height: 200px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .lead-form { padding: 18px; }
  .footer-trust { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .footer-trust small { font-size: .7rem; }
  .footer__bottom { padding-bottom: 56px; flex-direction: column; }
  .mobile-cta {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; justify-content: center;
    padding: 13px 18px; background: var(--orange); color: #fff; border-radius: 14px; text-decoration: none; font-weight: 900;
    box-shadow: 0 12px 35px rgba(0,0,0,.25);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .accordion__panel { transition: none; }
}
