/*
Theme Name: IronSavanna
Theme URI: https://ironsavannafitness.com
Author: IronSavanna
Description: Custom theme for IronSavanna — premium fitness equipment. Dark, industrial, high-contrast design with brushed gold accents.
Version: 1.0
Text Domain: ironsavanna
*/

:root {
  --color-bg: #1A1A1A;
  --color-surface: #232323;
  --color-charcoal: #1A1A1A;
  --color-graphite: #333333;
  --color-steel: #A6A6A6;
  --color-white: #FFFFFF;
  --color-gold: #D4AF37;
  --color-gold-hover: #F0C860;
  --color-text: #FFFFFF;
  --color-text-muted: #D6D6D6;
  --color-card-bg: #FFFFFF;
  --color-header-bg: rgba(20, 20, 20, 0.55);
  --color-border: rgba(255, 255, 255, 0.08);
  --font-display: "Square 721 Extended", "Oswald", sans-serif;
  --font-body: "Montserrat", sans-serif;
}

[data-theme="light"] {
  --color-bg: #EDECE8;
  --color-surface: #E4E3DE;
  --color-text: #1A1A1A;
  --color-text-muted: #3A3A3A;
  --color-card-bg: #FFFFFF;
  --color-header-bg: rgba(237, 236, 232, 0.8);
  --color-border: rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 0.5em;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-white {
  color: var(--color-text);
}

.text-gold {
  color: var(--color-gold);
}

/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 480px;
  overflow: hidden;
  background: var(--color-charcoal);
}

.hero-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 2s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center;
}

/* Slow cinematic zoom while a slide is showing */
.hero-slide.is-active .hero-slide-image img {
  animation: heroZoom 11s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

.hero-slide-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.55) 100%);
}

.hero-slide-content {
  position: absolute;
  bottom: 64px;
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-slide-headline,
.hero-slide-excerpt,
.hero-slide-btn {
  opacity: 1;
  transform: none;
}

.hero-slide-headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--color-white);
  max-width: 720px;
}

.hero-slide-excerpt {
  color: var(--color-steel);
  max-width: 480px;
  margin-bottom: 1.25em;
}

.btn-gold {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-charcoal);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 32px;
  font-size: 0.9rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-gold:hover {
  background: #e8c158;
  transform: translateY(-2px);
}

