/* Master CSS - RM Solución Premium */
:root {
  --bg: #020408;
  --bg-gradient: radial-gradient(circle at top, #070d19 0%, #020408 60%);
  --ink: #f8fafc;
  --muted: #64748b;
  --panel: rgba(10, 16, 30, 0.42);
  --panel-2: rgba(15, 23, 42, 0.65);
  --line: rgba(255, 255, 255, 0.045);
  --line-active: rgba(255, 255, 255, 0.1);
  
  /* Temas de color refinados estilo premium */
  --blue: #38bdf8;
  --blue-glow: rgba(56, 189, 248, 0.12);
  --green: #34c759;
  --green-glow: rgba(52, 199, 89, 0.12);
  --gold: #fbbf24;
  --gold-glow: rgba(251, 191, 36, 0.12);
  --fire: #f97316;
  --fire-glow: rgba(249, 115, 22, 0.12);
  
  /* Fuentes */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', sans-serif;
  
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 85px rgba(0, 0, 0, 0.55);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reseteo general e inicialización */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: var(--bg);
  background-image: var(--bg-gradient);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  outline: none;
}

button {
  cursor: pointer;
}

/* Orbes Decorativos (GPU Accelerate) */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -10;
  opacity: 0.05;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: pulseOrb 20s infinite alternate ease-in-out;
}
.orb-blue {
  width: 420px;
  height: 420px;
  background: var(--blue);
  top: -80px;
  left: -80px;
  animation-delay: 0s;
}
.orb-gold {
  width: 360px;
  height: 360px;
  background: var(--gold);
  bottom: 25%;
  right: -80px;
  animation-delay: 4s;
}
.orb-fire {
  width: 440px;
  height: 440px;
  background: var(--fire);
  top: 35%;
  left: 25%;
  opacity: 0.02;
  animation-delay: 8s;
}

@keyframes pulseOrb {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.04; }
  100% { transform: translate3d(20px, 15px, 0) scale(1.08); opacity: 0.06; }
}

/* Estilo de Scrollbar Premium */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #020408;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  border: 2px solid #020408;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Header Flotante Minimalista de Lujo */
.site-header {
  position: fixed;
  inset: 16px 32px auto;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(2, 4, 8, 0.45);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 10px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.desktop-nav a {
  padding: 8px 14px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 99px;
  letter-spacing: -0.01em;
}
.desktop-nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.035);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ghost-link {
  padding: 8px 16px;
  color: var(--fire);
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(249, 115, 22, 0.15);
  background: rgba(249, 115, 22, 0.02);
}
.ghost-link:hover {
  background: rgba(249, 115, 22, 0.08);
  border-color: rgba(249, 115, 22, 0.35);
  transform: translateY(-1px);
}

.cart-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  place-items: center;
  position: relative;
  transition: var(--transition);
}
.cart-button svg {
  width: 18px;
  height: 18px;
}
.cart-button span {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--blue);
  color: #020408;
  font-size: 0.65rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.cart-button:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--blue);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 40px;
  padding: 12px 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
}
.menu-button span {
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}

/* Menú Móvil Deslizable */
.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, 100%);
  z-index: 105;
  background: rgba(4, 6, 10, 0.85);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav.open {
  transform: translateX(0);
}
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.mobile-nav-header .brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.mobile-nav-header button {
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}

/* Shell y Contenedores */
.section-shell {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  padding: 3px 8px;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 99px;
  background: var(--blue-glow);
  color: var(--blue);
  border: 1px solid rgba(56, 189, 248, 0.2);
  vertical-align: middle;
}

.eyebrow {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

/* HERO SECTION REDISEÑADA */
.hero {
  min-height: 95vh;
  display: grid;
  grid-template-columns: 1.15fr 360px;
  align-items: center;
  gap: 56px;
  padding: 120px 0 60px;
  position: relative;
}
.hero-media {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: saturate(1.1) contrast(1.15);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(2, 4, 8, 0.05), rgba(2, 4, 8, 0.98) 85%);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 12px 0 20px;
  max-width: 800px;
}
.hero h1::first-letter {
  font-family: "Outfit", sans-serif;
  font-style: normal;
  font-weight: 800;
  color: var(--blue);
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 600px;
}

