/* ==========================================================================
   Tapetes Capri — estilos
   Estilo: "bento + tufted" · movimiento alto · mobile-first
   ========================================================================== */
/* tokens.css se enlaza antes en el <head> */

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; touch-action: manipulation; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime-300); color: var(--green-950); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 2000; background: var(--green-900); color: #fff; padding: 0.8rem 1.2rem; border-radius: var(--radius-pill); transition: top var(--dur-fast); }
.skip-link:focus { top: 1rem; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Tipografía ---------- */
.script { font-family: var(--font-script); font-weight: 400; letter-spacing: 0; color: var(--green-500); text-transform: none; display: inline-block; line-height: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--green-600);
}
.eyebrow::before { content: ""; width: 2.2rem; height: 3px; border-radius: 3px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--lime-300); }
.lead { font-size: var(--fs-md); color: var(--color-text-soft); max-width: 58ch; }
.section--dark .lead { color: var(--color-on-dark-soft); }
.h-xl { font-size: var(--fs-xl); }
.h-2xl { font-size: var(--fs-2xl); }

/* ---------- Botones ---------- */
.btn {
  --_bg: var(--btn-bg); --_fg: var(--btn-fg); --_bd: transparent;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem;
  min-height: 52px; padding: 0.85rem 1.7rem; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  background: var(--_bg); color: var(--_fg); border: 2px solid var(--_bd);
  box-shadow: 0 10px 24px -10px rgba(47, 138, 31, 0.7);
  transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base), color var(--dur-base);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--green-900);
  transform: translateY(101%); border-radius: inherit; transition: transform var(--dur-base) var(--ease-out);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -12px rgba(5, 35, 26, 0.6); }
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn .icon { transition: transform var(--dur-base) var(--ease-spring); }
.btn:hover .icon-arrow { transform: translateX(5px); }
.btn--wa { --_bg: #1fb855; box-shadow: 0 10px 24px -10px rgba(31, 184, 85, 0.8); }
.btn--ghost { --_bg: transparent; --_fg: #fff; --_bd: rgba(255, 255, 255, 0.55); box-shadow: none; }
.btn--ghost::after { background: #fff; }
.btn--ghost:hover { color: var(--green-900); }
.btn--outline { --_bg: transparent; --_fg: var(--green-900); --_bd: var(--green-900); box-shadow: none; }
.btn--outline:hover { color: #fff; }
.btn--dark { --_bg: var(--green-900); box-shadow: 0 10px 24px -10px rgba(5, 35, 26, 0.8); }
.btn--dark::after { background: var(--green-500); }
.btn--gold { --_bg: var(--gold-400); --_fg: var(--green-950); box-shadow: 0 10px 26px -10px rgba(240, 168, 0, 0.9); }
.btn--gold::after { background: #fff; }
.btn--sm { min-height: 44px; padding: 0.55rem 1.15rem; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* ---------- Curtain: precarga + transición de página ---------- */
.curtain {
  position: fixed; inset: 0; z-index: var(--z-preloader);
  background: var(--cream-100); display: grid; place-items: center;
  transform: translateY(0); transition: transform 0.9s var(--ease-out);
  will-change: transform;
}
.curtain--page { background: var(--green-900); transition-duration: 0.55s; }
.curtain.is-up { transform: translateY(-104%); pointer-events: none; }
.curtain[hidden] { display: none; }
.curtain--page .grass-edge, .no-intro .curtain .grass-edge { color: var(--green-900) !important; }
.no-intro .curtain { background: var(--green-900); transition-duration: 0.55s; }
.no-intro .curtain__inner { display: none; }
.curtain.is-down-start { transform: translateY(104%); transition: none; }
.curtain__grass { position: absolute; left: 0; right: 0; bottom: 100%; height: 90px; color: var(--cream-100); transform: translateY(1px); }
.curtain--page .curtain__grass { color: var(--green-900); }
.curtain__inner { display: grid; justify-items: center; gap: 1.6rem; padding: 2rem; position: relative; z-index: 2; }
.curtain__logo { width: min(64vw, 300px); animation: logo-pop 1.1s var(--ease-spring) both; }
.curtain__bar { width: min(60vw, 260px); height: 8px; border-radius: 8px; background: rgba(10, 44, 27, 0.12); overflow: hidden; }
.curtain__bar span { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--green-600), var(--lime-300)); animation: bar-fill 1.5s var(--ease-out) forwards 0.2s; }
.curtain__tag { font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green-700); }
@keyframes logo-pop { from { opacity: 0; transform: scale(0.7) rotate(-4deg); } to { opacity: 1; transform: none; } }
@keyframes bar-fill { to { width: 100%; } }
noscript .curtain { display: none; }

/* ---------- Barra de progreso de scroll ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 4px; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--green-500), var(--lime-300), var(--gold-400)); z-index: calc(var(--z-nav) + 5); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; max-width: 100vw; z-index: var(--z-nav); transition: transform var(--dur-base) var(--ease-out); }
.promo-bar {
  height: var(--promo-h); background: var(--red-600); color: #fff; overflow: hidden; position: relative;
  transition: height var(--dur-base) var(--ease-out);
}
.promo-bar .marquee { height: 100%; }
.promo-bar .marquee__track { gap: 2.5rem; padding-right: 2.5rem; animation-duration: 38s; }
.promo-bar span { font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 0.6rem; white-space: nowrap; }
.promo-bar b { color: var(--gold-400); }
.site-header.is-scrolled .promo-bar { height: 0; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  height: var(--nav-h); padding-inline: var(--gutter); transition: background var(--dur-base), box-shadow var(--dur-base), backdrop-filter var(--dur-base);
}
.site-header.is-scrolled .nav { background: rgba(251, 248, 240, 0.9); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 8px 30px -14px rgba(5, 35, 26, 0.4); }
.brand { display: inline-flex; align-items: center; transition: transform var(--dur-base) var(--ease-spring); }
.brand:hover { transform: scale(1.06) rotate(-1.5deg); }
.brand img { height: 66px; width: auto; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.4)); transition: filter var(--dur-base); }
.brand__dark { display: none; }
.site-header.is-scrolled .brand__light { display: none; }
.site-header.is-scrolled .brand__dark { display: block; filter: drop-shadow(0 2px 6px rgba(10, 44, 27, 0.18)); }
@media (max-width: 600px) { .brand img { height: 56px; } }
.nav__links { display: none; align-items: center; gap: 0.3rem; }
.nav__links a:not(.btn) {
  position: relative; padding: 0.6rem 0.95rem; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: #fff;
  border-radius: var(--radius-pill); transition: color var(--dur-fast), background var(--dur-fast);
}
.site-header.is-scrolled .nav__links a:not(.btn) { color: var(--green-900); }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 0; height: 3px; border-radius: 3px; background: var(--green-400); transform: translateX(-50%); transition: width var(--dur-base) var(--ease-out); }
.nav__links a:not(.btn):hover::after, .nav__links a[aria-current="page"]::after { width: 55%; }
.nav__cta { margin-left: 0.6rem; }
.menu-btn { width: 52px; height: 52px; border-radius: 50%; background: var(--cream-100); display: grid; place-items: center; box-shadow: var(--shadow-md); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 22px; height: 2.5px; border-radius: 3px; background: var(--green-900); transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast); }
.menu-btn span { position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; } .menu-btn span::after { top: 7px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: calc(var(--z-nav) - 1); background: var(--green-950); color: #fff;
  display: grid; align-content: center; gap: 0.4rem; padding: 7rem var(--gutter) 3rem;
  clip-path: circle(0% at calc(100% - 3rem) 3rem); transition: clip-path 0.7s var(--ease-out); visibility: hidden;
  background-image: radial-gradient(circle at 20% 20%, rgba(108, 189, 53, 0.18), transparent 50%);
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 3rem) 3rem); visibility: visible; }
.mobile-menu a:not(.btn) { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 8vw, 2.8rem); padding: 0.4rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; align-items: center; opacity: 0; transform: translateY(24px); transition: opacity 0.5s, transform 0.6s var(--ease-out), color var(--dur-fast); }
.mobile-menu a:not(.btn):hover { color: var(--lime-300); }
.menu-open .mobile-menu a { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 70ms + 200ms); }
.mobile-menu .btn { margin-top: 1.5rem; }
@media (min-width: 1040px) {
  .nav__links { display: flex; }
  .menu-btn, .mobile-menu { display: none; }
}

/* ---------- Secciones y divisores ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--alt { background: var(--color-bg-alt); }
.section--dark {
  background-color: var(--green-900); color: var(--color-on-dark);
  background-image:
    radial-gradient(circle at 20% 15%, rgba(108, 189, 53, 0.16), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255, 201, 40, 0.07), transparent 40%),
    radial-gradient(rgba(255, 255, 255, 0.055) 1.6px, transparent 2.2px);
  background-size: auto, auto, 11px 11px;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.2rem, 5vw, 4rem); }
.section-head--center { text-align: center; justify-items: center; }
.section-head--center .lead { margin-inline: auto; }
.grass-edge { position: absolute; left: 0; right: 0; height: clamp(44px, 7vw, 96px); pointer-events: none; z-index: 3; overflow: hidden; }
.grass-edge--top { top: 0; transform: translateY(-99%); }
.grass-edge--bottom { bottom: 0; transform: translateY(99%) scaleY(-1); }
.grass-edge svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: currentColor; transform-origin: 50% 100%; }
.grass-edge .g2 { opacity: 0.55; animation: sway 7s ease-in-out infinite alternate; }
.grass-edge .g1 { animation: sway 5s ease-in-out infinite alternate-reverse; }
@keyframes sway { from { transform: skewX(-1.6deg) scaleY(0.97); } to { transform: skewX(1.6deg) scaleY(1.02); } }
.tuft-bg { background-image: radial-gradient(rgba(10, 44, 27, 0.09) 1.5px, transparent 2px); background-size: 12px 12px; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); will-change: transform, opacity; }
.js [data-reveal="left"] { transform: translateX(-60px); }
.js [data-reveal="right"] { transform: translateX(60px); }
.js [data-reveal="zoom"] { transform: scale(0.88); }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 90% 0 round var(--radius-lg)); transition: clip-path 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; color: #fff; overflow: hidden; background: var(--green-950); isolation: isolate; padding: calc(var(--nav-h) + var(--promo-h) + 3rem) 0 8rem; }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero__slide.is-active img { animation: kenburns 11s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(1.5%, 1%, 0); } to { transform: scale(1) translate3d(0, 0, 0); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(5, 35, 26, 0.93) 5%, rgba(5, 35, 26, 0.62) 48%, rgba(5, 35, 26, 0.22) 100%), linear-gradient(0deg, rgba(5, 35, 26, 0.65), transparent 40%); }
.hero__grid { display: grid; gap: 3rem; align-items: center; }
.hero__copy { display: grid; gap: 1.5rem; justify-items: start; max-width: 40rem; }
.hero__pill { display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.45rem 1rem 0.45rem 0.5rem; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); backdrop-filter: blur(8px); font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.05em; }
.hero__pill b { background: var(--red-600); padding: 0.25rem 0.7rem; border-radius: var(--radius-pill); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.5rem, 1.2rem + 5.2vw, 5.4rem); line-height: 0.98; color: #fff; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .script { font-size: 1.05em; color: var(--lime-300); transform: rotate(-3deg); transform-origin: left bottom; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35); }
.hero h1 .w { display: inline-block; white-space: nowrap; }
.hero h1 .ch { display: inline-block; transform: translateY(110%); animation: ch-up 0.9s var(--ease-out) forwards; animation-delay: calc(var(--i) * 38ms + var(--base, 0ms)); }
@keyframes ch-up { to { transform: none; } }
.hero__sub { font-size: var(--fs-md); color: rgba(255, 255, 255, 0.88); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.82); }
.hero__trust li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__trust .icon { color: var(--lime-300); }
.hero__collage { display: none; position: relative; height: min(66vh, 560px); }
.hero__card { position: absolute; border-radius: var(--radius-lg); overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow-lg); background: #fff; transition: transform var(--dur-slow) var(--ease-out); }
.hero__card img { width: 100%; height: 100%; object-fit: cover; }
.hero__card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.8rem 1rem 0.7rem; font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: #fff; background: linear-gradient(0deg, rgba(5, 35, 26, 0.85), transparent); }
.hero__card:nth-child(1) { width: 52%; aspect-ratio: 4/5; left: 4%; top: 2%; transform: rotate(-5deg); animation: float 7s ease-in-out infinite; }
.hero__card:nth-child(2) { width: 50%; aspect-ratio: 1; right: 0; top: 18%; transform: rotate(4deg); animation: float 8s ease-in-out infinite 1s; }
.hero__card:nth-child(3) { width: 46%; aspect-ratio: 4/3; left: 18%; bottom: 0; transform: rotate(-2deg); animation: float 9s ease-in-out infinite 0.5s; }
@keyframes float { 50% { translate: 0 -14px; } }
.hero__badge { position: absolute; right: 4%; bottom: 2%; width: 128px; height: 128px; border-radius: 50%; background: var(--gold-400); color: var(--green-950); display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 0.8rem; line-height: 1.1; box-shadow: var(--shadow-lg); animation: spin-slow 22s linear infinite; z-index: 3; }
.hero__badge span { display: block; font-size: 1.7rem; line-height: 1; animation: spin-slow 22s linear infinite reverse; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.hero__dots { position: absolute; left: var(--gutter); bottom: 6.5rem; display: flex; gap: 0.5rem; z-index: 4; }
.hero__dots button { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); transition: width var(--dur-base) var(--ease-out), background var(--dur-base); position: relative; }
.hero__dots button::before { content: ""; position: absolute; inset: -16px -6px; }
.hero__dots button[aria-current="true"] { width: 44px; border-radius: 10px; background: var(--lime-300); }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 6.5rem; z-index: 4; display: none; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }
.hero__scroll i { display: block; width: 26px; height: 44px; border: 2px solid rgba(255, 255, 255, 0.6); border-radius: 14px; position: relative; }
.hero__scroll i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 9px; margin-left: -2px; border-radius: 4px; background: var(--lime-300); animation: scroll-dot 1.7s ease-in-out infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
.hero .grass-edge { color: var(--color-bg); bottom: -1px; top: auto; transform: none; height: clamp(60px, 9vw, 120px); }


/* ---------- Page hero (landings) ---------- */
.page-hero { min-height: 78svh; padding-bottom: 9rem; }
.page-hero::before { background: linear-gradient(95deg, rgba(5, 35, 26, 0.92) 8%, rgba(5, 35, 26, 0.55) 60%, rgba(5, 35, 26, 0.3)), linear-gradient(0deg, rgba(5, 35, 26, 0.6), transparent 45%); }
.page-hero .hero__slide { opacity: 1; }
.page-hero h1 { font-size: var(--fs-2xl); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.75); }
.crumbs a:hover { color: var(--lime-300); }
.crumbs span[aria-hidden] { opacity: 0.5; }
.page-hero__stats { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip-stat { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(6px); font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; }

/* ---------- Marquees ---------- */
.marquee { overflow: hidden; display: flex; user-select: none; }
.marquee__track { flex: none; display: flex; align-items: center; min-width: 100%; justify-content: space-around; animation: marquee 30s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* Banner de temporada */
.season { position: relative; padding-block: clamp(3rem, 8vw, 6rem) clamp(3.5rem, 6vw, 5rem); background: var(--color-bg); overflow: hidden; }
.season__stage { position: relative; padding-block: clamp(2rem, 6vw, 4.5rem); margin-block: 0 2.5rem; }
.band { transform: rotate(-2.4deg); width: 112%; margin-left: -6%; padding-block: clamp(0.8rem, 2vw, 1.4rem); box-shadow: var(--shadow-lg); }
.band--red { background: var(--red-600); color: #fff; position: relative; z-index: 2; }
.band--green { background: var(--green-900); color: var(--lime-300); transform: rotate(1.8deg); position: absolute; left: -6%; right: auto; top: 50%; translate: 0 -50%; z-index: 1; margin-block: 0; padding-block: clamp(0.8rem, 2vw, 1.3rem); }
.band--gold { background: var(--gold-400); color: var(--green-950); transform: rotate(-2.4deg); position: relative; z-index: 2; }
.band .marquee__track { animation-duration: 42s; gap: 0; }
.band span { display: inline-flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.2rem); padding-right: clamp(1rem, 2.5vw, 2.2rem); font-family: var(--font-display); font-weight: 900; font-size: clamp(1.7rem, 1rem + 4.2vw, 4.4rem); text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.1; white-space: nowrap; }
.band .script { font-size: 1.1em; color: var(--gold-400); text-transform: none; }
.band--green .script { color: #fff; }
.band .star { width: 0.7em; height: 0.7em; fill: currentColor; stroke: none; animation: spin-slow 8s linear infinite; }
.season__cta { display: grid; gap: 1.2rem; justify-items: center; text-align: center; }
.season__cta h2 { font-size: var(--fs-xl); }
.season__cta .btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

/* ---------- Categorías (bento) ---------- */
.cats { display: grid; gap: 1.4rem; }
.cat-card { position: relative; border-radius: var(--radius-xl); overflow: hidden; min-height: 460px; display: grid; align-items: end; color: #fff; isolation: isolate; box-shadow: var(--shadow-md); transition: box-shadow var(--dur-base), transform var(--dur-slow) var(--ease-out); transform-style: preserve-3d; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out); }
.cat-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 35, 26, 0.92) 12%, rgba(5, 35, 26, 0.15) 62%); transition: opacity var(--dur-base); }
.cat-card:hover img { transform: scale(1.09); }
.cat-card:hover { box-shadow: var(--shadow-lg); }
.cat-card__body { padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 0.8rem; }
.cat-card__num { font-family: var(--font-display); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.2em; color: var(--lime-300); }
.cat-card h3 { font-size: var(--fs-lg); color: #fff; }
.cat-card h3 .script { font-size: 1.15em; color: var(--lime-300); }
.cat-card p { color: rgba(255, 255, 255, 0.85); font-size: var(--fs-sm); max-width: 28rem; }
.cat-card__go { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 0.4rem; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; }
.cat-card__go i { width: 48px; height: 48px; border-radius: 50%; background: var(--lime-300); color: var(--green-950); display: grid; place-items: center; transition: transform var(--dur-base) var(--ease-spring), background var(--dur-base); }
.cat-card:hover .cat-card__go i { transform: rotate(-45deg) scale(1.1); background: #fff; }
.cat-card__tag { position: absolute; top: 1.2rem; left: 1.2rem; padding: 0.4rem 0.9rem; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.92); color: var(--green-900); font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
@media (min-width: 900px) {
  .cats { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .cat-card { min-height: 600px; }
  .cat-card:nth-child(2) { margin-top: 3.5rem; }
  .cat-card:nth-child(3) { margin-top: 1.2rem; }
}

/* ---------- Beneficios ---------- */
.why { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.why__feats { display: grid; gap: 1rem; }
.feat { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.4rem; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(6px); transition: transform var(--dur-base) var(--ease-spring), background var(--dur-base), border-color var(--dur-base); }
.feat:hover { transform: translateY(-6px) rotate(-0.6deg); background: rgba(255, 255, 255, 0.11); border-color: rgba(166, 224, 90, 0.5); }
.feat__ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--green-500), var(--lime-300)); color: var(--green-950); font-size: 1.5rem; }
.feat h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.feat p { font-size: var(--fs-sm); color: var(--color-on-dark-soft); }
.why__visual { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.why__visual img { width: 100%; height: 118%; object-fit: cover; }
.why__stamp { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; padding: 1.2rem 1.4rem; border-radius: var(--radius-lg); background: rgba(5, 35, 26, 0.78); backdrop-filter: blur(10px); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.3; display: flex; gap: 0.9rem; align-items: center; }
.why__stamp .icon { color: var(--gold-400); font-size: 2rem; }
@media (min-width: 960px) {
  .why { grid-template-columns: 0.9fr 1.1fr; }
  .why__feats { grid-template-columns: 1fr 1fr; }
  .why__feats .feat:nth-child(even) { transform: translateY(1.5rem); }
  .why__feats .feat:nth-child(even):hover { transform: translateY(calc(1.5rem - 6px)) rotate(0.6deg); }
}

/* ---------- Proyectos (rail) ---------- */
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.rail-nav { display: flex; gap: 0.6rem; }
.round-btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--green-900); color: #fff; transition: transform var(--dur-base) var(--ease-spring), background var(--dur-base); }
.round-btn:hover { background: var(--green-500); transform: scale(1.1); }
.round-btn:disabled { opacity: 0.35; pointer-events: none; }
.rail { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem var(--gutter) 2.5rem; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail.is-drag * { pointer-events: none; }
.p-card { position: relative; flex: none; width: min(78vw, 340px); aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; scroll-snap-align: start; background: var(--green-900); box-shadow: var(--shadow-md); isolation: isolate; text-align: left; transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-base); }
.p-card:hover { transform: translateY(-10px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.p-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease-out); }
.p-card:hover img { transform: scale(1.08); }
.p-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 35, 26, 0.9), transparent 55%); }
.p-card__body { position: absolute; inset: auto 0 0 0; padding: 1.3rem; display: grid; gap: 0.5rem; color: #fff; }
.p-card h3 { font-size: 1.2rem; color: #fff; }
.p-card__more { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; color: var(--lime-300); }
.tag { display: inline-flex; align-items: center; width: fit-content; padding: 0.3rem 0.8rem; border-radius: var(--radius-pill); font-family: var(--font-display); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--lime-300); color: var(--green-950); }
.tag--tapete { background: var(--gold-400); }
.tag--ref { background: #fff; }
.tag--alfombra { background: #9fd4ff; }

/* ---------- Video ---------- */
.video-sec { overflow-x: clip; }
.video-sec__grid { display: grid; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.phone { position: relative; width: min(78vw, 340px); margin-inline: auto; aspect-ratio: 9/16; border-radius: 44px; padding: 10px; background: linear-gradient(160deg, #1a3a2a, #05231a); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15), var(--shadow-lg), 0 0 120px -10px rgba(108, 189, 53, 0.5); transform: rotate(2deg); transition: transform var(--dur-slow) var(--ease-out); }
.phone:hover { transform: rotate(0deg) scale(1.02); }
.phone video, .phone__poster { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; background: #000; }
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; width: 84px; height: 22px; border-radius: 20px; background: #000; transform: translateX(-50%); z-index: 3; }
.phone__ctrl { position: absolute; z-index: 4; left: 22px; right: 22px; bottom: 22px; display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; }
.phone__ctrl button { width: 48px; height: 48px; border-radius: 50%; background: rgba(5, 35, 26, 0.72); backdrop-filter: blur(8px); color: #fff; display: grid; place-items: center; transition: background var(--dur-fast), transform var(--dur-base) var(--ease-spring); }
.phone__ctrl button:hover { background: var(--green-500); transform: scale(1.1); }
.phone__big { position: absolute; z-index: 3; inset: 0; margin: auto; width: 88px; height: 88px; border-radius: 50%; background: var(--lime-300); color: var(--green-950); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(166, 224, 90, 0.7); animation: pulse 2s infinite; transition: opacity var(--dur-base), transform var(--dur-base); font-size: 2rem; }
.phone.is-playing .phone__big { opacity: 0; transform: scale(0.5); pointer-events: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 26px rgba(166, 224, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(166, 224, 90, 0); } }
.video-sec__copy { display: grid; gap: 1.4rem; justify-items: start; }
.checks { display: grid; gap: 0.8rem; }
.checks li { display: flex; gap: 0.8rem; align-items: flex-start; }
.checks .icon { color: var(--lime-300); margin-top: 0.25rem; font-size: 1.3rem; }
.video-sec__deco { position: absolute; width: min(60vw, 520px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(108, 189, 53, 0.28), transparent 65%); right: -10%; top: -10%; pointer-events: none; }
@media (min-width: 900px) { .video-sec__grid { grid-template-columns: 0.8fr 1.2fr; } }

/* ---------- Zona niños ---------- */
.kids { background: var(--gold-400); position: relative; overflow-x: clip; color: var(--green-950); }
.kids::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 12% 20%, var(--coral-500) 0 28px, transparent 29px), radial-gradient(circle at 88% 14%, var(--sky-500) 0 38px, transparent 39px), radial-gradient(circle at 78% 86%, var(--violet-500) 0 22px, transparent 23px), radial-gradient(circle at 6% 82%, #fff 0 16px, transparent 17px), radial-gradient(circle at 52% 6%, var(--green-500) 0 14px, transparent 15px); opacity: 0.9; animation: confetti 14s ease-in-out infinite alternate; pointer-events: none; }
@keyframes confetti { to { transform: translateY(14px) rotate(1.5deg); } }
.kids .eyebrow { color: var(--green-900); }
.kids .script { color: var(--red-600); }
.kids__grid { display: grid; gap: 3rem; align-items: center; position: relative; }
.kids__copy { display: grid; gap: 1.3rem; justify-items: start; }
.kids__copy .lead { color: var(--green-900); }
.hop { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.hop i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 10px; font-style: normal; font-family: var(--font-display); font-weight: 800; color: #fff; box-shadow: 0 5px 0 rgba(0, 0, 0, 0.18); animation: hop 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * 140ms); }
@keyframes hop { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-14px) rotate(-6deg); } }
.hop i:nth-child(4n+1) { background: var(--red-600); } .hop i:nth-child(4n+2) { background: var(--violet-500); }
.hop i:nth-child(4n+3) { background: var(--sky-500); } .hop i:nth-child(4n) { background: var(--green-600); }
.polaroids { position: relative; min-height: 460px; }
.polaroid { position: absolute; padding: 10px 10px 40px; background: #fff; border-radius: 6px; box-shadow: var(--shadow-lg); transition: transform var(--dur-slow) var(--ease-spring), z-index 0s; }
.polaroid img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.polaroid::after { content: ""; position: absolute; top: -12px; left: 50%; width: 90px; height: 26px; background: rgba(255, 255, 255, 0.55); transform: translateX(-50%) rotate(-3deg); border: 1px dashed rgba(10, 44, 27, 0.25); }
.polaroid:hover { transform: rotate(0deg) scale(1.08) !important; z-index: 5; }
.polaroid figcaption { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font-family: var(--font-script); font-size: 1.1rem; color: var(--green-900); }
.polaroid:nth-child(1) { width: 52%; aspect-ratio: 1; left: 0; top: 0; transform: rotate(-6deg); }
.polaroid:nth-child(2) { width: 46%; aspect-ratio: 3/4; right: 2%; top: 6%; transform: rotate(5deg); }
.polaroid:nth-child(3) { width: 54%; aspect-ratio: 4/3; left: 22%; bottom: 0; transform: rotate(-2deg); }
@media (min-width: 900px) { .kids__grid { grid-template-columns: 1fr 1fr; } .polaroids { min-height: 560px; } }

/* ---------- Proceso ---------- */
.steps { display: grid; gap: 1.2rem; counter-reset: step; position: relative; }
.step { position: relative; padding: 2rem 1.6rem; border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base); }
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.step__n { font-family: var(--font-display); font-weight: 900; font-size: 4rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--green-500); margin-bottom: 0.6rem; transition: color var(--dur-base); }
.step:hover .step__n { color: var(--lime-300); }
.step h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step p { color: var(--color-text-soft); font-size: var(--fs-sm); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } .step:nth-child(even) { margin-top: 2.2rem; } }

/* ---------- Clientes ---------- */
.clients { padding-block: 3rem; background: var(--green-950); color: #fff; overflow: hidden; }
.clients h2 { font-size: var(--fs-sm); font-family: var(--font-display); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; text-align: center; color: var(--lime-300); margin-bottom: 1.6rem; }
.clients .marquee__track { gap: 1rem; padding-right: 1rem; animation-duration: 46s; }
.client-pill { white-space: nowrap; padding: 0.9rem 1.6rem; border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, 0.22); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; display: inline-flex; align-items: center; gap: 0.7rem; background: rgba(255, 255, 255, 0.05); }
.client-pill .icon { color: var(--lime-300); }

/* ---------- Pagos ---------- */
.pay { display: grid; gap: 1rem; }
.pay__item { display: flex; gap: 1rem; align-items: center; padding: 1.2rem 1.4rem; border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.pay__item .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--green-900); color: var(--lime-300); font-size: 1.5rem; flex: none; }
.pay__item h3 { font-size: 1.05rem; }
.pay__item p { font-size: var(--fs-sm); color: var(--color-text-soft); line-height: 1.4; }
@media (min-width: 800px) { .pay { grid-template-columns: repeat(4, 1fr); } .pay__item { flex-direction: column; align-items: flex-start; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.8rem; max-width: 860px; margin-inline: auto; }
.faq-item { border-radius: var(--radius-md); background: var(--color-surface); border: 1px solid var(--color-border); overflow: hidden; transition: box-shadow var(--dur-base), border-color var(--dur-base); }
.faq-item.is-open { box-shadow: var(--shadow-md); border-color: var(--green-400); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; min-height: 64px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.faq-q i { width: 36px; height: 36px; border-radius: 50%; background: var(--cream-200); display: grid; place-items: center; flex: none; transition: transform var(--dur-base) var(--ease-spring), background var(--dur-base); }
.faq-item.is-open .faq-q i { transform: rotate(135deg); background: var(--lime-300); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-base) var(--ease-out); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 1.4rem 1.3rem; color: var(--color-text-soft); }

/* ---------- Cotizador ---------- */
.quote { display: grid; gap: 2.5rem; align-items: start; }
.quote__info { display: grid; gap: 1.4rem; justify-items: start; }
.contact-list { display: grid; gap: 0.9rem; }
.contact-list li { display: flex; gap: 0.9rem; align-items: center; }
.contact-list .ico { width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, 0.1); display: grid; place-items: center; color: var(--lime-300); flex: none; }
.form-card { background: var(--cream-50); color: var(--ink-900); border-radius: var(--radius-xl); padding: clamp(1.4rem, 4vw, 2.6rem); box-shadow: var(--shadow-lg); display: grid; gap: 1.1rem; }
.form-card h3 { font-size: var(--fs-lg); color: var(--green-900); }
.field { display: grid; gap: 0.4rem; }
.field label { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--green-900); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 0.8rem 1rem; border-radius: var(--radius-md); border: 2px solid var(--cream-300); background: #fff; font: inherit; color: var(--ink-900); transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-500); box-shadow: var(--shadow-glow); }
.field .err { display: none; color: var(--red-700); font-size: 0.82rem; font-weight: 600; }
.field.is-invalid input { border-color: var(--red-600); }
.field.is-invalid .err { display: block; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .quote { grid-template-columns: 0.85fr 1.15fr; } }
.form-note { font-size: 0.8rem; color: var(--color-text-mute); display: flex; gap: 0.5rem; align-items: center; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--green-950); color: var(--color-on-dark-soft); padding-top: clamp(4rem, 9vw, 8rem); overflow-x: clip; }
.footer__slogan { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 1rem + 3.4vw, 3.6rem); line-height: 1.08; letter-spacing: -0.02em; color: #fff; margin-bottom: 2.5rem; }
.footer__slogan .script { color: var(--lime-300); font-size: 1.1em; }
.footer__slogan em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.55); }
.footer__grid { display: grid; gap: 2.4rem; padding-bottom: 3rem; }
.footer__brand img { width: 170px; background: var(--cream-100); padding: 0.6rem 0.9rem; border-radius: var(--radius-md); margin-bottom: 1.2rem; }
.footer h4 { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime-300); margin-bottom: 1rem; }
.footer li { margin-bottom: 0.55rem; }
.footer a:hover { color: var(--lime-300); }
.socials { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.socials a { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); color: #fff; transition: transform var(--dur-base) var(--ease-spring), background var(--dur-base), color var(--dur-base); }
.socials a:hover { background: var(--lime-300); color: var(--green-950); transform: translateY(-5px) rotate(-8deg); }
.paybadges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.paybadges span { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.8rem; border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.8rem; font-weight: 700; color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem; font-size: 0.82rem; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

/* ---------- Flotantes ---------- */
.wa-fab { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: var(--z-float); display: flex; align-items: center; gap: 0.7rem; }
.wa-fab__label { display: none; padding: 0.7rem 1.1rem; border-radius: var(--radius-pill); background: #fff; color: var(--green-900); font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; box-shadow: var(--shadow-md); animation: wiggle 5s ease-in-out infinite 3s; }
.wa-fab__btn { position: relative; width: 64px; height: 64px; border-radius: 50%; background: #1fb855; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(31, 184, 85, 0.9); transition: transform var(--dur-base) var(--ease-spring); }
.wa-fab__btn:hover { transform: scale(1.12) rotate(-8deg); }
.wa-fab__btn::before, .wa-fab__btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1fb855; animation: ring 2.6s ease-out infinite; }
.wa-fab__btn::after { animation-delay: 1.3s; }
.wa-fab__btn .icon { width: 34px; height: 34px; }
@keyframes ring { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.9); opacity: 0; } }
@keyframes wiggle { 0%, 90%, 100% { transform: none; } 93% { transform: rotate(-3deg) translateX(-4px); } 96% { transform: rotate(3deg) translateX(4px); } }
@media (min-width: 720px) { .wa-fab__label { display: block; } }
.to-top { position: fixed; left: max(1rem, env(safe-area-inset-left)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: var(--z-float); width: 52px; height: 52px; border-radius: 50%; background: var(--green-900); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-spring); }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--green-500); }

