/* ==========================================================================
   RODEO STUDIOS (rodeo.lat) — SISTEMA DE DISEÑO OBSIDIAN + AURA ESMERALDA FOCAL
   ========================================================================== */

:root {
  --bg-primary: #050507;
  --text-main: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.45);
  --emerald: #10b981;
  --emerald-mint: #34d399;
  --emerald-soft: rgba(16, 185, 129, 0.14);
  --emerald-aura: rgba(16, 185, 129, 0.28);
  --hairline: rgba(255, 255, 255, 0.08);
  --font-main: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', system-ui, sans-serif;
  --ease-cinematic: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(circle at 90% 12%, rgba(16, 185, 129, 0.075) 0%, transparent 44%),
    radial-gradient(circle at 10% 78%, rgba(16, 185, 129, 0.055) 0%, transparent 48%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.ambient-canvas {
  display: none;
}

/* ==========================================================================
   PRELOADER RÁPIDO Y FLUIDO
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity 0.45s var(--ease-cinematic), visibility 0.45s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  width: 96px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(16, 185, 129, 0.2));
  animation: pulseLogo 1.4s ease-in-out infinite alternate;
}

@keyframes pulseLogo {
  0% { opacity: 0.55; transform: scale(0.96); }
  100% { opacity: 1; transform: scale(1.02); }
}

.preloader-bar {
  width: 110px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), var(--emerald));
  animation: loadingSlide 1s ease-in-out infinite;
}

@keyframes loadingSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(210%); }
}

/* ==========================================================================
   TOP BANNER ROTATIVO DE IMÁGENES
   ========================================================================== */
.top-banner-strip {
  position: relative;
  z-index: 110;
  width: 100%;
  height: 40px;
  background: rgba(5, 5, 7, 0.94);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}

.banner-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.65s var(--ease-cinematic);
}

.banner-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.04), rgba(5, 5, 7, 0.96), rgba(16, 185, 129, 0.04));
}

/* ==========================================================================
   HEADER Y NAVEGACIÓN
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  padding: 12px 24px;
  background: rgba(5, 5, 7, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
  background: rgba(5, 5, 7, 0.9);
  border-bottom-color: var(--hairline);
  padding: 9px 24px;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.nav-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-bottom: 10px;
  transition: transform 0.35s var(--ease-cinematic), opacity 0.3s ease;
}

.nav-logo-wrap img,
.nav-logo-wrap svg {
  height: 38px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.16));
  transition: height 0.35s var(--ease-cinematic), filter 0.35s ease;
}

.nav-logo-wrap:hover img,
.nav-logo-wrap:active img {
  filter: drop-shadow(0 0 16px var(--emerald-aura));
}

.site-header.scrolled .nav-logo-wrap img,
.site-header.scrolled .nav-logo-wrap svg {
  height: 32px;
}

body.is-home .site-header:not(.scrolled) .nav-logo-wrap {
  opacity: 0;
  transform: translateY(8px) scale(0.85);
  pointer-events: none;
}

body.is-home .site-header.scrolled .nav-logo-wrap {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.25s ease, text-shadow 0.3s ease;
  position: relative;
  padding: 4px 0;
}

.desktop-nav a:hover {
  color: var(--text-main);
  text-shadow: 0 0 16px var(--emerald-aura);
}

.desktop-nav a.active {
  color: var(--text-main);
}

.desktop-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  border-radius: 99px;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
}

.hamburger-btn {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 210;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 1.8px;
  background: var(--text-main);
  border-radius: 99px;
  transition: transform 0.35s var(--ease-cinematic), background 0.25s;
}

.hamburger-btn.open span:nth-child(1) {
  transform: translateY(3.9px) rotate(45deg);
  background: var(--emerald);
}

.hamburger-btn.open span:nth-child(2) {
  transform: translateY(-3.9px) rotate(-45deg);
}

/* ==========================================================================
   OVERLAY MENÚ MÓVIL (BLUR TOTAL)
   ========================================================================== */
.mobile-blur-menu {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(5, 5, 7, 0.76);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-blur-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-blur-menu a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  transition: color 0.2s ease, text-shadow 0.25s ease;
}