.hero-actions, .service-actions, .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-action, .secondary-action, .coffee-action, .whatsapp-direct-btn, .whatsapp-checkout-btn {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.primary-action {
  color: #020408;
  background: #f8fafc;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.08);
}
.primary-action:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.15);
}

.secondary-action {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
}
.secondary-action:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.fire-action {
  color: #fff;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.15);
}
.fire-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.35);
  filter: brightness(1.05);
}

.whatsapp-direct-btn, .whatsapp-checkout-btn {
  color: #fff;
  background: rgba(52, 199, 89, 0.04);
  border: 1px solid rgba(52, 199, 89, 0.2);
}
.whatsapp-direct-btn:hover, .whatsapp-checkout-btn:hover {
  background: #34c759;
  border-color: #34c759;
  color: #020408;
  transform: translateY(-2px);
}

/* Elegant Hero Card */
.hero-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(10, 16, 30, 0.45);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
}
.card-glow {
  position: absolute;
  top: -10%; left: -10%;
  width: 120%; height: 120%;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.06), transparent 50%);
  pointer-events: none;
}
.hero-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--muted);
}
.pulse-indicator {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulseIndicator 1.8s infinite alternate;
}
@keyframes pulseIndicator {
  0% { transform: scale(0.9); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 1; }
}

.hero-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 6px;
}
.hero-card img {
  margin: 20px auto;
  max-height: 220px;
  object-fit: contain;
  animation: floatImage 6s ease-in-out infinite;
}
@keyframes floatImage {
  50% { transform: translateY(-8px); }
}

.hero-card-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.hero-card-stats div {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
}
.hero-card-stats dt {
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 700;
}
.hero-card-stats dd {
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 2px;
  color: var(--ink);
}