.hero-slider-nav {
  position: absolute;
  bottom: 64px;
  right: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-prev,
.hero-next {
  background: transparent;
  border: 1px solid var(--color-steel);
  color: var(--color-white);
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.hero-prev:hover,
.hero-next:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* Dash-bar pagination, matching the carousels elsewhere on the site */
.hero-pagination {
  display: flex;
  gap: 6px;
}

.hero-bar {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.hero-bar.is-active {
  background-color: var(--color-gold);
}

.hero-empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
}

/* Glass Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.3s ease, transform 0.35s ease;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding-top: 24px;
  padding-bottom: 24px;
  box-sizing: border-box;
}

.site-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 0;
  position: relative;
  padding-left: 16px;
}

.site-logo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 72%;
  background: var(--color-gold);
  transform: translateY(-50%) skewX(-14deg);
}

.logo-mark {
  display: flex;
  align-items: baseline;
}

.logo-iron,
.logo-savanna {
  display: inline-block;
  transform: skewX(-8deg);
  letter-spacing: -0.01em;
}

.logo-iron {
  font-weight: 800;
  color: var(--color-text);
}

.logo-savanna {
  font-weight: 700;
  margin-left: 2px;
  color: var(--color-gold);
}

@supports (-webkit-text-stroke: 1px black) or (text-stroke: 1px black) {
  .logo-savanna {
    color: transparent;
    -webkit-text-stroke: 1.4px var(--color-gold);
    text-stroke: 1.4px var(--color-gold);
  }
}

.site-logo img {
  max-height: 40px;
  width: auto;
  display: block;
}

.primary-nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav-list li {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.primary-nav-list a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
  position: relative;
  display: inline-block;
  padding: 0;
  margin: 0;
  transition: color 0.5s ease;
}

.primary-nav-list a:hover {
  color: var(--color-gold-hover);
}

.primary-nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  width: 0%;
  height: 2px;
  background: var(--color-gold-hover);
  transition: width 0.5s ease;
}

.primary-nav-list a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
}

/* Accordion toggle (chevron) only ever appears inside the mobile/tablet panel */
.submenu-toggle {
  display: none;
}

/* Theme Toggle Switch */
.theme-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  padding: 2px;
  margin-left: 24px;
  flex-shrink: 0;
  align-self: center;
}

.theme-toggle-knob {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-gold);
  transition: transform 0.3s ease;
  transform: translateX(0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle-knob .icon-sun,
.theme-toggle-knob .icon-moon {
  position: absolute;
  font-size: 12px;
  line-height: 1;
  color: var(--color-charcoal);
  transition: opacity 0.2s ease;
}

.theme-toggle-knob .icon-sun {
  opacity: 0;
}

.theme-toggle-knob .icon-moon {
  opacity: 1;
}

[data-theme="light"] .theme-toggle-knob {
  transform: translateX(24px);
}

[data-theme="light"] .theme-toggle-knob .icon-sun {
  opacity: 1;
}

[data-theme="light"] .theme-toggle-knob .icon-moon {
  opacity: 0;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  /* Mobile / tablet nav panel (slides in from the left) */
  .primary-nav {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(82vw, 360px);
    background: var(--color-header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 100px 28px 40px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 90;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-right: 1px solid var(--color-border);
  }

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

  /* Close (X) button inside the panel */
  .nav-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2;
  }

  .nav-close::before,
  .nav-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 1.5px;
    background: var(--color-text);
  }

  .nav-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .nav-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .primary-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .primary-nav-list li {
    width: 100%;
  }

  .primary-nav-list a {
    display: block;
    padding: 14px 0 !important;
    font-size: 1.05rem;
  }

  /* Parent items with a dropdown get their link + toggle button side by side */
  .primary-nav-list .menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .primary-nav-list .menu-item-has-children > a {
    flex: 1 1 auto;
  }

  /* Accordion toggle: "+" becomes "\u2212" when open */
  .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  }

  .submenu-toggle.is-open {
    border-color: var(--color-gold);
    color: var(--color-gold);
  }

  /* Submenus collapse by default; JS sets an exact max-height for a clean
     animation at any nesting depth, expansion pushes siblings below down */
  .primary-nav-list .sub-menu {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    margin: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .primary-nav-list .sub-menu .sub-menu {
    left: 0;
  }

  .primary-nav-list .sub-menu a {
    padding: 10px 0 !important;
    font-size: 0.95rem;
  }

  /* Hamburger -> X animation (the trigger button in the header) */
  .nav-toggle {
    z-index: 100;
    position: relative;
  }

  .nav-toggle span {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

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

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

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

  html.nav-open,
  body.nav-open {
    overflow: hidden;
    height: 100%;
  }
}

/* Backdrop behind the open mobile/tablet menu */
@media (max-width: 860px) {
  .nav-backdrop {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 80;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Tablet range: same side-panel mechanism, but roomier since there's more screen */
@media (min-width: 641px) and (max-width: 860px) {
  .primary-nav {
    width: min(50vw, 420px);
    padding: 120px 44px 40px;
  }
  .primary-nav-list a {
    font-size: 1.15rem;
  }
  .intro-section {
    padding: 56px 24px;
  }
  .intro-icon {
    width: 300px;
    height: 400px;
  }
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .carousel-card-image {
    height: 300px;
  }
}

/* Push hero down below fixed header so it's not covered */
.hero-slider {
  margin-top: 0;
}

/* Intro / CTA Section */
.intro-section {
  padding: 64px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.intro-text {
  width: 100%;
  max-width: 1232px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  text-align: left;
}

.intro-copy {
  max-width: 600px;
}

.intro-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  color: var(--color-text);
  margin: 0 0 0.5em;
}

.intro-subheadline {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.btn-shop {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  padding: 16px 36px;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
  isolation: isolate;
}

.btn-shop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-gold);
  transform: translateX(-101%);
  transition: transform 0.35s ease;
  z-index: -1;
}

.btn-shop:hover {
  color: var(--color-charcoal);
}

.btn-shop:hover::before {
  transform: translateX(0);
}

.btn-shop-arrow {
  transition: transform 0.3s ease;
}

.btn-shop:hover .btn-shop-arrow {
  transform: translateX(4px);
}

.intro-icons-heading {
  width: 100%;
  max-width: 1232px;
  margin: 0 auto;
}

.intro-icons-heading h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  color: var(--color-text);
  text-align: left;
}

.shop-carousel {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px; /* space between the card row and the progress indicator below it */
}

.shop-carousel-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Vertical padding + matching negative margin: gives the hover lift
     room to render fully inside the scroll container without being
     clipped, while keeping the section's outer spacing unchanged. */
  padding: 16px 0;
  margin: -16px 0;
}

.shop-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.intro-icons {
  display: flex;
  flex-wrap: nowrap;
  gap: 22px; /* was 28px, reduced 20% */
}

.intro-icon {
  position: relative;
  width: 345px; /* was 300px, increased 15% */
  height: 529px; /* was 460px, increased 15% */
  flex: 0 0 auto;
  border-radius: 8px; /* was 18px — sharper, more architectural */
  overflow: hidden;
  background: var(--color-surface);
  scroll-snap-align: start;
  transition: transform 0.25s ease;
}

.intro-icon:hover {
  /* Minimal lift only — no colored glow, no gradient bloom. The
     premium read comes from geometry and spacing, not shadow effects. */
  transform: translateY(-4px);
}

.intro-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transition: transform 0.4s ease, filter 0.3s ease;
}

