/* =========================================================
   Grand Shine Cleaning — Design System
   ========================================================= */

:root {
  /* Color palette */
  --navy-950: #081226;
  --navy-900: #0b1f3f;
  --navy-800: #12335f;
  --navy-700: #1a4380;

  --blue-700: #1c5aa6;
  --blue-600: #2569b8;
  --blue-500: #3d84cf;
  --blue-400: #6fa8dc;
  --blue-200: #bfdcf3;
  --blue-100: #e7f1fa;

  --white: #ffffff;
  --gray-50: #f7f9fb;
  --gray-100: #eef2f6;
  --gray-200: #e1e7ef;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #101828;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(8, 18, 38, 0.07);
  --shadow-md: 0 10px 30px -8px rgba(8, 18, 38, 0.14);
  --shadow-lg: 0 24px 60px -16px rgba(8, 18, 38, 0.22);

  /* Layout */
  --container-w: 1200px;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--navy-900);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
p { margin: 0; }
svg { display: block; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .section-tight { padding: 48px 0; }
}

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.section-head p { font-size: 17px; color: var(--gray-500); }

.bg-gray { background: var(--gray-50); }
.bg-navy { background: var(--navy-900); color: var(--blue-100); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--blue-700); box-shadow: var(--shadow-md); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }

.btn-outline-navy {
  background: transparent;
  border-color: var(--gray-300);
  color: var(--navy-900);
}
.btn-outline-navy:hover { border-color: var(--blue-500); color: var(--blue-600); }

.btn-white {
  background: var(--white);
  color: var(--navy-900);
}
.btn-white:hover { background: var(--blue-100); }

.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand */
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 54px; height: 54px; flex-shrink: 0; border-radius: 50%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 18px; color: var(--navy-900); letter-spacing: -0.01em; }
.brand-sub { font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; color: var(--blue-600); text-transform: uppercase; margin-top: 2px; }

/* Nav */
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav > ul > li { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover { color: var(--navy-900); background: var(--gray-100); }
.nav-link.active { color: var(--navy-900); font-weight: 600; }
.nav-item.active > .nav-link { color: var(--blue-600); }

.nav-chevron { width: 10px; height: 10px; transition: transform 0.2s ease; color: var(--gray-400); }
.has-dropdown:hover .nav-chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}
.dropdown li a:hover { background: var(--blue-100); color: var(--blue-700); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.hamburger {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
}
.hamburger span, .hamburger span::before, .hamburger span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--navy-900);
  position: relative; transition: transform 0.2s ease, opacity 0.2s ease;
}
.hamburger span::before { position: absolute; top: -6px; }
.hamburger span::after { position: absolute; top: 6px; }
.hamburger.open span { background: transparent; }
.hamburger.open span::before { top: 0; transform: rotate(45deg); background: var(--navy-900); }
.hamburger.open span::after { top: 0; transform: rotate(-45deg); background: var(--navy-900); }

/* Mobile nav */
@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px 0 32px;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; width: 100%; gap: 0; padding: 8px 20px; }
  .main-nav > ul > li { width: 100%; }
  .nav-link { padding: 16px 8px; font-size: 16px; border-bottom: 1px solid var(--gray-100); border-radius: 0; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    display: none; box-shadow: none; border: none; padding: 0 0 8px 16px; min-width: 0;
  }
  .has-dropdown.mobile-open .dropdown { display: block; }
  .has-dropdown.mobile-open .nav-chevron { transform: rotate(180deg); }
  /* Override the desktop hover/focus transform, which is more specific
     than the mobile reset above and otherwise shifts the dropdown off-
     screen when a tapped/focused link matches :focus-within. */
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown { transform: none; }
  .dropdown li a { padding: 12px 14px; font-size: 15px; }
  .header-actions .btn-primary { padding: 10px 18px; font-size: 14px; }
  .hamburger { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
}
.hero-video-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  background: var(--navy-950);
  touch-action: pan-y;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.hero-video.active { opacity: 1; }
.hero-video-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 28px; height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  transition: background 0.2s ease;
}
.hero-dot.active { background: var(--white); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 18, 38, 0.92) 8%, rgba(8, 18, 38, 0.72) 48%, rgba(11, 31, 63, 0.42) 100%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 130px 0 110px;
  min-height: 620px;
}
.hero-copy { max-width: 640px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-200);
  margin-bottom: 26px;
  background: rgba(255, 255, 255, 0.05);
}
.hero-title {
  font-size: clamp(34px, 4.6vw, 58px);
  color: var(--white);
  margin-bottom: 22px;
  max-width: 15ch;
}
.hero-text {
  font-size: 17.5px;
  color: rgba(231, 241, 250, 0.88);
  max-width: 46ch;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero-inner { padding: 64px 0 56px; min-height: 0; }
}

