/* =============================================
   EL SHOW DE TATO · style.css
   Diseño moderno, oscuro y con animaciones
   ============================================= */

/* ── 1. RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Paleta principal */
  --clr-bg:        #0a0b0f;
  --clr-surface:   #111219;
  --clr-surface-2: #1a1c28;
  --clr-border:    rgba(255,255,255,0.07);

  /* Acento — morado-añil vibrante */
  --clr-accent:    #7c4dff;
  --clr-accent-2:  #e040fb;
  --clr-accent-3:  #00e5ff;

  /* Gradiente de acento */
  --grad-accent: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-2));
  --grad-glow:   linear-gradient(135deg, #7c4dff55, #e040fb33);

  /* Texto */
  --clr-text:      #e8eaf6;
  --clr-text-muted:#8c8fa8;

  /* Tipografía */
  --ff-display: 'Outfit', sans-serif;
  --ff-body:    'Inter', sans-serif;

  /* Espaciado */
  --section-pad: clamp(4rem, 8vw, 7rem);
  --container:   1200px;

  /* Transiciones */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--ff-body);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ── 2. UTILIDADES ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.highlight {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: transform 0.25s var(--ease-bounce),
              box-shadow 0.25s ease,
              background 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn:hover::after { opacity: 1; }
.btn:hover        { transform: translateY(-3px); }
.btn:active       { transform: translateY(0); }

.btn--primary {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 4px 24px rgba(124,77,255,0.4);
}
.btn--primary:hover {
  box-shadow: 0 8px 32px rgba(124,77,255,0.6);
}

.btn--outline {
  background: transparent;
  color: var(--clr-accent-2);
  border: 2px solid var(--clr-accent-2);
  box-shadow: 0 0 0 rgba(224,64,251,0);
}
.btn--outline:hover {
  box-shadow: 0 0 24px rgba(224,64,251,0.3);
}

.btn--add-cart {
  width: 100%;
  justify-content: center;
  background: var(--clr-surface-2);
  color: var(--clr-accent-3);
  border: 1.5px solid rgba(0,229,255,0.3);
  font-size: 0.88rem;
}
.btn--add-cart:hover {
  background: rgba(0,229,255,0.08);
  border-color: var(--clr-accent-3);
  box-shadow: 0 0 20px rgba(0,229,255,0.2);
}

.btn--comprar {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
}
.btn--comprar:hover {
  box-shadow: 0 8px 30px rgba(37,211,102,0.55);
}

/* ── 3. ANIMACIONES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-smooth) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Clase añadida por JS cuando el elemento entra en pantalla */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-smooth),
              transform 0.7s var(--ease-smooth);
}
.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll.delay-1 { transition-delay: 0.15s; }
.animate-on-scroll.delay-2 { transition-delay: 0.30s; }

/* ── 4. NAVBAR ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
  background: rgba(10, 11, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--clr-border), 0 8px 32px rgba(0,0,0,0.4);
  padding: 0.6rem 0;
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--clr-text);
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.85; }

.logo-t {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2rem;
}
.logo-show {
  color: var(--clr-text-muted);
  font-weight: 400;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-smooth);
}
.nav-link:hover,
.nav-link.active {
  color: var(--clr-text);
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-link--cta {
  background: var(--grad-accent);
  color: #fff !important;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(124,77,255,0.4);
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover {
  box-shadow: 0 4px 20px rgba(124,77,255,0.6);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── 5. SECCIÓN BIENVENIDA ── */
.section--bienvenida {
  padding-top: 0;
}

/* Hero con imagen */
.bienvenida-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.bienvenida-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.45);
  transform: scale(1.05);
  animation: heroZoom 12s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.bienvenida-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2rem clamp(1rem, 5vw, 3rem) 6rem;
  background: linear-gradient(to top,
    rgba(10,11,15,1) 0%,
    rgba(10,11,15,0.6) 50%,
    transparent 100%
  );
}

.bienvenida-badge {
  display: inline-block;
  background: rgba(124,77,255,0.2);
  border: 1px solid rgba(124,77,255,0.5);
  color: #c9b3ff;
  font-family: var(--ff-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(8px);
}

.bienvenida-title {
  font-family: var(--ff-display);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
  margin-bottom: 0.6rem;
}

.bienvenida-sub {
  font-family: var(--ff-display);
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: rgba(255,255,255,0.7);
  font-weight: 300;
}

/* Indicador de scroll */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-accent);
  position: relative;
}
.scroll-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--clr-accent);
  animation: pulse-ring 1.6s ease-out infinite;
}
.scroll-text {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  writing-mode: vertical-rl;
}

