/* ==========================================================================
   BLUE SKYLIGHT PROPERTIES LLC — "Open Sky Atrium" design system
   Vanilla CSS3 · mobile-first · breakpoints 480 / 768 / 1024 / 1280
   ========================================================================== */

:root {
  --void: #070B1F;
  --indigo: #111A3D;
  --royal: #2A3D8F;
  --electric: #3D7BFF;
  --sky: #6FB3FF;
  --mist: #C7DDFF;
  --citrus: #FF8A3D;
  --citrus-lt: #FFB077;
  --cloud: #F6F8FD;
  --white: #FFFFFF;
  --graphite: #1C2333;
  --muted: #697389;
  --line: rgba(17, 26, 61, .12);

  --grad-night: linear-gradient(165deg, #070B1F 0%, #111A3D 48%, #2A3D8F 100%);
  --grad-sky: linear-gradient(120deg, #2A3D8F, #3D7BFF 55%, #6FB3FF);
  --grad-dawn: linear-gradient(115deg, #FF8A3D, #FFB077);
  --grad-cloud: linear-gradient(180deg, #FFFFFF, #F6F8FD);

  --glass: rgba(255, 255, 255, .07);
  --glass-brd: rgba(111, 179, 255, .26);
  --blur: blur(16px);

  --sp-1: .5rem;
  --sp-2: 1rem;
  --sp-3: 1.75rem;
  --sp-4: 3rem;
  --sp-5: 5rem;
  --sp-6: 7.5rem;

  --r-sm: 8px;
  --r-md: 18px;
  --r-lg: 32px;
  --r-xl: 48px;
  --r-pill: 999px;

  --sh-1: 0 1px 3px rgba(7, 11, 31, .06);
  --sh-2: 0 16px 44px rgba(7, 11, 31, .13);
  --sh-3: 0 34px 90px rgba(7, 11, 31, .26);

  --ring: 0 0 0 3px rgba(61, 123, 255, .35);
  --ease: cubic-bezier(.19, 1, .22, 1);
  --t: .6s var(--ease);

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Sora', system-ui, -apple-system, sans-serif;
  --header-h: 76px;
}

/* ---------- Reset (targeted, no universal selector) ---------- */
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption,
blockquote, dl, dd, fieldset, legend, pre, hr {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img, svg, canvas, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
hr { border: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--graphite);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* CSS grain overlay — fixed, non-interactive */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
  opacity: .025;
  background-image: repeating-radial-gradient(circle at 17% 23%, #fff 0 1px, transparent 1px 3px);
  background-size: 5px 5px;
}

::selection { background: var(--electric); color: var(--white); }

/* ---------- Focus ---------- */
:focus-visible {
  outline: 3px solid var(--electric);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 2000;
  background: var(--citrus);
  color: var(--void);
  font-weight: 600;
  font-size: .9rem;
  padding: .7rem 1.2rem;
  border-radius: var(--r-sm);
  transition: top .3s var(--ease);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--graphite);
  text-wrap: balance;
}
h1, .h1 {
  font-size: clamp(2.9rem, 6.8vw, 5.4rem);
  line-height: .96;
  letter-spacing: -.02em;
}
h2, .h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.015em;
}
h3, .h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.2;
}
.h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.4;
}

.em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--citrus);
}

.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .26em;
  color: var(--royal);
  margin-bottom: var(--sp-2);
}
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--electric); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.small { font-size: .85rem; }
.center { text-align: center; }
.measure { max-width: 62ch; }
.measure-wide { max-width: 74ch; }

