*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --antioquia-bg: #A67523;
  --antioquia-dark: #A67523;
  --antioquia-accent: #C05050;
  --antioquia-cream: #FFF5F0;

  --tumaco-bg: #1A6050;
  --tumaco-dark: #0C3228;
  --tumaco-accent: #3A9E78;
  --tumaco-cream: #EDF7F4;

  --huila-bg: #8C3E22;
  --huila-dark: #3A1509;
  --huila-accent: #C4713A;
  --huila-cream: #FBF2EC;

  --hacienda-bg: #726251;
  --hacienda-dark: #1A0A08;
  --hacienda-accent: #88432a;
  --hacienda-cream: #F5EDE6;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: #FAF6F0;
  overflow: hidden;
}

/* ─── NAV ─────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0 3rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  color: #1a1a1a;
  text-decoration: none;
}

.nav-logo span {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  font-weight: 400;
  color: #888;
  text-transform: uppercase;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.nav-links li a {
  display: block;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  color: #555;
  letter-spacing: 0.03em;
  transition: all 0.25s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
  outline: none;
}

.nav-links li a:hover {
  color: #1a1a1a;
  background: rgba(0, 0, 0, 0.05);
}

.nav-links li a:focus {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
}

.nav-links li a.active {
  color: white;
  border-color: transparent;
}

.nav-colcocoa {
  background: #1a1a1a !important;
  color: white !important;
  border-color: transparent !important;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.08em;
  font-size: 0.9rem !important;
}

.nav-colcocoa:hover {
  background: #3a3a3a !important;
  color: white !important;
}

/* ─── MAIN CONTENT ───────────────────────── */
main {
  margin-top: 68px;
  height: calc(100vh - 68px);
  height: calc(100dvh - 68px);
  position: relative;
  overflow: hidden;
}

/* ─── SECTION PANEL ──────────────────────── */
.panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.25, 1, 0.5, 1), transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Landing panel ocupa todo el espacio */
#panel-landing {
  grid-template-columns: 1fr;
}

.panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  position: relative;
}

.panel.exit {
  opacity: 0;
  transform: translateY(-25px);
  pointer-events: none;
  position: absolute;
}

/* ─── LEFT COLUMN ─────────────────────────── */
.panel-left {
  padding: clamp(1rem, 3vh, 3rem) clamp(1.5rem, 4vw, 4rem) clamp(1rem, 3vh, 3rem) clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.panel-country {
  font-size: clamp(0.6rem, 1.2vw, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: clamp(0.5rem, 1.5vh, 1.5rem);
  opacity: 0.75;
}

.panel-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 7vw, 7rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  margin-bottom: clamp(0.75rem, 2vh, 1.5rem);
}

.panel-tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.85rem, 1.6vw, 1.1rem);
  line-height: 1.5;
  max-width: clamp(280px, 32vw, 420px);
  margin-bottom: clamp(0.75rem, 1.5vh, 1.5rem);
  font-style: italic;
}

.panel-description {
  font-size: clamp(0.8rem, 1.25vw, 0.95rem);
  line-height: 1.6;
  max-width: clamp(280px, 32vw, 430px);
  margin-bottom: clamp(0.75rem, 1.5vh, 1.35rem);
}

.panel-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(0.75rem, 1.5vh, 1.5rem);
}

.badge {
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1.5px solid currentColor;
  opacity: 0.85;
}

.panel-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.75rem, 2vw, 1.5rem);
  padding-top: clamp(0.75rem, 2vh, 1.5rem);
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.stat-label {
  font-size: clamp(0.58rem, 1.1vw, 0.68rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  line-height: 1;
}

/* ─── RIGHT COLUMN ────────────────────────── */
.panel-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

/* flavor wheel */
.flavor-container {
  position: relative;
  width: clamp(220px, 28vw, 320px);
  height: clamp(220px, 28vw, 320px);
  margin-bottom: clamp(1rem, 2.5vh, 2rem);
}

.flavor-wheel-bg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
}

.flavor-wheel-bg svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.15));
}

.flavor-wheel-center {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.wheel-center-label {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.2rem;
}

.wheel-center-origin {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: #1a1a1a;
}

.flavor-labels {
  position: absolute;
  inset: -40px;
  pointer-events: none;
}

.flavor-label {
  position: absolute;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  color: #1a1a1a;
}

/* info cards */
.info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  width: 100%;
  max-width: clamp(280px, 32vw, 360px);
}

