/* ===========================================
  VARIED: FAST-CASUAL PREMIUM DESIGN SYSTEM
  ===========================================
*/

:root {
  --color-bg-light: #EDE6C8;
  --color-bg-dark: #1C131A; /* Ajustado para hacer armonía con el plum */
  --color-primary-green: #34252F; /* Berenjena oscuro (Identidad principal) */
  --color-accent-ochre: #8A7D30;
  --color-text-main: #1A1A1A;
  --color-text-dimmed: #4C4C4C;
  --color-white: #FFFFFF;
  
  --font-heading: 'Acumin Variable Concept', 'Montserrat', sans-serif;
  --font-body: 'Acumin Variable Concept', 'Montserrat', sans-serif;
  
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-pill: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-subtle: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 32px rgba(52, 85, 47, 0.15);
  --container-max-width: 1200px;
  --current-panel-bg: var(--color-bg-light);
}

/* --- Reset & Global Styles --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* We disable smooth scroll behavior on HTML because GSAP ScrollTrigger manages scroll natively and better */
html { font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--current-panel-bg, var(--color-bg-light));
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Evita cualquier scroll inicial que cause el tirón en GSAP pin */
  scroll-behavior: auto;
}

/* Loading state hides overflow initially to prevent flash */
body.loading-state { 
  overflow-x: hidden; 
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 300; /* Light */
  font-stretch: extra-condensed; /* Extracondensed Light */
  line-height: 1.1;
  letter-spacing: -0.01em;
}

a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { width: 90%; max-width: var(--container-max-width); margin: 0 auto; }

.panel-split-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: 3rem;
  align-items: center;
}
.panel-left-info,
.panel-right-flow {
  min-width: 0;
}
.panel-left-info h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  margin-bottom: 1rem;
  color: var(--color-primary-green);
}
.pillars-title {
  display: grid;
  gap: 0.08em;
  line-height: 0.98;
}
.pillars-title span {
  display: block;
}
.section-lead {
  color: var(--color-text-dimmed);
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 34rem;
}
.section-header h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.05;
}
.section-header .overline,
.panel-left-info .overline {
  margin-bottom: 0.8rem;
}
.panel {
  scroll-margin-top: 96px;
}

/* --- Magnetic Buttons & CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.875rem 1.5rem;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

/* Button Background Layers for Premium Hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 1;
}

.btn-primary { background-color: var(--color-primary-green); color: var(--color-white); box-shadow: 0 4px 12px rgba(52, 85, 47, 0.2); }
.btn-primary::before { background-color: rgba(0,0,0,0.15); }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(52, 85, 47, 0.3); }
.btn-primary:hover::before { opacity: 1; }

.btn-outline {
  background-color: rgba(255,255,255,0.16);
  color: var(--color-primary-green);
  border: 1px solid rgba(52, 37, 47, 0.28);
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.btn-outline {
  box-shadow: inset 0 0 0 1px rgba(52, 37, 47, 0.08);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  background-color: var(--color-primary-green);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(52, 37, 47, 0.18);
}

.btn-outline-light { background-color: transparent; color: var(--color-white); border: 1px solid rgba(255, 255, 255, 0.5); backdrop-filter: blur(10px); transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast); }
.btn-outline-light {
  background: rgba(255,255,255,0.10);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.btn-outline-light:hover { background-color: var(--white); color: var(--color-primary-green); transform: translateY(-1px); }

.btn-text { background: transparent; color: var(--color-white); padding: 0.5rem; font-weight: 500; gap: 0.5rem; }
.btn-text:hover { color: var(--color-accent-ochre); }

.btn-large { padding: 1.1rem 2.2rem; font-size: 1rem; }
.btn-add { min-width: 92px; }

.btn-icon { background: var(--color-primary-green); color: var(--color-white); width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; }
.btn-icon::before { background-color: var(--color-accent-ochre); }
.btn-icon:hover::before { opacity: 1; }

.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.pt-4 { padding-top: 2rem; }
.center-btn { display: flex; justify-content: center; width: 100%; }

/* Underline Hover FX */
.hover-underline { position: relative; }
.hover-underline::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0%; height: 2px; background-color: var(--color-accent-ochre); transition: width 0.3s ease; }
.hover-underline:hover::after { width: 100%; }