/* ---------- Landings: tipos + galería ---------- */
.intro { display: grid; gap: 2rem; align-items: center; }
.intro__facts { display: grid; gap: 0.9rem; }
.fact { display: flex; gap: 1rem; padding: 1.2rem 1.3rem; border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-border); align-items: flex-start; transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base); }
.fact:hover { transform: translateX(8px); box-shadow: var(--shadow-md); }
.fact .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--green-900); color: var(--lime-300); display: grid; place-items: center; flex: none; font-size: 1.3rem; }
.fact h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.fact p { font-size: var(--fs-sm); color: var(--color-text-soft); line-height: 1.5; }
@media (min-width: 900px) { .intro { grid-template-columns: 1fr 1fr; } }
.types { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); margin-bottom: 2.5rem; }
.type-btn { position: relative; text-align: left; padding: 1.2rem 1.3rem; border-radius: var(--radius-lg); background: var(--color-surface); border: 2px solid var(--color-border); display: grid; gap: 0.35rem; min-height: 112px; transition: transform var(--dur-base) var(--ease-spring), border-color var(--dur-base), background var(--dur-base), color var(--dur-base), box-shadow var(--dur-base); overflow: hidden; }
.type-btn:hover { transform: translateY(-5px); border-color: var(--green-400); box-shadow: var(--shadow-md); }
.type-btn[aria-pressed="true"] { background: var(--green-900); color: #fff; border-color: var(--green-900); box-shadow: var(--shadow-md); }
.type-btn .ico { font-size: 1.6rem; color: var(--green-500); }
.type-btn[aria-pressed="true"] .ico { color: var(--lime-300); }
.type-btn b { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; line-height: 1.15; }
.type-btn small { font-size: 0.8rem; opacity: 0.7; }
.gallery { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.g-item { position: relative; display: block; width: 100%; aspect-ratio: 1; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--green-900); box-shadow: var(--shadow-sm); cursor: pointer; transition: opacity 0.35s, transform 0.5s var(--ease-out), box-shadow var(--dur-base); isolation: isolate; }
.g-item.is-hidden { display: none; }
.g-item.is-leaving { opacity: 0; transform: scale(0.92); }
.g-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.g-item::before { content: ""; position: absolute; inset: -24px; background: var(--bg) center / cover; filter: blur(22px) saturate(1.25); }
.g-item img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform 1s var(--ease-out); }
.g-item:hover img { transform: scale(1.06); }
.g-item__ov { position: absolute; inset: 0; display: grid; align-content: end; gap: 0.6rem; padding: 1.2rem; color: #fff; background: linear-gradient(0deg, rgba(5, 35, 26, 0.94) 4%, rgba(5, 35, 26, 0.1) 55%, transparent); opacity: 0; transition: opacity var(--dur-base); }
.g-item:hover .g-item__ov, .g-item:focus-within .g-item__ov { opacity: 1; }
@media (hover: none) { .g-item__ov { opacity: 1; background: linear-gradient(0deg, rgba(5, 35, 26, 0.88) 2%, transparent 42%); } .g-item__ov .btn-row { display: none; } }
.g-item__ov h3 { font-size: 1.1rem; color: #fff; }
.g-item__ov .btn-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.g-item__open { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; }
.g-item__ov .btn { position: relative; z-index: 3; }
.g-item__ov .btn--gold { pointer-events: none; }
.g-item__tags { position: absolute; top: 0.9rem; left: 0.9rem; z-index: 1; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.gallery-empty { display: none; text-align: center; padding: 3rem; color: var(--color-text-mute); }

/* feature band con fondo parallax (landings) */
.parallax-band { position: relative; color: #fff; overflow: hidden; padding-block: clamp(5rem, 12vw, 10rem); isolation: isolate; }
.parallax-band__bg { position: absolute; inset: -12% 0; z-index: -2; }
.parallax-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.parallax-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 35, 26, 0.9), rgba(5, 35, 26, 0.5)); }
.parallax-band__in { display: grid; gap: 1.4rem; justify-items: start; max-width: 40rem; }
.parallax-band h2 { color: #fff; font-size: var(--fs-xl); }
.parallax-band .lead { color: rgba(255, 255, 255, 0.88); }

.cross { display: grid; gap: 1.2rem; }
@media (min-width: 800px) { .cross { grid-template-columns: repeat(2, 1fr); } }
.cross .cat-card { min-height: 380px; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: clamp(0.6rem, 3vw, 2rem); background: rgba(3, 20, 14, 0.9); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity var(--dur-base), visibility var(--dur-base); }
.lb.is-open { opacity: 1; visibility: visible; }
.lb__dialog { position: relative; width: min(1100px, 100%); max-height: 100%; display: grid; background: var(--cream-50); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); transform: translateY(30px) scale(0.96); transition: transform 0.5s var(--ease-spring); }
.lb.is-open .lb__dialog { transform: none; }
.lb__media { position: relative; background: #0b1f16; display: grid; place-items: center; min-height: 0; max-height: 58svh; overflow: hidden; }
.lb__media img { max-width: 100%; max-height: 58svh; width: auto; height: auto; object-fit: contain; }
.lb__info { padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: 0.8rem; align-content: center; overflow: auto; }
.lb__info h3 { font-size: var(--fs-lg); color: var(--green-900); }
.lb__info p { color: var(--color-text-soft); }
.lb__meta { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.lb__close { position: absolute; top: 0.8rem; right: 0.8rem; z-index: 5; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--green-900); display: grid; place-items: center; box-shadow: var(--shadow-md); transition: transform var(--dur-base) var(--ease-spring); }
.lb__close:hover { transform: rotate(90deg) scale(1.08); }
.lb__nav { position: absolute; top: 28svh; translate: 0 -50%; z-index: 4; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--green-900); display: grid; place-items: center; transition: transform var(--dur-base) var(--ease-spring); }
.lb__nav:hover { transform: scale(1.12); }
.lb__nav--prev { left: 0.8rem; } .lb__nav--next { right: 0.8rem; }
@media (min-width: 900px) {
  .lb__dialog { grid-template-columns: 1.35fr 1fr; max-height: 88svh; }
  .lb__media, .lb__media img { max-height: 88svh; }
  .lb__nav { top: 50%; }
  .lb__nav--next { right: auto; left: calc(100% * 1.35 / 2.35 - 3.6rem); }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .hero h1 .w { display: inline-block; white-space: nowrap; }
.hero h1 .ch { transform: none; }
  .marquee__track { animation: none !important; }
  .curtain { display: none; }
}


/* =====================================================================
   Rediseño v2
   ===================================================================== */
.hero__copy { max-width: 46rem; }
.hero__sub { max-width: 36rem; }

/* ---------- Banda compacta de temporada + divisor animado ---------- */
.season { padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 5vw, 4.5rem); position: relative; overflow: hidden; background: var(--color-bg); }
.season__cta { gap: 1rem; }
.season__cta h2 { font-size: var(--fs-lg); max-width: 28ch; }
.season .btn--outline { --_fg: var(--red-700); --_bd: var(--red-600); }
.season .btn--outline::after { background: var(--red-600); }
.season .eyebrow { color: var(--red-600); }
.runner { position: relative; height: 70px; margin-bottom: 1.6rem; overflow: hidden; }
.runner__stitch { position: absolute; left: 0; right: 0; top: 50%; height: 6px; translate: 0 -50%; border-radius: 6px;
  background: repeating-linear-gradient(90deg, var(--red-600) 0 18px, transparent 18px 30px, var(--green-500) 30px 48px, transparent 48px 60px); animation: stitch 2.4s linear infinite; }