.mobile-blur-menu a.active {
  color: var(--emerald-mint);
  text-shadow: 0 0 22px rgba(16, 185, 129, 0.35);
}

.mobile-blur-menu a:hover,
.mobile-blur-menu a:active {
  color: #ffffff;
  text-shadow: 0 0 22px var(--emerald-aura);
}

/* ==========================================================================
   BOTONES (MONOCROMO CON RESPLANDOR BLURRY ESMERALDA AL HOVER Y TOQUE)
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  background: #ffffff;
  color: #050507;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(16, 185, 129, 0.14);
  transition: transform 0.25s var(--ease-cinematic), box-shadow 0.3s ease;
}

.btn-primary:hover,
.btn-primary:active {
  transform: translateY(-2px) scale(0.99);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.38), 0 10px 24px rgba(0, 0, 0, 0.5);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: transform 0.25s var(--ease-cinematic), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-ghost:hover,
.btn-ghost:active {
  transform: translateY(-2px);
  background: rgba(16, 185, 129, 0.09);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.22);
}

/* ==========================================================================
   HERO DEL HOME + TRAZADO Y RESPLANDOR EN EL LOGO
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 22px 72px;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-watermark {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: min(84vw, 620px);
  height: auto;
  opacity: 0.11;
  filter: blur(8px);
  pointer-events: none;
  z-index: -1;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 90%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 90%);
  animation: watermarkBreath 6s ease-in-out infinite alternate;
}

@keyframes watermarkBreath {
  0% { opacity: 0.08; filter: blur(8px) drop-shadow(0 0 0 rgba(16, 185, 129, 0)); }
  100% { opacity: 0.14; filter: blur(7px) drop-shadow(0 0 24px rgba(16, 185, 129, 0.22)); }
}

.hero-logo-stage {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  --glow-x: 50%;
  --glow-y: 50%;
}

.hero-logo-aura {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(
    circle at var(--glow-x) var(--glow-y),
    rgba(52, 211, 153, 0.34) 0%,
    rgba(16, 185, 129, 0.16) 42%,
    transparent 72%
  );
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
  animation: heroAuraPulse 4.2s ease-in-out infinite alternate;
}

@keyframes heroAuraPulse {
  0% { transform: scale(0.9); opacity: 0.65; }
  100% { transform: scale(1.14); opacity: 1; }
}

.hero-intro-logo {
  position: relative;
  z-index: 1;
  width: 118px;
  height: auto;
  will-change: transform, opacity, filter;
  filter: drop-shadow(0 0 18px rgba(16, 185, 129, 0.28));
  transition: filter 0.35s ease;
}

.hero-logo-trace-overlay {
  position: absolute;
  inset: -4px;
  z-index: 2;
  pointer-events: none;
  background: conic-gradient(
    from var(--trace-angle, 0deg) at var(--glow-x) var(--glow-y),
    transparent 0deg,
    rgba(16, 185, 129, 0.12) 45deg,
    rgba(52, 211, 153, 0.9) 78deg,
    #ffffff 90deg,
    rgba(52, 211, 153, 0.85) 104deg,
    rgba(16, 185, 129, 0.12) 145deg,
    transparent 210deg,
    transparent 360deg
  );
  -webkit-mask-image: url("assets/logo-rodeo.svg");
  mask-image: url("assets/logo-rodeo.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  filter: drop-shadow(0 0 10px rgba(52, 211, 153, 0.75));
  mix-blend-mode: screen;
  opacity: 0.92;
}

.hero-title {
  font-size: clamp(2.4rem, 6.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #ffffff 35%, rgba(255, 255, 255, 0.74) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2.8vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 20px;
}

.hero-description {
  max-width: 620px;
  font-size: clamp(0.98rem, 2vw, 1.12rem);
  line-height: 1.62;
  color: var(--text-secondary);
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ==========================================================================
   SECCIONES ABIERTAS
   ========================================================================== */
.section-wrap {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding: 68px 24px;
}

.section-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 10px;
}

.section-heading {
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.04rem;
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.62;
}

.achievements-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 16px 0;
}