.info-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: clamp(0.75rem, 2vw, 1rem);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.info-card-icon {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 0.4rem;
}

.info-card-label {
  font-size: clamp(0.55rem, 1vw, 0.65rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 0.15rem;
}

.info-card-value {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.85rem, 1.7vw, 1rem);
  font-weight: 700;
}

/* ─── BG DECORATION ──────────────────────── */
.bg-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.78;
  pointer-events: none;
}

/* ─── SIDE STRIP ─────────────────────────── */
.side-strip {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 50;
}

.side-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.side-dot.active {
  height: 28px;
  border-radius: 4px;
}

/* ─── SCROLL HINT ────────────────────────── */
.scroll-hint {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 50;
}

.scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

.scroll-arrow {
  width: 1px;
  height: 30px;
  background: #1a1a1a;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.7);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ─── SECTION SPECIFIC ───────────────────── */

/* CECAO */
#panel-antioquia {
  background: var(--antioquia-cream);
}

#panel-antioquia .panel-left {
  background: var(--antioquia-bg);
  color: white;
}

#panel-antioquia .panel-right {
  background: var(--antioquia-cream);
}

#panel-antioquia .bg-blob-1 {
  width: 550px;
  height: 550px;
  top: -180px;
  left: -180px;
  background-image: url('images/cocoa03.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* 1. FORMA ORGÁNICA: Cambiamos el círculo por un blob fluido */
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;

  /* 2. DIFUMINAR BORDES: Hace que la foto se desvanezca suavemente hacia afuera */
  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 70%);
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 70%);

  /* 3. FUSIÓN DE COLOR: Absorbe el fondo marrón/dorado del panel */
  /* mix-blend-mode: multiply; */
  opacity: 0.4;
  /* Bajamos la opacidad para que no compita con el título "Antioquia" */

  /* 4. FILTROS: Suaviza los contrastes de la foto original */
  filter: sepia(40%) contrast(95%) brightness(110%);

  /* Animación sutil opcional: le da vida al fondo moviéndose como líquido */
  animation: blob-fluid 12s ease-in-out infinite alternate;
}

/* Animación sutil para que el blob cambie de forma orgánicamente */
@keyframes blob-fluid {
  0% {
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  }

  100% {
    border-radius: 70% 30% 52% 48% / 60% 40% 60% 40%;
  }
}


#panel-antioquia .nav-active {
  background: var(--antioquia-accent);
}

/* ABOCFA */
#panel-tumaco {
  background: var(--tumaco-cream);
}

#panel-tumaco .panel-left {
  background: var(--tumaco-bg);
  color: white;
}

#panel-tumaco .panel-right {
  background: var(--tumaco-cream);
}

#panel-tumaco .bg-blob-1 {
  width: 550px;
  height: 550px;
  top: -180px;
  left: -180px;
  background-image: url('images/cocoa.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* 1. FORMA ORGÁNICA: Cambiamos el círculo por un blob fluido */
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;

  /* 2. DIFUMINAR BORDES: Hace que la foto se desvanezca suavemente hacia afuera */
  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 70%);
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 70%);

  /* 3. FUSIÓN DE COLOR: Absorbe el fondo marrón/dorado del panel */
  /* mix-blend-mode: multiply; */
  opacity: 0.4;
  /* Bajamos la opacidad para que no compita con el título "Antioquia" */

  /* 4. FILTROS: Suaviza los contrastes de la foto original */
  filter: sepia(40%) contrast(95%) brightness(110%);

  /* Animación sutil opcional: le da vida al fondo moviéndose como líquido */
  animation: blob-fluid 12s ease-in-out infinite alternate;
}

#panel-tumaco .nav-active {
  background: var(--tumaco-accent);
}

/* KOKOA */
#panel-huila {
  background: var(--huila-cream);
}

#panel-huila .panel-left {
  background: var(--huila-bg);
  color: white;
}

#panel-huila .panel-right {
  background: var(--huila-cream);
}

#panel-huila .bg-blob-1 {
  width: 550px;
  height: 550px;
  top: -180px;
  left: -180px;
  background-image: url('images/cocoa04.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* 1. FORMA ORGÁNICA: Cambiamos el círculo por un blob fluido */
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;

  /* 2. DIFUMINAR BORDES: Hace que la foto se desvanezca suavemente hacia afuera */
  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 70%);
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 70%);

  /* 3. FUSIÓN DE COLOR: Absorbe el fondo marrón/dorado del panel */
  /* mix-blend-mode: multiply; */
  opacity: 0.4;
  /* Bajamos la opacidad para que no compita con el título "Antioquia" */

  /* 4. FILTROS: Suaviza los contrastes de la foto original */
  filter: sepia(40%) contrast(95%) brightness(110%);

  /* Animación sutil opcional: le da vida al fondo moviéndose como líquido */
  animation: blob-fluid 12s ease-in-out infinite alternate;
}

