/* Jaybee Transformers — editorial layout, Jaybee Industries color theme */
:root {
  --maroon: #8b2a38;
  --maroon-deep: #5c1a24;
  --maroon-soft: #b84554;
  --maroon-glow: rgba(139, 42, 56, 0.18);
  --text: #16181b;
  --muted: #5c6570;
  --white: #ffffff;
  --grey-50: #f7f8fa;
  --grey-100: #eef0f3;
  --grey-200: #d5d8dc;
  --line: rgba(22, 24, 27, 0.1);
  --shadow: 0 20px 50px rgba(22, 24, 27, 0.08);
  --radius: 12px;
  --max: 1140px;
  --header-h: 4.5rem;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--grey-50);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Top bar */
.topbar {
  background: var(--maroon-deep);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 0.45rem;
  flex-wrap: wrap;
}

.topbar-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar a {
  color: #fff;
  font-weight: 600;
}

.topbar a:hover { opacity: 0.85; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 24px rgba(22, 24, 27, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo img {
  height: 52px;
  width: auto;
  max-width: min(200px, 42vw);
  object-fit: contain;
}

.logo-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.15;
}

.logo-text span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
}

.site-footer .logo img {
  height: 48px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.main-nav a {
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--maroon);
  border-bottom-color: var(--maroon);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.55rem 1.15rem !important;
  background: var(--maroon);
  color: #fff !important;
  border-radius: 999px;
  border-bottom: none !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--maroon-deep);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 4px 0;
  border-radius: 2px;
}

/* Hero — split editorial */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - var(--header-h) - 2rem);
  max-height: 780px;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem 4rem max(1.25rem, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(160deg, var(--white) 0%, var(--grey-100) 100%);
  position: relative;
}

.hero-content::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(transparent, var(--grey-200), transparent);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 1.25rem;
}

.hero-eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--maroon);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.12;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--maroon);
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 34ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-mail {
  margin-top: 1.25rem;
  font-size: 0.95rem;
}

.hero-mail a {
  color: var(--maroon);
  font-weight: 600;
  border-bottom: 1px solid rgba(139, 42, 56, 0.35);
}

.hero-visual img {
  mix-blend-mode: normal;
  opacity: 1;
}

.card-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--maroon);
}

/* Product auto-slider */
.product-slider-section { overflow: hidden; }

.section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  max-width: none;
  margin-bottom: 1.75rem;
}

.section-head--row > div:first-child { max-width: 620px; }

.slider-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.slider-btn {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  border-radius: 999px;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.85rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.slider-btn:hover {
  border-color: var(--maroon);
  color: var(--maroon);
}

.slider-btn--pause {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-width: 6.5rem;
}

.slider-btn--pause.is-paused {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
}

.product-slider {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  margin-inline: calc(50% - 50vw);
  padding-inline: max(1.25rem, calc((100vw - var(--max)) / 2));
  width: 100vw;
}

.product-slider.is-dragging { cursor: grabbing; }

.product-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  will-change: transform;
}

.product-slide {
  flex: 0 0 260px;
  width: 260px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(22, 24, 27, 0.04);
  transition: box-shadow 0.25s, transform 0.25s;
}

.product-slide:hover {
  box-shadow: var(--shadow);
}

.product-slide-media {
  display: block;
  height: 150px;
  overflow: hidden;
  background: var(--grey-100);
}

.product-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.product-slide-body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-slide-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 0.45rem 0 0.4rem;
}

.product-slide-body h3 a:hover { color: var(--maroon); }

.product-slide-body p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0.65rem;
  flex: 1;
}

.product-slide-body .tag {
  align-self: flex-start;
  font-size: 0.65rem;
}

.slider-hint {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 768px) {
  .section-head--row {
    flex-direction: column;
    align-items: flex-start;
  }
  .product-slide {
    flex-basis: 220px;
    width: 220px;
  }
  .product-slide-media { height: 130px; }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.product-card-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-card-body { padding: 1.25rem; }

.product-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0.5rem 0 0.35rem;
}

.product-card-body p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.product-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-card-actions .btn {
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
}

.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.product-detail-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.product-detail-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.product-detail-copy h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
}

.product-detail-copy .lede {
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.related-list a { color: var(--maroon); font-weight: 600; }

.cta-band a { color: #fff; }

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-detail { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .product-grid { grid-template-columns: 1fr; }
  .logo-text { display: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--maroon);
  color: #fff;
  box-shadow: 0 10px 28px var(--maroon-glow);
}

.btn-primary:hover {
  background: var(--maroon-deep);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--grey-200);
  color: var(--text);
  background: var(--white);
}

.btn-outline:hover {
  border-color: var(--maroon);
  color: var(--maroon);
}

.hero-visual {
  position: relative;
  background:
    linear-gradient(135deg, var(--maroon-deep) 0%, var(--maroon) 55%, #a33a48 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  mix-blend-mode: normal;
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(92, 26, 36, 0.75) 0%, transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.12), transparent 40%);
}

