.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Verde Levante design tokens */
:root {
  --vl-primary: #015054;
  --vl-secondary: #117176;
  --vl-secondary-soft: #78adaf;
  --vl-accent: #d9b9a0;
  --vl-surface: #f9faf8;
  --vl-text: #191c1b;
  --vl-muted: #404944;
  --vl-border: #c7d8d5;
}

::selection {
  background: var(--vl-secondary-soft);
  color: var(--vl-primary);
}

body {
  background: var(--vl-surface);
  color: var(--vl-text);
}

a,
button,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--vl-accent);
  outline-offset: 3px;
}

img {
  background: #eef5f4;
}

img[src*="logo"],
img[src*="Logo"],
img[src*="Logotipo"],
img[src*="cropped-Sin"] {
  background: transparent;
}

[data-site-nav] {
  border-bottom: 1px solid rgba(1, 80, 84, 0.08);
}

[data-site-nav].nav-floating {
  border-color: rgba(1, 80, 84, 0.12);
}

/* Keep the official palette in legacy utility classes too. */
.bg-forest-deep { background-color: var(--vl-primary) !important; }
.bg-forest-deep\/10 { background-color: rgb(1 80 84 / 0.1) !important; }
.bg-forest-deep\/20 { background-color: rgb(1 80 84 / 0.2) !important; }
.bg-forest-deep\/30 { background-color: rgb(1 80 84 / 0.3) !important; }
.bg-forest-deep\/90 { background-color: rgb(1 80 84 / 0.9) !important; }
.text-forest-deep { color: var(--vl-primary) !important; }
.text-forest-deep\/5 { color: rgb(1 80 84 / 0.05) !important; }
.text-forest-deep\/60 { color: rgb(1 80 84 / 0.6) !important; }
.text-forest-deep\/70 { color: rgb(1 80 84 / 0.7) !important; }
.text-forest-deep\/80 { color: rgb(1 80 84 / 0.8) !important; }
.border-forest-deep { border-color: var(--vl-primary) !important; }
.border-forest-deep\/10 { border-color: rgb(1 80 84 / 0.1) !important; }
.border-forest-deep\/20 { border-color: rgb(1 80 84 / 0.2) !important; }
.border-forest-deep\/30 { border-color: rgb(1 80 84 / 0.3) !important; }
.bg-leaf-vibrant { background-color: var(--vl-secondary) !important; }
.bg-leaf-vibrant\/10 { background-color: rgb(17 113 118 / 0.1) !important; }
.bg-leaf-vibrant\/20 { background-color: rgb(17 113 118 / 0.2) !important; }
.bg-leaf-vibrant\/40 { background-color: rgb(17 113 118 / 0.4) !important; }
.text-leaf-vibrant { color: var(--vl-secondary) !important; }
.border-leaf-vibrant { border-color: var(--vl-secondary) !important; }
.border-leaf-vibrant\/10 { border-color: rgb(17 113 118 / 0.1) !important; }
.border-leaf-vibrant\/20 { border-color: rgb(17 113 118 / 0.2) !important; }
.border-leaf-vibrant\/40 { border-color: rgb(17 113 118 / 0.4) !important; }
.bg-earth-clay { background-color: var(--vl-accent) !important; }
.text-earth-clay { color: var(--vl-accent) !important; }
.border-earth-clay { border-color: var(--vl-accent) !important; }
.border-sage-wash { border-color: var(--vl-border) !important; }
.bg-sage-wash { background-color: #e8f2f1 !important; }
.bg-sage-wash\/30 { background-color: rgb(232 242 241 / 0.3) !important; }
.bg-sage-wash\/50 { background-color: rgb(232 242 241 / 0.5) !important; }
.text-sage-wash\/40 { color: rgb(232 242 241 / 0.4) !important; }
.text-sage-wash\/70 { color: rgb(232 242 241 / 0.7) !important; }
.bg-ivory-base { background-color: var(--vl-surface) !important; }
.bg-ivory-base\/10 { background-color: rgb(249 250 248 / 0.1) !important; }
.bg-ivory-base\/80 { background-color: rgb(249 250 248 / 0.8) !important; }
.bg-ivory-base\/90 { background-color: rgb(249 250 248 / 0.9) !important; }
.text-ivory-base { color: var(--vl-surface) !important; }
.text-ivory-base\/50 { color: rgb(249 250 248 / 0.5) !important; }
.text-ivory-base\/70 { color: rgb(249 250 248 / 0.7) !important; }
.text-ivory-base\/80 { color: rgb(249 250 248 / 0.8) !important; }
.text-ivory-base\/90 { color: rgb(249 250 248 / 0.9) !important; }
.border-ivory-base { border-color: var(--vl-surface) !important; }
.border-ivory-base\/10 { border-color: rgb(249 250 248 / 0.1) !important; }
.border-ivory-base\/20 { border-color: rgb(249 250 248 / 0.2) !important; }
.border-ivory-base\/30 { border-color: rgb(249 250 248 / 0.3) !important; }
.text-outline { color: var(--vl-muted) !important; }
.border-outline { border-color: var(--vl-muted) !important; }
.text-on-surface { color: var(--vl-text) !important; }
.text-on-surface-variant { color: var(--vl-muted) !important; }
.bg-surface { background-color: var(--vl-surface) !important; }

.hover\:bg-forest-deep:hover { background-color: var(--vl-primary) !important; }
.hover\:text-forest-deep:hover { color: var(--vl-primary) !important; }
.hover\:border-forest-deep:hover { border-color: var(--vl-primary) !important; }
.hover\:bg-leaf-vibrant:hover { background-color: var(--vl-secondary) !important; }
.hover\:text-leaf-vibrant:hover { color: var(--vl-secondary) !important; }
.hover\:border-leaf-vibrant:hover { border-color: var(--vl-secondary) !important; }
.hover\:bg-ivory-base:hover { background-color: var(--vl-surface) !important; }
.hover\:bg-ivory-base\/10:hover { background-color: rgb(249 250 248 / 0.1) !important; }
.hover\:text-ivory-base:hover { color: var(--vl-surface) !important; }
.hover\:bg-sage-wash\/30:hover { background-color: rgb(120 173 175 / 0.16) !important; }
.focus\:border-leaf-vibrant:focus { border-color: var(--vl-secondary) !important; }

.group:hover .group-hover\:bg-forest-deep { background-color: var(--vl-primary) !important; }
.group:hover .group-hover\:bg-forest-deep\/10 { background-color: rgb(1 80 84 / 0.1) !important; }
.group:hover .group-hover\:text-ivory-base { color: var(--vl-surface) !important; }
.group:hover .group-hover\:text-ivory-base\/80 { color: rgb(249 250 248 / 0.8) !important; }
.group:hover .group-hover\:text-leaf-vibrant { color: var(--vl-secondary) !important; }
.group:hover .group-hover\:text-leaf-vibrant\/50 { color: rgb(17 113 118 / 0.5) !important; }

.placeholder\:text-ivory-base\/30::placeholder { color: rgb(249 250 248 / 0.3) !important; }
.selection\:bg-leaf-vibrant::selection { background-color: var(--vl-secondary) !important; }
.hover\:shadow-leaf-vibrant\/20:hover { box-shadow: 0 20px 40px -18px rgb(17 113 118 / 0.2) !important; }
.shadow-forest-deep\/10 { box-shadow: 0 10px 24px -14px rgb(1 80 84 / 0.28) !important; }
.from-forest-deep\/60 { --tw-gradient-from: rgb(1 80 84 / 0.6); --tw-gradient-to: rgb(1 80 84 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-forest-deep\/80 { --tw-gradient-from: rgb(1 80 84 / 0.8); --tw-gradient-to: rgb(1 80 84 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-forest-deep\/90 { --tw-gradient-from: rgb(1 80 84 / 0.9); --tw-gradient-to: rgb(1 80 84 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-forest-deep\/20 { --tw-gradient-to: rgb(1 80 84 / 0); --tw-gradient-stops: var(--tw-gradient-from), rgb(1 80 84 / 0.2), var(--tw-gradient-to); }
.via-forest-deep\/30 { --tw-gradient-to: rgb(1 80 84 / 0); --tw-gradient-stops: var(--tw-gradient-from), rgb(1 80 84 / 0.3), var(--tw-gradient-to); }

.text-white\/80 { color: rgb(255 255 255 / 0.8) !important; }
.border-white\/10 { border-color: rgb(255 255 255 / 0.1) !important; }
.border-white\/60 { border-color: rgb(255 255 255 / 0.6) !important; }

.reveal-up,
.reveal {
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up,
  .reveal {
    will-change: auto;
  }
}

.glass-nav {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* === Page load fade-in === */
body {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
body.page-loaded {
  opacity: 1;
}

/* === Nav: load slide-down + auto-hide + floating pill === */
[data-site-nav] {
  transform: translateY(-100%);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    left 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    right 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    max-width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.4s ease,
    box-shadow 0.4s ease;
}
body.page-loaded [data-site-nav] {
  transform: translateY(0);
}

/* Auto-hide on scroll-down (mayor especificidad para ganar a translateY(0)) */
body.page-loaded [data-site-nav].nav-hidden {
  transform: translateY(-160%);
}

/* Modo flotante (cuando se ha hecho scroll fuera del tope) */
[data-site-nav].nav-floating {
  top: 12px;
  left: 12px;
  right: 12px;
  width: auto;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 9999px;
  background: rgba(249, 250, 248, 0.85);
  box-shadow:
    0 18px 50px -16px rgba(1, 80, 84, 0.28),
    0 6px 22px -8px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}
[data-site-nav].nav-floating > nav {
  padding-left: 18px;
  padding-right: 8px;
}
@media (min-width: 768px) {
  [data-site-nav].nav-floating > nav {
    padding-left: 28px;
    padding-right: 14px;
  }
}

/* El menú móvil interno conserva esquinas redondeadas dentro de la píldora flotante */
[data-site-nav].nav-floating [data-mobile-menu] {
  border-radius: 0 0 28px 28px;
  margin: 0 12px 12px;
  overflow: hidden;
}

/* === Scroll reveal === */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.stagger-1 { transition-delay: 100ms; }
.stagger-2 { transition-delay: 200ms; }
.stagger-3 { transition-delay: 300ms; }
.stagger-4 { transition-delay: 400ms; }

/* === Word-by-word heading reveal === */
.word-reveal-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 1.05;
  padding: 0.08em 0.05em 0.05em;
  margin: -0.08em -0.05em -0.05em;
}
.word-reveal-word {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.word-reveal-active .word-reveal-word {
  transform: translateY(0);
}

/* === Product card tilt (3D) === */
.product-card {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.product-card:hover .product-image {
  transform: scale(1.08);
}
.product-card:hover {
  box-shadow: 0 24px 60px -20px rgba(1, 80, 84, 0.25);
}

/* === Magnetic CTAs (movement smoothed via JS, transition fallback) === */
[data-magnetic] {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s, color 0.3s, box-shadow 0.3s;
  will-change: transform;
}

/* === Scroll progress bar === */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 100;
  pointer-events: none;
  background: transparent;
}
.scroll-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--vl-secondary-soft) 0%, var(--vl-primary) 100%);
  box-shadow: 0 0 16px rgb(120 173 175 / 0.55);
  will-change: width;
}

/* === Floating WhatsApp FAB === */
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #015054;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 36px rgba(1, 80, 84, 0.45), 0 4px 16px rgba(0, 0, 0, 0.12);
  z-index: 95;
  opacity: 0;
  transform: translateY(80px) scale(0.5);
  transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
  text-decoration: none;
}
.fab-whatsapp.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.fab-whatsapp:hover {
  transform: scale(1.1);
  background: var(--vl-secondary);
  box-shadow: 0 16px 48px rgb(17 113 118 / 0.45), 0 6px 20px rgba(0, 0, 0, 0.15);
}
.fab-whatsapp::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--vl-secondary-soft);
  animation: fab-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes fab-pulse {
  0% { transform: scale(0.9); opacity: 0.75; }
  100% { transform: scale(1.4); opacity: 0; }
}
.fab-whatsapp .material-symbols-outlined {
  font-size: 28px;
}

/* === Hero img parallax baseline === */
[data-parallax-img] {
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.18);
}

/* === Image hover zoom (auto applied on cards by JS) === */
.zoom-on-hover {
  overflow: hidden;
}
.zoom-on-hover img {
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.zoom-on-hover:hover img {
  transform: scale(1.07);
}

/* === Subtle floaty animation === */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-y { animation: float-y 6s ease-in-out infinite; }

/* === Misc === */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.animate-spin-slow { animation: spin-slow 20s linear infinite; }

/* === Section divider (curved separator effect) === */
.section-edge-top {
  position: relative;
}
.section-edge-top::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: inherit;
  clip-path: ellipse(60% 60% at 50% 100%);
  pointer-events: none;
}

/* === Product hero thumbnails (carrusel horizontal) === */
.thumbs-carousel {
  position: relative;
  margin-top: 1.25rem;
}
.thumbs-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: none;
  padding: 4px 4px 8px;
}
.thumbs-track::-webkit-scrollbar { display: none; }

.thumbs-track .product-thumb {
  flex: 0 0 calc((100% - 48px) / 5);
  scroll-snap-align: start;
  appearance: none;
  background: #ffffff;
  border: 2px solid rgba(1, 80, 84, 0.08);
  border-radius: 16px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
@media (max-width: 640px) {
  .thumbs-track .product-thumb { flex: 0 0 calc((100% - 24px) / 3); }
}
.thumbs-track .product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.thumbs-track .product-thumb:hover,
.thumbs-track .product-thumb:focus-visible {
  border-color: var(--vl-secondary);
  box-shadow: 0 12px 24px -10px rgba(1, 80, 84, 0.25);
  outline: none;
}
.thumbs-track .product-thumb.is-active {
  border-color: var(--vl-primary);
  box-shadow: 0 8px 18px -8px rgba(1, 80, 84, 0.4);
}
.thumbs-track .product-thumb:hover img {
  transform: scale(1.05);
}

.thumbs-arrow {
  position: absolute;
  top: calc(50% - 4px);
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--vl-primary);
  border: 1px solid rgba(1, 80, 84, 0.12);
  box-shadow: 0 6px 18px -6px rgba(1, 80, 84, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}
.thumbs-arrow:hover {
  background: var(--vl-primary);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}
.thumbs-arrow-prev { left: -16px; }
.thumbs-arrow-next { right: -16px; }
.thumbs-arrow.is-disabled {
  opacity: 0.35;
}

[data-product-hero] [data-product-hero-main] {
  transition: none;
}

/* === Marquee === */
.marquee {
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 4rem;
  animation: marquee-scroll 40s linear infinite;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* === Reduced motion accessibility === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .word-reveal-word { transform: none !important; }
  .scroll-progress-bar { display: none; }
  [data-parallax-img] { transform: none !important; }
}

/* === Design stabilization layer === */
html {
  scroll-padding-top: 96px;
}

body,
body.page-loaded {
  opacity: 1;
  transition: none;
}

img {
  display: block;
}

[data-site-nav],
body.page-loaded [data-site-nav],
body.page-loaded [data-site-nav].nav-hidden,
[data-site-nav].nav-floating {
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  transform: none;
  background: rgb(249 250 248 / 0.94);
  box-shadow: 0 8px 24px -22px rgb(1 80 84 / 0.7);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}

[data-site-nav].nav-scrolled {
  background: rgb(249 250 248 / 0.98);
  border-bottom-color: rgb(1 80 84 / 0.14);
  box-shadow: 0 12px 32px -24px rgb(1 80 84 / 0.72);
}

[data-site-nav].nav-floating > nav {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

[data-site-nav] nav > div a:not([class*="bg-"]) {
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
}

[data-site-nav] nav > div a:not([class*="bg-"]):hover,
[data-site-nav] nav > div a[aria-current="page"] {
  text-decoration-line: underline;
  text-decoration-color: var(--vl-secondary-soft);
}

[data-site-nav] .group:focus-within > div {
  opacity: 1;
  visibility: visible;
}

.reveal-up,
.reveal,
.reveal-scale,
.reveal-left,
.reveal-right,
.reveal-up.active,
.reveal.active,
.reveal-scale.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}

.word-reveal-mask {
  overflow: visible;
}

.word-reveal-word,
.word-reveal-active .word-reveal-word {
  transform: none;
  transition: none;
  will-change: auto;
}

.scroll-progress {
  display: none;
}

[data-parallax-img] {
  transform: none !important;
  will-change: auto;
}

.product-card {
  transform: none !important;
  transform-style: flat;
  will-change: auto;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  box-shadow: 0 22px 48px -34px rgb(1 80 84 / 0.55);
}

[data-magnetic] {
  transform: none !important;
  will-change: auto;
}

.fab-whatsapp,
.fab-whatsapp.visible {
  width: 54px;
  height: 54px;
  bottom: 20px;
  right: 20px;
  opacity: 1;
  transform: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 14px 30px -18px rgb(1 80 84 / 0.8);
}

.fab-whatsapp:hover {
  transform: translateY(-2px);
}

.fab-whatsapp::before,
.section-edge-top::before {
  display: none;
}

.float-y,
.animate-spin-slow,
.marquee-track {
  animation: none;
}

a.rounded-full:active,
button.rounded-full:active,
.product-card:active {
  transform: translateY(1px) scale(0.99) !important;
}

.rounded-2xl,
.rounded-3xl,
.rounded-\[2rem\],
.rounded-\[2\.5rem\],
.rounded-\[3rem\] {
  border-radius: 24px !important;
}

.shadow-lg,
.shadow-xl,
.shadow-2xl {
  box-shadow: 0 22px 52px -38px rgb(1 80 84 / 0.55) !important;
}

.hover\:shadow-xl:hover {
  box-shadow: 0 22px 48px -34px rgb(1 80 84 / 0.55) !important;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgb(1 80 84 / 0.88) 0%, rgb(1 80 84 / 0.66) 45%, rgb(1 80 84 / 0.2) 78%),
    linear-gradient(0deg, rgb(1 80 84 / 0.25), transparent 45%);
}

.home-hero > .absolute img {
  object-position: center 58%;
}

.category-hero-scrim {
  background: linear-gradient(90deg, rgb(1 80 84 / 0.9) 0%, rgb(1 80 84 / 0.64) 48%, rgb(1 80 84 / 0.12) 82%);
}

.category-hero > .absolute img {
  object-position: center;
}

.stats-panel > div + div {
  border-left: 1px solid rgb(1 80 84 / 0.14);
}

.service-item .material-symbols-outlined {
  transition: transform 0.2s ease;
}

.service-item:hover .material-symbols-outlined {
  transform: translateY(-2px);
}

.product-tile {
  color: inherit;
  text-decoration: none;
}

.product-tile:focus-visible > div {
  outline: 3px solid var(--vl-accent);
  outline-offset: 4px;
}

/* Carrusel de categorías de la home */
.category-carousel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.category-carousel-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 0.75rem;
}

.category-carousel-control {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgb(1 80 84 / 0.22);
  border-radius: 999px;
  background: var(--vl-surface);
  color: var(--vl-primary);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.category-carousel-control:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.04);
  background: var(--vl-primary);
  color: var(--vl-surface);
}

