/* ============================================
   TOGA AEROPARTS — Corporate Aerospace Design
   Clean, professional, big-company feel
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --navy: #00539B;
  --navy-dark: #003F76;
  --navy-light: #E8F0FE;
  --red: #C8102E;
  --red-dark: #A30D24;
  --gold: #D4A843;
  --white: #FFFFFF;
  --gray-50: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-400: #CED4DA;
  --gray-500: #ADB5BD;
  --gray-600: #6C757D;
  --gray-700: #495057;
  --gray-800: #343A40;
  --gray-900: #212529;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Montserrat', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --container-max: 1140px;
  --transition: all 0.2s ease;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-padding-top: 130px;
}

::selection {
  background: var(--navy);
  color: var(--white);
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--navy);
  border-radius: 6px;
  border: 2px solid var(--gray-100);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--navy-dark);
}

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: linear-gradient(135deg, #001a33 0%, #003366 50%, #001a33 100%);
  position: relative;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: url('../images/hero-pattern.webp') center/cover no-repeat;
  opacity: 0.25;
  mask-image: radial-gradient(circle, black 40%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, black 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 1.2s ease;
}

/* Light overlay — fades in when scrolling to services (matches contact page bg) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--gray-50) 100%);
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
  z-index: 0;
}

body.bg-light::before {
  opacity: 1;
}

body.bg-light::after {
  opacity: 0.15;
}

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

a {
  text-decoration: none;
  color: var(--navy);
  transition: var(--transition);
}

a:hover {
  color: var(--navy-dark);
}

ul, ol {
  list-style: none;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  background: var(--navy);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 0 0 4px 4px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: var(--white);
}

/* --- Screen Reader Only --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Focus Visible --- */
:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(0,83,155,0.15);
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.25;
}

h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 16px;
}

.text-center { text-align: center; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  position: relative;
}

.text-center .section-label::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold);
  margin: 8px auto 0;
}

.section-title {
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-family: var(--font-heading);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,83,155,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,83,155,0.3);
}

