/* =========================================================
   Extragás — Projectos e Instalações de Climatização e Gás
   Design system & styles (no build step required)
   ========================================================= */

:root {
  --navy-950: #050b17;
  --navy-900: #0a1426;
  --navy-800: #111e36;
  --navy-700: #1a2a48;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;

  --flame: #ff6a2b;
  --flame-2: #ff9f43;
  --ice: #38bdf8;
  --ice-2: #2563eb;
  --ok: #16a34a;
  --err: #dc2626;

  --grad: linear-gradient(120deg, var(--flame) 0%, var(--flame-2) 30%, var(--ice) 70%, var(--ice-2) 100%);
  --grad-warm: linear-gradient(135deg, var(--flame), var(--flame-2));
  --grad-cool: linear-gradient(135deg, var(--ice), var(--ice-2));

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 8px rgba(15, 23, 42, .05);
  --shadow: 0 10px 30px -10px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .35);

  --container: 1240px;
  --header-h: 76px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul, ol.process, ol.breadcrumbs { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--flame); color: #fff; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-sm); transition: top .2s; }
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-950); color: #cbd5e1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { font-size: 1.15rem; color: var(--muted); }
.section--dark .section-head p { color: #94a3b8; }

.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--flame); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn { --b: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: .8rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: 1rem; border: 1.5px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--grad-warm); color: #fff; box-shadow: 0 10px 30px -10px rgba(255, 106, 43, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(255, 106, 43, .85); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .25); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .45); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.topbar { background: var(--navy-950); color: #94a3b8; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar a { color: #cbd5e1; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar-items { display: flex; gap: 1.5rem; align-items: center; }
.topbar-items span, .topbar-items a { display: inline-flex; align-items: center; gap: .45rem; }
.topbar svg { width: 15px; height: 15px; color: var(--flame-2); }
@media (max-width: 800px) { .topbar .hide-sm { display: none !important; } }

