/* ===========================================
   SAPA ROUQUETTE — Main Stylesheet
   Pure CSS — Zero WordPress dependencies
   =========================================== */

@import url('reset.css');
@import url('fonts.css');
@import url('variables.css');

/* ---- Smooth scroll ---- */
html {
  scroll-behavior: smooth;
}

/* ---- Base ---- */
body {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-primary);
  background-color: var(--color-primary);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
}

h1, h2 {
  font-family: var(--font-heading);
  letter-spacing: -0.3px;
}

h1 { font-size: var(--text-6xl); margin-bottom: var(--space-xl); font-weight: 700; }
h2 { font-size: var(--text-4xl); margin-bottom: var(--space-xl); font-weight: 600; }
h3 { font-size: var(--text-2xl); margin-bottom: var(--space-lg); }
h4 { font-size: var(--text-xl); margin-bottom: var(--space-md); }

p {
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-xl);
  font-family: var(--font-primary);
  font-weight: var(--font-weight-medium);
  font-size: var(--text-base);
  border-radius: 50px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-black);
}

.btn--primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(217, 239, 130, 0.45);
}

.btn--primary:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 239, 130, 0.3);
}

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

.btn--outline:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background-color: var(--color-primary);
  transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.header--scrolled {
  background-color: rgba(54, 81, 64, 0.82);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header__logo img {
  height: 58px;
  width: auto;
}

.header__logo-text {
  color: var(--color-white);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: 2.5px;
  white-space: nowrap;
  text-transform: uppercase;
  line-height: 1;
}

.header__logo-sapa {
  font-weight: 300;
  letter-spacing: 4px;
  opacity: 0.75;
  font-size: 0.8em;
  display: block;
  margin-bottom: 1px;
}

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

.header__nav a {
  font-weight: var(--font-weight-medium);
  font-size: var(--text-base);
  color: var(--color-white);
  transition: color var(--transition-fast);
  position: relative;
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--color-accent);
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-base);
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

/* Language switcher */
.header__lang {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: var(--space-lg);
}

.header__lang a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 22px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.15);
  transition: all var(--transition-fast);
  letter-spacing: 0.5px;
}

.header__lang a:hover,
.header__lang a.active-lang {
  background: var(--color-accent);
  color: var(--color-black);
}

/* Credit Marta */
.footer__credit {
  text-align: center;
  padding-top: var(--space-sm);
  font-size: 11px;
  color: var(--color-text-secondary);
  opacity: 0.6;
  letter-spacing: 0.5px;
}

.footer__credit span {
  color: var(--color-accent);
  font-weight: var(--font-weight-medium);
}

/* Mobile menu toggle */
.header__menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
}

.header__menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  transition: all var(--transition-base);
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-5xl) var(--space-lg);
  margin-top: var(--header-height);
  overflow: hidden;
}

.hero__background {
  position: absolute;
  inset: -20%;
  z-index: 0;
  will-change: transform;
}

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

/* Scroll-down arrow */
.hero__scroll-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounceArrow 2s ease-in-out infinite;
  opacity: 0.8;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hero__scroll-arrow svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

@keyframes bounceArrow {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.8; }
  50% { transform: translateX(-50%) translateY(12px); opacity: 1; }
}

/* Inline arrow variant (inside hero__content, above buttons) */
.hero__scroll-arrow--inline {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  margin: 0 auto var(--space-lg);
  display: block;
  animation: bounceArrowInline 2s ease-in-out infinite;
}

@keyframes bounceArrowInline {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50% { transform: translateY(10px); opacity: 1; }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(42, 63, 50, 0.85) 0%, rgba(54, 81, 64, 0.6) 50%, rgba(42, 63, 50, 0.8) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero__title {
  font-size: var(--text-6xl);
  font-weight: var(--font-weight-bold);
  font-family: var(--font-heading);
  margin-bottom: var(--space-lg);
  color: var(--color-white);
  letter-spacing: -1px;
  line-height: 1.1;
}

.hero__subtitle {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-light);
  margin-bottom: var(--space-2xl);
  color: var(--color-text-secondary);
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
  justify-content: center;
}

/* ---- Sections ---- */
.section {
  padding: 7rem 0;
  position: relative;
}

