/* =========================================================
   Phoenix Epoxy Flooring Pros — main stylesheet
   Soft palette: blue / green / black / white
   ========================================================= */

:root {
  --ink: #1a2126;          /* soft black */
  --ink-2: #2b353b;
  --ink-3: #4a575f;
  --muted: #6b7a83;
  --line: #dfe7ea;
  --paper: #f5f8f7;        /* soft white */
  --white: #ffffff;

  --blue: #5d8fb8;         /* soft steel blue */
  --blue-deep: #3f6f96;
  --blue-soft: #dbe8f3;
  --green: #79b79c;        /* soft sage green */
  --green-deep: #4f9579;
  --green-soft: #e0f0e8;

  --grad: linear-gradient(120deg, var(--blue) 0%, var(--green) 100%);
  --grad-soft: linear-gradient(135deg, var(--blue-soft) 0%, var(--green-soft) 100%);

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(26, 33, 38, .06);
  --shadow: 0 18px 50px -18px rgba(26, 33, 38, .25);
  --shadow-lg: 0 40px 90px -30px rgba(26, 33, 38, .35);

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue-deep); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--green-deep); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  font-weight: 600;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
p { margin: 0 0 1.15em; }
ul { padding-left: 1.2em; }
::selection { background: var(--green-soft); color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(70px, 10vw, 130px) 0; isolation: isolate; }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: #c9d4d9; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--tint { background: var(--grad-soft); }

/* Low-opacity background image layers */
.bg-layer { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-layer img { width: 100%; height: 120%; object-fit: cover; opacity: .08; filter: grayscale(.2); will-change: transform; }
.section--dark .bg-layer img { opacity: .14; }
.bg-layer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(245,248,247,.4), rgba(245,248,247,0) 30%, rgba(245,248,247,0) 70%, rgba(245,248,247,.5)); }
.section--dark .bg-layer::after { background: linear-gradient(180deg, rgba(26,33,38,.6), rgba(26,33,38,.1) 40%, rgba(26,33,38,.7)); }
.section--white .bg-layer::after { background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0) 35%, rgba(255,255,255,0) 65%, rgba(255,255,255,.55)); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--blue-deep);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.section--dark .eyebrow { color: var(--green); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-3); max-width: 760px; }
.section--dark .lead { color: #b6c4ca; }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { max-width: 820px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin: 0 auto; }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  color: var(--white); background: var(--ink); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .4s var(--ease); z-index: 0;
}
.btn > * , .btn span { position: relative; z-index: 1; }
.btn:hover { color: var(--white); transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(63,111,150,.55); }
.btn:hover::before { opacity: 1; }
.btn--grad { background: var(--grad); }
.btn--grad::before { background: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px transparent; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { color: var(--white); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============ Top bar + header ============ */
.topbar { background: var(--ink); color: #b6c4ca; font-size: .86rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: var(--white); }
.topbar a:hover { color: var(--green); }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; margin-right: 8px; box-shadow: 0 0 0 0 rgba(121,183,156,.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(121,183,156,.6);} 70% { box-shadow: 0 0 0 10px rgba(121,183,156,0);} 100% { box-shadow: 0 0 0 0 rgba(121,183,156,0);} }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(223,231,234,.7);
  transition: box-shadow .35s var(--ease), background .35s var(--ease);
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(26,33,38,.3); background: rgba(255,255,255,.94); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 96px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); font-family: var(--font-display); font-weight: 700; line-height: 1.05; }
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 44px; height: 44px; border-radius: 13px; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 1.1rem; flex: none;
  box-shadow: 0 8px 20px -8px rgba(63,111,150,.6);
}
.logo-text small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.logo-text strong { font-size: 1.12rem; }
/* Swap-in slot for the real logo image later */
.logo img { height: 80px; width: auto; transition: transform .4s var(--ease); }
.logo:hover img { transform: scale(1.04); }
.site-header.scrolled .logo img { height: 66px; }
.site-footer .logo--badge img { height: 130px; }
.site-footer .logo--badge { margin-bottom: 20px; }

.menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 500; font-size: .96rem; color: var(--ink-2);
  background: none; border: 0; cursor: pointer;
}
.menu > li > a:hover, .menu > li > button:hover, .menu > li.open > button { background: var(--paper); color: var(--ink); }
.menu .caret { width: 9px; height: 9px; transition: transform .3s var(--ease); }
.menu li:hover .caret, .menu li.open .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 620px; transform: translate(-50%, 10px);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  border: 1px solid var(--line);
}
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.menu li:hover > .dropdown, .menu li.open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; color: var(--ink-2); font-size: .95rem; line-height: 1.3; }
.dropdown a:hover { background: var(--grad-soft); color: var(--ink); }
.dropdown a img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; flex: none; }
.dropdown a small { display: block; color: var(--muted); font-size: .8rem; }
.dropdown .dd-cta { grid-column: 1 / -1; margin-top: 6px; padding: 14px 16px; border-radius: 12px; background: var(--ink); color: #fff; justify-content: space-between; font-family: var(--font-display); font-weight: 600; }
.dropdown .dd-cta:hover { background: var(--blue-deep); color: #fff; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: flex; flex-direction: column; line-height: 1.15; font-family: var(--font-display); color: var(--ink); font-weight: 600; }
.nav-phone small { font-family: var(--font-body); font-weight: 500; font-size: .74rem; color: var(--muted); }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; content: ""; transition: transform .3s var(--ease), opacity .3s; }
.burger span { top: 22px; }
.burger span::before { top: -7px; left: 0; right: 0; }
.burger span::after { top: 7px; left: 0; right: 0; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; top: 0; z-index: 99; background: var(--white); padding: 110px var(--gutter) 40px; overflow-y: auto;
  transform: translateY(-100%); transition: transform .5s var(--ease); visibility: hidden;
}
.nav-open .mobile-menu { transform: none; visibility: visible; }
.mobile-menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.mobile-menu .mm-sub a { font-size: 1rem; padding-left: 14px; color: var(--ink-3); }
.mobile-menu .btn { margin-top: 24px; width: 100%; border-bottom: 0; color: #fff; }

/* ============ Hero (with header form) ============ */
.hero { position: relative; min-height: min(92vh, 920px); display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; padding: 70px 0 90px; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: kenburns 22s var(--ease) forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20,27,31,.88) 0%, rgba(20,27,31,.7) 42%, rgba(31,58,78,.35) 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 120px; z-index: -1; background: linear-gradient(0deg, var(--paper), transparent); }
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .text-grad { background: linear-gradient(120deg, #9cc6e8, #a9dcc4); -webkit-background-clip: text; background-clip: text; }
.hero .lead { color: #d4dee2; margin-bottom: 30px; }
.hero .eyebrow { color: #a9dcc4; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.hero .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.trust { display: flex; gap: 26px; flex-wrap: wrap; }
.trust div { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: #d4dee2; }
.trust svg { width: 22px; height: 22px; color: var(--green); flex: none; }
.hero--sub { min-height: auto; padding: 80px 0 110px; }
.hero--sub h1 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); }
.breadcrumbs { font-size: .86rem; color: #b6c4ca; margin-bottom: 18px; }
.breadcrumbs a { color: #fff; }
.breadcrumbs span { margin: 0 8px; opacity: .6; }

/* Glass quote form */
.quote-card {
  position: relative; background: rgba(255,255,255,.96); color: var(--ink-2); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.6);
}
.quote-card::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: calc(var(--radius-lg) + 2px); background: var(--grad); opacity: .65; filter: blur(14px); }
.quote-card h2, .quote-card h3 { font-size: 1.55rem; margin-bottom: 6px; color: var(--ink); }
.quote-card .qc-sub { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
  font: inherit; font-size: .97rem; color: var(--ink); transition: border-color .25s, background .25s, box-shadow .25s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a575f' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(93,143,184,.15); }
.quote-card .btn { width: 100%; margin-top: 16px; }
.form-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success .tick { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 1.8rem; }
form.sent { display: none; }
form.sent + .form-success { display: block; animation: rise .6s var(--ease); }

/* ============ Marquee ============ */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 22px 0; border-top: 1px solid #2b353b; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 500; white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✦"; color: var(--green); font-size: .9em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Intro / split ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.img-stack { position: relative; padding: 0 0 60px 60px; }
.img-stack .img-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.img-stack .img-main img { width: 100%; height: 100%; object-fit: cover; }
.img-stack .img-float { position: absolute; left: 0; bottom: 0; width: 52%; border-radius: var(--radius); overflow: hidden; border: 8px solid var(--paper); box-shadow: var(--shadow); aspect-ratio: 1 / 1; }
.section--white .img-stack .img-float { border-color: var(--white); }
.img-stack .img-float img { width: 100%; height: 100%; object-fit: cover; }
.img-stack .badge-float {
  position: absolute; right: -18px; top: 40px; background: var(--white); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow);
  display: flex; gap: 14px; align-items: center; animation: floaty 6s ease-in-out infinite;
}
.badge-float strong { font-family: var(--font-display); font-size: 2rem; color: var(--ink); line-height: 1; display: block; }
.badge-float span { font-size: .84rem; color: var(--muted); line-height: 1.3; display: block; }
.badge-float .bf-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--grad-soft); display: grid; place-items: center; color: var(--blue-deep); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.checklist { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233f6f96' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat, var(--grad-soft); }
.checklist.two { grid-template-columns: 1fr 1fr; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(50px, 7vw, 80px); }
.stat { background: var(--white); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.stat.in::after { transform: scaleX(1); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 3.6vw, 3rem); color: var(--ink); line-height: 1; margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: .95rem; }

/* ============ Services grid ============ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); color: var(--ink-2); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: var(--ink-2); }
.svc-card .svc-img { aspect-ratio: 16 / 11; overflow: hidden; position: relative; }
.svc-card .svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-card:hover .svc-img img { transform: scale(1.08); }
.svc-card .svc-num { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.92); color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: .8rem; padding: 6px 12px; border-radius: 999px; }
.svc-card .svc-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { margin-bottom: 10px; }
.svc-card p { color: var(--ink-3); font-size: .97rem; flex: 1; }
.svc-card .more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--blue-deep); }
.svc-card .more i { width: 34px; height: 34px; border-radius: 50%; background: var(--grad-soft); display: grid; place-items: center; font-style: normal; transition: transform .4s var(--ease), background .4s; }
.svc-card:hover .more i { transform: rotate(-45deg); background: var(--grad); color: #fff; }
.svc-card--feature { grid-column: span 2; flex-direction: row; }
.svc-card--feature .svc-img { aspect-ratio: auto; flex: 1.1; min-height: 340px; }
.svc-card--feature .svc-body { flex: 1; justify-content: center; padding: 40px; }

/* ============ Full-width parallax band ============ */
.fullwidth {
  position: relative; min-height: 88vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; padding: 120px 0 90px;
}
.fullwidth .fw-media { position: absolute; inset: -12% 0; z-index: -2; }
.fullwidth .fw-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.fullwidth::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,27,31,.15) 0%, rgba(20,27,31,.55) 40%, rgba(20,27,31,.9) 100%); }
.fullwidth h2 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 4.6rem); max-width: 980px; }
.fullwidth p { color: #dbe4e8; max-width: 640px; font-size: 1.12rem; }
.fullwidth .fw-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.fullwidth .fw-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.fullwidth .fw-chips span { padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); font-size: .9rem; }

