/* ============================================================
   HOUSTON AUTO TRUCK PARTS — styles.css  v1.2.0
   Last Updated: 2026-04-06
   Theme: Bold Dark / Red-Gold / Animated Automotive
   ============================================================ */

/* ── 1. VARIABLES & RESET ─────────────────────────────────── */
:root {
  --bg:        #0a0a0a;
  --surface:   #141414;
  --card:      #1c1c1c;
  --border:    #2a2a2a;
  --red:       #cc1111;
  --red-light: #e52222;
  --gold:      #f0a500;
  --gold-dark: #c78500;
  --white:     #f2f2f2;
  --muted:     #888;
  --font-head: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Roboto', 'Segoe UI', Arial, sans-serif;
  --radius:    6px;
  --shadow:    0 4px 24px rgba(0,0,0,0.5);
  --trans:     0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--red-light); }
ul { list-style: none; }

/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* ── 2. FIRE BAR ─────────────────────────────────────────── */
.fire-bar {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 8px 20px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  z-index: 200;
  position: relative;
}
.fire-bar a { color: #fff; text-decoration: underline; }
.fire-bar span.sep { margin: 0 12px; opacity: 0.6; }

/* ── 3. HEADER ───────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.96);
  border-bottom: 2px solid var(--red);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow var(--trans);
}
header.scrolled { box-shadow: 0 2px 20px rgba(204,17,17,0.3); }

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

/* Logo */
.logo-wrap { display: flex; flex-direction: column; text-decoration: none; }
.logo-name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.logo-name span { color: var(--red); }
.logo-tag {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
/* Logo image in header */
.site-logo {
  height: 58px;
  width: auto;
  display: block;
  object-fit: contain;
  border-radius: 4px;
}

/* Phone block in header */
.header-phones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.header-phone {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--gold);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-phone svg { width: 16px; height: 16px; fill: var(--gold); }
.header-phone-tf {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.header-phone-tf a {
  color: var(--muted);
}
.header-phone-tf a:hover { color: var(--gold); }

/* Nav */
nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}
nav ul li a {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  padding: 6px 14px;
  border-radius: var(--radius);
  position: relative;
  transition: color var(--trans), background var(--trans);
}
nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--trans);
}
nav ul li a:hover,
nav ul li a.active { color: var(--red-light); }
nav ul li a:hover::after,
nav ul li a.active::after { transform: scaleX(1); }

.lang-switch {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: #000 !important;
  padding: 5px 12px;
  border-radius: var(--radius);
  transition: background var(--trans) !important;
}
.lang-switch:hover { background: var(--gold-dark) !important; color: #000 !important; }
.lang-switch::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all var(--trans);
}

/* ── 4. HERO SECTION ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0505 50%, #0a0a0a 100%);
}

/* Animated background grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(204,17,17,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204,17,17,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
  0%   { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

/* Animated gear background elements */
.gear-bg { position: absolute; opacity: 0.04; pointer-events: none; }
.gear-bg.g1 { width: 400px; top: -80px; right: -80px; animation: gearSpin 30s linear infinite; }
.gear-bg.g2 { width: 250px; bottom: 40px; left: 60px; animation: gearSpin 20s linear infinite reverse; }
.gear-bg.g3 { width: 180px; top: 40%; left: 30%; animation: gearSpin 25s linear infinite; }

@keyframes gearSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-text { }

.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.35s forwards;
}
.hero-title .red  { color: var(--red-light); }
.hero-title .gold { color: var(--gold); }

.hero-sub {
  font-size: 1.1rem;
  color: #ccc;
  max-width: 540px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.5s forwards;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.65s forwards;
}