.intro-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.05) 55%);
  pointer-events: none;
}

.intro-icon-label {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 68px;
  z-index: 2;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.intro-icon-arrow {
  position: absolute;
  bottom: 22px;
  right: 22px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 4px; /* was 8px, scaled down to match the card's sharper corners */
  background: var(--color-gold);
  color: var(--color-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.intro-icon:hover img {
  transform: scale(1.05);
  filter: brightness(0.6);
}

.intro-icon:hover .intro-icon-label {
  color: var(--color-gold);
}

.intro-icon:hover .intro-icon-arrow {
  transform: translateX(2px);
}

/* ---- Custom segmented progress indicator (replaces dot pagination) ---- */

.shop-carousel-progress {
  display: flex;
  align-items: center;
  gap: 6px;
}

.carousel-segment {
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.carousel-segment.is-active {
  width: 36px;
  background: var(--color-gold);
}

@media (max-width: 640px) {
  .intro-icons {
    gap: 14px; /* was 18px, reduced 20% */
  }
  /* .shop-carousel-viewport needs no mobile override — its vertical
     clipping fix (base rule above) applies at every size, and
     .intro-section already applies 24px horizontal padding uniformly,
     so cards stay consistently inset on both mobile and desktop. */
  .intro-icon {
    width: 94vw; /* was 82vw, increased 15% */
    max-width: 368px; /* was 320px, increased 15% */
    height: 506px; /* was 440px, increased 15% */
  }
  .intro-icon-label {
    font-size: 0.95rem;
    right: 64px;
  }

  /* Featured Products: native horizontal swipe, same treatment as Shop Equipment.
     .featured-showcase-viewport's vertical clipping fix already applies
     from the base rule above — no mobile override needed for it. */
  .carousel-card {
    width: 82vw;
    max-width: 320px;
  }
  .carousel-card.is-lead {
    width: 88vw;
    max-width: 360px;
  }
  .carousel-card-image {
    height: 280px;
  }
}

/* Product Carousel */
.carousel-section {
  padding: 64px 0;
}

.carousel-heading {
  margin-bottom: 40px;
}

.carousel-heading h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  color: var(--color-text);
}

.carousel-viewport {
  overflow: hidden;
}

.featured-showcase-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Same clipping fix as .shop-carousel-viewport — padding gives the
     hover lift room; negative margin cancels the added outer spacing. */
  padding: 24px 0;
  margin: -24px 0 0;
}

.featured-showcase-viewport::-webkit-scrollbar {
  display: none;
}

.featured-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  padding: 0 24px;
}

.carousel-cta {
  text-align: center;
  margin-top: 40px;
}

.carousel-card {
  flex: 0 0 auto;
  width: 300px;
  scroll-snap-align: start;
}

.carousel-card.is-lead {
  width: 420px;
}

.carousel-card-link {
  display: block;
  background: var(--color-card-bg);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-card-link:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(212, 175, 55, 0.4), 0 12px 32px rgba(212, 175, 55, 0.22);
}

.carousel-card-link:hover .carousel-card-image img {
  transform: scale(1.06);
}

.carousel-card-image {
  position: relative;
  width: 100%;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  overflow: hidden;
}

.carousel-card.is-lead .carousel-card-image {
  height: 460px;
}

.carousel-card-featured-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 14px;
  background: var(--color-gold);
  color: var(--color-charcoal);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
}

.carousel-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.carousel-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}

.carousel-card-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-charcoal);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  max-width: 75%;
}

.carousel-card-price {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0;
  text-transform: none;
}

.carousel-card-price .woocommerce-Price-amount {
  color: inherit;
}

.carousel-card-arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--color-charcoal);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-card-link:hover .carousel-card-arrow {
  background: var(--color-gold);
  transform: translateX(3px);
}

/* .carousel-nav, .carousel-prev/.carousel-next, and .carousel-pagination/
   .carousel-bar were retired here — prev/next arrows and dot pagination
   were replaced by the clickable segmented progress indicator
   (.shop-carousel-progress, defined near .intro-icon above), per the
   "no bulky navigation controls" brief. */

/* Dropdown Submenu (mouse-driven flyout — desktop width only, so it
   never fights with the mobile/tablet push-down accordion) */
