/* ==========================================================================
   CSS Variables & Tokens
   ========================================================================== */
:root {
  /* Colors */
  --color-primary: #E76A2F;
  /* Burnt orange */
  --color-primary-dark: #cc5a25;
  --color-coral: #ff7644;
  /* Top promo bar */
  --color-dark-red: #6f0009;
  /* Top promo text */
  --color-dark: #1B1B1B;
  /* Dark charcoal */
  --color-darker: #111111;
  --color-beige: #F3E7DB;
  /* Warm beige */
  --color-white: #FFFFFF;
  --color-accent: #FFF5E1;
  /* Light cream (protein highlights) */
  --color-text-main: #1B1B1B;
  --color-text-muted: #666666;
  --color-text-light: #FFFFFF;
  --color-text-light-muted: #cccccc;
  --color-brown: #6C2210;
  --color-sticky-nav: #3b1409;
  --color-bg-packs: #F9F5F1;

  /* Typography */
  --font-heading: 'Barlow', sans-serif;
  --font-body: 'Barlow', sans-serif;

  /* 8px Spacing Grid System */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-16: 128px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Layout */
  --container-width: 1200px;
  --container-narrow: 800px;

  /* Strict Dimensions */
  --hero-max-width: 1920px;
  --hero-height: min(calc(100vw * 9 / 16), 1080px);
  /* 16:9 exact calculation */
  --nav-height: calc(var(--hero-height) * 0.07);
  /* Exact 7% of Hero Height */
  --nav-gap: calc(var(--nav-height) * 0.70);
  /* Gap between announcement bar and Nav */
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  /* Regular for maximum readability */
  color: var(--color-text-main);
  background-color: var(--color-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  /* ExtraBold for impact */
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: transparent;
}

/* ==========================================================================
   Typography Helpers
   ========================================================================== */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--color-primary);
}

.text-accent {
  color: var(--color-accent);
}

.text-light {
  color: var(--color-text-light);
}

.text-light-muted {
  color: var(--color-text-light-muted);
}

/* Barlow Typography Classes */
.barlow-thin {
  font-family: var(--font-barlow);
  font-weight: 100;
  font-style: normal;
}

.barlow-extralight {
  font-family: var(--font-barlow);
  font-weight: 200;
  font-style: normal;
}

.barlow-light {
  font-family: var(--font-barlow);
  font-weight: 300;
  font-style: normal;
}

.barlow-regular {
  font-family: var(--font-barlow);
  font-weight: 400;
  font-style: normal;
}

.barlow-medium {
  font-family: var(--font-barlow);
  font-weight: 500;
  font-style: normal;
}

.barlow-semibold {
  font-family: var(--font-barlow);
  font-weight: 600;
  font-style: normal;
}

.barlow-bold {
  font-family: var(--font-barlow);
  font-weight: 700;
  font-style: normal;
}

.barlow-extrabold {
  font-family: var(--font-barlow);
  font-weight: 800;
  font-style: normal;
}

.barlow-black {
  font-family: var(--font-barlow);
  font-weight: 900;
  font-style: normal;
}

/* ==========================================================================
   Layout & Grid Utilities (8px System)
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section-padding {
  padding: var(--space-12) 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: var(--space-6) 0;
  }
}

.mb-2 {
  margin-bottom: var(--space-2);
}

.mb-4 {
  margin-bottom: 1em;
}

.mb-6 {
  margin-bottom: var(--space-6);
}

.mt-2 {
  margin-top: var(--space-2);
}

.mt-4 {
  margin-top: 1em;
}

.bg-dark {
  background-color: var(--color-dark);
  color: var(--color-text-light);
}

.bg-beige {
  background-color: var(--color-beige);
}

.bg-primary {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.border-top {
  border-top: 1px solid #e0e0e0;
}

/* ==========================================================================
   Components
   ========================================================================== */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-4);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  /* subtle rounding */
  transition: all var(--transition-fast);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(231, 106, 47, 0.4);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231, 106, 47, 0.6);
}

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.bg-dark .btn-outline {
  border-color: var(--color-white);
  color: var(--color-white);
}

.bg-dark .btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
}

.btn-dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.btn-dark:hover {
  background-color: var(--color-darker);
}

.btn-small {
  padding: var(--space-1) var(--space-2);
  font-size: 0.875rem;
}

