/* ========================================
   Xperior Aviation Detailing - Styles
   Multi-page SEO-optimized website
   ======================================== */

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

:root {
  --cyan: #00d8ff;
  --cyan-light: #26d2f1;
  --cyan-glow: rgba(0, 216, 255, 0.15);
  --cyan-deep: #0099b8;
  --purple: #8c52ff;
  --bg-dark: #2b2d31;
  --bg-section-alt: #242628;
  --bg-section-1: #242628;
  --bg-section-2: #242628;
  --bg-section-3: #242628;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.065);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.35);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-cyan: rgba(0, 216, 255, 0.15);
  --font-main: 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul, ol {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-cyan {
  color: var(--cyan);
  font-weight: 700;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  transition: all 0.4s ease;
  background: transparent;
}

.navbar.scrolled,
.navbar-solid {
  background: rgba(43, 45, 49, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar.scrolled {
  padding: 14px 40px;
}

.navbar-solid {
  padding: 14px 40px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-x {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}

.brand-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.brand-label {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cyan);
  border-radius: 1px;
}

.nav-cta {
  padding: 10px 24px !important;
  background: var(--cyan);
  color: var(--bg-dark) !important;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--cyan-light) !important;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ========================================
   Hero Section (Homepage)
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(0, 216, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(0, 216, 255, 0.04) 0%, transparent 50%),
    var(--bg-dark);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-tagline {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollLineDown 2s ease-in-out infinite;
}

/* ========================================
   Page Hero (Sub-pages)
   ======================================== */
.page-hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
}

.page-hero-tall {
  padding: 180px 0 120px;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
}

.page-hero-tall .container {
  width: 100%;
}

.page-hero-tall .page-hero-image img {
  opacity: 0.4;
}

.page-hero-tall .btn-primary {
  margin-top: 24px;
  opacity: 1;
  animation: none;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 216, 255, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(140, 82, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.page-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.page-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.page-hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
}

/* ========================================
   Breadcrumb
   ======================================== */
.breadcrumb {
  padding: 90px 0 0;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  color: var(--text-muted);
  opacity: 0.5;
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

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

.breadcrumb [aria-current="page"] {
  color: var(--text-secondary);
}

/* ========================================
   Buttons
   ======================================== */
.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  background: var(--cyan);
  color: var(--bg-dark);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.8s;
}

.btn-primary:hover {
  background: #ffffff;
}

.btn-large {
  padding: 18px 48px;
  font-size: 1.1rem;
  opacity: 1;
  animation: none;
}

/* ========================================
   Differentiators Section
   ======================================== */
.differentiators {
  padding: 100px 0;
  background: var(--bg-section-alt);
}

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

.diff-card {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s ease;
}

.diff-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-cyan);
}

.diff-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  color: var(--cyan);
}

.diff-icon svg {
  width: 100%;
  height: 100%;
}

.diff-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.diff-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   Section Header (shared)
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================================
   Services Section (Homepage)
   ======================================== */
.services {
  padding: 120px 0;
  background: var(--bg-section-alt);
}

.services-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.service-card {
  position: relative;
  border-radius: 18px;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  background: var(--bg-dark);
  padding: 2px;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

/* Spinning gradient behind the card — creates the animated border line */
.service-card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  transform: translate(-50%, -50%);
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    var(--cyan) 60deg,
    transparent 120deg,
    transparent 360deg
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.service-card:hover .service-card-glow {
  opacity: 1;
  animation: spinBorder 3s ease-out forwards;
}

/* Spins once then the cyan slowly fades out */
@keyframes spinBorder {
  0%   { transform: translate(-50%, -50%) rotate(0deg); opacity: 1; }
  50%  { transform: translate(-50%, -50%) rotate(360deg); opacity: 1; }
  75%  { transform: translate(-50%, -50%) rotate(360deg); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) rotate(360deg); opacity: 0; }
}

.service-card-inner {
  position: relative;
  z-index: 1;
  background: var(--bg-dark);
  border-radius: 16px;
  padding: 64px 52px;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

.service-card-number {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--cyan);
  margin-bottom: 18px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.service-card p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.service-card li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

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

.card-link-text {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cyan);
  transition: all 0.3s ease;
}

.service-card:hover .card-link-text {
  transform: translateX(4px);
}

/* ========================================
   Exterior Valeting Page
   ======================================== */
.ext-hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
}