@keyframes stitch { to { background-position: 60px 0; } }
.runner__roll { position: absolute; top: 50%; left: 0; width: 46px; height: 46px; margin-top: -23px; animation: roll 10s linear infinite; filter: drop-shadow(0 6px 6px rgba(5, 35, 26, 0.3)); }
@keyframes roll { from { transform: translateX(-80px) rotate(0); } to { transform: translateX(calc(100vw + 40px)) rotate(1000deg); } }
.runner__leaf { position: absolute; left: var(--x); top: 50%; width: var(--s); height: var(--s); margin-top: -10px; color: var(--green-500); animation: leaf-bob 3.4s ease-in-out var(--d) infinite; }
.runner__leaf:nth-of-type(3n) { color: var(--red-600); }
.runner__leaf:nth-of-type(3n+1) { color: var(--green-400); }
.runner__leaf svg, .pdivider__leaf svg { width: 100%; height: 100%; fill: currentColor; }
@keyframes leaf-bob { 0%, 100% { transform: translateY(-16px) rotate(-22deg); } 50% { transform: translateY(-34px) rotate(26deg); } }

/* ---------- Por qué Capri (fondo con iris) ---------- */
@property --r { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.why-sec { isolation: isolate; overflow-x: clip; }
.why-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.why-bg > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.2) brightness(1.1); animation: why-zoom 16s ease-in-out infinite alternate; }
@keyframes why-zoom { from { transform: scale(1.3) rotate(-2deg); } to { transform: scale(1.02) rotate(0); } }
.why-bg__iris { position: absolute; inset: 0; background: var(--green-950);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent var(--r), #000 calc(var(--r) + 30%)); mask-image: radial-gradient(circle at 50% 50%, transparent var(--r), #000 calc(var(--r) + 30%));
  animation: iris 11s ease-in-out infinite alternate; }
