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

:root {
  --green: #02453e;          /* brand primary */
  --green-600: #035a51;      /* hover / lifted green */
  --green-500: #6f8f88;      /* brand secondary */
  --green-soft: #b8bdb8;     /* brand light secondary */
  --ink: #12181a;            /* near-black text */
  --ink-soft: #3d474b;
  --muted: #6f8f88;
  --line: #dde3e1;
  --bg: #ffffff;
  --bg-soft: #f2f4f3;
  --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: "Geist", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Montserrat", 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(2, 69, 62, 0.32);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(2, 69, 62, 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: var(--green-soft); }

.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: 30px;
  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(
      105deg,
      rgba(2, 69, 62, 0.9) 0%,
      rgba(2, 69, 62, 0.62) 38%,
      rgba(2, 69, 62, 0.22) 68%,
      rgba(2, 69, 62, 0.08) 100%
    );
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding-top: 100px;
  padding-bottom: 72px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.8vw, 3.25rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}
.hero__body {
  font-family: var(--font-body);
  font-size: clamp(1.12rem, 2vw, 1.3rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin: 20px 0 0;
  max-width: 36em;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- 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, #eef1ef 0%, #dfe5e3 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(2, 69, 62, 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(2, 69, 62, 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-benefits__grid--2x2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 880px;
  margin: 0 auto;
  gap: 22px;
}
.partner-benefits--dealer .partner-benefits__head { max-width: 680px; }
.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;
  min-height: 100%;
  height: 100%;
  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(2, 69, 62, 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: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}
.partner-benefit__desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
  flex: 1;
}
@media (max-width: 860px) {
  .partner-benefits__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .partner-benefits__grid--2x2 { grid-template-columns: 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: 30px;
  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: var(--green-soft); }
.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__content {
    max-width: 100%;
    padding-top: 96px;
    padding-bottom: 56px;
  }
  .hero__title {
    font-size: clamp(2.15rem, 8.5vw, 2.6rem);
  }
  .hero__body {
    font-size: 1.12rem;
    line-height: 1.6;
    margin-top: 16px;
  }
  .hero__actions {
    margin-top: 28px;
    gap: 10px;
  }
  .hero__actions .btn {
    flex: 1 1 auto;
    min-width: min(100%, 200px);
  }
}

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

@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(2, 69, 62, 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); }

/* ---------- Dealer program hero ---------- */
.dealer-hero {
  position: relative;
  overflow: hidden;
  padding: calc(74px + clamp(40px, 6vw, 72px)) 0 0;
  background: #02453e;
  color: var(--white);
  border-bottom: 1px solid rgba(184, 189, 184, 0.18);
}
.dealer-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 0;
  align-items: stretch;
  min-height: clamp(420px, 58vh, 560px);
}
.dealer-hero__copy {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 7vw, 72px);
  max-width: 560px;
}
.dealer-hero__visual {
  position: relative;
  min-height: 100%;
  margin-right: calc(50% - 50vw);
  border-left: 1px solid rgba(184, 189, 184, 0.12);
  overflow: hidden;
}
.dealer-hero__pattern {
  position: absolute;
  inset: 0;
  background-color: #02453e;
  background-image: url("/assets/brand/pattern.svg");
  background-size: 168px 168px;
  background-repeat: repeat;
  opacity: 0.9;
}
.dealer-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.15rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 18px;
}
.dealer-hero__body {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 28px;
  max-width: 36em;
}
.dealer-hero__cta {
  background: var(--white);
  color: #02453e;
}
.dealer-hero__cta:hover {
  background: #b8bdb8;
  color: #02453e;
}
.dealer-hero__meta {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: rgba(184, 189, 184, 0.95);
  font-size: 0.95rem;
}
.dealer-hero__meta a {
  color: #b8bdb8;
  font-weight: 500;
}
.dealer-hero__meta a:hover { color: var(--white); text-decoration: underline; }
@media (max-width: 900px) {
  .dealer-hero { padding-bottom: 0; }
  .dealer-hero__layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .dealer-hero__copy {
    max-width: none;
    padding-bottom: 36px;
  }
  .dealer-hero__visual {
    margin-right: 0;
    border-left: 0;
    border-top: 1px solid rgba(184, 189, 184, 0.12);
    min-height: 140px;
  }
  .dealer-hero__pattern { background-size: 140px 140px; opacity: 0.75; }
}