.btn-danger {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-danger:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(200,16,46,0.3);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* --- Top Bar --- */
.top-bar {
  background: var(--navy);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.8rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: var(--white);
  opacity: 0.85;
}

.top-bar a:hover {
  opacity: 1;
  color: var(--white);
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar .email-link {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar .cert-badge {
  background: rgba(255,255,255,0.15);
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.top-bar .cert-badge.cert-badge-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.top-bar .cert-badge.cert-badge-logo img {
  height: 20px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.top-bar .cert-badge.cert-badge-logo img.cert-logo-asa {
  height: 32px;
}

/* --- Header (transparent overlay) --- */
/* --- Navigation --- */
.navbar {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.2s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 16px rgba(10,22,40,0.07);
}

.navbar.scrolled .container {
  height: 58px;
}

.navbar.scrolled .nav-logo img {
  height: 62px;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  position: relative;
  transition: height 0.25s ease;
}

.nav-logo img {
  height: 78px;
  width: auto;
  transition: height 0.25s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a,
.nav-dropdown-trigger {
  position: relative;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray-700);
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}

/* --- Nav Dropdowns --- */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-dropdown-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown-trigger.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active {
  color: var(--navy);
}

.nav-chevron {
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown.open .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 2px solid var(--navy);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 16px 40px rgba(10,22,40,0.14);
  padding: 8px;
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown:focus-within > .nav-dropdown-menu,
.nav-dropdown.open > .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu > a {
  display: block;
  padding: 11px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
}

.nav-dropdown-menu > a:hover {
  color: var(--navy);
  background: var(--navy-light);
}

/* Full-width Services Mega Menu */
.nav-dropdown.services-dropdown {
  position: static;
}

.nav-dropdown.services-dropdown > .nav-dropdown-menu {
  left: 0;
  right: 0;
  width: auto;
  min-width: 0;
  border-radius: 0 0 10px 10px;
  border-top: 2px solid var(--gold);
  padding: 16px 24px 20px;
}

.megamenu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 12px;
}

.megamenu-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 14px;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.megamenu-item:hover {
  background: var(--navy-light);
}

.megamenu-title {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gray-900);
  transition: color 0.15s ease;
}

.megamenu-item:hover .megamenu-title {
  color: var(--navy);
}

.megamenu-desc {
  font-size: 0.73rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--gray-600);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta .btn {
  padding: 9px 22px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  width: 46px;
  height: 46px;
  padding: 11px 12px;
  background: var(--navy);
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,83,155,0.25);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
  flex-shrink: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.nav-toggle:hover {
  background: var(--navy-dark);
  box-shadow: 0 4px 10px rgba(0,83,155,0.3);
}

.nav-toggle:active {
  transform: scale(0.95);
}

.nav-close {
  display: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle svg {
  display: block;
  color: var(--white);
}

/* --- Hero Section --- */
.hero {
  background: transparent;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

/* .hero::after removed - was the circular pattern image decoration */

.hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 640px;
  animation: heroFadeIn 0.8s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74,222,128,0.25);
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content .section-label {
  color: var(--gold);
}

.hero-content h1 {
  margin-bottom: 16px;
  color: var(--white);
}

.hero-content p {
  font-size: 1.05rem;
  margin-bottom: 24px;
  max-width: 500px;
  color: rgba(255,255,255,0.85);
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero .btn-outline {
  color: var(--white);
  border-color: var(--white);
}

.hero .btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}





/* --- Services Section --- */
.services {
  padding: 80px 0;
  background: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--navy);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.service-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-image {
  transform: scale(1.06);
}

.service-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  color: var(--navy-dark);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.7;
}

.service-link {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  color: var(--navy-dark);
}

/* --- Stats Bar --- */
.stats-bar {
  position: relative;
  padding: 60px 0;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

.stats-bar .container {
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 4px;
}

.stat-item p {
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
}

/* --- About / Why Us Section --- */
.about {
  padding: 60px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 16px;
}

.about-content > p {
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.about-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--navy-light);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.about-feature h4 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.about-feature p {
  font-size: 0.8rem;
  margin-bottom: 0;
}

.about-image img {
  width: 100%;
  border-radius: 6px;
}



/* --- Certifications Section --- */
.certifications {
  padding: 80px 0;
  background: transparent;
  position: relative;
  z-index: 1;
}

.certifications .section-label,
.certifications .section-subtitle,
.certifications .cert-item p {
  color: rgba(255,255,255,0.85);
}

.certifications .section-label::after {
  background: var(--gold);
}

.certifications .section-title {
  color: var(--white);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.cert-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cert-item a {
  display: inline-block;
  line-height: 0;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.cert-item a:hover {
  opacity: 0.75;
}

.cert-icon {
  width: 64px;
  height: 64px;
  background: var(--navy-light);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.cert-icon svg {
  width: 28px;
  height: 28px;
}

.cert-card h4 {
  margin-bottom: 8px;
}

.cert-card p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.cert-card .cert-card-logo,
.cert-item .cert-card-logo {
  width: 160px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 16px;
}

.cert-card .cert-card-logo.cert-logo-asa,
.cert-item .cert-card-logo.cert-logo-asa {
  width: 160px;
  height: 80px;
  filter: brightness(0) invert(1);
}

.cert-item p {
  font-size: 0.85rem;
  margin-bottom: 0;
  max-width: 320px;
}

/* --- Manufacturer Logos --- */
.manufacturers {
  padding: 80px 0;
  background: transparent;
}

.manufacturers .section-label,
.manufacturers .section-subtitle {
  color: rgba(255,255,255,0.85);
}

.manufacturers .section-label::after {
  background: var(--gold);
}

.manufacturers .section-title {
  color: var(--white);
}

.manufacturers .flip-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
}

.manufacturers .container {
  text-align: center;
  max-width: 1440px;
}

html,
body {
  overflow-anchor: none;
}

.manufacturers-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  max-width: 1440px;
  margin: 0 auto;
  overflow-anchor: none;
}

.flip-card {
  width: 300px;
  height: 300px;
  overflow-anchor: none;
  perspective: 6000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  transform-origin: center center;
  border-radius: 50%;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.flip-card-front {
  background-color: var(--white);
  background-size: cover;
  background-position: center;
  z-index: 2;
}

.flip-card-front::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
}

.flip-card-back {
  background: var(--navy);
  transform: rotateY(180deg);
  color: var(--white);
  z-index: 1;
}

.flip-card-back p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}

.manufacturer-logo {
  max-width: 92%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.manufacturer-link {
  font-weight: 600;
  font-size: 0.8rem;
  color: #6db3f2;
}

.manufacturer-link:hover {
  color: var(--white);
}

/* --- CTA Section --- */
.cta {
  padding: 80px 0;
  background: var(--navy);
  color: var(--white);
  position: relative;
  z-index: 1;
}

.cta .container {
  text-align: center;
}

.cta h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 2.25rem;
}

.cta p {
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.8);
}

.cta .btn-primary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.cta .btn-primary:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  box-shadow: 0 4px 16px rgba(255,255,255,0.2);
}

.cta-email {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-top: 16px;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0 0;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
  height: 95px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  max-width: 280px;
}

.footer-column-title {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
}

.footer-column ul li a:hover {
  color: var(--white);
}

.footer-contact-item {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.footer-contact-item a {
  color: var(--white);
}

.footer-contact-item a:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  margin-bottom: 0;
}

.footer-bottom a {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: var(--navy);
  padding: 40px 0 45px;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
}

/* --- Breadcrumb --- */
.breadcrumb {
  margin-top: 16px;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  color: rgba(255,255,255,0.4);
  margin: 0 6px;
}

.breadcrumb strong {
  color: rgba(255,255,255,0.85);
}

/* --- Hero Background Variants --- */
.hero-about,
.hero-services,
.hero-contact,
.hero-certifications,
.hero-terms,
.hero-privacy {
  background: linear-gradient(135deg, #001a33 0%, #003366 50%, #001a33 100%);
  position: relative;
  overflow: hidden;
}

.hero-about::before,
.hero-services::before,
.hero-contact::before,
.hero-certifications::before,
.hero-terms::before,
.hero-privacy::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-about::after,
.hero-services::after,
.hero-contact::after,
.hero-certifications::after,
.hero-terms::after,
.hero-privacy::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: url('../images/hero-thyssenkrupp.webp') center/cover no-repeat;
  opacity: 0.25;
  mask-image: radial-gradient(circle, black 40%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, black 40%, transparent 70%);
  pointer-events: none;
}

.page-hero {
  position: relative;
  z-index: 1;
}

/* --- Embraer-style Services Hero --- */
.services-hero {
  position: relative;
  z-index: 2;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: url('../images/hero-services.webp') center/cover no-repeat;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.services-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,26,51,0.55) 0%, rgba(0,26,51,0.7) 100%);
}

.services-hero .container {
  position: relative;
  z-index: 1;
  padding: 80px 20px;
}

.services-hero h1 {
  color: var(--white);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.services-hero p {
  color: rgba(255,255,255,0.92);
  font-size: 1.2rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Embraer-style Services Intro (split) --- */
.services-intro {
  padding: 80px 0;
  background: var(--white);
}

.services-intro-box {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.services-intro-title h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.2;
  margin-bottom: 14px;
}

.services-intro-kicker {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.9rem;
}

.services-intro-desc p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

/* --- Embraer-style Banner CTA Cards --- */
.services-grid-section {
  padding: 10px 0 80px;
  background: var(--white);
}

.services .container,
.services-grid-section .container {
  max-width: 1400px;
  padding: 0 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.banner-cta-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background: #001a33;
}

.banner-cta-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.banner-cta-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

.banner-cta-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  padding-bottom: 8px;
}

.banner-cta-card-link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #000;
  transition: width 0.4s ease;
  margin-top: 8px;
}

.banner-cta-card-link:hover::after {
  width: 100%;
}

.banner-cta-card:hover img {
  transform: scale(1.05);
}

.banner-cta-card-content {
  position: relative;
  z-index: 2;
  padding: 28px;
  color: var(--white);
  width: 100%;
}

.banner-cta-card h3 {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.banner-cta-find-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.banner-cta-card-link:hover .banner-cta-find-link {
  opacity: 1;
}

/* --- About Page --- */
.about-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  max-width: 400px;
  opacity: 0.06;
  pointer-events: none;
}

.page-content {
  position: relative;
}

.values {
  padding: 60px 0;
  background: var(--navy);
  color: var(--white);
}

.values .section-label {
  color: var(--gold);
}

.values h2 {
  color: var(--white);
  margin-bottom: 8px;
}

.values .section-subtitle {
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
}

.values-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.values-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.values-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.15);
}