@keyframes iris { from { --r: 2%; } to { --r: 78%; } }
.why-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 35, 26, 0.72), rgba(5, 35, 26, 0.5) 45%, rgba(5, 35, 26, 0.78)); }
.why-sec .section-head h2, .why-sec .section-head .lead { text-shadow: 0 2px 18px rgba(5, 35, 26, 0.9); }
.why-sec .section-head .lead { color: #fff; }
.why__grid { display: grid; gap: 1.2rem; max-width: 1100px; margin-inline: auto; grid-template-columns: 1fr; }
@media (min-width: 700px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why__grid { grid-template-columns: repeat(3, 1fr); } }
.feat { position: relative; overflow: hidden; display: grid; grid-template-columns: none; justify-items: center; text-align: center; gap: 0.7rem; padding: 2.1rem 1.5rem 1.8rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.04)); border: 1px solid rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 26px 44px -24px rgba(0, 0, 0, 0.65); }
.feat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, transparent, var(--red-600), var(--gold-400), var(--red-600), transparent); }
.feat::after { content: ""; position: absolute; top: -50%; left: -60%; width: 38%; height: 200%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.3), transparent); transform: rotate(18deg); animation: shine 7s ease-in-out infinite; animation-delay: calc(var(--d, 0) * 6ms); pointer-events: none; }
@keyframes shine { 0%, 50% { left: -60%; } 100% { left: 140%; } }
.feat:hover { transform: translateY(-8px); }
.feat__ico { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 6px rgba(166, 224, 90, 0.2); }
.feat h3 { margin: 0.2rem 0 0; }