/* ---------- Layout rails & sections ---------- */
.rail, .rail-narrow, .rail-wide {
  width: 100%;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.rail-narrow { max-width: 56rem; }
.rail { max-width: 72rem; }
.rail-wide { max-width: 90rem; }

.section { padding-block: clamp(4rem, 9vw, var(--sp-6)); position: relative; }
.section-dark { background: var(--grad-night); color: var(--mist); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark .h4 { color: var(--white); }
.section-cloud { background: var(--grad-cloud); }
.section-white { background: var(--white); }
.section-dark .em { color: var(--citrus); }
.section-cloud .em, .section-white .em { color: var(--royal); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; }

/* Horizon rule — draws in via scaleX */
.rule {
  display: block;
  width: 72px;
  height: 2px;
  border: 0;
  background: var(--electric);
  margin-block: var(--sp-2) var(--sp-3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease) .15s;
}
.rule.citrus { background: var(--citrus); }
.rule.in, .in .rule { transform: scaleX(1); }

/* Cloud-contour divider */
.cloud-divider {
  position: absolute;
  left: 0; right: 0;
  height: 120px;
  color: var(--sky);
  opacity: .06;
  pointer-events: none;
  overflow: hidden;
}
.cloud-divider.top { top: -1px; }
.cloud-divider.bottom { bottom: -1px; }
.cloud-divider svg { width: 100%; height: 100%; }
.section-cloud .cloud-divider, .section-white .cloud-divider { color: var(--royal); }

/* ---------- Reveal on scroll (JS-gated so no-JS still shows content) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(8px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; filter: blur(0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  padding: 1rem 1.9rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
  will-change: transform;
}
.btn:active { transform: scale(.98); }
.btn i { font-size: .85em; }

.btn-primary {
  background: var(--grad-dawn);
  color: var(--void);
  box-shadow: 0 10px 30px rgba(255, 138, 61, .35);
}
.btn-primary:hover { box-shadow: 0 16px 44px rgba(255, 138, 61, .5); transform: translateY(-2px); }

.btn-ghost {
  background: var(--glass);
  border-color: var(--glass-brd);
  color: var(--white);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}
.btn-ghost:hover { border-color: var(--electric); transform: translateY(-2px); }

.btn-light { background: var(--white); color: var(--royal); box-shadow: var(--sh-2); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--sh-3); }

.btn-outline { border-color: var(--line); color: var(--royal); background: transparent; }
.btn-outline:hover { border-color: var(--electric); color: var(--electric); }

.btn-sm { padding: .65rem 1.3rem; font-size: .85rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--electric);
  text-decoration: none;
}
.link-arrow i { transition: transform .35s var(--ease); }
.link-arrow:hover i { transform: translateX(5px); }
.section-cloud .link-arrow, .section-white .link-arrow { color: var(--royal); }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 1100;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--citrus);
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7, 11, 31, .82);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-bottom-color: rgba(111, 179, 255, .14);
  box-shadow: 0 10px 40px rgba(7, 11, 31, .35);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  position: relative;
  width: 36px; height: 36px;
  border-radius: 11px;
  background: var(--grad-sky);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 6px 18px rgba(61, 123, 255, .4);
  flex-shrink: 0;
}
.brand-mark::before { /* horizon line */
  content: "";
  position: absolute;
  left: 20%; right: 20%;
  bottom: 30%;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .92);
}
.brand-mark::after { /* sun / aperture dot */
  content: "";
  position: absolute;
  top: 24%; left: 30%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--citrus);
}
.brand-text {
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.05;
  color: var(--white);
  white-space: nowrap;
}
.brand-text em {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 800;
  font-size: .56rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--sky);
}

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: clamp(.9rem, 1.6vw, 1.5rem); }
.main-nav a {
  position: relative;
  display: inline-block;
  padding: .4rem 0;
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mist);
  text-decoration: none;
  transition: color .3s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--electric);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.active { color: var(--white); }
.main-nav a.active::after { transform: scaleX(1); background: var(--citrus); }

.header-cta { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .85rem;
  color: var(--mist);
  text-decoration: none;
  transition: color .3s var(--ease);
  white-space: nowrap;
}
.header-phone:hover { color: var(--white); }
.header-phone i { color: var(--citrus); }

.btn-owner {
  padding: .6rem 1.35rem;
  font-size: .8rem;
  border-radius: var(--r-pill);
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  color: var(--white);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}
.btn-owner:hover { border-color: var(--electric); background: rgba(61, 123, 255, .16); }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 1102;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--glass-brd);
  background: var(--glass);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile full-screen nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1101;
  background: var(--grad-night);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 1rem) clamp(1.5rem, 7vw, 4rem) 2rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity .5s var(--ease), visibility 0s .5s;
}
.mobile-nav.open { visibility: visible; opacity: 1; transition: opacity .5s var(--ease); }
.mobile-nav ul { display: flex; flex-direction: column; gap: .35rem; }
.mobile-nav .m-link {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 6.5vw, 2.6rem);
  line-height: 1.25;
  color: var(--white);
  text-decoration: none;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s var(--ease);
  transition-delay: 0s;
}
.mobile-nav.open .m-link { opacity: 1; transform: none; transition-delay: calc(var(--i) * 70ms + .1s); }
.mobile-nav .m-link:hover, .mobile-nav .m-link.active { color: var(--citrus); }
.mobile-nav-contact {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(111, 179, 255, .18);
  display: flex;
  flex-direction: column;
  gap: .45rem;
  font-size: .92rem;
  color: var(--mist);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease) .75s, transform .6s var(--ease) .75s;
}
.mobile-nav.open .mobile-nav-contact { opacity: 1; transform: none; }
.mobile-nav-contact a { color: var(--white); text-decoration: none; font-weight: 600; }
.mobile-nav-contact i { color: var(--citrus); width: 1.3rem; }

