/* ==========================================================
   TrailerTool — mock styles
   ========================================================== */

:root {
  --accent: #2B5EA8;
  --accent-dark: #224b86;
  --partner: #B23B3B;
  --partner-dark: #8F2E2E;
  --partner-light: #E25C5C;
  --ink: #14161a;
  --ink-2: #1e2127;
  --ink-3: #2a2e36;
  --steel: #8a919c;
  --steel-light: #c9cdd3;
  --paper: #f5f4f0;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --nav-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  font-weight: 800;
}

h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; color: var(--accent); margin-bottom: 0.5rem; }

.container {
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  padding: 0.9rem 1.8rem;
  border-radius: 6px;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
/* Hero ghost buttons sit over the decorative horizon line, so they need a solid backing */
.hero .btn--ghost { background: #16181d; }
.hero .btn--ghost:hover { background: #272c34; border-color: var(--white); }
.btn--small { padding: 0.55rem 1.1rem; font-size: 0.9rem; }

.link { color: var(--accent); font-weight: 600; font-size: 0.95rem; }
.link:hover { text-decoration: underline; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.is-scrolled {
  background: rgba(20, 22, 26, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  font-family: var(--font-head);
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav__brand,
.nav__brand strong {
  color: var(--white);
  font-weight: 800;
  -webkit-text-stroke: 1.6px var(--accent);
  paint-order: stroke fill;
  text-shadow:
    0.03em 0.03em 0 var(--accent),
    0 0 12px rgba(43, 94, 168, 0.6);
}
.nav__brand { letter-spacing: 0.06em; font-size: 1.8rem; white-space: nowrap; }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1; }
.nav__tagline {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-light);
  -webkit-text-stroke: 0;
  text-shadow: none;
  margin-top: 0.3rem;
}
.nav__logo {
  width: 36px; height: 32px;
  color: var(--accent);
  flex-shrink: 0;
}
.nav__links { display: flex; align-items: center; gap: 1.6rem; white-space: nowrap; }
.nav__links a {
  color: var(--steel-light);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--white); }
.nav__links .btn { color: var(--white); }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav__toggle span { width: 26px; height: 3px; background: var(--white); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,22,26,0.55) 0%, rgba(20,22,26,0.85) 70%, var(--ink) 100%),
    repeating-linear-gradient(135deg, #2a2e36 0 18px, #23262d 18px 36px);
  z-index: 0;
}
.hero__bg::after {
  /* faux "road" horizon line */
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 22%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 380px);
  gap: clamp(2rem, 3.4vw, 3.5rem);
  align-items: center;
  padding: 3rem 0;
}
.hero__text { max-width: 760px; }

/* ---------- Hero photo gallery (portrait) ---------- */
.pgallery { width: 100%; justify-self: end; }
.pgallery__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 24px 50px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.08);
}
.pgallery__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.35s ease;
}
.pgallery__img.is-fading { opacity: 0; }
.pgallery__frame.is-contain { background: var(--white); }
.pgallery__frame.is-contain .pgallery__img { object-fit: contain; padding: 4%; }
.pgallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 22, 26, 0.7);
  color: var(--white);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  z-index: 2;
}
.pgallery__arrow svg { width: 20px; height: 20px; }
.pgallery__arrow:hover { background: var(--accent); transform: translateY(-50%) scale(1.06); }
.pgallery__arrow--prev { left: 10px; }
.pgallery__arrow--next { right: 10px; }
.pgallery--single .pgallery__arrow,
.pgallery--single .pgallery__dots { display: none; }
.pgallery__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
}
.pgallery__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.pgallery__dot.is-active { background: var(--accent); transform: scale(1.3); }
.hero__title {
  font-size: clamp(5rem, 16vw, 11rem);
  letter-spacing: 0.06em;
  line-height: 0.9;
  color: var(--white);
  -webkit-text-stroke: clamp(2px, 0.35vw, 4px) var(--accent);
  paint-order: stroke fill;
  text-shadow:
    0.04em 0.04em 0 var(--accent),
    0 0 0.25em rgba(43, 94, 168, 0.55),
    0 0 0.8em rgba(43, 94, 168, 0.35);
  animation: heroPop 0.8s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
@keyframes heroPop {
  from { opacity: 0; transform: translateY(18px) scale(0.96); letter-spacing: 0.2em; }
  to   { opacity: 1; transform: none; letter-spacing: 0.06em; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__title { animation: none; }
}
.hero__subtitle {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3.2vw, 2.1rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel-light);
  margin-top: 0.5rem;
  display: inline-block;
  padding-bottom: 0.35rem;
  border-bottom: 4px solid var(--accent);
}
.hero__lead {
  font-size: 1.2rem;
  color: var(--steel-light);
  margin: 1.5rem 0 2.2rem;
  max-width: 560px;
}
.hero__emphasis {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin: -0.75rem 0 2.2rem;
  max-width: 560px;
}
.hero__emphasis p {
  font-size: 1.02rem;
  font-style: italic;
  font-weight: 500;
  color: var(--white);
  line-height: 1.55;
}
.hero__emphasis p + p { margin-top: 0.7rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero__stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem clamp(1rem, 1.7vw, 2.25rem);
}
.hero__stats-row--center { justify-content: center; }
.hero__stats-row > div { display: flex; flex-direction: column; }
.hero__stats strong {
  font-family: var(--font-head);
  font-size: 2rem;
  white-space: nowrap;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.hero__stats span { font-size: 0.8rem; color: var(--steel); margin-top: 0.3rem; white-space: nowrap; }

/* ---------- Sections ---------- */
section[id] { scroll-margin-top: var(--nav-h); }
.section { padding: 6rem 0; }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark .eyebrow { color: var(--accent); }
.section--dark p { color: var(--steel-light); }

.section__head { max-width: 680px; margin-bottom: 3.5rem; }
.section__lead { font-size: 1.1rem; color: var(--steel); margin-top: 1rem; }

.grid { display: grid; gap: 1.75rem; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Product cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.14); }
.card__img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  position: relative;
}
/* Placeholder "product photos" — swap for real images later */
.card__img--1 { background: linear-gradient(135deg, #3a3f49, #1e2127); }
.card__img--2 { background: linear-gradient(135deg, #2c3a4a, #1e2127); }
.card__img--3 { background: linear-gradient(135deg, #34404f, #1e2127); }
.card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.card__img:has(img)::after { display: none; }
.card__img::after {
  content: "PHOTO";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.18);
}
.card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin: 0.6rem 0 0.5rem; }
.card__body p { font-size: 0.95rem; color: #555b66; flex: 1; }
.card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #ecebe6;
}
.price { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; }

.tag {
  align-self: flex-start;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
}
.tag--muted { background: #e8e7e1; color: #555b66; }


/* ---------- Feature strip ---------- */
.features {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.feature {
  padding: 2rem 1.75rem;
  border-right: 1px solid #ecebe6;
}
.feature:last-child { border-right: 0; }
.feature__icon {
  width: 44px; height: 44px;
  color: var(--accent);
  margin-bottom: 1rem;
}
.feature__icon svg { width: 100%; height: 100%; }
.feature h4 {
  color: var(--steel);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.2rem;
}
.feature strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}
.feature p { font-size: 0.9rem; color: #555b66; }

/* ---------- Specs + pricing ---------- */
.split--specs { align-items: start; }
.specs {
  margin: 2rem 0 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.specs > div {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.specs dt {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--steel);
}
.specs dd { color: var(--white); font-weight: 500; }

.pricing-col {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.pricing {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  border-top: 6px solid var(--accent);
}

/* Endorsement strip under the pricing card */
.endorse {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
}
.endorse__label {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.endorse__text {
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}
.section--dark .endorse__text { color: var(--steel-light); }
.pricing__label {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--steel);
}
.section--dark .pricing__label,
.section--dark .pricing__unit,
.section--dark .pricing__note { color: var(--steel); }
.section--dark .pricing__amount { color: var(--accent); }
.pricing__amount {
  font-family: var(--font-head);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  margin: 0.25rem 0 0;
}
.pricing__unit {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--steel);
  margin-bottom: 1.5rem;
}
.pricing .checklist { margin: 0 0 1.75rem; }
.section--dark .pricing .checklist li { color: var(--ink); }
.pricing__note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--steel);
  text-align: center;
}
.pricing__note--strong {
  margin-top: 0.4rem;
  font-weight: 700;
  color: var(--ink);
}
.section--dark .pricing__note--strong { color: var(--ink); }
.btn--block { display: block; text-align: center; width: 100%; }

/* ---------- Safety comparison (About) ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-top: 3.5rem;
}
.compare__item {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--steel);
  display: flex;
  flex-direction: column;
}
.compare__item--unsafe { border-top-color: var(--partner); }
.compare__item--safe { border-top-color: var(--accent); }
.compare__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  flex: 0 0 auto;      /* Safari otherwise stretches this flex child */
  overflow: hidden;    /* keep the photo inside the frame */
  background: linear-gradient(135deg, #33383f, #1e2127);
}
/* Pin the image to the frame so its height never depends on percentage
   resolution inside an aspect-ratio box, which Safari handles differently. */
.compare__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.compare__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.3);
}
.compare__caption {
  padding: 1.25rem 1.5rem 1.5rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #2a2e36;
}
.compare__tag {
  display: block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.compare__item--unsafe .compare__tag { color: var(--partner); }
.compare__item--safe .compare__tag { color: var(--accent); }

/* ---------- Warranty cards ---------- */
.grid--top { align-items: start; }
.wcard {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  border-top: 5px solid var(--accent);
  padding: 1.75rem 2rem 1.5rem;
  box-shadow: var(--shadow);
}
.wcard__title {
  font-size: 1.9rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.wcard .checklist { margin-top: 0; }
.wcard .checklist li { color: #2a2e36; font-size: 1.02rem; margin-bottom: 0.7rem; }
.wcard .checklist li:last-child { margin-bottom: 0; }
.section--dark .wcard .checklist li { color: #2a2e36; }
.checklist.checklist--x li::before {
  width: 14px; height: 14px;
  border: 0;
  top: 0.32em;
  left: 0;
  transform: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B5EA8' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M5 5l14 14M19 5L5 19'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Contact list ---------- */
.contact-list { list-style: none; margin-top: 2rem; }
.contact-list li {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  border-top: 1px solid #e3e1da;
}
.contact-list li:last-child { border-bottom: 1px solid #e3e1da; }
.contact-list__label {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--steel);
}
.contact-list > li > a {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  word-break: break-all;
}
.contact-list > li > a:hover { color: var(--accent); }
.contact-list > li > a { line-height: 1.2; }

.footer p a:hover { color: var(--white); }
.muted { opacity: 0.6; }


/* ---------- Social links ---------- */
.social { display: flex; gap: 0.75rem; margin-top: 0.4rem; }
.social a, .social .social__soon {
  width: 44px; height: 44px;
  flex: 0 0 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  transition: background 0.2s, transform 0.15s;
}
.social a svg, .social .social__soon svg { width: 22px; height: 22px; }
.social a:hover, .social .social__soon:hover { background: var(--accent); transform: translateY(-2px); }
.social--footer { margin-top: 1.2rem; }

/* Placeholder networks: click shows a short-lived tooltip */
.social__soon {
  position: relative;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.social__tip {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--white);
  background: #2f353f;
  padding: 0.32rem 0.6rem;
  border-radius: 5px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(4px);
}
.social__tip::after {
  content: "";
  position: absolute;
  top: 100%; left: 50%;
  margin-left: -4px;
  border: 4px solid transparent;
  border-top-color: #2f353f;
}
.social__tip.is-shown { animation: tipPop 2.6s ease forwards; }
@keyframes tipPop {
  0%   { opacity: 0; transform: translateX(-50%) translateY(4px); }
  12%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  78%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-4px); }
}
.social--footer a, .social--footer .social__soon { background: var(--ink-3); color: var(--steel-light); }
.social--footer a:hover, .social--footer .social__soon:hover { background: var(--accent); color: var(--white); }


/* ---------- Section CTA ---------- */
.section__cta { text-align: center; margin-top: 3rem; }
.btn--icon { display: inline-flex; align-items: center; gap: 0.55rem; }
.btn--icon svg { width: 20px; height: 20px; }

/* ---------- Video gallery ---------- */
.vgallery { width: 100%; scroll-margin-top: calc(var(--nav-h) + 1.5rem); }
.vgallery__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.vgallery__video {
  width: 100%; height: 100%;
  display: block;
  object-fit: contain;
  background: var(--ink);
}
.vgallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 22, 26, 0.7);
  color: var(--white);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, opacity 0.2s;
  z-index: 2;
}
.vgallery__arrow svg { width: 22px; height: 22px; }
.vgallery__arrow:hover { background: var(--accent); transform: translateY(-50%) scale(1.06); }
.vgallery__arrow--prev { left: 12px; }
.vgallery__arrow--next { right: 12px; }
.vgallery__arrow[disabled] { opacity: 0.25; cursor: default; }
.vgallery__arrow[disabled]:hover { background: rgba(20,22,26,0.7); transform: translateY(-50%); }
.vgallery--single .vgallery__arrow { display: none; }
.vgallery__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.9rem;
}
.vgallery__title {
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.vgallery__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: var(--accent);
  margin-top: 0.4rem;
}
.vgallery__caption {
  font-size: 1rem;
  color: #3a3f47;
  margin: 0;
}
.vgallery__dots { display: flex; gap: 0.45rem; flex-shrink: 0; }
.vgallery__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--steel-light);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.vgallery__dot.is-active { background: var(--accent); transform: scale(1.25); }
.vgallery__empty {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-head);
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.25);
}

