﻿:root {
  color-scheme: light;
  --canvas: #f8f6f2;
  --paper: #fffdfa;
  --ink: #221e1a;
  --muted: #635b53;
  --line: #e6ded4;
  --accent: #a73513;
  --accent-dark: #81260e;
  --accent-light: #f8e7db;
  --whatsapp: #25d366;
  --radius: 22px;
  --shadow: 0 10px 25px #3c291209;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 100%;
  line-height: 1.55;
  scroll-padding-top: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3 { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid #155a94; outline-offset: 4px; }
:where(main, section, body)[tabindex="-1"]:focus { outline: none; }

.shell { width: min(100% - 80px, 1200px); margin-inline: auto; }
.icon {
  width: 22px;
  height: 22px;
  flex: none;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip-link { position: fixed; inset: 8px auto auto 8px; z-index: 5; padding: 12px; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; white-space: nowrap; font-size: 1.33rem; font-weight: 800; letter-spacing: -.055em; }
.brand b { color: var(--accent); }
.primary-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 30px); }
.primary-nav a, .back-link { color: var(--muted); text-decoration: none; font-size: .875rem; font-weight: 660; }
.primary-nav a { padding-block: 12px; }
.primary-nav a:hover, .back-link:hover { color: var(--accent); }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 11px;
  text-align: center;
  text-decoration: none;
  font-weight: 750;
  font-size: .92rem;
  line-height: 1.3;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.button .icon { width: 19px; height: 19px; }
.button-phone { color: white; background: var(--accent); }
.button-phone[href]:hover { background: var(--accent-dark); }
.button-whatsapp { color: #153621; background: var(--whatsapp); }
.button-whatsapp[href]:hover { background: #4add81; }
.button[aria-disabled="true"] { color: #625b52; background: #ede8e0; border-color: #ded6cc; cursor: default; }
.header-contact { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.header-contact .button { min-height: 44px; padding-inline: 14px; }
.header-number { color: var(--ink); font-size: .92rem; font-weight: 750; text-decoration: none; }
.header-number:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-status { margin-top: 12px; color: var(--muted); font-size: .83rem; }

.hero { padding-block: 62px 52px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.06fr; align-items: center; gap: clamp(28px, 5.2vw, 75px); }
.hero-copy { min-width: 0; }
.area-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  margin-bottom: 22px;
  border-radius: 100px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: .81rem;
  font-weight: 750;
}
.area-tag .icon { width: 16px; height: 16px; }
h1, h2, h3 { line-height: 1.09; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 4.55vw, 4.25rem); letter-spacing: -.065em; font-weight: 830; }
h1 span { color: var(--accent); }
h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); letter-spacing: -.055em; font-weight: 810; }
h3 { font-size: 1.12rem; line-height: 1.26; letter-spacing: -.021em; }
.lead { margin-block: 21px 26px; color: var(--muted); font-size: clamp(1rem, 1.55vw, 1.22rem); max-width: 42ch; }
.hours { margin-top: 12px; font-size: .9rem; font-weight: 650; }
.hours .icon { width: 18px; height: 18px; color: var(--accent); }
.hero-visual, .boiler-visual, .sanitary-visual { overflow: hidden; border-radius: var(--radius); background: #d7c6b7; }
.hero-visual { aspect-ratio: 1.19; box-shadow: var(--shadow); }
.hero-visual img, .boiler-visual img, .sanitary-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual img { object-position: 53% center; }

.service-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 31px; }
.service-shortcuts a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: border-color .16s ease;
}
.service-shortcuts a:first-child { border-color: #dba890; }
.service-shortcuts a:hover { border-color: var(--accent); }
.service-shortcuts strong, .service-shortcuts small { display: block; line-height: 1.3; }
.service-shortcuts strong { font-size: .94rem; }
.service-shortcuts small { color: var(--muted); font-size: .81rem; margin-top: 4px; }
.service-shortcuts a > .icon { margin-left: auto; color: var(--accent); width: 17px; height: 17px; }
.icon-tile { display: inline-grid; flex: none; place-items: center; width: 43px; height: 43px; border-radius: 11px; color: var(--accent); background: var(--accent-light); }

.section { padding-block: clamp(55px, 7.2vw, 105px); }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; color: var(--accent-dark); font-size: .75rem; font-weight: 800; letter-spacing: .105em; text-transform: uppercase; }
.eyebrow span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--accent-light); letter-spacing: 0; }
.intro { margin-top: 16px; color: var(--muted); font-size: 1.06rem; max-width: 63ch; }
.section-heading { margin-bottom: 27px; }
.boiler-section { background: #271f1a; color: #fffaf5; }
.boiler-section .intro { color: #e4d6cc; }
.boiler-section .eyebrow { color: #ffc5aa; }
.boiler-section .eyebrow span { color: var(--accent-dark); }
.boiler-grid, .sanitary-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.boiler-visual { aspect-ratio: .96; }
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 16px; padding: 0; margin: 24px 0 26px; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 8px; font-size: .95rem; font-weight: 600; }
.check-list .icon { margin-top: 3px; width: 17px; height: 17px; color: var(--accent); }
.boiler-section .check-list .icon { color: #ffc5aa; }
.section-prompt { margin-bottom: 10px; font-weight: 720; }

.service-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service-card { padding: 23px; border-radius: 17px; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.service-card h3 { margin-top: 15px; }
.service-card p, .advantages p { margin-top: 6px; color: var(--muted); font-size: .94rem; }
.section-actions { margin-top: 25px; }

.sanitary-section { background: #eee8df; }
.sanitary-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.sanitary-copy { grid-column: 2; grid-row: 1; }
.sanitary-visual { grid-column: 1; grid-row: 1; aspect-ratio: 1.21; }
.advantages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px 24px; list-style: none; margin: 0; padding: 0; }
.advantages li { display: flex; align-items: flex-start; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.coverage-inner { display: flex; align-items: center; gap: 22px; padding: clamp(22px, 5vw, 53px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.coverage .icon-tile { width: 59px; height: 59px; border-radius: 15px; }
.coverage .icon { width: 29px; height: 29px; }
.coverage h2 { font-size: clamp(1.75rem, 3.2vw, 2.7rem); }
.contact-panel { padding: clamp(30px, 6.2vw, 76px) 22px; border-radius: var(--radius); background: #f5e3d6; text-align: center; }
.contact-panel .eyebrow, .contact-panel .actions { justify-content: center; }
.contact-panel .intro { margin-inline: auto; }
.contact-panel .actions { margin-top: 22px; }

.site-footer { border-top: 1px solid var(--line); padding-block: 25px; background: var(--paper); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 25px; }
.footer-inner p { margin-top: 6px; font-size: .9rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-inner :is(nav a, p, small) { color: var(--muted); }
.footer-inner nav a { font-size: .9rem; text-underline-offset: 3px; }
.mobile-contact { display: none; }

.prose { max-width: 780px; padding-block: clamp(42px, 8vw, 85px); }
.prose h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
.prose h2 { margin-block: 28px 10px; font-size: 1.55rem; }
.prose p + p { margin-top: 10px; }
.prose p a { color: var(--accent-dark); text-underline-offset: 3px; }
.legal-fields { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 10px 18px; }
.legal-fields dt { font-weight: 730; }
.legal-fields dd { margin: 0; overflow-wrap: anywhere; }

@media (max-width: 1000px) {
  .shell { width: calc(100% - 48px); }
  .header-inner { gap: 13px; }
  .primary-nav { gap: 12px; }
  .service-shortcuts a { gap: 8px; padding-inline: 10px; }
  .service-shortcuts .icon-tile { width: 35px; height: 35px; }
}
@media (max-width: 1060px) {
  .header-inner { flex-wrap: wrap; min-height: 64px; }
  .header-contact { margin-left: auto; }
  .menu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--paper); cursor: pointer; }
  .primary-nav { order: 1; width: 100%; flex-wrap: wrap; padding-block: 5px 12px; }
  .primary-nav.has-toggle { display: none; }
  .primary-nav.is-open { display: grid; gap: 0; }
  .primary-nav.is-open a { border-top: 1px solid var(--line); }
  .hero { padding-top: 42px; }
}
@media (max-width: 760px) {
  :root { scroll-padding-top: 77px; scroll-padding-bottom: 85px; }
  body:not(.inner-page) { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .shell { width: calc(100% - 36px); }
  .header-contact { display: none; }
  .hero { padding-block: 33px 40px; }
  .hero-grid, .boiler-grid, .sanitary-grid { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  h1 { font-size: clamp(2.5rem, 8.5vw, 3.9rem); }
  .area-tag { margin-bottom: 16px; }
  .lead { margin-block: 15px 20px; }
  .hero-visual { aspect-ratio: 1.52; }
  .boiler-visual, .sanitary-visual { aspect-ratio: 1.5; }
  .sanitary-visual, .sanitary-copy { grid-area: auto; }
  .service-shortcuts { grid-template-columns: 1fr; margin-top: 17px; gap: 7px; }
  .service-shortcuts a { min-height: 62px; padding-inline: 11px; gap: 11px; }
  .service-cards, .advantages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { padding: 16px; }
  .coverage-inner { align-items: flex-start; }
  .coverage .icon-tile { width: 39px; height: 39px; border-radius: 9px; }
  .coverage .icon { width: 22px; height: 22px; }
  .mobile-contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    position: fixed;
    inset: auto 0 0;
    z-index: 2;
    padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
    background: var(--paper);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px #3c29120a;
  }
  .mobile-contact [data-phone-number] { display: block; margin-top: 2px; font-size: .75rem; }
}
@media (max-width: 460px) {
  .button { padding-inline: 10px; font-size: .86rem; }
  .check-list, .advantages, .legal-fields { grid-template-columns: 1fr; }
  .legal-fields dd { margin-bottom: 5px; }
  .coverage-inner { gap: 12px; }
  .service-card h3 { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