/* ── 5. BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--trans);
  text-decoration: none;
}
.btn-red {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-red:hover {
  background: var(--red-light);
  border-color: var(--red-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204,17,17,0.4);
}
.btn-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240,165,0,0.3);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-outline-white:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ── 6. HERO STATS PANEL ─────────────────────────────────── */
.hero-stats {
  background: rgba(20,20,20,0.85);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 36px 28px;
  backdrop-filter: blur(8px);
  opacity: 0;
  animation: fadeLeft 0.8s ease 0.7s forwards;
}
.hero-stats h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.stat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.stat-item:last-child { border-bottom: none; }
.stat-icon {
  width: 42px; height: 42px;
  background: rgba(204,17,17,0.12);
  border: 1px solid rgba(204,17,17,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-icon svg { width: 20px; height: 20px; fill: var(--red-light); }
.stat-num {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.stat-label { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── 6b. HERO ADVANTAGES PANEL ──────────────────────────── */
.hero-advantages {
  background: rgba(15,15,15,0.88);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: fadeLeft 0.8s ease 0.7s forwards;
}
.ha-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red);
  margin: 0 0 6px;
}
.ha-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  line-height: 1.3;
}
.ha-title span { color: var(--gold); }
.ha-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ha-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ha-list li:last-child { border-bottom: none; padding-bottom: 0; }
.ha-icon {
  font-size: 1.15rem;
  line-height: 1.2;
  flex-shrink: 0;
  margin-top: 1px;
}
.ha-list li div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ha-list li strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.ha-list li span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.3;
}
@media (max-width: 900px) {
  .hero-advantages { display: none; }
  .hero-content { grid-template-columns: 1fr; }
}

/* ── 7. FLOATING PARTS ANIMATION ────────────────────────── */
.parts-float {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.part-particle {
  position: absolute;
  opacity: 0;
  animation: floatPart linear infinite;
}
.part-particle svg { fill: rgba(240,165,0,0.12); }

@keyframes floatPart {
  0%   { opacity: 0; transform: translateY(100vh) rotate(0deg); }
  10%  { opacity: 1; }
  90%  { opacity: 0.7; }
  100% { opacity: 0; transform: translateY(-120px) rotate(360deg); }
}

/* ── 8. KEYFRAMES SHARED ─────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.04); }
}

/* ── 9. SECTION BASE ─────────────────────────────────────── */
section { padding: 80px 24px; }
.container { max-width: 1280px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
}
.section-title .red  { color: var(--red-light); }
.section-title .gold { color: var(--gold); }
.section-line {
  width: 60px; height: 3px;
  background: var(--red);
  margin: 16px auto 0;
}

/* ── 10. FEATURES / WHY US STRIP ─────────────────────────── */
.features-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.features-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.feature-tile {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background var(--trans);
  position: relative;
  overflow: hidden;
}
.feature-tile:last-child { border-right: none; }
.feature-tile:hover { background: var(--card); }
.feature-tile::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--trans);
}
.feature-tile:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 56px; height: 56px;
  background: rgba(204,17,17,0.1);
  border: 1px solid rgba(204,17,17,0.2);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--trans), background var(--trans);
}
.feature-tile:hover .feature-icon {
  transform: rotate(15deg) scale(1.1);
  background: rgba(204,17,17,0.2);
}
.feature-icon svg { width: 26px; height: 26px; fill: var(--red-light); }
.feature-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.feature-num span { color: var(--red-light); }
.feature-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ── 11. PARTS CATEGORIES ────────────────────────────────── */
.parts-section { background: var(--bg); }
.parts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.part-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--trans);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.part-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.part-card:hover {
  border-color: var(--red);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(204,17,17,0.2);
}
.part-card:hover::before { transform: scaleX(1); }
.part-card-icon {
  font-size: 2.6rem;
  margin-bottom: 12px;
  display: block;
  filter: grayscale(0.3);
  transition: transform var(--trans), filter var(--trans);
}
.part-card:hover .part-card-icon { transform: scale(1.15); filter: grayscale(0); }
.part-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
}
.part-card p { font-size: 0.78rem; color: var(--muted); margin-top: 6px; }

/* ── 11b. WHY STATS SECTION (about page) ────────────────── */
.why-stats-section {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
}
.why-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.why-stat-tile {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  padding: 28px 16px 20px;
  text-align: center;
  transition: border-color var(--trans), transform var(--trans);
}
.why-stat-tile:hover { border-top-color: var(--accent-gold); transform: translateY(-3px); }
.why-stat-tile svg { width: 28px; height: 28px; fill: var(--accent); margin-bottom: 12px; display: block; margin-left: auto; margin-right: auto; }
.wst-num { font-size: 1.5rem; font-weight: 800; color: var(--text); line-height: 1; margin-bottom: 6px; }
.wst-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
@media (max-width: 768px) {
  .why-stats-grid { grid-template-columns: repeat(3, 1fr); }
  .why-stats-grid .why-stat-tile:last-child { grid-column: 1 / -1; max-width: 200px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .why-stats-grid { grid-template-columns: 1fr 1fr; }
  .why-stats-grid .why-stat-tile:last-child { grid-column: auto; max-width: none; }
}

/* ── 12. WHY CHOOSE US ───────────────────────────────────── */
.why-section {
  background: linear-gradient(135deg, #0f0000 0%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 50%, rgba(204,17,17,0.06) 0%, transparent 60%);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.why-list { }
.why-item {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--red);
  transition: all var(--trans);
}
.why-item:hover {
  background: rgba(204,17,17,0.05);
  border-color: rgba(204,17,17,0.4);
  transform: translateX(6px);
}
.why-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(204,17,17,0.25);
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
}
.why-text h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}
.why-text p { font-size: 0.88rem; color: var(--muted); }