/* MARCAS SLIDER */
.brand-strip-container {
  border-block: 1px solid var(--line);
  padding: 16px 0;
  background: rgba(2, 4, 8, 0.25);
  overflow: hidden;
}
.brand-strip {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  width: max-content;
  animation: slideBrands 35s linear infinite;
}
.brand-strip span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.12);
  transition: var(--transition);
}
.brand-strip span:hover {
  color: var(--blue);
  text-shadow: 0 0 10px var(--blue-glow);
}
@keyframes slideBrands {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* SECCIONES Y ENCABEZADOS */
.catalog-section, .studio-section, .coffee-section, .arena-section, .testimonials-section, .contact-section {
  padding: 90px 0;
}
.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 48px;
  margin-bottom: 40px;
}
.section-heading h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-top: 10px;
}
.section-heading h2::first-letter {
  font-family: "Outfit", sans-serif;
  font-style: normal;
  font-weight: 800;
  color: var(--blue);
}
.heading-desc {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* CATALOGO DE PRODUCTOS */
.filters-container {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 30px;
}
.filters {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--line);
  border-radius: 99px;
  overflow-x: auto;
}
.filters button {
  padding: 8px 18px;
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--muted);
  transition: var(--transition);
}
.filters button.active {
  color: #020408;
  background: #f8fafc;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
.filters button:hover:not(.active) {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(10, 16, 30, 0.35);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.product-card .media {
  height: 200px;
  border-radius: calc(var(--radius) - 8px);
  background: radial-gradient(circle at bottom, rgba(255, 255, 255, 0.015), rgba(0, 0, 0, 0.25));
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.product-card img {
  max-height: 160px;
  object-fit: contain;
  transition: var(--transition);
}
.product-card:hover img {
  transform: scale(1.04) rotate(0.5deg);
}

.card-tags {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 4px;
}
.tag-badge {
  padding: 3px 8px;
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tag-best {
  background: rgba(251, 191, 36, 0.05);
  color: var(--gold);
  border: 1px solid rgba(251, 191, 36, 0.15);
}
.tag-offer {
  background: rgba(239, 68, 68, 0.05);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.product-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 16px 0 6px;
  line-height: 1.25;
}
.product-card p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  flex-grow: 1;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0;
}
.product-price-row strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}
.product-price-row .old-price {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: line-through;
}

/* CARE STUDIO Y WIZARD */
.service-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
}
.service-lead {
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.media-container {
  height: 320px;
  position: relative;
  overflow: hidden;
}
.service-lead img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}
.tag-status {
  position: absolute;
  bottom: 18px;
  left: 18px;
  padding: 6px 14px;
  background: rgba(3, 6, 10, 0.8);
  border: 1px solid var(--line);
  border-radius: 99px;
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--blue);
}
.service-lead-content {
  padding: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-lead h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.service-lead p {
  color: var(--muted);
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.service-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-5px);
  background: var(--panel-2);
  border-color: var(--blue);
}
.card-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
}
.service-card span {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--blue);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.service-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* EL RINCON DEL CAFE */
.coffee-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.coffee-visual {
  padding: 16px;
  border-radius: 36px;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
  position: relative;
}
.coffee-visual img {
  border-radius: 24px;
}
.coffee-badge {
  position: absolute;
  top: 32px; right: 32px;
  padding: 6px 14px;
  background: var(--gold);
  color: #03060a;
  font-family: var(--font-display);
  font-weight: 900;
  border-radius: 99px;
  font-size: 0.8rem;
  box-shadow: 0 8px 20px var(--gold-glow);
}
.coffee-copy .eyebrow {
  color: var(--gold);
}
.coffee-copy h2::first-letter {
  color: var(--gold);
}
.price-list {
  list-style: none;
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(251, 191, 36, 0.14);
  font-size: 1.05rem;
}
.price-list li span {
  font-weight: 600;
}
.price-list li strong {
  color: var(--gold);
}
.coffee-action {
  background: linear-gradient(135deg, var(--gold), #be8e15);
  color: #03060a;
  box-shadow: 0 15px 35px var(--gold-glow);
}
.coffee-action:hover {
  box-shadow: 0 20px 45px rgba(251, 191, 36, 0.4);
}

/* RM ARENA eSPORTS */
.arena-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.arena-copy .eyebrow {
  color: var(--fire);
}
.arena-copy h2::first-letter {
  color: var(--fire);
}

.arena-board {
  min-height: 400px;
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid rgba(249, 115, 22, 0.3);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  background: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.18), transparent 70%),
    rgba(15, 23, 42, 0.6);
  background-size: 30px 30px, 30px 30px, auto, auto;
}
.grid-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.arena-board span {
  display: inline-block;
  color: #ffaa76;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  position: relative;
  z-index: 2;
}
.arena-board strong {
  display: block;
  font-family: 'Teko', sans-serif;
  font-size: clamp(4.5rem, 8vw, 7.5rem);
  color: var(--fire);
  line-height: 0.8;
  margin: 50px 0 16px;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(249, 115, 22, 0.45);
  position: relative;
  z-index: 2;
}
.arena-board p {
  color: var(--muted);
  font-weight: 600;
  position: relative;
  z-index: 2;
}

/* VALORACIONES / RESEÑAS DINET */
.testimonials-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 10px;
}

.testimonial-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: var(--transition);
}
.testimonial-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: var(--panel-2);
}
.featured-testimonial {
  border-color: rgba(251, 191, 36, 0.35);
  background: radial-gradient(circle at top left, rgba(251, 191, 36, 0.05), transparent 70%), var(--panel);
}

.testimonial-card .stars {
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.testimonial-card p {
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 16px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #03060a;
  font-family: var(--font-display);
  font-weight: 900;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}
.testimonial-card.featured-testimonial .author-avatar {
  background: var(--gold);
}
.testimonial-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
}
.testimonial-author span {
  font-size: 0.75rem;
  color: var(--muted);
}

