/* Valor Precision — Wasley's Guns
   Elegant black & gold pistolsmithing theme */

:root {
  --black: #0a0a0a;
  --black-soft: #111111;
  --black-card: #161616;
  --charcoal: #1c1c1c;
  --gold: #c9a227;
  --gold-light: #e0c060;
  --gold-dim: #8a7120;
  --cream: #f5f0e6;
  --cream-muted: #b8b0a0;
  --border: rgba(201, 162, 39, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-body: "Inter", system-ui, sans-serif;
  --nav-height: 72px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--cream);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--cream);
}

/* ── Typography ── */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }

.gold-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.25rem auto;
}

.text-gold { color: var(--gold); }
.text-muted { color: var(--cream-muted); }
.text-center { text-align: center; }

/* ── Layout ── */

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section--dark {
  background: var(--black-soft);
}

.section--card {
  background: var(--charcoal);
}

/* ── Navigation ── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-tag {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links > li {
  display: flex;
  align-items: center;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-muted);
  position: relative;
  padding-bottom: 4px;
  line-height: 1;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cream);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

/* ── Hero ── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.85) 50%, var(--black) 100%),
    url("../images/gallery/2023/70.jpg") center / cover no-repeat;
  background-color: var(--black-soft);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, var(--black) 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: var(--cream-muted);
  margin-bottom: 2rem;
}

.hero-quote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  color: var(--gold-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  margin: 2rem 0;
}

.hero-cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.9rem 2.5rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all var(--transition);
}

.hero-cta:hover {
  background: var(--gold);
  color: var(--black);
}

/* ── Intro / About blocks ── */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-text p {
  margin-bottom: 1.25rem;
  color: var(--cream-muted);
}

.intro-text p:first-of-type {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--cream);
  line-height: 1.6;
}

.intro-image {
  position: relative;
}

.intro-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--border);
}

.intro-image::before {
  content: "";
  position: absolute;
  top: -12px;
  right: -12px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--gold-dim);
  z-index: -1;
}

/* ── Features / pledge ── */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px solid var(--border-subtle);
  background: var(--black-card);
  transition: border-color var(--transition), transform var(--transition);
}

.feature-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
}

.feature-icon {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--cream-muted);
}

a.feature-card {
  color: inherit;
}

a.feature-card h3 {
  color: var(--cream);
}

a.feature-card:hover h3 {
  color: var(--gold-light);
}

/* ── Gallery ── */

.gallery-section h2 {
  margin-bottom: 0.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  border: 1px solid var(--border-subtle);
  background: var(--black-card);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.1);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item--wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.gallery-item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ── Lightbox ── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border: 1px solid var(--border);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  cursor: pointer;
  transition: all var(--transition);
}

.lightbox-close:hover {
  background: var(--gold);
  color: var(--black);
}

/* ── 1911/2011 page ── */

.page-hero {
  padding: calc(var(--nav-height) + 4rem) 0 3rem;
  text-align: center;
  background: var(--black-soft);
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero p {
  max-width: 640px;
  margin: 1rem auto 0;
  color: var(--cream-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-block {
  padding: 2.5rem;
  border: 1px solid var(--border-subtle);
  background: var(--black-card);
}

.service-block h3 {
  color: var(--gold);
  margin-bottom: 1rem;
}

.service-block ul {
  list-style: none;
  margin-top: 1rem;
}

.service-block li {
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
  color: var(--cream-muted);
  font-size: 0.95rem;
}

.service-block li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold-dim);
}

/* ── Q&A ── */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--gold-light);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1px solid var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gold);
  transition: transform var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-section {
  margin-bottom: 3.5rem;
}

.faq-section:last-child {
  margin-bottom: 0;
}

.faq-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--gold-light);
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq-answer ul {
  margin: 0.75rem 0 0.75rem 1.25rem;
  list-style: disc;
}

.faq-answer li {
  color: var(--cream-muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.faq-answer a {
  color: var(--gold-light);
}

.faq-item.open .faq-answer {
  max-height: 2000px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: var(--cream-muted);
  font-size: 0.95rem;
}

/* ── Contact strip ── */

.contact-strip {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--black-card);
}

.contact-strip .contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
  margin-top: 1.5rem;
}

.contact-detail {
  font-size: 0.9rem;
}

.contact-detail strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

/* ── Footer ── */

