/* ==========================================================================
   Moutiers Sports Canada (moutierstourisme.com)
   Design System & Responsive Stylesheet
   ========================================================================== */

:root {
  --bg-page: #f6f8f7;
  --bg-card: #ffffff;
  --bg-subtle: #edf2f0;
  --bg-dark: #0d221d;
  --bg-dark-elevated: #14322b;
  --bg-dark-soft: #1c4239;

  --text-primary: #101c19;
  --text-secondary: #374a45;
  --text-muted: #4b615b;
  --text-on-dark: #f2f7f5;
  --text-on-dark-muted: #c2d4ce;

  --accent: #c81e2b;
  --accent-hover: #a51621;
  --accent-soft: rgba(200, 30, 43, 0.09);
  --accent-ice: #0284c7;
  --accent-ice-soft: rgba(2, 132, 199, 0.1);
  --accent-pine: #195e4c;

  --border: #dce5e1;
  --border-dark: rgba(255, 255, 255, 0.12);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(13, 34, 29, 0.05);
  --shadow-md: 0 10px 28px rgba(13, 34, 29, 0.08);
  --shadow-lg: 0 20px 48px rgba(13, 34, 29, 0.14);

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1240px;
  --header-h: 58px;
  --transition: 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-page);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition);
}

h1, h2, h3, h4, h5 {
  margin: 0 0 0.6em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  margin: 0 0 1.2em;
  padding-left: 1.25rem;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 16px;
}

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

.section {
  padding: 80px 0;
}

.section--tight {
  padding: 56px 0;
}

.section--white {
  background: var(--bg-card);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #ffffff;
}

.section--dark p {
  color: var(--text-on-dark-muted);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
}

.section-header--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section--dark .eyebrow {
  color: #f87171;
}

.section--dark .eyebrow::before {
  background: #f87171;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 10px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
}

/* Multi-column Flex Layouts */
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: stretch;
}

.grid-2 > * {
  flex: 0 0 calc((100% - 28px) / 2);
  min-width: 0;
}

.grid-3 > * {
  flex: 0 0 calc((100% - 56px) / 3);
  min-width: 0;
}

.grid-4 > * {
  flex: 0 0 calc((100% - 84px) / 4);
  min-width: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition), color var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(200, 30, 43, 0.25);
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 12px 24px rgba(200, 30, 43, 0.32);
}

.btn--dark {
  background: var(--bg-dark);
  color: #ffffff;
}

.btn--dark:hover {
  background: var(--bg-dark-elevated);
}

.btn--outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text-primary);
}

.btn--outline:hover {
  border-color: var(--bg-dark);
  background: var(--bg-subtle);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.85rem;
}

/* ==========================================================================
   Top Utility Bar & Site Header
   ========================================================================== */
.topbar {
  background: var(--bg-dark);
  color: var(--text-on-dark-muted);
  font-size: 0.74rem;
  border-bottom: 1px solid var(--border-dark);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 28px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.topbar__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #e6f0ec;
  font-weight: 500;
}

.topbar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar__links a:hover {
  color: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.brand__logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--bg-dark);
  letter-spacing: -0.03em;
}

.brand__name span {
  color: var(--accent);
}

.brand__tag {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--bg-dark);
  background: var(--bg-subtle);
}

