/* ============================================================
   VAL'S AERIAL SOLUTIONS — Design Tokens & Component Styles
   Cinematic, moody aerial-photography brand identity.
   ============================================================ */

:root {
  /* ---- Fluid 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(2.5rem, 0.5rem + 5.6vw, 6rem);

  /* ---- 4px Spacing System ---- */
  --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;

  /* ---- Radius ---- */
  --radius-sm: 0.3rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.9rem;
  --radius-xl: 1.4rem;
  --radius-full: 9999px;

  /* ---- Motion ---- */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-golden: cubic-bezier(0.16, 1, 0.3, 1);

  /* ---- Content widths ---- */
  --content-narrow: 640px;
  --content-default: 980px;
  --content-wide: 1240px;
  --content-full: 100%;

  /* ---- Fonts ---- */
  --font-display: 'Clash Display', 'Cabinet Grotesk', Georgia, serif;
  --font-body: 'Satoshi', 'General Sans', 'Helvetica Neue', sans-serif;
}

/* ---- DARK MODE (default identity — cinematic charcoal) ---- */
:root,
[data-theme='dark'] {
  --color-bg: #120f0d;
  --color-surface: #181310;
  --color-surface-2: #1d1815;
  --color-surface-offset: #221c18;
  --color-surface-offset-2: #2b241e;
  --color-surface-dynamic: #362d25;
  --color-divider: #2c2620;
  --color-border: #3a322a;

  --color-text: #f2ece2;
  --color-text-muted: #ab9f8f;
  --color-text-faint: #6e6459;
  --color-text-inverse: #14110e;

  /* Primary accent — Golden Hour Amber */
  --color-primary: #e0a339;
  --color-primary-hover: #f0bd5c;
  --color-primary-active: #c88a22;
  --color-primary-highlight: #3a2f1c;

  /* Secondary — Dusk Steel (tech/drone accent, used sparingly) */
  --color-blue: #6fa4c9;
  --color-blue-hover: #8fbeda;
  --color-blue-active: #4f87a8;
  --color-blue-highlight: #202b31;

  --color-error: #d1725b;
  --color-error-hover: #e08b76;
  --color-error-highlight: #35251f;
  --color-success: #7fa869;
  --color-success-highlight: #232c1c;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);

  color-scheme: dark;
}

/* ---- LIGHT MODE (bright dusk variant) ---- */
[data-theme='light'] {
  --color-bg: #f7f3ec;
  --color-surface: #fcfaf6;
  --color-surface-2: #ffffff;
  --color-surface-offset: #efe7d9;
  --color-surface-offset-2: #e6dbc7;
  --color-surface-dynamic: #dccfb4;
  --color-divider: #e1d5c0;
  --color-border: #d2c3a7;

  --color-text: #221b13;
  --color-text-muted: #6c5f4e;
  --color-text-faint: #a4967d;
  --color-text-inverse: #f7f3ec;

  --color-primary: #a66d18;
  --color-primary-hover: #8a5a13;
  --color-primary-active: #71480f;
  --color-primary-highlight: #ecdcb8;

  --color-blue: #336f8f;
  --color-blue-hover: #285a74;
  --color-blue-active: #1d475c;
  --color-blue-highlight: #d8e6ec;

  --color-error: #b1523a;
  --color-error-hover: #94402b;
  --color-error-highlight: #f1ddd4;
  --color-success: #547239;
  --color-success-highlight: #dee6d1;

  --shadow-sm: 0 1px 2px rgba(40, 30, 15, 0.08);
  --shadow-md: 0 8px 20px rgba(40, 30, 15, 0.1);
  --shadow-lg: 0 20px 48px rgba(40, 30, 15, 0.14);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
  }
}

/* ============================================================
   GLOBAL ELEMENTS
   ============================================================ */

body {
  overflow-x: hidden;
}

.wrap {
  width: min(100% - var(--space-8), var(--content-wide));
  margin-inline: auto;
}
.wrap--narrow {
  width: min(100% - var(--space-8), var(--content-default));
  margin-inline: auto;
}