.achievement-item {
  position: relative;
  padding: 16px 0;
  transition: transform 0.3s ease;
}

.achievement-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald), transparent);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
  transition: width 0.35s ease, box-shadow 0.35s ease;
}

.achievement-item:hover::before,
.achievement-item.scroll-focus::before {
  width: 52px;
  box-shadow: 0 0 14px var(--emerald-aura);
}

.achievement-number {
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-main);
  margin-bottom: 6px;
}

.achievement-label {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.specialty-atmosphere {
  position: relative;
  padding: 56px 36px;
  border-radius: 32px;
  background: radial-gradient(120% 100% at 10% 0%, rgba(16, 185, 129, 0.06) 0%, rgba(255, 255, 255, 0.02) 55%, rgba(5, 5, 7, 0) 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  transition: box-shadow 0.45s ease;
}

.specialty-atmosphere:hover,
.specialty-atmosphere.scroll-focus {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65), 0 0 42px rgba(16, 185, 129, 0.11);
}

.store-invite {
  text-align: center;
  padding: 64px 24px;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.05) 0%, transparent 68%);
}

/* ==========================================================================
   TIENDA / SERVICIOS (HOVER EN PC + SCROLL-FOCUS AUTOMÁTICO EN MÓVIL/TABLET)
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 32px 0 42px;
}

.filter-pill {
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid transparent;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}

.filter-pill:hover,
.filter-pill:active {
  color: var(--text-main);
  background: rgba(16, 185, 129, 0.09);
  border-color: rgba(16, 185, 129, 0.28);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.18);
}

.filter-pill.active {
  background: #ffffff;
  color: #050507;
  font-weight: 600;
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.26);
}

.tienda-search-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex: 1 1 240px;
  max-width: 360px;
}

.tienda-search-input {
  width: 100%;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.tienda-search-input::placeholder {
  color: var(--text-muted);
}

.tienda-search-input:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.16);
}

.tienda-result-count {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.services-flow {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px 24px;
}

.service-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 24px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, rgba(5, 5, 7, 0) 100%);
  transition: transform 0.35s var(--ease-cinematic), background 0.4s ease, box-shadow 0.4s ease;
}

.service-node:hover,
.service-node.scroll-focus,
.service-node:active {
  transform: translateY(-4px);
  background: linear-gradient(160deg, rgba(16, 185, 129, 0.08) 0%, rgba(255, 255, 255, 0.02) 60%, rgba(5, 5, 7, 0) 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 34px rgba(16, 185, 129, 0.15);
}

.service-node.is-selected {
  background: linear-gradient(160deg, rgba(16, 185, 129, 0.11) 0%, rgba(255, 255, 255, 0.02) 65%, rgba(5, 5, 7, 0) 100%);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.45), 0 16px 38px rgba(0, 0, 0, 0.55);
}

.service-vector {
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.service-node:hover .service-vector,
.service-node.scroll-focus .service-vector,
.service-node:active .service-vector {
  background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.2), rgba(255, 255, 255, 0.03));
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.25);
}

.service-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
  transition: color 0.35s ease;
}

.service-node:hover .service-tag,
.service-node.scroll-focus .service-tag,
.service-node:active .service-tag {
  color: var(--emerald-mint);
}

.service-node h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.service-node p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-node-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin-top: auto;
}

.tienda-select-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  background: transparent;
  color: var(--emerald-mint);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.45);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.tienda-select-btn:hover {
  background: rgba(16, 185, 129, 0.14);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.2);
}

.service-node.is-selected .tienda-select-btn {
  background: var(--emerald);
  color: #050507;
  border-color: var(--emerald);
}

.tienda-empty-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  border-radius: 22px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.14);
}

.quote-tray {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 16px);
  z-index: 175;
  width: min(820px, calc(100% - 32px));
  padding: 14px 18px;
  border-radius: 22px;
  background: rgba(12, 15, 18, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 28px rgba(16, 185, 129, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.quote-tray.visible {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

.quote-tray-text {
  font-size: 0.88rem;
  color: var(--text-main);
}

.quote-tray-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.quote-tray-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.quote-tray-clear {
  padding: 9px 14px;
  border-radius: 999px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-main);
  font-size: 0.82rem;
  cursor: pointer;
}

/* ==========================================================================
   FORMULARIOS
   ========================================================================== */
