/* ==========================================================================
   Sentryx — Design System
   ========================================================================== */

:root {
  --navy-900: #101226;
  --navy-800: #171b3e;
  --navy-700: #1c2b57;
  --navy-600: #102052;
  --gold-500: #e0a34d;
  --gold-600: #c78d3c;
  --gold-100: #f7e7cc;
  --gold-gradient: linear-gradient(135deg, #eeb96d, #e0a34d);
  --cream: #f7f3ea;
  --white: #ffffff;
  --gray-900: #1c2027;
  --gray-700: #454b55;
  --gray-500: #737a86;
  --gray-300: #d7dae0;
  --gray-100: #eef0f3;

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container-width: 1180px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(8, 18, 34, 0.08);
  --shadow-md: 0 8px 24px rgba(8, 18, 34, 0.10);
  --shadow-lg: 0 20px 48px rgba(8, 18, 34, 0.16);
  --glow-gold: 0 0 0 1px rgba(224, 163, 77, 0.35), 0 8px 28px rgba(224, 163, 77, 0.28);
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --mx: 50%;
  --my: 40%;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  animation: fadeInPage 0.6s var(--ease-out-expo);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy-900);
}

/* ---------- Motion keyframes ---------- */
@keyframes auroraDrift {
  0%   { transform: translate(-6%, -4%) scale(1); }
  50%  { transform: translate(5%, 4%) scale(1.12); }
  100% { transform: translate(-6%, -4%) scale(1); }
}
@keyframes auroraDriftSlow {
  0%   { transform: translate(4%, 3%) scale(1.05); }
  50%  { transform: translate(-5%, -3%) scale(0.95); }
  100% { transform: translate(4%, 3%) scale(1.05); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
@keyframes breatheGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224, 163, 77, 0.35), var(--shadow-sm); }
  50%      { box-shadow: 0 0 0 10px rgba(224, 163, 77, 0), var(--shadow-sm); }
}
@keyframes fadeInPage {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 600;
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}
.section--tight { padding: 56px 0; }
.section--navy {
  background: var(--navy-900);
  color: var(--gray-300);
}
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--cream { background: var(--cream); }

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--gray-500); font-size: 1.05rem; margin-top: 0.9rem; }
.section--navy .section-head p { color: var(--gray-300); }

h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn { will-change: transform; }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--gold {
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: 0 0 0 0 rgba(224, 163, 77, 0.35), var(--shadow-sm);
}
.btn--gold:hover { background: var(--gold-600); box-shadow: var(--glow-gold); transform: translateY(-2px); }
.hero__actions .btn--gold,
.cta-band__actions .btn--gold {
  animation: breatheGlow 3.4s ease-in-out infinite;
}
.btn--outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn--outline:hover { border-color: var(--gold-500); color: var(--gold-500); transform: translateY(-2px); }
.btn--outline-dark {
  border-color: var(--navy-700);
  color: var(--navy-900);
}
.btn--outline-dark:hover { border-color: var(--gold-600); color: var(--gold-600); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 18, 34, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: height var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  transition: height var(--transition);
}
.site-header.is-scrolled {
  border-bottom-color: rgba(224, 163, 77, 0.18);
  box-shadow: 0 12px 32px rgba(8, 18, 34, 0.28);
}
.site-header.is-scrolled .container { height: 68px; }

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
}
.brand__text {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold-500);
  line-height: 1;
}
.brand__text span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray-300);
  font-weight: 500;
  margin-top: 6px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.nav__links {
  display: flex;
  gap: 2.2rem;
}
.nav__links a {
  color: var(--gray-300);
  font-size: 0.94rem;
  font-weight: 500;
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out-expo);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--white); }
.nav__links a:hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(16, 18, 38, 0.90) 0%, rgba(23, 27, 62, 0.84) 55%, rgba(28, 43, 87, 0.72) 100%),
    url("/images/hero-estate.jpg") center 40% / cover no-repeat;
  color: var(--white);
  overflow: hidden;
  padding: 120px 0 100px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(38% 45% at 18% 22%, rgba(224, 163, 77, 0.22), transparent 70%),
    radial-gradient(32% 40% at 82% 12%, rgba(224, 163, 77, 0.14), transparent 70%),
    radial-gradient(45% 50% at 65% 78%, rgba(28, 43, 87, 0.55), transparent 70%);
  filter: blur(40px);
  animation: auroraDrift 22s ease-in-out infinite;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(480px circle at var(--mx) var(--my), rgba(224, 163, 77, 0.14), transparent 65%);
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.hero__content { position: relative; z-index: 1; }
.hero__skyline {
  position: absolute;
  z-index: 1;
  left: 0; right: 0; bottom: -2px;
  width: 100%;
  height: auto;
  opacity: 0.55;
  pointer-events: none;
  will-change: transform;
}
.hero h1 { color: var(--white); }
.hero__content {
  position: relative;
  max-width: 720px;
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--gray-300);
  margin-top: 1.4rem;
  max-width: 560px;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
}

