
/* Dark petrol theme, gold accents, warm white text. Big geometric sans headings, glass cards, scroll reveals. */
:root {
  --bg: #0B2A33;
  --bg-2: #0F3B47;
  --bg-deep: #08222A;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-line: rgba(255, 255, 255, 0.09);
  --line: rgba(201, 162, 75, 0.25);
  --gold: #C9A24B;
  --gold-soft: #E3C57E;
  --ink: #F6EFE2;
  --muted: #B8C3BE;
  --display: "Outfit", "Futura", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Jost", "Futura", "Avenir Next", "Segoe UI", sans-serif;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 1.06rem; line-height: 1.6; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--gold-soft); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold-soft); outline-offset: 3px;
}
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-wrap: balance; margin: 0; line-height: 1.05; letter-spacing: -0.02em; }
p { text-wrap: pretty; }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.glass {
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
}

/* Header */
header.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20; padding-top: env(safe-area-inset-top, 0px);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
header.top.solid { background: rgba(8, 34, 42, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--glass-line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gold); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.16em; white-space: nowrap; }
nav.links .btn { white-space: nowrap; }
nav.links { display: flex; gap: clamp(12px, 2.4vw, 30px); align-items: center; }
nav.links a { color: var(--ink); text-decoration: none; font-size: 0.95rem; position: relative; }
nav.links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
nav.links a:not(.btn):hover::after { transform: scaleX(1); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-family: var(--body); font-weight: 600;
  font-size: 1rem; letter-spacing: 0.03em; text-decoration: none; cursor: pointer;
  border: 1px solid var(--gold); min-height: 48px; position: relative; overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -10px rgba(201, 162, 75, 0.6); }