.review-form-container {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.review-form-container h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.review-form-container p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.form-row {
  margin-bottom: 18px;
}
.review-form-container label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
}
.review-form-container input, .review-form-container textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(3, 6, 10, 0.45);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
}
.review-form-container input:focus, .review-form-container textarea:focus {
  border-color: var(--blue);
}

.star-rating-input {
  display: flex;
  gap: 6px;
}
.star-rating-input span {
  font-size: 1.8rem;
  cursor: pointer;
  color: #334155;
  transition: var(--transition);
}
.star-rating-input span.hover, .star-rating-input span.active {
  color: var(--gold);
  transform: scale(1.15);
}

/* SECCION CONTACTO */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
}
.contact-card span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--blue);
  letter-spacing: 0.1em;
}
.contact-card strong {
  display: block;
  font-size: 1.2rem;
  margin: 8px 0;
  line-height: 1.4;
}
.map-link {
  color: var(--blue);
  font-weight: 800;
  font-size: 0.85rem;
}
.card-desc {
  color: var(--muted);
  font-size: 0.85rem;
}

.contact-form {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(3, 6, 10, 0.45);
  color: var(--ink);
  transition: var(--transition);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}
.contact-form select {
  cursor: pointer;
}
.contact-form select option {
  background: #0b121e;
  color: var(--ink);
}

/* FOOTER */
.site-footer {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 64px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}
.footer-brand p {
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 600px;
}
.back-top-btn {
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
}

/* DIALOGOS, CAJONES Y BACKDROPS */
.drawer-backdrop, .modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(3, 6, 10, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.drawer-backdrop.open, .modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* CARRITO SLIDING DRAWER */
.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(400px, 100%);
  z-index: 160;
  background: rgba(4, 6, 10, 0.82);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-drawer header h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}
.cart-drawer header button, .modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.2rem;
  display: grid;
  place-items: center;
}
.cart-drawer header button:hover, .modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--blue);
}

.cart-items {
  flex-grow: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cart-empty svg {
  opacity: 0.5;
}

.cart-line {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--line);
  align-items: center;
}
.cart-line img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
}
.cart-line-info {
  flex-grow: 1;
}
.cart-line-info h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
}
.cart-line-info p {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 1px;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.02);
  padding: 3px;
  border-radius: 99px;
  border: 1px solid var(--line);
}
.qty-controls button {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.8rem;
}
.qty-controls button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.cart-drawer footer {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}
.cart-total-row strong {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
}

.clear-button {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: underline;
  text-align: center;
}

/* MODALES DE DETALLE Y CHECKOUT */
.product-modal, .checkout-modal, .repair-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 170;
  width: min(900px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  background: rgba(8, 12, 22, 0.78);
  backdrop-filter: blur(36px);
  -webkit-backdrop-filter: blur(36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -47%) scale(0.97);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-modal.open, .checkout-modal.open, .repair-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
}

/* Detalle Producto */
.product-modal {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: start;
}
.product-modal-media {
  min-height: 360px;
  background: radial-gradient(circle at bottom, rgba(255, 255, 255, 0.015), rgba(0, 0, 0, 0.25));
  border-radius: calc(var(--radius) - 8px);
  display: grid;
  place-items: center;
  padding: 20px;
}
.product-modal-media img {
  max-height: 300px;
  object-fit: contain;
}
.product-modal-copy h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.product-specs-container {
  margin: 20px 0;
}
.product-specs-container h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.product-specs-container ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-specs-container ul li {
  font-size: 0.88rem;
  padding-left: 16px;
  position: relative;
}
.product-specs-container ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.product-buybox {
  padding: 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--line);
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}
.price-row span {
  color: var(--muted);
  font-size: 0.88rem;
}
.modal-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--ink);
}

.option-row-wrapper {
  margin-bottom: 16px;
}
.option-row-wrapper span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.option-row-wrapper span strong {
  color: var(--ink);
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.option-row button {
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.01);
  transition: var(--transition);
}
.option-row button.active {
  color: #020408;
  background: #f8fafc;
  border-color: #f8fafc;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}

.color-options button {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  position: relative;
}
.color-options button.active::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
}