.stat-bar {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 4rem;
  padding-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-bar__item svg {
  width: 26px;
  height: 26px;
  color: var(--gold-500);
  margin-bottom: 0.8rem;
  animation: floatY 5s ease-in-out infinite;
}
.stat-bar__item:nth-child(2) svg { animation-delay: 0.4s; }
.stat-bar__item:nth-child(3) svg { animation-delay: 0.8s; }
.stat-bar__item:nth-child(4) svg { animation-delay: 1.2s; }
.stat-bar__item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.stat-bar__item span {
  font-size: 0.85rem;
  color: var(--gray-300);
  letter-spacing: 0.02em;
}

/* ---------- Check list (service inclusions) ---------- */
.check-list { margin-top: 1.2rem; }
.check-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.45rem 0;
  color: var(--gray-700);
  font-size: 0.94rem;
}
.check-list li svg {
  width: 17px;
  height: 17px;
  color: var(--gold-600);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---------- Service detail card (services page) ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.6rem;
  padding: 2.4rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.service-detail:last-child { border-bottom: none; }
.service-detail__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-detail__icon svg { width: 30px; height: 30px; color: var(--gold-500); }
.service-detail h3 { margin-bottom: 0.5rem; }
.service-detail p { color: var(--gray-500); font-size: 0.98rem; max-width: 620px; }

/* ---------- Coverage / service-area banner ---------- */
.coverage-banner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.6rem 3rem;
  flex-wrap: wrap;
}
.coverage-banner__icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  color: var(--gold-500);
  animation: floatY 5.5s ease-in-out infinite;
}
.coverage-banner h3 { color: var(--white); margin-bottom: 0.4rem; }
.coverage-banner p { color: var(--gray-300); font-size: 0.96rem; max-width: 560px; }

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 1.8rem;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.strategy-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.strategy-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(224, 163, 77, 0.18);
  border-color: rgba(224, 163, 77, 0.35);
}
.strategy-card__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 1.4rem;
  color: var(--gold-600);
  transition: transform 0.4s var(--ease-out-expo);
}
.strategy-card:hover .strategy-card__icon { transform: translateY(-3px) scale(1.08); }
.strategy-card h3 { margin-bottom: 0.7rem; }
.strategy-card p { color: var(--gray-500); font-size: 0.95rem; }