.section--light {
  background-color: var(--color-gray-100);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.018'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color: var(--color-text-dark);
}

.section--dark {
  background-color: var(--color-primary);
  color: var(--color-white);
  position: relative;
}

.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 0;
}

.section--dark > * {
  position: relative;
  z-index: 1;
}

/* Grain on footer too */
.footer {
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 0;
}

.footer > * {
  position: relative;
  z-index: 1;
}

.section__title {
  text-align: center;
  margin-bottom: var(--space-3xl);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.5px;
}

.section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: var(--space-lg) auto 0;
  border-radius: 2px;
}

.section--dark .section__title::after {
  background: var(--color-accent);
}

.section--light .section__title::after {
  background: var(--color-primary);
}

/* Wave separator */
.wave-separator {
  position: relative;
  height: 80px;
  overflow: hidden;
  line-height: 0;
}

.wave-separator--dark-to-light {
  background: var(--color-primary);
}

.wave-separator--dark-to-light svg {
  fill: var(--color-gray-100);
}

.wave-separator--light-to-dark {
  background: var(--color-gray-100);
}

.wave-separator--light-to-dark svg {
  fill: var(--color-primary);
}

.wave-separator svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* Stat pillars (home page) */
.stat-pillar {
  padding-top: var(--space-2xl);
  border-top: 2px solid var(--color-accent);
  display: flex;
  flex-direction: column;
}

.stat-pillar__number {
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-sm);
  letter-spacing: -1px;
}

.stat-pillar__number sup {
  font-size: 0.45em;
  font-weight: 400;
  vertical-align: super;
  letter-spacing: 0;
}

.stat-pillar__title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-lg);
}

.stat-pillar__text {
  color: rgba(255,255,255,0.75);
  font-size: var(--text-sm);
  line-height: 1.75;
  margin: 0;
}

/* Timeline (about page) */
.timeline {
  display: flex;
  flex-direction: column;
  max-width: 720px;
  margin: 0 auto;
}