.btn:active { transform: translateY(0) scale(0.98); box-shadow: none; }
.btn-solid { background: var(--gold); color: #0B2A33; }
.btn-solid::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.7s var(--ease); }
.btn-solid:hover::before { transform: translateX(120%); }
.btn-ghost { background: transparent; color: var(--gold-soft); }
.btn-ghost:hover { background: rgba(201, 162, 75, 0.12); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
nav.links .btn { padding: 9px 18px; min-height: 40px; font-size: 0.92rem; }

/* Hero: full-screen media */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { animation: kenburns 22s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11,42,51,0.7) 0%, rgba(11,42,51,0) 62%), linear-gradient(180deg, rgba(11,42,51,0.55) 0%, rgba(11,42,51,0.25) 35%, rgba(11,42,51,0.88) 78%, var(--bg) 100%); }
.hero .wrap { width: 100%; padding-block: 120px clamp(64px, 11vh, 120px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.hero h1 { font-size: clamp(2.8rem, min(7.6vw, 11vh), 6.8rem); font-weight: 800; margin-top: 18px; max-width: 12ch; }
.hero .eyebrow { color: var(--gold-soft); text-shadow: 0 1px 10px rgba(0,0,0,0.7); }
.hero h1 em { font-style: normal; color: var(--gold); display: block; }
.hero p.lead { max-width: 30em; color: var(--ink); opacity: 0.88; font-size: clamp(1.05rem, 1.6vw, 1.25rem); margin: 24px 0 34px; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-solid { font-size: 1.08rem; padding: 17px 32px; }
.mark-stage { position: relative; display: grid; place-items: center; }
.mark-stage svg#heroMark { width: clamp(140px, 18vw, 230px); height: auto; cursor: pointer; transition: opacity 0.5s ease; filter: drop-shadow(0 12px 30px rgba(0,0,0,0.45)); }
.mark-stage.empty svg#heroMark { opacity: 0.14; }
.fly-hint { margin: 10px 0 0; text-align: center; font-size: 0.82rem; color: var(--muted); letter-spacing: 0.04em; }
.mark-stage.empty .fly-hint { visibility: hidden; }
.rotor { transform-origin: 200px 200px; animation: turn 60s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 22px; height: 36px; border: 1.5px solid rgba(246,239,226,0.5); border-radius: 12px; transform: translateX(-50%); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 2px; background: var(--gold); transform: translateX(-50%); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* Sections */
section.block { padding-block: clamp(88px, 13vw, 168px); }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 46em; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
.section-head p { color: var(--muted); margin: 0; font-size: 1.12rem; }

/* Trust band */
.trust { padding-block: clamp(32px, 5vw, 56px) 14px; }
.trust-in { display: flex; align-items: center; gap: clamp(18px, 4vw, 40px); padding: clamp(22px, 3.5vw, 34px) clamp(22px, 4vw, 40px); flex-wrap: wrap; border-color: var(--line); }
.trust-num { font-family: var(--display); font-weight: 800; font-size: clamp(3.4rem, 8vw, 5.6rem); line-height: 0.9; color: var(--gold); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.trust-txt { flex: 1 1 260px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.trust-txt strong { font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.15; color: var(--ink); }
.trust-txt span { color: var(--muted); }

/* Promises */
.promises { padding-block: 0 clamp(40px, 6vw, 64px); }
.promises ul { list-style: none; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.promises li { padding: 22px 20px; display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.promises svg { flex: none; margin-top: 5px; }
.promises strong { display: block; color: var(--ink); font-weight: 600; }
.promises span { color: var(--muted); font-size: 0.93rem; }

/* Impact counters */
.impact .grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 30px 24px; min-width: 0; }
.stat .num { font-family: var(--display); font-weight: 800; font-size: clamp(2.3rem, 4.6vw, 3.6rem); color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat .num small { font-size: 0.45em; font-weight: 600; margin-left: 4px; color: var(--gold-soft); }
.stat .lbl { margin-top: 12px; color: var(--ink); font-weight: 500; }
.stat .sub { color: var(--muted); font-size: 0.9rem; }
.footnote { color: var(--muted); font-size: 0.85rem; margin: 20px 0 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.service { padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease); }
.service:hover { transform: translateY(-4px); border-color: var(--line); background: rgba(255,255,255,0.065); }
.service h3 { font-size: 1.6rem; color: var(--ink); }
.service p { margin: 0; color: var(--muted); }
.service .spec { margin-top: auto; padding-top: 16px; font-size: 0.82rem; letter-spacing: 0.1em; color: var(--gold); text-transform: uppercase; font-weight: 600; }

/* Play section */
.house-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--glass-line); background: var(--bg-deep); }
#house { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 530; cursor: crosshair; }
.progress { height: 6px; background: rgba(255,255,255,0.06); }
.progress span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transition: width 0.3s var(--ease); }
.play-bar { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 20px; }
.play-stats { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.house-score { font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.play-time { color: var(--muted); font-variant-numeric: tabular-nums; }
.play-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.pressure { display: inline-flex; gap: 6px; padding: 5px; border-radius: 16px; border: 1px solid var(--glass-line); background: var(--glass); }
.pressure button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; cursor: pointer; border: 0; border-radius: 11px; padding: 9px 14px; background: none; color: var(--ink); font-family: var(--body); min-height: 48px; transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease); }
.pressure button:hover { background: rgba(255,255,255,0.06); }
.pressure button:active { transform: scale(0.97); }
.pressure button b { font-family: var(--display); font-size: 1rem; }
.pressure button small { font-size: 0.76rem; color: var(--muted); }
.pressure button[aria-pressed="true"] { background: var(--gold); color: #0B2A33; }
.pressure button[aria-pressed="true"] small { color: rgba(11,42,51,0.75); }

/* Dirt stains, spray and helper drone */
.stain-host { position: relative; }
.stain { position: absolute; pointer-events: none; z-index: 3; opacity: 0; transition: opacity 0.6s ease; }
.stain svg { display: block; overflow: visible; }
.stain.tough { filter: drop-shadow(0 0 6px rgba(227, 197, 126, 0.45)); animation: toughGlow 2.4s ease-in-out infinite; }
@keyframes toughGlow { 50% { filter: drop-shadow(0 0 13px rgba(227, 197, 126, 0.75)); } }
#spray { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 29; }
#helper { position: fixed; left: 0; top: 0; width: 80px; height: 80px; pointer-events: none; z-index: 30; will-change: transform; }
#helper svg { width: 100%; height: 100%; overflow: visible; }
#helper .prop { transform-box: fill-box; transform-origin: center; }
#helper.on .prop { animation: spin 0.22s linear infinite; }
#helper.on .prop.ccw { animation-direction: reverse; }
.flight-bar .score { color: var(--gold-soft); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }


/* Quote calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); overflow: hidden; }
.calc-in { padding: clamp(22px, 4vw, 36px); display: grid; gap: 18px; min-width: 0; }
.calc-out { padding: clamp(22px, 4vw, 36px); background: rgba(201,162,75,0.08); border-left: 1px solid var(--glass-line); display: flex; flex-direction: column; gap: 12px; justify-content: center; min-width: 0; }
.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.seg legend { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; padding: 0; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--glass-line); color: var(--ink); transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease); }
.seg label:hover span { border-color: var(--gold); }
.seg input:checked + span { background: var(--gold); color: #0B2A33; border-color: var(--gold); }
.seg input:focus-visible + span { outline: 2px solid var(--gold-soft); outline-offset: 3px; }
.calc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.calc-row > label { font-size: 0.85rem; color: var(--muted); }
.area-out { display: flex; align-items: baseline; gap: 6px; font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--ink); }
.area-out input { width: 5.2em; font: inherit; color: inherit; background: transparent; border: 0; border-bottom: 1px solid var(--glass-line); text-align: right; padding: 0 2px; }
.area-out input:focus { outline: none; border-color: var(--gold); }
input[type="range"]#c-area { width: 100%; accent-color: var(--gold); height: 28px; cursor: pointer; }
.range-ticks { position: relative; height: 1.2em; font-size: 0.75rem; color: var(--muted); margin-top: -8px; }
.range-ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.range-ticks span:first-child { transform: none; }
.range-ticks span:last-child { transform: translateX(-100%); }
.area-out input::-webkit-outer-spin-button, .area-out input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.area-out input { -moz-appearance: textfield; appearance: textfield; }
.helper summary { cursor: pointer; color: var(--gold-soft); font-size: 0.95rem; }
.helper[open] summary { margin-bottom: 12px; }
.helper .note { margin-top: 8px; }
.price { white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 2.5vw, 2.3rem); line-height: 1; color: var(--gold); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calc-out .btn { align-self: flex-start; }
.calc-special { margin: 0; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); color: var(--gold-soft); font-size: 0.92rem; }
.price.single .dash { display: none; }

/* Map */
.map-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.map-split .section-head { margin-bottom: 24px; }
.map-wrap { display: grid; place-items: center; }
.pt-map { width: auto; max-width: 100%; height: min(620px, 76vh); overflow: visible; }
.pt-map .land { fill: rgba(201,162,75,0.04); stroke: var(--glass-line); stroke-width: 2; stroke-linejoin: round; transition: fill 1.4s var(--ease), stroke 1.4s var(--ease); }
.map-wrap.lit .land { fill: rgba(201,162,75,0.16); stroke: rgba(201,162,75,0.55); }
.pt-map .hq { opacity: 0; transform: translateY(8px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i) * 0.25s + 0.5s); }
.map-wrap.lit .hq { opacity: 1; transform: none; }
.pt-map .dot { fill: var(--gold-soft); }
.pt-map .ring { fill: none; stroke: var(--gold); stroke-width: 2.5; }
.pt-map .halo { fill: var(--gold); opacity: 0; transform-box: fill-box; transform-origin: center; }
.map-wrap.lit .halo { animation: ping 2.8s var(--ease) infinite; animation-delay: calc(var(--i) * 0.25s + 1s); }
.pt-map text { fill: var(--ink); font: 700 15px var(--display); letter-spacing: 0.14em; }
@keyframes ping { 0% { opacity: 0.45; transform: scale(0.4); } 70%, 100% { opacity: 0; transform: scale(1.5); } }

/* Review */

/* Solar gain in the game */
.solar { color: var(--gold-soft); font-variant-numeric: tabular-nums; font-weight: 500; }

/* FAQ */
.faq-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.faq-split .section-head { position: sticky; top: 100px; margin-bottom: 0; }
.faq { display: grid; gap: 10px; }
.faq-item { padding: 0; overflow: hidden; transition: border-color 0.3s var(--ease), background 0.3s var(--ease); }
.faq-item[open] { border-color: var(--line); background: rgba(255,255,255,0.06); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-family: var(--display); font-weight: 600; font-size: 1.12rem; color: var(--ink); min-height: 48px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-soft); }
.faq-item .plus { flex: none; width: 18px; height: 18px; position: relative; }
.faq-item .plus::before, .faq-item .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--gold); border-radius: 2px; transition: transform 0.35s var(--ease); }
.faq-item .plus::after { transform: rotate(90deg); }
.faq-item[open] .plus::after { transform: rotate(0deg); }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--muted); animation: faqIn 0.4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* Drone vs scaffolding */
.vs { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; }
.vs > div { padding: 20px 24px; border-top: 1px solid var(--glass-line); min-width: 0; }
.vs .h { border-top: none; font-family: var(--display); font-weight: 700; font-size: 1.3rem; padding-block: 26px; }
.vs .h.drone { color: var(--gold); background: rgba(201,162,75,0.08); }
.vs .h.scaf { color: var(--muted); }
.vs .k { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; display: flex; align-items: center; }
.vs .d { background: rgba(201,162,75,0.08); }
.vs .d strong, .vs .s strong { display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 700; line-height: 1.2; }
.vs .d strong { color: var(--gold-soft); }
.vs .s strong { color: var(--ink); opacity: 0.8; }
.vs span.t { color: var(--muted); font-size: 0.92rem; }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.process li { padding: 26px 22px; min-width: 0; }
.process .num { font-family: var(--display); font-size: 2.8rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 18px; }
.process h3 { font-size: 1.2rem; color: var(--ink); margin-bottom: 8px; }
.process p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Biologists */
.bio { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%); }
.bio .split { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.bio .split .section-head { margin-bottom: 0; }
.pledges { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pledges li { padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; }
.pledges li svg { flex: none; margin-top: 6px; }
.pledges strong { display: block; font-family: var(--display); font-size: 1.2rem; color: var(--ink); margin-bottom: 2px; }
.pledges span { color: var(--muted); }
.partner { margin-top: 28px; padding: 20px 22px; color: var(--muted); }
.partner strong { color: var(--gold-soft); }

/* Why drone */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.why li { list-style: none; padding: 26px 22px; }
.why ul { display: contents; }
.why strong { display: block; font-family: var(--display); font-size: 1.45rem; color: var(--gold); margin-bottom: 6px; }
.why span { color: var(--muted); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.slot { margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.slot .frame { aspect-ratio: 1024 / 559; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--glass-line); }
.slot .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.slot:hover .frame img { transform: scale(1.05); }
.slot figcaption { color: var(--muted); font-size: 0.95rem; }

/* Clients */
.clients { display: flex; flex-wrap: wrap; gap: 12px; }
.clients span { padding: 12px 20px; color: var(--ink); border-radius: 999px; transition: border-color 0.3s var(--ease), color 0.3s var(--ease); }
.clients span:hover { border-color: var(--gold); color: var(--gold-soft); }

/* Contact */
.contact .wrap { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info .section-head { margin-bottom: 0; }
.detail { display: flex; flex-direction: column; gap: 4px; }
.detail .label { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.detail .value { font-size: 1.15rem; overflow-wrap: anywhere; color: var(--ink); text-decoration: none; }
a.value:hover { color: var(--gold-soft); }
form.quote { padding: clamp(22px, 4vw, 36px); display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 0.85rem; color: var(--muted); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink); background: rgba(8, 34, 42, 0.6); border: 1px solid var(--glass-line);
  padding: 11px 14px; border-radius: 10px; min-height: 48px; width: 100%; transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,0.18); outline: none; }
.field textarea { min-height: 120px; resize: vertical; }
.note { font-size: 0.86rem; color: var(--muted); margin: 0; }
.result { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 12px; }
.result pre { margin: 0; white-space: pre-wrap; font-family: var(--body); font-size: 0.92rem; color: var(--ink); background: rgba(8,34,42,0.6); padding: 12px; border-radius: 8px; overflow-x: auto; }
.result .acts { display: flex; gap: 10px; flex-wrap: wrap; }

/* Drone that leaves the logo and follows the pointer */
#drone { position: fixed; left: 0; top: 0; width: 120px; height: 120px; pointer-events: none; z-index: 30; will-change: transform; }
#drone svg { width: 100%; height: 100%; overflow: visible; }
#drone .prop { transform-box: fill-box; transform-origin: center; }
#drone.on .prop { animation: spin 0.22s linear infinite; }
#drone.on .prop.ccw { animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.flight-bar {
  position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); top: calc(84px + env(safe-area-inset-top, 0px)); z-index: 31;
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center;
  background: rgba(8, 34, 42, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-line); border-radius: 999px; padding: 6px 6px 6px 18px; max-width: calc(100% - 36px); flex-wrap: nowrap;
}
.flight-bar .tip { font-size: 0.85rem; color: var(--muted); }
.flight-bar .btn { min-height: 40px; padding: 8px 18px; }


/* Footer */
footer.bottom { border-top: 1px solid var(--glass-line); background: var(--bg-deep); padding-bottom: 90px; }
footer.bottom .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 32px; padding-block: 48px 24px; color: var(--muted); font-size: 0.92rem; align-items: start; }
footer .fcol { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
footer .fcol a, footer .linklike { color: var(--muted); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
footer .fcol a:hover, footer .linklike:hover { color: var(--gold-soft); }
footer .ftitle { color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.lang { align-self: flex-start; display: inline-flex; border: 1px solid var(--glass-line); border-radius: 999px; padding: 4px; gap: 4px; }
.lang button { font: 600 0.85rem/1 var(--body); letter-spacing: 0.08em; color: var(--muted); background: none; border: 0; border-radius: 999px; padding: 9px 14px; cursor: pointer; min-height: 36px; }
.lang button[aria-pressed="true"] { background: var(--gold); color: #0B2A33; }
.wrap.legal-wrap { display: block; padding-block: 0 24px; }
.legal-line { margin: 0; border-top: 1px solid var(--glass-line); padding-top: 18px; font-size: 0.82rem; }
.lre img { height: 44px; width: auto; }
.lre { display: inline-flex; align-items: center; gap: 10px; }
.lre-badge { display: inline-flex; flex-direction: column; border: 1px solid var(--glass-line); border-radius: 8px; padding: 6px 12px; line-height: 1.2; }
.lre-badge b { color: var(--ink); font-size: 0.82rem; }
.lre-badge small { font-size: 0.75rem; }

/* Legal dialogs */
dialog.legal { width: min(760px, calc(100% - 32px)); max-height: calc(100svh - 48px); border: 1px solid var(--glass-line); border-radius: var(--radius); background: var(--bg-2); color: var(--ink); padding: 0; }
dialog.legal::backdrop { background: rgba(4, 18, 22, 0.7); backdrop-filter: blur(4px); }
dialog.legal .in { padding: clamp(22px, 4vw, 40px); overflow-y: auto; max-height: calc(100svh - 50px); }
dialog.legal h2 { font-size: 2rem; margin-bottom: 18px; }
dialog.legal h3 { font-size: 1.1rem; margin: 22px 0 6px; color: var(--gold-soft); }
dialog.legal p, dialog.legal li { color: var(--muted); font-size: 0.95rem; }
dialog.legal .close { position: sticky; top: 0; float: right; margin: -8px -8px 0 0; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .impact .grid, .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc, .map-split, .faq-split { grid-template-columns: minmax(0, 1fr); }
  .faq-split .section-head { position: static; }
  .calc-out { border-left: 0; border-top: 1px solid var(--glass-line); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bio .split, .contact .wrap { grid-template-columns: minmax(0, 1fr); }
  footer.bottom .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 640px) {
  nav.links a:not(.btn) { display: none; }
  .brand { gap: 8px; }
  .brand svg { width: 30px; height: 30px; }
  .brand span { font-size: 0.92rem; letter-spacing: 0.1em; }
  nav.links .btn { padding: 8px 14px; font-size: 0.85rem; min-height: 38px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 96px; gap: 18px; }
  .mark-stage { order: -1; justify-items: start; }
  .mark-stage svg#heroMark { width: 76px; }
  .fly-hint { display: none; }
  .hero .ctas .btn { flex: 1 1 100%; }
  .impact .grid, .why, .process, .promises ul { grid-template-columns: minmax(0, 1fr); }
  .stat { padding: 24px 20px; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .vs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .seg span { padding: 9px 13px; font-size: 0.92rem; }
  .calc-out .btn { align-self: stretch; }
  .vs .k { grid-column: 1 / -1; padding-bottom: 0; background: none; }
  .vs .k + div, .vs .k + div + div { border-top: none; padding-top: 8px; }
  .vs .corner { display: none; }
  .vs > div { padding: 16px 14px; }
  .vs .d strong, .vs .s strong { font-size: 1.1rem; }
  footer.bottom .wrap { grid-template-columns: minmax(0, 1fr); }
  .flight-bar { top: calc(70px + env(safe-area-inset-top, 0px)); right: 12px; }
  .flight-bar .tip:not(.score) { display: none; }
  .flight-bar { padding: 5px; }
  .pressure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .pressure button { padding: 8px 10px; }
  .play-actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .rotor, .hero-media img, .scroll-cue::after { animation: none; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service, .slot .frame img { transition: none; }
  .stain.tough { animation: none; }
  .map-wrap.lit .halo { animation: none; }
  .pt-map .hq, .pt-map .land { transition: none; }
}

/* Inner pages */
.page-hero { padding: clamp(130px, 18vw, 190px) 0 clamp(40px, 6vw, 72px); background: radial-gradient(120% 90% at 85% 0%, rgba(201,162,75,0.13), transparent 60%); }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 800; margin: 16px 0 18px; max-width: 14ch; }
.page-hero p { color: var(--muted); font-size: 1.15rem; max-width: 40em; margin: 0; }
nav.links a[aria-current="page"]:not(.btn) { color: var(--gold-soft); }
nav.links a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
/* Closing call to action on the home page */
.cta-band { padding: clamp(32px, 6vw, 64px); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; border-color: var(--line); background: linear-gradient(120deg, rgba(201,162,75,0.14), rgba(255,255,255,0.03)); }
.cta-band h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 12px 0 10px; }
.cta-band p { color: var(--muted); margin: 0; max-width: 34em; }
.cta-band .acts { display: flex; gap: 12px; flex-wrap: wrap; }
/* Header logo used as the drone's launch pad on inner pages */
header .brand svg { transition: opacity 0.5s ease; cursor: pointer; }
header .brand.empty svg { opacity: 0.15; }
/* Form sent */
.form-ok { margin: 0; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--gold); background: rgba(201,162,75,0.12); color: var(--ink); }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }
/* Sticky quote button on phones */
.sticky-cta { display: none; }
@media (max-width: 640px) {
  .sticky-cta { display: inline-flex; position: fixed; left: calc(16px + env(safe-area-inset-left, 0px)); right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 32; min-height: 52px; box-shadow: 0 10px 28px -6px rgba(0,0,0,0.55); }
  .cta-band .acts .btn { flex: 1 1 100%; }
}
/* Two divisions on the home page */
.division-2 { margin-top: clamp(56px, 9vw, 110px); }
.division-more { margin: 24px 0 0; }
/* Thermography game */
.tg-wrap { position: relative; max-width: min(100%, calc((100svh - 230px) * 1.33)); margin-inline: auto; }
#thermo { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 770; cursor: none; touch-action: none; }
.tg-drone { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }
.tg-drone svg { position: absolute; width: 64px; height: 64px; left: -32px; top: -32px; filter: drop-shadow(0 6px 8px rgba(0,0,0,0.45)); }
.tg-mode { position: absolute; left: 30px; top: -58px; white-space: nowrap; padding: 4px 10px; border-radius: 999px; font: 600 0.8rem/1.2 var(--body); letter-spacing: 0.06em; text-transform: uppercase; color: #08222A; background: #BFE6F2; transition: background 0.25s ease; }
.tg-drone.ir .tg-mode { background: linear-gradient(90deg, #FFDD88, #EFA83C); }
.process.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* Example report */
.report { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); overflow: hidden; }
.report-img { position: relative; }
.report-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.report-tag { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(8,34,42,0.85); color: var(--gold-soft); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.report-body { padding: clamp(22px, 4vw, 40px); display: flex; flex-direction: column; gap: 24px; }
.report-meta { margin: 0; display: grid; gap: 12px; }
.report-meta dt { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.report-meta dd { margin: 2px 0 0; color: var(--ink); }
.report-table > div { display: grid; grid-template-columns: 2.6em minmax(0, 1fr) 5.4em 4.6em; gap: 10px; padding: 10px 0; border-top: 1px solid var(--glass-line); align-items: center; font-size: 0.95rem; }
.report-table .rt-h { border-top: 0; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.prio { font-weight: 600; font-size: 0.85rem; }
.prio.hi { color: #FF8A5B; } .prio.mid { color: #FFC857; } .prio.lo { color: #9FD8C9; }
@media (max-width: 980px) {
  .process.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .process.four { grid-template-columns: minmax(0, 1fr); }
  .tg-drone svg { width: 46px; height: 46px; left: -23px; top: -23px; }
  .tg-mode { left: 20px; top: -44px; font-size: 0.72rem; }
  /* phones: page links in a scrollable row under the logo; the sticky button covers the quote */
  .top .wrap { flex-wrap: wrap; row-gap: 0; padding-block: 10px 0; }
  nav.links { flex: 1 1 100%; gap: 20px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  nav.links::-webkit-scrollbar { display: none; }
  nav.links a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; font-size: 0.92rem; }
  nav.links a:not(.btn)::after { bottom: 8px; }
  nav.links .btn { display: none; }
  .hero .wrap { padding-top: 132px; }
  footer .fcol a, footer .linklike, .lang button, header .brand { min-height: 44px; display: inline-flex; align-items: center; }
  .lang button { min-width: 44px; justify-content: center; }
}
/* Thermography drone: propellers spin like the main drone */
.tg-drone .prop { transform-box: fill-box; transform-origin: center; animation: spin 0.22s linear infinite; }
.tg-drone .prop.ccw { animation-direction: reverse; }
.tg-scale { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--muted); font-size: 0.85rem; }
.tg-scale i { flex: 0 1 260px; height: 10px; border-radius: 999px; background: linear-gradient(90deg, #03011A, #00305A, #0085B6, #9A4382, #F14F2A, #FA8A07, #FFD02E, #FFF6D0, #FFFFFF); }
/* the example thermal image is cropped so the camera's on-screen text stays out of view */
.report-img img { aspect-ratio: 1024 / 600; object-position: 50% 100%; }
@media (prefers-reduced-motion: reduce) { .tg-drone .prop { animation: none; } }
/* Prices page opens with the calculator */
section.block.first { padding-top: clamp(120px, 16vw, 170px); }
/* Prices page: the calculator title is the page's h1 */
.section-head h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
/* Cookie consent bar */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; max-width: 760px; margin-inline: auto; padding: 18px 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(8, 34, 42, 0.97); box-shadow: 0 14px 40px -10px rgba(0,0,0,0.6); }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; flex: 1 1 300px; color: var(--ink); font-size: 0.95rem; }
.cookie-acts { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cookie-acts .linklike { background: none; border: 0; padding: 0 6px; min-height: 44px; color: var(--gold-soft); font: inherit; cursor: pointer; text-decoration: underline; }
.cookie-acts .btn { min-height: 44px; }
@media (max-width: 640px) { .cookie-acts { width: 100%; } .cookie-acts .btn { flex: 1 1 0; } }