#panel-huila .nav-active {
  background: var(--huila-accent);
}

/* HACIENDA */
#panel-hacienda {
  background: var(--hacienda-cream);
}

#panel-hacienda .panel-left {
  background: var(--hacienda-bg);
  color: white;
}

#panel-hacienda .panel-right {
  background: var(--hacienda-cream);
}

#panel-hacienda .bg-blob-1 {
  width: 550px;
  height: 550px;
  top: -180px;
  left: -180px;
  background-image: url('images/CACAO-HLT-006.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* 1. FORMA ORGÁNICA: Cambiamos el círculo por un blob fluido */
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;

  /* 2. DIFUMINAR BORDES: Hace que la foto se desvanezca suavemente hacia afuera */
  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 70%);
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 70%);

  /* 3. FUSIÓN DE COLOR: Absorbe el fondo marrón/dorado del panel */
   /* mix-blend-mode: multiply;  */
  opacity: 0.4;
  /* Bajamos la opacidad para que no compita con el título "Antioquia" */

  /* 4. FILTROS: Suaviza los contrastes de la foto original */
  filter: sepia(40%) contrast(95%) brightness(110%);

  /* Animación sutil opcional: le da vida al fondo moviéndose como líquido */
  animation: blob-fluid 12s ease-in-out infinite alternate;
}

.stats-icon{
  width: 40px;
  height: 40px;
}


#panel-hacienda .nav-active {
  background: var(--hacienda-accent);
}

/* ─── MOBILE MENU TOGGLE ───────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 101;
  border: 0;
  background: transparent;
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── MODALS ──────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #FAF6F0;
  border-radius: 28px;
  max-width: 1050px;
  width: 92%;
  max-height: 85vh;
  overflow: hidden;
  transform: translateY(30px);
  transition: transform 0.3s ease;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-left {
  padding: 2rem 2.25rem;
  overflow-y: auto;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.modal-left::-webkit-scrollbar {
  width: 6px;
}

.modal-left::-webkit-scrollbar-track {
  background: transparent;
}

.modal-left::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.modal-left::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.modal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 0.03em;
  line-height: 1;
}

.modal-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.08);
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.15);
  transform: rotate(90deg);
}

/* Modal responsive */
@media (max-width: 1024px) {
  .modal {
    max-width: 950px;
  }
}

