/* ==========================================================================
   Altitude Emergency Solutions (AES) - Master Stylesheet
   Modern, accessible, fast, and fully responsive
   ========================================================================== */

:root {
  /* Brand Palette */
  --ink-950: #0c181e;
  --ink-900: #12222b;
  --ink-800: #172d37;
  --ink-700: #223e4c;
  --ink-600: #355363;
  --text-main: #1f333c;
  --text-muted: #5e7179;
  --text-light: #90a1a8;

  --orange: #e57438;
  --orange-hover: #cd5f26;
  --orange-deep: #b44a1e;
  --orange-light: #fdf2ec;
  --orange-glow: rgba(229, 116, 56, 0.22);

  --teal-accent: #0284c7;
  --teal-light: #e0f2fe;

  --bg-page: #f6f8f7;
  --bg-surface: #ffffff;
  --bg-surface-alt: #edf3f0;
  --border-subtle: #dbe4e1;
  --border-strong: #c2cfcb;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Merriweather", Georgia, "Times New Roman", serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(12, 24, 30, 0.05);
  --shadow-md: 0 4px 12px rgba(12, 24, 30, 0.08);
  --shadow-lg: 0 12px 28px rgba(12, 24, 30, 0.12);
  --shadow-xl: 0 20px 40px rgba(12, 24, 30, 0.16);

  /* Transitions & Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Essentials */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  color: var(--text-main);
  background: var(--bg-page);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition), background-color var(--transition);
}

h1, h2, h3, h4, h5, p, ul, ol, figure {
  margin-top: 0;
}

/* Layout Container */
.wrap {
  width: min(1200px, calc(100% - 3rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--bg-surface);
  color: var(--ink-900);
  font-weight: 700;
  border: 2px solid var(--orange);
  border-radius: var(--radius-sm);
  transform: translateY(-200%);
  transition: transform 160ms ease;
}
.skip-link:focus {
  transform: translateY(0);
}

/* ==========================================================================
   Header & Navigation (with YSSR-inspired elements & mobile drawer)
   ========================================================================== */
.top-bar {
  background: var(--ink-950);
  color: #cfdcd7;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 1rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: #f7a97b;
}

.top-bar-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.35);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #cfdcd7;
}

.top-bar-link:hover {
  color: #ffffff;
}

/* Main Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

/* Brand Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
  transition: transform var(--transition-fast);
}

.brand:hover .brand-logo {
  transform: scale(1.05);
}

.site-footer .brand .brand-logo {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.brand-crest {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--ink-900);
  border-radius: var(--radius-md);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(229, 116, 56, 0.3);
}

.brand-crest svg {
  width: 100%;
  height: 100%;
  color: var(--orange);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ink-900);
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.2rem);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-700);
  position: relative;
  padding-block: 0.4rem;
}

.nav-link:hover, .nav-link:focus-visible {
  color: var(--orange-deep);
}

.nav-link.active {
  color: var(--orange-deep);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange-deep);
  border-radius: var(--radius-full);
}

/* Nav Actions & CTA */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  background: var(--orange);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid var(--orange);
}

.btn-nav-cta:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--orange-glow);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  color: var(--ink-900);
  cursor: pointer;
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.82rem 1.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: #ffffff;
  box-shadow: 0 6px 18px var(--orange-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}
.btn-secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--ink-800);
  color: var(--ink-800);
}
.btn-outline:hover {
  background: var(--ink-800);
  color: #ffffff;
}

.badge-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.8rem;
  background: var(--orange-light);
  color: var(--orange-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 1.1rem;
}

.badge-kicker.on-dark {
  background: rgba(229, 116, 56, 0.16);
  color: #ffaa78;
  border: 1px solid rgba(229, 116, 56, 0.35);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(720px, calc(100svh - 122px));
  display: flex;
  align-items: center;
  background: var(--ink-950);
  color: #ffffff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.45;
  filter: contrast(1.1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(12, 24, 30, 0.96) 0%, rgba(12, 24, 30, 0.88) 45%, rgba(12, 24, 30, 0.45) 100%),
    linear-gradient(0deg, rgba(12, 24, 30, 0.85) 0%, transparent 40%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 5.5rem;
  max-width: 820px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.8vw, 5.2rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 1.4rem;
}

.hero-title span {
  color: #f7a97b;
  font-style: italic;
}

.hero-desc {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  color: #d1ded9;
  max-width: 650px;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Metrics Bar (Liberated & Tailored from YSSR)
   ========================================================================== */
.metrics-bar {
  background: var(--ink-900);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 2.6rem;
  color: #ffffff;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.metric-card {
  padding-right: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-card:last-child {
  border-right: none;
}

.metric-number {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--orange);
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
  font-feature-settings: "tnum";
}

.metric-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.metric-detail {
  font-size: 0.82rem;
  color: #9cb0a9;
  line-height: 1.5;
}

/* ==========================================================================
   Sections & General Content
   ========================================================================== */
.section {
  padding-block: 5.5rem;
}

.section-alt {
  background: var(--bg-surface-alt);
}

.section-dark {
  background: var(--ink-900);
  color: #ffffff;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.text-center {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.section-split-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--ink-950);
}

.section-dark .section-title {
  color: #ffffff;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 620px;
}

.section-dark .section-subtitle {
  color: #b0c3bd;
}

/* Two-column Intro */
.intro-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: start;
}

.intro-lead {
  font-size: 1.25rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ink-800);
  margin-bottom: 1.2rem;
}