.timeline__item {
  display: grid;
  grid-template-columns: 90px 1px 1fr;
  gap: 0 var(--space-xl);
  padding-bottom: var(--space-3xl);
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__year {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  text-align: right;
  padding-top: 3px;
}

.timeline__line {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  margin-top: 6px;
  z-index: 1;
}

.timeline__connector {
  width: 2px;
  flex: 1;
  background: rgba(54,81,64,0.2);
  margin-top: 4px;
}

.timeline__item:last-child .timeline__connector { display: none; }

.timeline__title {
  font-weight: 700;
  color: var(--color-text-dark);
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
}

.timeline__text {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 480px) {
  .timeline__item { grid-template-columns: 65px 1px 1fr; gap: 0 var(--space-md); }
  .timeline__year { font-size: var(--text-sm); }
}

/* Footer social SVG icons */
.footer__social a svg {
  width: 20px;
  height: 20px;
  fill: var(--color-white);
  transition: fill var(--transition-fast);
}

.footer__social a:hover svg {
  fill: var(--color-black);
}

/* Google Maps embed */
.contact-map {
  margin-top: var(--space-3xl);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-map iframe {
  width: 100%;
  height: 350px;
  border: none;
  filter: grayscale(30%) contrast(1.1);
  transition: filter var(--transition-base);
}

.contact-map iframe:hover {
  filter: grayscale(0%) contrast(1);
}

/* ---- Grid ---- */
.grid {
  display: grid;
  gap: var(--space-2xl);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---- Product Cards ---- */
a.product-card {
  text-decoration: none;
  display: block;
  color: inherit;
}

.product-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.product-card__image {
  aspect-ratio: 1;
  overflow: hidden;
  background: #e8dcc8;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), filter var(--transition-base);
  filter: brightness(1.02) saturate(1.05);
}

.product-card:hover .product-card__image img {
  transform: scale(1.1);
}

.section--light .product-card {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.section--light .product-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
  transform: translateY(-10px);
}

.product-card__body {
  padding: var(--space-xl);
}

.product-card__title {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-sm);
}

.product-card__description {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.product-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  transition: gap var(--transition-fast);
}
a.product-card:hover .product-card__cta { gap: 10px; }

.product-card__meta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.product-card__tag {
  font-size: 0.7rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  background: rgba(54, 81, 64, 0.08);
  border: 1px solid rgba(54, 81, 64, 0.2);
  padding: 3px 10px;
  border-radius: 20px;
}

.product-card__tag:last-child {
  color: var(--color-warm);
  background: var(--color-warm-light);
  border-color: rgba(200, 105, 61, 0.25);
}

/* ---- Contact Form ---- */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 600px;
}

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

.form__label {
  font-weight: var(--font-weight-medium);
  font-size: var(--text-sm);
}

.form__input,
.form__textarea {
  padding: var(--space-sm) var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-size: var(--text-base);
  transition: border-color var(--transition-fast);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

/* ---- Footer ---- */
.footer {
  background-color: var(--color-gray-900);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand p {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  max-width: 400px;
}

.footer__heading {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-md);
  color: var(--color-accent);
}

.footer__links a {
  display: block;
  padding: var(--space-xs) 0;
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background var(--transition-fast);
}

.footer__social a:hover {
  background: var(--color-accent);
  color: var(--color-black);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* ---- Scroll Animations ---- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Directional variants */
.animate-on-scroll.animate-left {
  transform: translateX(-60px);
}

.animate-on-scroll.animate-right {
  transform: translateX(60px);
}

.animate-on-scroll.animate-scale {
  transform: scale(0.9);
}

.animate-on-scroll.animate-fade {
  transform: none;
}

/* Staggered delays — set dynamically by JS via --stagger-delay */
.animate-on-scroll {
  transition-delay: var(--stagger-delay, 0s);
}

/* ---- Image Reveal Effect ---- */
.img-reveal {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.img-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 2;
}

.img-reveal.revealed::after {
  transform: scaleX(0);
}

.img-reveal img {
  transform: scale(1.15);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.img-reveal.revealed img {
  transform: scale(1);
}

/* Light section variant */
.section--light .img-reveal::after {
  background: var(--color-gray-100);
}

/* ---- Back to Top Button ---- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-black);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base), background var(--transition-fast);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-accent-hover);
  transform: translateY(-3px);
}

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

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid--3 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Typography */
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }

  /* Sections */
  .section { padding: var(--space-3xl) 0; }

  /* Header */
  .header__logo img { height: 40px; }
  .header__logo { gap: 7px; }
  .header__logo-text {
    font-size: 11px;
    letter-spacing: 1.5px;
  }
  .header__logo-sapa {
    letter-spacing: 2px;
    font-size: 0.85em;
  }
  .header__lang { margin-left: auto; margin-right: var(--space-sm); }
  .header__nav { display: none; }
  .header__nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(54, 81, 64, 0.92);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    padding: var(--space-xl);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    gap: var(--space-md);
  }
  .header__menu-toggle { display: flex; }

  /* Hero */
  .hero { min-height: 60vh; padding-top: calc(var(--header-height) + var(--space-2xl)); }
  .hero__title { font-size: var(--text-4xl); }
  .hero__subtitle { font-size: var(--text-base); }
  .hero__background { inset: 0; }
  .hero__scroll-arrow { bottom: 20px; }
  .hero__scroll-arrow svg { width: 28px; height: 28px; }
  .hero__actions { flex-direction: column; align-items: center; gap: var(--space-sm); }
  .hero__actions .btn { width: 100%; text-align: center; justify-content: center; }

  /* Product cards */
  .product-card__image { aspect-ratio: 4 / 3; }

/* ---- Fruit Detail Pages ---- */
.fruit-quote {
  font-size: var(--text-2xl);
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.3;
  border-left: 4px solid var(--color-accent);
  padding-left: var(--space-xl);
  margin: var(--space-2xl) 0;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .fruit-quote { font-size: var(--text-xl); }
}

.breadcrumb {
  padding: var(--space-md) 0 0;
  font-size: var(--text-sm);
}
.breadcrumb a {
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}
.breadcrumb a:hover { color: var(--color-warm); }

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.fact-grid { counter-reset: fact-counter; }

.fact-card {
  background: rgba(255,255,255,0.07);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  border-top: 3px solid var(--color-accent);
  counter-increment: fact-counter;
}
.fact-card__icon { display: none; }
.fact-card::before {
  content: "0" counter(fact-counter);
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-accent);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: var(--space-md);
  letter-spacing: -2px;
}
.fact-card__text {
  color: rgba(255,255,255,0.85);
  font-size: var(--text-sm);
  line-height: 1.8;
  margin: 0;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}
.recipe-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--color-warm);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.recipe-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
}
.recipe-card__body { padding: var(--space-xl); flex: 1; }
.recipe-card__number {
  font-size: 4rem;
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.07;
  line-height: 1;
  margin-bottom: -1.8rem;
  letter-spacing: -3px;
  display: block;
}
.recipe-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-md);
  position: relative;
}
.recipe-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 860px) {
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .fact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .recipe-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .fact-grid, .recipe-grid { gap: var(--space-md); }
}

  /* Stat pillars */
  .stat-pillar__number { font-size: 2.8rem; }

  /* Timeline */
  .timeline__item { grid-template-columns: 75px 1px 1fr; gap: 0 var(--space-lg); padding-bottom: var(--space-2xl); }

  /* Wave */
  .wave-separator { height: 50px; }
  .wave-separator svg { height: 50px; }

  /* Grids */
  .grid--2 { grid-template-columns: 1fr; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid { gap: var(--space-lg); }

  /* Contact */
  .contact-map iframe { height: 250px; }
  .form { max-width: 100%; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: var(--space-xl); }

  /* Misc */
  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

@media (max-width: 480px) {
  /* Header */
  .header__logo img { height: 34px; }
  .header__logo-text { font-size: 10px; letter-spacing: 1px; }
  .header__logo-sapa { letter-spacing: 1.5px; }
  .header__lang a { width: 26px; font-size: 10px; }

  /* Typography */
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }

  /* Container */
  .container { padding: 0 var(--space-md); }

  /* Sections */
  .section { padding: var(--space-2xl) 0; }
  .section__title { margin-bottom: var(--space-2xl); }

  /* Hero */
  .hero__title { font-size: var(--text-3xl); }
  .hero__subtitle { font-size: var(--text-sm); }

  /* Stat pillars */
  .stat-pillar__number { font-size: 2.2rem; }
  .stat-pillar { padding-top: var(--space-lg); }

  /* Timeline */
  .timeline__item { grid-template-columns: 55px 1px 1fr; gap: 0 var(--space-sm); padding-bottom: var(--space-xl); }
  .timeline__year { font-size: var(--text-sm); }

  /* Wave */
  .wave-separator { height: 35px; }
  .wave-separator svg { height: 35px; }

  /* Grids */
  .grid { gap: var(--space-md); }

  /* Buttons */
  .btn { padding: var(--space-sm) var(--space-lg); font-size: var(--text-sm); }

  /* Contact */
  .contact-map iframe { height: 200px; }

  /* Misc */
  .back-to-top { bottom: 15px; right: 15px; width: 38px; height: 38px; }
  .back-to-top svg { width: 18px; height: 18px; }
}

