/* ==========================================================================
   Vista Enclave Inc — Main Stylesheet
   Web Design | Development | Digital Solutions
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand colour system (sampled from brand artwork) */
  --navy-950: #01091a;
  --navy-900: #020f24;
  --navy-850: #031328;
  --navy-800: #05193a;
  --navy-line: #0b2c58;

  --blue-700: #0044c8;
  --blue-600: #0054f3;
  --blue-500: #0b63f6;
  --blue-400: #2e8bff;
  --blue-100: #dcebff;
  --blue-050: #eff6ff;

  --ink: #0b1a33;
  --ink-soft: #2c3d59;
  --slate: #5b6b85;
  --slate-light: #8494ab;

  --mist: #f5f8fc;
  --line: #e3e9f2;
  --white: #ffffff;

  --grad-blue: linear-gradient(135deg, #0054f3 0%, #2e8bff 100%);
  --grad-dark: linear-gradient(160deg, #020f24 0%, #041c3d 55%, #01091a 100%);

  /* Type */
  --font-display: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Space & shape */
  --container: 1200px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --section-y: clamp(64px, 8vw, 112px);

  --shadow-sm: 0 4px 16px rgba(11, 26, 51, .06);
  --shadow-md: 0 14px 40px rgba(11, 26, 51, .09);
  --shadow-lg: 0 28px 70px rgba(1, 15, 36, .18);
  --shadow-blue: 0 14px 34px rgba(0, 84, 243, .32);

  --ease: cubic-bezier(.22, .68, 0, 1);
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--slate);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--blue-400); }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 .6em;
  line-height: 1.14;
  letter-spacing: -.022em;
  font-weight: 800;
}

h1 { font-size: clamp(2.35rem, 5.1vw, 4rem); }
h2 { font-size: clamp(1.95rem, 3.7vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); font-weight: 700; }
h4 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--blue-600); color: #fff; }

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

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: var(--section-y); position: relative; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--navy-900); color: #a9bdd8; }
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--tight { padding-block: clamp(48px, 6vw, 76px); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue-600);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 4. Shared text elements ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 12px;
}
.eyebrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 46px; height: 2px;
  background: var(--blue-600);
}
.eyebrow--light { color: var(--blue-400); }
.eyebrow--light::after { background: var(--blue-400); }
.eyebrow--center { display: block; }
.eyebrow--center::after { left: 50%; transform: translateX(-50%); }

.accent { color: var(--blue-600); }
.section--dark .accent,
.hero .accent { color: var(--blue-400); }

.lead {
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  line-height: 1.75;
  max-width: 60ch;
}
.section--dark .lead { color: #a9bdd8; }

.section-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 58px); }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 17px 30px;
  border-radius: 4px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(5px); }

.btn--primary { background: var(--grad-blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 20px 42px rgba(0, 84, 243, .42); }

.btn--outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; transform: translateY(-3px); }