/* ---------- Proyectos en grupos de 3 ---------- */
.pgroups { display: grid; gap: clamp(2rem, 5vw, 3.4rem); }
.pgroup { display: grid; gap: 1.6rem; }
.pdivider { position: relative; height: 58px; display: grid; place-items: center; }
.pdivider__line { position: absolute; left: 0; right: 0; top: 50%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--green-500) 14%, var(--red-600) 50%, var(--green-500) 86%, transparent); }
.pdivider__label { position: relative; z-index: 2; background: var(--color-bg); padding: 0.5rem 1.3rem; border-radius: var(--radius-pill); border: 2px solid var(--red-600); font-family: var(--font-display); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--green-900); text-align: center; }
.pdivider__leaf { position: absolute; top: 50%; left: var(--x); width: 20px; height: 20px; margin-top: -10px; color: var(--green-500); opacity: 0; animation: leaf-fall 4.4s ease-in-out var(--d) infinite; }
.pdivider__leaf:nth-of-type(3n) { color: var(--red-600); }
@keyframes leaf-fall { 0% { transform: translate(0, -28px) rotate(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(34px, 36px) rotate(170deg); opacity: 0; } }
.pgrid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
.p-tile { position: relative; display: grid; align-content: start; text-align: left; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-surface); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-base); }
.p-tile::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--red-600); z-index: 3; }
.p-tile:hover { transform: translateY(-8px); box-shadow: 0 28px 46px -24px rgba(210, 35, 47, 0.5); }
.p-tile__img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--green-950); }
.p-tile__img::before { content: ""; position: absolute; inset: -24px; background: var(--bg) center / cover; filter: blur(22px) saturate(1.25); opacity: 0.95; }
.p-tile__img img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform 0.8s var(--ease-out); }
.p-tile:hover .p-tile__img img { transform: scale(1.05); }
.p-tile__body { padding: 1.1rem 1.3rem 1.3rem; display: grid; gap: 0.5rem; justify-items: start; }
.p-tile h3 { font-size: 1.08rem; }
.p-tile__more { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 700; font-size: 0.84rem; color: var(--green-600); }
.btn-row-center { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 3rem; }

