/* ============================================================
   EZPARTS US — Black & Gold Edition
   ============================================================ */

:root {
  --bg: #070708;
  --bg-2: #0c0c0f;
  --bg-3: #121218;
  --card: #101014;
  --gold: #d4af37;
  --gold-light: #f5dd8b;
  --gold-soft: #e8c860;
  --gold-dark: #8a6d1f;
  --gold-grad: linear-gradient(120deg, #f7e28e 0%, #d4af37 45%, #a8811f 100%);
  --text: #ece7db;
  --muted: #a09a8c;
  --line: rgba(212, 175, 55, 0.16);
  --line-strong: rgba(212, 175, 55, 0.4);
  --shadow-gold: 0 10px 40px -10px rgba(212, 175, 55, 0.35);
  --font-display: 'Cinzel', serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --nav-h: 84px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(212, 175, 55, 0.35); color: #fff; }

/* Scrollbar — thin and discreet */
html { scrollbar-width: thin; scrollbar-color: rgba(212, 175, 55, 0.35) #08080a; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #08080a; }
::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.35); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: rgba(212, 175, 55, 0.6); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1220px, 92%); margin-inline: auto; }

/* ============ Preloader ============ */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: #060607;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transition: opacity 0.7s ease, visibility 0.7s;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-ring {
  width: 74px; height: 74px; border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.15);
  border-top-color: var(--gold);
  animation: spin 1s linear infinite;
  position: relative;
}
.loader-ring::after {
  content: '✈'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--gold); animation: spin-rev 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }
.loader-brand {
  font-family: var(--font-display); font-size: 20px; letter-spacing: 0.5em;
  color: var(--gold); text-transform: uppercase; padding-left: 0.5em;
}
.loader-logo { width: min(150px, 42vw); height: auto; animation: logo-breathe 1.5s ease-in-out infinite alternate; }
@keyframes logo-breathe { from { opacity: 0.55; } to { opacity: 1; filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.45)); } }