/* ============ Comparison ============ */
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.compare-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 34px 30px; transition: transform .5s var(--ease), border-color .5s, background .5s; }
.compare-card:hover { transform: translateY(-6px); border-color: rgba(121,183,156,.6); background: rgba(255,255,255,.07); }
.compare-card .tag { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: rgba(121,183,156,.15); color: var(--green); margin-bottom: 18px; }
.compare-card.mid .tag { background: rgba(93,143,184,.2); color: #9cc6e8; }
.compare-card ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.compare-card li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed rgba(255,255,255,.12); font-size: .94rem; }
.compare-card li b { color: #fff; font-weight: 500; text-align: right; }
.meter { height: 6px; background: rgba(255,255,255,.1); border-radius: 6px; overflow: hidden; margin-top: 6px; }
.meter i { display: block; height: 100%; background: var(--grad); width: 0; transition: width 1.4s var(--ease) .3s; }
.in .meter i { width: var(--w); }

/* ============ Climate cards ============ */
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .4s var(--ease), box-shadow .4s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .f-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--grad-soft); display: grid; place-items: center; color: var(--blue-deep); margin-bottom: 14px; }
.feature .f-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature p { font-size: .94rem; color: var(--ink-3); margin: 0; }

/* ============ Process ============ */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: rgba(255,255,255,.85); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 28px 30px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; right: 18px; top: 6px; font-family: var(--font-display); font-weight: 700; font-size: 4.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line); }
.step .s-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--grad); margin-bottom: 20px; box-shadow: 0 0 0 6px var(--green-soft); }
.step h3 { font-size: 1.2rem; }
.step p { font-size: .95rem; color: var(--ink-3); margin: 0; }