@media (min-width: 861px) {
  .primary-nav-list li {
    position: relative;
  }

  .primary-nav-list .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--color-header-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
    list-style: none;
    margin: 0;
    padding: 12px 0 8px;
    z-index: 200;
  }

  .primary-nav-list li:hover > .sub-menu,
  .primary-nav-list li:focus-within > .sub-menu,
  .primary-nav-list li.is-open > .sub-menu {
    display: block;
  }

  .primary-nav-list .sub-menu li {
    width: 100%;
    position: relative;
  }

  .primary-nav-list .sub-menu a {
    display: block;
    position: relative;
    padding: 10px 20px;
    color: var(--color-text);
    text-transform: none;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1;
    transition: color 0.5s ease;
  }

  .primary-nav-list .sub-menu a::after {
    content: "";
    position: absolute;
    left: 20px;
    bottom: 4px;
    width: 0%;
    height: 2px;
    background: var(--color-gold-hover);
    transition: width 0.5s ease;
  }

  .primary-nav-list .sub-menu a:hover {
    color: var(--color-gold-hover);
  }

  .primary-nav-list .sub-menu a:hover::after {
    width: calc(100% - 40px);
  }

  /* Nested (third-level+) dropdowns, e.g. WooCommerce subcategories.
     Flush against the parent panel (no gap) so the cursor never crosses
     empty space and breaks the hover chain. */
  .primary-nav-list .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 0;
  }
}

/* ============================
   Trust Bar
============================ */
.trust-bar {
  padding: 40px 24px;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1232px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.trust-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.trust-text {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
  line-height: 1.4;
}

@media (max-width: 860px) {
  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }
}

@media (max-width: 640px) {
  .trust-bar {
    padding: 36px 24px;
  }
  .trust-icon {
    width: 34px;
    height: 34px;
  }
  .trust-text {
    font-size: 0.78rem;
  }
}

/* ============================
   Shop by Category (carousel, same style as Featured cards)
============================ */
.category-section {
  padding: 64px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.category-heading {
  width: 100%;
  max-width: 1232px;
  margin: 0 auto;
}

.category-heading h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  color: var(--color-text);
}

/* Category cards reuse .intro-icon sizing/hover, but there's no arrow button,
   so the label gets the full width instead of leaving room for one. */
.category-card.intro-icon .intro-icon-label {
  right: 20px;
}

/* ============================
   Header search trigger (desktop/tablet)
============================ */
.header-search-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  transition: color 0.2s ease;
}

.header-search-trigger svg {
  width: 19px;
  height: 19px;
}

.header-search-trigger:hover {
  color: var(--color-gold-hover);
}

@media (max-width: 640px) {
  .header-search-trigger {
    display: none;
  }
}

/* ============================
   Search overlay (shared by desktop icon + mobile bottom nav)
============================ */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--color-header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  padding: 28px 0;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  pointer-events: none;
}

.search-overlay.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.search-overlay-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-overlay-form {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px;
}

.search-overlay-input {
  flex: 1 1 auto;
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.1rem;
  padding: 6px 0;
}

.search-overlay-input::placeholder {
  color: var(--color-text-muted);
}

.search-overlay-submit,
.search-overlay-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  transition: color 0.2s ease;
}

.search-overlay-submit svg,
.search-overlay-close svg {
  width: 20px;
  height: 20px;
}

.search-overlay-submit:hover,
.search-overlay-close:hover {
  color: var(--color-gold-hover);
}

/* ============================
   Floating WhatsApp button (desktop/tablet)
============================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-charcoal);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.2s ease;
}

/* Soft breathing pulse ring, so the bubble reads as "alive" and is easier
   to notice against a busy background instead of sitting there static */
.whatsapp-float-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-gold);
  z-index: -1;
  animation: whatsappPulse 2.6s ease-out infinite;
}

