@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Unbounded:wght@500;600&display=swap');

:root {
  --ink: #15201b;
  --ink-soft: #415048;
  --paper: #f3f0e8;
  --paper-deep: #e7e1d4;
  --white: #fffdf7;
  --lime: #c7ef64;
  --orange: #ee7c49;
  --blue: #80aec0;
  --line: rgba(21, 32, 27, .17);
  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.site-header {
  width: min(1440px, calc(100% - 56px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}

.wordmark { display: inline-flex; align-items: center; gap: 13px; font-weight: 700; line-height: 1.05; }
.wordmark small { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.wordmark-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--display);
  font-size: 13px;
}

nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 600; }
nav a:not(.nav-cta) { position: relative; }
nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: var(--ink); transition: right .2s ease; }
nav a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 13px 20px; border: 1px solid var(--ink); border-radius: 999px; transition: .2s ease; }
.nav-cta:hover { color: var(--paper); background: var(--ink); }

.hero {
  width: min(1440px, calc(100% - 56px));
  min-height: 720px;
  margin: 0 auto;
  padding: 76px 0 68px;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 64px;
}

.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-number { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 30px; color: var(--ink-soft); }
.eyebrow span { width: 30px; height: 2px; background: var(--orange); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 800px;
  margin-bottom: 28px;
  font-family: var(--display);
  font-size: clamp(48px, 5.4vw, 82px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 600;
}
h1 em { color: var(--orange); font-style: normal; }
.hero-lead { max-width: 680px; margin-bottom: 34px; color: var(--ink-soft); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 50px; }
.button { min-height: 54px; padding: 0 24px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--paper); background: var(--ink); }
.button.secondary { border: 1px solid var(--line); }
.hero-facts { margin: 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; list-style: none; }
.hero-facts b, .hero-facts span { display: block; }
.hero-facts b { margin-bottom: 5px; font-size: 13px; }
.hero-facts span { color: var(--ink-soft); font-size: 12px; }

