/* ===============================
   VENTRA — Landing Page Styles
   =============================== */

:root {
  --green: #14432a;          /* deep green accent */
  --green-600: #1a5336;
  --green-500: #226644;
  --ink: #12181a;            /* near-black text */
  --ink-soft: #3d474b;
  --muted: #6b7378;
  --line: #e6e8e6;
  --bg: #ffffff;
  --bg-soft: #f6f7f5;
  --white: #ffffff;

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --shadow: 0 18px 50px -24px rgba(18, 24, 26, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Sora", var(--font-body);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--green); color: var(--white); }
.btn--solid:hover { background: var(--green-600); }
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
  background: rgba(9, 20, 14, 0.32);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(9, 20, 14, 0.5); }
.btn--block { width: 100%; }

/* ---------- Section helpers ---------- */
.section__kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 14px;
}
.section__kicker--light { color: #9ed3b3; }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}
.section__title--light { color: var(--white); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(18, 24, 26, 0.5);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
}
.nav__logo {
  display: block;
  height: 48px;
  width: auto;
  object-fit: contain;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--green); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      100deg,
      rgba(9, 20, 14, 0.86) 0%,
      rgba(9, 20, 14, 0.55) 42%,
      rgba(9, 20, 14, 0.15) 100%
    );
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding-top: 90px;
  padding-bottom: 60px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #cdeede;
  background: rgba(9, 20, 14, 0.35);
  border: 1px solid rgba(158, 211, 179, 0.4);
  backdrop-filter: blur(4px);
  padding: 8px 16px;
  border-radius: 999px;
  margin: 0 0 34px;
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9ed3b3;
  box-shadow: 0 0 0 0 rgba(158, 211, 179, 0.6);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(158, 211, 179, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(158, 211, 179, 0); }
  100% { box-shadow: 0 0 0 0 rgba(158, 211, 179, 0); }
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  margin: 0;
}
.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin: 20px 0 0;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- About ---------- */
.about { padding: clamp(100px, 13vw, 180px) 0; }
.about__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about__text p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0 0 18px;
}
.about__text strong { color: var(--green); }

.about__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.about__stats li {
  padding: 24px 26px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.stat__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
  min-width: 62px;
}
.stat__num--pin {
  display: inline-flex;
  align-items: center;
  align-self: center;
}
.stat__label { color: var(--muted); font-weight: 500; }

/* ---------- Series ---------- */
.series {
  padding: clamp(100px, 13vw, 180px) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.series__head { max-width: 640px; margin-bottom: 52px; }
.series__subtitle {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  font-style: italic;
  color: var(--green-500);
  margin: -8px 0 16px;
}
.series__intro { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }

.series__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card__media {
  aspect-ratio: 1 / 1;
  /* min-height:0 stops portrait images from stretching the square frame
     (flex items default to min-height:auto = content height) */
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #eef1ee 0%, #e2e7e2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 20% 0%, rgba(20, 67, 42, 0.08), transparent 60%);
}
.card__ph {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 12px;
  color: var(--ink);
}
.card__title span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-top: 6px;
}
.card__desc { color: var(--ink-soft); font-size: 0.97rem; margin: 0 0 20px; }
.card__desc em { font-style: italic; color: var(--ink); }
.card__tags {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.card__tags li {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green);
  background: rgba(20, 67, 42, 0.08);
  padding: 5px 12px;
  border-radius: 999px;
}
.card__tags--muted li {
  color: #6b7280;
  background: rgba(107, 114, 128, 0.12);
}

/* ---------- Dealers ---------- */
.dealers {
  padding: clamp(100px, 13vw, 180px) 0;
  background: var(--green);
  color: rgba(255, 255, 255, 0.9);
  position: relative;
}
.dealers__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.dealers__text p { font-size: 1.05rem; max-width: 460px; margin: 0; }

.dealers__card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.contact { list-style: none; margin: 0 0 26px; padding: 0; }
.contact li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact li:first-child { padding-top: 0; }
.contact__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
a.contact__value:hover { color: var(--green); }

