:root {
  --navy: #073247;
  --blue: #08739f;
  --light-blue: #d9f0f8;
  --water: #f5fafc;
  --orange: #c84b16;
  --green: #14734a;
  --copper: #9e5b2f;
  --ink: #112d3a;
  --muted: #5a707c;
  --line: #c7d9e1;
  --white: #fff;
  --shadow: 0 18px 48px rgba(7, 50, 71, .13);
  --hard-shadow: 8px 8px 0 rgba(7, 50, 71, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--water);
  font-family: "Trebuchet MS", Verdana, Geneva, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.narrow, .article-body { max-width: 760px; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy); color: white; padding: 10px 14px; z-index: 20; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(245,250,252,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: white; font-weight: 900; border-radius: 6px; box-shadow: var(--hard-shadow); }
.brand small { display: block; color: var(--muted); font-size: 12px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.site-nav a { text-decoration: none; font-size: 14px; font-weight: 700; color: var(--navy); }
.site-nav a[aria-current="page"] { color: var(--orange); }
.nav-item { position: relative; display: inline-flex; align-items: center; gap: 4px; }
.submenu-toggle { width: 26px; height: 26px; border: 0; border-radius: 999px; background: rgba(8,115,159,.1); color: var(--navy); font-weight: 900; cursor: pointer; }
.submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  min-width: 250px;
  padding: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 2px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.submenu a { display: block; padding: 10px 12px; border-radius: 6px; white-space: nowrap; }
.submenu a:hover, .submenu a:focus { background: var(--water); color: var(--orange); }
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.is-open .submenu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.header-call, .btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 17px; border-radius: 999px; text-decoration: none; font-weight: 800; transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.header-call, .btn.primary { background: var(--orange); color: white; box-shadow: 0 10px 24px rgba(199,74,16,.24); }
.btn.whatsapp { background: var(--green); color: white; }
.btn.secondary, .btn.light { border: 1px solid var(--line); background: white; color: var(--navy); }
.btn:active, .header-call:active { transform: scale(.97); }
.menu-button { display: none; margin-left: auto; border: 1px solid var(--line); background: white; color: var(--navy); border-radius: 6px; padding: 9px 12px; font-weight: 800; }
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 46px;
  background:
    linear-gradient(90deg, rgba(8,115,159,.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(8,115,159,.08) 1px, transparent 1px),
    linear-gradient(120deg, #ffffff 0%, var(--water) 48%, var(--light-blue) 100%);
  background-size: 42px 42px, 42px 42px, auto;
}
.hero::after { content: ""; position: absolute; right: -90px; top: -120px; width: 360px; height: 360px; border: 42px solid rgba(8,115,159,.12); border-radius: 50%; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: clamp(28px, 5vw, 58px); align-items: center; }
.split, .contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 42px; align-items: center; }
.eyebrow { margin: 0 0 10px; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 900; }
h1, h2, h3 { color: var(--navy); line-height: 1.08; margin: 0 0 16px; letter-spacing: 0; }
h1 { font-size: clamp(38px, 6vw, 68px); max-width: 850px; }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: 22px; }
.lead { font-size: 20px; color: #304f5d; max-width: 680px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 34px; max-width: 720px; }
.hero-metrics span { min-height: 76px; padding: 14px; background: rgba(255,255,255,.78); border: 1px solid rgba(199,217,225,.95); border-radius: 8px; box-shadow: 0 10px 28px rgba(7,50,71,.08); }
.hero-metrics strong { display: block; color: var(--orange); font-size: 20px; line-height: 1.1; }
.proof-panel, .contact-box {
  background: var(--navy);
  color: white;
  padding: 32px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.visual-panel { display: grid; gap: 12px; justify-self: end; width: 100%; max-width: 440px; min-width: 0; }
.visual-panel img { width: 100%; height: clamp(420px, 52vh, 560px); object-fit: contain; border-radius: 8px; box-shadow: var(--hard-shadow); background: white; border: 8px solid white; }
.proof-panel { padding: 22px; }
.proof-panel h2, .contact-box h2 { color: white; font-size: 24px; }
.proof-panel ul { padding-left: 20px; margin-bottom: 0; }
.since { color: #ffd8c7; font-weight: 900; font-size: 18px; margin-top: 0; }
.section { padding: 74px 0; }
.promo-strip { background: var(--orange); color: white; padding: 28px 0; }
.promo-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.promo-strip .eyebrow, .promo-strip h2 { color: white; }
.promo-strip h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 10px; }
.promo-strip p { max-width: 820px; margin: 0 0 8px; }
.promo-note { color: #ffe1d3; font-weight: 800; }
.promo-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.promo-actions .btn.primary { background: white; color: var(--orange); box-shadow: none; }
.promo-actions .text-link { color: white; }
.section-dark { background: var(--navy); color: white; }
.section-dark h2, .section-dark .eyebrow { color: white; }
.split-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 28px; }
.section-note { max-width: 360px; color: var(--muted); margin: 0; }
.list-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.list-item { position: relative; padding: 28px; min-height: 260px; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 30px rgba(7,50,71,.07); overflow: hidden; }
.list-item::before { content: ""; position: absolute; left: 0; top: 0; width: 5px; height: 100%; background: linear-gradient(var(--blue), var(--orange)); }
.list-item h3 a { text-decoration: none; }
.blog-card { padding: 0; display: flex; flex-direction: column; }
.blog-card::before { z-index: 1; }
.blog-thumb { display: block; aspect-ratio: 16 / 10; background: var(--water); overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s ease; }
.blog-card-copy { padding: 24px 24px 28px 28px; }
.article-body > img:first-child { width: 100%; max-height: 520px; object-fit: cover; border-radius: 8px; margin: 0 0 28px; box-shadow: var(--shadow); }
.text-link { color: var(--blue); font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.services-hero h1 { max-width: 1040px; }
.services-expanded { background: #fbfdff; }
.services-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.services-main { display: grid; gap: 18px; }
.service-detail { scroll-margin-top: 98px; display: grid; grid-template-columns: minmax(240px, .72fr) minmax(0, 1fr); gap: 28px; align-items: start; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 30px; box-shadow: 0 12px 34px rgba(7,50,71,.07); }
.service-detail h2 { font-size: clamp(27px, 3vw, 40px); }
.service-summary { color: #304f5d; font-size: 19px; font-weight: 800; }
.service-detail-copy p { margin-top: 0; font-size: 17px; }
.service-points { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0 0; list-style: none; }
.service-points li { padding: 8px 11px; border-radius: 999px; background: var(--water); color: var(--navy); font-weight: 900; font-size: 14px; }
.services-aside { position: sticky; top: 102px; background: var(--navy); color: white; border-radius: 8px; padding: 26px; box-shadow: var(--shadow); }
.services-aside h2, .services-aside .eyebrow { color: white; }
.services-aside .btn { margin-top: 12px; }
.testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.testimonials blockquote:last-child:nth-child(odd) { grid-column: 1 / -1; }
blockquote { margin: 0; background: white; border-left: 5px solid var(--orange); padding: 24px; box-shadow: var(--shadow); border-radius: 6px; font-size: 19px; }
cite { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; }
.trust-section { background: #ffffff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.certification-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.certification-grid figure, .logo-grid figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; }
.certification-grid figure { min-height: 170px; padding: 22px; box-shadow: var(--shadow); }
.certification-grid img { max-width: min(100%, 360px); max-height: 120px; object-fit: contain; }
.certification-grid figcaption { margin-top: 12px; color: var(--muted); font-weight: 800; font-size: 14px; }
.brand-groups { display: grid; gap: 22px; }
.brand-group { padding: 22px; background: var(--water); border: 1px solid var(--line); border-radius: 8px; }
.brand-group h3 { margin-bottom: 18px; font-size: 24px; }
.logo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.logo-grid figure { min-height: 96px; padding: 16px; background: #fbfdfe; }
.logo-grid img { max-width: 100%; max-height: 64px; object-fit: contain; filter: saturate(.95) contrast(1.02); }
.page-hero { padding: 78px 0 46px; background: linear-gradient(120deg, white, var(--light-blue)); border-bottom: 1px solid var(--line); }
.page-hero.detail { padding-bottom: 58px; }
.article-body { font-size: 18px; }
.article-body p { margin: 0 0 20px; }
.offer-intro { padding-bottom: 32px; }
.offer-notice { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: end; }
.notice-box { background: #fff7f3; border: 1px solid #f1c8b5; border-left: 5px solid var(--orange); border-radius: 8px; padding: 18px; }
.notice-box p { margin: 6px 0 0; color: var(--muted); }
.offer-catalog { padding-top: 22px; }
.boiler-grid { display: grid; gap: 22px; }
.boiler-card { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: center; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 24px; box-shadow: 0 12px 34px rgba(7,50,71,.08); }
.boiler-media { display: grid; gap: 14px; place-items: center; background: var(--water); border: 1px solid var(--line); border-radius: 8px; padding: 18px; min-height: 320px; }
.boiler-product { max-width: 100%; max-height: 250px; object-fit: contain; mix-blend-mode: multiply; }
.boiler-logo { max-width: 190px; max-height: 72px; object-fit: contain; background: white; border-radius: 6px; padding: 8px; }
.boiler-copy h2 { font-size: clamp(26px, 3vw, 38px); }
.price { display: inline-flex; margin: 6px 0 0; padding: 10px 14px; border-radius: 999px; background: var(--navy); color: white; font-size: 18px; font-weight: 900; }
.offer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.about-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 42px; align-items: start; }
.about-card { position: sticky; top: 102px; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 24px; box-shadow: var(--shadow); }
.about-card ul { margin: 0; padding-left: 20px; }
.about-card li + li { margin-top: 10px; }
.contact-box a { color: white; }
.contact-hero h1 { max-width: 960px; }
.contact-section { background: #fbfdff; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.contact-form { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 30px; box-shadow: 0 12px 34px rgba(7,50,71,.08); }
.form-head { margin-bottom: 24px; }
.form-head p { max-width: 720px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-form label, .checkbox-group { display: grid; gap: 8px; margin-bottom: 16px; color: var(--navy); font-weight: 900; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #bdd3dc; border-radius: 8px; background: #fbfdff; color: var(--navy); padding: 13px 14px; font: inherit; font-weight: 600; }
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 3px solid rgba(8,115,159,.18); border-color: var(--blue); background: white; }
.checkbox-group { border: 1px solid var(--line); border-radius: 8px; padding: 18px; background: var(--water); }
.checkbox-group legend { padding: 0 8px; font-weight: 900; color: var(--navy); }
.checkbox-group label, .privacy-check { display: flex; align-items: flex-start; gap: 10px; font-weight: 800; color: #304f5d; }
.checkbox-group input, .privacy-check input { width: auto; margin-top: 4px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.form-actions button { border: 0; cursor: pointer; font: inherit; }
.request-panel { position: sticky; top: 102px; background: var(--navy); color: white; border-radius: 8px; padding: 26px; box-shadow: var(--shadow); }
.request-panel h2, .request-panel .eyebrow { color: white; }
.request-panel ul { padding-left: 20px; }
.request-panel li + li { margin-top: 10px; }
.request-highlight { margin-top: 24px; padding: 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 8px; }
.request-highlight p { margin-bottom: 10px; }
.request-highlight .text-link { color: white; }
.site-footer { background: #062f45; color: white; padding: 36px 0 88px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-grid a { color: white; }
.footer-map iframe { display: block; width: 100%; min-height: 240px; border: 0; border-radius: 8px; filter: saturate(.9); }
.mobile-cta { display: none; }

@media (hover: hover) {
  .btn:hover, .header-call:hover { transform: translateY(-1px); }
  .list-item:hover { background: #fbfdff; }
  .blog-card:hover .blog-thumb img { transform: scale(1.03); }
}

@media (max-width: 820px) {
  body { padding-bottom: 70px; }
  .header-inner { min-height: 66px; }
  .menu-button { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 66px; padding: 16px; background: white; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; }
  .site-nav.is-open { display: flex; }
  .nav-item { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
  .submenu { position: static; grid-column: 1 / -1; min-width: 0; width: 100%; box-shadow: none; border-radius: 6px; opacity: 1; transform: none; pointer-events: auto; display: none; margin-top: 4px; }
  .has-submenu.is-open .submenu { display: grid; }
  .has-submenu:hover .submenu, .has-submenu:focus-within .submenu { display: grid; }
  .submenu::before { content: none; }
  .submenu a { white-space: normal; }
  .header-call { display: none; }
  .hero { padding-top: 50px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .visual-panel { justify-self: stretch; max-width: none; }
  .visual-panel img { height: min(620px, 78vh); }
  .proof-panel h2 { font-size: 23px; }
  h1 { font-size: 40px; }
  .lead { font-size: 18px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .promo-inner { grid-template-columns: 1fr; }
  .promo-actions { flex-direction: row; flex-wrap: wrap; }
  .split-heading { display: block; }
  .list-grid, .testimonials, .footer-grid, .certification-grid, .services-layout, .service-detail, .contact-layout, .form-grid { grid-template-columns: 1fr; }
  .offer-notice, .boiler-card { grid-template-columns: 1fr; }
  .boiler-media { min-height: 240px; }
  .about-layout { grid-template-columns: 1fr; }
  .about-card, .services-aside, .request-panel { position: static; }
  .service-detail { padding: 24px; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-panel, .contact-box { padding: 24px; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; border-radius: 999px; overflow: hidden; box-shadow: var(--shadow); }
  .mobile-cta a { min-height: 52px; display: grid; place-items: center; background: var(--orange); color: white; text-decoration: none; font-weight: 900; }
  .mobile-cta a.wa { background: var(--green); }
}

@media (max-width: 520px) {
  .visual-panel img { height: min(520px, 68vh); border-width: 6px; }
  .proof-panel { padding: 20px; }
}

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