body.nav-open { overflow: hidden; }

/* ---------- Heroes & WebGL scenes ---------- */
.hero, .page-hero {
  position: relative;
  background: var(--grad-night);
  color: var(--mist);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero { min-height: 100vh; min-height: 100dvh; padding: calc(var(--header-h) + 3rem) 0 5rem; }
.page-hero { min-height: 68vh; min-height: 68dvh; padding: calc(var(--header-h) + 3.5rem) 0 4.5rem; }
.hero h1, .page-hero h1 { color: var(--white); }

.scene-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-inner, .page-hero-inner { position: relative; z-index: 2; width: 100%; }

.hero-panel {
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-xl);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  padding: clamp(1.75rem, 4.5vw, 3.5rem);
  max-width: 800px;
  box-shadow: var(--sh-3);
}
.hero-sub { max-width: 56ch; margin-top: var(--sp-3); font-size: clamp(1rem, 1.5vw, 1.15rem); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: var(--sp-3);
}
.hero-phone-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  padding: .6rem .4rem;
}
.hero-phone-link i { color: var(--citrus); }
.hero-phone-link:hover { color: var(--citrus-lt); }

/* ---------- Stat band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.stat { text-align: left; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  color: var(--white);
  display: block;
}
.stat-label {
  display: block;
  margin-top: .5rem;
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sky);
}
.stat-band.on-light .stat-num { color: var(--royal); }
.stat-band.on-light .stat-label { color: var(--muted); }
.stat-note { font-size: .78rem; color: var(--muted); margin-top: var(--sp-2); }

/* ---------- Cards ---------- */
.card-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); }

.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-lg);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.glass-card:hover { border-color: var(--electric); box-shadow: var(--sh-3); }

.card-light {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--sh-1);
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.card-light:hover { border-color: var(--electric); box-shadow: var(--sh-3); }

.card-icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--grad-sky);
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: var(--sp-2);
  box-shadow: 0 10px 24px rgba(61, 123, 255, .35);
}
.card-icon.warm { background: var(--grad-dawn); box-shadow: 0 10px 24px rgba(255, 138, 61, .35); }
.card-icon.deep { background: linear-gradient(135deg, var(--indigo), var(--royal)); }

.card-light h3, .card-light .h4 { color: var(--graphite); }
.card-light p { color: var(--muted); }
.card-light h3 { margin-bottom: .6rem; }
.glass-card h3 { margin-bottom: .6rem; }

/* CSS-3D tilt */
.tilt-grid { perspective: 1400px; }
.tilt-card { transform-style: preserve-3d; backface-visibility: hidden; }
.tilt-card .tilt-inner { transform: translateZ(34px); }

/* ---------- Chips ---------- */
.chip-grid { display: flex; flex-wrap: wrap; gap: .7rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.15rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 600;
  font-size: .85rem;
  color: var(--graphite);
  transition: border-color .35s var(--ease), transform .35s var(--ease), color .35s var(--ease);
}
.chip i { color: var(--electric); font-size: .75rem; }
.chip:hover { border-color: var(--electric); color: var(--royal); transform: translateY(-2px); }
.section-dark .chip { background: var(--glass); border-color: var(--glass-brd); color: var(--mist); }
.section-dark .chip:hover { border-color: var(--electric); color: var(--white); }

/* ---------- Process steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.steps::before {
  content: "";
  position: absolute;
  top: 27px; left: 4%; right: 4%;
  height: 2px;
  background: linear-gradient(90deg, var(--electric), var(--sky));
  opacity: .35;
}
.step { position: relative; counter-increment: step; }
.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--grad-sky);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: var(--sp-2);
  box-shadow: 0 0 0 6px rgba(61, 123, 255, .12);
}
.step-num::after { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.25rem; margin-bottom: .5rem; }

/* ---------- Split band (owner / tenant) ---------- */
.split-band { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.split-card {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  text-decoration: none;
  overflow: hidden;
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.split-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-sky);
}
.split-card.warm::before { background: var(--grad-dawn); }
.split-card:hover { border-color: var(--electric); box-shadow: var(--sh-3); transform: translateY(-4px); }
.split-card h3 { color: var(--white); margin-bottom: .6rem; }
.split-card p { color: var(--mist); max-width: 44ch; }
.split-card .link-arrow { margin-top: var(--sp-2); }