/* ---------- Partner Benefits (Contact page) ---------- */
.partner-benefits {
  padding: clamp(64px, 9vw, 110px) 0;
  background: var(--bg);
}
.partner-benefits__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}
.partner-benefits__intro {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0;
}
.partner-benefits__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.partner-benefit {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.partner-benefit:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px -10px rgba(18, 24, 26, 0.14);
}
.partner-benefit__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(20, 67, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.partner-benefit__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}
.partner-benefit__desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 860px) {
  .partner-benefits__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .partner-benefits__grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
}
.footer__note { flex-basis: 100%; order: 3; }
.footer__copy { order: 4; flex-basis: 100%; }
.footer__brand {
  display: inline-flex;
  align-items: center;
}
.footer__logo {
  display: block;
  height: 48px;
  width: auto;
  object-fit: contain;
}
.footer__note {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer__copy { margin: 0; font-size: 0.9rem; }
.footer__copy a { color: #9ed3b3; }
.footer__copy a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .series__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
  .dealers__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 26px;
    box-shadow: var(--shadow);
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.3s var(--ease);
  }
  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links a { padding: 12px 4px; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { min-height: 92vh; }
  .hero__actions .btn { flex: 1 1 auto; }
}

@media (max-width: 540px) {
  .series__grid { grid-template-columns: 1fr; }
  .about__stats li { padding: 18px 20px; }
  .dealers__card { padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}

/* ===============================================================
   Multi-page additions (subpages, product page, shared modules)
   =============================================================== */

/* Outline button */
.btn--outline {
  border-color: var(--green);
  color: var(--green);
  background: transparent;
}
.btn--outline:hover { background: rgba(20, 67, 42, 0.07); }

/* Accessibility helper */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Subpage nav: solid over light content (no dark hero behind it) */
.subpage .nav {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}

/* Clickable cards */
.card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.card__tags { margin: 0; }
.card__cta {
  margin-top: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--green);
}
.card__cta--soon { color: var(--muted); }
.card:has(.card__link--static):hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}
.card__link--static { cursor: default; }

/* Page header (about, products) */
.page-header {
  padding: calc(74px + clamp(46px, 7vw, 84px)) 0 clamp(40px, 6vw, 66px);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.page-header__lead {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--green-500); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb--top { margin-bottom: 26px; }

/* Prose (about body) */
.prose-section { padding: clamp(56px, 8vw, 96px) 0; }
.prose { max-width: 720px; }
.prose p {
  color: var(--ink-soft);
  font-size: 1.1rem;
  margin: 0 0 20px;
}
.prose strong { color: var(--green); }
.prose__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.about__more { margin-top: 6px; }
.about__more a { color: var(--green); font-weight: 600; }
.about__more a:hover { text-decoration: underline; }

/* Section padding tweak for standalone dealer/contact pages */
.dealers--page { padding-top: calc(74px + clamp(56px, 8vw, 90px)); }
.series--page { padding-top: clamp(56px, 8vw, 90px); }

/* Footer nav links */
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer__links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}
.footer__links a:hover { color: #9ed3b3; }

/* ---------- Product page ---------- */
.product { padding: calc(74px + 34px) 0 clamp(72px, 10vw, 120px); }

/* Gallery thumbnails (shared by product galleries) */
.gallery__thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-soft);
  cursor: pointer;
  width: 84px;
  height: 84px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { transform: translateY(-2px); }
.gallery__thumb.is-active { border-color: var(--green); }

/* Product summary */
.product__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.2rem);
  line-height: 1.05;
  margin: 8px 0 6px;
}
.product__subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green-500);
  margin: 0 0 20px;
}
.product__desc {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0 0 24px;
}
.product__tags {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product__tags li {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(20, 67, 42, 0.08);
  padding: 6px 13px;
  border-radius: 999px;
}
.product__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Specs */
.specs {
  margin-top: clamp(56px, 8vw, 90px);
  padding-top: clamp(40px, 6vw, 60px);
  border-top: 1px solid var(--line);
}
.specs__heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 28px;
}
.specs__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.spec {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.spec__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec__value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}

/* Full specs toggle + table */
.specs__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--green);
  background: transparent;
  border: 1.5px solid var(--green);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.specs__toggle:hover { background: rgba(20, 67, 42, 0.07); }
.specs__toggle-icon {
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}
.specs__toggle.is-open .specs__toggle-icon { transform: rotate(45deg); }
.specs__full { margin-top: 24px; }
.specs__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}
.specs__table th,
.specs__table td {
  text-align: left;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
}
.specs__table th {
  font-weight: 600;
  color: var(--muted);
  width: 42%;
}
.specs__table td { color: var(--ink); font-weight: 500; }

/* Grouped full specs (e.g. Vortex V300) */
.specs__group + .specs__group { margin-top: 30px; }
.specs__group-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 6px;
  color: var(--ink);
}

/* Product CTA */
.product__cta {
  margin-top: clamp(56px, 8vw, 90px);
  padding: clamp(40px, 6vw, 60px);
  text-align: center;
  background: var(--green);
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
}
.product__cta-title {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 10px;
}
.product__cta-text { margin: 0 0 26px; }