.property-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md), 0 0 0 1px rgba(224, 163, 77, 0.18); }
.property-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  overflow: hidden;
}
.property-card__media svg { width: 100%; height: 100%; }
.property-card__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(8, 18, 34, 0.75);
  color: var(--gold-500);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
}
.property-card__body {
  padding: 1.5rem 1.4rem 1.7rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.property-card__body h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.property-card__loc {
  color: var(--gray-500);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.property-card__meta {
  display: flex;
  gap: 1.2rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
  font-size: 0.82rem;
  color: var(--gray-700);
}
.property-card__meta strong { color: var(--navy-900); display: block; font-size: 0.95rem; }

/* ---------- Filter tabs (portfolio) ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 2.6rem;
}
.filter-btn {
  background: var(--white);
  border: 1px solid var(--gray-300);
  color: var(--gray-700);
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--gold-500); color: var(--navy-900); }
.filter-btn.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy-900);
  color: var(--white);
  padding: 4.5rem 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--gray-300); margin-top: 0.9rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band__actions { margin-top: 2rem; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ---------- Team ---------- */
.team-card {
  text-align: left;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.team-card__media {
  aspect-ratio: 3 / 3.2;
  background: linear-gradient(160deg, var(--navy-600), var(--navy-900));
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-card__media svg { width: 56%; height: 56%; color: rgba(201, 168, 106, 0.85); }
.team-card__body { padding: 1.4rem 1.3rem 1.6rem; }
.team-card__body h3 { font-size: 1.08rem; margin-bottom: 0.15rem; }
.team-card__role {
  color: var(--gold-600);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: block;
}
.team-card__body p.bio { color: var(--gray-500); font-size: 0.9rem; }

/* ---------- Values list ---------- */
.value-item {
  display: flex;
  gap: 1.1rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.value-item:last-child { border-bottom: none; }
.value-item__num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold-500);
  flex-shrink: 0;
  width: 3rem;
}
.value-item h3 { margin-bottom: 0.4rem; }
.value-item p { color: var(--gray-500); font-size: 0.95rem; }

/* ---------- Timeline (about) ---------- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--gray-300);
}
.timeline__item { position: relative; padding-bottom: 2.4rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -2rem; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold-500);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--gray-300);
  animation: breatheGlow 3s ease-in-out infinite;
}
.timeline__year {
  font-family: var(--font-serif);
  color: var(--navy-900);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.timeline__item p { color: var(--gray-500); font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}
.form-field { margin-bottom: 1.3rem; }
.form-field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--gray-900);
  transition: border-color var(--transition);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field--town { display: none; }
.form-field--town.is-visible { display: block; animation: fadeInPage 0.4s var(--ease-out-expo); }
.form-note { font-size: 0.82rem; color: var(--gray-500); margin-top: 0.9rem; }
.form-success {
  display: none;
  background: var(--gold-100);
  border: 1px solid var(--gold-500);
  color: var(--navy-900);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
}
.form-success.is-visible { display: block; }

.info-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 2.2rem;
}
.info-row {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--gray-300);
}
.info-row:first-child { padding-top: 0; }
.info-row:last-child { border-bottom: none; }
.info-row__icon {
  width: 22px; height: 22px;
  color: var(--gold-600);
  flex-shrink: 0;
  margin-top: 2px;
}
.info-row h3 { font-size: 0.98rem; margin-bottom: 0.2rem; }
.info-row p, .info-row a { color: var(--gray-700); font-size: 0.92rem; }
.info-row a:hover { color: var(--gold-600); }

.map-graphic {
  margin-top: 1.6rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-300);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: var(--gray-300);
  padding: 4.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-grid ul li { margin-bottom: 0.7rem; }
.footer-grid ul a {
  color: var(--gray-300);
  font-size: 0.92rem;
  transition: color var(--transition);
}
.footer-grid ul a:hover { color: var(--gold-500); }
.footer-brand p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 320px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.8rem;
  font-size: 0.82rem;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a:hover { color: var(--gold-500); }
.footer-legal { display: flex; gap: 1.4rem; }

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px) scale(0.97);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
  transition-delay: calc(var(--reveal-i, 0) * 90ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 76px 0 64px;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(35% 55% at 25% 30%, rgba(224, 163, 77, 0.16), transparent 70%),
    radial-gradient(30% 45% at 75% 65%, rgba(224, 163, 77, 0.1), transparent 70%);
  filter: blur(40px);
  animation: auroraDriftSlow 20s ease-in-out infinite;
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(224, 163, 77, 0.12), transparent 65%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); }
.page-hero .eyebrow { justify-content: center; color: var(--gold-500); }
.page-hero p { color: var(--gray-300); max-width: 600px; margin: 1rem auto 0; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 0.8rem;
}
.breadcrumb a:hover { color: var(--gold-500); }

/* ---------- 404 ---------- */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 0;
}
.error-page .code {
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--gold-500);
  line-height: 1;
  text-shadow: 0 0 40px rgba(224, 163, 77, 0.35);
  animation: floatY 4s ease-in-out infinite;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 84px; left: 0; right: 0;
    background: var(--navy-900);
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav.is-open { max-height: 420px; }
  .nav__links {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 24px 1.5rem;
  }
  .nav__links a { padding: 0.9rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav__actions { padding: 0 24px 1.5rem; }
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .hero { padding: 96px 0 72px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-band__actions .btn { width: 100%; }
  .service-detail { grid-template-columns: 1fr; }
  .coverage-banner { padding: 2rem; text-align: center; flex-direction: column; }
  .coverage-banner p { margin: 0 auto; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { transform: none; }
}
