:root {
  color-scheme: light;
  --dark: #151817;
  --ink: #1b211e;
  --paper: #f5f2eb;
  --gold: #e4be75;
  --deep-gold: #74541b;
  --line: #d7d1c5;
  --body: system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box }
body { margin: 0; background: var(--dark); color: var(--paper); font: 1rem/1.6 var(--body) }
a { color: inherit; text-underline-offset: .25em }
button, input, select, textarea { font: inherit }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #487e91; outline-offset: 3px }
section, footer { scroll-margin-top: 85px }
.shell { width: min(1190px, calc(100% - 88px)); margin-inline: auto }
.skip { position: absolute; z-index: 3; left: 1rem; top: 1rem; padding: .8rem; color: var(--dark); background: white; transform: translateY(-180%) }
.skip:focus { transform: none }
.header { position: sticky; top: 0; z-index: 2; background: #0c0c0b; border-bottom: 1px solid #ffffff24 }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem }
.brand { display: block; width: 204px; max-width: 100%; min-width: 0; margin-inline-start: -14px }
.brand img { display: block; width: 100%; height: auto }
nav { display: flex; gap: clamp(1.25rem, 3vw, 2.8rem) }
nav a, .header-quote { text-decoration: none; font-size: .94rem }
nav a:hover, .footer-links a:hover { color: var(--gold) }
.header-quote { color: var(--gold); border-bottom: 1px solid; padding-block: .35rem; white-space: nowrap }
.hero { position: relative; overflow: hidden; min-height: 635px; display: flex; isolation: isolate; align-items: center; background: #242927 }
.hero-image { position: absolute; inset: 0 0 0 28%; z-index: -2; background: url('/hero.webp') center right / cover no-repeat }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #151817 14%, #151817e8 36%, #15181750 68%, #15181720), linear-gradient(0deg,#151817b0,transparent 36%) }
.hero-inner { padding-block: 4.5rem }
.eyebrow { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.15rem; color: var(--gold); font-size: .88rem; font-weight: 650; letter-spacing: .16em }
.eyebrow span { width: 27px; height: 1px; background: currentColor }
h1, h2, h3 { margin: 0; font-family: var(--body); font-weight: 700; line-height: 1.09; letter-spacing: -.035em }
h1 { font-size: clamp(2.85rem, 5.6vw, 5.55rem); max-width: 850px }
h2 { font-size: clamp(2.5rem, 5vw, 4.8rem) }
h3 { font-size: clamp(1.47rem, 2.3vw, 2rem) }
em { color: var(--gold); font-style: normal }
.intro { color: #eee9df; font-size: 1.1rem; max-width: 490px; margin: 1.3rem 0 1.75rem }
.actions { display: flex; gap: .65rem; flex-wrap: wrap }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; border: 1px solid transparent; border-radius: 4px; padding: .7rem 1.25rem; text-decoration: none; font-weight: 650; cursor: pointer }
.gold { background: var(--gold); color: #211a10 }
.gold:hover { background: #f0cf91 }
.outline { background: #16191775; color: white; border-color: #ffffff7d }
.outline:hover { border-color: var(--gold) }
.whatsapp { color: #e5ffe9; background: #193e2e; border-color: #6a9c7d }
.whatsapp:hover { background: #24543a }
.partner { margin: 1.6rem 0 0; font-size: .9rem; color: #ede3d2 }
.light { color: var(--ink); background: var(--paper) }
.light .eyebrow { color: var(--deep-gold) }
.section { padding-block: clamp(3.75rem, 8vw, 7.1rem) }
.services { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 2rem; margin-top: 2.6rem }
.services article { border-top: 1px solid var(--line); padding-block: 1.5rem 1.65rem }
.services p, .quote-grid > div > p:not(.eyebrow) { color: #4a514b; margin: .7rem 0 0 }
.knx { background: #202722 }
.knx-grid, .quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem,7vw,7.5rem) }
.knx-grid p:not(.eyebrow) { color: #dadbd1; max-width: 460px }
.text-link { display: inline-block; margin-top: .75rem; font-weight: 650; color: var(--gold) }
.light .text-link { color: var(--deep-gold) }
.knx dl { margin: 0; align-self: center }
.knx dl div { border-top: 1px solid #ffffff30; padding: 1rem 0 }
.knx dt { color: var(--gold); font-size: 1.35rem; font-weight: 650 }
.knx dd { margin: .3rem 0 0; color: #dadbd1 }
.quote-form { display: grid; gap: 1rem; align-self: start; padding: clamp(1rem, 3vw, 2rem); background: #fffdfa; border: 1px solid var(--line); border-radius: 12px }
.quote-form label { display: block; font-size: .94rem; font-weight: 650 }
.quote-form :is(input, select, textarea) { display: block; width: 100%; padding: .6rem .75rem; margin-top: .3rem; background: white; color: var(--ink); border: 1px solid #a99f8d; border-radius: 5px; font-size: 1rem }
.quote-form select { appearance: none; padding-right: 2.5rem; background: linear-gradient(45deg, transparent 50%, #555b53 50%) calc(100% - 18px) 50% / 6px 6px no-repeat, linear-gradient(135deg,#555b53 50%,transparent 50%) calc(100% - 12px) 50% / 6px 6px no-repeat white }
.quote-form textarea { resize: vertical }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem }
.optional, .privacy { color: #555b53; font-weight: 400 }
.privacy { margin: 0; font-size: .87rem; overflow-wrap: anywhere }
.quote-form button { justify-self: start }
.quote-form button:disabled { cursor: progress; opacity: .7 }
.form-status { margin: 0; color: #24543a; font-weight: 600 }
.form-status:empty { display: none }
.form-status.error { color: #a12923 }
footer { background: #0c0c0b; border-top: 1px solid #ffffff29 }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; padding-block: 2.5rem }
.footer-inner p { margin: .75rem 0 0; color: #ddd6c9 }
.footer-links { display: grid; gap: .4rem; align-content: center; overflow-wrap: anywhere }
@media (max-width: 850px) {
  .shell { width: calc(100% - 44px) }
  .services { grid-template-columns: 1fr 1fr }
  .hero { min-height: 570px }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 36px) }
  nav { display: none }
  .header-inner { min-height: 66px; gap: .5rem }
  .header-quote { font-size: .85rem; text-align: right; white-space: normal }
  .brand { width: clamp(136px, 44vw, 174px); margin-inline-start: -10px }
  .hero { min-height: 590px; align-items: end }
  .hero-inner { padding-block: 4.5rem 2.7rem }
  .hero-image { inset: 0; background-position: 64% center }
  .hero::before { background: linear-gradient(0deg,#151817 0%,#151817e8 30%,#15181790 65%,#15181710 100%) }
  h1 { font-size: clamp(2rem, 8.7vw, 3.75rem) }
  .desktop { display: none }
  .intro { font-size: 1rem }
  .services, .knx-grid, .quote-grid { grid-template-columns: 1fr }
  .services { margin-top: 1.6rem }
  .services article { padding-block: 1.2rem }
  .footer-inner { flex-direction: column }
}
@media (max-width: 375px) { .fields { grid-template-columns: 1fr } }

.contact-dialog { width: min(390px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 1.25rem; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--paper) }
.contact-dialog::backdrop { background: #151817aa }
.contact-dialog-top { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: 1rem }
.contact-dialog h2 { font-size: 1.55rem }
.contact-close { width: 44px; height: 44px; flex: none; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: inherit; font-size: 1.6rem; cursor: pointer }
.contact-option label { display: block; font-weight: 650 }
.contact-option input { width: 100%; margin: .25rem 0 .75rem; padding: .5rem; border: 1px solid var(--line); border-radius: 5px; color: inherit; background: #fffdfa }
.contact-actions { display: flex; flex-wrap: wrap; gap: .5rem }
.contact-actions .copy { background: transparent; border-color: var(--line); color: var(--ink) }
.contact-status { margin: .75rem 0 0; min-height: 1.6em; color: #24543a }
