/* GUNR Website — components.css */

/* ============================================================
   TABLE OF CONTENTS
   1. Header
   2. Footer
   3. Buttons
   4. Suite Cards
   5. Trust Bar
   6. Testimonial Carousel
   7. FAQ Accordion
   8. Store Badges
   9. Cross-link Cards
   10. Cookie Consent Banner
   ============================================================ */

/* ============================================================
   1. HEADER
   ============================================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.header.scrolled {
  background: rgba(43, 45, 43, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-shrink: 0;
  text-decoration: none;
  color: var(--color-text);
}

.header__logo-img {
  height: 48px;
  width: auto;
}

/* Nav */
.header__nav {
  display: none;
}

@media (min-width: 1024px) {
  .header__nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
  }
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.header__nav-item {
  position: relative;
}

.header__nav-link {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.header__nav-link:hover {
  color: var(--color-primary);
}

.header__nav-link.is-active {
  color: var(--color-primary-accessible);
  border-bottom-color: var(--color-primary);
}

/* Apps dropdown trigger */
.header__nav-link--dropdown {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 0;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.header__nav-link--dropdown:hover {
  color: var(--color-primary);
}

.header__nav-link--dropdown.is-active {
  color: var(--color-primary-accessible);
  border-bottom-color: var(--color-primary);
}

.header__dropdown-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.header__nav-item.is-open .header__dropdown-chevron {
  transform: rotate(180deg);
}

/* Apps dropdown panel */
.header__dropdown {
  position: absolute;
  top: calc(100% + var(--space-md));
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-bg-dark);
  border: 1px solid var(--color-bg-light);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) 0;
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateX(-50%) translateY(-8px);
}

.header__nav-item.is-open .header__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.header__dropdown-list {
  list-style: none;
}

.header__dropdown-link {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  color: var(--color-text);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.header__dropdown-link:hover {
  color: var(--color-primary-on-dark);
  background: rgba(var(--color-primary-rgb), 0.15);
}

.header__dropdown-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
  background: rgba(var(--color-primary-rgb), 0.12);
}

/* Hamburger button */
.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .header__hamburger {
    display: none;
  }
}

.header__hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.header__hamburger.is-open .header__hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__hamburger.is-open .header__hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__hamburger.is-open .header__hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile slide-in panel */
.header__mobile-nav {
  position: fixed;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  width: 280px;
  background: var(--color-bg-dark);
  border-left: 1px solid var(--color-bg-light);
  padding: var(--space-xl) var(--container-padding);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  z-index: 999;
}

.header__mobile-nav.is-open {
  transform: translateX(0);
}

@media (min-width: 1024px) {
  .header__mobile-nav {
    display: none;
  }
}

.header__mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.header__mobile-nav-link {
  display: block;
  padding: var(--space-md) 0;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--color-bg-light);
  transition: color 0.2s ease;
}

.header__mobile-nav-link:hover,
.header__mobile-nav-link.is-active {
  color: var(--color-primary-accessible);
}

/* Mobile apps dropdown button */
.header__mobile-nav-link--dropdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

/* Mobile download button wrapper */
.header__mobile-download {
  padding-top: var(--space-lg);
}

.header__mobile-download .btn {
  width: 100%;
  justify-content: center;
}

/* Mobile apps submenu */
.header__mobile-submenu {
  list-style: none;
  padding-left: var(--space-md);
}

.header__mobile-submenu-link {
  display: block;
  padding: var(--space-sm) 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  text-decoration: none;
  border-bottom: 1px solid var(--color-divider);
  transition: color 0.2s ease;
}

.header__mobile-submenu-link:hover {
  color: var(--color-primary-on-dark);
}

/* Overlay behind mobile panel */
.header__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.header__overlay.is-open {
  display: block;
}

@media (min-width: 1024px) {
  .header__overlay {
    display: none !important;
  }
}


.header__wordmark {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 1px;
}


/* ============================================================
   2a. CONTACT SECTION (above footer)
   ============================================================ */

.contact-section {
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-divider);
  padding: var(--space-5xl) 0;
}

.contact-section__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  max-width: 640px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .contact-section__inner {
    max-width: 900px;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-5xl);
    align-items: start;
  }
}

.contact-section__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.contact-section__text {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* Contact form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact__form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.contact__form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact__form-input,
.contact__form-textarea {
  background: var(--color-bg);
  border: 1px solid var(--color-bg-light);
  border-radius: var(--radius-sm);
  padding: 10px var(--space-md);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s ease;
  width: 100%;
  min-height: 44px;
}

.contact__form-input:focus,
.contact__form-textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-color: var(--color-primary);
}

.contact__form-input::placeholder,
.contact__form-textarea::placeholder {
  color: var(--color-text-muted);
}

.contact__form-textarea {
  min-height: 120px;
  resize: vertical;
}