.clean-form {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 16px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.3s ease, background 0.25s ease;
}

.field-group input:hover,
.field-group select:hover,
.field-group textarea:hover {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 0 18px rgba(16, 185, 129, 0.08);
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1.2px rgba(16, 185, 129, 0.55), 0 0 22px rgba(16, 185, 129, 0.16);
}

.field-group select option {
  background: #0d0f12;
  color: #ffffff;
}

/* ==========================================================================
   SCROLL REVEAL LIGERO Y RÁPIDO
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s var(--ease-cinematic), transform 0.45s var(--ease-cinematic);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   ASISTENTE IA FLOTANTE
   ========================================================================== */
.ai-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 180;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #050507;
  border: none;
  font-family: var(--font-main);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65), 0 0 20px rgba(16, 185, 129, 0.18);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.ai-launcher:hover,
.ai-launcher:active {
  transform: translateY(-2px);
  box-shadow: 0 0 26px var(--emerald-aura), 0 12px 28px rgba(0, 0, 0, 0.7);
}

.ai-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.ai-panel {
  position: fixed;
  right: 20px;
  bottom: 76px;
  z-index: 185;
  width: min(365px, calc(100vw - 32px));
  max-height: 72vh;
  border-radius: 24px;
  background: rgba(15, 16, 20, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.ai-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.ai-panel-header {
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-panel-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.ai-panel-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.ai-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 2px 8px;
}

.ai-messages {
  padding: 15px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
  font-size: 0.87rem;
  line-height: 1.48;
}

.ai-msg {
  padding: 11px 14px;
  border-radius: 16px;
  max-width: 88%;
}

.ai-msg.bot {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  align-self: flex-start;
  border-bottom-left-radius: 5px;
}

.ai-msg.user {
  background: #ffffff;
  color: #050507;
  font-weight: 500;
  align-self: flex-end;
  border-bottom-right-radius: 5px;
}

.ai-msg.blocked {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
  align-self: stretch;
  text-align: center;
  font-size: 0.82rem;
}

.ai-suggestions {
  padding: 0 16px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ai-chip {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.75rem;
  cursor: pointer;
  font-family: var(--font-main);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.ai-chip:hover,
.ai-chip:active {
  color: #ffffff;
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.18);
}

.ai-input-row {
  padding: 12px 14px;
  display: flex;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-input-row input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.07);
  border: none;
  border-radius: 999px;
  padding: 10px 15px;
  color: #ffffff;
  font-size: 0.85rem;
  outline: none;
  font-family: var(--font-main);
}

.ai-input-row button {
  background: #ffffff;
  color: #050507;
  border: none;
  border-radius: 999px;
  padding: 0 16px;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: var(--font-main);
  transition: box-shadow 0.25s ease;
}

.ai-input-row button:hover,
.ai-input-row button:active {
  box-shadow: 0 0 16px var(--emerald-aura);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 48px 24px 92px;
  border-top: 1px solid var(--hairline);
  margin-top: 32px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-copy {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.footer-links a:hover,
.footer-links a:active {
  color: #ffffff;
  text-shadow: 0 0 14px var(--emerald-aura);
}

@media (max-width: 820px) {
  .desktop-nav { display: none; }
  .hamburger-btn { display: flex; }
  .header-inner { min-height: 42px; justify-content: center; }
  .nav-logo-wrap { margin-bottom: 0; }
  .achievements-flow { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; }
  .specialty-atmosphere { padding: 40px 22px; border-radius: 26px; }
  .hero-section { min-height: 76vh; padding-top: 24px; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 300px; }
  .hero-actions a { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 720px) {
  .tienda-search-wrap {
    margin-left: 0;
    max-width: 100%;
    flex-basis: 100%;
  }
  .quote-tray {
    bottom: 76px;
    flex-direction: column;
    align-items: stretch;
  }
  .quote-tray-actions {
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-watermark,
  .hero-logo-aura,
  .hero-logo-trace-overlay {
    animation: none !important;
  }
}