/* ---------- Slider ---------- */
.slider { position: relative; overflow: hidden; border-radius: var(--r-lg); }
.slider-track { display: flex; transition: transform .7s var(--ease); }
.slide { min-width: 100%; padding: .25rem; }
.slider-dots { display: flex; justify-content: center; gap: .6rem; margin-top: var(--sp-3); }
.slider-dots button {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid var(--sky);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.slider-dots button:hover { transform: scale(1.25); }
.slider-dots button[aria-selected="true"] { background: var(--citrus); border-color: var(--citrus); }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.section-dark .accordion { border-top-color: rgba(111, 179, 255, .18); }
.section-dark .acc-item { border-bottom-color: rgba(111, 179, 255, .18); }
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem .25rem;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--graphite);
  transition: color .3s var(--ease);
}
.section-dark .acc-trigger { color: var(--white); }
.acc-trigger:hover { color: var(--royal); }
.section-dark .acc-trigger:hover { color: var(--sky); }
.acc-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--royal);
  font-size: .8rem;
  transition: transform .5s var(--ease), background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.section-dark .acc-icon { border-color: var(--glass-brd); color: var(--sky); }
.acc-item.open .acc-icon { transform: rotate(45deg); background: var(--electric); border-color: var(--electric); color: var(--white); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel-inner { overflow: hidden; }
.acc-panel-inner p, .acc-panel-inner ul { padding: 0 .25rem 1.5rem; max-width: 68ch; color: var(--muted); }
.section-dark .acc-panel-inner p, .section-dark .acc-panel-inner ul { color: var(--mist); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--grad-sky);
  color: var(--white);
  overflow: hidden;
}
.cta-band h2 { color: var(--white); }
.cta-band .lead { color: rgba(255, 255, 255, .88); }
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.cta-band .cloud-divider { color: var(--white); opacity: .12; }

/* ---------- Checklist ---------- */
.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .85rem;
}
.check-list li i {
  position: absolute;
  left: 0; top: .32em;
  color: var(--electric);
  font-size: .9rem;
}
.section-dark .check-list li i { color: var(--sky); }
.check-list li strong { font-weight: 600; }

/* ---------- Standards badges (text only) ---------- */
.badge-strip { display: flex; flex-wrap: wrap; gap: .75rem; }
.std-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem 1.2rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--glass-brd);
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mist);
}
.std-badge i { color: var(--citrus); }

/* ---------- Team role cards ---------- */
.monogram {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 18px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  background: var(--grad-sky);
  margin-bottom: var(--sp-2);
  box-shadow: 0 12px 28px rgba(42, 61, 143, .35);
}
.monogram.m2 { background: var(--grad-dawn); box-shadow: 0 12px 28px rgba(255, 138, 61, .3); }
.monogram.m3 { background: linear-gradient(135deg, var(--indigo), var(--electric)); }
.monogram.m4 { background: linear-gradient(135deg, var(--royal), var(--sky)); }
.monogram.m5 { background: linear-gradient(135deg, var(--citrus), var(--citrus-lt)); }
.monogram.m6 { background: linear-gradient(135deg, var(--void), var(--royal)); }

/* ---------- Vertical timeline (About) ---------- */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--electric), var(--sky));
  opacity: .5;
}
.tl-item { position: relative; padding-bottom: 2.4rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: calc(-2.5rem + 2px);
  top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--citrus);
  box-shadow: 0 0 0 5px rgba(255, 138, 61, .18);
}
.tl-year {
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--royal);
  display: block;
  margin-bottom: .35rem;
}
.tl-item h3 { font-size: 1.3rem; margin-bottom: .4rem; }

/* ---------- Service detail blocks ---------- */
.svc-block {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.svc-block .card-icon { margin-bottom: 0; }
.svc-block h3 { margin-bottom: .6rem; }
.svc-block ul { margin-top: .9rem; }
.svc-block ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .45rem;
  color: var(--muted);
  font-size: .96rem;
}
.svc-block ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .68em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--electric);
}

/* ---------- Pricing ---------- */
.price-toggle {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--sp-4);
}
.price-toggle .pt-label { font-weight: 600; font-size: .9rem; color: var(--muted); transition: color .3s; }
.price-toggle .pt-label.on { color: var(--graphite); }
.pt-switch {
  position: relative;
  width: 62px; height: 32px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--cloud);
  cursor: pointer;
  transition: background .4s var(--ease);
}
.pt-switch::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--grad-sky);
  transition: transform .45s var(--ease);
}
.pt-switch[aria-checked="true"]::after { transform: translateX(30px); }
.pt-save {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--citrus);
}