.contact__form-submit {
  align-self: flex-start;
  background: var(--color-btn-primary-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px var(--space-xl);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  min-height: 44px;
}

.contact__form-submit:hover {
  background: var(--color-btn-primary-hover);
}

.contact__form-submit:active {
  transform: scale(0.98);
}

.contact__form-submit:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.contact__form-status {
  display: none;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
}

.contact__form-status.is-visible {
  display: block;
}

.contact__form-status--success {
  background: rgba(74, 222, 128, 0.25);
  border: 1px solid var(--color-success);
  color: var(--color-success);
}

.contact__form-status--error {
  background: rgba(var(--color-error-rgb), 0.25);
  border: 1px solid var(--color-error);
  color: var(--color-error);
}

/* ============================================================
   2b. FOOTER (navigation-only)
   ============================================================ */

.footer {
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-divider);
  padding: var(--space-xl) 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

@media (min-width: 640px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
  }
}

/* Link columns */
.footer__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

@media (min-width: 640px) {
  .footer__links {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3xl);
  }
}

.footer__links-column-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.footer__links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__links-link {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(var(--color-primary-rgb), 0.3);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  display: inline-block;
  padding: 4px 0;
}

.footer__links-link:hover {
  color: var(--color-primary-on-dark);
  text-decoration-color: var(--color-primary-on-dark);
}

/* Store badges in footer */
.footer__badges {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Footer bottom bar */
.footer__bottom {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-divider);
  text-align: center;
}

@media (min-width: 640px) {
  .footer__bottom {
    text-align: left;
  }
}

.footer__copyright {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}


/* ============================================================
   3. BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius-sm);
  padding: 14px var(--space-xl);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease, opacity 0.2s ease;
  white-space: nowrap;
}

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

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

.btn--primary:active {
  transform: scale(0.97);
}

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

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

.btn--outline:active {
  transform: scale(0.97);
}

.btn--disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.btn--sm {
  font-size: 0.875rem;
  padding: 10px var(--space-lg);
}

.btn--lg {
  font-size: 1.0625rem;
  padding: 18px var(--space-2xl);
}


/* ============================================================
   4. SUITE CARDS
   ============================================================ */

.suite-card {
  position: relative;
  background: var(--color-bg-dark);
  border-radius: var(--radius-sm);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.suite-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.suite-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
}

.suite-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary-on-dark);
  margin-bottom: var(--space-sm);
}

.suite-card__description {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.suite-card__badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: rgba(var(--color-primary-rgb), 0.15);
  color: var(--color-primary-accessible);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(var(--color-primary-rgb), 0.3);
}


/* ============================================================
   5. HERO TRUST INDICATORS
   ============================================================ */

.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.hero__trust-primary,
.hero__trust-secondary {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__trust-primary .hero__trust-number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.hero__trust-primary .hero__trust-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.hero__trust-divider {
  width: 1px;
  height: 48px;
  background: var(--color-bg-light);
  flex-shrink: 0;
}

.hero__trust-secondary .hero__trust-number {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.hero__trust-secondary .hero__trust-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Trust bar — used on security page */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.trust-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-md) var(--space-xl);
  flex: 1 1 50%;
  position: relative;
}

@media (min-width: 640px) {
  .trust-bar__item {
    flex: 1 1 auto;
  }
}

.trust-bar__item + .trust-bar__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--color-bg-light);
  display: none;
}

@media (min-width: 640px) {
  .trust-bar__item + .trust-bar__item::before {
    display: block;
  }
}

.trust-bar__number {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.trust-bar__label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}


/* ============================================================
   6. TESTIMONIAL CAROUSEL
   ============================================================ */

.carousel {
  position: relative;
  overflow: hidden;
  padding: 0 56px;
}

.carousel__track {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}

.carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  padding: var(--space-sm);
}

.carousel__card {
  background: var(--color-bg-dark);
  border-radius: var(--radius-sm);
  padding: var(--space-xl) var(--space-lg);
  height: 100%;
  box-shadow: var(--shadow-card);
}

.carousel__quote {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.carousel__quote::before {
  content: '\201C';
  color: var(--color-primary);
  font-size: 2rem;
  font-style: normal;
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 4px;
}

.carousel__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.carousel__author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-bg-light);
  flex-shrink: 0;
}

.carousel__author-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
  margin-bottom: 2px;
}

.carousel__author-meta {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Arrow buttons */
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-bg-dark);
  border: 1px solid var(--color-bg-light);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.carousel__btn:hover {
  background: var(--color-bg-light);
  border-color: var(--color-primary);
}

.carousel__btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-color: var(--color-primary);
}

.carousel__btn--prev {
  left: 4px;
}

.carousel__btn--next {
  right: 4px;
}

.carousel__btn svg {
  width: 20px;
  height: 20px;
  color: var(--color-text);
}

