/* ==========================================================================
   Metal Building Now — Design System
   Industrial-technical / Swiss editorial. Blue · white · navy · greys.
   ========================================================================== */

:root {
  /* Brand */
  --navy:        #0A1B33;
  --navy-800:    #0E2545;
  --navy-700:    #13315C;
  --blue:        #0E5FD9;
  --blue-700:    #0B4CB0;
  --blue-100:    #E7F0FD;
  --blue-50:     #F4F8FE;

  /* Neutrals */
  --white:       #FFFFFF;
  --paper:       #F4F7FB;
  --line:        #DFE6EF;
  --line-strong: #C6D1E0;
  --slate-600:   #41546B;
  --slate-500:   #5E7085;
  --slate-400:   #8194A8;
  --slate-300:   #A9B7C7;

  /* Text */
  --ink:         #0A1B33;
  --body:        #41546B;

  /* Type */
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 78px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 0.22s;
  --slow: 0.7s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.mono { font-family: var(--font-mono); font-weight: 400; letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--blue); color: #fff; padding: 0.7rem 1.1rem; border-radius: 3px;
  transition: top var(--fast) var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.97rem; line-height: 1;
  padding: 0.85rem 1.5rem; border: 1px solid transparent; border-radius: 3px;
  cursor: pointer; white-space: nowrap;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease),
              border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--fast) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { padding: 1.05rem 1.85rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-700); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.42); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--blue-100); transform: translateY(-1px); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.42); }
.btn--outline-light:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.75); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--blue); font-weight: 600; font-size: 0.95rem;
}
.link-arrow svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--fast) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { color: var(--blue-700); }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: #B9C7DA; }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.85rem, 4.1vw, 3.1rem); margin-bottom: 0.85rem; }
.section-lead { font-size: 1.08rem; color: var(--slate-500); max-width: 62ch; }
.section--navy .section-lead { color: var(--slate-300); }

.section-index {
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500;
  color: var(--blue); margin-bottom: 1.1rem; letter-spacing: 0;
}
.section-index--light { color: #5B8DEF; }

.footnote { margin-top: 2rem; font-size: 0.83rem; color: var(--slate-400); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: box-shadow var(--fast) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 14px 34px -20px rgba(4,12,24,0.85); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }
.brand img { height: 42px; width: auto; }
.brand { flex: none; }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: 1.9rem; }
.primary-nav a {
  font-size: 0.95rem; font-weight: 500; color: #C6D6EC;
  position: relative; padding: 0.4rem 0;
  transition: color var(--fast) var(--ease);
}
.primary-nav a:hover { color: #fff; }
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: #4C8DFF; transition: right var(--fast) var(--ease);
}
.primary-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600; font-size: 0.95rem; color: #fff;
  transition: color var(--fast) var(--ease);
}
.header-phone:hover { color: #9FC0EF; }
.header-phone svg { width: 17px; height: 17px; fill: none; stroke: #4C8DFF; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; transition: transform var(--fast) var(--ease), opacity var(--fast) var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99;
  background: #fff; padding: 2rem var(--gutter);
  display: flex; flex-direction: column; justify-content: space-between;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease);
  border-top: 1px solid var(--line);
}
.mobile-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav nav ul { display: flex; flex-direction: column; }
.mobile-nav nav a { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--ink); padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.mobile-nav-foot { display: flex; flex-direction: column; gap: 0.4rem; padding-top: 1.5rem; font-size: 0.95rem; }
.mobile-nav-foot a { color: var(--blue); font-weight: 600; }
.mobile-nav-foot span { color: var(--slate-400); }

/* ---------- Nav dropdown ---------- */
.primary-nav li { position: relative; }
.primary-nav a.is-active { color: #fff; }
.primary-nav a.is-active::after { right: 0; }
.nav-parent { display: inline-flex; align-items: center; gap: 0.35rem; }
.nav-parent svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dropdown {
  position: absolute; top: calc(100% + 0.55rem); left: -0.7rem; min-width: 185px; z-index: 5;
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 20px 44px -26px rgba(10,27,51,0.55); padding: 0.45rem;
  display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease), visibility var(--fast);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { color: var(--ink) !important; padding: 0.55rem 0.7rem !important; border-radius: 3px; font-size: 0.92rem; }
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--blue-50); color: var(--blue) !important; }