/* ---------- Marca de agua y fondos en movimiento ---------- */
.sec-mark { overflow-x: clip; }
.watermark { position: absolute; left: 50%; top: 50%; width: min(80vw, 780px); height: auto; translate: -50% -50%; opacity: 0.075; pointer-events: none; animation: wm-float 12s ease-in-out infinite alternate; z-index: 0; }
@keyframes wm-float { from { transform: translateY(-16px) rotate(-3deg); } to { transform: translateY(16px) rotate(3deg); } }
.sec-mark .container { position: relative; z-index: 1; }
.bgmove-sec { position: relative; isolation: isolate; overflow: hidden; }
.bgmove { position: absolute; inset: -8%; z-index: -2; }
.bgmove img { width: 100%; height: 100%; object-fit: cover; animation: pan 26s ease-in-out infinite alternate; }
.bgmove-sec--b .bgmove img { animation-direction: alternate-reverse; animation-duration: 32s; }
@keyframes pan { from { transform: scale(1.12) translate(-3.5%, -2%); } to { transform: scale(1.3) translate(3.5%, 2.5%); } }
.bgmove-sec::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--cream-100) 0%, rgba(251, 248, 240, 0.74) 20%, rgba(251, 248, 240, 0.7) 80%, var(--cream-100) 100%); }