/* ---------- About (split) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split__text p { margin-bottom: 1.2rem; font-size: 1.05rem; }
.photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.photo--shop {
  background:
    linear-gradient(160deg, rgba(43,94,168,0.35), transparent 60%),
    repeating-linear-gradient(0deg, #2a2e36 0 6px, #24272e 6px 12px);
}
.photo::after {
  content: "SHOP PHOTO";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.2);
}
.checklist { list-style: none; margin-top: 1.5rem; }
.checklist li {
  padding-left: 1.8rem;
  position: relative;
  margin-bottom: 0.6rem;
  color: #3a3f47;
}
.section--dark .checklist li { color: var(--steel-light); }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 0.45em;
  width: 14px; height: 8px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Process steps ---------- */
.step {
  background: var(--white);
  padding: 2.2rem;
  border-radius: var(--radius);
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow);
}
.step__num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--steel-light);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}
.step h3 { margin-bottom: 0.6rem; }
.step p { color: #555b66; font-size: 0.98rem; }

/* ---------- Partner spotlight ---------- */
.nav__links a[href="#paint-body"],
.footer__cols a[href="#paint-body"] {
  color: var(--partner-light);
  font-weight: 600;
}
.nav__links a[href="#paint-body"]:hover,
.footer__cols a[href="#paint-body"]:hover { color: #f08a8a; }

section.partner { scroll-margin-top: var(--nav-h); }
.partner {
  background: var(--partner);
  color: var(--white);
  padding: 4rem 0;
}
.partner__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: center;
}
.partner__eyebrow { color: rgba(255,255,255,0.75); }
.partner h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.75rem; }
.partner__lead { max-width: 540px; color: rgba(255,255,255,0.9); margin-bottom: 1.25rem; }
.partner__services {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.partner__services li {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.45rem 0.9rem;
  border: 2px solid rgba(255,255,255,0.55);
  border-radius: 999px;
}
.partner__services-badge {
  background: var(--white);
  color: var(--partner);
  border-color: var(--white);
}
.partner__location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}
.partner__location svg { width: 18px; height: 18px; flex-shrink: 0; }
.partner__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}
.partner__actions .btn { text-align: center; }
.partner__logo {
  display: block;
  background: var(--white);
  border-radius: 10px;
  padding: 0.5rem;
  margin-bottom: 0.35rem;
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}
.partner__logo:hover { transform: translateY(-2px); }
.partner__logo img { width: 100%; height: auto; display: block; border-radius: 6px; }
.partner .btn {
  background: var(--white);
  color: var(--partner);
  border-color: var(--white);
}
.partner .btn:hover { background: #fbeeee; border-color: #fbeeee; color: var(--partner-dark); }
.partner .btn--ghost { background: rgba(255,255,255,0.9); }
.partner__email {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  word-break: break-all;
}

/* ---------- Team ---------- */
.person { text-align: center; }
.person__avatar {
  width: 120px; height: 120px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--ink-3);
  border: 3px solid var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--steel-light);
}
.person h3 { font-size: 1.3rem; }
.person p { font-size: 0.9rem; color: var(--steel); }