.hero-stat-card {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  right: 2.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  box-shadow: var(--shadow);
}

.hero-stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--maroon);
  line-height: 1;
}

.hero-stat-card span {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Stats strip */
.stats-strip {
  background: var(--maroon);
  color: #fff;
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stats-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.stats-grid span {
  font-size: 0.85rem;
  opacity: 0.88;
}

/* Sections */
section { padding: 5rem 0; }

.section-head {
  max-width: 620px;
  margin-bottom: 2.75rem;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 0.65rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-head p { color: var(--muted); }

/* Bento product grid */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.bento-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.25s, transform 0.25s;
}

.bento-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.bento-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.bento-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--maroon);
  background: rgba(139, 42, 56, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.bento-card:nth-child(1) { grid-column: span 5; }
.bento-card:nth-child(2) { grid-column: span 4; }
.bento-card:nth-child(3) { grid-column: span 3; }
.bento-card:nth-child(4) { grid-column: span 4; }
.bento-card:nth-child(5) { grid-column: span 4; }
.bento-card:nth-child(6) { grid-column: span 4; }

.bento-card.featured {
  grid-column: span 7;
  background: linear-gradient(145deg, var(--maroon-deep), var(--maroon));
  color: #fff;
  border: none;
}

.bento-card.featured p,
.bento-card.featured .tag { color: rgba(255,255,255,0.85); }
.bento-card.featured .tag { background: rgba(255,255,255,0.15); }
.bento-card.featured h3 { color: #fff; }

/* Two-column feature */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--grey-100);
  font-size: 0.95rem;
}

.check-list li:last-child { border-bottom: none; }

.check-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--maroon);
  border-radius: 50%;
  margin-top: 0.55rem;
  flex-shrink: 0;
}

/* CTA band */
.cta-band {
  background: var(--text);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
}

.cta-band .btn-primary { background: var(--maroon-soft); }
.cta-band .btn-primary:hover { background: var(--maroon); }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--maroon-deep) 0%, var(--maroon) 100%);
  color: #fff;
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,0.1), transparent 35%),
    repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(255,255,255,0.03) 20px, rgba(255,255,255,0.03) 21px);
}

.page-hero .container { position: relative; }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin-bottom: 0.65rem;
}

.page-hero p {
  max-width: 55ch;
  opacity: 0.9;
  font-size: 1.05rem;
}

/* Content blocks */
.content-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.content-block h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--maroon);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.icon-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.icon-card .icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(139, 42, 56, 0.1);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

.icon-card h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.icon-card p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--grey-200);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-2rem - 6px);
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--maroon);
  box-shadow: 0 0 0 4px var(--maroon-glow);
}

.timeline-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--maroon);
  margin-bottom: 0.25rem;
}

.timeline-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Product table */
.product-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.product-table th,
.product-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--grey-100);
}

.product-table th {
  background: var(--grey-50);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.product-table tr:last-child td { border-bottom: none; }

.product-table tr:hover td { background: rgba(139, 42, 56, 0.03); }

/* Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
}

.contact-info {
  background: var(--maroon-deep);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.contact-info li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 0.95rem;
}

.contact-info li:last-child { border-bottom: none; }

.contact-info a { color: #fff; font-weight: 600; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  background: var(--grey-50);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--maroon);
  background: var(--white);
}

.form-group textarea { min-height: 120px; resize: vertical; }

/* Footer */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo-text strong { color: #fff; }
.footer-brand .logo-text span { color: rgba(255,255,255,0.5); }

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
}

.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }

/* Responsive */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; max-height: none; }
  .hero-content { padding: 3rem 1.25rem; }
  .hero-content::after { display: none; }
  .hero-visual { min-height: 320px; }
  .hero-stat-card { position: relative; bottom: auto; left: auto; right: auto; margin: -2rem 1.25rem 0; }
  .bento-card:nth-child(n) { grid-column: span 6; }
  .bento-card.featured { grid-column: span 12; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: calc(var(--header-h) + 2rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.75rem;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.25s;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    width: 100%;
    border-bottom: none;
    border-left: 3px solid transparent;
    padding: 0.75rem 1rem;
  }

  .main-nav a.active,
  .main-nav a:hover {
    border-left-color: var(--maroon);
    background: var(--grey-50);
  }

  .nav-cta { margin-left: 0; }

  .hero-stat-card { grid-template-columns: 1fr; }
  .bento-card:nth-child(n) { grid-column: span 12; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