.values-item h4 {
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.values-item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  line-height: 1.5;
}

.section-gold-wave {
  background: linear-gradient(135deg, rgba(212,168,67,0.06) 0%, transparent 60%);
}

/* --- Services Page --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid rgba(10,22,40,0.08);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse > * {
  direction: ltr;
}

.service-detail-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(10,22,40,0.1);
}

.service-detail-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.service-detail ul {
  margin-top: 16px;
  padding-left: 20px;
}

.service-detail ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--text);
}

.service-detail ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Service Tabs */
.service-tabs {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 10px rgba(10,22,40,0.06);
}

.service-tabs .container {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-top: 12px;
  padding-bottom: 12px;
}

.service-tabs .container::-webkit-scrollbar {
  display: none;
}

.service-tab {
  flex-shrink: 0;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.service-tab:hover {
  color: var(--navy);
  background: var(--navy-light);
}

.service-tab.active {
  color: var(--white);
  background: var(--navy);
}

/* Service Stats Band */
.services-stats {
  padding: 48px 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 130%);
}

.services-stats .stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.services-stats .stat-item h3 {
  color: var(--white);
}

.services-stats .stat-item p {
  color: rgba(255,255,255,0.7);
}

/* Service Overview Grid */
.services-overview {
  padding: 72px 0 40px;
  background: var(--white);
}

.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.service-overview-card {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 28px 24px;
  background: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(10,22,40,0.1);
  border-color: var(--navy);
}