/* ---- Lightbox ---- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox--open { display: flex; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
  cursor: zoom-out;
}
.lightbox__img {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: lightbox-in 0.25s ease;
}
@keyframes lightbox-in {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1); }
}
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 1;
}
.lightbox__close:hover { background: rgba(255,255,255,0.25); }

/* ---- Hero fruit color tint ---- */
.hero__tint {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* ---- Season badge ---- */
.season-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(76, 175, 80, 0.1);
  color: #2e7d32;
  border: 1px solid rgba(76, 175, 80, 0.32);
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 3px 9px;
  text-transform: uppercase;
  margin-right: var(--space-xs);
}
.season-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4caf50;
  animation: pulse-green 1.5s ease-in-out infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.product-card--in-season {
  box-shadow: 0 4px 20px rgba(76, 175, 80, 0.14), 0 0 0 2px rgba(76, 175, 80, 0.18);
}

/* ---- Home mini fruit cards ---- */
.fruit-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}
.fruit-mini-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.fruit-mini-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.fruit-mini-card__image {
  height: 150px;
  overflow: hidden;
}
.fruit-mini-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.fruit-mini-card:hover .fruit-mini-card__image img {
  transform: scale(1.08);
}
.fruit-mini-card__body {
  padding: var(--space-md) var(--space-lg);
}
.fruit-mini-card__name {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-primary);
  margin: 0 0 4px;
}
.fruit-mini-card__season {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---- Home about teaser ---- */
.home-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
.home-about__image {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}
.home-about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-about__text h2 {
  margin-bottom: var(--space-lg);
}
.home-about__text p {
  opacity: 0.85;
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .fruit-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .home-about { grid-template-columns: 1fr; }
  .home-about__image { aspect-ratio: 16 / 9; }
}
@media (max-width: 480px) {
  .fruit-mini-grid { gap: var(--space-md); }
  .fruit-mini-card__image { height: 120px; }
}

/* ---- Expanded recipe card detail ---- */
.recipe-card__stats {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin: var(--space-sm) 0 var(--space-md);
  padding: var(--space-sm) 0;
  border-top: 1px solid rgba(54,81,64,0.12);
  border-bottom: 1px solid rgba(54,81,64,0.12);
}
.recipe-card__stats span {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--color-primary);
  opacity: 0.82;
}
.recipe-card__ingredients {
  margin-bottom: var(--space-md);
}
.recipe-card__ingr-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-primary);
  margin: 0 0 6px;
}
.recipe-card__ingr-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.recipe-card__ingr-list li {
  font-size: 0.77rem;
  color: var(--color-text-muted);
  padding-left: 13px;
  position: relative;
  line-height: 1.5;
}
.recipe-card__ingr-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--color-warm);
  font-weight: 700;
}
.recipe-card__steps {
  font-size: 0.8rem;
  color: var(--color-text-dark);
  line-height: 1.75;
  border-left: 3px solid var(--color-warm);
  padding-left: var(--space-md);
  margin: var(--space-md) 0 var(--space-xl);
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.custom-cursor * { cursor: none !important; }

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}
.cursor-ring--hover {
  width: 58px; height: 58px;
  background: rgba(217, 239, 130, 0.12);
}
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  will-change: transform;
}