/* ============ Cursor glow (desktop) ============ */
#cursor-glow {
  position: fixed; width: 380px; height: 380px; border-radius: 50%;
  pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.07) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  opacity: 0;
}
@media (hover: hover) { #cursor-glow { opacity: 1; } }

/* ============ Topbar ============ */
.topbar {
  background: #050506;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  font-size: 13px; color: var(--muted);
  position: relative; z-index: 60;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 40px; gap: 16px; flex-wrap: wrap;
}
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-info svg { width: 13px; height: 13px; fill: var(--gold); flex: none; }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.lang-switch { display: flex; gap: 8px; align-items: center; }
.lang-btn {
  width: 23px; height: 23px; border-radius: 50%; overflow: hidden;
  padding: 0; cursor: pointer; background: none; display: flex;
  border: 1px solid rgba(212, 175, 55, 0.25);
  opacity: 0.5; transition: opacity 0.3s, transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.lang-btn svg { width: 100%; height: 100%; display: block; }
.lang-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.lang-btn.active { opacity: 1; border-color: var(--gold); box-shadow: 0 0 10px rgba(212, 175, 55, 0.5); }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a { display: inline-flex; transition: transform 0.3s, color 0.3s; color: var(--muted); }
.topbar-social a:hover { color: var(--gold); transform: translateY(-2px); }
.topbar-social svg { width: 15px; height: 15px; fill: currentColor; }

/* ============ Navbar ============ */
.navbar {
  position: sticky; top: 0; z-index: 66; /* above .mobile-menu (65) so the hamburger stays clickable */
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(7, 7, 8, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, height 0.4s;
}
.navbar.scrolled {
  background: rgba(6, 6, 7, 0.92);
  border-bottom-color: var(--line);
  height: 70px;
  box-shadow: 0 12px 40px -18px rgba(0, 0, 0, 0.9);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark-img { height: 34px; width: auto; display: block; transition: height 0.4s; }
.brand-word-img { height: 15px; width: auto; display: block; transition: height 0.4s; }
.brand:hover .brand-mark-img, .brand:hover .brand-word-img { filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.55)); }
.navbar.scrolled .brand-mark-img { height: 29px; }
.navbar.scrolled .brand-word-img { height: 13px; }
.brand-mark {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 25%, rgba(212, 175, 55, 0.22), transparent 70%);
}
.brand-mark svg { width: 22px; height: 22px; fill: url(#goldGrad); }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 21px;
  letter-spacing: 0.22em; text-transform: uppercase;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-name small { display: block; font-family: var(--font-body); font-size: 9px; letter-spacing: 0.52em; color: var(--muted); -webkit-text-fill-color: var(--muted); }

.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text); position: relative; padding: 6px 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--gold-grad); transition: width 0.35s var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

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

/* Hamburger */
.hamburger {
  display: none; background: none; border: 1px solid var(--line-strong); border-radius: 8px;
  width: 46px; height: 46px; cursor: pointer; z-index: 70;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--gold); transition: 0.35s var(--ease-out); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 65;
  background: rgba(5, 5, 6, 0.98);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  clip-path: circle(0% at calc(100% - 60px) 60px);
  visibility: hidden;
  transition: clip-path 0.65s var(--ease-out), visibility 0s 0.65s;
}
.mobile-menu.open {
  clip-path: circle(150% at calc(100% - 60px) 60px);
  visibility: visible;
  transition: clip-path 0.65s var(--ease-out);
}
.mobile-menu a {
  font-family: var(--font-display); font-size: clamp(26px, 6vw, 40px);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text);
  padding: 10px; transition: color 0.3s, letter-spacing 0.3s;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--gold); letter-spacing: 0.22em; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 13.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 16px 34px; border-radius: 3px; cursor: pointer;
  position: relative; overflow: hidden; border: none;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.btn svg { width: 15px; height: 15px; fill: currentColor; transition: transform 0.3s; }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { background: var(--gold-grad); color: #141002; box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 50px -12px rgba(212, 175, 55, 0.55); }
.btn-gold::before {
  content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg); transition: left 0.6s;
}
.btn-gold:hover::before { left: 130%; }
.btn-ghost {
  background: transparent; color: var(--gold-light);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { transform: translateY(-3px); background: rgba(212, 175, 55, 0.08); border-color: var(--gold); box-shadow: var(--shadow-gold); }
.btn-sm { padding: 11px 22px; font-size: 12px; }

/* ============ Section scaffolding ============ */
section { position: relative; }
.section { padding: 110px 0; }
.section-dark { background: var(--bg-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 46px; height: 1px; background: var(--gold-grad); }
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after { content: ''; width: 46px; height: 1px; background: var(--gold-grad); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.18; }
.section-title { font-size: clamp(30px, 4.2vw, 48px); margin-bottom: 22px; }
.section-title .gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { max-width: 780px; }
.section-head.centered { margin-inline: auto; text-align: center; }
.lead { font-size: 19px; color: #d8d2c4; font-weight: 500; }
p.muted, .muted { color: var(--muted); }

.gold-rule { width: 72px; height: 2px; background: var(--gold-grad); border: none; margin: 26px 0; }
.centered .gold-rule { margin-inline: auto; }

/* ============ Reveal animations ============ */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0; transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal { transform: translateY(46px); }
.reveal-left { transform: translateX(-56px); }
.reveal-right { transform: translateX(56px); }
.reveal-scale { transform: scale(0.88); }
.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto !important; }
}

/* ============ HERO (home) ============ */
.hero {
  min-height: 640px;
  min-height: max(560px, calc(100vh - var(--nav-h) - 40px));
  display: flex; align-items: center;
  overflow: hidden; isolation: isolate;
}
.hero-bg {
  position: absolute; inset: -6%;
  background: url('../img/hero-turbine.jpg') center / cover no-repeat;
  z-index: -3;
  animation: kenburns 26s ease-in-out infinite alternate;
  filter: saturate(0.9) contrast(1.12) brightness(0.62);
}
@keyframes kenburns { from { transform: scale(1) translateX(0); } to { transform: scale(1.12) translateX(-1.5%); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(100deg, rgba(5, 5, 6, 0.97) 22%, rgba(6, 6, 8, 0.82) 48%, rgba(8, 8, 10, 0.45) 100%),
    linear-gradient(to top, var(--bg) 2%, transparent 30%),
    linear-gradient(to bottom, rgba(5, 5, 6, 0.6), transparent 24%);
}
#hero-particles { position: absolute; inset: 0; z-index: -1; }

.hero-inner { position: relative; padding: 90px 0 130px; max-width: 820px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-strong); border-radius: 100px;
  padding: 9px 22px; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-light);
  background: rgba(10, 10, 12, 0.55); backdrop-filter: blur(6px);
  margin-bottom: 30px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); position: relative; flex: none; }
.pulse-dot::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid var(--gold); animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }

.hero-title {
  font-size: clamp(34px, 7vw, 88px);
}
/* PT/ES headlines are longer — scale down so lines never clip */
html[lang="pt-BR"] .hero-title, html[lang="es"] .hero-title {
  font-size: clamp(26px, 5vw, 60px);
}
.hero-title {
  text-transform: uppercase; letter-spacing: 0.02em;
  margin-bottom: 30px; line-height: 1.08;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .word {
  display: inline-block; transform: translateY(115%);
  animation: word-up 1.1s var(--ease-out) forwards;
  animation-delay: var(--wd, 0s);
}
@keyframes word-up { to { transform: translateY(0); } }
.hero-title .gold {
  background: linear-gradient(120deg, #f7e28e, #d4af37 40%, #f7e28e 80%, #a8811f);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: word-up 1.1s var(--ease-out) forwards, shimmer 5s linear 1.4s infinite;
  animation-delay: var(--wd, 0s), 1.4s; /* the shorthand resets the stagger delay */
}
@keyframes shimmer { to { background-position: 220% center; } }

.hero-sub { font-size: 19px; color: #cfc9bb; max-width: 560px; margin-bottom: 44px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10.5px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted);
  z-index: 2;
}
.hero-scroll .mouse {
  width: 24px; height: 40px; border: 1.5px solid var(--line-strong); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 7px;
}
.hero-scroll .mouse i { width: 3px; height: 8px; border-radius: 3px; background: var(--gold); animation: wheel 1.7s ease-in-out infinite; }
@keyframes wheel { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(10px); opacity: 0; } }

/* ============ Stats strip ============ */
.stats { border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(212, 175, 55, 0.05), transparent); }
.stats .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: 54px; gap: 30px;
}
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: ''; position: absolute; left: 0; top: 12%; height: 76%; width: 1px;
  background: linear-gradient(transparent, var(--line-strong), transparent);
}
.stat-num {
  font-family: var(--font-display); font-size: clamp(34px, 4vw, 52px); font-weight: 700;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-size: 12.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ============ Split layout (about home) ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.frame { position: relative; }
.frame img {
  border-radius: 4px; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.95) contrast(1.06) brightness(0.9);
  transition: filter 0.6s;
}
.frame:hover img { filter: saturate(1) contrast(1.06) brightness(1); }
.frame::before {
  content: ''; position: absolute; inset: 0; transform: translate(-20px, -20px);
  border: 1px solid var(--line-strong); border-radius: 4px; z-index: -1;
  transition: transform 0.6s var(--ease-out);
}
.frame::after {
  content: ''; position: absolute; inset: 0; transform: translate(20px, 20px);
  background: linear-gradient(140deg, rgba(212, 175, 55, 0.16), transparent 60%);
  border-radius: 4px; z-index: -1;
  transition: transform 0.6s var(--ease-out);
}
.frame:hover::before { transform: translate(-12px, -12px); }
.frame:hover::after { transform: translate(12px, 12px); }
.frame .frame-badge {
  position: absolute; bottom: 26px; left: -26px;
  background: var(--gold-grad); color: #171204; border-radius: 4px;
  padding: 18px 26px; font-weight: 800; box-shadow: var(--shadow-gold);
  font-size: 14px; letter-spacing: 0.06em; line-height: 1.35;
}
.frame .frame-badge b { display: block; font-family: var(--font-display); font-size: 30px; }

/* ============ Feature cards ============ */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 60px; }
.feature-card {
  background: linear-gradient(160deg, var(--card), #0b0b0e);
  border: 1px solid var(--line); border-radius: 6px;
  padding: 52px 44px; position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.5s, box-shadow 0.5s;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.feature-card::after {
  content: ''; position: absolute; top: -60%; left: -80%; width: 60%; height: 220%;
  background: linear-gradient(105deg, transparent, rgba(212, 175, 55, 0.08), transparent);
  transform: skewX(-20deg); transition: left 0.8s;
}
.feature-card:hover { transform: translateY(-10px); border-color: var(--line-strong); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), var(--shadow-gold); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover::after { left: 160%; }
.feature-icon {
  width: 78px; height: 78px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 32% 28%, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.04));
  display: flex; align-items: center; justify-content: center; margin-bottom: 30px;
  transition: transform 0.5s var(--ease-out);
}
.feature-card:hover .feature-icon { transform: rotateY(180deg); }
.feature-icon svg { width: 36px; height: 36px; fill: var(--gold); }
.feature-card h3 { font-size: 25px; margin-bottom: 14px; letter-spacing: 0.04em; }
.feature-card p { color: var(--muted); }