.service-overview-card .service-overview-icon {
  width: 46px;
  height: 46px;
  background: var(--navy-light);
  color: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-overview-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.service-overview-card p {
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.service-overview-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-overview-link:hover {
  color: var(--navy-dark);
}

.service-overview-link svg {
  transition: transform 0.2s ease;
}

.service-overview-link:hover svg {
  transform: translateX(4px);
}

/* Service Detail enhancements */
.service-detail-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.service-detail-icon {
  width: 48px;
  height: 48px;
  background: var(--navy-light);
  color: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-detail-header .section-label {
  display: block;
}

.service-detail-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
}

.service-detail-cta:hover {
  color: var(--navy-dark);
}

.service-detail-image {
  position: relative;
}

.service-detail-caption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(0,26,51,0.78);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

/* --- Embraer-style Service Segment Cards --- */
.service-segments {
  padding: 80px 0;
  background: var(--white);
}

.service-segments-header {
  text-align: center;
  margin-bottom: 48px;
}

.service-segments-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.service-segments-header p {
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.service-segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-segment-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.service-segment-card:hover {
  transform: translateY(-4px);
}

.service-segment-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-segment-card:hover img {
  transform: scale(1.05);
}

.service-segment-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}

.service-segment-card-content {
  position: relative;
  z-index: 2;
  padding: 32px;
  color: var(--white);
  width: 100%;
}

.service-segment-card-content h3 {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-segment-card-content p {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.service-segment-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.service-segment-card:hover .service-segment-card-link {
  opacity: 1;
}

/* --- Embraer-style Sub-Navigation Tabs --- */
.service-subnav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 10px rgba(10,22,40,0.06);
  position: sticky;
  top: 65px;
  z-index: 80;
}

.service-subnav .container {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.service-subnav .container::-webkit-scrollbar {
  display: none;
}

.service-subnav-link {
  flex-shrink: 0;
  padding: 16px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-500);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.service-subnav-link:hover {
  color: var(--navy);
}

.service-subnav-link.active {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.service-subnav-top {
  margin-left: auto;
  flex-shrink: 0;
  padding: 16px 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.service-subnav-top:hover {
  color: var(--navy-dark);
}

/* --- Embraer-style Feature Cards (2-col large) --- */
.service-features {
  padding: 80px 0;
  background: var(--white);
}

.service-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-features-grid.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .service-features-grid.cols-3 {
    grid-template-columns: 1fr;
  }
}

.service-feature-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform 0.3s ease;
  text-decoration: none;
  color: inherit;
  padding-bottom: 10px;
}

.service-feature-card::before {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #000;
  transition: width 0.4s ease;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 5;
}

.service-feature-card:hover::before {
  width: 100%;
}

.service-feature-card:hover {
  transform: translateY(-4px);
}

.service-feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-feature-card:hover img {
  transform: scale(1.05);
}

.service-feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,26,51,0.1) 0%, rgba(0,26,51,0.8) 100%);
  z-index: 1;
}

.service-feature-card-content {
  position: relative;
  z-index: 2;
  padding: 36px;
  color: var(--white);
  width: 100%;
}

.service-feature-card-content h3 {
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.service-feature-card-content p {
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 420px;
}

.service-feature-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s, gap 0.3s;
}

.service-feature-card:hover .service-feature-card-link {
  opacity: 1;
  gap: 12px;
}

/* --- Embraer-style Highlight Banner --- */
.service-highlight {
  padding: 0 0 80px;
  background: var(--white);
}

.service-highlight-banner {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
}

.service-highlight-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-highlight-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,26,51,0.88) 0%, rgba(0,26,51,0.5) 50%, rgba(0,26,51,0.1) 100%);
}

.service-highlight-content {
  position: relative;
  z-index: 2;
  padding: 48px 56px;
  max-width: 560px;
}

.service-highlight-content .section-label {
  color: var(--gold);
  margin-bottom: 12px;
}

.service-highlight-content h2 {
  color: var(--white);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.2;
}

.service-highlight-content p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-highlight-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: gap 0.3s;
}

.service-highlight-link:hover {
  gap: 12px;
}

/* --- Embraer-style Carousel --- */
.service-carousel {
  padding: 80px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.service-carousel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.service-carousel-header-left {
  display: flex;
  align-items: flex-end;
  gap: 24px;
}

.service-carousel-header-left .section-label {
  color: var(--gold);
  margin-bottom: 8px;
}

.service-carousel-header-left h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0;
}

.service-carousel-arrows {
  display: flex;
  gap: 12px;
}

.service-carousel-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  color: var(--gray-500);
}

.service-carousel-arrow:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.service-carousel-arrow svg {
  width: 20px;
  height: 20px;
}

.service-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.service-carousel-track::-webkit-scrollbar {
  display: none;
}

.service-carousel-card {
  flex: 0 0 300px;
  position: relative;
  border-radius: 0;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  transition: transform 0.3s;
}

.service-carousel-card:hover {
  transform: translateY(-3px);
}

.service-carousel-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-carousel-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,26,51,0) 40%, rgba(0,26,51,0.8) 100%);
}

.service-carousel-card-content {
  position: relative;
  z-index: 2;
  padding: 24px;
  width: 100%;
}

.service-carousel-card-content h4 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.service-carousel-card-content p {
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  margin: 0;
}

/* --- Embraer-style Accordion --- */
.service-accordion-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.service-accordion-header {
  text-align: center;
  margin-bottom: 48px;
}

.service-accordion-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.service-accordion-header p {
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.service-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.service-accordion-item {
  border: 1px solid var(--gray-200);
  border-radius: 0;
  margin-bottom: 12px;
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.service-accordion-item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.service-accordion-item.active {
  box-shadow: 0 4px 20px rgba(0,83,155,0.1);
}

.service-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
}

.service-accordion-trigger:hover {
  background: var(--gray-50);
}

.service-accordion-trigger-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-accordion-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  min-width: 32px;
}

.service-accordion-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.service-accordion-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.service-accordion-item.active .service-accordion-icon {
  background: var(--navy);
  transform: rotate(180deg);
}

.service-accordion-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--navy);
  transition: stroke 0.3s ease;
}

.service-accordion-item.active .service-accordion-icon svg {
  stroke: var(--white);
}

.service-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.service-accordion-item.active .service-accordion-body {
  max-height: 600px;
}

.service-accordion-content {
  padding: 0 28px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.service-accordion-content p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-accordion-content ul {
  margin: 0;
  padding-left: 0;
}

.service-accordion-content ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.service-accordion-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.service-accordion-image {
  border-radius: 8px;
  overflow: hidden;
}

.service-accordion-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.service-accordion-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
}

.service-accordion-cta:hover {
  color: var(--navy-dark);
}

/* How it works (services variant) */
.services-process {
  padding: 72px 0;
  background: var(--gray-50);
}

.aog-banner {
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}