.ext-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ext-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(43,45,49,0.3) 0%, rgba(43,45,49,0.5) 50%, rgba(43,45,49,1) 100%);
}

.ext-hero-content {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 2;
}

.ext-hero-breadcrumb {
  margin-bottom: 28px;
}

.ext-hero-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ext-hero-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ext-hero-breadcrumb li:not(:last-child)::after {
  content: '/';
  opacity: 0.5;
}

.ext-hero-breadcrumb a {
  color: var(--text-secondary);
}

.ext-hero-breadcrumb a:hover {
  color: var(--cyan);
}

.ext-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 750px;
}

.ext-hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}

.ext-hero .btn-primary {
  opacity: 1;
  animation: none;
}

/* --- Scroll indicator --- */
.ext-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ext-scroll-indicator span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ext-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollLineDown 2s ease-in-out infinite;
}

@keyframes scrollLineDown {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  30% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  70% { opacity: 1; transform: scaleY(1); transform-origin: bottom; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* --- Levels --- */
.ext-levels {
  padding: 120px 0;
  background: var(--bg-dark);
}

.ext-levels-header {
  text-align: center;
  margin-bottom: 64px;
}

.ext-levels-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.ext-levels-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.ext-levels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.ext-levels:has(.ext-levels-grid-3) .container {
  max-width: 1500px;
}

.ext-levels-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ext-levels-grid-3 .ext-level {
  padding: 40px 36px;
}

.ext-level {
  position: relative;
  padding: 64px 52px;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background: var(--bg-card);
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.ext-level:hover {
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}

.ext-level-featured {
  border-color: var(--cyan);
  background: linear-gradient(135deg, rgba(0,216,255,0.04) 0%, transparent 60%);
}

.ext-level-featured:hover {
  border-color: var(--cyan);
}

.ext-level-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg-dark);
  background: var(--cyan);
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.ext-level-badge-outline {
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border-subtle);
}

.ext-level h3 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.ext-level p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.ext-level p:last-child {
  margin-bottom: 0;
}

.ext-level-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 24px;
}

.ext-level-list li {
  font-size: 1rem;
  color: var(--text-secondary);
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}

.ext-level-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.7;
}

.ext-level-featured .ext-level-list li::before {
  opacity: 1;
}

.ext-level-note {
  color: var(--text-muted) !important;
  font-size: 0.85rem !important;
  font-style: italic;
  margin-top: 8px;
}

/* --- Photo strip --- */
.ext-photos {
  padding: 0 0 120px;
  background: var(--bg-dark);
}

.ext-photos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.ext-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.5s ease;
}

.ext-photo:hover {
  transform: scale(1.02);
}

/* --- Services covered --- */
.ext-services {
  padding: 120px 0;
  background: var(--bg-section-alt);
}

.ext-services-header {
  margin-bottom: 56px;
}

.ext-services-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.ext-services-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.ext-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
}

.ext-service-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 32px;
  background: var(--bg-section-alt);
  transition: background 0.3s ease;
}

.ext-service-item:hover {
  background: var(--bg-card-hover);
}

.ext-service-icon {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
}

.ext-service-item span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* --- Add-ons --- */
.ext-addons {
  padding: 120px 0;
  background: var(--bg-dark);
}

.ext-addons-header {
  margin-bottom: 56px;
}

.ext-addons-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.ext-addons-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

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

.ext-addon-card {
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  text-align: center;
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.ext-addon-card:hover {
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}

.ext-addon-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 216, 255, 0.08);
  color: var(--cyan);
}

.ext-addon-icon svg {
  width: 24px;
  height: 24px;
}