/* ============ Gallery (bento) ============ */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 16px; }
.bento figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); }
.bento figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento figure:hover img { transform: scale(1.07); }
.bento figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; padding: 10px 14px; border-radius: 12px; background: rgba(20,27,31,.6); backdrop-filter: blur(8px); color: #fff; font-size: .88rem; transform: translateY(10px); opacity: 0; transition: all .45s var(--ease); }
.bento figure:hover figcaption { transform: none; opacity: 1; }
.bento .b-wide { grid-column: span 2; }
.bento .b-tall { grid-row: span 2; }
.bento .b-big { grid-column: span 2; grid-row: span 2; }

/* Two-up cards */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.duo-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.duo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.duo-card:hover img { transform: scale(1.06); }
.duo-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,27,31,.05) 5%, rgba(20,27,31,.72) 45%, rgba(20,27,31,.95)); }
.duo-card .duo-body { padding: clamp(26px, 4vw, 44px); }
.duo-card h3 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.duo-card p { color: #dbe4e8; }
.duo-card .pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.duo-card .pill-row a { padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: .86rem; backdrop-filter: blur(6px); }
.duo-card .pill-row a:hover { background: #fff; color: var(--ink); }

/* Tips */
.tips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tip { padding: 26px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.tip b { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); margin-bottom: 8px; }
.tip p { font-size: .93rem; color: var(--ink-3); margin: 0; }

/* ============ FAQ ============ */
.faq { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; transition: box-shadow .35s var(--ease), border-color .35s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--grad-soft); display: grid; place-items: center; font-size: 1.2rem; color: var(--blue-deep); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq-a { padding: 0 0 22px; color: var(--ink-3); }
.faq .faq-a p:last-child { margin: 0; }

/* ============ Areas ============ */
.areas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.areas span { padding: 11px 20px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #e2eaed; font-size: .95rem; transition: background .3s, transform .3s var(--ease); }
.areas span:hover { background: var(--grad); transform: translateY(-3px); color: #fff; }

/* ============ CTA band ============ */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: #c9d4d9; padding: clamp(40px, 6vw, 70px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -200px; background: radial-gradient(circle, rgba(93,143,184,.45), transparent 65%); z-index: -1; animation: drift 14s ease-in-out infinite alternate; }
.cta-band::after { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; left: -140px; bottom: -220px; background: radial-gradient(circle, rgba(121,183,156,.38), transparent 65%); z-index: -1; animation: drift 16s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.1); } }
.cta-band h2 { color: #fff; }
.contact-lines { display: grid; gap: 14px; margin-top: 26px; }
.contact-lines a, .contact-lines div { display: flex; align-items: center; gap: 14px; color: #fff; }
.contact-lines i { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; font-style: normal; flex: none; }
.contact-lines i svg { width: 20px; height: 20px; color: var(--green); }
.contact-lines small { display: block; color: #9fb0b8; font-size: .8rem; }

/* ============ Service page article ============ */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(30px, 5vw, 70px); align-items: start; }
.article h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-top: 1.6em; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: 1.4em; }
.article p, .article li { color: var(--ink-3); }
.article ul li { margin-bottom: 8px; }
.article .wide-img { margin: 40px 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.article .wide-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.2s var(--ease); }
.article .wide-img:hover img { transform: scale(1.04); }
.article .wide-img figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 10px; background: rgba(20,27,31,.6); color: #fff; font-size: .85rem; backdrop-filter: blur(6px); }
.callout { background: var(--grad-soft); border-radius: var(--radius); padding: 26px 28px; margin: 34px 0; border-left: 4px solid var(--blue); }
.callout p:last-child { margin: 0; }
.callout strong { color: var(--ink); }
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 26px 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); font-size: .95rem; }
.spec-table th, .spec-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { background: var(--paper); font-family: var(--font-display); color: var(--ink); font-weight: 600; width: 38%; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.sidebar { position: sticky; top: 100px; display: grid; gap: 20px; }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.side-card h3 { font-size: 1.15rem; }
.side-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.side-links a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-size: .95rem; }
.side-links a:hover, .side-links a.active { background: var(--grad-soft); color: var(--ink); }
.side-dark { background: var(--ink); color: #c9d4d9; border: 0; position: relative; overflow: hidden; }
.side-dark h3 { color: #fff; }
.side-dark::after { content: ""; position: absolute; width: 240px; height: 240px; right: -90px; bottom: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(121,183,156,.4), transparent 65%); }
.side-dark .btn { width: 100%; margin-top: 8px; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ============ Footer ============ */
.site-footer { background: #13191d; color: #9fb0b8; padding-top: clamp(60px, 8vw, 100px); position: relative; overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/decorative-flake-texture.jpg") center / cover; opacity: .04; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .9fr .9fr 1.4fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: .02em; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #b6c4ca; font-size: .95rem; }
.site-footer a:hover { color: var(--green); }
.site-footer .logo { color: #fff; margin-bottom: 18px; }
.site-footer .logo-text small { color: #7f9099; }
.footer-map { border-radius: var(--radius); overflow: hidden; border: 1px solid #26313a; height: 250px; filter: grayscale(.35) contrast(1.05); transition: filter .4s; }
.footer-map:hover { filter: none; }
.footer-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.footer-contact { display: grid; gap: 8px; font-size: .95rem; margin-top: 14px; }
.footer-bottom { margin-top: 60px; padding: 24px 0; border-top: 1px solid #26313a; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }

/* Floating call button (mobile) */
.fab-call { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: none; width: 58px; height: 58px; border-radius: 50%; background: var(--grad); color: #fff; place-items: center; box-shadow: var(--shadow); }
.fab-call svg { width: 24px; height: 24px; }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 89; width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; border: 0; cursor: pointer; opacity: 0; transform: translateY(20px); transition: all .4s var(--ease); box-shadow: var(--shadow); }
.to-top.show { opacity: 1; transform: none; }
.to-top:hover { background: var(--blue-deep); }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); z-index: 200; }

/* ============ Motion: reveal on scroll ============ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.from-left { transform: translateX(-50px); }
.reveal.from-right { transform: translateX(50px); }
.reveal.zoom { transform: scale(.92); }
.reveal.in { opacity: 1; transform: none; }
.img-reveal { position: relative; overflow: hidden; }
.img-reveal::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform-origin: right; transition: transform 1.1s var(--ease) .1s; z-index: 2; }
.img-reveal.in::after { transform: scaleX(0); }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split-words.in .w > span { transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero .hero-copy > * { animation: rise 1s var(--ease) both; }
.hero .hero-copy > *:nth-child(2) { animation-delay: .1s; }
.hero .hero-copy > *:nth-child(3) { animation-delay: .2s; }
.hero .hero-copy > *:nth-child(4) { animation-delay: .3s; }
.hero .hero-copy > *:nth-child(5) { animation-delay: .4s; }
.hero .quote-card { animation: rise 1.1s var(--ease) .35s both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .split-words .w > span { opacity: 1 !important; transform: none !important; }
  .img-reveal::after { display: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .menu, .nav-phone { display: none; }
  .burger { display: block; }
  .hero .container, .split, .cta-band, .article-wrap { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .services-grid, .compare, .process, .related { grid-template-columns: 1fr 1fr; }
  .svc-card--feature { grid-column: span 2; }
  .tips { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .sidebar { position: static; }
  .img-stack { max-width: 620px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar .tb-right { display: none; }
  .topbar .container { justify-content: center; }
  .nav { height: 72px; }
  .logo img, .site-header.scrolled .logo img { height: 60px; }
  .nav-cta .btn { display: none; }
  .logo-text small { display: none; }
  .services-grid, .compare, .process, .related, .duo, .tips, .feature-list, .footer-grid, .checklist.two { grid-template-columns: 1fr; }
  .svc-card--feature { grid-column: auto; flex-direction: column; }
  .svc-card--feature .svc-img { min-height: 240px; }
  .svc-card--feature .svc-body { padding: 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .bento .b-big { grid-column: span 2; }
  .duo-card { min-height: 460px; }
  .img-stack { padding: 0 0 40px 30px; }
  .img-stack .badge-float { right: 0; }
  .fullwidth { min-height: 78vh; }
  .fab-call { display: grid; }
  .to-top { bottom: 86px; }
  .spec-table th { width: 42%; }
  .hero { padding-top: 50px; }
}