/* --- Navbar --- */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 0.75rem 0; transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease; color: var(--color-white); }
.navbar.scrolled { background-color: rgba(237, 230, 200, 0.95); backdrop-filter: blur(10px); color: var(--color-text-main); padding: 0.5rem 0; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); }
.navbar.scrolled .btn-outline { border-color: var(--color-primary-green); color: var(--color-primary-green); }
.navbar.scrolled .nav-actions .btn-outline:hover { background-color: var(--color-primary-green); color: var(--color-white); }

.nav-container { display: flex; justify-content: space-between; align-items: center; width: 90%; max-width: var(--container-max-width); margin: 0 auto; height: 60px; }
.logo { display: flex; align-items: center; cursor: pointer; height: 100%; }
.logo-img { height: 52px; width: auto; transition: opacity var(--transition-fast), filter var(--transition-fast), transform var(--transition-smooth); object-fit: contain; }
.logo-img { view-transition-name: main-logo; }
.logo:hover .logo-img { transform: scale(1.05); }
.navbar.scrolled .logo-img { height: 44px; }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { font-size: 0.875rem; font-weight: 500; }
.nav-actions { display: flex; gap: 1rem; align-items: center; }
.menu-toggle { display: none; background: transparent; color: inherit; border: none; font-size: 1.5rem; cursor: pointer; }

/* --- Hero Section --- */
.hero { position: relative; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; isolation: isolate; }
.hero-background { position: absolute; inset: -5%; z-index: 0; will-change: transform; pointer-events: none; background: #2a2226 url('assets/freepik__exterior-architectural-photography-of-varied-resta__57699.jpg') center center / cover no-repeat; }
.hero-media { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-video { display: block; }
.hero-media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  filter: saturate(1.03) contrast(1.02);
}
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, rgba(28, 19, 26, 0.72) 0%, rgba(52, 37, 47, 0.35) 100%); }

.hero-content { width: 90%; max-width: 860px; text-align: center; color: var(--color-white); z-index: 2; margin: 0 auto; position: relative; }

.hero h1 { margin-bottom: 1.5rem; text-shadow: 0 4px 12px rgba(0,0,0,0.3); font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; }
.hero-title {
  text-wrap: balance;
}
/* Split line animation setup */
.hero-line { display: inline-block; clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); }
.hero-title { overflow: hidden; }

.hero-subtitle { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 400; margin-bottom: 2.5rem; opacity: 0; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.hero-subtitle-lines {
  display: grid;
  gap: 0.4rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
.hero-subtitle-lines span {
  display: block;
}
.hero-ctas { display: flex; justify-content: center; gap: 1.5rem; opacity: 0; }

.scroll-tip {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
  color: var(--color-white);
  padding: 0.8rem 1.2rem;
  border-radius: 9999px;
  background: rgba(28, 19, 26, 0.35);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  animation: scrollTipPulse 2.8s ease-in-out infinite;
}
.scroll-tip .material-icons-round { color: var(--color-accent-ochre); font-size: 1.2rem; }
.scroll-tip-text { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

@keyframes scrollTipPulse {
  0%, 100% { transform: translateX(-50%) translateY(0); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
  50% { transform: translateX(-50%) translateY(-6px); box-shadow: 0 16px 34px rgba(0,0,0,0.22); }
}

/* --- Pillars / Value Proposition --- */
.pillars { padding: 8rem 0; background-color: var(--color-bg-light); background-image: radial-gradient(var(--color-accent-ochre) 0.5px, transparent 0.5px); background-size: 20px 20px; position: relative; }
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 3rem; }
.pillar { text-align: center; padding: 3rem 2rem; background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: var(--border-radius-lg); box-shadow: var(--shadow-subtle); opacity: 0; /* GSAP will animate */ }
.pillar-trigger { width: 100%; cursor: pointer; text-align: center; color: inherit; font: inherit; }
.pillar-trigger:hover, .pillar-trigger:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(52, 37, 47, 0.12); outline: none; }
.pillar-trigger:focus-visible { border-color: var(--color-accent-ochre); }

.pillar-icon { width: 72px; height: 72px; background-color: var(--color-primary-green); color: var(--color-bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem auto; transition: transform var(--transition-smooth); }
.pillar:hover .pillar-icon { transform: scale(1.1) rotate(5deg); }
.pillar-icon .material-icons-round { font-size: 2.2rem; }
.pillar h3 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--color-primary-green); }
.pillar p { font-size: 1rem; color: var(--color-text-dimmed); }

/* --- Favorites / Menu (GSAP Horizontal) --- */
.panel-favorites { display: flex !important; flex-direction: column !important; justify-content: center !important; align-items: center !important; background-color: var(--color-bg-dark); color: var(--color-bg-light); overflow: hidden; position: relative; }
.section-header { text-align: center; margin-bottom: 4rem; opacity: 1; }
/* Section header inside scroller starts hidden for GSAP */
.scroller-wrapper .section-header { opacity: 0; }
.section-header h2 { font-size: 3rem; margin-bottom: 0.5rem; color: var(--color-bg-light); }
.section-header p { color: #A0A0A0; font-size: 1.1rem; }

.horizontal-scroll-container { width: 100vw; height: auto; position: relative; }
/* On Mobile, standard scroll. On Desktop, GSAP horizontal pin */
.carousel-hint { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin: 1rem auto 0; padding: 0.7rem 1rem; border-radius: 999px; background: rgba(255, 248, 232, 0.08); color: var(--color-bg-light); width: fit-content; border: 1px solid rgba(255, 248, 232, 0.14); clear: both; }
.carousel-hint .material-icons-round { font-size: 1.1rem; }
.carousel { display: flex; gap: 2.5rem; padding: 0 5vw 1.1rem; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: rgba(255, 248, 232, 0.78) rgba(255, 255, 255, 0.08); scroll-snap-type: x proximity; }
.carousel::-webkit-scrollbar { height: 10px; }
.carousel::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.08); border-radius: 999px; }
.carousel::-webkit-scrollbar-thumb { background: rgba(255, 248, 232, 0.78); border-radius: 999px; border: 2px solid rgba(255, 255, 255, 0.08); }
.carousel::-webkit-scrollbar-thumb:hover { background: rgba(255, 248, 232, 0.92); }