@media (max-width: 768px) {
  .modal {
    grid-template-columns: 1fr;
    max-width: 600px;
    max-height: 90vh;
  }

  .modal-left {
    padding: 1.75rem 1.75rem;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 480px) {
  .modal {
    width: 95%;
    border-radius: 22px;
    max-width: 480px;
  }

  .modal-left {
    padding: 1.5rem 1.5rem;
    max-height: 88vh;
    overflow-y: auto;
  }

  .modal-title {
    font-size: 2rem;
  }

  .modal-subtitle {
    font-size: 1.05rem;
  }

  .modal-content {
    font-size: 0.88rem;
  }

  .modal-stats {
    gap: 0.8rem;
  }

  .modal-stat-value {
    font-size: 1.4rem;
  }
}

@media (max-width: 400px) {
  .modal-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* responsive */
@media (max-width: 1024px) {
  .panel-left {
    padding: clamp(1rem, 3vh, 2.5rem) clamp(1.25rem, 3.5vw, 3rem) clamp(1rem, 3vh, 2.5rem) clamp(1.5rem, 4vw, 3.5rem);
  }

  .panel-right {
    padding: clamp(1rem, 3vh, 2.5rem) clamp(1.25rem, 3.5vw, 3rem) clamp(1rem, 3vh, 2.5rem) clamp(1rem, 3vw, 2.5rem);
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    right: 0;
    background: rgba(250, 246, 240, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    width: 250px;
    height: calc(100vh - 68px);
    height: calc(100dvh - 68px);
    padding: 2rem;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .panel {
    grid-template-columns: 1fr;
  }

  .panel-right {
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 82vh;
    height: 82dvh;
    transform: translateY(100%);
    transition: transform 0.44s cubic-bezier(0.25, 1, 0.4, 1);
    z-index: 20;
    border-radius: 28px 28px 0 0;
    overflow-y: auto;
    overflow-x: hidden;
    flex-direction: column;
    padding: 0 1.5rem 3rem;
    box-shadow: 0 -4px 32px rgba(0,0,0,0.14), 0 -1px 0 rgba(255,255,255,0.18);
    will-change: transform;
    justify-content: flex-start;
    align-items: center;
  }

  .panel-right::before {
    content: '';
    display: block;
    width: 36px;
    height: 4px;
    background: rgba(0,0,0,0.12);
    border-radius: 2px;
    margin: 14px auto 6px;
    flex-shrink: 0;
  }

  .panel-right.flavor-open {
    transform: translateY(0);
  }

  .svg-profile {
    transform: translateY(0);
    width: 90%;
    max-width: 300px;
    align-self: center;
  }

  .profile-text {
    max-width: 100%;
    width: 100%;
    font-size: clamp(0.78rem, 3.5vw, 0.88rem);
  }

  .flavor-trigger {
    display: flex;
  }

  .flavor-backdrop {
    display: block;
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 19;
    pointer-events: none;
    transition: background 0.44s;
  }

  .flavor-backdrop.active {
    background: rgba(0,0,0,0.3);
    pointer-events: all;
  }

  .panel-left {
    padding: clamp(1.25rem, 5vh, 2.5rem) clamp(1.25rem, 6vw, 2.5rem);
  }

  nav {
    padding: 0 1.5rem;
  }

  .side-strip {
    right: 1rem;
  }
}

@media (min-width: 481px) and (max-width: 900px) {
  .panel-left {
    padding: clamp(2rem, 6vh, 4rem) clamp(2.5rem, 9vw, 5rem);
    justify-content: center;
  }

  .panel-description,
  .panel-tagline {
    max-width: 560px;
  }

  .panel-stats {
    max-width: 560px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .panel-title-svg {
    display: none;
  }

  .bg-blob-1 {
    width: 220px !important;
    height: 220px !important;
    top: -60px !important;
    left: -60px !important;
    opacity: 0.18 !important;
  }

  .panel-left {
    justify-content: flex-start;
    padding: clamp(0.85rem, 3vh, 1.25rem) clamp(1rem, 6vw, 1.4rem);
  }

  .panel-country {
    font-size: 0.58rem;
    margin-bottom: 0.45rem;
  }

  .panel-title {
    font-size: clamp(2.45rem, 15vw, 4rem);
    margin-bottom: 0.55rem;
  }

  .panel-tagline {
    font-size: clamp(0.82rem, 4vw, 0.95rem);
    line-height: 1.32;
    margin-bottom: 0.55rem;
  }

  .panel-description {
    font-size: clamp(0.74rem, 3.6vw, 0.86rem);
    line-height: 1.45;
    max-width: none;
    margin-bottom: 0.65rem;
  }

  .panel-badges {
    gap: 0.35rem;
    margin-bottom: 0.65rem;
  }

  .badge {
    padding: 0.3rem 0.65rem;
    font-size: 0.58rem;
  }

  .panel-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.4rem, 2vw, 0.8rem);
    padding-top: 0.65rem;
  }

  .stat-label {
    font-size: 0.5rem;
  }

  .stat-value {
    font-size: clamp(0.95rem, 4.5vw, 1.2rem);
  }

  .side-strip {
    display: none;
  }

}

/* Para pantallas muy pequeñas (menos de 360px) */
@media (max-width: 360px) {
  nav {
    padding: 0 1rem;
  }

  .nav-logo {
    font-size: 1.1rem;
  }

  .panel-title {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
  }

  .panel-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .stat-value {
    font-size: 1rem;
  }

  .panel-description {
    font-size: 0.75rem;
  }
}

/* Para pantallas muy grandes (más de 1440px) */
@media (min-width: 1440px) {
  .panel-left {
    padding: clamp(2rem, 5vh, 4rem) clamp(3rem, 6vw, 6rem) clamp(2rem, 5vh, 4rem) clamp(4rem, 8vw, 7rem);
  }

  .panel-right {
    padding: clamp(2rem, 5vh, 4rem) clamp(4rem, 8vw, 7rem) clamp(2rem, 5vh, 4rem) clamp(3rem, 6vw, 6rem);
  }

  .flavor-container {
    width: clamp(280px, 30vw, 380px);
    height: clamp(280px, 30vw, 380px);
  }

  .panel-tagline {
    max-width: clamp(350px, 35vw, 520px);
  }
}

/* ─── LANDING SECTION (MINIMAL) ──────────────────────── */
.landing-full {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

.landing-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.landing-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.36));
}

.landing-center {
  text-align: center;
  max-width: 650px;
  position: relative;
  z-index: 10;
  padding: 1.5rem 2rem;
  background: rgba(250, 246, 240, 0.75);
  border-radius: 24px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.landing-subhead {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 1rem;
}

.landing-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 0.85;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  margin-bottom: 1.25rem;
}

.landing-title-accent {
  color: #A67523;
}

.landing-text {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.7;
  color: #444;
  margin-bottom: 2rem;
}

.landing-button {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.85rem 2.25rem;
  border-radius: 50px;
  border: none;
  background: var(--antioquia-dark);
  color: white;
  cursor: pointer;
  transition: all 0.25s ease;
}

.landing-button:hover {
  background: #935f07;
  transform: translateY(-2px);
}

/* Landing responsive */
@media (max-width: 768px) {
  .landing-full {
    padding: 1.5rem;
  }

  .landing-center {
    padding: 1.25rem 1.5rem;
    border-radius: 20px;
  }

  .landing-title {
    font-size: clamp(3.2rem, 14vw, 5rem);
  }

  .landing-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .landing-full {
    padding: 1.25rem;
  }

  .landing-center {
    padding: 1.2rem 1.3rem;
    border-radius: 18px;
  }

  .landing-title {
    font-size: clamp(2.8rem, 16vw, 4rem);
  }

  .landing-button {
    width: 100%;
  }
}

/* ─── CONTACT MODAL ──────────────────────── */
.contact-modal {
  max-width: 550px;
  grid-template-columns: 1fr;
}

.contact-left {
  padding: 2.25rem 2.5rem;
}

.contact-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.75rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #444;
}