.system-visual {
  min-height: 600px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 50% 50% 8px 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(199, 239, 100, .5), transparent 35%),
    linear-gradient(145deg, #e2decf, #f7f4eb);
}
.system-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 60px 60px; opacity: .25; }
.visual-orbit { position: absolute; left: 50%; top: 46%; border: 1px solid rgba(21, 32, 27, .2); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-one { width: 430px; height: 430px; }
.orbit-two { width: 560px; height: 560px; }
.house-card { position: absolute; left: 50%; top: 46%; width: 190px; transform: translate(-50%, -50%); filter: drop-shadow(0 24px 30px rgba(21, 32, 27, .16)); }
.house-roof { display: block; width: 150px; height: 150px; margin: 0 auto -72px; background: var(--ink); transform: rotate(45deg); border-radius: 5px; }
.house-body { min-height: 170px; padding: 80px 25px 24px; position: relative; color: var(--paper); background: var(--ink); text-align: center; border-radius: 4px; }
.house-body strong, .house-body small { display: block; position: relative; z-index: 2; }
.house-body strong { margin-top: 15px; font-family: var(--display); font-size: 16px; }
.house-body small { margin-top: 7px; color: #b9c2bd; font-size: 9px; }
.window { display: inline-block; width: 28px; height: 33px; margin: 0 4px; border: 2px solid #839089; border-radius: 2px; }
.window.warm { border-color: var(--orange); background: rgba(238, 124, 73, .22); }
.system-node { position: absolute; min-width: 126px; padding: 12px 15px; display: flex; align-items: center; gap: 10px; background: rgba(255, 253, 247, .9); border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 10px 30px rgba(21, 32, 27, .08); font-size: 12px; font-weight: 700; backdrop-filter: blur(8px); }
.system-node i { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-deep); font-size: 9px; font-style: normal; }
.node-heat { left: 7%; top: 19%; }
.node-water { right: 5%; top: 24%; }
.node-drain { left: 4%; bottom: 23%; }
.node-boiler { right: 5%; bottom: 18%; }
.node-heat i { background: #f5c6b1; }
.node-water i { background: #bfdae4; }
.node-drain i { background: #d5ddc3; }
.node-boiler i { background: var(--lime); }
.visual-caption { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: var(--ink-soft); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.section { width: min(1440px, calc(100% - 56px)); margin: 0 auto; padding: 118px 0; }
.section-heading { margin-bottom: 62px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.section-number { display: block; margin-bottom: 22px; color: var(--orange); }
.section-heading h2, .price-note h2, .request-copy h2 { margin-bottom: 0; font-family: var(--display); font-size: clamp(34px, 4vw, 58px); line-height: 1.12; letter-spacing: -.045em; }
.section-heading > p { max-width: 540px; margin-bottom: 5px; color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.service-card { min-height: 380px; padding: 30px; border: 1px solid var(--line); border-right: 0; display: flex; flex-direction: column; transition: transform .25s ease, background .25s ease; }
.service-card:last-child { border-right: 1px solid var(--line); }
.service-card:hover { position: relative; z-index: 2; transform: translateY(-8px); }
.service-card .card-index { color: var(--ink-soft); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.service-card h3 { margin: 70px 0 18px; font-family: var(--display); font-size: 22px; line-height: 1.2; letter-spacing: -.03em; }
.service-card p { color: var(--ink-soft); font-size: 14px; }
.card-line { height: 1px; margin-top: auto; margin-bottom: 18px; background: var(--line); }
.service-card small { color: var(--ink-soft); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.accent-card { background: var(--lime); }
.dark-card { color: var(--paper); background: var(--ink); }
.dark-card p, .dark-card small, .dark-card .card-index { color: #bac4be; }
.dark-card .card-line { background: rgba(255, 255, 255, .2); }

.price-note { padding: 55px 58px; display: grid; grid-template-columns: .4fr 1.5fr .5fr; align-items: center; gap: 45px; color: var(--paper); background: var(--ink); }
.price-badge { width: 120px; height: 120px; display: grid; place-items: center; border: 1px solid rgba(199, 239, 100, .45); border-radius: 50%; color: var(--lime); font-family: var(--display); font-size: 12px; text-align: center; transform: rotate(-8deg); }
.price-note h2 { margin-bottom: 18px; font-size: clamp(27px, 3.2vw, 44px); }
.price-note p { max-width: 750px; margin-bottom: 0; color: #bac4be; }
.price-note > a { justify-self: end; padding-bottom: 7px; border-bottom: 1px solid var(--lime); font-size: 13px; font-weight: 700; }
.price-note > a span { color: var(--lime); }

.section-heading.compact { grid-template-columns: 1fr; }
.timeline { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.timeline li { min-height: 150px; padding: 30px 0; display: grid; grid-template-columns: 100px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.timeline li > span { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--orange); font-size: 11px; font-weight: 700; }
.timeline li div { display: grid; grid-template-columns: .65fr 1fr; gap: 80px; align-items: center; }
.timeline h3 { margin: 0; font-family: var(--display); font-size: clamp(20px, 2.1vw, 29px); letter-spacing: -.035em; }
.timeline p { max-width: 600px; margin: 0; color: var(--ink-soft); }

.request-section { padding: 100px max(28px, calc((100vw - 1440px) / 2)); display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; color: var(--paper); background: #213029; }
.section-number.light { color: var(--lime); }
.request-copy h2 { margin-bottom: 25px; }
.request-copy > p { max-width: 460px; color: #bdc8c1; font-size: 17px; }
.request-tip { max-width: 480px; margin-top: 55px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); }
.request-tip b, .request-tip span { display: block; }
.request-tip b { margin-bottom: 7px; color: var(--lime); }
.request-tip span { color: #bdc8c1; font-size: 13px; }
.lead-form { padding: 38px; color: var(--ink); background: var(--white); border-radius: 5px; box-shadow: 0 30px 80px rgba(0, 0, 0, .15); }
.lead-form label { display: block; margin-bottom: 20px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field-row.three { grid-template-columns: 1fr 1.1fr .7fr; }
input, select, textarea { width: 100%; margin-top: 8px; padding: 13px 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(21, 32, 27, .25); border-radius: 0; outline: 0; font-size: 15px; font-weight: 500; text-transform: none; }
textarea { min-height: 95px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-bottom-color: var(--orange); }
.project-choice { margin: 5px 0 22px; padding: 17px 0; display: flex; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); font-size: 13px; }
.project-choice > span { margin-right: auto; font-weight: 700; }
.project-choice label { margin: 0; display: flex; align-items: center; gap: 7px; font-size: 12px; text-transform: none; }
.project-choice input, .consent input { width: 16px; margin: 0; accent-color: var(--ink); }
.consent { display: flex !important; align-items: center; gap: 9px; color: var(--ink-soft); font-size: 10px !important; font-weight: 500 !important; letter-spacing: 0 !important; text-transform: none !important; }
.button.submit { width: 100%; border: 0; color: var(--ink); background: var(--lime); cursor: pointer; }
.button.submit span { margin: auto; }
.button.submit i { font-style: normal; }
.button.submit:disabled { cursor: wait; opacity: .65; }
.form-status { min-height: 22px; margin: 14px 0 -5px; color: var(--ink-soft); font-size: 12px; text-align: center; }
.form-status.success { color: #2c6b41; }
.form-status.error { color: #a74132; }

footer { min-height: 150px; padding: 35px max(28px, calc((100vw - 1440px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--paper); background: #15201b; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-mark small { color: #8f9d95; }
footer p { margin: 0; color: #8f9d95; font-size: 11px; }
footer > a { color: var(--lime); font-size: 12px; font-weight: 700; }

@media (max-width: 1100px) {
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding-top: 20px; }
  .system-visual { min-height: 560px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(2) { border-right: 1px solid var(--line); }
  .service-card:nth-child(n+3) { border-top: 0; }
  .price-note { grid-template-columns: 140px 1fr; }
  .price-note > a { grid-column: 2; justify-self: start; }
  .request-section { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header, .hero, .section { width: min(100% - 32px, 1440px); }
  .site-header { min-height: 74px; }
  .wordmark { font-size: 12px; }
  .wordmark-mark { width: 36px; height: 36px; font-size: 11px; }
  nav a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 10px 14px; font-size: 11px; }
  .hero { padding: 50px 0; gap: 40px; }
  h1 { font-size: clamp(39px, 13vw, 60px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-facts { grid-template-columns: 1fr; gap: 14px; }
  .system-visual { min-height: 480px; }
  .orbit-one { width: 330px; height: 330px; }
  .orbit-two { width: 440px; height: 440px; }
  .house-card { transform: translate(-50%, -50%) scale(.8); }
  .system-node { min-width: 105px; padding: 9px; font-size: 10px; }
  .node-heat { left: 2%; top: 14%; }
  .node-water { right: 2%; top: 20%; }
  .node-drain { left: 2%; bottom: 20%; }
  .node-boiler { right: 2%; bottom: 14%; }
  .section { padding: 78px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 38px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 310px; border-right: 1px solid var(--line); border-bottom: 0; }
  .service-card:last-child { border-bottom: 1px solid var(--line); }
  .service-card h3 { margin-top: 45px; }
  .price-note { width: 100%; padding: 55px 24px; grid-template-columns: 1fr; }
  .price-badge { width: 90px; height: 90px; }
  .price-note > a { grid-column: auto; }
  .timeline li { grid-template-columns: 60px 1fr; align-items: start; }
  .timeline li div { grid-template-columns: 1fr; gap: 12px; }
  .request-section { padding: 75px 16px; gap: 45px; }
  .lead-form { padding: 24px 18px; }
  .field-row, .field-row.three { grid-template-columns: 1fr; gap: 0; }
  .project-choice { align-items: flex-start; flex-wrap: wrap; }
  .project-choice > span { width: 100%; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