.btn-large {
  padding: var(--space-3) var(--space-6);
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
}

.btn-buy .c-main {
  white-space: nowrap;
}

@media (min-width: 769px) {
  .btn-buy {
    padding: var(--space-2) var(--space-2);
  }

  .btn-buy .c-main {
    font-size: 0.8rem;
  }

  .btn-buy .ico-text {
    font-size: 0.95rem;
    margin-right: 4px;
  }
}

/* ==========================================================================
/* ==========================================================================
   Header & Top Promo
   ========================================================================== */
.top-promo-bar {
  background-color: var(--color-coral);
  color: var(--color-dark-red);
  height: calc(var(--hero-height) * 0.05);
  /* 5% of Hero height */
  position: relative;
  /* Standard Document flow */
  width: 100%;
  z-index: 200;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .top-promo-bar {
    height: 7%;
  }
}

/* Marquee track */
.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-marquee 15s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  min-width: 100vw;
  gap: var(--space-8);
  padding: 0 var(--space-4);
}

.promo-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.promo-item i {
  font-size: 1.2rem;
}

@keyframes scroll-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.site-header {
  position: absolute;
  /* Overlay Hero Area */
  top: calc(var(--hero-height) * 0.05 + var(--nav-gap));
  /* Intro Bar Height + 70% Gap */
  left: 0;
  width: 100%;
  height: calc(var(--nav-height) + 2em);
  margin-top: 0;
  padding: 1em 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  /* Align bottom */
  background-color: transparent;
  /* Explicit transparent background */
}

.site-header.sticky {
  position: fixed;
  top: 0;
  background-color: var(--color-sticky-nav);
  z-index: 999;
  animation: slideDown var(--transition-normal) forwards;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header.sticky {
    animation: none;
  }
}

.header-container {
  display: flex;
  justify-content: space-between;
  /* Splitting left and right clusters */
  align-items: flex-end;
  height: 100%;
  width: 100%;
  max-width: var(--hero-max-width);
  /* Bound to 1920px */
  margin: 0 auto;
  padding: 0 calc(110 / 1920 * 100%);
  /* Exact 110px outer margins scaling proportionally */
}

.logo {
  width: calc(195 / 1700 * 100%);
  /* 195px relative to 1700px content width */
  display: flex;
  align-items: flex-end;
  /* Bottom alignment */
  height: 100%;
}

.logo-img {
  width: 100%;
  /* Scale up/down strictly matching the proportional parent */
  height: auto;
  max-height: calc(var(--nav-height) * 0.8);
  /* Keep vertical bounding safety */
  object-fit: contain;
  object-position: bottom left;
  /* Anchor scaling to bottom stringently */
  z-index: 150;
  position: relative;
  display: block;
  margin-bottom: calc(var(--nav-height) * 0.1);
}

.nav-right {
  display: flex;
  justify-content: flex-end;
  /* All actions aligned strictly to right boundary */
  align-items: flex-end;
  width: calc(562 / 1700 * 100%);
  /* 562px relative to 1700px content width */
  height: 100%;
  padding-bottom: calc(var(--nav-height) * 0.1);
  z-index: 150;
  gap: min(70px, calc(70 / 1920 * 100vw));
  /* 70px scaling gap from last menu link to user icon */
}