/* ============================================
   HERO ROTATING TEXT
   ============================================ */
.hero__rotator {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: calc(-1 * var(--space-md)) 0 var(--space-xl);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  min-height: 2rem;
}
.hero__rotator--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   ORIGINS MAP SECTION
   ============================================ */
.origins-map-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  user-select: none;
}
.origins-map-wrap svg.world-map {
  width: 100%;
  height: auto;
  display: block;
}
.origins-map-wrap svg.world-map path {
  fill: rgba(255,255,255,0.1);
  stroke: rgba(255,255,255,0.15);
  stroke-width: 0.8;
  transition: fill 0.3s ease;
}
.origin-dot {
  position: absolute;
  cursor: pointer;
  z-index: 5;
}
.origin-dot__pulse {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  position: relative;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}
.origin-dot__pulse::before,
.origin-dot__pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse-map 2.2s ease-out infinite;
}
.origin-dot__pulse::after { animation-delay: 1.1s; }
@keyframes pulse-map {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(3.5); opacity: 0; }
}
.origin-dot:hover .origin-dot__pulse,
.origin-dot--active .origin-dot__pulse {
  transform: translate(-50%, -50%) scale(1.4);
}
.origin-tooltip {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary-dark);
  border: 1px solid rgba(217,239,130,0.4);
  border-radius: var(--border-radius-md);
  padding: var(--space-sm) var(--space-md);
  min-width: 150px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateX(-50%) translateY(6px);
  z-index: 10;
}
.origin-tooltip::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(217,239,130,0.4);
}
.origin-dot:hover .origin-tooltip,
.origin-dot--active .origin-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.origin-tooltip__flag { font-size: 1.3rem; display: block; margin-bottom: 3px; }
.origin-tooltip__country {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
  margin-bottom: 5px;
}
.origin-tooltip__fruits {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}
@media (max-width: 768px) {
  .origins-map-wrap { max-width: 100%; }
  .origin-tooltip { min-width: 120px; font-size: 0.65rem; }
}

/* ============================================
   READING PROGRESS BAR
   ============================================ */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), #a8d65a);
  width: 0%;
  z-index: 100001;
  transition: none;
  pointer-events: none;
}

/* ============================================
   TEXT REVEAL ON SCROLL
   ============================================ */