/* ============ Testimonials ============ */
.testimonials { overflow: hidden; }
.quote-mark { font-family: Georgia, serif; font-size: 120px; line-height: 0.6; color: rgba(212, 175, 55, 0.25); display: block; margin-bottom: 8px; }
.slider { position: relative; max-width: 880px; margin: 40px auto 0; }
.slides { display: flex; transition: transform 0.75s var(--ease-out); }
.slide { flex: 0 0 100%; padding: 10px 8px; opacity: 0; transition: opacity 0.6s ease; }
.slide.current { opacity: 1; }
.slide-card {
  background: linear-gradient(165deg, var(--card), #0a0a0d);
  border: 1px solid var(--line); border-radius: 6px;
  padding: clamp(34px, 5vw, 60px); text-align: center;
  position: relative;
}
.slide-card::before, .slide-card::after {
  content: ''; position: absolute; width: 42px; height: 42px;
}
.slide-card::before { top: -1px; left: -1px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.slide-card::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.slide-text { font-size: 18px; color: #d6d0c2; font-style: italic; max-width: 700px; margin-inline: auto; }
.slide-author { margin-top: 28px; }
.slide-author b { font-family: var(--font-display); font-size: 19px; letter-spacing: 0.06em; color: var(--gold-light); display: block; }
.slide-author span { font-size: 12.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }
.slider-nav { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.slider-dot {
  width: 34px; height: 4px; border-radius: 4px; border: none; cursor: pointer;
  background: rgba(212, 175, 55, 0.45); transition: background 0.4s, width 0.4s;
}
.slider-dot.active { background: var(--gold-grad); width: 52px; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-strong); background: rgba(10, 10, 12, 0.7);
  color: var(--gold); font-size: 18px; display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, transform 0.3s;
  z-index: 2;
}
.slider-arrow:hover { background: rgba(212, 175, 55, 0.15); }
.slider-arrow.prev { left: -74px; }
.slider-arrow.next { right: -74px; }
@media (max-width: 1100px) { .slider-arrow { display: none; } }

/* ============ Marquee ============ */
.marquee-band { border-block: 1px solid var(--line); background: #050506; padding: 18px 0; overflow: hidden; }
.marquee { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-display); font-size: 15px; letter-spacing: 0.22em;
  color: rgba(226, 193, 89, 0.85); text-transform: uppercase;
  padding: 0 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 28px;
}
.marquee span::after { content: '✦'; font-size: 11px; color: rgba(212, 175, 55, 0.35); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ CTA band ============ */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 130px 0; text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(212, 175, 55, 0.16), transparent),
    linear-gradient(180deg, var(--bg-2), #08080a);
}
.cta-band .plane-art {
  position: absolute; right: -40px; top: 42px; width: min(380px, 42vw); opacity: 0.15; z-index: -1;
  filter: invert(0.8) sepia(1) saturate(3) hue-rotate(5deg);
  animation: float-plane 7s ease-in-out infinite alternate;
}
@keyframes float-plane { from { transform: translateY(-12px) rotate(-2deg); } to { transform: translateY(14px) rotate(2deg); } }
.cta-band h2 { font-size: clamp(30px, 4.6vw, 54px); max-width: 800px; margin: 0 auto 40px; }

/* ============ Footer ============ */
footer { background: #050505; border-top: 1px solid var(--line); position: relative; }
footer::before {
  content: ''; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: min(560px, 70%); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px; padding: 90px 0 60px;
}
.footer-brand p { color: var(--muted); font-size: 15px; margin-top: 20px; max-width: 320px; }
.footer-logo-img { height: 30px; width: auto; }
footer h4 {
  font-family: var(--font-display); font-size: 16px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 26px; position: relative; padding-bottom: 14px;
}
footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--gold-grad); }
.footer-links li { margin-bottom: 12px; }
.footer-links a, .footer-list li {
  color: var(--muted); font-size: 15px;
  display: inline-flex; align-items: flex-start; gap: 10px;
  transition: color 0.3s, transform 0.3s;
}
.footer-links a:hover { color: var(--gold-light); transform: translateX(6px); }
.footer-links a::before { content: '›'; color: var(--gold); }
.footer-list li { margin-bottom: 12px; display: flex; }
.footer-list svg { width: 15px; height: 15px; fill: var(--gold); flex: none; margin-top: 5px; }
.footer-list a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 12px; margin-top: 26px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  transition: 0.35s;
}
.footer-social a:hover { background: var(--gold-grad); color: #171204; transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; }
.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--muted);
}
.footer-bottom .gold { color: var(--gold); }