/* Dot indicators */
.carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--color-bg-light);
  border: none;
  cursor: pointer;
  /* 18px padding = 8px dot + 36px = 44px touch target */
  padding: 18px;
  background-clip: content-box;
  box-sizing: content-box;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel__dot:hover {
  background: var(--color-text-muted);
  background-clip: content-box;
}

.carousel__dot.is-active {
  background: var(--color-primary);
  background-clip: content-box;
  transform: scale(1.25);
}

/* Touch sizing for mobile */
@media (max-width: 1023px) {
  .carousel {
    padding: 0 var(--space-2xl);
  }

  .carousel__btn {
    width: 44px;
    height: 44px;
  }
}

.carousel__dot:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}


/* ============================================================
   7. FAQ ACCORDION
   ============================================================ */

.accordion {
  display: flex;
  flex-direction: column;
}

.accordion__item {
  border-bottom: 1px solid var(--color-divider);
}

.accordion__item:first-child {
  border-top: 1px solid var(--color-divider);
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-lg) 0;
  cursor: pointer;
  text-align: left;
}

.accordion__question {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  transition: color 0.2s ease;
}

.accordion__trigger:hover .accordion__question {
  color: var(--color-primary);
}

.accordion__trigger:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.accordion__item.is-open .accordion__question {
  color: var(--color-primary-accessible);
}

.accordion__chevron {
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.2s ease;
}

.accordion__item.is-open .accordion__chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion__item.is-open .accordion__content {
  /* JS sets this inline via scrollHeight for dynamic content */
  max-height: var(--accordion-height, 600px);
}

.accordion__answer {
  padding-bottom: var(--space-lg);
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

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


/* ============================================================
   8. STORE BADGES
   ============================================================ */

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.store-badges--left {
  justify-content: flex-start;
}

.store-badge {
  display: inline-block;
  flex-shrink: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.store-badge img {
  height: 44px;
  width: auto;
  display: block;
}

@media (min-width: 1024px) {
  .store-badge img {
    height: 48px;
  }
}


/* ============================================================
   9. CROSS-LINK CARDS
   ============================================================ */

.cross-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .cross-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cross-links {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ============================================================
   10. STICKY DOWNLOAD BAR
   ============================================================ */

.sticky-download {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  background: rgba(31, 34, 32, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-divider);
  padding: var(--space-sm) var(--container-padding);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  pointer-events: none;
}

.sticky-download.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

/* Hide sticky download when consent banner is visible to avoid z-index collision */
body:has(.consent-banner.is-visible) .sticky-download {
  transform: translateY(100%) !important;
  pointer-events: none;
}

.sticky-download__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  max-width: var(--container-max);
  margin: 0 auto;
}

.sticky-download__text {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

.sticky-download__badges {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.sticky-download__badges .store-badge img {
  height: 36px;
}

.sticky-download__close {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: var(--space-sm);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.sticky-download__close:hover {
  color: var(--color-text);
}

/* Mobile: hide text, show badges only */
@media (max-width: 639px) {
  .sticky-download__text {
    display: none;
  }

  .sticky-download__inner {
    justify-content: center;
  }
}

/* Reduced motion handled in consolidated block at end of file */


/* ============================================================
   10. COOKIE CONSENT BANNER
   ============================================================ */

.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-divider);
  padding: var(--space-md) var(--container-padding);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.consent-banner.is-visible {
  transform: translateY(0);
}

.consent-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.consent-banner__text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0;
  flex: 1;
}

.consent-banner__link {
  color: var(--color-primary-on-dark);
  text-decoration: underline;
}

.consent-banner__link:hover {
  color: var(--color-primary-hover);
}

.consent-banner__actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.consent-banner__btn {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.consent-banner__btn--accept {
  background: var(--color-btn-primary-bg);
  color: var(--color-text);
}

.consent-banner__btn--accept:hover {
  background: var(--color-btn-primary-hover);
}

.consent-banner__btn--reject {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-bg-light);
}

.consent-banner__btn--reject:hover {
  background: var(--color-bg-light);
  color: var(--color-text);
}

/* Mobile: stack vertically */
@media (max-width: 640px) {
  .consent-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .consent-banner__actions {
    width: 100%;
  }

  .consent-banner__btn {
    flex: 1;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .header__hamburger-line {
    transition: none;
  }

  .carousel__track {
    transition: none;
  }

  .accordion__content {
    transition: none;
    max-height: none;
  }

  .accordion__item.is-open .accordion__content {
    max-height: none;
  }

  .consent-banner {
    transition: none;
  }

  .sticky-download {
    transition: none;
  }

  .header__dropdown {
    transition: none;
  }

  .header__mobile-nav {
    transition: none;
  }

  .carousel__dot {
    transition: none;
  }
}