.site-footer {
  background: var(--black);
  padding-top: 3rem;
}

.social-banner {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--gold);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-info {
  text-align: center;
  padding: 1.75rem 1rem;
  font-size: 0.85rem;
  color: var(--cream-muted);
  letter-spacing: 0.03em;
}

.footer-info a {
  color: var(--cream-muted);
}

.footer-info a:hover {
  color: var(--gold);
}

.footer-legal {
  text-align: center;
  padding: 1.25rem 1rem 2rem;
  font-size: 0.75rem;
  color: var(--cream-muted);
  opacity: 0.7;
  border-top: 1px solid var(--border-subtle);
}

.footer-legal a {
  color: var(--cream-muted);
}

.footer-legal a:hover {
  color: var(--gold);
}

.footer-divider {
  margin: 0 0.5rem;
  opacity: 0.4;
}

/* ── Legal / utility pages ── */

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 3rem) 1rem 4rem;
}

.legal-content h1 {
  margin-bottom: 0.75rem;
}

.legal-content .legal-meta {
  color: var(--cream-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-content .legal-toc {
  margin: 1.5rem 0 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--black-card);
  border: 1px solid var(--border-subtle);
  list-style: decimal;
  padding-left: 2.25rem;
}

.legal-content .legal-toc li {
  margin-bottom: 0.35rem;
}

.legal-content .legal-toc a {
  color: var(--cream-muted);
  font-size: 0.9rem;
}

.legal-content .legal-toc a:hover {
  color: var(--gold);
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 2.25rem 0 0.75rem;
  color: var(--gold);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--cream);
  font-family: var(--font-display);
}

.legal-content h4 {
  font-size: 1rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--gold-dim);
  font-family: var(--font-display);
}

.legal-content p,
.legal-content li {
  color: var(--cream-muted);
  margin-bottom: 0.75rem;
}

.legal-content ul {
  margin: 0.5rem 0 1rem 1.25rem;
}

.legal-content ul ul {
  margin-top: 0.5rem;
}

.legal-content .contact-block {
  margin-top: 0.5rem;
}

.legal-content .contact-block p {
  margin-bottom: 0.35rem;
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .intro-grid,
  .services-grid,
  .features {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item--wide {
    grid-column: span 2;
  }

  .gallery-item--tall {
    grid-row: span 1;
    aspect-ratio: 1;
  }
}

@media (max-width: 680px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: rgba(10, 10, 10, 0.98);
    padding: 1rem 0 2rem;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item--wide {
    grid-column: span 1;
    aspect-ratio: 1;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    min-width: 0;
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu a {
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
  }

  .lightbox-panel {
    flex-direction: column;
    max-height: 95vh;
    overflow-y: auto;
  }

  .lightbox-panel__image,
  .lightbox-panel__info {
    min-height: 240px;
  }

  .model-header-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .model-body-grid {
    grid-template-columns: 1fr;
  }

  .model-side-images {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 1.2rem;
  }
}

/* ── Nav dropdown ── */

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  line-height: 1;
}

.nav-dropdown-toggle::after {
  bottom: 0;
}

.nav-dropdown-toggle::before {
  display: none;
}

.nav-dropdown-toggle .chevron {
  font-size: 0.45rem;
  line-height: 1;
  display: block;
  margin-top: 1px;
  transition: transform var(--transition);
}

.nav-dropdown:hover .chevron,
.nav-dropdown.open .chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 180px;
  list-style: none;
  background: var(--black-card);
  border: 1px solid var(--border);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li {
  width: 100%;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--cream-muted);
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  color: var(--gold);
  background: rgba(201, 162, 39, 0.06);
}

/* ── Contact form ── */

.contact-form-section {
  padding: 5rem 0;
  background: var(--black-soft);
  border-top: 1px solid var(--border-subtle);
}

.contact-form-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.contact-form-wrap h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.contact-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--black-card);
  border: 1px solid var(--border-subtle);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold-dim);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-submit {
  align-self: center;
  margin-top: 0.5rem;
  padding: 0.9rem 2.5rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}

.form-submit:hover {
  background: var(--gold);
  color: var(--black);
}

.form-message {
  text-align: center;
  font-size: 0.9rem;
  color: var(--cream-muted);
  min-height: 1.25rem;
}

.form-message.success {
  color: var(--gold-light);
}