/* Back to top */
#to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 40;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--gold-grad); color: #171204; border: none; cursor: pointer;
  font-size: 19px; box-shadow: var(--shadow-gold);
  opacity: 0; transform: translateY(20px) scale(0.8); pointer-events: none;
  transition: 0.4s var(--ease-out);
}
#to-top.show { opacity: 1; transform: none; pointer-events: auto; }
#to-top:hover { transform: translateY(-4px); }

/* ============ Page hero (inner pages) ============ */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 120px 0 100px; text-align: center;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: url('../img/ph-gold-silhouette.jpg') center 35% / cover no-repeat;
  filter: saturate(0.95) contrast(1.05) brightness(0.68);
  transform: scale(1.06);
}
/* per-page hero backgrounds (URLs must live in this file to resolve correctly) */
.page-hero-bg.ph-about { background-image: url('../img/ph-gold-silhouette.jpg'); }
.page-hero-bg.ph-inventory { background-image: url('../img/ph-radial-engine.jpg'); background-position: center 45%; }
.page-hero-bg.ph-contact { background-image: url('../img/ph-sunset-airport.jpg'); background-position: center 60%; }
.page-hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 90% at 50% 130%, rgba(212, 175, 55, 0.14), transparent),
    linear-gradient(rgba(6, 6, 7, 0.5) 40%, var(--bg));
}
.page-hero h1 {
  font-size: clamp(40px, 6vw, 68px); text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #fff 20%, var(--gold-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.breadcrumb {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
}
.breadcrumb a { color: var(--gold-light); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--gold-dark); }

/* ============ About page ============ */
.band {
  background:
    radial-gradient(ellipse 50% 100% at 85% 50%, rgba(212, 175, 55, 0.1), transparent),
    linear-gradient(120deg, #0b0b0e, #0e0d09);
  border-block: 1px solid var(--line);
  padding: 90px 0;
}
.band-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.band-emblem {
  width: 130px; height: 130px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 30% 25%, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.03));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-display); color: var(--gold-light);
  animation: emblem-glow 3.2s ease-in-out infinite alternate;
  flex: none;
}
@keyframes emblem-glow { from { box-shadow: 0 0 0 rgba(212, 175, 55, 0.0); } to { box-shadow: 0 0 44px rgba(212, 175, 55, 0.3); } }
.band-emblem b { font-size: 34px; }
.band-emblem span { font-size: 10px; letter-spacing: 0.34em; }
.band h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 16px; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
.value-card {
  position: relative; border-radius: 6px; overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.5s;
}
.value-card:hover { transform: translateY(-10px); border-color: var(--line-strong); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.9), var(--shadow-gold); }
.value-media { height: 210px; overflow: hidden; position: relative; }
.value-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) contrast(1.05) brightness(0.78); transition: transform 0.8s var(--ease-out), filter 0.5s; }
.value-card:hover .value-media img { transform: scale(1.09); filter: saturate(0.95) contrast(1.05) brightness(0.92); }
.value-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, var(--card)); }
.value-body { padding: 8px 30px 34px; position: relative; }
.value-num {
  position: absolute; top: -46px; right: 22px;
  font-family: var(--font-display); font-size: 64px; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1px rgba(212, 175, 55, 0.5);
}
.value-body h3 { font-size: 23px; margin-bottom: 12px; color: var(--gold-light); }
.value-body p { color: var(--muted); font-size: 15.5px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
.team-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.5s;
}
.team-card:hover { transform: translateY(-10px); border-color: var(--line-strong); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.9), var(--shadow-gold); }
.team-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 4.4; background: linear-gradient(160deg, #16161c, #0b0b0e); }
.team-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  filter: grayscale(1) sepia(0.22) hue-rotate(-8deg) saturate(1.15) contrast(1.04) brightness(0.92);
  transition: transform 0.8s var(--ease-out), filter 0.6s;
}
.team-card:hover .team-photo img { transform: scale(1.06); filter: grayscale(1) sepia(0.22) hue-rotate(-8deg) saturate(1.15) contrast(1.04) brightness(1); }
.team-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(transparent 62%, rgba(5, 5, 6, 0.92));
}
.team-info { padding: 26px 28px 30px; margin-top: -54px; position: relative; z-index: 1; }
.team-info h3 { font-size: 22px; letter-spacing: 0.04em; }
.team-role { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin: 6px 0 16px; }
.team-contact { border-top: 1px solid var(--line); padding-top: 16px; font-size: 14px; color: var(--muted); }
.team-contact div { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 7px; word-break: break-word; }
.team-contact svg { width: 13px; height: 13px; fill: var(--gold); flex: none; margin-top: 5px; }
.team-contact a:hover { color: var(--gold-light); }