.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--blue-600); color: var(--blue-600); transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.btn--sm { padding: 13px 22px; font-size: .78rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(1, 9, 26, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(1, 9, 26, .97);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand img { height: 40px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  display: block;
  padding: 10px 15px;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #c3d3e8;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 2px;
  height: 2px;
  background: var(--blue-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #c3d3e8;
  font-size: .9rem;
  font-weight: 600;
}
.header-phone:hover { color: #fff; }
.header-phone svg { color: var(--blue-400); }

.nav .btn { display: none; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  position: relative;
  transition: background .2s linear;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  background: #fff;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  background: var(--grad-dark);
  color: #a9bdd8;
  padding-top: 82px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  left: 0; top: 90px;
  width: 120px; height: 190px;
  background-image: radial-gradient(rgba(46, 139, 255, .55) 1.1px, transparent 1.1px);
  background-size: 15px 15px;
  opacity: .5;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 0;
  min-height: 640px;
}

.hero-copy {
  padding-block: clamp(60px, 7vw, 96px);
  padding-right: 40px;
  max-width: 645px;
  position: relative;
  z-index: 2;
}
.hero h1 {
  color: #fff;
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 3.5vw, 3.45rem);
}
.hero .lead { color: #a9bdd8; margin-bottom: 36px; max-width: 34ch; }
.hero .btn-row { margin-bottom: clamp(44px, 5vw, 66px); }

/* Diagonal media panel — the brand's signature edge */
.hero-media {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 54%;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(2, 15, 36, .96) 0%, rgba(2, 15, 36, .35) 26%, rgba(2, 15, 36, 0) 52%);
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, #2e8bff 0%, rgba(46, 139, 255, .15) 88%);
  clip-path: polygon(16% 0, calc(16% + 4px) 0, 4px 100%, 0 100%);
}

/* Hero feature strip */
.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 34px;
}
.hero-feature { padding-right: 22px; border-right: 1px solid rgba(255, 255, 255, .1); padding-left: 0; }
.hero-feature:first-child { padding-left: 0; }
.hero-feature:last-child { border-right: 0; }
.hero-feature:not(:first-child) { padding-left: 22px; }
.hero-feature svg { color: var(--blue-400); margin-bottom: 14px; }
.hero-feature h3 { font-size: .98rem; color: #fff; margin-bottom: 6px; }
.hero-feature p { font-size: .82rem; line-height: 1.6; color: #8ba4c4; }

/* ---------- 8. Page hero (inner pages) ---------- */
.page-hero {
  background: var(--grad-dark);
  padding-top: calc(82px + clamp(56px, 7vw, 92px));
  padding-bottom: clamp(56px, 7vw, 92px);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(0, 84, 243, .28) 0%, transparent 68%);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 130px; height: 160px;
  background-image: radial-gradient(rgba(46, 139, 255, .5) 1.1px, transparent 1.1px);
  background-size: 15px 15px;
  opacity: .45;
  pointer-events: none;
}
.page-hero h1 { color: #fff; margin-bottom: 18px; }
.page-hero .lead { color: #a9bdd8; margin-inline: auto; max-width: 62ch; }
.page-hero .container { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: .82rem;
  color: #7e97b8;
  margin-top: 26px;
}
.breadcrumb a { color: #a9bdd8; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-current] { color: var(--blue-400); }

/* ---------- 9. Split section (image + copy) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 82px);
  align-items: center;
}
.split--reverse .split-media { order: 2; }

.split-media { position: relative; }
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.section--dark .split-media img {
  border: 1px solid rgba(255, 255, 255, .14);
}
.section--dark .split-media::after {
  border-color: var(--blue-400);
}
.split-media::after {
  content: "";
  position: absolute;
  right: -18px; bottom: -18px;
  width: 62%; height: 62%;
  border-right: 3px solid var(--blue-600);
  border-bottom: 3px solid var(--blue-600);
  border-radius: 0 0 var(--radius-lg) 0;
  z-index: -1;
}

/* ---------- 10. Pillar grid (mission / vision / values / promise) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 42px;
}
.pillar { padding-right: 24px; border-right: 1px solid var(--line); }
.pillar:not(:first-child) { padding-left: 24px; }
.pillar:last-child { border-right: 0; padding-right: 0; }
.pillar svg { color: var(--blue-600); margin-bottom: 16px; }
.pillar h3 { font-size: 1.02rem; margin-bottom: 8px; }
.pillar p { font-size: .87rem; line-height: 1.65; }
.section--dark .pillar { border-color: rgba(255, 255, 255, .12); }
.section--dark .pillar svg { color: var(--blue-400); }

/* ---------- 11. Service cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  background: var(--navy-850);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%; height: 3px;
  background: var(--grad-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(46, 139, 255, .55);
  background: #04162f;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 58px; height: 58px;
  border-radius: 12px;
  background: rgba(0, 84, 243, .16);
  display: grid;
  place-items: center;
  color: var(--blue-400);
  margin-bottom: 22px;
  transition: background .35s var(--ease);
}
.service-card:hover .service-icon { background: rgba(0, 84, 243, .32); }
.service-card h3 { color: #fff; margin-bottom: 10px; }
.service-card p { font-size: .9rem; line-height: 1.68; color: #93aacb; margin-bottom: 22px; }
.service-card .card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-400);
}
.service-card .card-link svg { transition: transform .3s var(--ease); }
.service-card:hover .card-link svg { transform: translateX(5px); }

/* Light variant */
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.feature-card .service-icon { background: var(--blue-050); color: var(--blue-600); }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: .9rem; line-height: 1.68; margin: 0; }

/* ---------- 12. Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step { position: relative; padding-top: 30px; }
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--line);
}
.step::after {
  content: "";
  position: absolute;
  top: -5px; left: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 5px rgba(0, 84, 243, .14);
}
.step-num {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--blue-600);
  display: block;
  margin-bottom: 8px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: .87rem; line-height: 1.65; }
.section--dark .step::before { background: rgba(255, 255, 255, .14); }
.section--dark .step-num { color: var(--blue-400); }

/* ---------- 13. Check list ---------- */
.check-list { display: grid; gap: 14px; margin-top: 8px; }
.check-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: .95rem;
  line-height: 1.6;
}
.check-list svg { flex: none; margin-top: 4px; color: var(--blue-600); }
.section--dark .check-list svg { color: var(--blue-400); }
.check-list strong { color: var(--ink); font-weight: 600; }
.section--dark .check-list strong { color: #fff; }

/* ---------- 14. Service detail blocks ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 64px);
  padding-block: clamp(40px, 5vw, 62px);
  border-top: 1px solid var(--line);
  align-items: start;
}
.service-detail:first-of-type { border-top: 0; padding-top: 0; }
.service-detail .detail-aside { position: sticky; top: 110px; }
.service-detail .service-icon { background: var(--blue-050); color: var(--blue-600); }
.service-detail h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 14px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.tag {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-soft);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 15px;
}

/* ---------- 15. CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--grad-dark);
  color: #a9bdd8;
  overflow: hidden;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  align-items: center;
  min-height: 500px;
}
.cta-copy { padding-block: clamp(56px, 7vw, 88px); padding-right: 40px; position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-media {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 52%;
  clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%);
}
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(2, 15, 36, .97) 0%, rgba(2, 15, 36, .4) 28%, rgba(2, 15, 36, 0) 55%);
}
.cta-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, #2e8bff 0%, rgba(46, 139, 255, .15) 88%);
  clip-path: polygon(17% 0, calc(17% + 4px) 0, 4px 100%, 0 100%);
}

.cta-points { display: flex; flex-wrap: wrap; gap: 0; margin: 30px 0 34px; }
.cta-point {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-right: 26px;
  border-right: 1px solid rgba(255, 255, 255, .12);
}
.cta-point:not(:first-child) { padding-left: 26px; }
.cta-point:last-child { border-right: 0; padding-right: 0; }
.cta-point-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(0, 84, 243, .18);
  display: grid;
  place-items: center;
  color: var(--blue-400);
  flex: none;
}
.cta-point span { font-size: .92rem; font-weight: 600; color: #fff; line-height: 1.35; }
.cta-note { display: block; margin-top: 20px; font-size: .9rem; color: var(--blue-400); }

/* ---------- 16. FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: 0;
  padding: 24px 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
.faq-q:hover { color: var(--blue-600); }
.faq-icon {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--blue-600);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.faq-icon::before { width: 11px; height: 2px; }
.faq-icon::after { width: 2px; height: 11px; }
.faq-q[aria-expanded="true"] .faq-icon { background: var(--blue-600); border-color: var(--blue-600); }
.faq-q[aria-expanded="true"] .faq-icon::before,
.faq-q[aria-expanded="true"] .faq-icon::after { background: #fff; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq-a > div { padding: 0 60px 26px 0; font-size: .96rem; }

/* ---------- 17. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.info-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 16px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--blue-050);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  flex: none;
}
.info-card h3 { font-size: .96rem; margin-bottom: 4px; }
.info-card p, .info-card a { font-size: .93rem; margin: 0; color: var(--slate); line-height: 1.6; }
.info-card a:hover { color: var(--blue-600); }

.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .02em;
}
.field label .req { color: var(--blue-600); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--mist);
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 132px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 84, 243, .1);
}
.field .error-msg { font-size: .78rem; color: #d63333; min-height: 0; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #d63333; background: #fff6f6; }

.form-note { font-size: .82rem; color: var(--slate-light); margin-top: 16px; }
.form-status {
  display: none;
  margin-bottom: 20px;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
}
.form-status.is-success { display: block; background: #eaf7ee; border: 1px solid #b9e2c6; color: #1c6b36; }
.form-status.is-error { display: block; background: #fdeceb; border: 1px solid #f3c3c0; color: #a52a25; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  line-height: 0;
}
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- 18. Legal / article pages ---------- */
.prose { max-width: 800px; }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.8em; }
.prose ul { margin: 0 0 1.2rem; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--blue-600);
}
.prose .updated {
  font-size: .86rem;
  color: var(--slate-light);
  padding: 12px 18px;
  background: var(--mist);
  border-left: 3px solid var(--blue-600);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 34px;
}

/* ---------- 19. Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: #8ba4c4;
  padding-top: clamp(56px, 6vw, 78px);
  font-size: .93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-logo { height: 52px; width: auto; margin-bottom: 20px; }
.footer-about p { font-size: .92rem; line-height: 1.72; max-width: 34ch; }
.site-footer h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-family: var(--font-body);
  font-weight: 700;
}
.footer-links { display: grid; gap: 12px; }
.footer-links a { color: #8ba4c4; font-size: .93rem; display: inline-flex; align-items: center; gap: 9px; }
.footer-links a::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--blue-500);
  border-radius: 1px;
  transition: transform .25s var(--ease);
}
.footer-links a:hover { color: #fff; }
.footer-links a:hover::before { transform: scale(1.6); }

.footer-contact { display: grid; gap: 16px; }
.footer-contact li { display: flex; gap: 13px; align-items: flex-start; line-height: 1.6; }
.footer-contact svg { flex: none; margin-top: 3px; color: var(--blue-500); }
.footer-contact a { color: #8ba4c4; }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding-block: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: .85rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom a { color: #8ba4c4; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 20. Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 8px;
  background: var(--grad-blue);
  color: #fff;
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  box-shadow: var(--shadow-blue);
  z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- 21. Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .09s; }
.reveal-delay-2 { transition-delay: .18s; }
.reveal-delay-3 { transition-delay: .27s; }
.reveal-delay-4 { transition-delay: .36s; }
.reveal-delay-5 { transition-delay: .45s; }

/* ---------- 22. Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .header-phone { display: none; }
}

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 82px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(1, 9, 26, .99);
    backdrop-filter: blur(16px);
    padding: 14px 24px 26px;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height .4s var(--ease), opacity .3s var(--ease), visibility .3s;
  }
  .nav.is-open { max-height: calc(100vh - 82px); opacity: 1; visibility: visible; overflow-y: auto; }
  .nav a { padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: .9rem; }
  .nav a::after { display: none; }
  .nav .btn { display: inline-flex; margin-top: 18px; }
  .header-cta .btn { display: none; }

  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding-right: 0; padding-bottom: 44px; }
  .hero-media {
    position: relative;
    width: auto;
    margin: 0 -24px;
    height: 340px;
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
  }
  .hero-media::after { background: linear-gradient(180deg, rgba(2, 15, 36, .8) 0%, rgba(2, 15, 36, .1) 40%); }
  .hero-media::before { display: none; }
  .hero::before { display: none; }

  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .split-media::after { display: none; }

  .cta-grid { grid-template-columns: 1fr; min-height: 0; }
  .cta-copy { padding-right: 0; padding-bottom: 40px; }
  .cta-media {
    position: relative;
    width: auto;
    margin: 0 -24px;
    height: 300px;
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
  }
  .cta-media::after { background: linear-gradient(180deg, rgba(2, 15, 36, .82) 0%, rgba(2, 15, 36, .1) 42%); }

  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail .detail-aside { position: static; }
}

@media (max-width: 760px) {
  .hero-features { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .hero-feature:nth-child(2) { border-right: 0; }
  .hero-feature:nth-child(3) { padding-left: 0; }
  .pillars { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(3) { padding-left: 0; }
  .pillar:nth-child(3), .pillar:nth-child(4) { padding-top: 6px; }
  .card-grid, .card-grid--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .cta-points { gap: 18px 0; }
  .cta-point { border-right: 0; padding-right: 0; flex: 0 0 100%; }
  .cta-point:not(:first-child) { padding-left: 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .faq-a > div { padding-right: 20px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .btn { width: 100%; }
  .btn-row { gap: 12px; }
  .header-cta .btn { display: none; }
  .steps { grid-template-columns: 1fr; }
  .hero-features { grid-template-columns: 1fr; }
  .hero-feature { border-right: 0; padding-left: 0 !important; padding-right: 0; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; padding-left: 0 !important; padding-right: 0; }
  .map-embed iframe { height: 320px; }
}

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

@media print {
  .site-header, .to-top, .cta-band, .nav-toggle { display: none !important; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
}