.price-card { position: relative; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--electric); box-shadow: var(--sh-2); }
.price-tag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  padding: .35rem 1rem;
  border-radius: var(--r-pill);
  background: var(--grad-dawn);
  color: var(--void);
  font-weight: 800;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.price-name { font-family: var(--font-display); font-size: 1.9rem; color: var(--graphite); }
.price-frame { font-size: .9rem; color: var(--muted); margin-bottom: var(--sp-2); }
.price-val {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--royal);
  transform-origin: center;
  transition: transform .28s ease-in, opacity .28s ease-in;
}
.price-val.flipping { transform: rotateX(88deg); opacity: 0; }
.price-per { font-size: .85rem; color: var(--muted); }
.price-feats { margin-block: var(--sp-2); flex: 1; }
.price-feats li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: .55rem;
  font-size: .94rem;
  color: var(--muted);
}
.price-feats li i { position: absolute; left: 0; top: .35em; color: var(--electric); font-size: .8rem; }
.price-best { font-size: .85rem; color: var(--graphite); border-top: 1px solid var(--line); padding-top: 1rem; margin-bottom: var(--sp-2); }
.price-best strong { font-weight: 600; }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); box-shadow: var(--sh-1); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td { padding: 1rem 1.25rem; text-align: left; font-size: .92rem; }
.compare-table thead th {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--graphite);
  border-bottom: 2px solid var(--line);
}
.compare-table tbody tr + tr { border-top: 1px solid var(--line); }
.compare-table td:first-child { font-weight: 600; color: var(--graphite); }
.compare-table td { color: var(--muted); }
.compare-table .fa-check { color: var(--electric); }
.compare-table .fa-minus { color: var(--muted); opacity: .5; }

.note-box {
  border: 1px solid var(--line);
  border-left: 4px solid var(--citrus);
  border-radius: var(--r-md);
  background: var(--white);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  box-shadow: var(--sh-1);
}
.note-box h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.note-box p, .note-box li { color: var(--muted); font-size: .95rem; }

/* ---------- Mock owner statement ---------- */
.stmt-card {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
  border: 1px solid var(--line);
  overflow: hidden;
  color: var(--graphite);
}
.stmt-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  padding: 1.25rem 1.5rem;
  background: var(--grad-night);
  color: var(--white);
}
.stmt-head .stmt-title { font-weight: 600; font-size: .95rem; }
.stmt-head .stmt-period { font-size: .8rem; color: var(--sky); }
.stmt-prop {
  padding: .9rem 1.5rem;
  font-size: .82rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.stmt-rows { padding: .5rem 0; }
.stmt-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 1.5rem;
  font-size: .92rem;
}
.stmt-row span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
.stmt-row:nth-child(even) { background: var(--cloud); }
.stmt-row .neg { color: #C81E1E; }
.stmt-row .pos { color: #1D7A3D; }
.stmt-total {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 2px solid var(--graphite);
  font-weight: 600;
}
.stmt-total span:last-child { color: var(--royal); font-variant-numeric: tabular-nums; }
.stmt-foot { padding: .8rem 1.5rem 1.2rem; font-size: .75rem; color: var(--muted); }

/* ---------- Horizontal workflow timeline ---------- */
.workflow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; counter-reset: wf; }
.wf-stage { position: relative; counter-increment: wf; padding-top: 1.9rem; }
.wf-stage::before {
  content: counter(wf);
  position: absolute;
  top: 0; left: 0;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--grad-sky);
  color: var(--white);
  font-weight: 600;
  font-size: .8rem;
}
.wf-stage::after {
  content: "";
  position: absolute;
  top: 15px; left: 40px; right: -.35rem;
  height: 2px;
  background: var(--line);
}
.wf-stage:last-child::after { display: none; }
.wf-stage h3 { font-family: var(--font-body); font-weight: 600; font-size: .98rem; margin-bottom: .35rem; }
.wf-stage p { font-size: .86rem; color: var(--muted); }
.wf-sla {
  display: inline-block;
  margin-top: .6rem;
  padding: .25rem .7rem;
  border-radius: var(--r-pill);
  background: rgba(61, 123, 255, .1);
  color: var(--royal);
  font-weight: 800;
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ---------- Alternating rails timeline (buying/selling) ---------- */
.rail-tl { position: relative; }
.rail-tl::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: linear-gradient(var(--electric), var(--citrus));
  opacity: .4;
}
.rt-item { position: relative; width: 50%; padding: 0 2.75rem 2.5rem 0; }
.rt-item:nth-child(even) { margin-left: 50%; padding: 0 0 2.5rem 2.75rem; }
.rt-item::before {
  content: "";
  position: absolute;
  top: 6px;
  right: -8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 5px rgba(61, 123, 255, .15);
}
.rt-item:nth-child(even)::before { right: auto; left: -8px; background: var(--citrus); box-shadow: 0 0 0 5px rgba(255, 138, 61, .15); }
.rt-step {
  font-weight: 800;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--royal);
  display: block;
  margin-bottom: .3rem;
}
.rt-item h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.rt-item p { color: var(--muted); font-size: .95rem; }