/* Intro text */
.bienvenida-intro {
  padding: var(--section-pad) clamp(1rem, 4vw, 2.5rem);
}

.bienvenida-intro-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.intro-line {
  width: 60px;
  height: 3px;
  background: var(--grad-accent);
  border-radius: 3px;
  margin: 0 auto 2rem;
}

.intro-heading {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.intro-text {
  color: var(--clr-text-muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.intro-text strong {
  color: var(--clr-text);
  font-weight: 600;
}

/* ── 6. SECCIÓN QUIÉNES SOMOS ── */
.section {
  padding: var(--section-pad) 0;
}

.section--quienes {
  background: linear-gradient(180deg, var(--clr-bg) 0%, var(--clr-surface) 50%, var(--clr-bg) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--ff-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 0.75rem;
  background: rgba(124,77,255,0.12);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(124,77,255,0.25);
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  max-width: 540px;
  margin: 0 auto;
}

/* Carrusel */
.carousel-wrapper {
  max-width: 900px;
  margin: 0 auto 4rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.carousel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px var(--clr-border);
}

.carousel-track {
  display: flex;
  transition: transform 0.55s var(--ease-smooth);
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-img {
  width: 100%;
  height: clamp(280px, 50vw, 520px);
  object-fit: cover;
  object-position: center;
  filter: brightness(0.9);
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.5rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  font-family: var(--ff-display);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10,11,15,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--clr-border);
  color: #fff;
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.25s var(--ease-bounce);
  z-index: 5;
}
.carousel-btn:hover {
  background: var(--clr-accent);
  transform: translateY(-50%) scale(1.1);
}
.carousel-btn--prev { left: 1rem; }
.carousel-btn--next { right: 1rem; }

.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s var(--ease-bounce);
}
.carousel-dot.active {
  background: var(--clr-accent);
  transform: scale(1.4);
}

/* Trayectoria grid */
.trayectoria {
  margin-top: 1rem;
}

.trayectoria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: start;
}

.tray-heading {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1.25;
}

.tray-text {
  color: var(--clr-text-muted);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.tray-text strong {
  color: var(--clr-text);
  font-weight: 600;
}

/* Stats */
.trayectoria-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  border-radius: 16px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease-bounce);
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-glow);
  opacity: 0;
  transition: opacity 0.3s;
}
.stat-card:hover {
  border-color: rgba(124,77,255,0.4);
  transform: translateY(-4px);
}
.stat-card:hover::before { opacity: 1; }

.stat-number {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Familia T */
.familia-t {
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}
.familia-t::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-accent);
}

.familia-heading {
  font-family: var(--ff-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.familia-text {
  color: var(--clr-text-muted);
  font-size: 1rem;
}
.familia-text strong, .familia-text em {
  color: var(--clr-text);
  font-style: normal;
  font-weight: 600;
}

/* CTA de quiénes somos */
.quienes-cta {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(124,77,255,0.08), rgba(224,64,251,0.08));
  border: 1px solid rgba(124,77,255,0.2);
  border-radius: 20px;
}
.quienes-cta-text {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
  color: var(--clr-text-muted);
}

/* ── 7. SECCIÓN SERVICIOS ── */
.section--servicios {
  background: var(--clr-bg);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.servicio-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s var(--ease-bounce), box-shadow 0.35s;
}
.servicio-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-glow);
  opacity: 0;
  transition: opacity 0.35s;
}
.servicio-card:hover {
  border-color: rgba(124,77,255,0.45);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(124,77,255,0.15);
}
.servicio-card:hover::before { opacity: 1; }

.servicio-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 0 12px rgba(124,77,255,0.4));
  transition: transform 0.3s var(--ease-bounce);
}
.servicio-card:hover .servicio-icon {
  transform: scale(1.15) rotate(-5deg);
}

.servicio-title {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.25;
  position: relative;
}

.servicio-desc {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  position: relative;
  line-height: 1.65;
}

.servicio-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.servicio-list li {
  font-size: 0.87rem;
  color: var(--clr-text-muted);
  padding-left: 1.2rem;
  position: relative;
}
.servicio-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--clr-accent);
  font-size: 0.65rem;
  top: 0.15em;
}