.text-reveal .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.text-reveal .char-space { display: inline; width: 0.3em; }
.text-reveal.revealed .char {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HERO PARTICLES CANVAS
   ============================================ */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ============================================
   PAGE TRANSITION OVERLAY
   ============================================ */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--color-primary);
  z-index: 100000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.page-transition--active { opacity: 1; pointer-events: all; }
.page-transition--enter { opacity: 1; }

/* ============================================
   DARK MODE
   ============================================ */
.theme-toggle {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  background: transparent;
  color: var(--color-foreground);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
  margin-left: var(--space-xs);
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--color-accent);
  background: rgba(217,239,130,0.1);
}
.theme-toggle svg { width: 16px; height: 16px; }

[data-theme="dark"] .section--light {
  background: #141e18;
  color: var(--color-foreground);
}
[data-theme="dark"] .section--light h2,
[data-theme="dark"] .section--light h3,
[data-theme="dark"] .section--light .form__label {
  color: var(--color-foreground) !important;
}
[data-theme="dark"] .section--light p,
[data-theme="dark"] .section--light .product-card__description {
  color: rgba(255,255,255,0.72) !important;
}
[data-theme="dark"] .section--light .product-card,
[data-theme="dark"] .section--light .fruit-mini-card,
[data-theme="dark"] .section--light .recipe-card,
[data-theme="dark"] .section--light .fact-card {
  background: rgba(255,255,255,0.06);
  color: var(--color-foreground);
}
[data-theme="dark"] .section--light .product-card__title,
[data-theme="dark"] .section--light .recipe-card__title,
[data-theme="dark"] .section--light .fruit-mini-card__name {
  color: var(--color-foreground);
}
[data-theme="dark"] .section--light .product-card__cta {
  color: var(--color-accent);
}
[data-theme="dark"] .section--light .form__input,
[data-theme="dark"] .section--light .form__textarea {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--color-foreground);
}
[data-theme="dark"] .wave-separator--dark-to-light svg path { fill: #141e18; }
[data-theme="dark"] .wave-separator--light-to-dark svg path { fill: #141e18; }
[data-theme="dark"] .origins-section {
  background: #141e18;
}

/* ============================================
   MASONRY GALLERY
   ============================================ */
.masonry-gallery {
  columns: 3;
  column-gap: var(--space-md);
}
.masonry-gallery__item {
  break-inside: avoid;
  margin-bottom: var(--space-md);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}
.masonry-gallery__item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}
.masonry-gallery__item:hover img {
  transform: scale(1.06);
}
.masonry-gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.masonry-gallery__item:hover::after { opacity: 1; }

@media (max-width: 768px) {
  .masonry-gallery { columns: 2; }
}
@media (max-width: 480px) {
  .masonry-gallery { columns: 1; }
}

/* ===========================================
   Season / Novedades Page
   =========================================== */

/* ---- Featured Season Cards ---- */
.season-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.season-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--color-white);
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.season-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

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

.season-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.season-card:hover .season-card__image img {
  transform: scale(1.06);
}

.season-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
  z-index: 1;
}

.season-card__content {
  position: relative;
  z-index: 2;
  padding: var(--space-xl);
}

.season-card__badge {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: var(--space-sm);
}

.season-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--color-white);
}

.season-card__origin {
  font-size: var(--text-sm);
  opacity: 0.85;
  margin-bottom: var(--space-md);
}

.season-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-accent);
  transition: gap 0.3s ease;
}

.season-card:hover .season-card__cta {
  gap: 10px;
}