.aog-banner h2 {
  color: var(--white);
  margin-bottom: 8px;
}

.aog-banner p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
}

/* --- AOG Page --- */
.hero-aog {
  background: linear-gradient(135deg, #1a0000 0%, #4a0000 50%, #1a0000 100%);
  position: relative;
  overflow: hidden;
}

.hero-aog::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-aog::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/AOG-Image.webp') center/cover no-repeat;
  opacity: 0.3;
  mask-image: linear-gradient(to bottom, black 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 90%);
  pointer-events: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transform: translateZ(0);
}

.aog-hero-cta {
  background: var(--red);
  padding: 32px 0;
}

.aog-hero-cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.aog-hero-cta-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.btn-white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
  font-size: 1.1rem;
  padding: 14px 36px;
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.aog-contact-card {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 40px;
  border: 1px solid var(--gray-200);
}

.aog-contact-card h3 {
  margin-bottom: 24px;
}

.aog-contact-field {
  margin-bottom: 24px;
}

.aog-contact-label {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.aog-contact-email {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--red);
}

.aog-contact-email:hover {
  color: var(--red-dark);
}

.aog-contact-value {
  font-weight: 600;
  color: var(--navy);
}

.aog-contact-highlight {
  font-size: 1.4rem;
  font-weight: 800;
  color: #2E7D32;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(10,22,40,0.06);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
  gap: 16px;
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--navy);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* --- Contact Page --- */
.contact {
  padding: 60px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.contact-form {
  background: var(--gray-light);
  border-radius: 12px;
  padding: 32px;
}

.contact-form h3 {
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(10,22,40,0.15);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* --- Contact Page Redesign --- */
.contact-cards {
  padding: 80px 0 60px;
  background: var(--white);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.contact-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

a.contact-card {
  color: inherit;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10,22,40,0.1);
  border-color: var(--navy);
  color: inherit;
}

.contact-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--navy);
  transition: background 0.3s, color 0.3s;
}

.contact-card:hover .contact-card-icon {
  background: var(--navy);
  color: var(--white);
}

.contact-card-danger .contact-card-icon {
  background: rgba(200,16,46,0.1);
  color: var(--red);
}

.contact-card-danger:hover .contact-card-icon {
  background: var(--red);
  color: var(--white);
}

.contact-card-danger:hover {
  border-color: var(--red);
}

.contact-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.contact-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: auto;
  transition: color 0.2s;
}

.contact-card:hover .contact-card-link {
  color: var(--navy-dark);
}

.contact-card-danger .contact-card-link {
  color: var(--red);
}

/* How We Help */
.how-we-help {
  padding: 80px 0;
  background: var(--gray-50);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.help-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 32px 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.help-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(10,22,40,0.08);
}

.help-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  opacity: 0.25;
  margin-bottom: 12px;
  line-height: 1;
}

.help-item h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.help-item p {
  color: var(--gray-600);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Response CTA */
.response-cta {
  padding: 80px 0;
  background: var(--navy);
}

.response-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.response-cta-content {
  flex: 1;
}

.response-cta-content h2 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.response-cta-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  max-width: 480px;
}

.response-cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* --- Certifications Page --- */
.certifications-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.cert-image-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(10,22,40,0.1);
  transition: transform 0.3s;
}

/* Compliance page — background image stays visible, cards solid & square */
body.page-compliance .page-content {
  background: transparent;
  position: relative;
  z-index: 1;
}

body.page-compliance .cert-image-card {
  background: var(--white);
  border-radius: 0;
}

body.page-compliance .cert-image-card img {
  display: block;
  width: 100%;
}

body.page-compliance .btn,
body.page-compliance .nav-cta .btn {
  border-radius: 0;
}

.cert-image-card:hover {
  transform: translateY(-3px);
}

.cert-image-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Scroll Reveal Images --- */
.scroll-reveal {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.scroll-reveal img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(10,22,40,0.15);
}

.scroll-reveal-caption {
  text-align: center;
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* Variant: full-bleed image (no max-width, edge-to-edge) */
.scroll-reveal.full-bleed {
  max-width: none;
  border-radius: 0;
}

.scroll-reveal.full-bleed img {
  border-radius: 0;
  max-height: 500px;
  object-fit: cover;
  width: 100%;
}

/* Variant: offset image (slides in from one side) */
.scroll-reveal.from-left {
  transform: translateX(-60px) scale(0.97);
}

.scroll-reveal.from-left.visible {
  transform: translateX(0) scale(1);
}

.scroll-reveal.from-right {
  transform: translateX(60px) scale(0.97);
}

.scroll-reveal.from-right.visible {
  transform: translateX(0) scale(1);
}

/* Variant: parallax-style (slower scroll feel via background) */
.scroll-reveal-parallax {
  position: relative;
  height: 400px;
  overflow: hidden;
  margin: 40px 0;
  border-radius: 16px;
}

.scroll-reveal-parallax img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  will-change: transform;
}

/* --- Inner Page Content --- */
.page-content {
  padding: 60px 0;
  background: var(--white);
}

.page-content h2 {
  margin-bottom: 12px;
}

.page-content h3 {
  margin: 24px 0 8px;
}

.page-content p {
  font-size: 0.95rem;
}

.page-content ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.page-content ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  color: var(--gray-600);
  font-size: 0.9rem;
}