.product-card { min-width: 340px; width: 340px; flex-shrink: 0; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--border-radius-lg); overflow: hidden; transition: background var(--transition-fast), border var(--transition-fast); }
.product-card { scroll-snap-align: start; }
.product-card:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.2); }

.product-image-wrapper { position: relative; height: 260px; overflow: hidden; }
/* Image zoom hover combined with GSAP parallax */
.img-parallax { width: 100%; height: 115%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); transform: scale(1.05); }
.product-card:hover .img-parallax { transform: scale(1.15) translateY(-5%); }

.product-tags { position: absolute; top: 1rem; left: 1rem; display: flex; gap: 0.5rem; z-index: 2; }
.tag { background: transparent; color: var(--color-white); font-size: 0.65rem; font-weight: 500; padding: 0.2rem 0.6rem; border-radius: var(--border-radius-pill); letter-spacing: 0.05em; border: 1px solid rgba(255,255,255,0.3); opacity: 0.7; transition: opacity var(--transition-fast), border-color var(--transition-fast); }
.tag:hover { opacity: 1; border-color: var(--color-white); }
.tag.accent { background: rgba(138, 125, 48, 0.2); border-color: var(--color-accent-ochre); color: var(--color-accent-ochre); }

.product-info { padding: 1.75rem; }
.product-info h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--color-bg-light); font-weight: 700; }
.product-desc { font-size: 0.9rem; color: #B0B0B0; margin-bottom: 2rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-action { display: flex; justify-content: space-between; align-items: center; }
.price { font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; color: var(--color-bg-light); }

/* --- Flow Section --- */
.flow-section { padding: 8rem 0; background-color: var(--color-bg-light); position: relative; }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; margin-top: 3rem; }
.flow-grid::before { content: ''; position: absolute; top: 40px; left: 10%; right: 10%; height: 2px; background: rgba(52, 37, 47, 0.1); z-index: 0; }
.flow-step { position: relative; z-index: 1; text-align: center; opacity: 0; transform: translateY(30px); }
.flow-num { width: 80px; height: 80px; background: var(--color-primary-green); color: var(--color-accent-ochre); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-family: var(--font-heading); font-weight: 800; margin: 0 auto 1.5rem; transition: transform var(--transition-smooth); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.flow-step:hover .flow-num { transform: scale(1.1) translateY(-10px); }
.flow-step h4 { font-size: 1.25rem; color: var(--color-primary-green); margin-bottom: 0.5rem; }
.flow-step p { color: var(--color-text-dimmed); font-size: 0.95rem; }

/* --- Split Section / Catering --- */
.split-section { display: flex; flex-wrap: wrap; min-height: 90vh; background: var(--color-white); overflow: hidden; }
.split-image { flex: 1 1 50%; min-height: 500px; position: relative; overflow: hidden; }
.split-image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); }
/* Overlay to do a curtain reveal */
.image-overlay-color { position: absolute; inset: 0; background: var(--color-accent-ochre); transform-origin: top; }