.contact-input,
.contact-textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  transition: all 0.2s ease;
}

.contact-input:focus,
.contact-textarea:focus {
  outline: none;
  border-color: #C05050;
  box-shadow: 0 0 0 3px rgba(192, 80, 80, 0.1);
}

.contact-textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-submit {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 10px;
  border: none;
  background: var(--antioquia-dark);
  color: white;
  cursor: pointer;
  transition: all 0.25s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(166, 117, 35, 0.3);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: #555;
}

.contact-icon {
  font-size: 1.25rem;
}

/* Contact modal responsive */
@media (max-width: 768px) {
  .contact-left {
    padding: 1.75rem 1.75rem;
  }
}

@media (max-width: 480px) {
  .contact-modal {
    width: 95%;
  }

  .contact-left {
    padding: 1.5rem 1.5rem;
  }
}

.profile-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.82rem, 1.3vw, 0.95rem);
  font-style: italic;
  line-height: 1.75;
  color: #5a3e2b;
  max-width: clamp(280px, 32vw, 420px);
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid #C09F41;
  background: rgba(192, 159, 65, 0.07);
  border-radius: 0 10px 10px 0;
  text-align: center;
  border-left: none;
}

.panel-title-wrapper {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  position: relative;
}

/* Mantiene el título dominante */
.panel-title {
  position: relative;
  z-index: 2;
}

.svg-profile {
  transform: translateY(-60px);
}

.stats-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.panel-title-svg {
  position: absolute;
  top: -5px;
  right: -40px;
  /* sale del borde */
  width: clamp(200px, 26vw, 320px);
  height: auto;
  opacity: 0.38;
  /* antes: 0.15 */
  pointer-events: none;
  z-index: 0;
}

/* --- PROCESS COMPONENT --- */
.process-container {
    width: 100%;
    max-width: 1150px;
    padding: 3rem 2rem 1rem; /* Más padding arriba para bajar el contenido respecto al header global */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.process-header {
    text-align: center;
    margin-bottom: 2.5rem; /* Volvemos a darle aire respecto al viewer */
}

.process-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2C2825;
    margin-bottom: 0.25rem;
}

.process-header p {
    color: #B8860B;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
}

.viewer {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Dar un poco más de peso visual a la imagen */
    gap: 3rem;
    margin-bottom: 1.5rem; /* Reducido para compactar */
    align-items: start; /* Alinear el texto hacia arriba */
    min-height: 300px; /* Un poco más alto para mejor aspect ratio */
}