/* ---------- Toques de rojo ---------- */
.eyebrow::before { background: linear-gradient(90deg, var(--red-600) 0 42%, var(--green-500) 42%); }
.section--dark .eyebrow::before, .hero .eyebrow::before { background: linear-gradient(90deg, var(--red-600) 0 42%, var(--lime-300) 42%); }
.kids .eyebrow::before { background: var(--green-900); }
.step, .pay__item, .fact { box-shadow: inset 0 3px 0 var(--red-600), var(--shadow-sm); }
.step:hover, .pay__item:hover, .fact:hover { box-shadow: inset 0 3px 0 var(--red-600), 0 24px 42px -24px rgba(210, 35, 47, 0.55); }
.step__n { -webkit-text-stroke: 2px var(--red-600); }
.step:hover .step__n { color: var(--gold-400); }
.type-btn:hover, .type-btn[aria-pressed="true"] { border-color: var(--red-600); box-shadow: 0 20px 32px -20px rgba(210, 35, 47, 0.55); }
.faq-item { box-shadow: inset 4px 0 0 var(--red-600), var(--shadow-sm); }
.faq-item.is-open { border-color: var(--red-600); }
.cat-card__tag { background: var(--red-600); color: #fff; }
.g-item:hover { box-shadow: 0 30px 50px -26px rgba(210, 35, 47, 0.6); }
.form-card { box-shadow: inset 0 5px 0 var(--red-600), var(--shadow-lg); }
.footer__bottom { border-top: 2px solid rgba(210, 35, 47, 0.55); }
.page-hero .eyebrow { color: var(--lime-300); }

.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--green-950); }

/* =====================================================================
   Responsive v3 — celular · tablet · escritorio
   ===================================================================== */
/* objetivos táctiles ≥ 44px en el pie de página */
.footer li a, .footer__brand a { display: inline-flex; align-items: center; min-height: 44px; }
.footer li { margin-bottom: 0; }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; }