.split-content { flex: 1 1 50%; display: flex; align-items: center; justify-content: center; padding: 6rem; background: var(--color-white); opacity: 1; }
.scroller-wrapper .split-content { opacity: 0; }
.split-content-inner { max-width: 500px; }
.overline { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--color-accent-ochre); display: block; margin-bottom: 1rem; }
.split-content-inner h2 { font-size: clamp(2.4rem, 4vw, 3.4rem); margin-bottom: 1.2rem; color: var(--color-primary-green); }
.split-content-inner p { color: var(--color-text-dimmed); margin-bottom: 2.2rem; font-size: 1.05rem; line-height: 1.75; }
.features-list { margin-bottom: 3rem; }
.features-list li { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; font-weight: 500; font-size: 1.02rem; line-height: 1.5; }
.features-list .material-icons-round { color: var(--color-primary-green); font-size: 1.5rem; }

.split-reversed { flex-direction: row-reverse; }

/* --- Coffee Showcase --- */
.coffee-layout { display: grid; grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr); gap: 3rem; align-items: start; max-width: 1120px; margin: 0 auto; }
.coffee-intro { position: relative; z-index: 1; }
.coffee-stack { display: grid; gap: 1.5rem; }
.coffee-video-panel {
  position: relative;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.22);
  background: var(--color-bg-dark);
}
.coffee-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.coffee-video-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38, 24, 29, 0.15) 0%, rgba(38, 24, 29, 0.58) 100%); z-index: 1; }
.coffee-video-copy { position: absolute; left: 2rem; right: 2rem; bottom: 2rem; z-index: 2; color: var(--color-white); max-width: 420px; }
.coffee-video-copy h3 { font-size: 2rem; margin-bottom: 0.75rem; }
.coffee-video-copy p { color: rgba(255,255,255,0.86); }
.coffee-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.coffee-video-panel { min-height: 420px; }
.coffee-showcase { display: none; }
.coffee-steam { position: absolute; top: 70px; right: 50px; display: flex; gap: 10px; z-index: 1; }
.coffee-steam span { width: 10px; height: 90px; border-radius: 999px; background: rgba(255,255,255,0.28); filter: blur(1px); animation: steamRise 2.8s ease-in-out infinite; }
.coffee-steam span:nth-child(2) { animation-delay: 0.3s; }
.coffee-steam span:nth-child(3) { animation-delay: 0.6s; }
.coffee-cup { position: absolute; right: 70px; bottom: 68px; width: 220px; height: 180px; z-index: 1; }
.coffee-cup-body {
  position: absolute;
  inset: 30px 10px 18px;
  border-radius: 0 0 80px 80px;
  background: linear-gradient(180deg, #f4ede3 0%, #d6c7b3 100%);
  box-shadow: inset 0 -18px 26px rgba(0,0,0,0.08);
}
.coffee-cup-body::before {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  top: 18px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(61,39,31,0.95), rgba(28,18,14,0.86));
}
.coffee-cup-handle {
  position: absolute;
  right: -6px;
  top: 58px;
  width: 62px;
  height: 74px;
  border: 12px solid #d6c7b3;
  border-left: 12px solid transparent;
  border-radius: 0 40px 40px 0;
}
.coffee-cup-saucer {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 26px;
  border-radius: 999px;
  background: rgba(244, 237, 227, 0.84);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.coffee-showcase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-content: start; }
.coffee-showcase-grid .coffee-highlight-item {
  margin: 0;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(52,37,47,0.08);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-subtle);
}
.coffee-highlight-item .item-name { display: block; margin-top: 0.2rem; }
.coffee-highlight-item .item-price { display: inline-block; margin-bottom: 0.35rem; }

@keyframes steamRise {
  0% { transform: translateY(14px) scaleY(0.72); opacity: 0.1; }
  50% { transform: translateY(0) scaleY(1); opacity: 0.45; }
  100% { transform: translateY(-10px) scaleY(0.88); opacity: 0.08; }
}