@keyframes whatsappPulse {
  0%   { transform: scale(1);    opacity: 0.55; }
  100% { transform: scale(1.9);  opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float-ring {
    animation: none;
  }
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  background: var(--color-gold-hover);
  transform: translateY(-3px) scale(1.05);
}

.whatsapp-float.is-hidden {
  transform: translateY(140%);
  opacity: 0;
}

@media (max-width: 640px) {
  .whatsapp-float {
    display: none;
  }
}

/* ============================
   Mobile sticky bottom nav
============================ */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 640px) {
  body {
    padding-bottom: 68px;
  }

  .mobile-bottom-nav {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    z-index: 150;
    background: var(--color-header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--color-border);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .mobile-bottom-nav.is-hidden {
    transform: translateY(100%);
  }

  .bottom-nav-item {
    position: relative;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: color 0.2s ease;
  }

  .bottom-nav-item svg {
    width: 21px;
    height: 21px;
  }

  .bottom-nav-item:hover,
  .bottom-nav-item:active {
    color: var(--color-gold-hover);
  }

  /* WhatsApp gets its own brand-gold treatment so it stands out, matching
     the site's accent instead of looking like a generic green widget */
  .bottom-nav-whatsapp {
    color: var(--color-gold);
  }

  .bottom-nav-badge {
    position: absolute;
    top: 4px;
    right: calc(50% - 22px);
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--color-gold);
    color: var(--color-charcoal);
    font-size: 0.62rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Both overlays hide the bottom nav + WhatsApp so nothing fights for space */
  body.nav-open .mobile-bottom-nav,
  body.search-open .mobile-bottom-nav {
    transform: translateY(100%);
  }
}

/* ============================
   Solutions Strip
============================ */
.solutions-section {
  padding: 96px 0 80px;
}

.solutions-heading {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.solutions-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.solutions-heading h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  color: var(--color-text);
  margin-bottom: 16px;
}

.solutions-heading p {
  color: var(--color-text-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* Solution cards reuse .intro-icon (same floating card the Featured/Shop-by-
   Category sections use) — this just styles the two-line title+headline
   text block and reuses .intro-icon-arrow for the arrow button. */
/* Solution cards reuse .intro-icon's visual style (image, gradient overlay,
   gold title, arrow button) but sit in a responsive grid instead of a
   horizontal carousel — a "solutions" section works better fully visible at
   a glance than scrolled through. */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1232px;
  margin: 0 auto;
}

.solutions-grid .solution-card {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
}

.solution-card-content {
  position: absolute;
  left: 20px;
  right: 76px;
  bottom: 56px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.solution-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-gold);
}

.solution-card-headline {
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--color-white);
  font-weight: 600;
}

/* Trust layer: "Every IronSavanna Solution Includes" */
.solutions-includes {
  margin-top: 64px;
  text-align: center;
}

.solutions-includes h3 {
  font-size: 1.3rem;
  color: var(--color-text);
  margin-bottom: 40px;
}

.solutions-includes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1232px;
  margin: 0 auto;
  text-align: left;
}

.solutions-include-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.solutions-include-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-gold);
}

.solutions-include-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.solutions-cta {
  text-align: center;
  margin-top: 56px;
}

@media (min-width: 641px) and (max-width: 1024px) {
  .solutions-includes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .solutions-section {
    padding: 64px 0 56px;
  }
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .solutions-grid .solution-card {
    aspect-ratio: 4 / 5;
    border-radius: 8px;
  }
  .solutions-grid .solution-card-content {
    left: 10px;
    right: 10px;
    bottom: 12px;
    gap: 2px;
  }
  .solutions-grid .solution-card-title {
    font-size: 0.78rem;
  }
  .solutions-grid .solution-card-headline {
    font-size: 0.82rem;
    line-height: 1.3;
  }
  .solutions-grid .intro-icon-arrow {
    display: none;
  }
  .solutions-includes-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ============================
   Stats Bar
============================ */
.stats-bar {
  position: relative;
  padding: 96px 0;
  background-color: var(--color-charcoal);
  background-image: repeating-linear-gradient(
    45deg,
    rgba(212, 175, 55, 0.05) 0px,
    rgba(212, 175, 55, 0.05) 1px,
    transparent 1px,
    transparent 42px
  );
  overflow: hidden;
}

.stats-bar-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 0 24px;
}

/* Thin fading gold divider between stats (desktop row only) */
.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  right: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.35) 50%, transparent 100%);
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--color-gold);
  opacity: 0.85;
  margin-bottom: 4px;
}

.stat-icon svg {
  width: 100%;
  height: 100%;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  border-radius: 8px;
  transition: text-shadow 0.4s ease;
}

/* Brief gold glow the instant a number finishes counting up */
.stat-number.is-counted {
  animation: statGlow 0.9s ease;
}

@keyframes statGlow {
  0%   { text-shadow: 0 0 0 rgba(212, 175, 55, 0); }
  35%  { text-shadow: 0 0 18px rgba(212, 175, 55, 0.75); }
  100% { text-shadow: 0 0 0 rgba(212, 175, 55, 0); }
}

.stat-label {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-steel);
  max-width: 220px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

@media (min-width: 641px) and (max-width: 860px) {
  .stats-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 44px;
  }
  .stat-item:nth-child(odd)::after {
    display: block;
  }
  .stat-item:nth-child(even)::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .stats-bar {
    padding: 56px 0;
  }
  .stats-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
    gap: 36px 20px;
  }
  .stat-number {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }
}