.page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--navy);
  border-radius: 50%;
}

/* --- Contact Form --- */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray-700);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,83,155,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* --- Preloader --- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: preloaderSpin 0.8s linear infinite;
}

@keyframes preloaderSpin {
  to { transform: rotate(360deg); }
}

/* --- Scroll to Top Button --- */
.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 900;
}

.scroll-top-btn:hover {
  background: var(--navy-dark);
  transform: translateY(0);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* --- Mobile Sticky CTA Bar --- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}

.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  font-weight: 700;
  font-size: 0.9rem;
}

.mobile-cta-email {
  background: var(--white);
  color: var(--navy);
}

.mobile-cta-quote {
  background: var(--navy);
  color: var(--white);
}

.mobile-cta-quote:hover {
  background: var(--navy-dark);
  color: var(--white);
}

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.why-us-grid .fade-up:nth-child(1) { transition-delay: 0s; }
.why-us-grid .fade-up:nth-child(2) { transition-delay: 0.1s; }
.why-us-grid .fade-up:nth-child(3) { transition-delay: 0.2s; }
.why-us-grid .fade-up:nth-child(4) { transition-delay: 0.3s; }

.services-grid .fade-up:nth-child(1) { transition-delay: 0s; }
.services-grid .fade-up:nth-child(2) { transition-delay: 0.1s; }
.services-grid .fade-up:nth-child(3) { transition-delay: 0.2s; }
.services-grid .fade-up:nth-child(4) { transition-delay: 0.3s; }
.services-grid .fade-up:nth-child(5) { transition-delay: 0.4s; }
.services-grid .fade-up:nth-child(6) { transition-delay: 0.5s; }

.process-grid .fade-up:nth-child(1) { transition-delay: 0s; }
.process-grid .fade-up:nth-child(2) { transition-delay: 0.1s; }
.process-grid .fade-up:nth-child(3) { transition-delay: 0.2s; }
.process-grid .fade-up:nth-child(4) { transition-delay: 0.3s; }

.cert-grid .fade-up:nth-child(1) { transition-delay: 0s; }
.cert-grid .fade-up:nth-child(2) { transition-delay: 0.15s; }

/* --- 404 Error Page --- */
.error-page {
  padding: 100px 0;
  background: var(--gray-50);
  text-align: center;
}

.error-code {
  display: block;
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 4px;
}

.error-page h1 {
  margin-bottom: 12px;
}