/* --- Loyalty Club --- */
.loyalty { background-color: var(--color-primary-green); color: var(--color-white); padding: 8rem 0; overflow: hidden; position: relative; }
.loyalty-container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4rem; z-index: 2; position: relative; }
.loyalty-text { flex: 1 1 450px; opacity: 1; }
.scroller-wrapper .loyalty-text { opacity: 0; }
.loyalty-text h2 { font-size: 3.5rem; margin-bottom: 1.5rem; }
.loyalty-text p { font-size: 1.15rem; margin-bottom: 2.5rem; opacity: 0.9; line-height: 1.8; }
.loyalty-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.loyalty-actions .btn-outline,
.loyalty-actions .btn-outline-light {
  min-width: 190px;
}
.loyalty-actions .btn {
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.loyalty-graphics { flex: 1 1 400px; display: flex; justify-content: center; opacity: 1; transform: none; }
.scroller-wrapper .loyalty-graphics { flex: 1 1 400px; display: flex; justify-content: center; opacity: 0; transform: translateY(60px) rotate(-12deg); transition: none; }
.phone-mockup { width: 280px; height: 580px; border-radius: 46px; background: #111; border: 12px solid #1e1e1e; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.07); position: relative; overflow: hidden; animation: phoneFloat 4s ease-in-out infinite; }
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0px) rotate(-6deg); }
  50% { transform: translateY(-14px) rotate(-6deg); }
}
.phone-screen { background: var(--color-bg-dark); width: 100%; height: 100%; padding: 2.5rem 2rem; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2.5rem; }
.loyalty-card {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #a89b48 0%, #d1c579 50%, #8a7d30 100%);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  color: var(--color-text-main);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.loyalty-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
  transition: left 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.loyalty-card:hover::before {
  left: 150%;
}
.loyalty-card .balance { display: block; font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -0.05em; z-index: 2; }
.loyalty-card .tier { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; z-index: 2; }
.scan-qr img { width: 160px; height: 160px; border-radius: var(--border-radius-md); padding: 0.75rem; background: var(--color-white); box-shadow: 0 8px 24px rgba(0,0,0,0.6); }

/* --- Footer --- */
.footer { background-color: var(--color-bg-dark); color: var(--color-white); padding: 6rem 0 2rem; position: relative; z-index: 10; opacity: 1; }
/* Footer inside horizontal scroller starts hidden for GSAP animation */
.scroller-wrapper .footer { opacity: 0; }
.footer-grid { display: grid; grid-template-columns: 2.5fr 1fr 1fr 1.5fr; gap: 4rem; margin-bottom: 5rem; }
.footer-brand h2 { font-size: 2.5rem; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.footer-logo-img { height: 140px; width: auto; margin-bottom: 1.5rem; filter: brightness(0) invert(1); transition: transform var(--transition-smooth); }
.footer-logo-img:hover { transform: scale(1.05); }
.brand-sub { color: #A0A0A0; font-size: 1rem; margin-bottom: 2.5rem; }
.live-status { display: inline-flex; align-items: center; gap: 0.75rem; background: rgba(255,255,255,0.06); padding: 0.6rem 1.25rem; border-radius: var(--border-radius-pill); font-size: 0.9rem; border: 1px solid rgba(255,255,255,0.1); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; }
.status-dot.online { background-color: #4CAF50; box-shadow: 0 0 10px #4CAF50; animation: pulseGreen 2s infinite; }
@keyframes pulseGreen { 0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); } 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); } }

.footer-links h4, .footer-social h4 { font-size: 1.2rem; margin-bottom: 2rem; color: var(--color-accent-ochre); text-transform: uppercase; letter-spacing: 0.05em; }
.footer-links ul li { margin-bottom: 1rem; }
.footer-links a { color: #888; font-size: 0.95rem; }
.footer-links a:hover { color: var(--color-white); }
.footer-social address { font-style: normal; color: #888; font-size: 0.95rem; line-height: 1.8; margin-bottom: 2rem; }
.social-icons { display: flex; gap: 1rem; }
.social-icons a { width: 44px; height: 44px; background: rgba(255,255,255,0.08); border-radius: 50%; color: var(--color-white); display: flex; align-items: center; justify-content: center; transition: all var(--transition-fast); }
.social-icons a:hover { background: var(--color-primary-green); transform: translateY(-3px); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); color: #666; font-size: 0.85rem; }
.legal-links { display: flex; gap: 2rem; }
.legal-links a { color: #666; }
.legal-links a:hover { color: var(--color-white); }

/* --- Modals Overlay --- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(28, 19, 26, 0.85);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.modal-overlay.active {
  display: flex !important;
  opacity: 1;
}

.modal-content, .builder-modal-content, .time-modal-content {
  background: rgba(237, 230, 200, 0.85) !important;
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 40px 100px rgba(28, 19, 26, 0.35);
  width: 90%;
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-content {
  max-width: 500px;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(0,0,0,0.05);
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
  z-index: 10;
}

.close-modal:hover { background: rgba(0,0,0,0.1); }

.pillar-modal .modal-content {
  max-width: 680px;
}

.pillar-modal-content h3 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary-green);
}

.pillar-modal-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.pillar-modal-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(52, 37, 47, 0.08);
  color: var(--color-text-dimmed);
}

.pillar-modal-list .material-icons-round {
  color: var(--color-accent-ochre);
  font-size: 1.2rem;
  margin-top: 0.1rem;
}

/* Auth Modal Specifics */
.auth-box { text-align: center; }
.auth-logo { height: 100px; width: auto; margin-bottom: 2rem; }
.underline { text-decoration: underline; }

/* Form Styles */
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.8rem; color: var(--color-primary-green); text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    background: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-ochre);
    box-shadow: 0 0 0 4px rgba(138, 125, 48, 0.1);
}

.btn-block { width: 100%; }

/* Catering Modal Row */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; gap: 1rem; } }