/* ── Model / 1911 pages ── */

.model-hero {
  padding: calc(var(--nav-height) + 3rem) 0 3rem;
  text-align: center;
  background: var(--black-soft);
  border-bottom: 1px solid var(--border-subtle);
}

.model-hero-the {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
  color: var(--cream-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.model-hero-name {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--gold-light);
  margin-bottom: 2rem;
}

.model-header-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: 960px;
  margin: 0 auto 2rem;
}

.model-header-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.model-hero-desc {
  max-width: 640px;
  margin: 0 auto;
  color: var(--cream-muted);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.6;
}

.model-body {
  padding: 4rem 0;
}

.model-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.model-bullets h3 {
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}

.model-bullets ul {
  list-style: none;
}

.model-bullets li {
  padding: 0.55rem 0;
  padding-left: 1.25rem;
  position: relative;
  color: var(--cream-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.model-bullets li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold-dim);
}

.model-side-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.model-side-images img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.model-side-images img:first-child {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.model-specs-section {
  padding: 3rem 0 4rem;
  background: var(--charcoal);
  border-top: 1px solid var(--border-subtle);
}

.model-specs-section h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.specs-accordion {
  max-width: 760px;
  margin: 2rem auto 0;
}

.specs-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--black-card);
  border: 1px solid var(--border);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.15rem;
  cursor: pointer;
  transition: background var(--transition);
}

.specs-toggle:hover {
  background: var(--black-soft);
}

.specs-toggle .faq-icon {
  margin-left: 1rem;
}

.specs-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}

.specs-panel.open {
  max-height: 85vh;
  overflow-y: auto;
}

.specs-sheet {
  padding: 1.5rem;
  background: var(--black-soft);
  border: 1px solid var(--border-subtle);
  border-top: none;
}

.specs-sheet-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.specs-sheet-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold-light);
  margin-bottom: 0.35rem;
}

.specs-sheet-header p {
  font-size: 0.85rem;
  color: var(--cream-muted);
  margin-bottom: 0.25rem;
}

.specs-sheet h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
  margin: 1.5rem 0 0.75rem;
}

.specs-sheet h4:first-of-type {
  margin-top: 0;
}

.specs-sheet ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.specs-sheet li {
  padding: 0.4rem 0;
  padding-left: 1rem;
  position: relative;
  color: var(--cream-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
}

.specs-sheet li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold-dim);
}

.specs-sheet .specs-meta-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.5rem 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.specs-sheet .specs-meta-row strong {
  color: var(--gold-dim);
  font-weight: 500;
}

.specs-sheet .specs-meta-row span {
  color: var(--cream-muted);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: -1px;
}

.specs-table th,
.specs-table td {
  padding: 0.85rem 1.5rem;
  text-align: left;
  border: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.specs-table th {
  width: 38%;
  color: var(--gold);
  font-weight: 500;
  background: var(--black-card);
}

.specs-table td {
  color: var(--cream-muted);
  background: var(--black-soft);
}

/* ── Dynamic gallery page ── */

.gallery-years {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.year-tab {
  padding: 0.55rem 1.35rem;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--cream-muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}

.year-tab:hover,
.year-tab.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 162, 39, 0.06);
}

.gallery-dynamic {
  margin-top: 2.5rem;
}

.gallery-loading,
.gallery-empty {
  text-align: center;
  color: var(--cream-muted);
  padding: 3rem 0;
}

/* ── Gallery lightbox panel ── */

.lightbox--panel {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  padding: 2rem;
}

.lightbox-panel {
  display: flex;
  width: min(1000px, 94vw);
  max-height: 85vh;
  background: rgba(22, 22, 22, 0.95);
  border: 1px solid var(--border);
  overflow: hidden;
}

.lightbox-panel__image {
  flex: 1.1;
  min-width: 0;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-panel__image img {
  width: 100%;
  height: 100%;
  max-height: 85vh;
  object-fit: contain;
  border: none;
}

.lightbox-panel__info {
  flex: 0.9;
  padding: 2rem 2rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border-subtle);
  overflow-y: auto;
}

.lightbox-panel__info h3 {
  font-size: 1.6rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.lightbox-panel__info p {
  color: var(--cream-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.lightbox--panel.active .lightbox-panel {
  pointer-events: auto;
}

.lightbox--panel .lightbox-close {
  z-index: 10;
}
