/* ============================================
   MUCKERHEIDE AG TRAILERS — Main Stylesheet
   ============================================ */

/* --- Runner Font (logo/brand headers) --- */
@font-face {
  font-family: 'Runner';
  src: url('../fonts/Runner.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Custom Properties --- */
:root {
  --bg-dark: #0a0a0a;
  --bg-surface: #111111;
  --bg-surface-alt: #1a1a1a;
  --gold: #f5c518;
  --gold-hover: #ffd84d;
  --red: #cc0000;
  --red-hover: #e60000;
  --white: #ffffff;
  --gray-light: #cccccc;
  --gray-mid: #888888;
  --gray-dark: #333333;

  --font-heading: 'Runner', 'Oswald', 'Impact', sans-serif;
  --font-body: 'Inter', 'Barlow', sans-serif;

  --header-height: 80px;
  --container-max: 1280px;
  --container-padding: 1.5rem;

  --transition-fast: 0.2s ease;
  --transition-med: 0.35s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 112.5%; /* base 18px — +2pt global body text increase */
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  background-image: url('../images/pattern.svg');
  background-repeat: repeat;
  background-size: 600px auto;
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--gold-hover);
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.15;
  font-weight: 700;
}

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

/* --- Section Spacing --- */
.section {
  padding: 5rem 0;
}

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

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

.section__title-wrap {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 1rem;
  overflow: hidden;
  /* brush stroke injected via JS as absolutely-positioned img */
}

.section__title-wrap .brush-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: block;
  object-fit: fill;
  object-position: center;
}

.section__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--bg-dark);
  text-align: center;
  margin: 0;
  padding: 0.4em 1rem;
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
}

.section__subtitle {
  text-align: center;
  color: var(--gray-light);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* --- Grunge Divider SVG --- */
.divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: relative;
  z-index: 2;
}

.divider svg {
  display: block;
  width: 100%;
  height: 40px;
}