/* ============ Inventory ============ */
.inv-intro { max-width: 860px; margin-inline: auto; text-align: center; }
.search-wrap { max-width: 640px; margin: 50px auto 0; position: relative; }
.search-wrap input {
  width: 100%; background: var(--card); border: 1px solid var(--line-strong); border-radius: 100px;
  color: var(--text); font-family: var(--font-body); font-size: 16px;
  padding: 19px 60px 19px 30px; outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.search-wrap input::placeholder { color: var(--muted); letter-spacing: 0.05em; }
.search-wrap input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12), var(--shadow-gold); }
.search-wrap svg {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; fill: var(--gold); pointer-events: none;
}
.inv-count { text-align: center; margin-top: 18px; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.inv-count b { color: var(--gold); }

.parts-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 46px;
}
.part-card {
  background: linear-gradient(165deg, var(--card), #0a0a0d);
  border: 1px solid var(--line); border-radius: 6px;
  padding: 26px 22px 22px; text-align: center;
  position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
  animation: part-in 0.55s var(--ease-out) both;
  animation-delay: var(--d, 0s);
}
@keyframes part-in { from { opacity: 0; transform: translateY(26px); } }
.part-card:hover { transform: translateY(-7px); border-color: var(--line-strong); box-shadow: var(--shadow-gold); }
.part-icon {
  width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%;
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 32% 28%, rgba(212, 175, 55, 0.2), transparent);
}
.part-photo {
  width: 84px; height: 84px; margin: 0 auto 16px;
  border-radius: 50%; overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.08);
  background: #0c0c10;
  transition: box-shadow 0.4s;
}
.part-card:hover .part-photo { box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18), var(--shadow-gold); }
.part-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
  transition: transform 0.6s var(--ease-out);
}
.part-card:hover .part-photo img { transform: scale(1.1); }
.part-icon svg { width: 24px; height: 24px; fill: var(--gold); }
.part-num { font-family: var(--font-display); font-size: 16.5px; letter-spacing: 0.06em; color: var(--text); word-break: break-all; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.part-tag { font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin: 8px 0 16px; }
.part-card .btn { width: 100%; }

.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 56px; flex-wrap: wrap; }
.page-btn {
  min-width: 46px; height: 46px; padding: 0 14px; border-radius: 4px; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); color: var(--text);
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  transition: 0.3s;
}
.page-btn:hover { border-color: var(--gold); color: var(--gold-light); }
.page-btn.active { background: var(--gold-grad); color: #171204; border-color: transparent; box-shadow: var(--shadow-gold); }
.page-btn:disabled { opacity: 0.35; cursor: default; }
.no-results { text-align: center; padding: 70px 0 30px; color: var(--muted); }
.no-results b { color: var(--gold-light); }

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
.contact-card {
  background: linear-gradient(165deg, var(--card), #0a0a0d);
  border: 1px solid var(--line); border-radius: 6px;
  padding: 50px 36px; text-align: center;
  transition: transform 0.5s var(--ease-out), border-color 0.5s, box-shadow 0.5s;
  position: relative; overflow: hidden;
}
.contact-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold-grad); transform: scaleX(0); transition: transform 0.6s var(--ease-out);
}
.contact-card:hover { transform: translateY(-10px); border-color: var(--line-strong); box-shadow: var(--shadow-gold); }
.contact-card:hover::before { transform: scaleX(1); }
.contact-card .feature-icon { margin-inline: auto; }
.contact-card h3 { font-size: 22px; margin-bottom: 10px; }
.contact-card p, .contact-card a.big { color: var(--muted); font-size: 16px; transition: color 0.3s; }
.contact-card a.big:hover { color: var(--gold-light); }
.map-wrap {
  margin-top: 80px; border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden;
  position: relative; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.map-wrap iframe {
  width: 100%; height: 440px; border: 0; display: block;
  filter: grayscale(1) invert(0.92) contrast(0.9) sepia(0.3);
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .parts-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  .split { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .band-grid { grid-template-columns: 1fr; text-align: center; }
  .band-emblem { margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}
@media (max-width: 640px) {
  .parts-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid, .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .topbar .container { justify-content: center; }
  .hero-inner { padding-bottom: 150px; }
  .frame .frame-badge { left: 12px; }
}
@media (max-width: 460px) {
  .parts-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