@media (max-width: 768px) {
  .season-featured {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .season-card {
    aspect-ratio: 16/10;
  }
}

/* ---- Season Calendar ---- */
.season-calendar {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.season-calendar table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.season-calendar th {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 0;
  color: var(--color-text-muted);
  text-align: center;
  border-bottom: 1px solid var(--color-gray-200);
}

.season-calendar th:first-child {
  text-align: left;
  padding-left: 4px;
  min-width: 140px;
}

.season-calendar th.current-month {
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
}

.season-calendar td {
  padding: 8px 2px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.season-calendar td:first-child {
  text-align: left;
  padding-left: 4px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-dark);
  font-size: var(--text-sm);
}

.season-calendar tr:last-child td {
  border-bottom: none;
}

.season-calendar__dot {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.25;
}

.season-calendar__dot--active {
  opacity: 1;
  background: var(--color-primary);
}

.season-calendar__dot--current {
  opacity: 1;
  background: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(217, 239, 130, 0.3);
}

.season-calendar__link {
  text-decoration: none;
  transition: color 0.2s ease;
  color: var(--color-text-dark);
}

.season-calendar td:first-child .season-calendar__link--in-season {
  color: var(--color-accent) !important;
}

.season-calendar td:first-child .season-calendar__link--off-season {
  color: var(--color-primary-dark) !important;
}

.season-calendar__link:hover {
  opacity: 0.8;
}

.season-calendar td:first-child .season-calendar__link--in-season:hover {
  color: #e8f5a0;
}

.season-calendar td:first-child .season-calendar__link--off-season:hover {
  color: var(--color-primary);
}

/* Calendar legend */
.season-calendar__legend {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  opacity: 0.7;
  font-size: var(--text-sm);
}

.season-calendar__legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

/* Fun fact card */
.season-funfact {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-2xl);
  background: white;
  border-radius: var(--border-radius-lg);
  border-left: 4px solid var(--color-accent);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.season-funfact__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-primary);
}

.season-funfact__title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.season-funfact__text {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Coming soon section */
.season-coming {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-2xl);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--border-radius-lg);
  background: rgba(255,255,255,0.04);
}

.season-coming__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(217, 239, 130, 0.15);
  color: var(--color-accent);
}

.season-coming__title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: var(--space-xs);
}

.season-coming p {
  opacity: 0.85;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .season-calendar__dot {
    width: 20px;
    height: 20px;
  }
  .season-calendar th:first-child,
  .season-calendar td:first-child {
    min-width: 100px;
    font-size: var(--text-xs);
  }
  .season-calendar__legend {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }
  .season-funfact,
  .season-coming {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-lg);
  }
}

/* ============================================
   CONSENTMANAGER — Cookie Banner Override
   Barra discreta en la parte inferior
   ============================================ */

/* Fondo oscuro eliminado */
.cmpboxoverlay { display: none !important; }

/* Contenedor principal — barra abajo */
#cmpbox,
#cmpbox2 {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  top: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  transform: none !important;
  border-radius: 0 !important;
  background: #2a3f32 !important;
  border-top: 2px solid #d9ef82 !important;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25) !important;
  padding: 14px 24px !important;
  z-index: 999999 !important;
  margin: 0 !important;
  font-family: 'Poppins', sans-serif !important;
}

/* Inner container */
#cmpbox .cmpboxinner,
#cmpbox2 .cmpboxinner {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  justify-content: space-between !important;
}

/* Logo oculto */
#cmpbox .cmpboxlogo,
#cmpbox2 .cmpboxlogo { display: none !important; }

/* Texto */
#cmpbox .cmptxt,
#cmpbox .cmpboxtxt,
#cmpbox2 .cmptxt,
#cmpbox2 .cmpboxtxt {
  color: rgba(255,255,255,0.80) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  flex: 1 !important;
  min-width: 200px !important;
}

#cmpbox .cmptxt a,
#cmpbox2 .cmptxt a { color: #d9ef82 !important; }

/* Botones */
#cmpbox .cmpboxbtns,
#cmpbox2 .cmpboxbtns {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

/* Botón Aceptar */
#cmpbox a.cmpboxbtnyes,
#cmpbox2 a.cmpboxbtnyes {
  background: #d9ef82 !important;
  color: #2a3f32 !important;
  border: none !important;
  padding: 8px 20px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

/* Botón Rechazar / Configuración */
#cmpbox a.cmpboxbtnno,
#cmpbox2 a.cmpboxbtnno,
#cmpbox a.cmpboxbtnsettings,
#cmpbox2 a.cmpboxbtnsettings {
  background: transparent !important;
  color: rgba(255,255,255,0.55) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

@media (max-width: 600px) {
  #cmpbox,
  #cmpbox2 { padding: 12px 16px !important; }
  #cmpbox .cmpboxinner,
  #cmpbox2 .cmpboxinner { flex-direction: column !important; text-align: center !important; }
  #cmpbox .cmpboxbtns,
  #cmpbox2 .cmpboxbtns { width: 100% !important; justify-content: center !important; }
}
