:root {
  --navy: #082f63;
  --navy-deep: #041e40;
  --orange: #ff6b00;
  --orange-soft: #fff1e6;
  --ink: #14253a;
  --muted: #607086;
  --paper: #ffffff;
  --cloud: #f4f7fa;
  --line: #dfe7ef;
  --shadow: 0 24px 70px rgba(8, 47, 99, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding: 10px clamp(22px, 5vw, 76px);
  border-bottom: 1px solid rgba(8, 47, 99, .08);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
}
.brand { color: var(--navy); font-size: 1.35rem; font-weight: 850; letter-spacing: -.055em; text-decoration: none; }
.brand b, .footer-brand b { color: var(--orange); font-weight: 700; }
nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
nav a { font-size: .92rem; font-weight: 700; text-decoration: none; }
.nav-call { padding: 11px 18px; border-radius: 999px; color: #fff; background: var(--navy); }
.header-tools { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.language-switcher { display: flex; align-items: center; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--cloud); }
.language-switcher button { min-width: 34px; height: 30px; padding: 0 7px; border: 0; border-radius: 999px; color: var(--muted); background: transparent; font: inherit; font-size: .72rem; font-weight: 850; cursor: pointer; }
.language-switcher button:hover { color: var(--navy); }
.language-switcher button:focus-visible { outline: 3px solid rgba(255, 107, 0, .35); outline-offset: 2px; }
.language-switcher button.is-active { color: #fff; background: var(--navy); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(30px, 7vw, 110px);
  padding: clamp(70px, 10vw, 140px) clamp(22px, 7vw, 110px);
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 107, 0, .12), transparent 33%),
    linear-gradient(135deg, #f8fbff 0%, #fff 55%, #fff8f2 100%);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 380px;
  height: 380px;
  right: -170px;
  bottom: -180px;
  border: 60px solid rgba(8, 47, 99, .05);
  border-radius: 50%;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, h3 { color: var(--navy-deep); line-height: 1.08; }
h1 { max-width: 780px; margin: 0; font-size: clamp(3rem, 6vw, 6.2rem); letter-spacing: -.055em; }
.hero-lead { max-width: 680px; margin: 30px 0 0; color: var(--muted); font-size: clamp(1.08rem, 1.7vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 12px; font-weight: 800; text-decoration: none; }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--orange), #ff3f1f); box-shadow: 0 14px 32px rgba(255, 80, 0, .22); }
.button-secondary { border: 1px solid var(--line); background: #fff; }
.hero-mark { position: relative; }
.hero-mark::before { content: ""; position: absolute; inset: 9% -8% -8% 8%; z-index: -1; border-radius: 42% 58% 52% 48%; background: linear-gradient(135deg, rgba(8,47,99,.13), rgba(255,107,0,.11)); }
.hero-mark img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 34px; box-shadow: var(--shadow); }

.section { padding: clamp(80px, 10vw, 140px) clamp(22px, 7vw, 110px); }
.section-heading { max-width: 720px; }
.section-heading h2, .company h2, .contact-panel h2 { margin: 0; font-size: clamp(2.25rem, 4.3vw, 4.2rem); letter-spacing: -.04em; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.12rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 54px; }
.service-card { position: relative; min-height: 340px; padding: 38px; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: 0 14px 45px rgba(8,47,99,.06); }
.service-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -100px; bottom: -100px; border-radius: 50%; background: currentColor; opacity: .06; }
.service-card.heating { color: var(--orange); background: linear-gradient(145deg, #fff, var(--orange-soft)); }
.service-card.electric { color: var(--navy); background: linear-gradient(145deg, #fff, #edf5ff); }
.service-number { position: absolute; top: 32px; right: 34px; font-size: .82rem; font-weight: 850; letter-spacing: .14em; }
.service-icon { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 20px; color: #fff; background: currentColor; font-size: 2.2rem; font-weight: 800; }
.service-card.heating .service-icon { background: var(--orange); }
.service-card.electric .service-icon { background: var(--navy); }
.service-card h3 { margin: 54px 0 14px; font-size: 2rem; }
.service-card p { max-width: 480px; margin: 0; color: var(--muted); font-size: 1.08rem; }

.company { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--cloud); }
.company-panel, .contact-panel { padding: clamp(38px, 6vw, 76px); }
.company-panel { border-radius: 28px 0 0 28px; background: #fff; box-shadow: var(--shadow); }
.contact-name { margin: 30px 0 10px; color: var(--navy); font-size: 1.18rem; font-weight: 800; }
address { color: var(--muted); font-style: normal; }
address a { text-decoration: none; }
.contact-panel { display: flex; flex-direction: column; justify-content: center; border-radius: 0 28px 28px 0; color: #fff; background: linear-gradient(145deg, var(--navy), var(--navy-deep)); }
.contact-panel p { margin: 0; color: rgba(255,255,255,.7); }
.contact-panel h2 { margin: 8px 0 34px; color: #fff; }
.phone-link { color: #fff; font-size: clamp(1.7rem, 3vw, 3rem); font-weight: 850; letter-spacing: -.03em; text-decoration-color: var(--orange); text-underline-offset: 8px; }
.contact-panel span { margin-top: 14px; color: rgba(255,255,255,.62); font-size: .9rem; }

footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px clamp(22px, 7vw, 110px); border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.footer-brand { color: var(--navy); font-size: 1.05rem; font-weight: 850; letter-spacing: -.04em; }
footer a { color: var(--navy); font-weight: 800; text-decoration: none; }

@media (max-width: 860px) {
  .site-header { min-height: 72px; }
  .brand { font-size: 1.08rem; }
  nav > a:not(.nav-call) { display: none; }
  .header-tools { gap: 10px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 80px; }
  .hero-mark { max-width: 560px; }
  .service-grid, .company { grid-template-columns: 1fr; }
  .company-panel { border-radius: 24px 24px 0 0; }
  .contact-panel { border-radius: 0 0 24px 24px; }
}

@media (max-width: 560px) {
  .site-header { align-items: flex-start; padding: 10px 16px; }
  .brand { margin-top: 7px; }
  .header-tools { flex-direction: column-reverse; align-items: flex-end; gap: 5px; }
  .nav-call { padding: 7px 12px; font-size: .76rem; }
  .language-switcher button { min-width: 30px; height: 27px; padding: 0 5px; font-size: .66rem; }
  .hero { padding-left: 20px; padding-right: 20px; }
  h1 { font-size: clamp(2.7rem, 15vw, 4rem); }
  .button { width: 100%; }
  .service-card { min-height: 300px; padding: 28px; }
  footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