.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -12px rgba(15, 23, 42, .15); background: rgba(255, 255, 255, .92); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; font-weight: 800; color: var(--ink); font-size: 1.35rem; letter-spacing: -.03em; }
.brand img { width: 42px; height: 42px; }
.brand small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.brand span { line-height: 1.05; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { position: relative; padding: .6rem .9rem; font-weight: 600; font-size: .96rem; color: var(--ink); border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { background: var(--bg-soft); }
.nav a[aria-current="page"] { color: var(--flame); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; border-radius: 50%; background: var(--flame); transform: translateX(-50%); }
.header-cta { display: flex; gap: .75rem; align-items: center; }
.header-cta .btn { min-height: 46px; padding: .6rem 1.25rem; font-size: .95rem; }
.header-phone { display: flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--ink); font-size: .95rem; }
.header-phone .ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--flame); }
.header-phone svg { width: 18px; height: 18px; }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; place-items: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) { .header-phone { display: none; } }
@media (max-width: 960px) {
  .menu-toggle { display: grid; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: .25rem; padding: 1rem 1.25rem 1.5rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .3s var(--ease), opacity .3s, visibility .3s; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .nav a { padding: .95rem 1rem; font-size: 1.05rem; border-radius: 12px; }
  .nav a[aria-current="page"] { background: var(--bg-soft); }
  .nav a[aria-current="page"]::after { display: none; }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .header-cta .btn-primary { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: center; color: #e2e8f0; background: var(--navy-950); overflow: hidden; isolation: isolate; padding: 7rem 0 5rem; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .45; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 85% 20%, rgba(56, 189, 248, .28), transparent 60%), radial-gradient(50% 60% at 10% 90%, rgba(255, 106, 43, .3), transparent 60%), linear-gradient(90deg, rgba(5, 11, 23, .95) 0%, rgba(5, 11, 23, .7) 55%, rgba(5, 11, 23, .35) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero-lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 58ch; color: #cbd5e1; margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-badge { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem .45rem .5rem; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; font-weight: 600; color: #e2e8f0; backdrop-filter: blur(8px); margin-bottom: 1.75rem; }
.hero-badge b { background: var(--grad-warm); color: #fff; padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; letter-spacing: .04em; }
.hero-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 3rem; align-items: center; }
.hero-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); padding: 1.75rem; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow-lg); }
.hero-card h2 { font-size: 1.25rem; color: #fff; margin-bottom: 1.25rem; }
.hero-card ul { display: grid; gap: .9rem; }
.hero-card li { display: flex; gap: .85rem; align-items: flex-start; font-size: .98rem; color: #cbd5e1; }
.hero-card li svg { flex: none; width: 22px; height: 22px; color: var(--ice); margin-top: 2px; }
.hero-card .btn { margin-top: 1.5rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-size: 1.9rem; color: #fff; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.hero-trust span { font-size: .85rem; color: #94a3b8; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero-card { display: none; } }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: clamp(5rem, 10vw, 8rem) 0 clamp(3.5rem, 7vw, 5.5rem); background: var(--navy-950); color: #cbd5e1; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 90% 10%, rgba(56, 189, 248, .25), transparent 60%), radial-gradient(40% 70% at 0% 100%, rgba(255, 106, 43, .25), transparent 60%); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, #000, transparent); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 20ch; }
.page-hero p { max-width: 62ch; font-size: 1.15rem; color: #94a3b8; margin: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .88rem; color: #94a3b8; margin-bottom: 1.25rem; }
.breadcrumbs a { color: #cbd5e1; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }

/* ---------- Cards ---------- */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.icon-badge { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.25rem; color: #fff; background: var(--grad-warm); box-shadow: 0 10px 24px -10px rgba(255, 106, 43, .7); }
.icon-badge.cool { background: var(--grad-cool); box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .7); }
.icon-badge svg { width: 26px; height: 26px; }
.card p { color: var(--muted); margin-bottom: 0; }

.service-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; height: 100%; }
.service-card .media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); position: relative; }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .media img { transform: scale(1.06); }
.service-card .media .icon-badge { position: absolute; left: 1.25rem; bottom: 1.25rem; margin: 0; z-index: 2; }
.service-card .body { padding: 1.6rem 1.75rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.service-card .more { margin-top: auto; padding-top: 1.25rem; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: .4rem; }
.service-card .more svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.service-card:hover .more { color: var(--flame); }
.service-card:hover .more svg { transform: translateX(4px); }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 3; }

/* Feature list */
.check-list { display: grid; gap: .8rem; margin: 1.5rem 0; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; }
.check-list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--grad-warm) center / 12px no-repeat; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"), var(--grad-warm); }
.check-list.cols { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .check-list.cols { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; background: var(--navy-800); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-wrap { position: relative; }
.media-wrap::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border-radius: var(--radius-lg); background: var(--grad); opacity: .18; z-index: -1; }
.floating-stat { position: absolute; right: -14px; bottom: 28px; background: #fff; border-radius: var(--radius); padding: 1.1rem 1.4rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 1rem; }
.floating-stat strong { font-size: 2.2rem; line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.floating-stat span { font-size: .85rem; color: var(--muted); line-height: 1.3; }
@media (max-width: 600px) { .floating-stat { right: 12px; bottom: 12px; } }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .08); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255, 255, 255, .08); }
.stat { background: var(--navy-900); padding: 2.25rem 1.75rem; text-align: center; }
.stat strong { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: .5rem; }
.stat span { color: #94a3b8; font-size: .95rem; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Process */
.process { counter-reset: step; }
.step { position: relative; padding: 2rem 1.75rem; border-radius: var(--radius); background: var(--navy-900); border: 1px solid rgba(255, 255, 255, .08); transition: border-color .3s, transform .3s var(--ease); }
.step:hover { border-color: rgba(255, 159, 67, .5); transform: translateY(-4px); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 1.25rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { color: #94a3b8; margin: 0; font-size: .98rem; }

/* Brands marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 4rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; color: #94a3b8; opacity: .8; white-space: nowrap; transition: color .2s, opacity .2s; }
.marquee-track span:hover { color: var(--ink); opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Testimonials */
.testimonial { display: flex; flex-direction: column; height: 100%; }
.testimonial .stars { color: #f59e0b; letter-spacing: 2px; font-size: 1.1rem; margin-bottom: 1rem; }
.testimonial blockquote { margin: 0 0 1.5rem; color: var(--ink); font-size: 1.05rem; font-weight: 500; }
.testimonial footer { margin-top: auto; display: flex; align-items: center; gap: .85rem; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad); flex: none; }
.testimonial footer strong { display: block; color: var(--ink); font-size: .98rem; }
.testimonial footer span { font-size: .85rem; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: .85rem; max-width: 880px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 1.35rem 1.5rem; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-soft) center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); transition: transform .3s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: #ffe9df; }
.faq .answer { padding: 0 1.5rem 1.4rem; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* CTA band */
.cta-band { position: relative; border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem); background: var(--navy-900); overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; color: #cbd5e1; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 100% 0%, rgba(56, 189, 248, .35), transparent 60%), radial-gradient(50% 120% at 0% 100%, rgba(255, 106, 43, .35), transparent 60%); }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { margin: 0; font-size: 1.1rem; color: #94a3b8; }
.cta-band .actions { display: flex; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* Projects */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.5rem; }
.filter-btn { padding: .6rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; cursor: pointer; transition: all .2s; color: var(--ink); }
.filter-btn:hover { border-color: var(--ink); }
.filter-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.project { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-800); isolation: isolate; transition: opacity .35s, transform .35s var(--ease); }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 11, 23, .92) 0%, rgba(5, 11, 23, .2) 55%, transparent 100%); z-index: 1; }
.project:hover img { transform: scale(1.07); }
.project .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; z-index: 2; color: #cbd5e1; }
.project .tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(6px); margin-bottom: .6rem; }
.project h3 { color: #fff; margin: 0 0 .25rem; font-size: 1.2rem; }
.project p { margin: 0; font-size: .92rem; }
.project.is-hidden { display: none; }

/* Values / team */
.value { padding: 1.75rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.value h3 { font-size: 1.15rem; }
.value p { color: var(--muted); margin: 0; font-size: .98rem; }
.timeline { position: relative; display: grid; gap: 2rem; margin: 0; padding-left: 2rem; list-style: none; border-left: 2px solid var(--line); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(-2rem - 8px); top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--grad-warm); box-shadow: 0 0 0 5px #fff; }
.timeline strong { display: block; color: var(--flame); font-size: .9rem; letter-spacing: .06em; }
.timeline h3 { margin: .2rem 0 .3rem; font-size: 1.15rem; }
.timeline p { color: var(--muted); margin: 0; }

/* Service detail */
.service-detail { padding: clamp(3rem, 6vw, 5rem) 0; border-bottom: 1px solid var(--line); }
.service-detail:last-child { border-bottom: 0; }
.service-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.service-nav ul { display: flex; gap: .4rem; overflow-x: auto; padding: .75rem 0; scrollbar-width: none; }
.service-nav ul::-webkit-scrollbar { display: none; }
.service-nav a { display: block; white-space: nowrap; padding: .5rem 1rem; border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--text); transition: background .2s, color .2s; }
.service-nav a:hover, .service-nav a.active { background: var(--ink); color: #fff; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3rem); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label, .field legend { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field label .req { color: var(--flame); }
.input, .field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { width: 100%; min-height: 52px; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-soft); font-size: 1rem; transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; padding-right: 2.75rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ice-2); background: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); background: #fff5f5; }
.field .error { color: var(--err); font-size: .83rem; display: none; }
.field.invalid .error { display: block; }
.hint { font-size: .83rem; color: var(--muted); }
.checkbox { display: flex; gap: .75rem; align-items: flex-start; font-size: .92rem; color: var(--text); cursor: pointer; }
.checkbox input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--flame); }
.checkbox a { color: var(--ice-2); text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 1.25rem; padding: 1rem 1.25rem; border-radius: 12px; font-weight: 600; font-size: .96rem; }
.form-status.success { display: block; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-status.error { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.cf-turnstile { min-height: 65px; }

/* Choice chips (quote form) */
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
@media (max-width: 640px) { .choices { grid-template-columns: repeat(2, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice label { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1rem; height: 100%; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg-soft); cursor: pointer; font-weight: 600; font-size: .93rem; color: var(--ink); transition: all .2s; }
.choice label svg { width: 24px; height: 24px; color: var(--flame); }
.choice input:checked + label { border-color: var(--flame); background: #fff4ee; box-shadow: 0 0 0 4px rgba(255, 106, 43, .12); }
.choice input:focus-visible + label { outline: 3px solid var(--ice); outline-offset: 2px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }

/* Multi-step */
.steps-indicator { display: flex; gap: .5rem; margin-bottom: 2rem; }
.steps-indicator span { flex: 1; height: 6px; border-radius: 6px; background: var(--line); position: relative; overflow: hidden; }
.steps-indicator span.done::after, .steps-indicator span.current::after { content: ""; position: absolute; inset: 0; background: var(--grad); }
.step-label { font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.form-step { display: none; animation: fadeUp .4s var(--ease); }
.form-step.active { display: block; }
.form-step h2 { font-size: 1.6rem; margin-bottom: 1.5rem; }
.step-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .icon-badge { width: 48px; height: 48px; border-radius: 14px; margin: 0; flex: none; }
.contact-item .icon-badge svg { width: 22px; height: 22px; }
.contact-item h3 { font-size: 1rem; margin: 0 0 .2rem; }
.contact-item p, .contact-item a { margin: 0; color: var(--text); }
.contact-item a:hover { color: var(--flame); }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours td { padding: .35rem 0; }
.hours td:last-child { text-align: right; font-weight: 600; color: var(--ink); }

/* Map (consent-gated) */
.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); min-height: 440px; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; position: absolute; inset: 0; filter: saturate(1.05); }
.map-placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 2rem; color: #cbd5e1; background: radial-gradient(60% 80% at 50% 0%, rgba(56, 189, 248, .25), transparent 70%), linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 40px 40px, var(--navy-900); }
.map-placeholder h3 { color: #fff; }
.map-placeholder p { max-width: 44ch; margin: 0 auto 1.25rem; font-size: .95rem; color: #94a3b8; }
.map-placeholder .pin { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--grad-warm); color: #fff; box-shadow: 0 0 0 12px rgba(255, 106, 43, .15), 0 0 0 24px rgba(255, 106, 43, .07); animation: pulse 2.4s infinite; }
.map-placeholder .pin svg { width: 28px; height: 28px; }
.map-placeholder .actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
@keyframes pulse { 50% { box-shadow: 0 0 0 18px rgba(255, 106, 43, .1), 0 0 0 34px rgba(255, 106, 43, .03); } }

/* ---------- Legal / prose ---------- */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--ice-2); text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); background: var(--bg-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #94a3b8; padding: clamp(4rem, 7vw, 6rem) 0 0; font-size: .95rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: 1.25rem; }
.site-footer .brand small { color: #64748b; }
.site-footer h3 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-links { display: grid; gap: .6rem; }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .85rem; }
.footer-contact svg { flex: none; width: 18px; height: 18px; color: var(--flame-2); margin-top: 4px; }
.footer-contact a:hover { color: #fff; }
.footer-legal-badges { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.footer-legal-badges a { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; font-size: .82rem; font-weight: 600; color: #cbd5e1; transition: border-color .2s, color .2s; }
.footer-legal-badges a:hover { border-color: rgba(255, 255, 255, .4); color: #fff; }
.footer-legal-badges svg { width: 16px; height: 16px; }
.footer-bottom { margin-top: 3.5rem; padding: 1.5rem 0; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }
.footer-bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font-size: inherit; }
.link-btn:hover { color: #fff; }

/* ---------- Floating actions ---------- */
.fab { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; display: flex; flex-direction: column; gap: .75rem; }
.fab a, .fab button { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); border: 0; cursor: pointer; transition: transform .25s var(--ease), opacity .3s, visibility .3s; }
.fab a:hover, .fab button:hover { transform: scale(1.08); }
.fab svg { width: 26px; height: 26px; }
.fab .wa { background: #25d366; }
.fab .top { background: var(--ink); opacity: 0; visibility: hidden; width: 48px; height: 48px; justify-self: center; margin-inline: auto; }
.fab .top.show { opacity: 1; visibility: visible; }
.fab .top svg { width: 20px; height: 20px; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 200; max-width: 440px; background: #fff; border-radius: var(--radius); box-shadow: 0 30px 80px -20px rgba(5, 11, 23, .5); border: 1px solid var(--line); padding: 1.5rem; transform: translateY(20px); opacity: 0; visibility: hidden; transition: all .4s var(--ease); }
.cookie-banner.show { transform: none; opacity: 1; visibility: visible; }
.cookie-banner h2 { font-size: 1.1rem; margin-bottom: .5rem; display: flex; align-items: center; gap: .5rem; }
.cookie-banner p { font-size: .9rem; color: var(--muted); margin-bottom: 1.1rem; }
.cookie-banner a { color: var(--ice-2); text-decoration: underline; }
.cookie-banner .actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie-banner .btn { min-height: 44px; padding: .5rem 1.1rem; font-size: .9rem; flex: 1; }
@media (max-width: 560px) { .cookie-banner { left: .75rem; right: .75rem; bottom: .75rem; max-width: none; } }

/* ---------- 404 ---------- */
.error-page { min-height: 75vh; display: grid; place-items: center; text-align: center; padding: 6rem 0; }
.error-code { font-size: clamp(7rem, 22vw, 14rem); font-weight: 800; line-height: .9; letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

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

/* Layout helpers */
.contact-grid.wide { grid-template-columns: 1.3fr .7fr; }
@media (max-width: 900px) { .contact-grid.wide { grid-template-columns: 1fr; } }
.timeline.on-dark li::before { box-shadow: 0 0 0 5px var(--navy-900); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .fab, .cookie-banner, .map, .cta-band { display: none !important; }
  body { color: #000; }
}