/* --- Varied Club Member Dashboard --- */
.member-area { padding: 10rem 0 6rem; background-color: var(--color-bg-light); min-height: 100vh; }
.dashboard-grid { display: grid; grid-template-columns: 350px 1fr; gap: 3rem; align-items: start; }

.member-card-glass { 
    background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.3) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 30px 60px rgba(52, 37, 47, 0.1);
    position: sticky;
    top: 120px;
}

.tier-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-primary-green);
    color: var(--color-white);
    border-radius: var(--border-radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.sands-display { margin: 2rem 0; }
.sands-count { font-size: 4rem; font-weight: 800; color: var(--color-primary-green); line-height: 1; display: block; }
.sands-label { font-size: 0.9rem; color: var(--color-text-dimmed); text-transform: uppercase; letter-spacing: 0.1em; }

.dashboard-main h2 { font-size: 2.5rem; color: var(--color-primary-green); margin-bottom: 2rem; }

.section-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem; color: var(--color-primary-green); }

/* Rewards & Perks */
.perks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-bottom: 4rem; }
.perk-card { 
    background: var(--color-white);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.perk-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); border-color: var(--color-accent-ochre); }
.perk-icon { font-size: 2.5rem; color: var(--color-accent-ochre); margin-bottom: 1.5rem; display: block; }
.perk-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--color-primary-green); }
.perk-card p { font-size: 0.9rem; color: var(--color-text-dimmed); margin-bottom: 1.5rem; }
.perk-cost { font-weight: 700; color: var(--color-primary-green); font-size: 0.85rem; }

