@font-face {
  font-family: "Anek Latin";
  src: url("fonts/anek-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-stretch: 75% 125%;
  font-display: swap;
}

:root {
  --paper: #F3F7F6;
  --frost: #DDEBE9;
  --line: #C6D9D6;
  --ink: #14302C;
  --muted: #4E6763;
  --on-ink-muted: #B8CDC9;
  --cool: #237A7F;
  --cool-deep: #1A5F63;
  --heat: #C2730F;
  --white: #FFFFFF;
  --font: "Anek Latin", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-stretch: 100%;
}
img, svg { display: block; }
a { color: var(--cool-deep); }
:focus-visible { outline: 3px solid var(--cool); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 30; padding: 0.6rem 1rem; background: var(--ink); color: var(--white); border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-stretch: 88%; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-stretch: 88%; }
h3 { font-size: 1.3125rem; font-stretch: 95%; }
p { margin: 0; }

/* ---------- Header and navigation ---------- */
.site-header { position: relative; z-index: 15; padding: 1rem 0; }
.header-row { display: flex; align-items: center; gap: 0.75rem; }
.brand { display: flex; align-items: baseline; gap: 0.5rem; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand-name { font-size: 1.5rem; font-weight: 700; font-stretch: 80%; letter-spacing: -0.01em; }
.brand-place { font-size: 0.9375rem; color: var(--muted); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.125rem; }
.site-nav a { display: block; padding: 0.55rem 0.7rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.site-nav a:hover { background: var(--frost); }
.site-nav a[aria-current="page"] { color: var(--cool-deep); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--cool); }
.header-call {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.5rem 0.9rem;
  border: 1.5px solid var(--line); border-radius: 10px;
  font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.header-call:hover { border-color: var(--cool); }
.header-call .icon { width: 1.2rem; height: 1.2rem; color: var(--cool); }
.nav-toggle { display: none; }

@media (max-width: 959px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; padding: 0.5rem 0.85rem;
    border: 1.5px solid var(--line); border-radius: 10px; background: transparent;
    font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
  }
  .nav-toggle .icon { width: 1.25rem; height: 1.25rem; }
  .nav-toggle[aria-expanded="true"] { border-color: var(--cool); background: var(--frost); }
  .header-call { padding: 0.5rem 0.7rem; }
  .header-call .call-text { display: none; }
  .js .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    padding: 0.25rem var(--gutter) 1rem; background: var(--paper);
    border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px -16px rgba(20, 48, 44, 0.25);
  }
  .js .site-nav.is-open { display: block; }
  .no-js .header-row { flex-wrap: wrap; }
  .no-js .site-nav { order: 5; width: 100%; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: 0.85rem 0.125rem; font-size: 1.125rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .site-nav li:last-child a { border-bottom: 0; }
  .site-nav a:hover { background: transparent; color: var(--cool-deep); }
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.7rem 1.25rem;
  border-radius: 10px; border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: 1.0625rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn .icon { width: 1.25rem; height: 1.25rem; }
.btn-primary { background: var(--cool); color: var(--white); }
.btn-primary:hover { background: var(--cool-deep); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--cool); }
.text-link { display: inline-block; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* ---------- Home hero ---------- */
.hero { padding: clamp(1.5rem, 5vw, 4.5rem) 0 clamp(3.5rem, 8vw, 6.5rem); }
.hero .wrap { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.temps { order: -1; display: flex; align-items: flex-start; gap: clamp(0.5rem, 2vw, 1.25rem); margin: 0; }
.temp { display: flex; flex-direction: column; }
.temp-num {
  font-size: clamp(6rem, 29vw, 12.5rem);
  font-weight: 800; font-stretch: 75%;
  line-height: 0.82; letter-spacing: -0.035em;
  font-variant-numeric: lining-nums;
}
.temp-out .temp-num { color: var(--heat); }
.temp-in .temp-num { color: var(--cool); }
.temp-cap { margin-top: 0.6rem; font-size: 0.9375rem; line-height: 1.3; color: var(--muted); max-width: 14ch; text-wrap: balance; }
.temp-arrow { width: clamp(2.25rem, 7vw, 4.5rem); height: auto; margin-top: clamp(2.4rem, 10vw, 5rem); overflow: visible; }
.temp-arrow path { fill: none; stroke: url(#cooling); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.hero-text h1 { max-width: 18ch; }
.lede { margin-top: 1rem; font-size: 1.1875rem; color: var(--muted); max-width: 44ch; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.05fr 1fr; } }
@media (prefers-reduced-motion: no-preference) {
  .temp-arrow path { stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw .7s .35s ease-out forwards; }
  .temp-in { opacity: 0; transform: translateY(6px); animation: settle .6s .9s ease-out forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes settle { to { opacity: 1; transform: none; } }
}

/* ---------- Home sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-intro { max-width: 46ch; margin-top: 0.75rem; color: var(--muted); }
.services { border-top: 1px solid var(--line); }
.svc-grid { display: grid; gap: 1.25rem; margin-top: 2.25rem; }
.svc-main { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.svc-main h3 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); font-stretch: 88%; margin-top: 1.25rem; }
.svc-main p { margin-top: 0.75rem; max-width: 46ch; }
.svc-main .text-link { margin-top: 1.25rem; }
.svc-badge { display: inline-flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; border-radius: 12px; background: var(--frost); color: var(--cool-deep); }
.svc-side { display: grid; }
.svc { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.5rem 0; }
.svc + .svc { border-top: 1px solid var(--line); }
.svc > .icon { color: var(--cool); margin-top: 0.15rem; }
.svc p { margin-top: 0.4rem; color: var(--muted); max-width: 42ch; }
.svc .text-link { margin-top: 0.6rem; }
@media (min-width: 900px) {
  .svc-grid { grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
  .svc-side .svc:first-child { padding-top: 0; }
  .svc-side .svc:last-child { padding-bottom: 0; }
}
.segments { background: var(--frost); }
.seg-grid { display: grid; gap: 2rem; margin-top: 2.25rem; }
.seg { display: grid; grid-template-columns: auto 1fr; gap: 1rem; }
.seg .icon { width: 2rem; height: 2rem; color: var(--cool-deep); }
.seg p { margin-top: 0.4rem; color: var(--muted); max-width: 36ch; }
@media (min-width: 720px) { .seg-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.steps { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; gap: 1.75rem; counter-reset: step; }
.step { counter-increment: step; display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; }
.step::before {
  content: counter(step);
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--cool); color: var(--cool-deep);
  font-weight: 700; font-size: 1.125rem;
}
.step p { margin-top: 0.3rem; color: var(--muted); max-width: 34ch; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.75rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-stretch: 82%; max-width: 15ch; }
.page-hero .actions { margin-top: 1.5rem; }
.split { display: grid; gap: 1.25rem 3rem; padding: clamp(2.75rem, 6vw, 4.5rem) 0; border-bottom: 1px solid var(--line); }
.split:last-child { border-bottom: 0; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.split > h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.split-body > * + * { margin-top: 1.25rem; }
.split-body > p { max-width: 62ch; }
.split-body .muted { color: var(--muted); }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.ticks li { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.6rem; }
.ticks li::before { content: ""; width: 0.5rem; height: 0.5rem; margin-top: 0.6rem; border-radius: 50%; background: var(--cool); justify-self: center; }
@media (min-width: 640px) { .ticks-2 { grid-template-columns: 1fr 1fr; gap: 0.7rem 2rem; } }

.points { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .points { grid-template-columns: 1fr 1fr; gap: 1.75rem 2.5rem; } }
.point h3 { font-size: 1.1875rem; }
.point p { margin-top: 0.35rem; color: var(--muted); }

.note { max-width: 62ch; padding: 1rem 1.25rem; border-radius: 12px; background: var(--frost); }

.guide { width: 100%; max-width: 34rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.guide caption { text-align: left; color: var(--muted); font-size: 0.9375rem; padding-bottom: 0.5rem; }
.guide th, .guide td { text-align: left; padding: 0.8rem 1rem 0.8rem 0; border-bottom: 1px solid var(--line); }
.guide thead th { font-weight: 600; font-size: 0.9375rem; color: var(--muted); }
.guide td:last-child { font-weight: 600; }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.05rem 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.125rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.6rem; line-height: 1; color: var(--cool); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 62ch; padding-bottom: 1.2rem; color: var(--muted); }

.glance { margin: 0; max-width: 42rem; }
.glance div { display: grid; grid-template-columns: minmax(7rem, 10rem) 1fr; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.glance div:first-child { border-top: 1px solid var(--line); }
.glance dt { color: var(--muted); }
.glance dd { margin: 0; font-weight: 600; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 2.5rem; padding-top: clamp(2.75rem, 6vw, 4.5rem); padding-bottom: clamp(2.75rem, 6vw, 4.5rem); }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 0.85fr 1fr; gap: 4rem; align-items: start; } }
.reach { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.reach li { display: grid; grid-template-columns: auto 1fr; gap: 0.875rem; align-items: start; }
.reach .icon { color: var(--cool); margin-top: 0.1rem; }
.reach-label { display: block; font-size: 0.9375rem; color: var(--muted); }
.reach a, .reach-value { font-weight: 600; font-size: 1.125rem; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.reach a:hover { color: var(--cool-deep); text-decoration: underline; }
.reach-note { margin-top: 1.75rem; color: var(--muted); max-width: 40ch; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.25rem, 3.5vw, 2.25rem); }
.form-card > h2 { font-size: 1.5rem; font-stretch: 90%; margin-bottom: 1.25rem; }
.form-grid { display: grid; gap: 1.125rem; }
.field { display: grid; gap: 0.4rem; }
.field label, .field legend { font-weight: 600; font-size: 1rem; }
.optional { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 8px;
  padding: 0.7rem 0.85rem; min-height: 3rem;
}
textarea { min-height: 7rem; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E6763' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 1.1rem; padding-right: 2.5rem; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--cool); outline-offset: 1px; border-color: var(--cool); }
::placeholder { color: #7D918E; }
fieldset { border: 0; margin: 0; padding: 0; }
.choice-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.4rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.5rem 1.1rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 500; }
.choice input:checked + span { border-color: var(--cool); background: var(--frost); color: var(--cool-deep); font-weight: 600; }
.choice input:focus-visible + span { outline: 3px solid var(--cool); outline-offset: 2px; }
@media (min-width: 560px) { .two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 1.125rem; } }
.form-note { font-size: 0.9375rem; color: var(--muted); }
.form-status { font-size: 1rem; color: #9A3412; }
.form-status:empty { display: none; }
.form-done h3 { font-size: 1.5rem; font-stretch: 90%; }
.form-done p { margin-top: 0.6rem; color: var(--muted); }
.form-done:focus { outline: none; }
.hp { display: none; }

/* ---------- Closing call to action ---------- */
.cta-band { padding: clamp(3rem, 7vw, 4.5rem) 0; background: var(--ink); color: var(--paper); }
.cta-band .wrap { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr auto; gap: 3rem; } }
.cta-band p { margin-top: 0.6rem; color: var(--on-ink-muted); max-width: 46ch; }
.cta-band .actions { margin-top: 0; }
.cta-band .btn-primary { background: var(--paper); color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--frost); }
.cta-band .btn-line { color: var(--paper); border-color: rgba(243, 247, 246, 0.35); }
.cta-band .btn-line:hover { border-color: var(--paper); }
.cta-band :focus-visible { outline-color: var(--paper); }

/* ---------- Footer ---------- */
.site-footer { padding: 3rem 0 2rem; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--muted); }
.cta-band + .site-footer { border-top: 0; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.3fr; } }
.footer-brand { font-size: 1.375rem; font-weight: 700; font-stretch: 80%; color: var(--ink); }
.footer-grid p { margin-top: 0.5rem; max-width: 30ch; }
.footer-grid h2 { margin-bottom: 0.75rem; font-size: 1rem; font-stretch: 100%; letter-spacing: 0; color: var(--ink); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--cool-deep); text-decoration: underline; }
.footer-base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* ---------- Simple pages (thanks, 404) ---------- */
.simple { padding: clamp(3rem, 10vw, 7rem) 0; }
.simple h1 { font-size: clamp(2.25rem, 6vw, 3.25rem); font-stretch: 85%; }
.simple p { margin-top: 0.9rem; color: var(--muted); max-width: 44ch; }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 719px) {
  body { padding-bottom: 4.75rem; }
  .hero .actions .btn-line { display: none; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    padding: 0.625rem 0.875rem calc(0.625rem + env(safe-area-inset-bottom));
    background: rgba(243, 247, 246, 0.96); border-top: 1px solid var(--line);
    backdrop-filter: blur(6px);
  }
  .callbar .btn { min-height: 3.1rem; }
}