/* ============================
   Marquee strip (above Stats Bar)
============================ */
.marquee-strip {
  overflow: hidden;
  background: var(--color-charcoal);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}

.marquee-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gold);
  white-space: nowrap;
  padding: 0 20px;
}

.marquee-dot {
  color: rgba(212, 175, 55, 0.4);
  font-size: 0.5rem;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .marquee-item {
    font-size: 0.72rem;
    padding: 0 14px;
  }
}

/* Respect reduced-motion preference: keep it static rather than spinning
   indefinitely for people who've asked their system to limit motion */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* ============================
   Hero eyebrow marquee (location + sectors, above headline)
============================ */
.hero-eyebrow-marquee {
  overflow: hidden;
  max-width: 480px;
  margin-bottom: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.hero-eyebrow-track {
  display: flex;
  width: max-content;
  animation: heroEyebrowScroll 18s linear infinite;
}

.hero-eyebrow-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.hero-eyebrow-item {
  font-family: var(--font-display);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  white-space: nowrap;
  padding: 0 12px;
}

.hero-eyebrow-dot {
  color: rgba(212, 175, 55, 0.45);
  font-size: 0.4rem;
}

@keyframes heroEyebrowScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow-track {
    animation: none;
  }
}

@media (max-width: 640px) {
  .hero-eyebrow-marquee {
    max-width: 280px;
  }
  .hero-eyebrow-item {
    font-size: 0.64rem;
    padding: 0 10px;
  }
}

/* ============================
   Testimonials
============================ */
.testimonials-section {
  padding: 80px 0;
}

.testimonials-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.testimonials-heading h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  color: var(--color-text);
  margin-top: 8px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  position: relative;
  background: var(--color-card-bg);
  border-radius: 12px;
  padding: 36px 28px 28px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.testimonial-mark {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.testimonial-quote {
  color: var(--color-charcoal);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 14px;
}

.testimonial-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-charcoal);
}

.testimonial-role {
  font-size: 0.82rem;
  color: #6b6b6b;
}

@media (max-width: 860px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============================
   Featured Projects teaser (words-first)
============================ */
.projects-teaser {
  padding: 72px 0;
}

.projects-teaser-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.projects-teaser-inner h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.5rem);
  color: var(--color-text);
  margin: 8px 0 16px;
}

.projects-teaser-inner p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* ============================
   Closing CTA banner
============================ */
.closing-cta {
  padding: 88px 0;
  background: var(--color-gold);
}

.closing-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.closing-cta-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--color-charcoal);
  margin-bottom: 14px;
}

.closing-cta-inner p {
  color: rgba(26, 26, 26, 0.75);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.btn-charcoal {
  display: inline-block;
  background: var(--color-charcoal);
  color: #FFFFFF;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 32px;
  font-size: 0.9rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-charcoal:hover {
  background: #333333;
  transform: translateY(-2px);
}

/* ============================
   Site Footer
============================ */
.site-footer {
  position: relative;
  overflow: hidden;
  background-color: var(--color-charcoal);
  background-image: repeating-linear-gradient(
    45deg,
    rgba(212, 175, 55, 0.04) 0px,
    rgba(212, 175, 55, 0.04) 1px,
    transparent 1px,
    transparent 42px
  );
  border-top: 1px solid rgba(212, 175, 55, 0.4);
  padding-top: 72px;
  color: #FFFFFF;
}

.footer-watermark {
  position: absolute;
  left: 50%;
  bottom: -4vw;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13vw;
  letter-spacing: 0.02em;
  color: rgba(212, 175, 55, 0.05);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 0;
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr 0.85fr 1.1fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer-brand          { order: 1; }
.footer-shop-links     { order: 2; }
.footer-solutions-links { order: 3; }
.footer-support-links  { order: 4; }
.footer-talk-card      { order: 5; }

/* Entrance animation: each column fades/rises in once the footer scrolls
   into view, staggered slightly per column */
.footer-column {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.site-footer.is-visible .footer-column {
  opacity: 1;
  transform: translateY(0);
}

.site-footer.is-visible .footer-brand           { transition-delay: 0s; }
.site-footer.is-visible .footer-shop-links       { transition-delay: 0.1s; }
.site-footer.is-visible .footer-solutions-links  { transition-delay: 0.15s; }
.site-footer.is-visible .footer-support-links    { transition-delay: 0.2s; }
.site-footer.is-visible .footer-talk-card        { transition-delay: 0.25s; }

.footer-about-teaser {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.footer-about-teaser:hover {
  color: var(--color-gold);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.footer-logo-iron {
  font-weight: 800;
  color: #FFFFFF;
}

.footer-logo-savanna {
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-gold);
}

.footer-manifesto {
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 360px;
  margin-bottom: 16px;
}

.footer-service-area {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-gold);
  margin-bottom: 22px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-socials a svg {
  width: 17px;
  height: 17px;
}

.footer-socials a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.footer-column h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  margin: 0 0 18px;
}

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

.footer-link-list a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}

.footer-link-list a:hover {
  color: var(--color-gold);
}

/* Talk to Us — gold-bordered standout card */
.footer-talk-card {
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  padding: 24px;
  align-self: start;
}

.footer-talk-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  margin: 0 0 16px;
}

.footer-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.footer-whatsapp-btn svg {
  width: 18px;
  height: 18px;
}

.footer-response-time {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  margin: 10px 0 0;
}

.footer-contact-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact-lines a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.footer-contact-lines a svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--color-gold);
}