/* ---------- Why choose us ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  position: relative;
  overflow: hidden;
  padding: 36px 30px 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.feature-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue-400); transform: translateY(-4px); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--blue-200);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 12px 24px -10px rgba(11, 31, 63, 0.55);
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.feature-card:hover .feature-icon {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 14px 26px -8px rgba(37, 105, 184, 0.5);
  transform: translateY(-2px);
}
.feature-icon svg { width: 27px; height: 27px; }
.feature-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}
.feature-card p { font-size: 14.5px; color: var(--gray-500); line-height: 1.6; }

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

/* ---------- How it works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.step {
  position: relative;
  padding-top: 8px;
}
.step-number {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--blue-500);
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
  margin-bottom: 20px;
  background: var(--white);
  position: relative; z-index: 1;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--gray-500); }
.steps-grid::before {
  content: "";
  position: absolute;
  top: 30px; left: 0; right: 0;
  height: 1px;
  background: var(--gray-200);
  z-index: 0;
}
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps-grid::before { display: none; }
}
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }

/* ---------- Service cards (shared: home preview + services page) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
  display: flex; flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue-400); transform: translateY(-4px); }
.service-card-image { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray-100); }
.service-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.service-card:hover .service-card-image img { transform: scale(1.06); }
.service-card-body { padding: 28px 32px 32px; display: flex; flex-direction: column; flex: 1; }
.service-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.service-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-md);
  background: var(--navy-900);
  color: var(--blue-200);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.22s ease, color 0.22s ease;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon { background: var(--blue-600); color: var(--white); }
.badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--blue-100);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card > p { font-size: 14.5px; color: var(--gray-500); margin-bottom: 20px; }
.service-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.service-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--gray-600); }
.service-features svg { width: 16px; height: 16px; color: var(--blue-600); flex-shrink: 0; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--blue-600);
  padding-top: 16px; border-top: 1px solid var(--gray-100);
}
.service-link svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.service-card:hover .service-link svg { transform: translateX(3px); }

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

.services-preview-foot { margin-top: 44px; text-align: center; }

/* ---------- Filters (services / gallery) ---------- */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: all 0.18s ease;
}
.filter-btn:hover { border-color: var(--blue-400); color: var(--blue-600); }
.filter-btn.active { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }

.service-item[hidden] { display: none; }

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-number { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; color: var(--white); letter-spacing: -0.02em; }
.stat-label { font-size: 14px; color: var(--blue-200); margin-top: 8px; }
.stat-item { padding: 20px; border-right: 1px solid rgba(255, 255, 255, 0.12); }
.stat-item:last-child { border-right: none; }
@media (max-width: 800px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .stat-item { border-right: none; }
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.testimonial-quote-mark { color: var(--blue-200); margin-bottom: 16px; }
.testimonial-quote-mark svg { width: 34px; height: 26px; }
.testimonial-text { font-size: 15px; color: var(--gray-700); margin-bottom: 24px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy-900); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 14.5px; color: var(--navy-900); }
.testimonial-role { font-size: 13px; color: var(--gray-500); }