.intro-copy p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ==========================================================================
   Service Category Feature Pillars
   ========================================================================== */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.pillar-media {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--ink-900);
}

.pillar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.pillar-card:hover .pillar-media img {
  transform: scale(1.04);
}

.pillar-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(18, 34, 43, 0.9);
  color: #f7a97b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(229, 116, 56, 0.35);
  backdrop-filter: blur(4px);
}

.pillar-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  color: var(--ink-950);
}

.pillar-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.pillar-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
}

.pillar-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-800);
  padding-block: 0.4rem;
  border-bottom: 1px dashed var(--border-subtle);
}

.pillar-list li svg {
  width: 16px;
  height: 16px;
  color: var(--orange);
  flex-shrink: 0;
}

.pillar-footer {
  margin-top: auto;
  padding-top: 1rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--orange-deep);
}
.card-link:hover {
  gap: 0.75rem;
  color: var(--ink-950);
}

/* ==========================================================================
   Service Cards Grid (Detailed Catalog)
   ========================================================================== */
.service-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.catalog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.catalog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.catalog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.catalog-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--orange-deep);
  text-transform: uppercase;
}

.catalog-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--orange-light);
  color: var(--orange-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-icon svg {
  width: 20px;
  height: 20px;
}

.catalog-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  color: var(--ink-950);
}

.catalog-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.catalog-items {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.catalog-items li + li {
  margin-top: 0.3rem;
}

.badge-status {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: #fef3c7;
  color: #92400e;
  margin-top: auto;
}

/* ==========================================================================
   Interactive Photo Gallery System
   ========================================================================== */
.gallery-section {
  padding-block: 5.5rem;
}

.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.8rem;
}

.gallery-filter-btn {
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--ink-700);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.gallery-filter-btn:hover {
  border-color: var(--ink-800);
  color: var(--ink-950);
}

.gallery-filter-btn.active {
  background: var(--ink-900);
  color: #ffffff;
  border-color: var(--ink-900);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink-950);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item.hidden {
  display: none;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease, opacity 250ms ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 24, 30, 0.92) 0%, rgba(12, 24, 30, 0.45) 50%, transparent 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #ffffff;
  transition: opacity 250ms ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f7a97b;
  margin-bottom: 0.25rem;
}

.gallery-item-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.gallery-item-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #d1ded9;
  margin-top: 0.4rem;
}

/* Lightbox Modal */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 16, 20, 0.94);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.gallery-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-wrap {
  position: relative;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-img-container {
  max-height: 75vh;
  display: flex;
  justify-content: center;
}

.modal-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
}

.modal-caption-bar {
  margin-top: 1rem;
  color: #ffffff;
  text-align: center;
  width: 100%;
  max-width: 700px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.2rem;
}

.modal-category {
  font-size: 0.78rem;
  color: #f7a97b;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-close-btn {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
  opacity: 0.8;
  transition: opacity 150ms ease;
}
.modal-close-btn:hover {
  opacity: 1;
}

.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(18, 34, 43, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}

.modal-nav-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.modal-prev { left: -4rem; }
.modal-next { right: -4rem; }

/* ==========================================================================
   Endorsements & Testimonials System (Liberated & Tailored from YSSR)
   ========================================================================== */