/* Product page responsive */
@media (max-width: 860px) {
  .specs__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .specs__grid { grid-template-columns: 1fr; }
  .footer__links { gap: 14px; }
}

/* ===============================================================
   Series models grid + full-width product gallery (Zefyr)
   =============================================================== */

/* Card images (homepage / products index thumbnails) */
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media:has(img)::after { display: none; }

/* Disabled button state */
.btn.is-disabled {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
  cursor: default;
  pointer-events: none;
}
.btn.is-disabled:hover { transform: none; }

/* ---------- Model grid (series page) ---------- */
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.model-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.model-card--featured { border-color: rgba(20, 67, 42, 0.35); }
.model-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.model-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #eef1ee 0%, #e2e7e2 100%);
  overflow: hidden;
}
.model-card__media img { width: 100%; height: 100%; object-fit: cover; }
.model-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 26px;
}
.model-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 6px;
}
.model-card__sub {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0 0 20px;
}
.model-card__stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.model-card__stats li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: center;
}
.model-stat__num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green);
}
.model-stat__num small { font-size: 0.72rem; font-weight: 600; margin-left: 1px; }
.model-stat__label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.model-card__body .btn { margin-top: auto; }

/* ---------- Full-width product gallery (PDP) ---------- */
.pdp-gallery { margin-bottom: clamp(36px, 5vw, 56px); }
.pdp-gallery__main {
  background: #f5f7f4;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: clamp(16px, 3vw, 32px);
}
.pdp-gallery__main img {
  display: block;
  width: 100%;
  /* Fixed height keeps the frame stable across mixed image ratios */
  height: clamp(300px, 56vh, 560px);
  object-fit: contain;
}
.pdp-gallery__thumbs {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pdp-gallery__thumbs .gallery__thumb { width: 96px; height: 96px; }

/* ---------- Two-column intro (PDP) ---------- */
.pdp-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.pdp-intro__left { max-width: 560px; }

@media (max-width: 860px) {
  .model-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .pdp-intro { grid-template-columns: 1fr; }
}

/* ===============================================================
   Status badge + "in development" treatment (Boreas)
   =============================================================== */

/* Status pill */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.badge--dev {
  color: #8a5a10;
  background: rgba(197, 138, 26, 0.15);
  border: 1px solid rgba(197, 138, 26, 0.3);
}
/* Badge sitting on its own line under an image */
.badge--under { margin-top: 14px; }

/* Card badge + note (Boreas card on home / products index) */
.card__body .badge { align-self: flex-start; margin-bottom: 12px; }
.model-card__body .badge { align-self: flex-start; margin-bottom: 12px; }
.card__note {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: italic;
  margin: 0 0 14px;
}

/* ---------- Boreas product page ---------- */
.pdp-intro__media { display: flex; flex-direction: column; }
.pdp-intro__info { max-width: 560px; }
.pdp-gallery__main--light { background: #ffffff; }
.pdp-gallery__main--light img {
  height: clamp(280px, 46vh, 480px);
  object-fit: contain;
  padding: 20px;
}
.product__note {
  color: #8a5a10;
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 20px;
}

/* Outline button placed on the green CTA banner */
.btn--on-green {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  background: transparent;
}
.btn--on-green:hover { background: var(--white); color: var(--green); }

/* ===============================================================
   Balanced product intro + Quick Highlights panel (Z4)
   =============================================================== */
.pdp-intro--split { grid-template-columns: 1fr 1fr; align-items: stretch; }
.pdp-intro--split .pdp-intro__left { max-width: 540px; align-self: center; }

.highlights {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 40px);
}
.highlights__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.highlights__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.highlights__list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.5;
}
.highlights__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  /* white check mark */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px 11px;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 860px) {
  .pdp-intro--split { grid-template-columns: 1fr; }
  .pdp-intro--split .pdp-intro__left { max-width: none; align-self: auto; }
}

/* Two-up model grid (e.g. Kaze series) */
.model-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 840px;
  margin: 0 auto;
}
/* Single-model grid (e.g. Vortex series) */
.model-grid--single {
  grid-template-columns: 1fr;
  max-width: 420px;
  margin: 0 auto;
}
/* Contained model media for products photographed on real backgrounds */
.model-card__media--contain { background: #f5f7f4; }
.model-card__media--contain img {
  object-fit: contain;
  padding: 14px;
}
@media (max-width: 720px) {
  .model-grid--2 { grid-template-columns: 1fr; max-width: 460px; }
}