/* ---------- Contact / CTA ---------- */
.cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.form { display: flex; flex-direction: column; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__row--3 { grid-template-columns: 1.6fr 1fr 1fr; }
.form input, .form textarea, .form select {
  width: 100%;
  font: inherit;
  padding: 0.9rem 1rem;
  border: 1px solid #d8d6cf;
  border-radius: 6px;
  background: var(--white);
  transition: border-color 0.2s;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); }
.form input:user-invalid, .form select:user-invalid {
  border-color: var(--partner);
  background: #fdf5f5;
}
.form__hint {
  font-size: 0.82rem;
  color: var(--steel);
  margin: 0.25rem 0 0;
}
.form__bot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status {
  margin: 0.25rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.form__status--ok { background: #e7f0fb; border-left: 4px solid var(--accent); color: #1c3d6b; }
.form__status--err { background: #fdf0f0; border-left: 4px solid var(--partner); color: #7a2323; }
.form__status a { color: inherit; font-weight: 600; }
.btn[disabled] { opacity: 0.6; cursor: default; }
.form select { color: inherit; }
.form .btn { align-self: flex-start; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--steel);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__inner > div > p { margin-top: 1rem; line-height: 1.8; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer__cols a { display: block; margin-bottom: 0.5rem; transition: color 0.2s; }
.footer__cols a:hover { color: var(--white); }
.footer__cols a.footer__contact {
  display: inline-block;
  color: var(--white);
  margin-top: 0.25rem;
}
.footer__version-wrap { display: inline-flex; align-items: center; gap: 0.6rem; }
.footer__version {
  font-family: var(--font-head);
  letter-spacing: 0.1em;
  color: var(--steel);
  opacity: 0.7;
  background: none;
  border: 0;
  padding: 0;
  font-size: inherit;
  cursor: default;
  user-select: none;
}
.footer__version:active { opacity: 1; }
.footer__secret {
  width: 72px;
  font: inherit;
  font-size: 0.78rem;
  padding: 0.25rem 0.5rem;
  background: var(--ink-3);
  color: var(--steel-light);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  outline: none;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.35s, transform 0.35s, border-color 0.2s;
}
.footer__secret.is-shown { opacity: 1; transform: none; }
.footer__secret:focus { border-color: var(--accent); }
.footer__secret.is-shake { animation: secretShake 0.35s; }
@keyframes secretShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}


/* ---------- Easter egg: semi truck ---------- */
.nav .nav__logo { cursor: pointer; transition: transform 0.2s; }
.nav .nav__logo:hover { transform: translateY(-2px) rotate(-4deg); }

.truck {
  position: fixed;
  top: calc(var(--nav-h) + 10px);
  left: 0;
  width: 190px;
  height: auto;
  z-index: 99;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-240px);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.35));
}
.truck.is-driving {
  opacity: 1;
  animation: truckDrive 4.5s linear forwards;
}
.truck--flag {
  top: auto;
  bottom: 14px;
  width: 210px;
}
.footer__made {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline dotted rgba(255,255,255,0.35);
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.footer__made:hover { color: var(--white); text-decoration-color: var(--white); }
.truck.is-driving .truck__body {
  animation: truckBounce 0.35s ease-in-out infinite;
}
.truck.is-driving .wheel {
  transform-box: fill-box;
  transform-origin: center;
  animation: truckWheel 0.45s linear infinite;
}
@keyframes truckDrive {
  from { transform: translateX(-240px); }
  to   { transform: translateX(100vw); }
}
@keyframes truckBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-1px); }
}
@keyframes truckWheel {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .truck.is-driving { animation-duration: 0.01s; opacity: 0; }
}