/* ==========================================================================
   PAGE HERO + SHARED LAYOUT BLOCKS
   ========================================================================== */
.page-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.page-hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,27,51,0.86) 0%, rgba(10,27,51,0.62) 60%, rgba(10,27,51,0.9) 100%), linear-gradient(90deg, rgba(10,27,51,0.72), rgba(10,27,51,0.25)); }
.page-hero .container { position: relative; z-index: 1; padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.78rem; color: #9FB4D0; margin-bottom: 1.3rem; }
.breadcrumb a { color: #9FB4D0; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: #5F7797; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 22ch; margin-bottom: 1rem; }
.page-hero p { color: #C6D6EC; font-size: 1.08rem; max-width: 58ch; }
.page-hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.85rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--top { align-items: start; }
.split-media { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--paper); }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 1rem; }
.split p + p { margin-top: 1rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { border-top: 2px solid var(--navy); padding-top: 1.2rem; }
.stat-num { font-family: var(--font-mono); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--ink); line-height: 1.1; }
.stat-label { font-size: 0.9rem; color: var(--slate-500); margin-top: 0.35rem; }
.section--navy .stat { border-top-color: #4C8DFF; }
.section--navy .stat-num { color: #fff; }
.section--navy .stat-label { color: var(--slate-300); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; display: flex; flex-direction: column;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  background: var(--navy); color: #fff; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,27,51,0.72) 0%, rgba(10,27,51,0.38) 42%, rgba(10,27,51,0.88) 100%),
    linear-gradient(90deg, rgba(10,27,51,0.78) 0%, rgba(10,27,51,0.15) 62%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  gap: 3rem; flex: 1; padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.hero-copy { max-width: 46rem; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.82rem; color: #C6D6EC; margin-bottom: 1.6rem;
}
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: #4C8DFF; box-shadow: 0 0 0 4px rgba(76,141,255,0.25); }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 4.7rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 1.4rem; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #D3DEEE; max-width: 40ch; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.hero-spec {
  align-self: end; width: min(19rem, 34vw);
  border: 1px solid rgba(255,255,255,0.22); border-radius: 4px;
  background: rgba(10,27,51,0.42); backdrop-filter: blur(8px);
  display: grid; grid-template-columns: 1fr 1fr;
}
.hero-spec dl { display: contents; }
.hero-spec dl > div { padding: 1.15rem 1.2rem; border-right: 1px solid rgba(255,255,255,0.14); border-bottom: 1px solid rgba(255,255,255,0.14); }
.hero-spec dl > div:nth-child(2n) { border-right: none; }
.hero-spec dl > div:nth-child(n+3) { border-bottom: none; }
.hero-spec dt { font-family: var(--font-mono); font-size: 0.72rem; color: #9FB4D0; margin-bottom: 0.35rem; }
.hero-spec dd { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 500; color: #fff; line-height: 1; }

.hero-base { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,0.18); }
.hero-base .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.hero-caption { font-family: var(--font-mono); font-size: 0.76rem; color: #A9BDD9; max-width: 70ch; }
.hero-scroll { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--font-mono); font-size: 0.76rem; color: #A9BDD9; }
.hero-scroll .rule { width: 46px; height: 1px; background: rgba(255,255,255,0.4); }

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust-strip { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.08); }
.trust-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem;
  padding-top: 0.95rem; padding-bottom: 0.95rem;
}
.trust-inner span {
  font-family: var(--font-mono); font-size: 0.78rem; color: #A9BDD9;
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.trust-inner span::before { content: ""; width: 5px; height: 5px; background: var(--blue); transform: rotate(45deg); flex: none; }

/* ==========================================================================
   PILLARS
   ========================================================================== */
.pillars { background: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar { padding: 0 2rem; border-left: 1px solid var(--line); }
.pillar:first-child { border-left: none; padding-left: 0; }
.pillar:last-child { padding-right: 0; }
.pillar-ico { width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.1rem; }
.pillar h3 { font-size: 1.22rem; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.pillar p { font-size: 0.95rem; color: var(--slate-500); }

/* ==========================================================================
   BUILDINGS
   ========================================================================== */
.building-layout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.building {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 4px; background: #fff;
  overflow: hidden;
  transition: border-color var(--fast) var(--ease), transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.building:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 22px 40px -30px rgba(10,27,51,0.5); }
.building-media { display: block; overflow: hidden; background: var(--paper); }
.building-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform var(--slow) var(--ease); }
.building:hover .building-media img { transform: scale(1.045); }
.building-body { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.5rem 1.5rem 1.6rem; flex: 1; }
.building-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.building-head h3 { font-size: 1.35rem; letter-spacing: -0.015em; }
.building-size { font-size: 0.75rem; color: var(--slate-400); white-space: nowrap; }
.building-body p { font-size: 0.96rem; color: var(--slate-500); }
.building-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.4rem; }
.building-price { color: var(--blue); font-size: 0.95rem; font-weight: 600; }

.building--feature { grid-column: span 2; display: grid; grid-template-columns: 1.05fr 1fr; }
.building--feature .building-media img { height: 100%; aspect-ratio: auto; min-height: 320px; }
.building--feature .building-body { padding: 2.1rem 2.1rem 2.2rem; justify-content: center; }
.building--feature h3 { font-size: 1.85rem; }
.building--feature p { font-size: 1.02rem; }

/* ==========================================================================
   MODELS & PRICING
   ========================================================================== */
.models-controls { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.models-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem 2rem; }
.model { display: flex; flex-direction: column; gap: 0.3rem; border-top: 1px solid var(--line-strong); padding-top: 1.05rem; }
.model-cat { font-size: 0.72rem; color: var(--blue); }
.model h3 { font-size: 1.12rem; letter-spacing: -0.01em; }
.model-note { font-size: 0.9rem; color: var(--slate-500); }
.model-foot { margin-top: 0.9rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.model-price { color: var(--ink); font-size: 0.88rem; }
.model.is-hidden { display: none; }

/* ==========================================================================
   WHAT'S INCLUDED
   ========================================================================== */
.specs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.5rem; }
.spec { border-top: 2px solid var(--navy); padding-top: 1.25rem; }
.spec-label { display: block; font-size: 0.74rem; color: var(--blue); margin-bottom: 0.75rem; }
.spec h3 { font-size: 1.18rem; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.spec p { font-size: 0.95rem; color: var(--slate-500); }

/* ==========================================================================
   FORMS
   ========================================================================== */
.field { display: flex; flex-direction: column; gap: 0.6rem; border: none; padding: 0; margin: 0; }
.field > label {
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--slate-500);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0;
}
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }

input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; padding: 0.8rem 0.95rem; background: #fff;
  border: 1px solid var(--line-strong); border-radius: 3px;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-100); }
textarea { resize: vertical; min-height: 7rem; line-height: 1.55; }

/* ==========================================================================
   WHY
   ========================================================================== */
.why { background: var(--navy); }
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5.5rem); }
.why-intro h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); margin-bottom: 1.2rem; }
.why-lead { color: var(--slate-300); font-size: 1.06rem; margin-bottom: 2.4rem; max-width: 46ch; }
.why-figure { border: 1px solid rgba(255,255,255,0.14); border-radius: 4px; overflow: hidden; }
.why-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.why-figure figcaption { font-size: 0.74rem; color: #93A9C7; padding: 0.85rem 1rem; background: rgba(255,255,255,0.03); }

.why-list { display: flex; flex-direction: column; }
.why-item { display: flex; gap: 1.6rem; padding: 1.8rem 0; border-top: 1px solid rgba(255,255,255,0.14); }
.why-item:first-child { padding-top: 0; border-top: none; }
.why-item:last-child { padding-bottom: 0; }
.why-num { color: #4C8DFF; font-size: 0.9rem; padding-top: 0.35rem; flex: none; }
.why-item h3 { font-size: 1.4rem; margin-bottom: 0.55rem; }
.why-item p { color: var(--slate-300); font-size: 1rem; }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; }
.process-step { position: relative; padding-top: 1.6rem; border-top: 2px solid var(--navy); }
.process-step::before { content: ""; position: absolute; top: -2px; left: 0; width: 26px; height: 2px; background: var(--blue); }
.process-num { display: block; font-size: 0.85rem; color: var(--blue); margin-bottom: 1.3rem; }
.process-step h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.92rem; color: var(--slate-500); }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-controls { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filter {
  font-size: 0.88rem; font-weight: 500; color: var(--slate-500);
  padding: 0.5rem 0.95rem; border: 1px solid var(--line); border-radius: 3px; background: #fff;
  transition: all var(--fast) var(--ease);
}
.filter:hover { border-color: var(--line-strong); color: var(--ink); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.tile { position: relative; margin: 0; background: #fff; overflow: hidden; cursor: pointer; }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform var(--slow) var(--ease); }
.tile:hover img, .tile:focus-within img { transform: scale(1.05); }
.tile figcaption {
  position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: 0.15rem;
  padding: 1.1rem 1rem 0.95rem; color: #fff; font-size: 0.95rem; font-weight: 600;
  background: linear-gradient(180deg, rgba(10,27,51,0) 0%, rgba(10,27,51,0.85) 100%);
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.tile figcaption .mono { font-size: 0.7rem; color: #9FC0EF; font-weight: 400; }
.tile:hover figcaption, .tile:focus-within figcaption { opacity: 1; transform: none; }
.tile.is-hidden { display: none; }

/* ==========================================================================
   FINANCING
   ========================================================================== */
.finance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.finance-card { border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.7rem, 3vw, 2.6rem); display: flex; flex-direction: column; }
.finance-card h3 { font-size: 1.55rem; margin-bottom: 0.5rem; }
.finance-sub { color: var(--slate-500); font-size: 0.98rem; margin-bottom: 1.7rem; }
.tick-list { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 2rem; }
.tick-list li { position: relative; padding-left: 1.9rem; font-size: 1rem; color: var(--ink); }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E5FD9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.finance-card .link-arrow { margin-top: auto; }

.finance-card--accent { background: var(--navy); border-color: var(--navy); color: #C6D6EC; }
.finance-card--accent h3 { color: #fff; }
.finance-card--accent .finance-sub { color: var(--slate-300); }
.finance-card--accent .tick-list li { color: #DCE6F4; }
.finance-card--accent .tick-list li::before { background-color: rgba(76,141,255,0.18); }
.finance-card--accent .link-arrow { color: #6FA5FF; }

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review { border-top: 2px solid var(--navy); padding-top: 1.6rem; display: flex; flex-direction: column; gap: 1.6rem; }
.review blockquote { font-size: 1.02rem; color: var(--ink); }
.review--lead blockquote { font-size: 1.18rem; font-family: var(--font-display); font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 0.1rem; }
.review-name { font-weight: 600; color: var(--ink); }
.review-meta { font-size: 0.76rem; color: var(--slate-400); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 2rem); margin-bottom: 0; }
.faq-head a { color: var(--blue); font-weight: 600; }
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.13rem; color: var(--ink); letter-spacing: -0.01em;
  transition: color var(--fast) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary::after {
  content: ""; position: absolute; right: 0.35rem; top: 1.75rem; width: 12px; height: 12px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(45deg); transition: transform var(--fast) var(--ease);
}
.faq[open] summary::after { transform: rotate(225deg); }
.faq p { padding: 0 3rem 1.5rem 0; color: var(--slate-500); font-size: 0.99rem; max-width: 68ch; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { position: relative; background: var(--navy); color: #fff; padding: clamp(4rem, 9vw, 7rem) 0; overflow: hidden; }
.cta-lines {
  position: absolute; inset: 0; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 80%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 80%);
}
.cta-inner { position: relative; z-index: 1; max-width: 46rem; }
.cta h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); margin-bottom: 1rem; }
.cta p { color: var(--slate-300); font-size: 1.1rem; margin-bottom: 2.2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-intro h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; margin-top: 2.6rem; }
.contact-details dt { font-family: var(--font-mono); font-size: 0.76rem; color: var(--slate-400); margin-bottom: 0.35rem; }
.contact-details dd { color: var(--ink); font-size: 1rem; }
.contact-details a { color: var(--blue); font-weight: 600; }

.contact-form { display: flex; flex-direction: column; gap: 1.35rem; }
.field-error { font-size: 0.8rem; color: #C0392B; min-height: 1em; }
.field-hint { font-size: 0.8rem; color: var(--slate-400); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192,57,43,0.12); }
.form-status { font-size: 0.95rem; font-weight: 600; color: var(--blue); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--navy); color: #93A9C7; padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 1.4rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.95rem; max-width: 34ch; margin-bottom: 1.6rem; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.2); border-radius: 3px; transition: all var(--fast) var(--ease); }
.footer-social a:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.45); }
.footer-social svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-col h3 { color: #fff; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; margin-bottom: 1.2rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; font-size: 0.94rem; }
.footer-col a:hover { color: #fff; }
.footer-col--contact li { color: #93A9C7; }
.footer-col--contact a { color: #C6D6EC; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.4rem 0 1.8rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.82rem; color: #7E97B8; }

/* ==========================================================================
   FLOATING + LIGHTBOX
   ========================================================================== */
.wa-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; box-shadow: 0 10px 30px -8px rgba(37,211,102,0.7);
  transition: transform var(--fast) var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.to-top {
  position: fixed; right: 1.4rem; bottom: 5.6rem; z-index: 90;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 3px;
  background: var(--navy); color: #fff;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: all var(--fast) var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--blue); }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6,14,26,0.94); display: grid; place-items: center; padding: clamp(1rem, 5vw, 3rem); }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: min(1100px, 92vw); }
.lb-figure img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: 4px; }
.lb-figure figcaption { text-align: center; color: #A9BDD9; font-size: 0.8rem; margin-top: 1rem; }
.lb-close { position: absolute; top: 1.2rem; right: 1.2rem; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.25); border-radius: 3px; color: #fff; }
.lb-close:hover { background: rgba(255,255,255,0.1); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.25); border-radius: 3px; color: #fff; }
.lb-nav:hover { background: rgba(255,255,255,0.1); }
.lb-prev { left: clamp(0.6rem, 3vw, 2rem); }
.lb-next { right: clamp(0.6rem, 3vw, 2rem); }
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   MOTION — one orchestrated hero entrance + one coordinated reveal
   ========================================================================== */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-copy > * { animation: rise 0.85s var(--ease) both; }
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.14s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.23s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.32s; }
.hero-spec { animation: rise 0.85s var(--ease) 0.30s both; }
.hero-base { animation: rise 0.85s var(--ease) 0.45s both; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.07s; }
.reveal-delay-2 { transition-delay: 0.14s; }
.reveal-delay-3 { transition-delay: 0.21s; }
.reveal-delay-4 { transition-delay: 0.28s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1120px) {
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }
  .contact-details { grid-template-columns: 1fr 1fr; }
  .models-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; align-content: center; }
  .hero-spec { align-self: start; width: min(100%, 30rem); }
  .pillars-grid { grid-template-columns: 1fr 1fr; gap: 2rem 0; }
  .pillar { padding: 0 1.6rem; }
  .pillar:nth-child(odd) { border-left: none; padding-left: 0; }
  .pillar:nth-child(even) { padding-right: 0; }

  .building-layout { grid-template-columns: 1fr 1fr; }
  .building--feature { grid-column: span 2; grid-template-columns: 1fr; }
  .building--feature .building-media img { min-height: 260px; }

  .split { grid-template-columns: 1fr; }

  .models-grid { grid-template-columns: repeat(2, 1fr); }
  .specs-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; }

  .why-grid, .contact-grid, .faq-layout { grid-template-columns: 1fr; }
  .faq-head { position: static; }

  .process { grid-template-columns: 1fr 1fr; gap: 2rem 1.4rem; }

  .gallery { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; gap: 2.2rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .header-phone span { display: none; }
  .building-layout { grid-template-columns: 1fr; }
  .building--feature { grid-column: auto; }
  .models-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .field-pair { grid-template-columns: 1fr; }
  .finance-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .contact-details { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-scroll { display: none; }
  .pillars-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pillar, .pillar:nth-child(odd), .pillar:nth-child(even) { border-left: none; padding: 0; border-top: 1px solid var(--line); padding-top: 1.6rem; }
  .pillar:first-child { border-top: none; padding-top: 0; }
}

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