.why-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.engine-anim {
  position: relative;
  width: 320px; height: 320px;
}
.engine-anim .gear-outer {
  position: absolute;
  width: 200px; height: 200px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: gearSpin 12s linear infinite;
}
.engine-anim .gear-inner {
  position: absolute;
  width: 120px; height: 120px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: gearSpin 8s linear infinite reverse;
}
.engine-anim .center-circle {
  position: absolute;
  width: 60px; height: 60px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(204,17,17,0.15);
  border: 2px solid var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: pulse 2s ease-in-out infinite;
}
.engine-anim .orbit-dot {
  position: absolute;
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  top: 50%; left: 50%;
  animation: orbitDot 4s linear infinite;
}
@keyframes orbitDot {
  from { transform: rotate(0deg) translateX(140px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(140px) rotate(-360deg); }
}

/* ── 13. SEARCH BANNER ───────────────────────────────────── */
.search-banner {
  background: linear-gradient(90deg, var(--red) 0%, #8b0000 100%);
  padding: 56px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.search-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0,0,0,0.04) 0px,
    rgba(0,0,0,0.04) 1px,
    transparent 1px,
    transparent 20px
  );
}
.search-banner h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
  position: relative;
}
.search-banner p { color: rgba(255,255,255,0.8); margin-bottom: 28px; position: relative; }
.search-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.search-form input[type="text"] {
  flex: 1;
  max-width: 360px;
  padding: 14px 18px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(0,0,0,0.3);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
}
.search-form input[type="text"]::placeholder { color: rgba(255,255,255,0.5); }
.search-form input[type="text"]:focus { outline: none; border-color: var(--gold); }
.search-form select {
  padding: 14px 18px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(0,0,0,0.3);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
}
.search-form select option { background: #1a1a1a; }
.search-form button { min-width: 140px; }

/* ── 14. INFO CARDS ──────────────────────────────────────── */
.info-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.info-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}
.info-card {
  padding: 20px;
}
.info-card svg { width: 32px; height: 32px; fill: var(--gold); margin: 0 auto 10px; display: block; }
.info-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 4px;
}
.info-card p, .info-card a { font-size: 0.9rem; color: var(--muted); }
.info-card a:hover { color: var(--gold); }

/* ── 15. PISTON ANIMATED DIVIDER ─────────────────────────── */
.piston-divider {
  background: var(--surface);
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.piston-track {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  overflow: hidden;
}
.piston-belt {
  display: flex;
  gap: 40px;
  animation: beltScroll 18s linear infinite;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.piston-belt span { color: var(--red); }
@keyframes beltScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── 16. TESTIMONIALS / SOCIAL PROOF ─────────────────────── */
.social-section {
  background: var(--bg);
  padding: 80px 24px;
}
.ebay-fb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.social-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  transition: all var(--trans);
}
.social-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(240,165,0,0.1);
}
.social-card .sc-icon { font-size: 3rem; margin-bottom: 16px; display: block; }
.social-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--white);
}
.social-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 20px; }

/* ── 17. FOOTER ──────────────────────────────────────────── */
footer {
  background: #050505;
  border-top: 2px solid var(--red);
  padding: 60px 24px 32px;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo-name { font-size: 1.3rem; margin-bottom: 8px; }
.footer-brand .logo-tag  { font-size: 0.6rem; margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; max-width: 260px; }

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color var(--trans), padding var(--trans);
}
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }

.footer-contact p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.footer-contact p svg { width: 14px; height: 14px; fill: var(--gold); margin-top: 4px; flex-shrink: 0; }
.footer-contact a { color: var(--muted); }
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--muted); }
.footer-bottom .lang-switch { font-size: 0.75rem; padding: 4px 10px; }

