:root {
  --brand: #f7c948;
  --brand-ink: #162238;
  --ink: #0d1728;
  --panel: #142238;
  --paper: #f4f6f8;
  --white: #fff;
  --muted: #607086;
  --line: #dbe2e8;
  --success: #58d68d;
  --hero-image: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: auto; }
.demo-bar { padding: 9px 18px; background: var(--brand); color: var(--brand-ink); text-align: center; font-size: .8rem; font-weight: 900; }
.demo-bar a { text-decoration: underline; text-underline-offset: 3px; }
nav { position: sticky; top: 0; z-index: 20; background: rgba(13, 23, 40, .92); border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; backdrop-filter: blur(14px); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 950; letter-spacing: -.035em; }
.mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--brand); color: var(--brand-ink); font-size: .72rem; }
.links { display: flex; align-items: center; gap: 24px; font-size: .88rem; font-weight: 800; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 19px; border: 1px solid transparent; border-radius: 12px; font-weight: 900; cursor: pointer; transition: transform .18s, filter .18s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.03); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.04); }
.hero { position: relative; min-height: 720px; display: grid; align-items: center; overflow: hidden; color: #fff; background: var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0 0 0 50%; background: linear-gradient(90deg, var(--ink) 0%, rgba(13,23,40,.18) 48%, rgba(13,23,40,.45) 100%), var(--hero-image) center/cover; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 60% 50%, color-mix(in srgb, var(--brand) 20%, transparent), transparent 34%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; padding: 74px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; font-weight: 950; color: var(--brand); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 20px currentColor; }
h1 { max-width: 720px; margin: 18px 0 22px; font-size: clamp(3.2rem, 6.5vw, 6.7rem); line-height: .89; letter-spacing: -.075em; }
h1 em { color: var(--brand); font-style: normal; }
.hero-copy { max-width: 660px; color: #c8d2df; font-size: 1.14rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.proof { display: flex; flex-wrap: wrap; gap: 16px; color: #aebed0; font-size: .84rem; font-weight: 750; }
.proof span::before { content: "✓"; margin-right: 6px; color: var(--success); font-weight: 950; }
.contact-card { align-self: end; justify-self: end; width: min(390px, 100%); margin-top: 250px; padding: 22px; border: 1px solid rgba(255,255,255,.18); border-radius: 22px; background: rgba(13,23,40,.88); box-shadow: 0 28px 80px rgba(0,0,0,.38); backdrop-filter: blur(14px); }
.contact-card small { color: #aebed0; }
.contact-card strong { display: block; margin: 5px 0 17px; font-size: 1.2rem; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.contact-row .btn { padding: 0 12px; }
.quick { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -34px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 50px rgba(13,23,40,.12); }
.quick div { padding: 21px; border-right: 1px solid var(--line); }
.quick div:last-child { border-right: 0; }
.quick b { display: block; margin-bottom: 3px; }
.quick small { color: var(--muted); }
section { padding: 88px 0; }
.section-head { max-width: 820px; margin-bottom: 34px; }
.kicker { color: color-mix(in srgb, var(--brand) 78%, #8b5b00); text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; font-weight: 950; }
h2 { margin: 10px 0 14px; font-size: clamp(2.25rem, 4.5vw, 4.3rem); line-height: .98; letter-spacing: -.06em; }
.section-head p, .muted { color: var(--muted); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.service { position: relative; overflow: hidden; min-height: 250px; padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.service::after { content: attr(data-number); position: absolute; right: 15px; bottom: -28px; color: color-mix(in srgb, var(--brand) 18%, transparent); font-size: 7rem; line-height: 1; font-weight: 950; }
.service b { color: color-mix(in srgb, var(--brand) 76%, #5d4200); font-size: .75rem; letter-spacing: .08em; }
.service h3 { position: relative; z-index: 1; margin: 46px 0 8px; font-size: 1.35rem; }
.service p { position: relative; z-index: 1; margin: 0; color: var(--muted); }
.journey { background: var(--ink); color: #fff; }
.journey .section-head p { color: #b8c5d4; }
.journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.journey-step { padding: 24px; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(255,255,255,.04); }
.journey-step span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: var(--brand-ink); background: var(--brand); font-weight: 950; }
.journey-step h3 { margin: 35px 0 8px; }
.journey-step p { margin: 0; color: #b8c5d4; }
.devis-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 54px; align-items: start; }
.promise { padding: 26px; border-radius: 20px; background: var(--panel); color: #fff; }
.promise p { color: #bcc9d7; }
.checks { display: grid; gap: 9px; margin-top: 22px; }
.check { padding: 13px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: rgba(255,255,255,.05); }
.check::before { content: "✓"; margin-right: 8px; color: var(--brand); font-weight: 950; }
.quote { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 55px rgba(13,23,40,.08); }
.quote h3 { margin: 0 0 5px; font-size: 1.6rem; }
.quote > p { margin-top: 0; color: var(--muted); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 850; }
.field input, .field select, .field textarea { width: 100%; padding: 12px; border: 1px solid #cdd7df; border-radius: 10px; background: #fafcfd; }
.field textarea { min-height: 92px; resize: vertical; }
.notice { color: var(--muted); font-size: .72rem; }
.quote .btn { width: 100%; }
.demo-message { display: none; margin-top: 11px; padding: 11px; border-radius: 10px; background: color-mix(in srgb, var(--brand) 24%, white); font-size: .82rem; }
.areas { display: flex; flex-wrap: wrap; gap: 9px; }
.areas span { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 800; }
.closing { padding: 56px 0; background: var(--brand); color: var(--brand-ink); }
.closing-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.closing h2 { max-width: 760px; margin: 0; }
.closing .btn { background: var(--ink); color: #fff; }
footer { padding: 34px 0 90px; background: #080f1d; color: #aebed0; font-size: .85rem; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.mobile-cta { display: none; }

body.heating { --brand: #ff7a3d; --brand-ink: #23130c; --ink: #102331; --panel: #153747; }

@media (max-width: 900px) {
  body { padding-bottom: 78px; }
  .links a:not(.btn) { display: none; }
  .hero { min-height: auto; }
  .hero::before { inset: 46% 0 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(13,23,40,.2) 42%, rgba(13,23,40,.55) 100%), var(--hero-image) center/cover; }
  .hero-grid, .devis-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-bottom: 34px; }
  .contact-card { justify-self: start; margin: 180px 0 0; }
  .quick { grid-template-columns: 1fr 1fr; margin-top: 0; border-radius: 0; }
  .quick div:nth-child(2) { border-right: 0; }
  .quick div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .services, .journey-grid { grid-template-columns: 1fr; }
  .closing-in { align-items: flex-start; flex-direction: column; }
  .mobile-cta { position: fixed; z-index: 30; left: 10px; right: 10px; bottom: 8px; display: grid; grid-template-columns: .8fr 1.2fr 1fr; gap: 6px; padding: 5px; border-radius: 16px; background: rgba(255,255,255,.94); box-shadow: 0 14px 45px rgba(13,23,40,.28); backdrop-filter: blur(12px); }
  .mobile-cta a, .mobile-cta button { min-height: 50px; display: grid; place-items: center; border: 0; border-radius: 11px; color: #fff; font: 950 .82rem/1 Inter, ui-sans-serif, system-ui, sans-serif; cursor: pointer; }
  .mobile-cta .call { background: var(--ink); }
  .mobile-cta .quote-link { background: var(--brand); color: var(--brand-ink); }
  .mobile-cta .wa { background: #168c53; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 26px, 1160px); }
  .nav { min-height: 64px; }
  .links .btn { min-height: 42px; padding: 0 12px; font-size: .76rem; }
  h1 { font-size: 3.45rem; }
  .hero-copy { font-size: 1rem; }
  .actions .btn { width: 100%; }
  .contact-card { width: 100%; }
  .quick { grid-template-columns: 1fr; }
  .quick div { border-right: 0; border-bottom: 1px solid var(--line); }
  .quick div:last-child { border-bottom: 0; }
  .fields { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  section { padding: 64px 0; }
}
