/* ============================================================
   CITADEL COASTAL HOME INSPECTIONS
   Brand: Navy + Gold | Luxury Coastal Charleston
   Fonts: Cormorant Garamond (display) + Work Sans (body)
   ============================================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Brand Colors */
  --color-navy: #0d1b2a;
  --color-navy-mid: #162036;
  --color-navy-light: #1e2d45;
  --color-gold: #c9a84c;
  --color-gold-light: #e2c47a;
  --color-gold-pale: #f5e9cc;

  /* Surfaces */
  --color-bg: #f8f6f1;
  --color-surface: #ffffff;
  --color-surface-2: #f2efe8;
  --color-divider: #e0dbd0;

  /* Text */
  --color-text: #1a1612;
  --color-text-muted: #6b6458;
  --color-text-faint: #a8a099;
  --color-text-inverse: #f8f6f1;

  /* Fonts */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;

  /* Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 1rem + 6vw, 7rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(13, 27, 42, 0.08);
  --shadow-md: 0 4px 16px rgba(13, 27, 42, 0.12);
  --shadow-lg: 0 12px 40px rgba(13, 27, 42, 0.18);
  --shadow-gold: 0 0 0 2px var(--color-gold);

  /* Transitions */
  --transition: 220ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}

/* ---------- BASE RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}
img, picture { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.15; font-family: var(--font-display); }
p, li { text-wrap: pretty; }
button { cursor: pointer; background: none; border: none; font: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(201, 168, 76, 0.25); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; border-radius: var(--radius-sm); }

/* ---------- TYPOGRAPHY ---------- */
.display { font-family: var(--font-display); }
.serif { font-family: var(--font-display); }

/* ---------- LAYOUT UTILITIES ---------- */
.container {
  width: min(var(--content-wide), 100% - var(--space-8));
  margin-inline: auto;
}
.container--narrow {
  width: min(var(--content-narrow), 100% - var(--space-8));
  margin-inline: auto;
}
.container--default {
  width: min(var(--content-default), 100% - var(--space-8));
  margin-inline: auto;
}
section { padding-block: clamp(var(--space-16), 8vw, var(--space-32)); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

/* ---------- GOLD ACCENT LINE ---------- */
.gold-rule {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--color-gold);
  margin-block: var(--space-6);
}
.gold-rule--center { margin-inline: auto; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding-block: var(--space-6);
}
.nav--scrolled {
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.25);
  padding-block: var(--space-4);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.nav__logo img {
  height: 52px;
  width: auto;
  border-radius: var(--radius-sm);
  /* slight brightness boost so white bg logo pops on dark nav */
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.25));
}
.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav__logo-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.05em;
}
.nav__logo-sub {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}
.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--color-gold); }
.nav__cta {
  padding: var(--space-3) var(--space-6);
  background: var(--color-gold);
  color: var(--color-navy) !important;
  font-weight: 600 !important;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition) !important;
}
.nav__cta:hover { background: var(--color-gold-light) !important; transform: translateY(-1px); }

/* Mobile nav */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  background: none;
  border: none;
  cursor: pointer;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: var(--transition);
  border-radius: 2px;
}
.nav__mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-navy);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: white;
  transition: color var(--transition);
}
.nav__mobile a:hover { color: var(--color-gold); }
.nav__mobile-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  color: white;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-navy);
  margin-top: -80px; /* pull hero up behind fixed nav */
  padding-top: 80px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.png');
  background-size: cover;
  background-position: center center;
  transform: scale(1.0);
  transition: transform 8s ease-out;
}
.hero__bg.loaded { transform: scale(1); }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 27, 42, 0.82) 0%,
    rgba(13, 27, 42, 0.55) 50%,
    rgba(13, 27, 42, 0.35) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-block: var(--space-32);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-6);
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-gold);
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.05;
  max-width: 820px;
  margin-bottom: var(--space-8);
}
.hero__title em {
  font-style: italic;
  color: var(--color-gold-light);
}
.hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.80);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: var(--space-12);
  font-weight: 300;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}
.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.5);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
.hero__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--gold {
  background: var(--color-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
}
.btn--gold:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}
.btn--outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.5);
}
.btn--outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}
.btn--navy {
  background: var(--color-navy);
  color: #ffffff;
  border-color: var(--color-navy);
}
.btn--navy:hover {
  background: var(--color-navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--outline-navy {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.btn--outline-navy:hover {
  background: var(--color-navy);
  color: white;
  transform: translateY(-2px);
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  padding-block: var(--space-6);
  overflow: hidden;
}
.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-8) var(--space-12);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.trust-item svg { color: var(--color-gold); flex-shrink: 0; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { text-align: center; margin-bottom: var(--space-16); }
.section-header--left { text-align: left; }
.section-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.15;
  margin-bottom: var(--space-4);
}
.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.7;
}
.section-header--left .section-subtitle { margin-inline: 0; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services { background: var(--color-bg); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-8);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold-pale);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--color-navy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  color: var(--color-gold);
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--space-3);
}
.service-card__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}
.service-card__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: gap var(--transition);
}
.service-card__link:hover { gap: var(--space-4); }
.service-card__badge {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  background: var(--color-gold-pale);
  color: var(--color-navy);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full, 999px);
}