.ext-addon-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.ext-addon-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Why Us --- */
.ext-why-us {
  padding: 120px 0;
  background: var(--bg-section-alt);
}

.ext-why-header {
  text-align: center;
  margin-bottom: 64px;
}

.ext-why-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.ext-why-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.ext-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ext-why-card {
  text-align: center;
  padding: 44px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.ext-why-card:hover {
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}

.ext-why-stat {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.ext-why-card h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.ext-why-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Scroll reveal for ext page --- */
.ext-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.ext-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ext-reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.ext-reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ext-reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.ext-stagger-1 { transition-delay: 0.05s; }
.ext-stagger-2 { transition-delay: 0.1s; }
.ext-stagger-3 { transition-delay: 0.15s; }
.ext-stagger-4 { transition-delay: 0.2s; }
.ext-stagger-5 { transition-delay: 0.25s; }

.levels-cta {
  text-align: center;
  padding-top: 16px;
}

.levels-cta p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ========================================
   Checklist Grid (Sub-pages full services)
   ======================================== */
.full-services {
  padding: 120px 0;
  background: var(--bg-section-2);
}

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

.checklist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: all 0.4s ease;
}

.checklist-item-wide {
  grid-column: 1 / -1;
}

.checklist-item:hover {
  border-color: var(--border-cyan);
  background: var(--bg-card-hover);
}

.checklist-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--cyan);
}

.checklist-icon svg {
  width: 100%;
  height: 100%;
}

.checklist-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0;
  letter-spacing: -0.01em;
}

.checklist-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   Notice Section
   ======================================== */
.notice-section {
  padding: 80px 0;
  background: var(--bg-section-alt);
}

.notice-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  max-width: 750px;
  margin: 0 auto;
}

.notice-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  color: var(--cyan);
}

.notice-icon svg {
  width: 100%;
  height: 100%;
}

.notice-content h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.notice-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.notice-content strong {
  color: var(--cyan);
  font-weight: 700;
}

/* ========================================
   Coverage Section
   ======================================== */
.coverage {
  padding: 120px 0;
  background: var(--bg-dark);
}

.coverage-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.coverage-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.coverage-badge:hover {
  border-color: rgba(0, 216, 255, 0.2);
  background: var(--bg-card-hover);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-section {
  padding: 120px 0;
  background: var(--bg-section-alt);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.4s ease;
}

.faq-item.open {
  border-color: var(--border-cyan);
}

.faq-trigger {
  width: 100%;
  cursor: pointer;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  text-align: left;
  transition: background 0.3s ease;
}

.faq-trigger:hover {
  background: var(--bg-card-hover);
}

.faq-trigger h3 {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--cyan);
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.faq-icon::before {
  top: 50%;
  left: 2px;
  right: 2px;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  left: 50%;
  top: 2px;
  bottom: 2px;
  width: 2px;
  transform: translateX(-50%);
}

.faq-item.open .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding: 0 28px 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-hero {
  padding: 140px 0 60px;
  background: var(--bg-dark);
  text-align: center;
}

.contact-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.contact-hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-content {
  padding: 80px 0 120px;
  background: var(--bg-section-alt);
}

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

.contact-form-wrap .quote-form {
  max-width: none;
}

.contact-form-wrap textarea {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
  outline: none;
  resize: vertical;
  width: 100%;
}

.contact-form-wrap textarea::placeholder {
  color: var(--text-muted);
}

.contact-form-wrap textarea:focus {
  border-color: var(--cyan);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.contact-info-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cyan);
  margin-bottom: 8px;
}

.contact-info-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  padding: 120px 0;
  background: var(--bg-dark);
}

.cta-card {
  text-align: center;
  padding: 80px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
}

.cta-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-card p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* ========================================
   Quote Form
   ======================================== */
.quote-form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
}

.form-group textarea {
  resize: vertical;
  width: 100%;
}

/* Custom Select Dropdown */
.custom-select {
  position: relative;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.3s ease;
  outline: none;
}

.custom-select-trigger:focus,
.custom-select.open .custom-select-trigger {
  border-color: var(--cyan);
}