.qty-select-wrapper select {
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #020408;
  cursor: pointer;
}

/* Checkout Modal */
.checkout-modal {
  width: min(440px, calc(100% - 32px));
}
.checkout-modal-content {
  text-align: center;
}
.checkout-modal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.checkout-subtitle {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
}
.checkout-summary-box {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--line);
  margin-bottom: 24px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.9rem;
}
.summary-line strong {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
}
#paypal-button-container {
  margin: 16px 0;
  min-height: 100px;
}
.checkout-divider {
  margin: 20px 0;
  color: var(--muted);
  position: relative;
  font-size: 0.8rem;
}
.checkout-divider::before, .checkout-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 32%;
  height: 1px;
  background: var(--line);
}
.checkout-divider::before { left: 0; }
.checkout-divider::after { right: 0; }

.whatsapp-direct-btn {
  width: 100%;
}

/* Care Studio Wizard Modal */
.repair-modal {
  width: min(640px, calc(100% - 32px));
}
.repair-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.wizard-steps-indicator {
  display: flex;
  gap: 6px;
}
.wizard-steps-indicator .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #334155;
}
.wizard-steps-indicator .dot.active {
  background: #f8fafc;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

.repair-step h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.step-desc {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.repair-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.repair-item {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--line);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.repair-item:hover {
  background: var(--panel-2);
  border-color: var(--blue);
  color: var(--ink);
  transform: translateY(-2px);
}

.back-btn {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}
.back-btn:hover {
  color: var(--ink);
}

.repair-summary-card {
  padding: 24px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.05);
  border: 1px dashed rgba(56, 189, 248, 0.3);
  margin-bottom: 20px;
}
.summary-details {
  margin-bottom: 12px;
}
.summary-details .label, .summary-price .label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.summary-details strong {
  font-size: 1.15rem;
}
.summary-price strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
}
.repair-summary-notice {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 28px;
}
.confirm-repair-btn {
  width: 100%;
  margin-bottom: 18px;
}

/* Componente TOAST */
.toast {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 200;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: #03060a;
  font-family: var(--font-display);
  font-weight: 900;
  box-shadow: 0 10px 30px var(--blue-glow);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* WhatsApp Flotante Interact */
.whatsapp-float-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 12px;
}
.whatsapp-tooltip {
  padding: 8px 14px;
  background: #0f172a;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 99px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
  white-space: nowrap;
}
.whatsapp-float-container:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}
.whatsapp-float {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.35);
  animation: pulseWhatsApp 2s infinite;
}
@keyframes pulseWhatsApp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Efectos de Revelado en Scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* MEDIA QUERIES RESPONSIVAS */
@media (max-width: 1080px) {
  .desktop-nav, .ghost-link {
    display: none;
  }
  .menu-button {
    display: flex;
  }
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 110px;
    gap: 48px;
  }
  .hero p {
    margin: 0 auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-card {
    max-width: 500px;
    margin: 0 auto;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-layout {
    grid-template-columns: 1fr;
  }
  .service-lead img {
    height: 280px;
  }
  .coffee-section, .arena-section, .testimonials-container, .contact-grid, .product-modal {
    grid-template-columns: 1fr;
  }
  .coffee-visual {
    max-width: 480px;
    margin: 0 auto;
  }
  .testimonials-grid {
    max-height: 400px;
  }
}

@media (max-width: 640px) {
  .site-header {
    inset: 12px;
    height: 64px;
    padding: 10px 14px;
  }
  .brand span {
    display: none;
  }
  .hero h1 {
    font-size: 3.2rem;
  }
  .hero-actions, .service-actions, .modal-actions {
    flex-direction: column;
  }
  .primary-action, .secondary-action, .coffee-action, .whatsapp-direct-btn {
    width: 100%;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 0;
  }
}

/* PERFORMANCE RENDERING OPTIMIZATIONS */
.product-grid, .service-grid, .store-grid {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.product-card, .service-card, .amazon-card, .hero-card {
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