.category-carousel-control:active:not(:disabled) {
  transform: translateY(0) scale(0.96);
}

.category-carousel-control:focus-visible {
  outline: 3px solid var(--vl-accent);
  outline-offset: 3px;
}

.category-carousel-control:disabled {
  opacity: 0.3;
  cursor: default;
}

.category-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-top: 0.75rem;
  padding-bottom: 2.5rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1.5rem;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-carousel-track::-webkit-scrollbar {
  display: none;
}

.category-card {
  position: relative;
  display: flex;
  flex: 0 0 clamp(250px, 22vw, 310px);
  flex-direction: column;
  min-width: 0;
  padding: 0.5rem;
  margin: -0.5rem;
  border-radius: 30px;
  scroll-snap-align: start;
  transform-origin: center bottom;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.category-card-media {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid rgb(1 80 84 / 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 48px -38px rgb(1 80 84 / 0.7);
}

.category-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(145deg, rgb(255 255 255 / 0.42), transparent 38%, rgb(17 113 118 / 0.08));
  opacity: 0;
  transition: opacity 0.45s ease;
}

.category-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.category-card-media-placeholder {
  display: grid;
  place-items: center;
  background: rgb(120 173 175 / 0.22);
}

.category-card-symbol {
  color: rgb(1 80 84 / 0.42);
  font-size: 96px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.category-card-title-row {
  display: flex;
  min-height: 64px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.category-card-arrow {
  display: inline-grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgb(1 80 84 / 0.18);
  border-radius: 999px;
  color: var(--vl-primary);
  opacity: 0.42;
  transform: translateX(-6px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .category-carousel-track:has(.category-card:hover) .category-card:not(:hover) {
    opacity: 0.68;
    transform: scale(0.975);
  }

  .category-card:hover {
    transform: translateY(-10px) rotateZ(-0.45deg);
  }

  .category-card:nth-child(even):hover {
    transform: translateY(-10px) rotateZ(0.45deg);
  }

  .category-card:hover .category-card-media,
  .category-card:focus-visible .category-card-media {
    border-color: rgb(17 113 118 / 0.32);
    box-shadow: 0 30px 58px -38px rgb(1 80 84 / 0.9);
  }

  .category-card:hover .category-card-media::after,
  .category-card:focus-visible .category-card-media::after {
    opacity: 1;
  }

  .category-card:hover .category-card-media img,
  .category-card:focus-visible .category-card-media img {
    transform: translateY(-5px) scale(1.075);
  }

  .category-card:hover .category-card-symbol,
  .category-card:focus-visible .category-card-symbol {
    opacity: 0.8;
    transform: rotate(-8deg) scale(1.12);
  }

  .category-card:hover .category-card-arrow,
  .category-card:focus-visible .category-card-arrow {
    opacity: 1;
    transform: translateX(0) rotate(-35deg);
  }
}

.category-card:active {
  transform: translateY(-3px) scale(0.985);
}

@media (max-width: 767px) {
  .category-carousel-header {
    align-items: flex-end;
    gap: 1.25rem;
  }

  .category-carousel-header p {
    max-width: 26ch;
  }

  .category-carousel-control {
    width: 44px;
    height: 44px;
  }

  .category-card {
    flex-basis: min(82vw, 310px);
  }
}

@media (max-width: 520px) {
  .category-carousel-header {
    display: block;
  }

  .category-carousel-controls {
    margin-top: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-carousel-track {
    scroll-behavior: auto;
  }

  .category-card,
  .category-card-media img,
  .category-card-symbol,
  .category-card-arrow,
  .category-carousel-control {
    transform: none !important;
    transition: none !important;
  }

  .category-carousel-track:has(.category-card:hover) .category-card:not(:hover) {
    opacity: 1;
  }
}

.market-disclosures {
  border-bottom: 1px solid rgb(255 255 255 / 0.2);
}

.market-disclosure {
  border-top: 1px solid rgb(255 255 255 / 0.2);
}

.market-disclosure > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  min-height: 124px;
  padding: 1.5rem 0;
  cursor: pointer;
  list-style: none;
}

.market-disclosure > summary::-webkit-details-marker {
  display: none;
}

.market-disclosure > summary:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--vl-accent);
}

.market-disclosure-symbol {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 16px;
  background: rgb(255 255 255 / 0.08);
}

.market-disclosure-symbol .material-symbols-outlined {
  font-size: 30px;
}

.market-disclosure-copy {
  display: block;
}

.market-disclosure-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.market-disclosure-arrow {
  font-size: 32px;
  transition: transform 0.2s ease;
}

.market-disclosure[open] .market-disclosure-arrow {
  transform: rotate(180deg);
}

.market-disclosure-panel {
  padding: 0 0 2.5rem 5.5rem;
}

.market-destination-grid,
.market-country-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 2.5rem;
}

.market-destination,
.market-country-grid > span {
  border-top: 1px solid rgb(255 255 255 / 0.18);
  padding: 1.25rem 0 0.25rem;
}

.market-destination h3,
.market-country-grid > span {
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
}

.cta-panel {
  box-shadow: 0 26px 64px -52px rgb(1 80 84 / 0.75);
}

footer .text-leaf-vibrant {
  color: var(--vl-accent) !important;
}

.bg-forest-deep .text-leaf-vibrant {
  color: var(--vl-accent) !important;
}

footer a:hover {
  color: var(--vl-surface) !important;
}

.text-headline-xl {
  font-size: 36px;
  line-height: 42px;
  letter-spacing: -0.02em;
}

@media (max-width: 767px) {
  .py-section-gap {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }

  [data-site-nav].nav-floating > nav {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  [data-mobile-menu] {
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
  }

  .home-hero > .absolute img {
    object-position: 63% center;
  }

  .hero-scrim {
    background: linear-gradient(180deg, rgb(1 80 84 / 0.58) 0%, rgb(1 80 84 / 0.84) 58%, rgb(1 80 84 / 0.72) 100%);
  }

  .category-hero-scrim {
    background: linear-gradient(180deg, rgb(1 80 84 / 0.42) 0%, rgb(1 80 84 / 0.86) 72%, rgb(1 80 84 / 0.9) 100%);
  }

  .stats-panel {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .stats-panel .text-display-lg-mobile {
    font-size: 34px;
    line-height: 38px;
  }

  .stats-panel p:last-child {
    font-size: 12px;
  }

  .market-disclosure > summary {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    min-height: 0;
    padding: 1.5rem 0;
  }

  .market-disclosure-symbol {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .market-disclosure-symbol .material-symbols-outlined {
    font-size: 24px;
  }

  .market-disclosure-title {
    display: block;
    font-size: 1.25rem;
  }

  .market-disclosure-arrow {
    font-size: 27px;
  }

  .market-disclosure-panel {
    padding: 0 0 2rem 4rem;
  }

  .market-destination-grid,
  .market-country-grid {
    grid-template-columns: 1fr;
    row-gap: 1rem;
  }
}

@media (min-width: 768px) {
  .text-headline-xl {
    font-size: 44px;
    line-height: 52px;
  }
}

/* Responsive system: mobile and tablet */
html { -webkit-text-size-adjust: 100%; }
body { min-width: 320px; }

main,
main > section,
main > div,
.grid > *,
.flex > * { min-width: 0; }

button,
input,
select,
textarea { font: inherit; }

main a.rounded-full,
main button.rounded-full {
  min-height: 48px;
  align-items: center;
}

.product-breadcrumb {
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.product-breadcrumb::-webkit-scrollbar { display: none; }

@media (max-width: 1023px) {
  [data-site-nav] {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  [data-site-nav] > nav {
    min-height: 48px;
    gap: 12px;
  }

  [data-site-nav] nav > div[class*="md:flex"] { display: none !important; }
  [data-site-nav] nav a[class*="md:inline-flex"] { display: none !important; }

  [data-mobile-menu].hidden { display: none !important; }

  [data-menu-toggle] {
    display: inline-grid !important;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border: 1px solid rgb(1 80 84 / 0.14);
    border-radius: 14px;
    background: rgb(249 250 248 / 0.94);
    color: var(--vl-primary);
    transition: background-color 0.2s ease, transform 0.2s ease;
  }

  [data-menu-toggle]:active { transform: scale(0.96); }

  [data-site-nav] nav > a:first-child {
    flex: 0 1 auto;
    max-width: calc(100% - 64px);
    padding: 7px 10px;
  }

  [data-site-nav] nav > a:first-child img {
    width: auto;
    max-width: min(52vw, 205px);
    height: 26px;
    object-fit: contain;
  }

  [data-mobile-menu]:not(.hidden) {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: block !important;
    height: calc(100dvh - 72px);
    padding: 0 12px 12px;
    overflow: hidden;
    border-top: 1px solid rgb(1 80 84 / 0.1);
    background: rgb(1 80 84 / 0.18);
    overscroll-behavior: contain;
  }

  .mobile-menu-panel {
    max-height: calc(100dvh - 84px);
    padding: 18px 20px 20px;
    overflow-y: auto;
    border: 1px solid rgb(1 80 84 / 0.1);
    border-top: 0;
    border-radius: 0 0 22px 22px;
    background: var(--vl-surface);
    box-shadow: 0 24px 52px -28px rgb(1 80 84 / 0.7);
  }

  .mobile-menu-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
  }

  .mobile-menu-heading-row a,
  .mobile-menu-secondary {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--vl-primary);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-menu-heading-row .material-symbols-outlined { color: var(--vl-secondary); }

  .mobile-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgb(1 80 84 / 0.12);
  }

  .mobile-product-grid a {
    display: flex;
    min-height: 46px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgb(120 173 175 / 0.13);
    color: var(--vl-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
  }

  .mobile-menu-secondary {
    width: 100%;
    margin: 10px 0;
  }

  .mobile-menu-cta {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--vl-primary);
    color: var(--vl-surface);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-menu-open .fab-whatsapp {
    opacity: 0;
    pointer-events: none;
  }

  .sticky.top-32 { position: static !important; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  [data-site-nav] > nav {
    padding-right: 32px !important;
    padding-left: 32px !important;
  }

  .mobile-menu-panel {
    max-width: 720px;
    margin: 0 auto;
  }

  .mobile-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  html { scroll-padding-top: 84px; }

  .mx-auto.px-6,
  main.px-6,
  section.px-6,
  footer .px-6,
  [data-site-nav] > nav,
  [data-site-nav].nav-floating > nav {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  .gap-gutter { gap: 24px !important; }

  h1.text-display-lg-mobile,
  .text-display-lg-mobile {
    font-size: clamp(36px, 10vw, 42px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.025em;
    text-wrap: balance;
  }

  .text-headline-xl {
    font-size: clamp(32px, 8.8vw, 36px) !important;
    line-height: 1.14 !important;
    text-wrap: balance;
  }

  .font-body-lg,
  .text-body-lg { line-height: 1.6 !important; }

  [data-page="productos"] main,
  .contact-page main { padding-top: 104px !important; }

  .category-hero {
    min-height: calc(100dvh - 72px) !important;
    height: auto !important;
    padding-top: 56px;
    padding-bottom: 48px;
  }

  .category-hero .max-w-2xl > p { margin-bottom: 28px !important; }

  main .flex.flex-wrap.gap-4 > a.rounded-full,
  .category-hero .flex.flex-wrap > a {
    display: inline-flex;
    width: 100%;
    flex: 1 1 100%;
    justify-content: center;
    text-align: center;
  }

  .product-breadcrumb {
    flex-wrap: nowrap !important;
    gap: 6px !important;
    padding-bottom: 8px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .product-breadcrumb a,
  .product-breadcrumb > span { flex: 0 0 auto; }

  .product-breadcrumb > :nth-child(3),
  .product-breadcrumb > :nth-child(4) { display: none; }

  .product-detail-page [aria-label="Breadcrumb"] { padding-top: 20px !important; }
  .product-detail-page [aria-label="Breadcrumb"] + section { padding-top: 28px !important; }
  .product-detail-page .grid.grid-cols-2.gap-6 { gap: 16px !important; }
  .product-detail-page .p-8 { padding: 24px !important; }

  .product-detail-page [aria-label="Breadcrumb"] + section .flex.flex-wrap.gap-4 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px !important;
    margin-bottom: 28px !important;
  }

  .product-detail-page [aria-label="Breadcrumb"] + section .flex.flex-wrap.gap-4 > a.rounded-full {
    width: auto;
    min-width: 0;
    padding-right: 12px !important;
    padding-left: 12px !important;
    white-space: nowrap;
  }

  .product-detail-page [aria-label="Breadcrumb"] + section p.mb-8 {
    margin-bottom: 24px !important;
  }

  .thumbs-track {
    padding-right: 2px;
    padding-left: 2px;
  }

  .thumbs-arrow { width: 44px; height: 44px; }
  .thumbs-arrow-prev { left: -10px; }
  .thumbs-arrow-next { right: -10px; }

  .overflow-x-auto:has(table) {
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--vl-secondary-soft) transparent;
  }

  .overflow-x-auto table th:first-child,
  .overflow-x-auto table td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    box-shadow: 12px 0 20px -18px rgb(1 80 84 / 0.75);
  }

  .overflow-x-auto table th:first-child {
    z-index: 3;
    background: var(--vl-primary);
  }

  .overflow-x-auto table td:first-child { background: var(--vl-surface); }

  .stats-panel > div {
    min-width: 0;
    padding-right: 8px;
    padding-left: 8px;
  }

  .stats-panel p:last-child {
    overflow-wrap: anywhere;
    line-height: 1.35;
  }

  [data-page="sobre-nosotros"] .auto-rows-fr > * {
    height: 100%;
    min-height: 140px;
  }

  [data-page="productos"] main > section:first-child { margin-bottom: 48px !important; }

  [data-page="productos"] #categorias > .grid > a > div:last-child { padding: 24px !important; }

  [data-page="productos"] section > div[class*="rounded-[3rem]"] {
    gap: 28px !important;
    padding: 28px !important;
    border-radius: 24px !important;
  }

  .contact-page main > .mb-16 { margin-bottom: 32px !important; }

  .contact-page form.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 20px !important; }

  .contact-page .lg\:col-span-7,
  .contact-page .lg\:col-span-5 > div { padding: 24px !important; }

  .contact-page input,
  .contact-page select,
  .contact-page textarea {
    min-height: 52px;
    font-size: 16px !important;
  }

  .contact-page a[href^="mailto:"],
  .contact-page a[href^="tel:"],
  .contact-page a[href^="https://wa.me/"] {
    min-height: 44px;
    overflow-wrap: anywhere;
  }

  .contact-page .border-l-2 {
    padding-top: 18px !important;
    padding-left: 0 !important;
    border-top: 1px solid rgb(249 250 248 / 0.18);
    border-left: 0 !important;
  }

  .contact-page .fab-whatsapp { display: none; }

  .fab-whatsapp,
  .fab-whatsapp.visible {
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 50px;
    height: 50px;
  }

  footer .mb-20 { margin-bottom: 48px !important; }
  footer .gap-gutter { gap: 28px !important; }

  footer a:not(.rounded-full) {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
  }

  footer a[href^="mailto:"] { overflow-wrap: anywhere; }
}

@media (max-width: 374px) {
  [data-site-nav] nav > a:first-child img {
    max-width: 180px;
    height: 24px;
  }

  h1.text-display-lg-mobile,
  .text-display-lg-mobile { font-size: 34px !important; }

  .mobile-menu-panel {
    padding-right: 16px;
    padding-left: 16px;
  }

  .contact-page .lg\:col-span-5 a[href^="mailto:"],
  .contact-page .lg\:col-span-5 a[href^="tel:"],
  .contact-page .lg\:col-span-5 a[href^="https://wa.me/"] {
    gap: 6px !important;
    font-size: 14px;
    overflow-wrap: normal;
    word-break: normal;
  }

  .contact-page .lg\:col-span-5 a .material-symbols-outlined {
    flex: 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-menu-toggle],
  .mobile-menu-cta,
  .mobile-product-grid a { transition: none !important; }
}