.viewer-image-container {
    width: 100%;
    height: 320px; /* Mayor altura para un aspecto más premium */
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    background: transparent;
}

.viewer-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.viewer-content {
    padding-right: 1rem;
    padding-top: 1.5rem; /* Dar un poco de aire desde el borde superior */
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.4, 1), transform 0.4s cubic-bezier(0.25, 1, 0.4, 1);
}

.viewer-content.animating {
    opacity: 0;
    transform: translateY(15px);
}

.step-badge {
    display: inline-block;
    padding: 0.35rem 1.2rem; /* Más espacio lateral para que respire */
    background: transparent;
    color: #6B655E;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid #B8860B;
}

.viewer-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    color: #2C2825;
}

.viewer-content p {
    color: #4A4541;
    font-size: 1.05rem;
    line-height: 1.5;
}

.timeline-wrapper {
    position: relative;
    padding: 1rem 0 0;
}

.timeline-track {
    position: absolute;
    top: 42px; /* Alineado al centro de los thumbnails (64px / 2 + 10px aprox de padding superior en step) */
    left: 8%;
    right: 8%;
    height: 2px;
    background: rgba(184, 134, 11, 0.3);
    z-index: 1;
}

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.step {
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 110px;
}

.thumb-container {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: transparent;
    padding: 3px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.4, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.4, 1), filter 0.4s ease, opacity 0.4s ease;
    position: relative;
    filter: grayscale(80%); /* Inactivos en blanco y negro suave */
    opacity: 0.7; /* Inactivos semi-transparentes */
}

.step:hover .thumb-container {
    filter: grayscale(0%);
    opacity: 1;
}

.thumb-container::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: border-color 0.4s ease;
}

.step.active .thumb-container {
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(184, 134, 11, 0.2);
    filter: grayscale(0%);
    opacity: 1;
}

.step.active .thumb-container::after {
    border-color: #B8860B;
}

.step img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.step span {
    font-size: 0.95rem;
    font-weight: 500; /* Reducido para inactivos */
    color: #6B655E;
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.step.active span {
    color: #B8860B; /* Tono dorado para el label activo */
    font-weight: 700;
}

@media (max-width: 900px) {
    .viewer {
        grid-template-columns: 1fr; /* Colapsa a 1 columna */
        gap: 1.5rem;
        text-align: center;
        min-height: auto;
        margin-bottom: 1rem; /* Reducido para móvil */
    }
    
    .viewer-image-container {
        height: 220px; /* Un poco más bajo en tablet/móvil horizontal */
    }
    
    .viewer-content {
        padding-right: 0;
        padding-top: 0;
    }
    
    .timeline-track {
        left: 10%;
        right: 10%;
    }
    
    .timeline-wrapper {
        overflow-x: auto; /* Permite scroll horizontal en móvil si no caben */
        padding-bottom: 1rem;
        padding-top: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .timeline {
        min-width: 600px; /* Asegura que no se aplasten demasiado */
    }
}

@media (max-width: 480px) {
    .process-container {
        padding: 4rem 1rem 1rem; /* Importante: 4rem arriba para evitar que el navbar lo tape */
        justify-content: flex-start; /* Evita que el flex centre y corte el título arriba */
    }
    
    .process-header {
        margin-bottom: 1rem;
    }

    .process-header h2 {
        font-size: 2rem;
    }

    .process-header p {
        font-size: 0.75rem;
    }
    
    .viewer {
        gap: 1rem;
    }
    
    .viewer-image-container {
        height: 180px; /* Aún más compacto para ganar espacio vertical */
    }
    
    .step-badge {
        margin-bottom: 0.5rem;
        padding: 0.25rem 0.8rem;
    }

    .viewer-content h2 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }
    
    .viewer-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* ─── FLAVOR DRAWER (MOBILE BOTTOM SHEET) ─────────────── */
.flavor-trigger {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.28);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.58rem 1.2rem;
  border-radius: 100px;
  cursor: pointer;
  z-index: 10;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
}

.flavor-trigger svg {
  flex-shrink: 0;
}

.flavor-trigger:active {
  background: rgba(255,255,255,0.26);
  transform: translateX(-50%) scale(0.96);
}

.flavor-trigger.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Hide drawer elements on desktop — comes after the max-width rules so
   the min-width block wins on wide viewports without fighting specificity */
@media (min-width: 901px) {
  .flavor-trigger,
  .flavor-backdrop {
    display: none !important;
  }
}