.endorsement-box {
  background: linear-gradient(135deg, var(--ink-950) 0%, var(--ink-800) 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.endorsement-quote-mark {
  position: absolute;
  right: 2.5rem;
  bottom: 1.5rem;
  font-family: Georgia, serif;
  font-size: 11rem;
  line-height: 0.8;
  color: rgba(229, 116, 56, 0.08);
  pointer-events: none;
  user-select: none;
}

.endorsement-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-style: italic;
  line-height: 1.65;
  color: #f1f6f4;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  max-width: 960px;
}

.endorsement-author {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

.author-badge {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background-color: var(--orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--orange-glow);
}

.author-info strong {
  display: block;
  font-size: 1.1rem;
  color: #ffffff;
}

.author-info span {
  font-size: 0.88rem;
  color: #a5b9b2;
}

/* Secondary Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: #f59e0b;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial-author-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-surface-alt);
  color: var(--ink-800);
  border: 1px solid var(--border-subtle);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-author-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-950);
  line-height: 1.2;
}

.testimonial-author-org {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   About Section Spotlight
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-media-stack {
  position: relative;
}

.about-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-950);
  box-shadow: var(--shadow-lg);
}

.about-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.about-photo-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 1.75rem 1.25rem;
  background: linear-gradient(transparent, rgba(12, 24, 30, 0.88));
  color: #ffffff;
  font-size: 0.85rem;
}

.about-stat-floater {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 210px;
}

.about-stat-floater strong {
  display: block;
  font-size: 1.6rem;
  color: var(--orange-deep);
  line-height: 1.1;
}

.about-stat-floater span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   Page Headers (Sub-pages: Drones & Training)
   ========================================================================== */
.subpage-hero {
  background: linear-gradient(135deg, var(--ink-950) 0%, var(--ink-900) 100%);
  color: #ffffff;
  padding-block: 4.5rem 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.subpage-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(229, 116, 56, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #9cb0a9;
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: #f7a97b;
}

.breadcrumb-sep {
  opacity: 0.5;
}

.subpage-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}

.subpage-hero-desc {
  font-size: 1.15rem;
  color: #d1ded9;
  max-width: 700px;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.subpage-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.subpage-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e5ece9;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
}

.subpage-quick-link:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #ffffff;
}

/* Sub-page Specific Component: Checklist / Add-on Box */
.addon-highlight-box {
  background: var(--bg-surface);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  margin-block: 1.5rem;
}

.addon-highlight-box h4 {
  font-size: 1.15rem;
  color: var(--ink-950);
  margin-bottom: 0.5rem;
}

/* ICS Course Matrix */
.ics-course-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.ics-course-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.ics-course-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

.ics-badge {
  display: inline-block;
  background: var(--ink-900);
  color: #f7a97b;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
}

.ics-course-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.ics-course-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Call to Action / Consultation Strip
   ========================================================================== */
.cta-strip {
  background: linear-gradient(135deg, var(--ink-950) 0%, var(--ink-900) 100%);
  color: #ffffff;
  padding-block: 5rem;
  position: relative;
  overflow: hidden;
}

.cta-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 50%, rgba(229, 116, 56, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.cta-text {
  max-width: 680px;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.cta-desc {
  font-size: 1.05rem;
  color: #cdd9d4;
  margin-bottom: 0;
}

/* ==========================================================================
   Site Footer (Multi-column with rich emergency & nav details)
   ========================================================================== */
.site-footer {
  background: var(--ink-950);
  color: #a4b7b0;
  padding-top: 4.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col-title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.35rem;
}

.footer-brand-bio {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-list li {
  margin-bottom: 0.65rem;
}

.footer-nav-list a {
  color: #a4b7b0;
  font-size: 0.9rem;
}

.footer-nav-list a:hover {
  color: var(--orange);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-emergency-note {
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  color: #fca5a5;
  margin-top: 1rem;
}

.footer-bottom {
  padding-block: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  gap: 1rem;
}

.footer-bottom a {
  color: #a4b7b0;
}
.footer-bottom a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pillar-grid {
    grid-template-columns: 1fr;
  }
  .service-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .modal-prev { left: 0.5rem; }
  .modal-next { right: 0.5rem; }
}

@media (max-width: 840px) {
  .top-bar-left { display: none; }
  .top-bar-inner { justify-content: flex-end; }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Mobile Drawer Menu */
  .nav-menu {
    position: fixed;
    top: 85px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 2px solid var(--orange);
    padding: 1.5rem 2rem 2rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    box-shadow: var(--shadow-xl);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 260ms ease, opacity 200ms ease;
    z-index: 99;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.05rem;
    padding-block: 0.6rem;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-actions .btn-nav-cta {
    display: none;
  }
  .nav-menu .mobile-only-cta {
    display: block;
    margin-top: 1rem;
    text-align: center;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .metric-card {
    border-right: none;
  }

  .section-split-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
  }
}

@media (max-width: 580px) {
  .wrap {
    width: calc(100% - 2rem);
  }
  .brand-logo {
    width: 40px;
    height: 40px;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .service-catalog-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .endorsement-box {
    padding: 1.75rem;
  }
  .endorsement-author {
    flex-direction: column;
    align-items: flex-start;
  }
}