.main-nav a.is-active {
  color: var(--accent);
  background: var(--accent-soft);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__actions .btn--sm {
  padding: 7px 14px;
  font-size: 0.8rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--bg-dark);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  padding: 16px 24px 24px;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.mobile-nav__list a {
  display: block;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.mobile-nav__list a:hover,
.mobile-nav__list a.is-active {
  background: var(--accent-soft);
  color: var(--accent);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: #ffffff;
  overflow: hidden;
  padding: 84px 0 76px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
  transform: scale(1.02);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13, 34, 29, 0.94) 0%, rgba(13, 34, 29, 0.78) 52%, rgba(13, 34, 29, 0.45) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero__inner > :first-child {
  flex: 1.2 1 0;
  min-width: 0;
}

.hero__inner > :last-child {
  flex: 0.8 1 0;
  min-width: 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f3f7f5;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2.25rem, 4.8vw, 3.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero__title span {
  color: #ff6b76;
}

.hero__desc {
  font-size: 1.1rem;
  color: #d0dfd9;
  max-width: 580px;
  margin-bottom: 30px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 560px;
}

.hero__stats > div {
  flex: 1 1 0;
  min-width: 140px;
}

.hero__stat-val {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.hero__stat-label {
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
  margin-top: 4px;
}

.hero__panel {
  background: rgba(20, 50, 43, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.hero__panel-title {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero__panel-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__panel-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition), transform var(--transition);
}

.hero__panel-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(3px);
}

.hero__panel-item strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
}

.hero__panel-item small {
  color: var(--text-on-dark-muted);
  font-size: 0.8rem;
}

.hero__panel-arrow {
  color: #ff6b76;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ==========================================================================
   Page Hero (Inner Pages)
   ========================================================================== */
.page-hero {
  background: var(--bg-dark);
  color: #ffffff;
  padding: 60px 0 54px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(200, 30, 43, 0.22), transparent 55%),
              radial-gradient(circle at 15% 80%, rgba(2, 132, 199, 0.16), transparent 50%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 0.84rem;
  color: var(--text-on-dark-muted);
}

.breadcrumb a:hover {
  color: #ffffff;
}

.breadcrumb li[aria-current="page"] {
  color: #ffffff;
  font-weight: 600;
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #ffffff;
  margin-bottom: 14px;
}

.page-hero__lead {
  font-size: 1.08rem;
  color: #cedfd9;
  max-width: 680px;
}

/* ==========================================================================
   Category Cards
   ========================================================================== */
.cat-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #bfd0c9;
}

.cat-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-dark);
}

.cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.cat-card:hover .cat-card__media img {
  transform: scale(1.05);
}


.cat-card__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cat-card__title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.cat-card__desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  flex: 1;
}

.cat-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
}

.cat-card:hover .cat-card__link {
  gap: 10px;
}

/* ==========================================================================
   Catalog Filter Bar & Product Cards
   ========================================================================== */
.guide-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-page);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-pill:hover {
  border-color: var(--bg-dark);
  color: var(--bg-dark);
}

.filter-pill.is-active {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: #ffffff;
}

.guide-search {
  position: relative;
  min-width: 240px;
  flex: 0 1 300px;
}

.guide-search input {
  width: 100%;
  padding: 9px 14px 9px 38px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-page);
  font-size: 0.9rem;
}

.guide-search input:focus {
  outline: none;
  border-color: var(--bg-dark);
  background: #ffffff;
}

.guide-search svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.guide-card[hidden] {
  display: none;
}

.guide-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-subtle);
}

.guide-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}




.guide-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.guide-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.guide-card__title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.guide-card__specs {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex: 1;
}

.guide-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}



.empty-state {
  flex: 1 0 100%;
  text-align: center;
  padding: 48px 24px;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
}

/* ==========================================================================
   Feature / Trust Cards & Split Editorial Blocks
   ========================================================================== */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.section--dark .feature-card {
  background: var(--bg-dark-elevated);
  border-color: var(--border-dark);
}

.feature-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.section--dark .feature-card__icon {
  background: rgba(200, 30, 43, 0.22);
  color: #ff8089;
}

.feature-card__title {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.split-feature {
  display: flex;
  align-items: center;
  gap: 48px;
}

.split-feature > * {
  flex: 1 1 0;
  min-width: 0;
}

.split-feature__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.split-feature__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.6;
}

.check-list li strong {
  color: var(--text-primary);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Data Tables (Sizing & Comparison)
   ========================================================================== */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  min-width: 600px;
}

.data-table th,
.data-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table thead th {
  background: var(--bg-dark);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background: var(--bg-page);
}

/* ==========================================================================
   FAQ Accordion (Native <details>)
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 22px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item[open] {
  border-color: var(--bg-dark);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--accent);
  font-weight: 400;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item__body {
  padding: 0 0 20px;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

/* ==========================================================================
   Forms & Contact Layout
   ========================================================================== */
.contact-grid {
  display: flex;
  align-items: flex-start;
  gap: 36px;
}

.contact-grid > :first-child {
  flex: 1.15 1 0;
  min-width: 0;
}

.contact-grid > :last-child {
  flex: 0.85 1 0;
  min-width: 0;
}

.card-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.form-group {
  flex: 0 0 calc((100% - 18px) / 2);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full {
  flex: 1 0 100%;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-page);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--bg-dark);
  background: #ffffff;
}

.form-feedback {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  display: none;
}

.form-feedback.is-visible {
  display: block;
}

.form-feedback--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.form-feedback--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* ==========================================================================
   Prose / Legal Pages
   ========================================================================== */
.prose {
  max-width: 820px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}