.footer-contact-lines a:hover {
  color: var(--color-gold);
}

/* Delivery coverage strip */
.footer-coverage {
  position: relative;
  z-index: 1;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-coverage-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.footer-coverage-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.footer-coverage-track {
  display: flex;
  width: max-content;
  gap: 10px;
  animation: footerCoverageScroll 26s linear infinite;
}

.footer-coverage-set {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

@keyframes footerCoverageScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .footer-coverage-track {
    animation: none;
  }
}

.coverage-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  font-size: 0.78rem;
  color: #FFFFFF;
  white-space: nowrap;
}

.coverage-eta {
  color: var(--color-gold);
  font-size: 0.74rem;
}

/* Bottom bar */
.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: var(--color-gold);
}

@media (max-width: 860px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .site-footer {
    padding-top: 56px;
  }
  .footer-watermark {
    font-size: 22vw;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  /* Mobile-specific order: Brand, then the highest-intent element
     (Talk to Us) right after it, before the link columns */
  .footer-brand         { order: 1; }
  .footer-talk-card     { order: 2; }
  .footer-shop-links    { order: 3; }
  .footer-solutions-links { order: 4; }
  .footer-support-links { order: 5; }

  .footer-manifesto {
    max-width: none;
  }
  .footer-coverage {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================
   Back to top button
============================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.2s ease, color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 640px) {
  .back-to-top {
    bottom: 80px; /* clear the mobile bottom nav */
    left: 16px;
    width: 40px;
    height: 40px;
  }
  .back-to-top svg {
    width: 16px;
    height: 16px;
  }
}

/* ============================
   Generic page intro banner (Solutions, and other custom pages)
============================ */
.page-intro {
  padding: 140px 0 64px;
}

.page-intro-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.page-intro-inner h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--color-text);
  margin: 10px 0 16px;
}

.page-intro-inner p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ============================
   Solutions detail rows (alternating image/text)
============================ */
.solutions-detail {
  padding: 40px 0 96px;
}

.solution-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
}

.solution-detail-row:not(:last-child) {
  border-bottom: 1px solid var(--color-border);
}

.solution-detail-row.is-reversed {
  direction: rtl;
}

.solution-detail-row.is-reversed > * {
  direction: ltr;
}

.solution-detail-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-surface);
}

.solution-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-detail-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-charcoal) 100%);
}

.solution-detail-number {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--color-gold);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.solution-detail-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--color-text);
  margin: 0 0 8px;
}

.solution-detail-headline {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-gold);
  margin-bottom: 18px;
}

.solution-detail-text p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 460px;
}

.solution-detail-link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-gold);
  padding-bottom: 3px;
  transition: color 0.2s ease;
}

.solution-detail-link:hover {
  color: var(--color-gold);
}

.solutions-includes-recap {
  padding: 72px 0 96px;
}

@media (max-width: 860px) {
  .solution-detail-row {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0;
  }
  .solution-detail-row.is-reversed {
    direction: ltr;
  }
  .solution-detail-text p {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .page-intro {
    padding: 120px 0 48px;
  }
}

/* ============================
   Contact page
============================ */
.contact-section {
  padding: 20px 0 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-form-panel {
  background: var(--color-card-bg);
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  min-height: 320px;
}

.contact-form-placeholder p {
  color: #4a4a4a;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-form-admin-note {
  margin-top: 16px;
  padding: 14px 16px;
  background: #FFF7E0;
  border: 1px solid #E5C878;
  border-radius: 8px;
  font-size: 0.85rem !important;
  color: #6b5720 !important;
}

.contact-form-admin-note code {
  background: rgba(0, 0, 0, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

.contact-info-panel {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 32px;
}

.contact-info-panel h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin: 0 0 20px;
}

.contact-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.contact-whatsapp-btn svg {
  width: 18px;
  height: 18px;
}

.contact-response-time {
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: 10px 0 0;
}

.contact-info-lines {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.contact-info-lines a,
.contact-info-lines .contact-info-static {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  transition: color 0.2s ease;
}

.contact-info-lines a:hover {
  color: var(--color-gold);
}

.contact-info-lines svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--color-gold);
  margin-top: 1px;
}

.contact-showroom {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.contact-showroom h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin: 0 0 8px;
}

.contact-showroom-address {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin: 0 0 4px;
}

.contact-showroom-hours {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0 0 12px;
}

.contact-directions-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.contact-map-embed {
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-form-panel {
    padding: 28px;
  }
}

/* ============================
   About page
============================ */
.about-mission {
  padding: 20px 0 80px;
}

.about-mission-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-mission-text h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  color: var(--color-text);
  margin: 10px 0 20px;
}

.about-mission-text p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.about-sectors-list {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px;
}

.about-sectors-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-gold);
  margin-bottom: 16px;
}

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