/* ---------- 3D model modal ---------- */
.model {
  position: fixed; inset: 0;
  z-index: 190;
  display: grid; place-items: center;
  padding: 1rem;
}
.model[hidden] { display: none; }
.model__backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 12, 16, 0.8);
  backdrop-filter: blur(3px);
  animation: slotFade 0.25s ease both;
}
.model__panel {
  position: relative;
  width: min(1000px, 100%);
  max-height: calc(100vh - 2rem);
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  color: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  overflow: hidden;
  animation: slotPop 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.15) both;
}
.model__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem 0.75rem;
}
.model__head h3 { font-size: 1.4rem; }
.model__head .eyebrow { margin-bottom: 0.2rem; }
.model__close {
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  display: grid; place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}
.model__close svg { width: 20px; height: 20px; }
.model__close:hover { background: var(--partner); }
.model__stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  height: min(62vh, 620px);
  background: radial-gradient(ellipse at center, #22262e 0%, var(--ink) 70%);
  touch-action: none;
}
.model__stage canvas { display: block; width: 100% !important; height: 100% !important; }
.model__loading {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-head);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
}
.model__fallback {
  display: grid;
  gap: 0.75rem;
  place-items: center;
  padding: 1rem;
  text-align: center;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--font-body);
}
.model__fallback img {
  max-height: 46vh;
  width: auto;
  background: var(--white);
  border-radius: 8px;
  padding: 0.5rem;
}
.model__fallback p { font-size: 0.9rem; color: var(--steel-light); max-width: 420px; }
.model__bar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding: 0.9rem 1.25rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.model__slider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  color: var(--steel);
}
.model__slider input { flex: 1; accent-color: var(--accent); }
.model__slider output {
  min-width: 3.6em;
  text-align: right;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
}
.model__actions { display: flex; gap: 0.6rem; }
.model__hint {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  color: var(--steel);
  margin: 0;
}
@media (max-width: 640px) {
  .model { padding: 0.5rem; }
  .model__bar { grid-template-columns: 1fr; }
  .model__stage { height: 52vh; }
  .model__hint { display: none; }
}