/* ---------- Portfolio ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: var(--sp-3); }
.filter-btn {
  padding: .6rem 1.25rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 600;
  font-size: .84rem;
  color: var(--muted);
  cursor: pointer;
  transition: all .35s var(--ease);
}
.filter-btn:hover { border-color: var(--electric); color: var(--royal); }
.filter-btn[aria-pressed="true"] { background: var(--grad-sky); border-color: transparent; color: var(--white); }
.filter-count { font-size: .85rem; color: var(--muted); margin-bottom: var(--sp-3); }

.folio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.folio-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease), opacity .4s var(--ease);
}
.folio-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: var(--electric); }
.folio-card.hidden-card { display: none; }
.folio-visual {
  position: relative;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
}
.folio-visual::after { /* horizon contour */
  content: "";
  position: absolute;
  left: 8%; right: 8%;
  bottom: 26%;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .5);
}
.folio-visual::before {
  content: "";
  position: absolute;
  top: 18%; left: 16%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--citrus);
  box-shadow: 0 0 18px rgba(255, 138, 61, .8);
}
.v1 { background: linear-gradient(140deg, #070B1F, #2A3D8F 62%, #3D7BFF); }
.v2 { background: linear-gradient(150deg, #111A3D, #3D7BFF 70%, #6FB3FF); }
.v3 { background: linear-gradient(135deg, #2A3D8F, #6FB3FF); }
.v4 { background: linear-gradient(160deg, #070B1F, #111A3D 55%, #3D7BFF); }
.v5 { background: linear-gradient(125deg, #111A3D, #2A3D8F 50%, #FF8A3D 140%); }
.v6 { background: linear-gradient(145deg, #2A3D8F, #3D7BFF 45%, #C7DDFF); }
.type-badge {
  position: absolute;
  left: 1rem; bottom: 1rem;
  z-index: 2;
  padding: .35rem .9rem;
  border-radius: var(--r-pill);
  background: rgba(7, 11, 31, .55);
  border: 1px solid var(--glass-brd);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  color: var(--white);
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.folio-body { padding: 1.4rem 1.5rem 1.6rem; }
.folio-body h3 { font-size: 1.2rem; margin-bottom: .9rem; }
.folio-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  padding-block: .9rem;
  border-block: 1px solid var(--line);
  margin-bottom: .9rem;
}
.folio-metrics .fm { text-align: center; }
.folio-metrics .fm b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.45rem;
  color: var(--royal);
  line-height: 1.1;
}
.folio-metrics .fm span {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.folio-body p { font-size: .9rem; color: var(--muted); }

/* Case studies */
.case-study { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.case-col { border-top: 3px solid var(--electric); padding-top: 1.25rem; }
.case-col.c2 { border-top-color: var(--sky); }
.case-col.c3 { border-top-color: var(--citrus); }
.case-col h3 { font-family: var(--font-body); font-weight: 800; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--royal); margin-bottom: .7rem; }
.case-col p { color: var(--muted); font-size: .95rem; }

/* ---------- Owners / Tenants tabs ---------- */
.tabs-bar {
  position: sticky;
  top: calc(var(--header-h) + 10px);
  z-index: 40;
  display: flex;
  justify-content: center;
  padding-block: .75rem;
  background: linear-gradient(180deg, var(--cloud) 70%, transparent);
}
.tab-list {
  position: relative;
  display: inline-flex;
  padding: 4px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--sh-2);
}
.tab {
  position: relative;
  z-index: 1;
  padding: .75rem 1.9rem;
  border: 0;
  border-radius: var(--r-pill);
  background: none;
  cursor: pointer;
  font-weight: 600;
  font-size: .92rem;
  color: var(--muted);
  transition: color .35s var(--ease);
  white-space: nowrap;
}
.tab[aria-selected="true"] { color: var(--white); }
.tab-indicator {
  position: absolute;
  top: 4px; bottom: 4px; left: 4px;
  width: 0;
  border-radius: var(--r-pill);
  background: var(--grad-sky);
  transition: left .45s var(--ease), width .45s var(--ease);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.info-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.def-list li { margin-bottom: 1rem; padding-left: 1.6rem; position: relative; }
.def-list li i { position: absolute; left: 0; top: .35em; color: var(--electric); font-size: .85rem; }
.def-list li strong { font-weight: 600; display: block; }

.emergency-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--grad-night);
  border: 1px solid var(--glass-brd);
  color: var(--mist);
}
.emergency-card .card-icon { margin-bottom: 0; }
.emergency-card h3 { color: var(--white); margin-bottom: .25rem; }
.emergency-card a { color: var(--citrus); font-weight: 600; text-decoration: none; font-size: 1.2rem; }
.emergency-card a:hover { color: var(--citrus-lt); }

/* ---------- Testimonials ---------- */
.masonry { columns: 3; column-gap: 1.5rem; }
.masonry > li { break-inside: avoid; margin-bottom: 1.5rem; }
.t-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  box-shadow: var(--sh-1);
  transition: box-shadow .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.t-card:hover { box-shadow: var(--sh-2); border-color: var(--electric); transform: translateY(-3px); }
.t-card .fa-quote-left { color: var(--citrus); font-size: 1.3rem; margin-bottom: .9rem; }
.t-card blockquote { font-size: .97rem; color: var(--graphite); line-height: 1.75; }
.t-role {
  display: block;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--royal);
}
.t-feature {
  background: var(--grad-night);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--mist);
  position: relative;
  overflow: hidden;
}
.t-feature .fa-quote-left { color: var(--citrus); font-size: 2rem; margin-bottom: 1.25rem; }
.t-feature blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  line-height: 1.35;
  color: var(--white);
  max-width: 26ch;
}
.t-feature .t-role { border-top-color: rgba(111, 179, 255, .2); color: var(--sky); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.form-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  box-shadow: var(--sh-3);
  color: var(--graphite);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .86rem; }
.field label .req { color: var(--citrus); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--cloud);
  font-size: .95rem;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(61, 123, 255, .45); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: var(--ring);
  background: var(--white);
}
.field textarea { min-height: 130px; resize: vertical; }
.field [aria-invalid="true"] { border-color: #C81E1E; }
.error-text { display: none; font-size: .8rem; color: #C81E1E; font-weight: 400; }
.field.has-error .error-text { display: block; }
.radio-row { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.radio-row label { display: inline-flex; align-items: center; gap: .5rem; font-weight: 400; font-size: .92rem; cursor: pointer; }
.radio-row input { width: auto; accent-color: var(--electric); }

.form-success {
  display: none;
  text-align: center;
  padding: clamp(2rem, 5vw, 4rem) 1.5rem;
}
.form-success.show { display: block; animation: panelIn .6s var(--ease); }
.form-success .succ-icon {
  display: grid;
  place-items: center;
  width: 74px; height: 74px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--grad-sky);
  color: var(--white);
  font-size: 1.7rem;
  box-shadow: 0 16px 40px rgba(61, 123, 255, .4);
}
.form-success h3 { margin-bottom: .6rem; }
.form-success p { color: var(--muted); max-width: 46ch; margin-inline: auto; }

.info-panel {
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-lg);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--mist);
}
.info-panel h2, .info-panel h3 { color: var(--white); }
.info-list li { display: flex; gap: 1rem; padding-block: .9rem; border-bottom: 1px solid rgba(111, 179, 255, .14); }
.info-list li:last-child { border-bottom: 0; }
.info-list i { color: var(--citrus); margin-top: .35rem; width: 1.2rem; flex-shrink: 0; }
.info-list b { display: block; font-weight: 600; color: var(--white); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .15rem; }
.info-list a { color: var(--white); text-decoration: none; font-weight: 600; }
.info-list a:hover { color: var(--citrus-lt); }

.map-ph {
  position: relative;
  min-height: 240px;
  border-radius: var(--r-md);
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg, rgba(111, 179, 255, .1) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(111, 179, 255, .1) 0 1px, transparent 1px 44px),
    radial-gradient(ellipse at 42% 55%, rgba(61, 123, 255, .3), transparent 65%),
    var(--grad-night);
  border: 1px solid var(--glass-brd);
}
.map-pin { position: absolute; left: 42%; top: 55%; }
.pin-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--citrus);
  box-shadow: 0 0 0 4px rgba(255, 138, 61, .25);
  position: relative;
  z-index: 1;
}
.pin-ring {
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  border: 2px solid var(--citrus);
  animation: pinPulse 2.2s var(--ease) infinite;
}
@keyframes pinPulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(3.4); opacity: 0; }
}
.map-label {
  position: absolute;
  left: 1rem; bottom: .9rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sky);
}