.main-nav {
  display: flex;
  gap: var(--space-2);
  align-items: flex-end;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: calc(var(--nav-height) * 0.4);
  /* 85% of original 50% */
  font-weight: 600;
  line-height: 1;
  color: var(--color-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-link:hover {
  color: var(--color-dark-red);
}

.header-icons {
  display: flex;
  gap: var(--space-2);
  /* 70px scaling gap between user and cart icon */
  align-items: flex-end;
}

.icon-link {
  color: var(--color-white);
  font-size: calc(var(--nav-height) * 0.425);
  /* 85% of original 50% */
  line-height: 1;
}

.icon-link:hover {
  color: var(--color-dark-red);
}

/* ==========================================================================
   Hero Master Structure (Perfect Center Layout)
   ========================================================================== */
.hero-full-bg {
  width: 100%;
  background-color: #3b1409;
  position: relative;
}

.hero-master-wrapper {
  max-width: var(--hero-max-width);
  /* 1920px cap */
  margin: 0 auto;
  /* Perfect horizontal center on wide monitors */
  position: relative;
  overflow: hidden;
  /* Clips any contained elements seamlessly without horizontal scrolling */
  background-color: #3b1409;
}

/* ==========================================================================
   Hero Animation Loop (Max 1920px)
   ========================================================================== */
.hero-outer-wrapper {
  background-color: #3b1409;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: block;
  /* Standard Document Flow */
}

.hero-animation-container {
  position: relative;
  width: 100%;
  max-width: var(--hero-max-width);
  aspect-ratio: 16 / 9;
  /* Lock exactly to native 16:9 ratio */
  height: auto;
  margin: 0 auto;
  background-color: #6a2411;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-ui-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  /* Let clicks pass to canvas if needed */
  display: flex;
  flex-direction: column;
}

.hero-ui-overlay>* {
  pointer-events: auto;
  /* Re-enable for UI elements */
}

.hero-ui-left {
  position: absolute;
  left: 5.7vw;
  /* Align exactly with Nómada Logo */
  top: 30%;
  /* Strict 30% from top */
  color: var(--color-white);
  z-index: 20;
  /* Visibility over animation */
  width: 23%;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.hero-ui-right {
  position: absolute;
  right: 5.7vw;
  top: 30%;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 20;
  width: 16%;
  text-align: right;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.67vw;
  letter-spacing: 0;
  margin-bottom: 0px;
  display: block;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  line-height: 0.9;
  white-space: nowrap;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  /* ExtraBold */
  line-height: 0.85;
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Staggered Animations */
.hero-ui-right .hero-subtitle {
  animation: textScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 2.1s;
}

.hero-ui-right .hero-title {
  animation: textScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 2.1s;
}

.hero-ui-left .hero-subtitle {
  animation: textScaleUp 2s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.8s;
  /* 2 seconds after right side */
}

.hero-ui-left .hero-title {
  animation: textScaleUp 4s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.6s;
  /* 2 seconds after right side */
}

.hero-ui-left .hero-macros {
  animation: textScaleUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 2.4s;
}



@keyframes textScaleUp {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.title-line-1 {
  font-size: 4.17vw;
  line-height: 0.85;
  display: block;
}

.title-line-2 {
  font-size: 4.17vw;
  line-height: 0.85;
  display: block;
}



.right-align {
  text-align: right;
}

.hero-macros {
  font-family: var(--font-heading);
  font-size: 1.8vw;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-white);
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  margin-top: calc(var(--hero-height) * 0.04);
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-top: calc(var(--hero-height) * 0.06);
  opacity: 0.8;
}

.scroll-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
}

.scroll-text span {
  display: inline-block;
  opacity: 0;
  animation: blurInUp 0.8s ease-out both;
}

.scroll-line {
  width: 1px;
  margin-left: 0.4em;
  height: var(--space-4);
  background-color: var(--color-white);
  opacity: 0;
  animation: blurInUp 0.8s ease-out both;
}

@keyframes blurInUp {
  0% {
    filter: blur(5px);
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }

  100% {
    filter: blur(0);
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero-ui-bottom {
  position: absolute;
  bottom: 3%;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  padding: 0 var(--space-6);
}

.social-icons {
  display: flex;
  gap: var(--space-2);
  margin-bottom: 0px;
}

.social-link {
  color: var(--color-white);
  font-size: 1rem;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.social-link:hover {
  opacity: 1;
}

.cta-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.btn-hero {
  background-color: var(--color-white);
  color: var(--color-dark-red);
  font-family: var(--font-heading);
  font-size: 1rem;
  padding: var(--space-1) var(--space-5);
  border-radius: 8px;
  margin-bottom: var(--space-1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  letter-spacing: 0.05em;
}

.btn-hero:hover {
  transform: scale(1.05);
  background-color: var(--color-beige);
  color: var(--color-dark-red);
}

.cta-subtext {
  font-size: 0.85rem;
  color: var(--color-white);
  font-weight: 500;
  text-shadow: 0 4px 2px rgba(0, 0, 0, 0.6);
}

.sales-proof {
  color: var(--color-white);
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-1);
  opacity: 0.9;
  margin-bottom: 0px;
}

.sales-proof i {
  color: var(--color-white);
}

/* ==========================================================================
   Accessibility - Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Credibility Section
   ========================================================================== */
.credibility-section {
  padding: var(--space-6) 0;
  background-color: var(--color-white);
  overflow: hidden;
}

.section-title-small {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: var(--space-1);
  letter-spacing: normal;
  text-transform: none;
}

.section-title-small {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  /* Extra bold */
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.highlight-brand {
  color: var(--color-coral);
  /* #ff7644 */
}

.section-subtext {
  color: var(--color-dark-red);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 2.5rem;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

/* gradient masks for smooth entering/exiting */
.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.marquee-content {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

.partner-logo {
  display: inline-block;
  padding: 0 var(--space-6);
  height: 48px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  /* Grayscale effect */
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.9;
  transition: opacity var(--transition-fast), filter var(--transition-fast);
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Packs Section
   ========================================================================== */
.section-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
}

.section-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
}

/* New Packs Content */
.packs-container {
  width: 100%;
  max-width: var(--hero-max-width);
  margin: 0 auto;
  padding: 0 5.7vw;
}

.packs-section {
  padding: var(--space-8) 0;
}

@media (max-width: 768px) {
  .packs-section {
    padding: var(--space-4) 0;
  }
}

.packs-header-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: var(--space-6);
}

.packs-main-title {
  font-size: 3rem;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  color: var(--color-dark);
  gap: var(--space-2);
}

.text-brown {
  color: var(--color-brown);
}

.text-coral {
  color: var(--color-coral);
}

.text-primary {
  color: var(--color-primary);
}

.text-black {
  color: var(--color-darker);
}

.packs-main-title .title-line {
  flex-grow: 1;
  height: 2px;
  background-color: var(--color-brown);
  margin: 0 var(--space-4);
}

.flash-icon-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.packs-grid-new {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.pack-col-1 {
  grid-column: 1 / span 3;
}

.pack-col-2 {
  grid-column: 5 / span 3;
}

.pack-col-3 {
  grid-column: 9 / span 4;
}

.pack-card-new {
  display: flex;
  flex-direction: column;
  position: relative;
}

.pack-divider {
  width: 2px;
  background-color: var(--color-brown);
  height: 100%;
  justify-self: center;
}

.divider-left {
  grid-column: 4;
}

.divider-right {
  grid-column: 8;
}

.pack-text-wrapper {
  margin-bottom: var(--space-2);
  min-height: 80px;
}

.pack-title {
  margin-bottom: var(--space-1);
  color: var(--color-dark);
}

.pack-subtitle {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.pack-image-wrapper {
  position: relative;
  background-color: #fff1ec;
  border-radius: 12px;
  padding: 5% 10% 2.5% 10%;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.pack-discount {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(20%, -20%);
  width: 50px;
  height: 50px;
  background-color: var(--color-primary);
  color: var(--color-darker);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  z-index: 20;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pack-product-img {
  width: 100%;
  object-fit: contain;
}

.pack-pricing {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
}

.price-old {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.price-new {
  font-size: 1rem;
}

.small-text-gray {
  font-size: 0.75rem;
  color: var(--color-dark-red);
}

.price-col-3 {
  flex-wrap: wrap;
  row-gap: 0px;
}

.price-col-3 .small-text-gray {
  width: 100%;
  margin-left: 0;
  margin-top: -3px;
}

.semibold {
  font-weight: 600;
}

/* Custom Buy Buttons (Uiverse derived) */
.c-button {
  background: var(--color-coral);
  border-radius: 25px !important;
  margin-top: 0.3em;
  padding: 0 !important;
  box-shadow: -6px -5px 18px rgba(0, 0, 0, 0.1) !important;
  cursor: pointer;
}

.c-button .c-main {
  border-radius: 45px;
  color: var(--color-white);
  padding: 6px 8px 6px 3px;
  box-shadow: inset 0px 0px 5px rgba(17, 17, 17, 0);
  transition: all 0.5s ease-in-out;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.c-ico .c-blur {
  background: white;
  border-radius: 100%;
  padding: 14px 14px;
  text-align: center;
  display: block;
}

.c-ico {
  position: relative;
  margin-right: var(--space-2);
}

.c-ico .ico-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-coral);
  font-size: 0.9rem;
}

.pack-subscription-text {
  font-size: 0.6rem;
  color: black;
  margin-top: calc(var(--space-1) / 2);
  font-style: italic;
  text-align: center;
}

.ghost-on-hover {
  border: 4px solid transparent !important;
}

.ghost-on-hover:hover {
  background: transparent !important;
  border-color: var(--color-primary) !important;
  box-shadow: none !important;
}

.ghost-on-hover:hover .c-main {
  color: var(--color-primary) !important;
}

.ghost-on-hover:hover .c-ico .ico-text {
  color: var(--color-primary) !important;
}

.ghost-on-hover:hover .c-ico .c-blur {
  background: transparent !important;
}

.pointer {
  cursor: pointer;
}

.uppercase {
  text-transform: uppercase;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonial-subtitle {
  font-size: 0.9rem;
  margin-top: var(--space-2);
  margin-bottom: var(--space-4);
}

.testimonial-quote {
  font-size: 1.1rem;
  margin-left: 6px;
  color: var(--color-dark-red);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.video-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 35em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  height: 100%;
  scrollbar-width: none;
  /* Firefox */
}

.carousel-track::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.insta-video-container {
  scroll-snap-align: center;
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.insta-video-container iframe {
  width: 100%;
  max-width: 400px;
  height: 100%;
  border: none;
}

.carousel-indicators {
  position: absolute;
  bottom: var(--space-4);
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.dot:hover {
  transform: scale(1.2);
}

.dot.active {
  background-color: var(--color-primary);
  transform: scale(1.2);
}

/* Bento Scroll Viewport */
.bento-scroll-viewport {
  position: relative;
  height: 600px;
  overflow: hidden;
  border-radius: 12px;
  /* Clip the scrolling content */
}

/* Bento Track & Animation */
.bento-scroll-track {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  /* Scroll infinitely */
  animation: bento-scroll 45s linear infinite;
}

.bento-scroll-viewport:hover .bento-scroll-track {
  animation-play-state: paused;
}

@keyframes bento-scroll {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

/* Author Card Base */
.author-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  background-color: var(--color-brown);
}

.card-span-1 {
  min-height: 125px;
}

.card-span-2 {
  min-height: 200px;
}

/* Background & Overlay */
.author-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.author-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 2;
}

/* Card Content (z-index 3) */
.author-card-content {
  position: relative;
  z-index: 3;
  padding: clamp(16px, 1.5vw, 24px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  color: var(--color-white);
}

.author-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.author-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: clamp(40px, 4vw, 55px);
  height: clamp(40px, 4vw, 55px);
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-white);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  line-height: 1.2;
}

.author-date {
  font-size: clamp(0.7rem, 0.8vw, 0.85rem);
  opacity: 0.8;
}

.author-rating {
  font-size: clamp(1rem, 1vw, 1.1rem);
}

.author-comment {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.4;
  margin-top: var(--space-4);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-accordion {
  border-top: 1px solid #ddd;
}

.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-dark);
}

.accordion-icon {
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform var(--transition-fast);
}

.accordion-header[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
  /* Turns + into x */
}

.accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--transition-normal);
}

.accordion-content p {
  padding-bottom: var(--space-3);
  color: var(--color-text-muted);
}

/* ==========================================================================
   Referral & Footer
   ========================================================================== */
.referral-section {
  padding: var(--space-4) 0;
}

.referral-text {
  font-size: 1.125rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
  padding: var(--space-8) 0 var(--space-4);
  border-bottom: 1px solid #333;
}

.footer-title {
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: var(--space-3);
}

.footer-links li {
  margin-bottom: var(--space-1);
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) 0;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.payment-icons {
  display: flex;
  gap: var(--space-2);
}

.payment-icon {
  padding: var(--space-1) var(--space-2);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
}

.copyright {
  font-size: 0.875rem;
}

/* ==========================================================================
   Media Queries (Responsive Default)
   ========================================================================== */
@media (max-width: 992px) {

  .hero-content,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero-text {
    text-align: center;
    margin: 0 auto;
  }

  .hero-benefits {
    display: inline-block;
    text-align: left;
  }

  .popular-card {
    transform: none;
    /* remove scale on mobile for better stacking */
  }

  .popular-card:hover {
    transform: translateY(-8px);
  }
}

/* WhatsApp Button */
.wa-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  background-color: var(--color-dark-red);
  color: #FFF;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  padding: 0.6em 1.2em;
  border-radius: 50px;
  font-size: 0.8rem;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  box-shadow: 0 4px 15px rgba(111, 0, 9, 0.4);
}

.wa-button:hover {
  background-color: #c03e26;
  transform: translateY(-2px);
  color: #FFF;
}

/* ==========================================================================
   Referral Section
   ========================================================================== */
.referral-section-new {
  background-color: #F07F54;
  padding: var(--space-3) 0;
  width: 100%;
}

.referral-container {
  max-width: var(--hero-max-width);
  margin: 0 auto;
  padding: 0 5.7vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.referral-content-left {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5em;
  padding-right: var(--space-4);
}

.referral-headline {
  color: #FFFFFF;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 2vw, 2.2rem);
  line-height: 1.2;
  margin: 0;
}

.referral-desc {
  color: #6D1F17;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 1.5vw, 1.8rem);
  margin: 0;
}

.referral-content-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 250px;
}

.referral-btn {
  background-color: #6D1F17;
  color: #FFFFFF;
  font-size: 1.2rem;
  padding: 16px 36px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  width: 100%;
}

.referral-btn:hover {
  background-color: #521610;
  transform: translateY(-2px);
}

.referral-subtext {
  text-align: center;
}

.referral-subtext p {
  color: #6D1F17;
  margin: 0;
  font-size: 0.95rem;
}

.referral-link {
  color: white;
  font-size: 0.95rem;
  text-decoration: underline;
  text-decoration-color: #6D1F17;
  transition: color var(--transition-fast);
}

.referral-link:hover {
  color: var(--color-white);
  text-decoration-color: var(--color-white);
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.site-footer-new {
  background-color: #0d0d0d;
  color: #FFFFFF;
}

.footer-top-bg {
  position: relative;
  background-image: url('Images/Nomada-Footer.jpg');
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  padding-top: var(--space-8);
}

/* Linear gradient overlay to ensure text is readable */
.footer-top-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.95) 0%, rgba(13, 13, 13, 0.6) 100%);
  z-index: 1;
}

.footer-bottom-bg {
  background-color: #000000;
  position: relative;
  z-index: 2;
}

.footer-container {
  position: relative;
  z-index: 2;
  max-width: var(--hero-max-width);
  margin: 0 auto;
  padding: 0 5.7vw;
}

.footer-bento-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 2px dashed rgba(255, 255, 255, 0.2);
}

.footer-col-1,
.footer-col-2,
.footer-col-3 {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.footer-bento-title {
  color: var(--color-coral);
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}

.footer-bento-body {
  color: #EEEEEE;
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 1em;
}

.footer-bento-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-top: 1em;
}

.footer-bento-links a {
  color: #EEEEEE;
  text-decoration: none;
  font-size: 1rem;
  transition: color var(--transition-fast);
}

.footer-bento-links a:hover {
  color: var(--color-primary);
}

.footer-payu-logo {
  max-width: 120px;
  display: block;
  margin-top: 1em;
  opacity: 0.6;
}

.title-large {
  font-size: 1.4rem;
}

.tribe-content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5em;
}

.footer-social-icons {
  gap: 1.5em;
  justify-content: center;
}

.social-icon-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.social-icon-link:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
}

.footer-vertical-logo {
  max-width: 180px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  color: #EEEEEE;
  line-height: 1.4;
}

.footer-contact-list i {
  color: var(--color-primary);
  margin-top: 4px;
}

.footer-contact-list a {
  color: #EEEEEE;
  text-decoration: none;
}

.footer-legal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 0;
  font-size: 0.9rem;
  color: #CCCCCC;
}

.legal-right a {
  color: #CCCCCC;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.legal-right a:hover {
  color: var(--color-white);
}

.legal-separator {
  margin: 0 var(--space-2);
  color: rgba(255, 255, 255, 0.3);
}

.mobile-only {
  display: none !important;
}

/* Comparativa Section */
.comparativa-title-banner {
  background-color: var(--color-dark-red);
  width: 100%;
  padding: var(--space-3) 0;
}

.comparativa-title-banner .section-title {
  margin: 0;
  letter-spacing: 2px;
}

.comparativa-img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: var(--radius-md);
  margin: 0 auto;
  display: block;
}

@media (max-width: 768px) {
  .comparativa-img {
    border-radius: var(--radius-sm);
  }

  #price-new-col-3 {
    font-size: 1.5rem;
  }

  #price-old-col-3 {
    font-size: 1.2rem;
  }

  .site-header {
    top: 7%;
    height: auto;
    padding: var(--space-1) 0;
  }

  .site-header .container {
    flex-direction: row;
    gap: var(--space-2);
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--space-3);
  }

  .referral-container {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .referral-content-left {
    padding-right: 0;
  }

  /* Packs mobile design */
  .pack-col-1 .text-ahora,
  .pack-col-2 .text-ahora {
    display: none;
  }

  .packs-main-title {
    font-size: 1.5rem;
    gap: var(--space-1);
    justify-content: center;
  }

  .packs-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }

  .pack-col-3 {
    grid-column: 1 / -1;
    order: -1;
  }

  .pack-col-1 {
    grid-column: 1 / 2;
    order: 1;
  }

  .pack-col-2 {
    grid-column: 2 / 3;
    order: 2;
  }

  .pack-divider {
    display: none;
  }

  .has-divider::before {
    display: none;
  }

  .footer-bento-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
  }

  .footer-legal-bar {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
  }

  /* Utility Classes */
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  /* Mobile Menu Styles */
  .mobile-side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-sticky-nav);
    z-index: 10000;
    transition: right 0.3s ease;
    padding: var(--space-4);
    display: flex !important;
    flex-direction: column;
    gap: var(--space-4);
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.5);
  }

  .mobile-side-menu.open {
    right: 0;
  }

  .mobile-menu-header {
    display: flex;
    justify-content: flex-end;
  }

  .close-btn {
    color: var(--color-white);
    font-size: 2rem;
  }

  .mobile-menu-promo {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    color: var(--color-coral);
    font-size: 2rem;
  }

  .mobile-menu-promo i {
    font-size: 2.4rem;
  }

  .mobile-menu-socials {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    margin-top: auto;
  }

  .mobile-menu-socials .social-link {
    font-size: 1.8rem;
  }

  .mobile-sales-proof {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    color: var(--color-white);
    font-size: 1rem;
    padding-top: var(--space-2);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  /* Header & Navigation */
  .main-nav {
    display: none;
  }

  .logo {
    width: auto;
    height: 38px;
    margin-right: auto;
  }

  .logo-img {
    height: 100%;
    width: auto;
    max-width: none;
    max-height: none;
  }

  .nav-right {
    width: auto;
  }

  .header-icons i {
    font-size: 1.6rem;
    /* Make all nav icons bigger */
  }

  .hamburger-icon i {
    font-size: 1.6rem;
    color: var(--color-white);
  }

  /* Hero Section */
  .hero-animation-container {
    aspect-ratio: 4 / 5;
  }

  .hero-ui-left {
    position: absolute;
    top: 30%;
    left: 4%;
    width: 40%;
    text-align: left;
    align-items: flex-start;
    margin: 0;
  }

  .hero-ui-right {
    position: absolute;
    top: 50%;
    right: 4%;
    width: 40%;
    text-align: right;
    align-items: flex-end;
    margin: 0;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    white-space: normal;
    margin-bottom: 2px !important;
    text-shadow: 2px 2px 1px #000000;
  }

  .title-line-1,
  .title-line-2 {
    font-size: 1.6rem;
    text-shadow: 2px 2px 1px #000000;
  }

  .referral-headline {
    font-size: 1.3rem;
  }

  .testimonial-quote {
    display: block;
  }

  .scroll-indicator {
    display: none;
  }

  /* Restore pack sizes and padding for mobile */
  .pack-image-wrapper {
    padding: 10% 10% 5% 10%;
  }

  .pack-product-img {
    height: 180px;
  }

  @media (max-width: 768px) {
    .pack-product-img {
      height: 100%;
    }
  }

  .pack-col-3 .pack-product-img {
    height: 170px;
  }

  .hero-macros.mobile-only {
    text-align: center;
    align-self: center;
  }

  .hero-ui-bottom {
    position: absolute;
    bottom: var(--space-3);
    display: flex;
    justify-content: center;
    align-items: end;
    padding: 0 var(--space-3);
    width: 100%;
  }


  .hero-ui-bottom .cta-center {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .social-icons {
    justify-content: center;
  }

  .sales-proof {
    justify-content: center;
  }

  /* Partners / Credibility */
  .credibility-section {
    padding: var(--space-4) 0;
  }

  .partner-logo {
    padding: 0 var(--space-2);
    height: 32px;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}