/* BRD Alhawa — landing page
   Direction: light, calm, engineered. One brand navy, one icy accent,
   thin airflow lines as the recurring motif. */

@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url("assets/fonts/plex-arabic-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url("assets/fonts/plex-arabic-500.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 700; font-display: swap; src: url("assets/fonts/plex-arabic-700.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url("assets/fonts/plex-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2193; }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url("assets/fonts/plex-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2193; }
@font-face { font-family: "Plex Arabic"; font-weight: 700; font-display: swap; src: url("assets/fonts/plex-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2193; }

:root {
  --paper: #ffffff;
  --ice: #f3f7fa;
  --ice-deep: #e7eff5;
  --line: #d9e3ea;
  --ink: #0f2233;
  --muted: #566877;
  --brand: #174f7f;
  --brand-deep: #0f3a5f;
  --accent: #2a9fd4;
  --accent-soft: #e2f2fa;
  --whatsapp: #128c4a;
  --danger: #b3261e;
  --max: 1200px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15, 34, 51, .04), 0 12px 32px rgba(15, 34, 51, .06);
  --font: "Plex Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 700; line-height: 1.35; text-wrap: balance; }
h2 { font-size: clamp(1.65rem, 1.1rem + 2vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
.svg-defs { position: absolute; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-ice { background: var(--ice); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: .9rem; font-weight: 500;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--accent); }
.eyebrow:has(.eyebrow-dot)::before { display: none; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }

.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head > p:not(.eyebrow) { margin-top: 14px; color: var(--muted); }

.text-link { color: var(--brand); font-weight: 500; text-decoration: none; border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }
.text-link:hover { color: var(--brand-deep); border-color: var(--brand); }
.text-link span { display: inline-block; transition: transform .2s; }
.text-link:hover span { transform: translateX(-4px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  border: 1.5px solid transparent; border-radius: var(--radius-sm);
  font-weight: 500; font-size: 1rem; line-height: 1.2; text-decoration: none;
  cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { background: var(--paper); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #0e733c; }
.wa-icon { width: 19px; height: 19px; flex: none; }
.btn-ghost .wa-icon { color: var(--whatsapp); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex: none; }
.brand img { width: 190px; }
.desktop-nav { display: flex; gap: 6px; }
.desktop-nav a { padding: 8px 14px; border-radius: 8px; color: var(--muted); font-size: .97rem; text-decoration: none; transition: color .15s, background-color .15s; }
.desktop-nav a:hover { color: var(--brand); background: var(--ice); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-call { color: var(--ink); font-weight: 500; text-decoration: none; white-space: nowrap; }
.header-call:hover { color: var(--brand); }

/* Hero */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 84px); background: linear-gradient(180deg, var(--paper) 0%, var(--ice) 100%); }
.hero-lines { position: absolute; inset: auto 0 0 0; width: 100%; height: 70%; pointer-events: none; }
.hero-lines path { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .22; vector-effect: non-scaling-stroke; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero h1 { font-size: clamp(2.05rem, 1.1rem + 3.6vw, 3.55rem); line-height: 1.3; }
.h1-accent { color: var(--brand); }
.hero-lead { max-width: 34em; margin-top: 22px; color: var(--muted); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-home { margin-top: 22px; color: var(--muted); font-size: .95rem; }
.hero-home a { color: var(--brand); font-weight: 500; text-underline-offset: 5px; }

.hero-visual { position: relative; }

/* Hero visual: AC unit, flowing air and two floating cards */
.hv-panel {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  border: 1px solid var(--line); border-radius: 28px;
  background:
    radial-gradient(120% 70% at 50% 28%, #d9eefa 0%, rgba(217, 238, 250, 0) 62%),
    linear-gradient(165deg, #ffffff 0%, #eaf2f8 100%);
  box-shadow: 0 1px 2px rgba(15, 34, 51, .04), 0 30px 60px -20px rgba(23, 79, 127, .22);
}
.hv-panel::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(23, 79, 127, .16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 30%, #000 100%);
}
.hv-unit { position: absolute; top: 11%; left: 11%; width: 78%; height: auto; filter: drop-shadow(0 18px 22px rgba(15, 58, 95, .18)); }
.ac-temp { fill: var(--brand); font-family: var(--font); font-size: 26px; font-weight: 500; }
.ac-led { animation: led 2.4s ease-in-out infinite; }
.ac-flap { transform-box: fill-box; transform-origin: 50% 0; animation: flap 5s ease-in-out infinite; }
.hv-air { position: absolute; top: calc(11% + 78% * 136 / 520); left: 11%; width: 78%; height: 64%; overflow: visible; }
.hv-air path { fill: none; stroke: url(#airFade); stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hv-air > path { stroke: none; }
.air-base path { stroke-width: 1.2; opacity: .35; }
.air-streak path { stroke-width: 2.6; stroke-dasharray: 70 290; stroke-dashoffset: 70; animation: streak 3.4s linear infinite; animation-delay: var(--d); }
@keyframes streak { to { stroke-dashoffset: -290; } }
@keyframes led { 50% { opacity: .35; } }
@keyframes flap { 50% { transform: scaleY(.72); } }

.hv-card {
  position: absolute; margin: 0;
  border: 1px solid rgba(217, 227, 234, .9); border-radius: 18px;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px);
  box-shadow: 0 1px 2px rgba(15, 34, 51, .05), 0 18px 36px -12px rgba(15, 58, 95, .25);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(-7px); } }
.hv-thermo { top: 47%; right: 7%; display: grid; gap: 2px; min-width: 132px; padding: 14px 18px 16px; }
.hv-label { color: var(--muted); font-size: .8rem; line-height: 1.5; }
.hv-thermo strong { color: var(--brand); font-size: 2.5rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; text-align: right; }
.hv-status { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-size: .8rem; font-weight: 500; line-height: 1.5; }
.hv-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: led 2.4s ease-in-out infinite; }
.hv-steps { bottom: 8%; left: 7%; display: grid; gap: 10px; padding: 16px 18px; animation-delay: -3.5s; }
.hv-steps li { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.hv-steps svg { flex: none; width: 20px; height: 20px; }
.hv-steps circle { fill: var(--brand); transform-origin: center; animation: pop .5s cubic-bezier(.2, 1.4, .4, 1) both; animation-delay: calc(.5s + var(--i) * .45s); }
.hv-steps path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 14; stroke-dashoffset: 14; animation: tick .35s ease-out forwards; animation-delay: calc(.75s + var(--i) * .45s); }
@keyframes pop { from { transform: scale(0); } }
@keyframes tick { to { stroke-dashoffset: 0; } }
.photo-slot.has-photo .hv-panel > * { visibility: hidden; }

/* Line illustration system */
.ln { fill: none; stroke: var(--brand); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ln.room { fill: var(--paper); stroke-width: 1.6; }
.ln.solid { fill: var(--paper); }
.ln.tint { fill: var(--accent-soft); }
.ln.thin { stroke-width: 1; opacity: .55; }
.ln.heavy { stroke-width: 3.5; }
.ln.furn { stroke-width: 1.1; opacity: .38; }
.flow { fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-dasharray: 5 9; vector-effect: non-scaling-stroke; animation: flow 2.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }

/* Photo slots: the drawing shows until a real photo is dropped in assets/photos */
.photo-slot > img.slot-photo, .hv-panel > img.slot-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.photo-slot.has-photo > svg, .photo-slot.has-photo > figcaption { visibility: hidden; }

/* Stats */
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column-reverse; gap: 4px; padding: 26px 24px 30px; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat dd { color: var(--brand); font-size: clamp(1.9rem, 1.2rem + 2vw, 2.7rem); font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat dt { color: var(--muted); font-size: .95rem; }
.stat-cr dd { font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); padding-block: .32em; color: var(--ink); }

/* Clients */
.clients { padding-block: 36px; border-bottom: 1px solid var(--line); }
.clients-inner { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 32px; }
.clients-title { color: var(--muted); font-size: .95rem; font-weight: 500; }
.client-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.client { display: grid; place-items: center; min-height: 68px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); font-size: .9rem; font-weight: 500; line-height: 1.5; text-align: center; }
.client img { max-height: 44px; width: auto; max-width: 100%; object-fit: contain; }

/* Two-column sections with a sticky heading */
.split-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sticky-head { position: sticky; top: 116px; margin-bottom: 0; }

/* Sectors */
.sector-list { border-top: 1px solid var(--line); }
.sector { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); transition: background-color .2s, padding .2s; }
.sector:hover { background: var(--ice); padding-inline: 18px; }
.sector-no { color: var(--accent); font-weight: 500; font-variant-numeric: tabular-nums; }
.sector p { margin-top: 4px; color: var(--muted); font-size: .97rem; }
.sector-tag { max-width: 190px; padding: 4px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--brand-deep); font-size: .82rem; font-weight: 500; text-align: center; line-height: 1.6; }

/* Systems */
.systems { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.system-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.system-tab { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 68px; border: 0; border-inline-start: 1px solid var(--line); background: var(--ice); color: var(--muted); font-size: 1.08rem; font-weight: 500; cursor: pointer; transition: background-color .15s, color .15s; }
.system-tab:first-child { border-inline-start: 0; }
.system-tab span { color: var(--accent); font-size: .85rem; font-variant-numeric: tabular-nums; }
.system-tab:hover { color: var(--brand); }
.system-tab.is-active { background: var(--paper); color: var(--brand); box-shadow: inset 0 -3px 0 var(--brand); }
.system-panel { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px); padding: clamp(22px, 4vw, 48px); }
.system-panel + .system-panel { border-top: 1px solid var(--line); }
.js-tabs .system-panel + .system-panel { border-top: 0; }
.system-art { position: relative; padding: clamp(14px, 2.5vw, 28px); border-radius: var(--radius); background: var(--ice); }
.system-art svg { width: 100%; height: auto; }
.system-copy h3 { font-size: 1.6rem; }
.system-copy p { margin-top: 12px; color: var(--muted); }
.fit-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.fit-list li { padding: 4px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; }

.service-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(32px, 5vw, 56px); }
.service-item { padding: 6px 28px; border-inline-start: 1.5px solid var(--accent); }
.service-item p { margin-top: 4px; color: var(--muted); font-size: .97rem; }

/* Timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.timeline::before { content: ""; position: absolute; top: 7px; inset-inline: 0; height: 1.5px; background: linear-gradient(to left, var(--brand), var(--accent)); opacity: .45; }
.timeline li { position: relative; padding-top: 38px; }
.tl-dot { position: absolute; top: 0; inset-inline-start: 0; width: 15px; height: 15px; border: 2px solid var(--brand); border-radius: 50%; background: var(--paper); }
.timeline li:last-child .tl-dot { background: var(--brand); }
.tl-no { display: block; color: var(--accent); font-size: .88rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.timeline h3 { margin-top: 2px; }
.timeline p { margin-top: 6px; color: var(--muted); font-size: .95rem; line-height: 1.75; }

/* Gallery (appears only when photos exist) */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--ice-deep); }

/* Brands */
.brands { padding-block: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.brands-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(32px, 6vw, 96px); }
.brands h2 { font-size: clamp(1.35rem, 1rem + 1.2vw, 1.8rem); }
.brand-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.brand-logos li { display: grid; place-items: center; height: 76px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.brand-logos img { max-height: 34px; width: auto; max-width: 100%; object-fit: contain; }

/* Individuals strip */
.home-strip { padding-block: clamp(40px, 5vw, 60px); background: var(--brand); color: #fff; }
.home-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.home-strip .eyebrow { color: #bfe3f5; margin-bottom: 8px; }
.home-strip h2 { font-size: clamp(1.4rem, 1rem + 1.4vw, 1.95rem); }
.home-strip p:not(.eyebrow) { margin-top: 6px; color: #d3e3ef; }
.home-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-strip .btn-whatsapp { background: #fff; color: var(--brand-deep); }
.home-strip .btn-whatsapp .wa-icon { color: var(--whatsapp); }
.home-strip .btn-whatsapp:hover { background: var(--accent-soft); }
.home-strip .btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .4); color: #fff; }
.home-strip .btn-ghost:hover { border-color: #fff; color: #fff; }

/* Quote */
.quote-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.quote-copy > p:not(.eyebrow) { margin-top: 14px; color: var(--muted); }
.contact-list { margin-top: 32px; border-top: 1px solid var(--line); }
.contact-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: color .15s; }
.contact-list a:hover { color: var(--brand); }
.contact-list span { color: var(--muted); font-size: .95rem; }
.contact-list strong { font-weight: 500; font-size: 1.1rem; }

.quote-form { padding: clamp(22px, 3.5vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.form-progress { display: none; gap: 6px; margin-bottom: 26px; }
.js-steps .form-progress { display: flex; }
.form-progress span { flex: 1; height: 4px; border-radius: 4px; background: var(--ice-deep); transition: background-color .25s; }
.form-progress span.is-on { background: var(--brand); }
.form-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-step + .form-step { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.js-steps .form-step + .form-step { margin-top: 0; padding-top: 0; border-top: 0; }
.form-step legend { display: flex; align-items: baseline; gap: 12px; padding: 0; margin-bottom: 22px; font-size: 1.3rem; font-weight: 700; }
.form-step legend span { color: var(--accent); font-size: .88rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.field { margin-bottom: 20px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-label { display: block; margin-bottom: 8px; font-size: .95rem; font-weight: 500; }
.field-label small { margin-inline-start: 6px; color: var(--muted); font-size: .82rem; font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; line-height: 1.7; }
.field input[dir="ltr"] { text-align: right; }
.field input:hover, .field textarea:hover { border-color: #b9c9d4; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px var(--accent-soft); }
.field.is-invalid input:not([type="radio"]) { border-color: var(--danger); }
.field.is-invalid .field-label { color: var(--danger); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .97rem; transition: background-color .15s, border-color .15s, color .15s; }
.chip:hover span { border-color: var(--brand); }
.chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.field.is-invalid .chip span { border-color: var(--danger); }

.form-next, .form-submit { width: 100%; }
.form-actions { display: flex; gap: 12px; }
.form-actions .form-back { flex: none; }
.form-note { margin-top: 16px; color: var(--muted); font-size: .88rem; line-height: 1.7; }
.form-note a { color: var(--brand); text-underline-offset: 4px; }
.form-note.is-error { color: var(--danger); }
.form-note.is-success { color: var(--whatsapp); }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 1.08rem; font-weight: 500; cursor: pointer; list-style: none; transition: color .15s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--brand); }
.faq-list summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-inline-end: 6px; border-inline-start: 1.5px solid var(--brand); border-bottom: 1.5px solid var(--brand); transform: rotate(-45deg) translateY(-3px); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(135deg); }
.faq-list details p { padding-bottom: 24px; max-width: 60ch; color: var(--muted); }

/* Footer */
.site-footer { padding-top: clamp(48px, 6vw, 72px); background: var(--ice); border-top: 1px solid var(--line); font-size: .95rem; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-brand img { width: 170px; }
.footer-brand p { max-width: 32ch; margin-top: 16px; color: var(--muted); }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-column strong { margin-bottom: 6px; font-weight: 700; }
.footer-column a, .footer-column span { color: var(--muted); text-decoration: none; }
.footer-column a:hover { color: var(--brand); }
.footer-legal b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }

/* Floating actions */
.mobile-bar { display: none; }
.floating-whatsapp { position: fixed; left: max(22px, env(safe-area-inset-left)); bottom: max(22px, env(safe-area-inset-bottom)); z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #1fa855; color: #fff; box-shadow: 0 8px 24px rgba(15, 34, 51, .2); transition: transform .18s; }
.floating-whatsapp:hover { transform: scale(1.06); }
.floating-whatsapp .wa-icon { width: 28px; height: 28px; }

/* Simple pages (privacy, thanks) */
.simple-page { padding-block: clamp(48px, 8vw, 96px); min-height: 70vh; }
.simple-page .content { max-width: 760px; }
.simple-page h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.8rem); margin-bottom: 20px; }
.simple-page h2 { font-size: 1.3rem; margin: 36px 0 8px; }
.simple-page p { margin-bottom: 14px; color: var(--muted); }
.simple-page .eyebrow { color: var(--brand); }

/* Reveal on scroll (added by script; content is visible without JS) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow, .air-streak path, .ac-led, .ac-flap, .hv-card, .hv-status i, .hv-steps circle { animation: none; }
  .air-streak path { stroke-dasharray: none; opacity: .5; }
  .hv-steps path { animation: none; stroke-dashoffset: 0; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* Tablet */
@media (max-width: 1020px) {
  .desktop-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .clients-inner { grid-template-columns: 1fr; gap: 16px; }
  .client-list { grid-template-columns: repeat(3, 1fr); }
  .split-layout, .quote-grid, .brands-inner { grid-template-columns: 1fr; }
  .sticky-head { position: static; margin-bottom: 8px; }
  .system-panel { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { top: 0; bottom: 0; inset-inline: 7px auto; width: 1.5px; height: auto; }
  .timeline li { padding: 0 44px 30px 0; }
  .timeline li:last-child { padding-bottom: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 680px) {
  body { font-size: 16px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .wrap { width: min(100% - 32px, var(--max)); }
  .header-inner { min-height: 64px; }
  .brand img { width: 150px; }
  .header-call { display: none; }
  .hero-actions .btn { width: 100%; }
  .hv-panel { border-radius: 22px; }
  .hv-thermo { min-width: 112px; padding: 10px 14px 12px; }
  .hv-thermo strong { font-size: 2rem; }
  .hv-steps { gap: 7px; padding: 12px 14px; }
  .hv-steps li { font-size: .8rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 16px 20px; }
  .stat:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .client-list { grid-template-columns: repeat(2, 1fr); }
  .sector { grid-template-columns: 32px minmax(0, 1fr); gap: 6px 12px; align-items: start; padding: 22px 0; }
  .sector:hover { padding-inline: 0; background: none; }
  .sector-tag { grid-column: 2; justify-self: start; max-width: none; margin-top: 6px; }
  .system-tab { min-height: 58px; gap: 8px; font-size: 1rem; }
  .system-copy h3 { font-size: 1.35rem; }
  .service-row { grid-template-columns: 1fr; gap: 22px; }
  .service-item { padding: 2px 18px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .brand-logos { grid-template-columns: repeat(3, 1fr); }
  .home-actions, .home-actions .btn { width: 100%; }
  .field-pair { grid-template-columns: 1fr; gap: 0; }
  .form-actions { flex-direction: column-reverse; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .floating-whatsapp { display: none; }
  .mobile-bar {
    position: fixed; inset: auto 0 0 0; z-index: 40;
    display: grid; grid-template-columns: 1fr 1fr 1.25fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--paper); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(15, 34, 51, .07);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 60px; border-inline-start: 1px solid var(--line); font-weight: 500; font-size: .95rem; text-decoration: none; }
  .mobile-bar a:first-child { border-inline-start: 0; }
  .mobile-bar .wa-icon { color: var(--whatsapp); }
  .mobile-bar .mobile-bar-main { background: var(--brand); color: #fff; border: 0; }
}