.custom-select-value {
  color: var(--text-muted);
}

.custom-select-value.has-value {
  color: var(--text-primary);
}

.custom-select-arrow {
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.custom-select.open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #1e2023;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 6px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 50;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.custom-select.open .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select-options li {
  padding: 12px 14px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.custom-select-options li:hover {
  background: rgba(0, 216, 255, 0.08);
  color: var(--text-primary);
}

.custom-select-options li.selected {
  color: var(--cyan);
}

.quote-form .btn-primary {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 12px;
  opacity: 1;
  animation: none;
}

.form-success {
  padding: 48px 24px;
  background: rgba(0, 216, 255, 0.06);
  border: 1px solid rgba(0, 216, 255, 0.15);
  border-radius: 16px;
  text-align: center;
  opacity: 0;
  transform: scale(0.95) translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.form-success.form-success-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.form-success-check {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

.form-success-check circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: form-check-circle 0.6s 0.2s ease forwards;
}

.form-success-check-mark {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: form-check-mark 0.4s 0.6s ease forwards;
}

@keyframes form-check-circle {
  to { stroke-dashoffset: 0; }
}

@keyframes form-check-mark {
  to { stroke-dashoffset: 0; }
}

.form-success h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--cyan);
}

.form-success p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.6;
}

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

  .form-row .form-group {
    margin-bottom: 20px;
  }
}

/* ========================================
   Partners
   ======================================== */
.partners {
  padding: 100px 0;
  background: var(--bg-section-alt);
}

.partners-label {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 48px;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.partner-logo {
  display: flex;
  align-items: center;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.partner-logo:hover {
  opacity: 1;
}

.partner-logo img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.partner-logo:hover img {
  filter: none;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  position: relative;
  padding: 0;
  background: var(--bg-section-alt);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand .nav-brand {
  display: inline-flex;
}

.footer-inline-links {
  display: flex;
  gap: 32px;
}

.footer-inline-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer-inline-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-detail {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scaleY(0.6);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

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

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

  .levels-grid {
    gap: 20px;
  }

  .checklist-grid {
    gap: 16px;
  }

  .footer-highlights {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 16px 20px;
  }

  .navbar.scrolled,
  .navbar-solid {
    padding: 12px 20px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(43, 45, 49, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-links a.active::after {
    bottom: -6px;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: 90vh;
  }

  .hero-scroll-indicator {
    bottom: 24px;
  }

  .page-hero {
    padding: 120px 0 60px;
  }

  .breadcrumb {
    padding-top: 72px;
  }

  .diff-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .diff-card {
    padding: 28px 24px;
  }

  .services-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card-inner {
    padding: 44px 32px;
    min-height: auto;
  }

  .service-card h3 {
    font-size: 1.5rem;
  }

  .ext-hero {
    height: 90vh;
    min-height: 500px;
  }

  .ext-hero h1 {
    font-size: 2.6rem;
  }

  .ext-scroll-indicator {
    bottom: 24px;
  }

  .ext-levels-grid {
    grid-template-columns: 1fr;
  }

  .ext-level {
    padding: 44px 32px;
  }

  .ext-photos-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ext-photo {
    height: 220px;
  }

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

  .ext-addons-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ext-addon-card {
    padding: 32px 24px;
  }

  .ext-why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .ext-why-card {
    padding: 32px 20px;
  }

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

  .notice-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }

  .coverage-badges {
    flex-direction: column;
    align-items: center;
  }

  .faq-trigger {
    padding: 16px 20px;
  }

  .faq-answer p {
    padding: 0 20px 20px;
  }

  .cta-card {
    padding: 48px 24px;
  }

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

  .contact-info {
    position: static;
  }

  .footer-main {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-inline-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

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

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

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

  .page-hero-desc {
    font-size: 1rem;
  }

  .btn-primary {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .btn-large {
    padding: 16px 36px;
    font-size: 1rem;
  }

  .level-card h3 {
    font-size: 1.2rem;
  }
}