.route-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.route-card {
  border: 1px solid var(--glass-brd);
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-radius: var(--r-md);
  padding: 1.5rem;
  color: var(--mist);
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.route-card:hover { border-color: var(--electric); transform: translateY(-3px); }
.route-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: .45rem; }
.route-card p { font-size: .9rem; }
.route-card .link-arrow { margin-top: .8rem; font-size: .85rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--void);
  color: var(--mist);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--electric), transparent);
  opacity: .5;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(111, 179, 255, .14);
}
.footer-brand p { font-size: .92rem; margin-top: 1rem; max-width: 34ch; }
.footer-col h2, .footer-col h3 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1.1rem;
}
.footer-col ul li { margin-bottom: .55rem; }
.footer-col a {
  color: var(--mist);
  text-decoration: none;
  font-size: .93rem;
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-contact li { display: flex; gap: .8rem; margin-bottom: .8rem; font-size: .92rem; }
.footer-contact i { color: var(--citrus); margin-top: .35rem; width: 1.1rem; flex-shrink: 0; }
.footer-contact a { padding: 0; }
.footer-notices { padding-block: 1.75rem; display: flex; flex-direction: column; gap: .55rem; }
.footer-notices p { font-size: .8rem; color: var(--muted); display: flex; align-items: flex-start; gap: .6rem; }
.footer-notices i { color: var(--sky); margin-top: .25rem; font-size: .75rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .82rem;
  color: var(--muted);
}

.to-top {
  position: fixed;
  right: 1.25rem; bottom: 1.25rem;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--glass-brd);
  background: rgba(7, 11, 31, .75);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  color: var(--white);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s .4s, border-color .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease), border-color .3s; }