@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ---------- CTA sections ---------- */
.cta-section {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section h2 { color: var(--white); font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 14px; }
.cta-section p { color: var(--blue-200); font-size: 16px; max-width: 52ch; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-wrap { padding: 0 24px 96px; }
.cta-wrap.no-top-pad { padding-top: 0; }

@media (max-width: 600px) { .cta-section { padding: 48px 28px; } }

/* Final CTA (full width band) */
.final-cta {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  text-align: center;
  padding: 88px 0;
}
.final-cta h2 { color: var(--white); font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; }
.final-cta p { color: var(--blue-200); font-size: 17px; margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--gray-400); }
.footer-top { padding: 72px 0 48px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand p { margin-top: 16px; font-size: 14px; color: var(--gray-500); max-width: 32ch; }
.footer-col h4 { color: var(--white); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; color: var(--gray-400); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--blue-300, var(--blue-200)); }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.footer-contact-item svg { width: 17px; height: 17px; color: var(--blue-400); flex-shrink: 0; margin-top: 2px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-300);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.footer-social a:hover { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 13.5px; color: var(--gray-500);
}
.footer-bottom-links { display: flex; gap: 20px; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: var(--navy-900);
  color: var(--white);
  padding: 64px 0 56px;
  text-align: center;
}
.page-header .eyebrow { color: var(--blue-300, var(--blue-200)); }
.page-header h1 { color: var(--white); font-size: clamp(30px, 4vw, 46px); margin-bottom: 14px; }
.page-header p { color: var(--blue-200); font-size: 16.5px; max-width: 60ch; margin: 0 auto; }

/* ---------- About page ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split img, .split .split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split.reverse .split-media { order: 2; }
.split h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 18px; }
.split p { font-size: 15.5px; color: var(--gray-500); margin-bottom: 16px; }
.split p:last-of-type { margin-bottom: 0; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: 0; }
}

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- Gallery page (empty state) ---------- */
.gallery-empty {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 0;
}
.gallery-empty-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--blue-200);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 12px 24px -10px rgba(11, 31, 63, 0.55);
}
.gallery-empty-icon svg { width: 30px; height: 30px; }
.gallery-empty h2 { font-size: 26px; margin-bottom: 14px; }
.gallery-empty p { font-size: 15.5px; color: var(--gray-500); margin-bottom: 28px; }

/* ---------- Gallery page (loaded photos) ---------- */
.gallery-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 64px 0;
  color: var(--gray-500);
  font-size: 15px;
}
.gallery-loading .spinner {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 3px solid var(--gray-200);
  border-top-color: var(--blue-600);
  animation: gallery-spin 0.8s linear infinite;
}
@keyframes gallery-spin { to { transform: rotate(360deg); } }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  display: block;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 18, 38, 0.45), transparent 45%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-item:hover::after { opacity: 1; }

/* ---------- Gallery lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(6, 12, 24, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
}
.lightbox[hidden] { display: none; }
.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.lightbox-caption {
  position: absolute;
  bottom: 22px; left: 0; right: 0;
  text-align: center;
  color: var(--blue-100);
  font-size: 14px;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox-close svg, .lightbox-nav svg { width: 20px; height: 20px; }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox { padding: 90px 16px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ---------- Contact page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: flex-start;
}
.contact-info-card {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}
.contact-info-card h3 { color: var(--white); font-size: 19px; margin-bottom: 24px; }
.contact-info-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 30px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-item .icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(111, 168, 220, 0.18);
  color: var(--blue-200);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-item .icon svg { width: 19px; height: 19px; }
.contact-info-item .label { font-size: 12.5px; color: var(--blue-200); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.contact-info-item .value { font-size: 15px; font-weight: 600; color: var(--white); }
.contact-info-item .value.small { font-size: 13.5px; font-weight: 400; color: rgba(231, 241, 250, 0.82); }

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy-900); margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--gray-900);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--gray-400); margin-top: 14px; }

.form-success {
  display: none;
  align-items: flex-start;
  gap: 14px;
  background: var(--blue-100);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 24px;
}
.form-success.show { display: flex; }
.form-success .icon { width: 24px; height: 24px; color: var(--blue-700); flex-shrink: 0; }
.form-success strong { display: block; color: var(--navy-900); font-size: 15px; margin-bottom: 3px; }
.form-success p { font-size: 13.5px; color: var(--gray-600); }

.form-error {
  display: none;
  align-items: flex-start;
  gap: 14px;
  background: #fdecec;
  border: 1px solid #f5c2c2;
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 24px;
}
.form-error.show { display: flex; }
.form-error .icon { width: 24px; height: 24px; color: #c0392b; flex-shrink: 0; }
.form-error strong { display: block; color: #7a1f1f; font-size: 15px; margin-bottom: 3px; }
.form-error p { font-size: 13.5px; color: #8a3a3a; }

.map-embed {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  height: 320px;
  background: var(--gray-100);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Reveal-on-scroll ----------
   Content stays fully visible at all times (no JS dependency for
   basic visibility). A very subtle upward settle plays once when an
   element first enters view, without ever hiding content. */
.reveal { opacity: 1; }
.js .reveal { transform: translateY(10px); transition: transform 0.5s ease; }
.js .reveal.in-view { transform: translateY(0); }

/* ---------- Misc ---------- */
.divider-line { height: 1px; background: var(--gray-200); }
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