/* tablet */
@media (min-width: 560px) {
  .pay { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(even) { margin-top: 0; }
}
@media (min-width: 800px) { .pay { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } .step:nth-child(even) { margin-top: 2.2rem; } }
@media (min-width: 640px) and (max-width: 899px) { .cats { grid-template-columns: repeat(2, 1fr); } .cats .cat-card:last-child { grid-column: 1 / -1; min-height: 380px; } }

/* barra de navegación compacta en laptops pequeñas */
@media (min-width: 1040px) and (max-width: 1239px) {
  .nav__links a:not(.btn) { padding: 0.55rem 0.6rem; font-size: 0.84rem; }
  .nav__cta { margin-left: 0.2rem; }
}

/* celulares pequeños */
@media (max-width: 480px) {
  :root { --section-y: 3.6rem; }
  .hero { padding-bottom: 6rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__pill { font-size: 0.74rem; }
  .hero__trust { font-size: 0.85rem; gap: 0.4rem 1rem; }
  .btn { padding-inline: 1.3rem; }
  .btn-row-center .btn, .season__cta .btn-row .btn { width: 100%; }
  .page-hero { min-height: 70svh; padding-bottom: 7rem; }
  .pdivider__label { font-size: 0.68rem; padding: 0.4rem 0.9rem; letter-spacing: 0.08em; }
  .footer__bottom { flex-direction: column; }
  .wa-fab__btn { width: 58px; height: 58px; }
  .lb__dialog { border-radius: var(--radius-lg); }
  .form-card { padding: 1.3rem 1.1rem; }
}
/* celular en horizontal / pantallas bajas */
@media (max-height: 520px) and (orientation: landscape) {
  .hero, .page-hero { min-height: 0; padding-top: calc(var(--nav-h) + var(--promo-h) + 1.5rem); padding-bottom: 6rem; }
  .lb__media, .lb__media img { max-height: 46svh; }
  .mobile-menu { align-content: start; overflow-y: auto; padding-top: 6.5rem; }
}
/* pantallas grandes */
@media (min-width: 1600px) {
  :root { --container: 1360px; --fs-base: 1.125rem; }
  .hero__copy { max-width: 52rem; }
}
@media (min-width: 2200px) { :root { --container: 1560px; } html { font-size: 112%; } }
@media (min-width: 1600px) { .hero h1 { font-size: 6.4rem; } .hero__sub { font-size: 1.4rem; } .page-hero h1 { font-size: 5.6rem; } }
@media (max-width: 559px) {
  .types { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .type-btn { min-height: 120px; padding: 1rem; }
  .type-btn b { font-size: 0.92rem; }
  .type-btn small { font-size: 0.72rem; }
  .types .type-btn:first-child { grid-column: 1 / -1; min-height: 88px; }
}

/* ---------- Chips (alto tráfico) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.chips li { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1.1rem; border-radius: var(--radius-pill); background: var(--color-surface); border: 2px solid var(--red-600); font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; color: var(--green-900); }
.chips .icon { color: var(--green-500); }

/* =====================================================================
   Tienda (e-commerce) + lista de cotización
   ===================================================================== */
.nav__tools { display: flex; align-items: center; gap: 0.6rem; }
.cart-btn { position: relative; width: 52px; height: 52px; border-radius: 50%; background: var(--cream-100); color: var(--green-900); display: grid; place-items: center; box-shadow: var(--shadow-md); font-size: 1.25rem; transition: transform var(--dur-base) var(--ease-spring), background var(--dur-base), color var(--dur-base); }
.cart-btn:hover { transform: scale(1.08); background: var(--lime-300); }
.cart-btn.bump { animation: bump 0.5s var(--ease-spring); }
@keyframes bump { 30% { transform: scale(1.25) rotate(-8deg); } 100% { transform: none; } }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--red-600); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 0.72rem; display: grid; place-items: center; border: 2px solid var(--cream-100); }
.cart-count[hidden] { display: none; }

/* productos */
.products { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .products { grid-template-columns: repeat(3, 1fr); gap: 1.3rem; } }
@media (min-width: 1000px) { .products--home { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1500px) { .products--store { grid-template-columns: repeat(4, 1fr); } }
.product { position: relative; display: flex; flex-direction: column; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-base); }
.product::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--red-600), var(--gold-400)); z-index: 3; }
.product:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -24px rgba(210, 35, 47, 0.5); }
.product.is-hidden { display: none; }
.product.pop { animation: pop 0.45s var(--ease-out) both; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
.product__img { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--green-950); cursor: zoom-in; }
.product__img::before { content: ""; position: absolute; inset: -24px; background: var(--bg) center / cover; filter: blur(22px) saturate(1.25); }
.product__img img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform 0.8s var(--ease-out); }
.product:hover .product__img img { transform: scale(1.05); }
.product__tag { position: absolute; top: 0.9rem; left: 0.7rem; z-index: 2; padding: 0.28rem 0.7rem; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.94); color: var(--green-900); font-family: var(--font-display); font-weight: 700; font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; }
.product__ref { position: absolute; right: 0.7rem; top: 0.9rem; z-index: 2; }
.product__body { display: flex; flex-direction: column; gap: 0.35rem; padding: 1rem 1.05rem 1.15rem; flex: 1; }
.product__cat { font-family: var(--font-display); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-600); }
.product h3 { font-size: 1rem; line-height: 1.2; }
.product__short { font-size: 0.85rem; color: var(--color-text-soft); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product__price { margin-top: auto; padding-top: 0.5rem; display: grid; line-height: 1.2; }
.product__price b { font-family: var(--font-display); color: var(--red-700); font-size: 0.95rem; }
.product__price small { color: var(--color-text-mute); font-size: 0.76rem; }
.product__actions { display: flex; gap: 0.5rem; margin-top: 0.7rem; }
.product__actions .js-add { flex: 1; padding-inline: 0.8rem; }
.btn--icon { width: 44px; min-width: 44px; padding: 0; flex: none; }
@media (max-width: 480px) { .product__body { padding: 0.85rem 0.8rem 1rem; } .product__short { display: none; } .product h3 { font-size: 0.92rem; } .product__actions .js-add { font-size: 0.78rem; gap: 0.3rem; } }

/* layout de tienda */
.store-hero { min-height: 56svh; padding-bottom: 7rem; }
.store-sec { padding-top: clamp(2.5rem, 5vw, 4rem); }
.store { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .store { grid-template-columns: 270px minmax(0, 1fr); gap: 2.4rem; align-items: start; } .store-nav { position: sticky; top: calc(var(--nav-h) + 1.2rem); } }
.store-nav__title { font-family: var(--font-display); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-600); margin-bottom: 0.8rem; }
.cat-list { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.2rem 0 0.8rem; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-snap-type: x proximity; }
.cat-list::-webkit-scrollbar { display: none; }
.cat-item { flex: none; scroll-snap-align: start; }
.cat-btn { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; width: 100%; min-height: 46px; padding: 0.55rem 1rem; border-radius: var(--radius-pill); background: var(--color-surface); border: 2px solid var(--color-border); font-family: var(--font-display); font-weight: 700; font-size: 0.88rem; white-space: nowrap; transition: background var(--dur-base), color var(--dur-base), border-color var(--dur-base), transform var(--dur-base) var(--ease-spring); }
.cat-btn span { display: inline-flex; align-items: center; gap: 0.5rem; }
.cat-btn .icon { color: var(--green-500); }
.cat-btn em, .sub-btn em { font-style: normal; font-size: 0.72rem; padding: 0.1rem 0.5rem; border-radius: 999px; background: var(--cream-200); color: var(--green-900); }
.cat-btn:hover { border-color: var(--red-600); transform: translateY(-2px); }
.cat-btn[aria-pressed="true"] { background: var(--green-900); color: #fff; border-color: var(--green-900); }
.cat-btn[aria-pressed="true"] .icon { color: var(--lime-300); }
.cat-btn[aria-pressed="true"] em { background: var(--red-600); color: #fff; }
.sub-list { display: none; gap: 0.4rem; }
.cat-item.is-open .sub-list { display: flex; }
.sub-btn { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 40px; padding: 0.4rem 0.9rem; border-radius: var(--radius-pill); font-size: 0.82rem; font-weight: 600; background: var(--cream-200); white-space: nowrap; border: 2px solid transparent; }
.sub-btn[aria-pressed="true"] { border-color: var(--red-600); background: #fff; font-weight: 800; }
@media (max-width: 959px) {
  .cat-item.is-open { display: flex; gap: 0.5rem; align-items: center; }
}
@media (min-width: 960px) {
  .cat-list { flex-direction: column; overflow: visible; margin-inline: 0; padding: 0; gap: 0.4rem; }
  .cat-item { flex: initial; }
  .cat-btn { border-radius: var(--radius-md); }
  .sub-list { flex-direction: column; padding: 0.4rem 0 0.6rem 1rem; margin-left: 1.1rem; border-left: 3px solid var(--red-600); }
  .sub-btn { border-radius: var(--radius-sm); justify-content: space-between; white-space: normal; }
}
.store-help { display: none; margin-top: 1.4rem; padding: 1.2rem; border-radius: var(--radius-lg); background: var(--green-900); color: #fff; gap: 0.5rem; box-shadow: inset 0 4px 0 var(--red-600); }
.store-help p { font-size: 0.88rem; color: var(--color-on-dark-soft); }
@media (min-width: 960px) { .store-help { display: grid; } }
.store-bar { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.2rem; }
.store-search { position: relative; flex: 1 1 260px; display: flex; align-items: center; }
.store-search .icon { position: absolute; left: 1rem; color: var(--green-600); pointer-events: none; }
.store-search input, .store-sort select { width: 100%; min-height: 52px; border-radius: var(--radius-pill); border: 2px solid var(--color-border); background: #fff; font: inherit; padding: 0.7rem 1.2rem; color: var(--ink-900); }
.store-search input { padding-left: 2.8rem; }
.store-sort { flex: 0 1 200px; }
.store-search input:focus, .store-sort select:focus { outline: none; border-color: var(--green-500); box-shadow: var(--shadow-glow); }
.store-intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 0.8rem 1.5rem; margin-bottom: 1.4rem; padding-bottom: 1rem; border-bottom: 2px solid var(--color-border); position: relative; }
.store-intro::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 90px; height: 2px; background: var(--red-600); }
.store-intro h2 { font-size: var(--fs-lg); }
.store-intro p { color: var(--color-text-soft); max-width: 60ch; font-size: 0.95rem; margin-top: 0.3rem; }
.store-intro__meta { display: grid; gap: 0.3rem; justify-items: end; font-size: 0.85rem; color: var(--color-text-mute); }
.store-intro__link { font-family: var(--font-display); font-weight: 700; color: var(--green-600); display: inline-flex; align-items: center; gap: 0.4rem; min-height: 32px; }
.store-intro__link[hidden], .store-empty[hidden], .products[hidden] { display: none; }
.store-empty { text-align: center; padding: 3rem 1rem; display: grid; gap: 0.7rem; justify-items: center; color: var(--color-text-soft); }
.trust-strip { padding-block: 3rem; }

/* lista de cotización (drawer) */
.cart-overlay { position: fixed; inset: 0; z-index: calc(var(--z-modal) - 1); background: rgba(3, 20, 14, 0.6); backdrop-filter: blur(4px); opacity: 0; transition: opacity var(--dur-base); }
.cart-overlay.is-on { opacity: 1; }
.cart-overlay[hidden] { display: none; }
.cart { position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--z-modal); width: min(430px, 100%); background: var(--cream-50); display: flex; flex-direction: column; transform: translateX(105%); transition: transform 0.5s var(--ease-out); box-shadow: -30px 0 60px -30px rgba(0, 0, 0, 0.5); visibility: hidden; }
.cart.is-open { transform: none; visibility: visible; }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.3rem; background: var(--green-900); color: #fff; box-shadow: inset 0 -4px 0 var(--red-600); }
.cart__head h2 { font-size: 1.3rem; color: #fff; }
.cart__x { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; display: grid; place-items: center; }
.cart__x:hover { background: var(--red-600); }
.cart__empty { display: grid; justify-items: center; gap: 1rem; text-align: center; padding: 3rem 1.6rem; color: var(--color-text-soft); }
.cart__empty[hidden], .cart__list[hidden], .cart__foot[hidden] { display: none; }
.cart__ico { width: 72px; height: 72px; border-radius: 50%; background: var(--cream-200); color: var(--green-600); display: grid; place-items: center; font-size: 2rem; }
.cart__list { flex: 1; overflow-y: auto; padding: 0.6rem 1.2rem; display: grid; align-content: start; gap: 0.2rem; }
.cart__list li { display: grid; grid-template-columns: 64px 1fr auto; gap: 0.9rem; align-items: center; padding: 0.8rem 0; border-bottom: 1px solid var(--color-border); }
.cart__list img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); background: var(--green-950); }
.cart__list h3 { font-size: 0.92rem; line-height: 1.2; margin-bottom: 0.15rem; }
.cart__list small { color: var(--color-text-mute); font-size: 0.74rem; }
.qty { display: inline-flex; align-items: center; margin-top: 0.4rem; border: 2px solid var(--color-border); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { width: 38px; height: 34px; font-weight: 800; font-size: 1.05rem; }
.qty button:hover { background: var(--lime-300); }
.qty span { min-width: 28px; text-align: center; font-weight: 800; font-size: 0.9rem; }
.cart__rm { width: 40px; height: 40px; border-radius: 50%; color: var(--red-700); font-size: 0.9rem; }
.cart__rm:hover { background: rgba(210, 35, 47, 0.12); }
.cart__foot { padding: 1rem 1.3rem 1.3rem; display: grid; gap: 0.6rem; border-top: 2px solid var(--color-border); background: #fff; }
.cart__foot label { font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; color: var(--green-900); }
.cart__foot textarea { width: 100%; border-radius: var(--radius-md); border: 2px solid var(--cream-300); padding: 0.7rem 0.9rem; font: inherit; resize: vertical; min-height: 76px; }
.cart__foot textarea:focus { outline: none; border-color: var(--green-500); box-shadow: var(--shadow-glow); }
.cart__clear { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 44px; font-size: 0.85rem; font-weight: 700; color: var(--red-700); }
.toast { position: fixed; left: 50%; bottom: 5.5rem; z-index: calc(var(--z-modal) + 5); transform: translate(-50%, 30px); opacity: 0; pointer-events: none; max-width: min(92vw, 420px); padding: 0.8rem 1.3rem; border-radius: var(--radius-pill); background: var(--green-900); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; box-shadow: var(--shadow-lg), inset 0 -3px 0 var(--red-600); transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-spring); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.cart__list small { display: block; }
.qty { display: flex; width: max-content; }