section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
  position: relative;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--color-primary);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  font-size: var(--text-2xl);
}
.section-head p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  margin-top: var(--space-4);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: #1a1309;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn svg {
  width: 16px;
  height: 16px;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: var(--space-4);
  transition:
    transform 0.35s var(--ease-golden),
    background 0.35s var(--ease-golden),
    box-shadow 0.35s var(--ease-golden),
    border-color 0.35s var(--ease-golden);
  border-bottom: 1px solid transparent;
}
.header--scrolled {
  background: color-mix(in oklab, var(--color-bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
  box-shadow: var(--shadow-sm);
}
.header--hidden {
  transform: translateY(-110%);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
}
.logo-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-primary) 55%, transparent);
}
.logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav-links {
  display: flex;
  gap: var(--space-6);
  font-size: var(--text-sm);
  font-weight: 500;
}
.nav-links a {
  color: var(--color-text-muted);
  position: relative;
  padding-block: var(--space-1);
}
.nav-links a:hover {
  color: var(--color-text);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: width var(--transition-interactive);
}
.nav-links a:hover::after {
  width: 100%;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text);
}
.theme-toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.theme-toggle svg {
  width: 17px;
  height: 17px;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}
.nav-toggle svg {
  width: 18px;
  height: 18px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-5) var(--space-5);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-divider);
  box-shadow: var(--shadow-md);
}
.mobile-menu.is-open {
  display: flex;
}
.mobile-menu a {
  padding: var(--space-3) var(--space-2);
  font-size: var(--text-base);
  color: var(--color-text);
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--color-divider);
}
.mobile-menu a:last-of-type {
  border-bottom: none;
}
.mobile-menu a:hover {
  background: var(--color-surface-offset);
}
.mobile-menu .btn {
  margin-top: var(--space-2);
  justify-content: center;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-block: clamp(7rem, 16vw, 9rem) clamp(var(--space-16), 10vw, var(--space-24));
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 8, 6, 0.35) 0%, rgba(10, 8, 6, 0.35) 35%, rgba(10, 8, 6, 0.92) 100%),
    linear-gradient(90deg, rgba(10, 8, 6, 0.55) 0%, rgba(10, 8, 6, 0.05) 55%);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: #f5efe4;
  width: 100%;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: #f0bd5c;
  margin-bottom: var(--space-6);
}
.hero-kicker .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f0bd5c;
  box-shadow: 0 0 12px 2px rgba(240, 189, 92, 0.7);
}
.hero h1 {
  font-size: var(--text-hero);
  line-height: 1.02;
  max-width: 16ch;
  color: #f8f2e8;
}
.hero h1 em {
  font-style: normal;
  color: #f0bd5c;
}
.hero-sub {
  margin-top: var(--space-6);
  max-width: 46ch;
  font-size: var(--text-lg);
  color: rgba(245, 239, 228, 0.82);
}
.hero-actions {
  margin-top: var(--space-10);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}
.hero-actions .btn-ghost {
  border-color: rgba(245, 239, 228, 0.35);
  color: #f5efe4;
}
.hero-actions .btn-ghost:hover {
  border-color: #f0bd5c;
  color: #f0bd5c;
}
.hero-meta {
  margin-top: var(--space-16);
  display: flex;
  gap: var(--space-10);
  flex-wrap: wrap;
  border-top: 1px solid rgba(245, 239, 228, 0.16);
  padding-top: var(--space-6);
  max-width: 720px;
}
.hero-meta-item {
  min-width: 120px;
}
.hero-meta-item .num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: #f8f2e8;
}
.hero-meta-item .label {
  font-size: var(--text-xs);
  color: rgba(245, 239, 228, 0.6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  right: var(--space-8);
  bottom: var(--space-10);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(245, 239, 228, 0.65);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-cue .line {
  width: 1px;
  height: 48px;
  background: rgba(245, 239, 228, 0.35);
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f0bd5c;
  animation: scrollcue 2.2s var(--ease-golden) infinite;
}
@keyframes scrollcue {
  0% {
    top: -100%;
  }
  60% {
    top: 100%;
  }
  100% {
    top: 100%;
  }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition:
    transform var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.service-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: var(--color-primary-highlight);
  color: var(--color-primary);
}
.service-icon svg {
  width: 24px;
  height: 24px;
}
.service-card h3 {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 700;
}
.service-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.service-card .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-4);
}
.tag {
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-surface-offset);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