/* ---------- Text modal (privacy) ---------- */
.model--text .model__panel { width: min(680px, 100%); }
.sheet {
  padding: 0.25rem 1.5rem 1.75rem;
  overflow-y: auto;
  color: var(--steel-light);
  line-height: 1.65;
}
.sheet h4 {
  color: var(--accent);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  margin: 1.4rem 0 0.35rem;
}
.sheet p { margin: 0; font-size: 0.95rem; }
.sheet a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.sheet a:hover { color: var(--accent); }

/* ---------- Easter egg: poker chip + slot machine ---------- */
.footer__chip {
  width: 20px; height: 20px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: inline-grid; place-items: center;
  transition: transform 0.2s;
}
.footer__chip svg { width: 100%; height: 100%; display: block; }
.footer__chip:hover { transform: rotate(25deg) scale(1.15); }
.footer__chip.is-spin { animation: chipSpin 0.6s ease-out; }

/* Peruvian lily: click for a heart */
.footer__flower {
  position: relative;
  width: 20px; height: 20px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: inline-grid; place-items: center;
  transition: transform 0.2s;
}
.footer__flower > svg { width: 100%; height: 100%; display: block; }
.footer__flower:hover { transform: scale(1.18) rotate(-12deg); }
.footer__alpaca {
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 24px; height: 24px;
  margin-bottom: 2px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px) scale(0.6);
}
.footer__alpaca svg { width: 100%; height: 100%; display: block; }
.footer__alpaca.is-shown { animation: alpacaFloat 5s ease-out forwards; }
@keyframes alpacaFloat {
  0%   { opacity: 0; transform: translate(-50%, 4px) scale(0.6); }
  10%  { opacity: 1; transform: translate(-50%, -8px) scale(1.05); }
  18%  { transform: translate(-50%, -10px) scale(1) rotate(-4deg); }
  45%  { transform: translate(-50%, -13px) scale(1) rotate(4deg); }
  75%  { opacity: 1; transform: translate(-50%, -16px) scale(1) rotate(-2deg); }
  100% { opacity: 0; transform: translate(-50%, -28px) scale(0.9); }
}
@media (prefers-reduced-motion: reduce) {
  .footer__alpaca.is-shown { animation-timing-function: linear; }
}
@keyframes chipSpin { to { transform: rotate(720deg); } }