.prose h2 {
  font-size: 1.45rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.prose h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.prose p,
.prose li {
  color: var(--text-secondary);
}

.prose ul li {
  margin-bottom: 0.45rem;
}

/* ==========================================================================
   Native <dialog> Quick Specs Modal
   ========================================================================== */
.gear-dialog {
  width: min(640px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.gear-dialog::backdrop {
  background: rgba(10, 24, 20, 0.65);
  backdrop-filter: blur(4px);
}

.gear-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--border);
}

.gear-dialog__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-page);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gear-dialog__close:hover {
  background: var(--bg-dark);
  color: #ffffff;
  border-color: var(--bg-dark);
}

.gear-dialog__body {
  padding: 24px;
}

.gear-dialog__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 18px;
  max-height: 260px;
}

.gear-dialog__media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.gear-dialog__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
  padding: 16px;
  background: var(--bg-page);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.gear-dialog__specs > div {
  flex: 0 0 calc((100% - 12px) / 2);
  min-width: 0;
}

.gear-dialog__spec-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.gear-dialog__spec-val {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-primary);
}

.gear-dialog__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 24px 22px;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark-muted);
  padding: 68px 0 32px;
  border-top: 4px solid var(--accent);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-grid > div {
  flex: 1 1 180px;
  min-width: 0;
}

.footer-grid > div:first-child {
  flex: 1.4 1 240px;
}

.footer-grid > div:last-child {
  flex: 1.15 1 220px;
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.footer__brand-name span {
  color: #ff6b76;
}

.footer__about {
  font-size: 0.92rem;
  margin-top: 14px;
  max-width: 340px;
}

.footer__title {
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}

.footer__links a:hover {
  color: #ffffff;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 26px;
  font-size: 0.84rem;
}

/* ==========================================================================
   Cookie Banner & Back-to-Top
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 540px;
  z-index: 1200;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-lg);
  display: none;
  gap: 14px;
  flex-direction: column;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  margin: 0;
}

.cookie-banner a {
  color: #ffffff;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }

  .header__actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
  }

  .grid-4 > * {
    flex: 0 0 calc((100% - 28px) / 2);
  }

  .footer-grid > div,
  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    flex: 0 0 calc((100% - 40px) / 2);
  }
}

@media (max-width: 820px) {
  .section {
    padding: 56px 0;
  }

  .grid-3 > *,
  .grid-2 > * {
    flex: 0 0 100%;
  }

  .split-feature,
  .contact-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .form-group {
    flex: 0 0 100%;
  }

  .topbar__links,
  .hero__panel {
    display: none;
  }

  .prose {
    padding: 28px 22px;
  }
}

@media (max-width: 540px) {
  .container {
    padding: 0 18px;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .hero__stats {
    flex-direction: column;
    gap: 14px;
  }

  .grid-4 > * {
    flex: 0 0 100%;
  }

  .footer-grid {
    gap: 28px;
  }

  .footer-grid > div,
  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    flex: 0 0 100%;
  }

  .guide-toolbar {
    padding: 14px;
  }

  .guide-search {
    flex: 1 1 100%;
    min-width: 0;
  }

  .gear-dialog__specs > div {
    flex: 0 0 100%;
  }
}

/* Accessibility: Reduced Motion & High Contrast Focus */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Editorial Utilities & Component Modifiers */
.btn--full {
  width: 100%;
}

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

.card-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 700;
}

.brand--footer {
  margin-bottom: 8px;
}

.brand__tag--dark {
  color: #b5cbc4;
}

.hero__panel-edition {
  font-size: 0.78rem;
  color: #b5cbc4;
  font-weight: 600;
}

.section-lead--dark {
  color: var(--text-on-dark-muted);
}

.guide-card__usecase {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.gear-dialog__eyebrow {
  margin-bottom: 4px;
}

.gear-dialog__title {
  margin: 0;
  font-size: 1.28rem;
}

.gear-dialog__desc {
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.gear-dialog__kicker {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.gear-dialog__usecase {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--bg-dark);
}

.benchmark-panel {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-color: var(--border-dark);
}

.benchmark-panel .eyebrow {
  color: #ff8089;
}

.benchmark-panel .eyebrow::before {
  background: #ff8089;
}

.benchmark-panel__title {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.benchmark-panel__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.benchmark-panel__item {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.benchmark-panel__item strong {
  color: #ffffff;
  display: block;
  margin-bottom: 4px;
}

.benchmark-panel__item span {
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
}

.section-title--sm {
  font-size: 1.55rem;
}

.form-actions {
  margin-top: 20px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 18px;
}

.contact-details__title {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.contact-details__text {
  color: var(--text-secondary);
  font-size: 0.94rem;
}