/* ============================================================
   EQUIPMENT
   ============================================================ */
.equipment-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.equipment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
}
.equipment-card {
  display: grid;
  gap: var(--space-6);
}
.equipment-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-surface-offset);
}
.equipment-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.equipment-body .badge {
  display: inline-block;
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-blue);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.equipment-body h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}
.equipment-body p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.equipment-body ul {
  display: grid;
  gap: var(--space-2);
}
.equipment-body li {
  display: flex;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.equipment-body li svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ============================================================
   PORTFOLIO / GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: var(--space-3);
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item:nth-child(4) {
  grid-column: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-golden);
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-4);
  background: linear-gradient(180deg, transparent 40%, rgba(8, 6, 4, 0.85) 100%);
  opacity: 0;
  transition: opacity var(--transition-interactive);
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
}
.gallery-caption span {
  color: #f5efe4;
  font-size: var(--text-sm);
  font-weight: 600;
}
.gallery-caption small {
  color: rgba(245, 239, 228, 0.7);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.gallery-note {
  margin-top: var(--space-6);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
}

/* ============================================================
   SERVICE AREA
   ============================================================ */
.area-section {
  position: relative;
  overflow: hidden;
}
.area-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.area-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.area-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 10, 8, 0.88) 0%, rgba(12, 10, 8, 0.75) 55%, rgba(12, 10, 8, 0.92) 100%);
}
.area-content {
  position: relative;
  z-index: 1;
  color: #f5efe4;
}
.area-content .section-head p {
  color: rgba(245, 239, 228, 0.75);
}
.area-content .eyebrow {
  color: #f0bd5c;
}
.area-content .section-head h2 {
  color: #f8f2e8;
}
.area-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.area-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f0bd5c;
  margin-bottom: var(--space-3);
  font-weight: 700;
}
.area-col ul {
  display: grid;
  gap: var(--space-2);
  color: rgba(245, 239, 228, 0.82);
  font-size: var(--text-sm);
}

/* ============================================================
   ABOUT / PILOT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-16);
  align-items: center;
}
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-media-frame {
  position: absolute;
  inset: var(--space-4);
  border: 1px solid rgba(245, 239, 228, 0.35);
  border-radius: var(--radius-md);
  pointer-events: none;
}
.about-body p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.about-body h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-5);
}
.about-signature {
  margin-top: var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.about-signature-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
}
.about-signature-role {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface-2);
  margin-bottom: var(--space-4);
}
.contact-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-card-icon svg {
  width: 21px;
  height: 21px;
}
.contact-card h4 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
}
.contact-card a,
.contact-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.contact-card a:hover {
  color: var(--color-primary);
}

.form-panel {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.form-row {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.form-row label {
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  font-weight: 600;
}
.form-row input,
.form-row select,
.form-row textarea {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--text-sm);
  resize: vertical;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}
.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-3);
}
.form-success {
  display: none;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-success-highlight);
  color: var(--color-text);
  font-size: var(--text-sm);
  margin-top: var(--space-4);
}
.form-success.show {
  display: flex;
}
.form-success svg {
  width: 18px;
  height: 18px;
  color: var(--color-success);
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-10);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.footer-links a:hover {
  color: var(--color-primary);
}
.footer-meta {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer-social {
  display: flex;
  gap: var(--space-3);
}
.footer-social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
.footer-social a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.footer-social svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s var(--ease-golden),
    transform 0.8s var(--ease-golden);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .equipment-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .about-media {
    aspect-ratio: 16/10;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .area-list {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-item:nth-child(4) {
    grid-column: span 1;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .nav > a.btn-primary {
    display: none;
  }
  .nav-toggle {
    display: grid;
  }
  .logo-text {
    white-space: nowrap;
  }
  .logo-text small {
    font-size: 9px;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }
  .hero-meta {
    gap: var(--space-6);
  }
  .form-two {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .scroll-cue {
    display: none;
  }
}