.error-page p {
  max-width: 420px;
  margin: 0 auto 28px;
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-features-grid {
    grid-template-columns: 1fr;
  }

  .service-feature-card {
    min-height: 360px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

.manufacturers-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .top-bar-right {
    display: none;
  }

  .navbar .container {
    height: 64px;
  }

  .navbar.scrolled .container {
    height: 64px;
  }

  .nav-logo img {
    height: 50px;
  }

  .navbar.scrolled .nav-logo img {
    height: 50px;
  }

  .nav-links, .nav-cta {
    display: none;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 200;
  }

  .nav-links.active a {
    font-size: 1.1rem;
    color: var(--gray-800);
    text-transform: none;
    letter-spacing: normal;
  }

  .nav-links.active a::after,
  .nav-dropdown-trigger::after {
    display: none;
  }

  .nav-dropdown {
    align-self: auto;
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .nav-dropdown-trigger {
    font-size: 1.1rem;
    color: var(--gray-800);
    padding: 12px;
    text-transform: none;
    letter-spacing: normal;
  }

  .nav-dropdown-trigger.active {
    color: var(--navy);
    font-weight: 700;
  }

  .nav-dropdown-menu {
    position: static;
    top: auto;
    left: auto;
    min-width: 0;
    width: 100%;
    max-width: 400px;
    border: none;
    border-radius: 8px;
    box-shadow: none;
    background: var(--gray-50);
    padding: 4px 10px 10px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .nav-dropdown.open > .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown.services-dropdown > .nav-dropdown-menu {
    left: auto;
    right: auto;
    width: 100%;
    padding: 4px 10px 10px;
    border-radius: 8px;
  }

  .megamenu-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .megamenu-item {
    padding: 10px 12px;
  }

  .nav-links.active {
    overflow-y: auto;
  }

  .nav-close {
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--gray-700);
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-cta-bar {
    display: flex;
  }

  .scroll-top-btn {
    bottom: 84px;
    right: 20px;
  }

  body {
    padding-bottom: 56px;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .trust-bar .container {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .trust-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 0;
    border-right: none;
  }

.why-us-grid {
    grid-template-columns: 1fr;
  }

  .services-intro-box {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services-hero {
    min-height: 380px;
  }

  .services-hero h1 {
    font-size: 2.2rem;
  }

  .banner-cta-card {
    min-height: 300px;
  }

  .service-segments-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-segment-card {
    min-height: 300px;
  }

  .service-accordion-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-segments-header h2,
  .service-accordion-header h2 {
    font-size: 1.6rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .services-overview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-stats .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }

.manufacturers-grid {
    gap: 32px;
  }

  .flip-card {
    width: 250px;
    height: 250px;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

.service-detail,
  .service-detail.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

.contact-cards-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .help-grid {
    grid-template-columns: 1fr 1fr;
  }

  .response-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .response-cta-content p {
    margin: 0 auto;
  }

  .response-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .response-cta-actions .btn {
    width: 100%;
  }

  .values-strip {
    grid-template-columns: 1fr 1fr;
  }

  .certifications-images {
    grid-template-columns: 1fr;
  }

  .about-bg-img {
    display: none;
  }

  .scroll-top-btn {
    bottom: 84px;
    right: 20px;
    width: 44px;
    height: 44px;
  }

  .scroll-reveal img {
    border-radius: 12px;
  }

  .scroll-reveal-parallax {
    height: 250px;
  }

  .aog-hero-cta-inner {
    flex-direction: column;
    gap: 20px;
  }

  .aog-contact-card {
    padding: 28px;
  }

  .faq-question {
    font-size: 0.9rem;
    padding: 16px 20px;
  }

  .service-features-grid {
    grid-template-columns: 1fr;
  }

  .service-feature-card {
    min-height: 320px;
  }

  .service-feature-card-content h3 {
    font-size: 1.4rem;
  }

  .service-highlight-content {
    padding: 32px;
    max-width: 100%;
  }

  .service-highlight-content h2 {
    font-size: 1.5rem;
  }

  .service-carousel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .service-carousel-header-left {
    flex-direction: column;
    gap: 8px;
  }

  .service-carousel-card {
    flex: 0 0 260px;
    min-height: 180px;
  }

  .service-subnav .container {
    gap: 0;
  }

  .service-subnav-link {
    padding: 12px 14px;
    font-size: 0.7rem;
  }
}

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

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-overview-grid {
    grid-template-columns: 1fr;
  }

  .services-stats .stats-grid {
    grid-template-columns: 1fr;
  }

  .service-tab {
    font-size: 0.78rem;
    padding: 8px 12px;
  }

  .service-features-grid {
    grid-template-columns: 1fr;
  }

  .service-feature-card {
    min-height: 280px;
  }

  .service-highlight-content {
    padding: 24px;
  }

  .service-carousel-card {
    flex: 0 0 220px;
  }

  .service-subnav-link {
    padding: 10px 12px;
    font-size: 0.65rem;
    letter-spacing: 1px;
  }

  .service-subnav-top {
    display: none;
  }

  .response-cta-content h2 {
    font-size: 1.4rem;
  }
}

/* --- Services Icon Grid (6 cards) --- */
.services-icon-section {
  padding: 80px 0;
  background: transparent;
  position: relative;
  z-index: 1;
}

.services-icon-section .section-label,
.services-icon-section .section-subtitle {
  color: rgba(255,255,255,0.85);
}

.services-icon-section .section-label::after {
  background: var(--gold);
}

.services-icon-section .section-title {
  color: var(--white);
}

.services-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Bento layout — mixed card sizes */
.services-icon-grid .service-icon-card:nth-child(1),
.services-icon-grid .service-icon-card:nth-child(6) {
  grid-column: span 2;
}

.service-icon-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  background-color: #001a33;
}

.service-icon-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--white);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-icon-card:hover::after {
  transform: scaleX(1);
}

.service-icon-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}

.service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
  background-color: #001a33;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.service-icon-card:hover .service-card-bg {
  transform: scale(1.05);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,26,51,0.85) 0%, rgba(0,26,51,0.3) 50%, transparent 100%);
}

.service-card-content {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.service-card-content .service-icon {
  display: none;
}

.service-card-content .service-icon.aog-icon {
  background: rgba(220,53,69,0.15);
  color: #dc3545;
}

.service-card-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.service-card-content p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
  line-height: 1.5;
}

.service-card-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.service-card-link:hover {
  color: #e6be5a;
}

/* --- Aircraft Coverage Cards --- */
.aircraft-coverage {
  padding: 80px 0;
  background: transparent; position: relative; z-index: 1;
}

.aircraft-coverage .section-label {
  color: var(--gold);
}

.aircraft-coverage .section-title {
  color: var(--white);
}

.aircraft-coverage .section-subtitle {
  color: rgba(255,255,255,0.85);
}

.aircraft-cards-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.aircraft-category-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 320px;
  text-decoration: none;
  display: block;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aircraft-category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.aircraft-category-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.aircraft-category-card:hover .aircraft-category-img {
  transform: scale(1.05);
}

.aircraft-category-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,26,51,0.9) 0%, rgba(0,26,51,0.3) 50%, rgba(0,26,51,0.1) 100%);
}

.aircraft-category-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px;
  z-index: 1;
}

