/* ============================================================
   /custom/kiosks/style.css
   Self-contained. Tokens, chrome, and components copied from
   /custom/assets/_starter/ and /css/styles.css. Page-specific
   components (.brand-card, .model-card, .finance-card,
   .contact-strip, .hero__media--placeholder) follow at the end.
   ============================================================ */

/* ---------- Tokens & base typography ---------- */
:root {
  --navy: #0a1f3d;
  --navy-deep: #061530;
  --navy-soft: #14335c;
  --accent: #e0b35c;
  --accent-hover: #eec278;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --text: #0f172a;
  --muted: #5b6b83;
  --border: #e4e8ef;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(10,31,61,.06), 0 2px 8px rgba(10,31,61,.04);
  --shadow-md: 0 8px 24px rgba(10,31,61,.08);
  --shadow-lg: 0 20px 50px rgba(10,31,61,.14);
  --container: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }
h1, h2, h3, h4 {
  font-family: inherit;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; color: var(--text); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 90px 0; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

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

/* Visible focus ring on all interactive elements (a11y) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { width: auto; height: 60px; max-width: 220px; object-fit: contain; }
.nav__cta { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: .95rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--navy-deep);
  box-shadow: 0 4px 14px rgba(224,179,92,.35);
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(224,179,92,.45);
  color: var(--navy-deep);
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: #fff;
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(224,179,92,.18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(59,130,246,.15), transparent 60%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  overflow: hidden;
  padding: 120px 0 110px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__content { max-width: 640px; }
.hero h1 { color: #fff; margin-bottom: .3em; }
.hero h1 span { color: var(--accent); display: block; }
.hero__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: rgba(255,255,255,.78);
  margin-bottom: 36px;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .eyebrow {
  border: 1px solid rgba(224,179,92,.4);
  padding: 6px 14px;
  border-radius: 999px;
}
.hero__media {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.hero__media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ---------- Brand grid ---------- */
.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.brand-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px 32px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.brand-card__logo {
  height: 64px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}
.brand-card__logo img { max-height: 60px; width: auto; object-fit: contain; }
.brand-card p { color: var(--muted); font-size: .98rem; }
.brand-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy);
  letter-spacing: .02em;
}
.brand-card__link span { transition: transform .25s var(--ease); display: inline-block; }
.brand-card__link:hover { color: var(--accent); }
.brand-card__link:hover span { transform: translateX(4px); }

/* ---------- Models ---------- */
.model-row + .model-row { margin-top: 64px; }
.model-row__brand {
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.model-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.model-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.model-card__media {
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.model-card__media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.model-card h4 {
  font-size: 1.15rem;
  margin: 24px 28px 8px;
}
.model-card p {
  color: var(--muted);
  font-size: .94rem;
  margin: 0 28px 12px;
  line-height: 1.50;
}
.model-card__footer {
  margin-top: auto;
  padding: 26px 0px 18px;
  /* background: var(--bg-alt); */
  background: #f0eaeab2;
  border-top: 1px solid var(--border);
}
.model-card__payment {
  color: var(--navy);
  font-size: 1rem;
  margin: 0 0 2px;
}
.model-card__payment strong {
  color: var(--navy);
  font-weight: 700;
}
.model-card__caveat {
  color: var(--muted);
  font-size: .72rem !important;
  font-style: italic;
  margin: 0;
}

/* ---------- Finance card ---------- */
.finance-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  max-width: 980px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  box-shadow: var(--shadow-sm);
}
.finance-card__col h3 {
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 18px;
}
.finance-card__divider {
  width: 1px;
  background: var(--border);
}
.finance-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.finance-list li {
  position: relative;
  padding: 12px 0 12px 28px;
  color: var(--text);
  font-size: .98rem;
  line-height: 1.55;
  border-bottom: 1px solid var(--border);
}
.finance-list li:last-child { border-bottom: 0; }
.finance-list li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
  transform-origin: left bottom;
}
.finance-list strong { color: var(--navy); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at center, rgba(224,179,92,.18), transparent 70%);
}
.cta-band > .container { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 560px; margin: 0 auto 32px; }
.cta-band .btn { margin: 0 8px 8px; }

/* ---------- Footer (demo: minimal one-line bar) ---------- */
.site-footer--demo {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__brand img { height: 48px; max-width: 180px; }
}
@media (max-width: 900px) {
  section { padding: 70px 0; }
  .hero { padding: 90px 0 80px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__content { max-width: none; }
  .brand-grid { grid-template-columns: 1fr; gap: 20px; }
  .model-grid { grid-template-columns: 1fr; gap: 20px; }
  .model-row + .model-row { margin-top: 48px; }
  .finance-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 28px;
  }
  .finance-card__divider { display: none; }
  .nav__brand img { height: 44px; max-width: 160px; }
}
@media (max-width: 560px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .nav__brand img { height: 36px; max-width: 130px; }
  .nav__cta { padding: 10px 18px; font-size: .88rem; }
  .brand-card { padding: 32px 24px 24px; }
  .model-card h4 { margin: 20px 22px 6px; }
  .model-card p { margin: 0 22px 18px; }
  .model-card__footer { padding: 26px 0px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