/* ---------- Shared form system ---------- */
.dealer-apply {
  padding: clamp(64px, 9vw, 110px) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.dealer-apply__card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--shadow);
}
.dealer-apply__card--wide { max-width: 860px; margin: 0 auto; }
.dealer-apply__card-head { margin-bottom: 26px; }
.dealer-apply__heading {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--ink);
}
.dealer-apply__lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 46em;
}

.v-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.v-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.v-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.v-form__fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.v-form__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.v-form__label abbr {
  text-decoration: none;
  color: var(--green);
}
.v-form input[type="text"],
.v-form input[type="email"],
.v-form input[type="tel"],
.v-form input[type="url"],
.v-form select,
.v-form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.v-form input::placeholder,
.v-form textarea::placeholder { color: #9aa5a2; }
.v-form input:hover,
.v-form select:hover,
.v-form textarea:hover { border-color: var(--green-soft); }
.v-form input:focus,
.v-form select:focus,
.v-form textarea:focus,
.v-check input:focus-visible {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(2, 69, 62, 0.14);
}
.v-form input.is-invalid,
.v-form select.is-invalid,
.v-form textarea.is-invalid,
.v-form__checks.is-invalid {
  border-color: #a15c2d;
}
.v-form__checks.is-invalid {
  border: 1.5px solid #a15c2d;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.v-form textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.v-form select {
  background-color: var(--bg);
  background-image: linear-gradient(45deg, transparent 50%, var(--green-500) 50%),
    linear-gradient(135deg, var(--green-500) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.v-form__checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin-top: 10px;
}
.v-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.35;
}
.v-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--green);
  flex-shrink: 0;
  cursor: pointer;
}
.v-form__error {
  font-size: 0.86rem;
  color: #8a4b1a;
  line-height: 1.4;
}
.v-form__privacy {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.v-form__privacy a {
  color: var(--green);
  font-weight: 600;
}
.v-form__privacy a:hover { text-decoration: underline; }
.v-form__status {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--green);
}
.v-form__status.is-error { color: #8a4b1a; }
.v-form__status.is-success { color: var(--green); }
.v-form__hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.v-form .btn[disabled] {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

/* ---------- Contact page ---------- */
.contact-page {
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--bg);
}
.contact-page__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-page__heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 18px;
}
.contact-page__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  border-top: 1px solid var(--line);
}
.contact-page__list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-page__dealer {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
}
.contact-page__dealer-title {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 8px;
}
.contact-page__dealer-text {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.privacy-prose h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 36px 0 12px;
  color: var(--ink);
}
.privacy-prose ul {
  margin: 0 0 18px;
  padding-left: 1.2em;
  color: var(--ink-soft);
}
.privacy-prose li { margin-bottom: 8px; }
.privacy-prose a { color: var(--green); font-weight: 500; }
.privacy-prose a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .contact-page__grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .v-form__row { grid-template-columns: 1fr; }
  .v-form__checks { grid-template-columns: 1fr; }
}
.v-form__other { margin-top: 12px; }

/* 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: var(--green-soft); }

/* ---------- 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(2, 69, 62, 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(2, 69, 62, 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 > .specs__group { margin-top: 32px; }
.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(2, 69, 62, 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, #eef1ef 0%, #dfe5e3 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: var(--bg-soft);
  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: 120px; height: 120px; }

/* ---------- 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: var(--bg-soft); }
.model-card__media--contain img {
  object-fit: contain;
  padding: 14px;
}
@media (max-width: 720px) {
  .model-grid--2 { grid-template-columns: 1fr; max-width: 460px; }
}

/* Hidden attributes remain authoritative for form fields and specs. */
[hidden] { display: none !important; }