.slot {
  position: fixed; inset: 0;
  z-index: 200;
  display: grid; place-items: center;
  padding: 1rem;
}
.slot[hidden] { display: none; }
.slot__backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 12, 16, 0.75);
  backdrop-filter: blur(3px);
  animation: slotFade 0.3s ease both;
}
.slot.is-closing .slot__backdrop { animation: slotFade 0.4s ease reverse both; }
.slot__machine {
  position: relative;
  width: min(440px, 100%);
  background: linear-gradient(180deg, #C8102E 0%, #8F0A20 100%);
  border: 6px solid #ffd66b;
  border-radius: 22px;
  padding: 1.2rem 1.4rem 1.6rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), inset 0 0 0 3px #7a0818;
  text-align: center;
  animation: slotPop 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.25) both;
}
.slot.is-closing .slot__machine { animation: slotDrop 0.4s ease-in both; }
.slot__top { display: flex; justify-content: center; gap: 0.6rem; margin-bottom: 0.6rem; }
.slot__bulb {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #ffd66b;
  box-shadow: 0 0 8px #ffd66b;
  animation: slotBlink 0.6s infinite alternate;
}
.slot__bulb:nth-child(2n) { animation-delay: 0.3s; }
.slot__title {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 800;
  font-size: 0.9rem;
  color: #ffd66b;
  margin-bottom: 0.9rem;
}
.slot__reels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  background: #2a2e36;
  border-radius: 12px;
  padding: 0.7rem;
  box-shadow: inset 0 4px 14px rgba(0,0,0,0.6);
}
.slot__reel {
  aspect-ratio: 3 / 4;
  background: linear-gradient(180deg, #ffffff 0%, #e8e7e1 50%, #ffffff 100%);
  border-radius: 8px;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 2px #c9cdd3, inset 0 10px 14px rgba(0,0,0,0.12), inset 0 -10px 14px rgba(0,0,0,0.12);
  overflow: hidden;
}
.slot__letter {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.6rem, 10vw, 3.6rem);
  color: var(--accent);
  line-height: 1;
  transition: filter 0.1s;
}
.slot__reel.is-spinning .slot__letter { filter: blur(2px); animation: slotJitter 0.08s infinite; }
.slot__reel.is-stopped { box-shadow: inset 0 0 0 3px #ffd66b, inset 0 10px 14px rgba(0,0,0,0.12), inset 0 -10px 14px rgba(0,0,0,0.12); }
.slot__reel.is-stopped .slot__letter { animation: slotLand 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.4); }
.slot__banner {
  margin-top: 0.9rem;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 800;
  font-size: 1.1rem;
  color: #ffffff;
  min-height: 1.4em;
}
.slot__banner.is-win { color: #ffd66b; animation: slotBlink 0.35s infinite alternate; }
.slot__lever {
  position: absolute;
  right: -26px; top: 40px;
  width: 20px; height: 90px;
}
.slot__lever-arm {
  position: absolute;
  left: 7px; top: 12px;
  width: 6px; height: 70px;
  background: #c9cdd3;
  border-radius: 3px;
  transform-origin: bottom center;
  animation: slotLever 0.7s ease-in-out 0.2s both;
}
.slot__lever-knob {
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff6b6b, #C8102E);
  transform-origin: 10px 82px;
  animation: slotLever 0.7s ease-in-out 0.2s both;
}
@keyframes slotFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes slotPop { from { opacity: 0; transform: translateY(30px) scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes slotDrop { to { opacity: 0; transform: translateY(40px) scale(0.9); } }
@keyframes slotBlink { from { opacity: 1; } to { opacity: 0.35; } }
@keyframes slotJitter { 0% { transform: translateY(-3px); } 100% { transform: translateY(3px); } }
@keyframes slotLand { 0% { transform: translateY(-40%); } 100% { transform: none; } }
@keyframes slotLever { 0%, 100% { transform: rotate(0); } 40% { transform: rotate(-35deg); } }
@media (max-width: 520px) { .slot__lever { display: none; } }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--ink-2);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.2rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav.is-scrolled, .nav.is-open { background: var(--ink); }
}

@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature { border-bottom: 1px solid #ecebe6; }
  .feature:nth-child(2n) { border-right: 0; }
  .pricing-col { position: static; }
  .split, .cta__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .compare { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .pgallery { justify-self: stretch; max-width: 420px; }
  .partner__inner { grid-template-columns: 1fr; gap: 2rem; }
  .partner__actions { flex-direction: row; flex-wrap: wrap; }
  .partner__actions .btn { flex: 1 1 200px; }
  .partner__logo { flex-basis: 100%; max-width: 420px; }
  .partner__email { flex-basis: 100%; text-align: left; }
  .photo { aspect-ratio: 16 / 9; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav__brand { font-size: clamp(1.15rem, 5.2vw, 1.6rem); letter-spacing: 0.04em; }
  .nav__tagline { font-size: 0.55rem; letter-spacing: 0.1em; }
  .nav__logo { width: 30px; height: 27px; }

  .section { padding: 4rem 0; }
  .grid--4 { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .feature { border-right: 0; }
  .specs > div { grid-template-columns: 1fr; gap: 0.2rem; }
  .pricing { padding: 2rem 1.5rem; }
  .pricing__amount { font-size: 3.8rem; }
  .form__row, .form__row--3 { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .hero__stats { gap: 1.5rem; }
  .hero__stats-row { justify-content: center; }
  .hero__stats-row > div { align-items: center; text-align: center; }

}