/* Bloque precio */
.servicios-precio {
  border: 1px solid rgba(224,64,251,0.25);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(124,77,255,0.07), rgba(224,64,251,0.07));
}

.precio-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
}

.precio-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  border-right: 1px solid rgba(255,255,255,0.07);
  padding-right: 3rem;
}

.precio-desde {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-text-muted);
}

.precio-valor {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.precio-nota {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  text-align: center;
  max-width: 180px;
}

.precio-cta-text {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.link-wa {
  color: #25d366;
  font-weight: 600;
  transition: color 0.2s;
}
.link-wa:hover { color: #1aa34a; }

.precio-contacto {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}

/* ── 8. SECCIÓN TIENDA ── */
.section--tienda {
  background: linear-gradient(180deg, var(--clr-bg) 0%, var(--clr-surface) 100%);
}

.tienda-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.producto-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.3s, transform 0.35s var(--ease-bounce), box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}
.producto-card:hover {
  border-color: rgba(0,229,255,0.35);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,229,255,0.1);
}

.producto-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--ff-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  background: var(--grad-accent);
  color: #fff;
  z-index: 2;
}

.producto-img-wrap {
  background: var(--clr-surface-2);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.producto-img-placeholder {
  font-size: 5rem;
  filter: drop-shadow(0 0 20px rgba(124,77,255,0.4));
  transition: transform 0.4s var(--ease-bounce);
}
.producto-card:hover .producto-img-placeholder {
  transform: scale(1.15) rotate(-4deg);
}

.producto-info {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.producto-nombre {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.producto-desc {
  font-size: 0.87rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
  flex: 1;
}

.producto-precio {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--clr-accent-3), #80d8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.precio-moneda {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  -webkit-text-fill-color: var(--clr-text-muted);
}

/* Carrito */
.carrito-wrapper {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 24px;
  padding: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.carrito-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--clr-border);
}

.carrito-title {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.carrito-count {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  background: var(--clr-surface-2);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  border: 1px solid var(--clr-border);
}

.carrito-lista {
  min-height: 80px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.carrito-vacio {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 1.5rem 0;
  font-style: italic;
}

.carrito-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  gap: 1rem;
  transition: border-color 0.2s;
}
.carrito-item:hover {
  border-color: rgba(0,229,255,0.25);
}

.carrito-item-info {
  flex: 1;
}
.carrito-item-nombre {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.carrito-item-precio {
  font-size: 0.82rem;
  color: var(--clr-accent-3);
}

.carrito-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.qty-btn:hover {
  background: rgba(124,77,255,0.2);
  border-color: var(--clr-accent);
}
.qty-num {
  font-family: var(--ff-display);
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.carrito-item-subtotal {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1rem;
  min-width: 90px;
  text-align: right;
}

.carrito-item-remove {
  background: none;
  border: none;
  color: var(--clr-text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0 0.2rem;
  transition: color 0.2s;
}
.carrito-item-remove:hover { color: #ff4444; }

.carrito-footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--clr-border);
}

.carrito-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--ff-display);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.carrito-total strong {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #25d366, #128c7e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 9. FOOTER ── */
.footer {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 800;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: center;
  margin-top: 0.5rem;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--clr-accent); }

.footer-wa {
  color: #25d366;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer-wa:hover { color: #1aa34a; }

.footer-copy {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  opacity: 0.6;
  margin-top: 0.5rem;
}

/* ── 10. RESPONSIVE ── */
@media (max-width: 900px) {
  .trayectoria-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .precio-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .precio-info {
    border-right: none;
    border-bottom: 1px solid var(--clr-border);
    padding-right: 0;
    padding-bottom: 2rem;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,11,15,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 1.4rem; }
  .nav-toggle { display: flex; z-index: 1000; }

  .trayectoria-stats {
    grid-template-columns: 1fr 1fr;
  }

  .servicios-grid {
    grid-template-columns: 1fr;
  }

  .tienda-grid {
    grid-template-columns: 1fr 1fr;
  }

  .precio-inner {
    padding: 2rem;
  }
}

@media (max-width: 420px) {
  .tienda-grid {
    grid-template-columns: 1fr;
  }
}

/* ── 11. SCROLLBAR PERSONALIZADO ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb {
  background: var(--clr-accent);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--clr-accent-2); }

/* ── 12. SELECCIÓN DE TEXTO ── */
::selection {
  background: rgba(124,77,255,0.35);
  color: #fff;
}