.to-top:hover { border-color: var(--citrus); color: var(--citrus); }

/* ---------- Misc ---------- */
.two-col { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.two-col.rev { grid-template-columns: 2fr 3fr; }
.list-plain li { margin-bottom: .6rem; }
.mt-1 { margin-top: var(--sp-1); } .mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); } .mt-4 { margin-top: var(--sp-4); }
.mb-2 { margin-bottom: var(--sp-2); } .mb-3 { margin-bottom: var(--sp-3); }

/* ---------- Responsive ---------- */
@media (max-width: 1279px) {
  .header-phone span { display: none; }
  .header-phone { font-size: 1rem; }
}
@media (max-width: 1023px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { margin-left: auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .folio-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .workflow { grid-template-columns: repeat(2, 1fr); row-gap: 2.25rem; }
  .wf-stage::after { display: none; }
  .case-study { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .two-col, .two-col.rev { grid-template-columns: 1fr; }
  .rail-tl::before { left: 8px; }
  .rt-item, .rt-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 2.25rem 2.5rem; }
  .rt-item::before, .rt-item:nth-child(even)::before { left: 0; right: auto; }
}
@media (max-width: 767px) {
  body { font-size: 1rem; }
  .hero { padding-bottom: 3.5rem; }
  .hero-panel { border-radius: var(--r-lg); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .split-band { grid-template-columns: 1fr; }
  .folio-grid { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .steps { grid-template-columns: 1fr; }
  .workflow { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .info-row { grid-template-columns: 1fr; }
  .route-cards { grid-template-columns: 1fr; }
  .svc-block { grid-template-columns: 1fr; }
  .tab-list { display: flex; width: 100%; }
  .tab { flex: 1; padding: .8rem .5rem; text-align: center; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .hero-actions .btn, .cta-actions .btn { width: auto; flex: 1 1 220px; }
  .header-cta .btn-owner { display: none; }
}
@media (max-width: 479px) {
  .stat-band { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-text { font-size: 1.05rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .rule { transform: scaleX(1); transition: none; }
  .pin-ring { animation: none; opacity: 0; }
  .tab-panel.active { animation: none; }
  .form-success.show { animation: none; }
  .slider-track { transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