/* ── 18. INNER PAGE HERO ─────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0505 100%);
  padding: 60px 24px;
  border-bottom: 2px solid var(--red);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(204,17,17,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204,17,17,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
}
.page-hero h1 .red { color: var(--red-light); }
.page-hero p { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }
.breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 14px;
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { margin: 0 8px; }

/* ── 19. CONTENT SECTIONS (INNER PAGES) ─────────────────── */
.content-section { background: var(--bg); padding: 72px 24px; }
.content-section.alt { background: var(--surface); }

.prose {
  max-width: 820px;
  margin: 0 auto;
}
.prose h2 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--red);
}
.prose h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold);
  margin: 28px 0 10px;
}
.prose p { color: #bbb; margin-bottom: 16px; }
.prose ul { margin: 12px 0 20px 20px; list-style: none; }
.prose ul li {
  color: #bbb;
  padding: 8px 0 8px 22px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.prose ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--red-light);
}
.prose .highlight-box {
  background: rgba(204,17,17,0.06);
  border: 1px solid rgba(204,17,17,0.2);
  border-left: 4px solid var(--red);
  padding: 20px 24px;
  border-radius: var(--radius);
  margin: 24px 0;
  color: #ccc;
}

/* Two column layout for inner pages */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.two-col-3-2 { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: start; }

/* ── 20. CONTACT PAGE ────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
}
.contact-info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-info-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-row svg { width: 20px; height: 20px; fill: var(--red-light); flex-shrink: 0; margin-top: 3px; }
.contact-row-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px; font-family: var(--font-head); }
.contact-row-val { color: var(--white); font-size: 0.95rem; }
.contact-row-val a { color: var(--gold); }

.map-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.map-wrap iframe { width: 100%; height: 400px; display: block; border: 0; filter: grayscale(0.4) invert(0.85) contrast(0.9); }
.directions-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 20px;
}
.directions-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.dir-route {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.dir-route:last-child { border-bottom: none; margin-bottom: 0; }
.dir-route strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}
.dir-route p { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* ── 20b. ABOUT PAGE SIDEBAR ─────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.about-sidebar { display: flex; flex-direction: column; gap: 24px; }
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin: 0 0 20px;
}
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.contact-item svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  fill: var(--red);
  margin-top: 2px;
}
.contact-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 3px;
}
.contact-item p { font-size: 0.88rem; color: var(--muted); margin: 0; line-height: 1.6; }
.contact-item a { color: var(--gold); text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }
.stats-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.stat-tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 10px;
  text-align: center;
}
.stat-value {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--red);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-text { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.3; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .stats-tiles { grid-template-columns: repeat(3, 1fr); }
}

/* ── 21. EMPLOYMENT PAGE ─────────────────────────────────── */
.job-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
  transition: all var(--trans);
}
.job-card:hover { border-color: var(--red); box-shadow: 0 8px 24px rgba(204,17,17,0.1); }
.job-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}
.job-tag {
  display: inline-block;
  background: rgba(204,17,17,0.12);
  color: var(--red-light);
  border: 1px solid rgba(204,17,17,0.25);
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
}

/* ── 21a. LOCATION PHOTOS ────────────────────────────────── */
.location-photos-section {
  padding: 64px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.location-photos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.location-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #111;
  position: relative;
}
.location-photo img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.location-photo:hover img {
  transform: scale(1.03);
}
.location-photo-caption {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--muted);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-top: 1px solid var(--border);
}
@media (max-width: 600px) {
  .location-photos-grid { grid-template-columns: 1fr; }
  .location-photo img { height: 200px; }
}

