:root {
  color-scheme: light;
  --ink: #17191a;
  --muted: #505454;
  --line: #e2e3df;
  --paper: #f8f8f5;
  --yellow: #ffca28;
  --container: 1200px;
  font-family: "Arial", "Helvetica Neue", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.5; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #246f97; outline-offset: 4px; }
.container { width: min(var(--container), calc(100% - 72px)); margin-inline: auto; }
[id] { scroll-margin-top: 100px; }
.skip-link { position: fixed; inset: 8px auto auto 8px; z-index: 20; padding: 10px 15px; transform: translateY(-160%); background: #fff; }
.skip-link:focus { transform: translateY(0); }


.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(440px, 42vw, 650px); overflow: hidden; background: #202b33; color: #fff; }
.hero-image, .hero-background-video, .hero::after { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.hero-image, .hero-background-video { object-fit: cover; object-position: 62% 50%; }
.hero-background-video { visibility: hidden; }
.hero-background-video.has-frame { visibility: visible; }
.hero::after { background: linear-gradient(90deg, #0e151cec 0%, #151f28bc 44%, #15202a34 79%, #15202a13 100%); content: ""; }
.hero.hero--solo-video::after { content: none; }
.hero-inner { padding-block: clamp(55px, 8vw, 110px); }
.hero h1 { max-width: 11em; font-size: clamp(50px, 6.4vw, 96px); line-height: .98; letter-spacing: -.065em; }
.hero p { margin: 20px 0 27px; font-size: clamp(16px, 2vw, 24px); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 12px; padding: 10px 19px; border-radius: 3px; background: var(--yellow); color: var(--ink); font-size: 15px; font-weight: 800; text-decoration: none; }
.button:hover { background: #ffe068; }

.main-content { padding-block: clamp(30px, 5vw, 64px); }
.section { margin: 0 0 clamp(28px, 4.5vw, 58px); }
.section-title { font-size: clamp(27px, 3.45vw, 46px); line-height: 1.06; letter-spacing: -.05em; }
.section-title::after { display: block; width: 39px; height: 4px; margin: 11px 0 18px; background: var(--yellow); content: ""; }
.unit-grid, .product-grid { display: grid; gap: clamp(10px, 1.7vw, 22px); }
.unit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.unit-card, .product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.unit-card { display: grid; grid-template-rows: auto 1fr; }
.unit-image { overflow: hidden; aspect-ratio: 16 / 9; background: #353c40; }
.unit-image--calefaccion { background: repeating-linear-gradient(166deg, #483630 0 12px, #a74e34 12px 17px, #d98255 17px 19px, #594741 19px 25px); }
.unit-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 27%; }
.unit-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(13px, 1.8vw, 22px); }
.unit-copy h3, .product-card h3 { font-size: clamp(17px, 2vw, 25px); line-height: 1.14; letter-spacing: -.025em; }
.unit-copy p { margin: 8px 0 13px; color: var(--muted); font-size: 15px; line-height: 1.35; }
.text-link { font-size: 14px; font-weight: 800; text-decoration: underline 2px #d29a00; text-underline-offset: 4px; }
.text-link:hover { text-decoration-color: var(--ink); }
.unit-copy .text-link { margin-top: auto; }

.brand-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 0; padding: 0; list-style: none; }
.brand-grid li { display: grid; flex: 0 0 calc((100% - 54px) / 7); min-width: 0; min-height: 82px; place-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.brand-grid img { display: block; width: 100%; max-width: 144px; height: 46px; object-fit: contain; }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; border-radius: 4px; background: #ebebe6; list-style: none; }
.benefits li { display: flex; min-height: 65px; align-items: center; justify-content: center; gap: 10px; padding: 10px; font-size: 15px; font-weight: 800; text-align: center; }
.benefits li + li { border-left: 1px solid #d7d7d0; }
.benefits .icon { width: 28px; height: 28px; }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 14px; margin-bottom: 3px; }
.section-heading > a { margin-bottom: 14px; }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card > a { display: flex; height: 100%; flex-direction: column; gap: 10px; padding: 13px; text-decoration: none; }
.product-card > a:focus-visible { outline-offset: -3px; }
.product-image { display: grid; aspect-ratio: 5 / 4; place-items: center; overflow: hidden; background: #fff; }
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.product-card h3 { font-size: clamp(15px, 1.45vw, 21px); }
.product-card .text-link { margin-top: auto; }
.contact-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: clamp(22px, 4vw, 48px); border-radius: 4px; background: var(--ink); color: #fff; }
.contact-panel h2 { font-size: clamp(23px, 3vw, 40px); line-height: 1.1; letter-spacing: -.04em; }

@media (max-width: 860px) {
  .container { width: calc(100% - 46px); }
  .hero { min-height: 425px; }
  .brand-grid li { flex-basis: calc((100% - 18px) / 3); }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 36px); }
  .hero { min-height: 370px; }
  .hero::after { background: linear-gradient(90deg, #0e151ceb, #1019219c 68%, #17232a66); }
  .hero-image, .hero-background-video { object-position: 57% center; }
  .hero h1 { font-size: clamp(39px, 10vw, 65px); }
  .hero p { margin: 14px 0 20px; }
  .unit-grid { grid-template-columns: 1fr; }
  .unit-card { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); grid-template-rows: 1fr; }
  .unit-image { height: 100%; min-height: 108px; aspect-ratio: auto; }
  .unit-copy p { margin: 5px 0 9px; font-size: 14px; }
  .brand-grid li { min-height: 65px; padding: 8px; }
  .brand-grid img { height: 39px; }
  .benefits { grid-template-columns: 1fr; }
  .benefits li { min-height: 45px; }
  .benefits li + li { border-top: 1px solid #d7d7d0; border-left: 0; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

[hidden] { display: none !important; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon { display: block; width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.icon--solid { fill: currentColor; stroke: none; }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.video-source { display: inline-flex; min-height: 48px; align-items: center; gap: 6px; color: #fff; font-size: 15px; font-weight: 800; text-underline-offset: 4px; }
.video-source .icon { width: 20px; height: 20px; }
.hero-video-controls { position: absolute; right: max(18px, calc((100% - var(--container)) / 2)); bottom: 18px; display: flex; gap: 8px; }
.hero-video-controls button { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #ffffff80; border-radius: 50%; background: #14191cdb; color: #fff; cursor: pointer; }
.hero-video-controls button:hover { background: #343a3f; }
.hero-video-controls .icon { width: 20px; height: 20px; }
@media (max-width: 680px) {
  .hero-inner { padding-bottom: 76px; }
}
@media (max-width: 420px) {
  .brand-grid li { flex-basis: calc((100% - 9px) / 2); }
}

.about-intro { padding-block: clamp(24px, 4vw, 48px) clamp(36px, 6vw, 84px); background: #202b33; color: #fff; }
.about-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: clamp(22px, 4vw, 44px); color: #e1e5e7; font-size: 14px; }
.about-breadcrumb a { text-underline-offset: 3px; }
.about-intro h1 { font-size: clamp(38px, 6.4vw, 76px); line-height: 1; letter-spacing: -.055em; }
.about-intro h1::after { display: block; width: 46px; height: 4px; margin: 18px 0; background: var(--yellow); content: ""; }
.about-intro p { max-width: 40ch; font-size: clamp(18px, 2.4vw, 25px); line-height: 1.38; }
.about-operation { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; gap: clamp(20px, 6vw, 92px); }
.about-copy p { max-width: 58ch; color: var(--muted); }
.about-locations { display: grid; gap: 14px; margin: 0; padding: clamp(15px, 2.7vw, 30px); border: 1px solid var(--line); border-left: 4px solid var(--yellow); border-radius: 5px; background: #fff; }
.about-locations dt { font-weight: 800; }
.about-locations dd { margin: 2px 0 0; color: var(--muted); }

@media (max-width: 620px) {
  .about-operation { grid-template-columns: 1fr; }
}

.contact-page .about-breadcrumb { margin-bottom: 14px; color: var(--muted); }
.contact-columns, .contact-map-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(14px, 2.5vw, 30px); }
.contact-columns { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.contact-card { min-width: 0; padding: clamp(16px, 2.8vw, 28px); border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.contact-map-grid { align-items: stretch; }
.contact-map-grid .contact-card { display: flex; flex-direction: column; }
.contact-map-grid h3 { font-size: 21px; }
.contact-card address { flex: 1; margin-top: 4px; color: var(--muted); font-style: normal; }
.contact-card iframe { display: block; width: 100%; height: clamp(215px, 28vw, 290px); margin: 14px 0; border: 0; border-radius: 3px; background: var(--paper); }
.contact-card h2 { font-size: clamp(21px, 2.6vw, 28px); line-height: 1.2; }
.contact-details { margin: 16px 0; }
.contact-details dt { font-weight: 800; }
.contact-details dd { margin: 3px 0 12px; overflow-wrap: anywhere; }
.contact-form, .contact-locations { margin-top: 18px; }
.contact-locations { margin-top: clamp(28px, 5vw, 55px); }
.contact-form fieldset { display: grid; gap: 13px; min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-form label { display: block; font-weight: 700; }
.contact-form label span { color: var(--muted); font-size: 14px; font-weight: 400; }
.contact-form input, .contact-form textarea { display: block; width: 100%; min-height: 44px; margin-top: 4px; padding: 9px 11px; border: 1px solid #aeb0aa; border-radius: 3px; color: var(--ink); background: #fff; font: inherit; font-weight: 400; }
.contact-form textarea { resize: vertical; }
.contact-form :is(input, textarea, button):focus-visible { outline: 3px solid #246f97; outline-offset: 3px; }
.contact-form .button { justify-self: start; border: 0; cursor: pointer; }
.contact-form :disabled { cursor: not-allowed; }
.contact-form fieldset:disabled .button { opacity: .63; }
.contact-notice { margin: 12px 0; padding: 10px 12px; border-left: 4px solid var(--yellow); background: #fff8dd; }
.contact-notice--error { border-color: #a32121; background: #fcf0f0; }
.contact-notice--success { border-color: #388251; background: #eff8f0; }

@media (max-width: 680px) {
  .contact-columns, .contact-map-grid { grid-template-columns: 1fr; }
}