/* Activity List */
.activity-log { background: var(--color-white); border-radius: 20px; padding: 1.5rem; border: 1px solid rgba(0,0,0,0.05); }
.activity-item { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 1.25rem 0; 
    border-bottom: 1px solid rgba(0,0,0,0.03); 
}
.activity-item:last-child { border-bottom: none; }
.activity-info h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.2rem; }
.activity-info span { font-size: 0.8rem; color: #999; }
.activity-points { font-weight: 700; color: #2ecc71; }
.activity-points.negative { color: #e74c3c; }

/* Wallet Loading Overlay */
.wallet-loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(28, 19, 26, 0.95);
    z-index: 10000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-align: center;
}
.loader-circle {
    width: 60px; height: 60px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top: 3px solid var(--color-accent-ochre);
    border-radius: 50%;
    margin-bottom: 2rem;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1024px) {
    .dashboard-grid { grid-template-columns: 1fr; }
    .member-card-glass { position: relative; top: 0; margin-bottom: 3rem; }
}

/* --- Checkout & Order Ticket --- */
.checkout-modal .modal-content { max-width: 600px; }
.checkout-steps { margin-bottom: 2rem; }
.checkout-summary { background: rgba(0,0,0,0.03); padding: 1.5rem; border-radius: 12px; margin-bottom: 2rem; }
.summary-item { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-size: 0.9rem; }
.summary-total { border-top: 1px solid rgba(0,0,0,0.1); padding-top: 1rem; margin-top: 1rem; font-weight: 800; font-size: 1.2rem; color: var(--color-primary-green); }

.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.payment-btn { 
    border: 1px solid rgba(0,0,0,0.1); 
    padding: 1rem; 
    border-radius: 12px; 
    cursor: pointer; 
    text-align: center; 
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.payment-btn:hover, .payment-btn.active { border-color: var(--color-accent-ochre); background: rgba(138, 125, 48, 0.05); }
.payment-btn.active { box-shadow: 0 0 0 2px var(--color-accent-ochre); }

/* Success Ticket */
.order-success { text-align: center; padding: 2rem 1rem; }
.qr-container { 
    background: var(--color-white); 
    padding: 2rem; 
    border-radius: 20px; 
    display: inline-block; 
    margin: 2rem 0; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.05); 
}
.order-id-badge { 
    font-family: monospace; 
    background: var(--color-primary-green); 
    color: var(--color-white); 
    padding: 0.5rem 1rem; 
    border-radius: 6px; 
    font-size: 1.2rem;
}

.delivery-estimate { 
    background: var(--color-bg-light); 
    padding: 1.5rem; 
    border: 1px dashed var(--color-primary-green);
    border-radius: var(--border-radius-md);
    margin-bottom: 1.5rem;
}

/* ===========================================
   VARIED: GSAP HORIZONTAL SCROLLER & RESPONSIVE
   ===========================================
*/

/* Desktop: Horizontal Layout for GSAP */
@media (min-width: 1025px) {
  body {
    overflow-x: hidden;
  }
  .scroller-wrapper {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    height: 100vh;
    will-change: transform;
  }
  .panel {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  .panel-split-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 90%;
    max-width: var(--container-max-width);
  }
  .panel-left-info {
    flex: 1;
    max-width: 500px;
  }
  .panel-right-flow {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
}

/* Mobile & Tablet: Vertical Layout */
@media (max-width: 1024px) {
  .scroller-wrapper {
    display: block;
    width: 100%;
  }
  .panel {
    width: 100%;
    min-height: 100vh;
    padding: 8rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  .panel-split-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 90%;
  }
  .panel-left-info {
    width: 100%;
    text-align: center;
  }
  .panel-right-flow {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  /* Ajustes móviles para las cards en columnas */
  .pillars-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100%;
  }
  .hero-content {
    padding: 0 1rem;
  }
  .loyalty-container {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }
  .loyalty-actions {
    justify-content: center;
  }
  .loyalty-actions .btn-outline,
  .loyalty-actions .btn-outline-light {
    min-width: 0;
  }
  .loyalty-text {
    text-align: center;
    width: 100%;
    flex-basis: auto;
  }
  .loyalty-graphics {
    width: 100%;
    flex-basis: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 3rem;
    text-align: center;
  }
  .footer-brand, .footer-links, .footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .social-icons {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .legal-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   VARIED: SUB-CAROUSEL SECCIÓN CAFÉ DE ESPECIALIDAD (#coffee)
   ========================================================================== */

.coffee-carousel-wrapper {
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  position: relative;
}

.coffee-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0.5rem 1.5rem;
  scrollbar-width: none; /* Oculta la barra en Firefox */
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.coffee-carousel::-webkit-scrollbar {
  display: none; /* Oculta la barra en Chrome/Safari */
}

/* Tarjetas de Café individuales */
.coffee-card {
  min-width: 260px;
  width: 260px;
  flex-shrink: 0;
  background: var(--color-white);
  border: 1px solid rgba(52, 37, 47, 0.06);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  scroll-snap-align: start;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.coffee-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(52, 37, 47, 0.08);
  border-color: rgba(52, 37, 47, 0.15);
}

/* Contenedor de la Imagen y el Precio */
.coffee-card-img-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.coffee-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.coffee-card:hover .coffee-card-img-wrapper img {
  transform: scale(1.08);
}

/* Badge de precio flotante sobre la foto */
.coffee-price-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: var(--color-primary-green);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--border-radius-pill);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

/* Textos de la Card */
.coffee-card-info {
  padding: 1.25rem;
}

.coffee-card-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-green);
  margin-bottom: 0.4rem;
}

.coffee-card-info p {
  font-size: 0.85rem;
  color: var(--color-text-dimmed);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Ajustes Responsivos para Tablets y Móviles */
@media (max-width: 1024px) {
  .coffee-carousel-wrapper {
    max-width: 100%;
    padding: 0 5%;
  }
  .coffee-card {
    min-width: 240px;
    width: 240px;
  }
}

/* --- Integración de Vídeo como Fondo de Sección --- */

.panel-coffee-video {
  position: relative;
  isolation: isolate; /* Evita que el vídeo tape los textos */
}

/* Contenedor del vídeo estirado al 100% del panel */
.coffee-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.coffee-media-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Capa oscura translúcida para garantizar legibilidad */
.coffee-video-overlay-dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28, 19, 26, 0.92) 0%, rgba(28, 19, 26, 0.75) 100%);
  z-index: 1;
}

/* Forzamos a que el contenido se posicione sobre el vídeo */
.panel-coffee-video .coffee-layout {
  position: relative;
  z-index: 2;
}

/* Modificación de textos a modo oscuro (crema sobre oscuro) */
.coffee-intro-video h2 {
  color: var(--color-bg-light) !important;
}

.coffee-intro-video .section-lead {
  color: rgba(237, 230, 200, 0.75) !important;
}

.coffee-intro-video .features-list li {
  color: var(--color-bg-light) !important;
}

.coffee-intro-video .features-list .material-icons-round {
  color: var(--color-accent-ochre) !important;
}

/* ===========================================
   PAGE TRANSITION LOADING BAR
   ===========================================
*/
.page-loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background-color: var(--color-accent-ochre);
  z-index: 10001;
  width: 0;
  opacity: 0;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  pointer-events: none;
}
.page-loading-bar.active {
  opacity: 1;
}