/* ── 21b. EMPLOYMENT APPLICATION ────────────────────────── */
.apply-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}
.apply-method {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.5;
}
.apply-method-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.apply-method strong {
  display: block;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.pdf-preview-wrap {
  margin: 0 0 40px;
}
.pdf-preview-title {
  font-family: var(--font-head);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
  text-align: center;
}
.pdf-frame-outer {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #222;
}
.pdf-frame {
  display: block;
  width: 100%;
  height: 680px;
  border: none;
}
@media (max-width: 768px) {
  .apply-methods { grid-template-columns: 1fr; }
  .pdf-frame { height: 420px; }
}
@media (max-width: 1024px) {
  .apply-methods { grid-template-columns: 1fr 1fr; }
}

/* ── 22. PARTS SEARCH PAGE ───────────────────────────────── */
.parts-search-hero { text-align: center; }
.big-search-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}
.big-search-form label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 6px;
}
.big-search-form input,
.big-search-form select {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 18px;
  transition: border-color var(--trans);
}
.big-search-form input:focus,
.big-search-form select:focus { outline: none; border-color: var(--red); }
.big-search-form select option { background: #1a1a1a; }
.form-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

/* ── 22b. INVENTORY SEARCH TOOL CARDS ────────────────────── */
.search-tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 36px 0 28px;
}
.search-tool-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 30px 22px 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: border-color var(--trans), transform 0.25s ease, box-shadow 0.25s ease;
}
.search-tool-card:hover {
  border-top-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.45);
}
.stc-icon {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 4px;
}
.search-tool-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--gold);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.search-tool-card p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
  margin: 0;
}
.stc-btn {
  display: block;
  margin-top: 14px;
  background: var(--red);
  color: #fff;
  padding: 11px 16px;
  border-radius: 4px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  transition: background var(--trans), color var(--trans);
}
.search-tool-card:hover .stc-btn {
  background: var(--gold);
  color: #000;
}
/* Spanish card accent */
.search-tool-card--spanish {
  border-top-color: #3aaa5c;
}
.search-tool-card--spanish h3 {
  color: #3aaa5c;
}
.search-tool-card--spanish .stc-btn {
  background: #3aaa5c;
}
.search-tool-card--spanish:hover {
  border-top-color: var(--gold);
}
.search-tool-card--spanish:hover .stc-btn {
  background: var(--gold);
  color: #000;
}

/* ── 22c. PARTS STRIP (compact category list) ───────────── */
.parts-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0 28px;
  text-align: center;
}
.parts-strip-label {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1;
}
.parts-strip-label span.red { color: var(--accent); }
.parts-strip-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 20px;
  letter-spacing: 0.03em;
}
.parts-strip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.parts-strip-tags span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 16px;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.parts-strip-tags span:hover {
  border-color: var(--accent);
  color: var(--text);
}
.parts-strip-hot {
  border-color: var(--accent-gold) !important;
  color: var(--accent-gold) !important;
  font-weight: 600;
  background: rgba(240,165,0,0.08) !important;
}
@media (max-width: 600px) {
  .parts-strip-label { font-size: 1.15rem; }
  .parts-strip-tags { gap: 7px; }
}
/* Powered-by note */
.search-powered-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
  margin-bottom: 0;
}
.search-powered-note a { color: var(--gold); }
@media (max-width: 1024px) {
  .search-tool-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .search-tool-grid { grid-template-columns: 1fr; }
}

/* ── 23. MOBILE RESPONSIVE ───────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
}

@media (max-width: 768px) {
  section { padding: 56px 16px; }
  .hamburger { display: flex; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 2px solid var(--red); padding: 16px; }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 6px; }
  nav ul li a { display: block; padding: 10px 16px; }
  .header-phones { display: none; }
  .header-inner { height: 60px; }
  .logo-name { font-size: 1.2rem; }
  .two-col,
  .two-col-3-2,
  .contact-grid,
  .why-grid,
  .ebay-fb-row { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-tile { border-right: none; border-bottom: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
  .hero { min-height: auto; }
  .hero-content { padding: 56px 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── 24. SCROLL ANIMATIONS ───────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* ── 25. COUNTER NUMBER ANIMATION ────────────────────────── */
.count-up { transition: none; }

/* ── 26. CONTACT FORM ────────────────────────────────────── */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
}

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

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

.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 7px;
}

.form-group .req { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 16px;
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23f0a500' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,17,17,0.15);
}

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

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

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.form-note {
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-note svg { color: var(--gold); fill: var(--gold); flex-shrink: 0; }
.form-note .req { color: var(--red); }

.form-alert {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.form-alert-success {
  background: rgba(0,160,80,0.12);
  border: 1px solid rgba(0,160,80,0.4);
  color: #5dda8a;
}
.form-alert-error {
  background: rgba(204,17,17,0.12);
  border: 1px solid rgba(204,17,17,0.4);
  color: #ff6b6b;
}
.form-alert a { color: var(--gold); }

@media (max-width: 640px) {
  .form-row-2 { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 16px; }
  .form-footer { flex-direction: column; align-items: flex-start; }
}

/* Spinner used in contact form submit button */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