.divider--flip svg {
  transform: scaleY(-1);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn--primary {
  background: var(--gold);
  color: var(--bg-dark);
}

.btn--primary:hover {
  background: var(--gold-hover);
  color: var(--bg-dark);
  transform: skewX(-3deg);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn--outline:hover {
  background: var(--gold);
  color: var(--bg-dark);
  transform: skewX(-3deg);
}

.btn--pill {
  border-radius: 50px;
  padding: 0.85rem 2.5rem;
}

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

.btn--red:hover {
  background: var(--red-hover);
  transform: skewX(-3deg);
}

.btn--lg {
  padding: 1.1rem 3rem;
  font-size: 1.15rem;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background var(--transition-med), box-shadow var(--transition-med);
  height: var(--header-height);
}

.header--scrolled {
  background: rgba(10, 10, 10, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.header__logo img {
  height: 55px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: block;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-heading);
  font-size: 15px; /* fixed px — immune to root font-size changes */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link--active {
  color: var(--gold);
}

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--bg-surface);
  border: 1px solid var(--gray-dark);
  border-top: 3px solid var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 100;
}

.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown a {
  display: block;
  padding: 0.65rem 1.25rem;
  color: var(--gray-light);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav__dropdown a:hover {
  color: var(--gold);
  background: rgba(245, 197, 24, 0.08);
  padding-left: 1.5rem;
}

.nav__cta {
  margin-left: 1rem;
}
.nav__cta .btn {
  font-size: 15px; /* fixed px — immune to root font-size changes */
  padding: 0.6rem 1.4rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger__line {
  width: 28px;
  height: 3px;
  background: var(--white);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.hamburger--active .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger--active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger--active .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--header-height);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero--short {
  min-height: 50vh;
}

.hero--medium {
  min-height: 65vh;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.55) 0%,
    rgba(10, 10, 10, 0.75) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem var(--container-padding);
  max-width: 900px;
}

.hero__title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.6);
}

.hero__title span {
  color: var(--gold);
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--gray-light);
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   CARDS
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.card-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (min-width: 769px) {
  .card-grid--5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

.card {
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
  transition: transform var(--transition-med), box-shadow var(--transition-med);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card__img {
  transform: scale(1.05);
}

.card__img-wrap {
  overflow: hidden;
  position: relative;
}

.card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__title {
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.card__text {
  color: var(--gray-light);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 1rem;
}

.card__highlight {
  display: inline-block;
  background: rgba(245, 197, 24, 0.12);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1rem;
  padding: 0.35rem 0.75rem;
  margin-bottom: 0.75rem;
  border-left: 3px solid var(--gold);
}

.card__footer {
  margin-top: auto;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  font-size: 0.95rem;
}

.card__link:hover {
  letter-spacing: 0.09em;
}

/* ============================================
   FEATURES STRIP
   ============================================ */
.features-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.feature-item {
  padding: 1rem;
  cursor: pointer;
}

.feature-item__icon {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: 0 auto 1rem;
  filter: brightness(0) invert(1);
  border-radius: 2px;
}

.feature-item__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.feature-item__icon--color {
  filter: none;
}

.feature-item__title {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.feature-item__text {
  color: var(--gray-light);
  font-size: 0.9rem;
}

/* ============================================
   FEATURES SHOWCASE (fuel trailer product pages)
   ============================================ */
.features-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 3rem;
}

.feature-showcase__title {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.feature-showcase__desc {
  color: var(--gray-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.feature-showcase__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}

.feature-showcase__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

/* Additional Options column */
.feature-showcase__item--options {}

.options-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.option-item {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.4rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(245, 197, 24, 0.12);
  transition: color var(--transition-fast);
}

.option-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

.option-item:hover {
  color: #fff;
}

.option-preview-box {
  display: none;
  width: 100%;
  max-width: 260px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(245, 197, 24, 0.2);
}

.option-preview-box--active {
  display: block;
}

.option-preview-img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .features-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-showcase {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   DEALER LOGOS
   ============================================ */
.dealer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.dealer-logos__img {
  max-height: 100px;
  max-width: 250px;
  object-fit: contain;
  transition: transform var(--transition-fast);
  filter: brightness(0.9);
}

.dealer-logos__img:hover {
  transform: scale(1.05);
  filter: brightness(1);
}

/* ============================================
   SPECS TABLE
   ============================================ */
.specs-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.specs-table th,
.specs-table td {
  padding: 0.85rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.specs-table th {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--bg-surface);
  white-space: nowrap;
  width: 40%;
}

.specs-table td {
  color: var(--gray-light);
}

.specs-table tr:hover td {
  background: rgba(245, 197, 24, 0.04);
}

/* Mobile spec cards */
.spec-cards {
  display: none;
}

.spec-card {
  background: var(--bg-surface);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.spec-card__label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.spec-card__value {
  color: var(--gray-light);
  font-size: 1rem;
}

/* ============================================
   GALLERY GRID
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
}

.gallery-grid--strip {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.3);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

.gallery-item__zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  z-index: 2;
  width: 40px;
  height: 40px;
  opacity: 0;
  transition: all var(--transition-fast);
  pointer-events: none;
}

.gallery-item:hover .gallery-item__zoom {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-med);
}

.lightbox--active {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 10px 60px rgba(0,0,0,0.6);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: none;
  border: 2px solid var(--white);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.lightbox__close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-dark);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition-fast);
}

.lightbox__nav:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

.lightbox__nav--prev {
  left: 1.5rem;
}

.lightbox__nav--next {
  right: 1.5rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  text-align: center;
  padding: 4rem 0;
  background: var(--bg-surface);
  border-top: 3px solid var(--gold);
}

.cta-section__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-section__text {
  color: var(--gray-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FEATURE LIST
   ============================================ */
.feature-list {
  max-width: 700px;
  margin: 0 auto;
}

.feature-list li {
  padding: 0.65rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--gray-light);
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.feature-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.85rem;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--gray-dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 2px;
  transition: border-color var(--transition-fast);
}

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

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

/* ============================================
   CONTACT INFO
   ============================================ */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-info__item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--bg-surface);
  border-top: 3px solid var(--gold);
}

.contact-info__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.contact-info__label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.contact-info__value {
  color: var(--gray-light);
  font-size: 1.05rem;
}

.contact-info__value a {
  color: var(--gray-light);
}

.contact-info__value a:hover {
  color: var(--gold);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0 1.5rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer__brand h3 {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gray-dark);
  border-radius: 50%;
  color: var(--gray-light);
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer__nav {
  text-align: center;
}

.footer__nav h4 {
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer__nav a {
  color: var(--gray-light);
  font-size: 0.9rem;
}

.footer__nav a:hover {
  color: var(--gold);
}

.footer__contact {
  text-align: right;
}

.footer__contact p {
  color: var(--gray-light);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.footer__contact a {
  color: var(--gray-light);
}

.footer__contact a:hover {
  color: var(--gold);
}

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--gray-mid);
  font-size: 0.8rem;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--gray-light);
  line-height: 1.8;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--gray-mid);
}

.breadcrumb a {
  color: var(--gray-mid);
}

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

.breadcrumb span {
  margin: 0 0.4rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .footer__contact {
    text-align: left;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 65px;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transition: right var(--transition-med);
    box-shadow: -5px 0 30px rgba(0,0,0,0.5);
    overflow-y: auto;
  }

  .nav--open {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav__link {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    border-top: none;
    background: transparent;
    padding-left: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-med);
  }

  .nav__item--open .nav__dropdown {
    max-height: 500px;
  }

  .nav__dropdown a {
    padding: 0.5rem 0;
    border-bottom: none;
    font-size: 0.95rem;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
  }

  .nav__cta .btn {
    width: 100%;
    text-align: center;
  }

  .hero {
    min-height: 70vh;
  }

  .hero--short {
    min-height: 40vh;
  }

  .section {
    padding: 3rem 0;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .card-grid--4 {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid--5 {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .gallery-grid--strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .specs-table-wrap {
    display: none;
  }

  .spec-cards {
    display: block;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__contact {
    text-align: center;
  }

  .footer__social {
    justify-content: center;
  }

  .dealer-logos {
    gap: 2rem;
  }

  .dealer-logos__img {
    max-height: 70px;
  }

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

  .features-strip,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .dealers-logos {
    gap: 2rem;
  }

  .dealers-logos img {
    max-height: 70px;
  }

  .lightbox__nav--prev {
    left: 0.75rem;
  }

  .lightbox__nav--next {
    right: 0.75rem;
  }
}

@media (max-width: 480px) {
  .card-grid,
  .card-grid--4,
  .card-grid--5 {
    grid-template-columns: 1fr;
  }

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

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

  .features-strip,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: 2.2rem;
  }
}

/* ============================================
   PAGE-SPECIFIC HELPERS
   ============================================ */
/* ============================================
   ADDITIONAL COMPONENT CLASSES
   ============================================ */
.section__intro {
  text-align: center;
  color: var(--gray-light);
  font-size: 1.1rem;
  max-width: 750px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

@media (min-width: 769px) {
  .card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.feature__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature__icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.feature__icon svg {
  width: 48px;
  height: 48px;
}

.feature__title {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.feature__text {
  color: var(--gray-light);
  font-size: 0.9rem;
}

.dealers-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.dealers-logos img {
  max-height: 125px;
  max-width: 312px;
  object-fit: contain;
  transition: transform var(--transition-fast);
  filter: brightness(0.9);
}

.dealers-logos img:hover {
  transform: scale(1.05);
  filter: brightness(1);
}

/* BearClaw logo — invert to white so it reads on dark bg */
.dealers-logos div:first-child img {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.dealers-logos div:first-child img:hover {
  filter: brightness(0) invert(1);
  opacity: 1;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}

.gallery-strip__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  display: block;
}

.gallery-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-strip__item:hover img {
  transform: scale(1.08);
}

.options-list {
  max-width: 600px;
  margin: 0 auto;
}

.options-list li {
  padding: 0.6rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--gray-light);
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.options-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.85rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.breadcrumb__sep {
  margin: 0 0.4rem;
  color: var(--gray-mid);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Nav overlay for mobile */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.nav-overlay--active {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   QUOTE MODALS
   ============================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: #111111;
  border: 1px solid #2a2a2a;
  border-top: 4px solid var(--gold);
  max-width: 580px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 2rem 2rem 1.5rem;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) #222;
}
.modal-overlay.active .modal-box {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  color: #888;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--white); }

.modal-header {
  margin-bottom: 1rem;
}
.modal-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.35rem;
}
.modal-header p {
  font-size: 0.9rem;
  color: #aaa;
  margin: 0;
}
.modal-header p strong { color: var(--white); }

.modal-divider {
  border: none;
  border-top: 1px solid #2a2a2a;
  margin: 1rem 0;
}

/* Form layout */
.quote-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) {
  .quote-form .form-grid { grid-template-columns: 1fr; }
  .modal-box { padding: 1.5rem 1.25rem 1rem; }
}
.quote-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.quote-form .form-group.full { grid-column: 1 / -1; }

.quote-form label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.quote-form select,
.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form textarea {
  background: #1a1a1a;
  border: 1px solid #333;
  color: var(--white);
  padding: 0.55rem 0.75rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  width: 100%;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.quote-form 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 d='M1 1l5 5 5-5' stroke='%23f5c518' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  padding-right: 2rem;
}
.quote-form select:focus,
.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.quote-form textarea {
  resize: vertical;
  min-height: 80px;
}

/* Accessories checkboxes */
.accessories-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.5rem;
}
.accessories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.4rem 1rem;
  margin-bottom: 1rem;
}
.accessories-grid label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #ccc;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}
.accessories-grid input[type="checkbox"] {
  accent-color: var(--gold);
  width: 14px;
  height: 14px;
  cursor: pointer;
  flex-shrink: 0;
}

/* Submit button */
.quote-form .btn-submit {
  width: 100%;
  padding: 0.9rem;
  background: var(--gold);
  color: #000;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 1.25rem;
  transition: background 0.2s, transform 0.15s;
}
.quote-form .btn-submit:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
}
.quote-form .btn-submit:active { transform: translateY(0); }

.form-success {
  text-align: center;
  padding: 2rem 1rem;
}
.form-success .success-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}
.form-success h3 {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.form-success p { color: #aaa; font-size: 0.95rem; }

/* Modal tabs */
.modal-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #2a2a2a;
  margin: 0.75rem 0 1.25rem;
}
.modal-tab {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  color: #888;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.65rem 0.5rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.modal-tab:hover { color: #ccc; }
.modal-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===== SWIPER CAROUSEL GALLERY ===== */
.from-the-field-swiper { width: 100%; padding-bottom: 48px !important; }
.from-the-field-swiper .swiper-slide img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; display: block; cursor: zoom-in; }
.from-the-field-swiper .swiper-button-prev,
.from-the-field-swiper .swiper-button-next { color: #f0a500; }
.from-the-field-swiper .swiper-pagination-bullet-active { background: #f0a500; }