/* ===========================================
   AESTHETIC POLISHES (NOISE & CUSTOM SCROLLBARS)
   ===========================================
*/
.noise-texture {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.035;
  pointer-events: none;
  z-index: 99999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Global Custom Scrollbars */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--color-accent-ochre);
  border: 2px solid var(--color-bg-dark);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a6983d;
}

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

.cursor-dot {
  width: 100%;
  height: 100%;
  background-color: var(--color-accent-ochre);
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.cursor-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.custom-cursor.active {
  width: 50px;
  height: 50px;
}

.custom-cursor.active .cursor-label {
  opacity: 1;
}

/* Hide on touch/mobile devices */
@media (pointer: coarse) or (max-width: 1024px) {
  .custom-cursor {
    display: none !important;
  }
}

/* ===========================================
   MOBILE NAVIGATION DRAWER & TOUCH TARGETS
   ===========================================
*/
@media (max-width: 1024px) {
  .menu-toggle {
    display: block !important;
    z-index: 1001;
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: rgba(28, 19, 26, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 3rem 2rem;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-start;
    border-top: 1px solid rgba(237, 230, 200, 0.1);
    z-index: 999;
    overflow-y: auto;
  }
  
  .nav-links.mobile-active {
    display: flex;
  }
  
  .nav-links a {
    font-size: 1.35rem !important;
    font-weight: 600;
    color: var(--color-bg-light) !important;
    width: 100%;
    text-align: center;
    padding: 0.75rem;
    border-bottom: 1px solid rgba(237, 230, 200, 0.05);
  }
  
  .nav-links a:last-child {
    border-bottom: none;
  }

  /* Make touch targets bigger (min 44x44px for UX guidelines) */
  .menu-toggle, 
  .btn,
  .btn-outline,
  .btn-outline-light,
  .magnetic-btn,
  .interactive-card,
  .nav-links a {
    min-height: 44px;
  }
  
  /* General padding polish to prevent page elements squishing */
  .panel {
    padding: 6rem 1rem !important;
  }
}

/* ===========================================
   EQUALIZED PILLARS GRID
   ===========================================
*/
.pillars-interactive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 1.5rem;
  width: 100%;
}

.pillars-interactive-grid .pillar {
  opacity: 1; /* Match inline style opacity */
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

@media (max-width: 600px) {
  .pillars-interactive-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================================
   CAROUSEL CONTAINER & CLICK NAVIGATION
   ===========================================
*/
.carousel-container {
  position: relative;
  width: 100%;
  overflow: visible;
}

.carousel-nav-btn {
  position: absolute;
  top: calc(50% - 20px); /* Align center offsetting the hint text */
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(28, 19, 26, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.carousel-nav-btn:hover {
  background: var(--color-accent-ochre);
  border-color: var(--color-accent-ochre);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 20px rgba(138, 125, 48, 0.3);
}

.carousel-nav-btn.prev-btn {
  left: 2%;
}

.carousel-nav-btn.next-btn {
  right: 2%;
}

.carousel-nav-btn .material-icons-round {
  font-size: 1.8rem;
}

/* Hide on mobile devices since they use native touch scroll */
@media (max-width: 768px) {
  .carousel-nav-btn {
    display: none !important;
  }
  .carousel {
    gap: 1.25rem;
    padding: 0 1.25rem 1rem;
  }
  .product-card {
    width: 280px;
    min-width: 280px;
  }
}