.about-sectors-list a {
  font-size: 0.98rem;
  color: var(--color-text);
  transition: color 0.2s ease;
}

.about-sectors-list a:hover {
  color: var(--color-gold);
}

@media (max-width: 860px) {
  .about-mission-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================
   Projects page (words-first teaser)
============================ */
.projects-categories {
  padding: 20px 0 96px;
}

.projects-categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.project-category-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 20px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  text-align: center;
}

.project-category-title {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.project-category-note {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

@media (min-width: 641px) and (max-width: 1024px) {
  .projects-categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .projects-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================
   FAQ page
============================ */
.faq-section {
  padding: 0 0 80px;
}

.faq-container {
  max-width: 760px;
}

.faq-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--color-border);
  border-radius: 30px;
  padding: 12px 20px;
  margin-bottom: 28px;
}

.faq-search-bar svg {
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.faq-search-bar input {
  flex: 1 1 auto;
  border: none;
  outline: none;
  background: transparent;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.98rem;
}

.faq-search-bar input::placeholder {
  color: var(--color-text-muted);
}

.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.faq-tab {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.faq-tab:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.faq-tab.is-active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-charcoal);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-question-category {
  display: none; /* used for search/filter matching context, not shown visually */
}

.faq-question-text {
  flex: 1 1 auto;
  font-size: 0.98rem;
  color: var(--color-text);
  font-weight: 600;
}

.faq-toggle {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-gold);
  transition: transform 0.3s ease;
}

.faq-toggle::before {
  width: 14px;
  height: 1.6px;
  transform: translate(-50%, -50%);
}

.faq-toggle::after {
  width: 1.6px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-item.is-open .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.faq-no-results {
  text-align: center;
  color: var(--color-text-muted);
  padding: 24px 0;
}

/* Closing CTA variant for FAQ (charcoal, not gold, to avoid repeating the
   same gold-band moment for the third time on one page visit) */
.faq-cta {
  padding: 80px 0;
  border-top: 1px solid var(--color-border);
}

.faq-cta-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.faq-cta-inner h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  color: var(--color-text);
  margin-bottom: 12px;
}

.faq-cta-inner p {
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.faq-cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.faq-cta-buttons .btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.faq-cta-buttons .btn-gold svg {
  width: 18px;
  height: 18px;
}

.faq-cta-link {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.faq-cta-link:hover {
  color: var(--color-gold);
}

@media (max-width: 640px) {
  .faq-tabs {
    gap: 6px;
  }
  .faq-tab {
    padding: 7px 14px;
    font-size: 0.72rem;
  }
}

/* ============================
   FAQ teaser (homepage)
============================ */
.faq-teaser {
  padding: 80px 0;
}

.faq-teaser-inner {
  max-width: 720px;
  margin: 0 auto;
}

.faq-teaser-heading {
  text-align: center;
  margin-bottom: 36px;
}

.faq-teaser-heading h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  color: var(--color-text);
  margin-top: 8px;
}

.faq-teaser-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.faq-teaser-link {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-gold);
  transition: color 0.2s ease;
}

.faq-teaser-link:hover {
  color: var(--color-gold-hover);
}

/* ============================================
   HEADER CART ICON
   ============================================
   Added sitewide (header.php renders on every page) so the cart is
   reachable from anywhere, not just the shop. Matches the sizing of
   .header-search-trigger immediately above for visual consistency.
   The count badge is a fragment target for WooCommerce's AJAX
   add-to-cart — see inc/cart-icon.php. */

.header-cart-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-text);
  transition: color 0.2s ease;
}

.header-cart-trigger:hover {
  color: var(--color-gold);
}

.header-cart-trigger svg {
  width: 19px;
  height: 19px;
}

.header-cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--color-gold);
  color: var(--color-charcoal);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.header-cart-count.is-empty {
  display: none;
}