/* ============================================================
   WHY CITADEL / SPLIT SECTION
   ============================================================ */
.why { background: var(--color-bg); color: var(--color-text); }
.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.why__image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.why__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.why__image-frame {
  position: absolute;
  inset: var(--space-6);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: var(--radius-md);
  pointer-events: none;
}
.why .section-title { color: var(--color-navy); }
.why .gold-rule { background: var(--color-gold); }
.why__lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  font-weight: 300;
  line-height: 1.7;
  font-family: var(--font-display);
  font-style: italic;
}
.why__points { display: flex; flex-direction: column; gap: var(--space-6); }
.why-point {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.why-point__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--color-gold-pale);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  margin-top: 2px;
}
.why-point__icon svg { width: 18px; height: 18px; }
.why-point__title {
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--space-1);
  font-size: var(--text-base);
}
.why-point__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .why__inner { grid-template-columns: 1fr; }
  .why__image-wrap { display: none; }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats { background: var(--color-gold-pale); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}
.stat__number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   COASTAL / WIND SECTION
   ============================================================ */
.coastal {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.coastal__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/coastal-wind.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.coastal__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(13,27,42,0.92) 0%, rgba(13,27,42,0.60) 55%, rgba(13,27,42,0.30) 100%);
}
.coastal__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  color: white;
}
.coastal__content .section-title { color: white; }
.coastal__content .section-eyebrow { margin-bottom: var(--space-4); }
.coastal__body {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.80);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}
.coastal__list {
  list-style: none;
  margin-bottom: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.coastal__list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.coastal__list li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--color-surface-2, #f2efe8); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}
.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--color-divider);
  position: relative;
}
.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.8;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
  display: block;
}
.testimonial-card__text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-navy);
  line-height: 1.55;
  margin-bottom: var(--space-6);
}
.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-4);
  color: var(--color-gold);
}
.testimonial-card__author {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

/* ============================================================
   REALTORS CTA SECTION
   ============================================================ */
.realtor-cta {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.realtor-cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-12);
  align-items: center;
}
.realtor-cta__eyebrow { color: var(--color-gold); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: var(--space-3); }
.realtor-cta__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-navy);
  margin-bottom: var(--space-4);
  line-height: 1.25;
}
.realtor-cta__body { font-size: var(--text-base); color: var(--color-text-muted); line-height: 1.7; }
.realtor-cta__actions { display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; flex-shrink: 0; }

@media (max-width: 768px) {
  .realtor-cta__inner { grid-template-columns: 1fr; }
  .realtor-cta__actions { flex-direction: row; flex-wrap: wrap; }
}

/* ============================================================
   CONTACT / BOOKING
   ============================================================ */
.contact { background: var(--color-surface-2); border-top: 1px solid var(--color-divider); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}
.contact .section-title { color: var(--color-navy); }
.contact .section-eyebrow { color: var(--color-gold); }
.contact__body { color: var(--color-text-muted); line-height: 1.7; margin-bottom: var(--space-8); }
.contact__details { display: flex; flex-direction: column; gap: var(--space-5); }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}
.contact-detail__icon {
  width: 40px;
  height: 40px;
  background: var(--color-gold-pale);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
}
.contact-detail__icon svg { width: 18px; height: 18px; }
.contact-detail__label { font-size: var(--text-xs); color: var(--color-text-faint); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2px; }
.contact-detail__value { color: var(--color-navy); font-weight: 500; font-size: var(--text-base); }
.contact-detail__value a { color: var(--color-navy); transition: color var(--transition); }
.contact-detail__value a:hover { color: var(--color-gold); }

/* Form */
.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: var(--space-5); }
.form-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--color-text-faint); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-gold);
  background: var(--color-surface);
}
.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='rgba(201,168,76,0.9)' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}
.form-select option { background: var(--color-surface); color: var(--color-text); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #080f18;
  padding-block: var(--space-16) var(--space-8);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
.footer__brand .nav__logo-name { font-size: 1.25rem; color: white; }
.footer__brand .nav__logo-sub { font-size: 0.625rem; }
.footer__brand p { font-size: var(--text-sm); color: rgba(255,255,255,0.45); margin-top: var(--space-4); line-height: 1.7; max-width: 280px; }
.footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-gold);
  font-size: var(--text-base);
  margin-top: var(--space-4);
}
.footer__col h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-5);
}
.footer__col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer__col li a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer__col li a:hover { color: white; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.footer__copy { font-size: var(--text-xs); color: rgba(255,255,255,0.35); }
.footer__licenses { font-size: var(--text-xs); color: rgba(255,255,255,0.35); text-align: right; }

@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__licenses { text-align: center; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   MOBILE RESPONSIVE PATCHES
   ============================================================ */
@media (max-width: 768px) {
  .hero__title { font-size: clamp(2.5rem, 10vw, 5rem); }
  .stats { padding-block: var(--space-12); }
  .coastal__bg { background-attachment: scroll; }
}