.aircraft-category-content h3 {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.aircraft-category-content p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.aircraft-category-link {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Circle Service Cards --- */
.circle-services-section {
  padding: 60px 0 80px;
  background: transparent;
  position: relative;
  z-index: 1;
}

.circle-services-section .section-label,
.circle-services-section .section-subtitle {
  color: rgba(255,255,255,0.85);
}

.circle-services-section .section-title {
  color: var(--white);
}

.circle-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  align-items: center;
  justify-items: center;
}

/* Flip Card */
.flip-card {
  perspective: 1000px;
  width: 260px;
  height: 260px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.flip-card-front {
  background-size: cover;
  background-position: center;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.flip-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,26,51,0.8), rgba(0,51,102,0.7));
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flip-card-front img {
  position: relative;
  z-index: 2;
  width: 65%;
  height: auto;
  max-height: 65%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.flip-card-back {
  background: linear-gradient(135deg, #001a33, #003366);
  transform: rotateY(180deg);
  padding: 30px 20px;
  text-align: center;
  border: 2px solid rgba(212,168,67,0.3);
}

.flip-card-back h3 {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.flip-card-back ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.flip-card-back ul li {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  padding: 3px 0;
  font-weight: 500;
}

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

/* 5 cards layout */
.circle-services-grid .flip-card:nth-child(5) {
  grid-column: 1 / -1;
  justify-self: center;
}

@media (max-width: 480px) {
  .circle-services-grid {
    grid-template-columns: 1fr;
  }
  .flip-card {
    width: 160px;
    height: 160px;
  }
}

/* --- Login Page --- */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #001a33 0%, #003366 50%, #001a33 100%);
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.login-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.login-card {
  background: var(--white);
  border-radius: 12px;
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
  text-align: center;
}

.login-card img {
  height: 50px;
  margin: 0 auto 24px;
}

.login-card h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.login-card .login-subtitle {
  color: var(--gray-500);
  font-size: 0.85rem;
  margin-bottom: 32px;
}

.login-card .form-group {
  text-align: left;
  margin-bottom: 20px;
}

.login-card label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.login-card input[type="email"],
.login-card input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color 0.2s;
  outline: none;
}

.login-card input[type="email"]:focus,
.login-card input[type="password"]:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,83,155,0.1);
}

.login-card .login-btn {
  width: 100%;
  padding: 13px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.login-card .login-btn:hover {
  background: var(--navy-dark);
}

.login-card .login-footer {
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.login-card .login-footer a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}

.login-card .login-footer a:hover {
  text-decoration: underline;
}

.login-card .login-back {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--gray-500);
  text-decoration: none;
}

.login-card .login-back:hover {
  color: var(--navy);
}

@media (max-width: 768px) {
  .services-icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .aircraft-cards-grid {
    grid-template-columns: 1fr;
  }
  .aircraft-category-card {
    height: 260px;
  }
  .login-card {
    padding: 36px 24px;
  }
}

@media (max-width: 480px) {
  .services-icon-grid {
    grid-template-columns: 1fr;
  }
  .services-icon-grid .service-icon-card:nth-child(1),
  .services-icon-grid .service-icon-card:nth-child(6) {
    grid-column: auto;
  }
}

/* ============================================
   Light background theme (when scrolled past hero)
   Text colors flip to match contact page look
   ============================================ */
body.bg-light .services-icon-section .section-title,
body.bg-light .aircraft-coverage .section-title,
body.bg-light .certifications .section-title {
  color: var(--navy);
}

body.bg-light .services-icon-section .section-label,
body.bg-light .certifications .section-label {
  color: var(--navy);
}

body.bg-light .services-icon-section .section-label::after,
body.bg-light .certifications .section-label::after,
body.bg-light .aircraft-coverage .section-label::after {
  background: var(--gold);
}

body.bg-light .services-icon-section .section-subtitle,
body.bg-light .aircraft-coverage .section-subtitle,
body.bg-light .aircraft-coverage .section-label,
body.bg-light .certifications .section-subtitle,
body.bg-light .certifications .cert-item p {
  color: var(--gray-600);
}

body.bg-light .cert-item .cert-card-logo.cert-logo-asa {
  filter: none;
}

body.bg-light .services-icon-section .service-card-body h3 {
  color: var(--white);
}

body.bg-light .services-icon-section .service-card-body p {
  color: rgba(255,255,255,0.85);
}

body.bg-light .aircraft-category-card h3 {
  color: var(--white);
}

body.bg-light .aircraft-category-card p {
  color: rgba(255,255,255,0.85);
}

/* Gold airplane cursor */
body {
  cursor: url("../images/cursor-gold.png") 16 16, auto;
}

a, button, input, textarea, select, [role="button"], .btn, .nav-links a, .nav-toggle, .scroll-top-btn, .mobile-cta-bar a {
  cursor: pointer;
}

/* ============================================
   Square corners site-wide — cards & buttons
   (flip-card circles stay round)
   ============================================ */
.btn,
button,
.scroll-top-btn,
.cert-image-card,
.cert-card,
.service-icon-card,
.service-feature-card,
.aircraft-category-card,
.contact-card,
.login-card,
.megamenu-item,
.nav-dropdown-menu,
[class*="card"]:not(.flip-card):not(.flip-card-inner):not(.flip-card-front):not(.flip-card-back) {
  border-radius: 0;
}


/* --- Service Detail Pages --- */
.svc-section {
  padding: 90px 0;
  background: var(--white);
}

.svc-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.svc-split-text .section-title {
  margin-bottom: 18px;
}

.svc-split-text p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 26px;
}

.svc-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
}

.svc-checklist li {
  position: relative;
  padding-left: 32px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-700);
}

.svc-checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  background: rgba(212,168,67,0.16);
  color: #a8842c;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
}

.svc-split-img img {
  width: 100%;
  height: auto;
  box-shadow: 0 24px 60px rgba(10,22,40,0.18);
}

@media (max-width: 900px) {
  .svc-section { padding: 60px 0; }
  .svc-split { grid-template-columns: 1fr; gap: 36px; }
  .svc-checklist { grid-template-columns: 1fr; }
}