/* =========================================================
   STREAM BY YURI — main.css
   Base reset, design tokens, layout, header, hero, footer,
   buttons, typography, shared components.
   ========================================================= */

/* Oculta visualmente pero mantiene visible para lectores de pantalla y buscadores (SEO) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  /* Palette */
  --color-black: #050308;
  --color-black-soft: #0b0710;
  --color-surface: #140e1c;
  --color-surface-2: #1c1226;
  --color-pink: #ff2fb3;
  --color-pink-strong: #ff0aa0;
  --color-pink-light: #ff8fd6;
  --color-pink-pale: #ffb3e6;
  --color-white: #fbf7ff;
  --color-muted: #b9a8c4;
  --color-success: #37e2a4;
  --color-warning: #ffcf4d;
  --color-danger: #ff5470;
  --color-info: #4dc9ff;

  /* Type */
  --font-display: "Bungee", "Poppins", sans-serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;

  /* Layout */
  --header-height: 106px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --max-width: 1240px;

  /* Effects */
  --glow-pink: 0 0 8px rgba(255, 47, 179, 0.65), 0 0 24px rgba(255, 47, 179, 0.35);
  --glow-pink-soft: 0 0 12px rgba(255, 47, 179, 0.25);
  --border-pink: 1px solid rgba(255, 47, 179, 0.45);
  --transition: 0.25s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--color-white);
  background-color: var(--color-black);
  background-image:
    linear-gradient(180deg, rgba(5, 3, 8, 0.2) 0%, rgba(5, 3, 8, 0.5) 40%, rgba(5, 3, 8, 0.92) 100%),
    url("../assets/background.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.5;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.5px;
}

p {
  margin: 0 0 1em;
  color: var(--color-muted);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.neon-text {
  color: var(--color-white);
  text-shadow: 0 0 6px rgba(255, 47, 179, 0.8), 0 0 18px rgba(255, 47, 179, 0.5), 0 0 40px rgba(255, 47, 179, 0.25);
}

.section {
  position: relative;
  padding: 90px 0;
}

.services-section {
  padding-top: 4px;
  padding-bottom: 20px;
}

.why-section {
  padding-top: 10px;
  padding-bottom: 20px;
}

.precios-section {
  padding-top: 8px;
}

.precios-section .section-title {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  margin-bottom: 6px;
}

.precios-section .section-subtitle {
  margin-bottom: 28px;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
  color: var(--color-pink-pale);
}

.section-banner {
  display: block;
  margin: 0 auto 16px;
  max-width: 460px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 22px rgba(255, 47, 179, 0.45));
}

.why-section .container {
  display: flex;
  justify-content: center;
}

.section-banner--wide {
  max-width: 980px;
  margin-bottom: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-pink-strong), var(--color-pink-light));
  color: var(--color-black);
  box-shadow: var(--glow-pink);
}

.btn-primary:hover {
  box-shadow: 0 0 14px rgba(255, 47, 179, 0.9), 0 0 36px rgba(255, 47, 179, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-pink-light);
  border: 1.5px solid var(--color-pink);
  box-shadow: var(--glow-pink-soft);
}

.btn-outline:hover {
  background: rgba(255, 47, 179, 0.12);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1140px, 94%);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: rgba(15, 8, 20, 0.62);
  border: var(--border-pink);
  backdrop-filter: blur(14px);
  box-shadow: var(--glow-pink-soft), 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: top var(--transition), background var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  top: 8px;
  background: rgba(10, 6, 14, 0.85);
  box-shadow: var(--glow-pink), 0 12px 30px rgba(0, 0, 0, 0.6);
}

.site-header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-header .logo img {
  height: 58px;
  width: auto;
  border-radius: 0;
  box-shadow: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
  position: relative;
  padding: 6px 2px;
  transition: color var(--transition);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-pink);
  box-shadow: var(--glow-pink);
  transition: width var(--transition);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--color-pink-light);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.cart-link {
  position: relative;
  display: inline-flex;
  padding: 8px;
  border-radius: 50%;
  color: var(--color-white);
}

.cart-link svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 6px rgba(255, 47, 179, 0.7));
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-pink-strong);
  color: var(--color-black);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  box-shadow: var(--glow-pink);
}

.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-pink-light);
  box-shadow: var(--glow-pink);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-banner-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 950px;
  margin: 0 auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 10%, #000 95%, transparent 100%);
  -webkit-mask-composite: source-in;
  -webkit-mask-size: 100% 100%;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 10%, #000 95%, transparent 100%);
  mask-composite: intersect;
  mask-size: 100% 100%;
}

/* ---------- Services ---------- */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.service-tile {
  display: block;
  position: relative;
  line-height: 0;
  transition: transform var(--transition), filter var(--transition);
  flex: 0 0 calc(25% - 18px);
  max-width: 220px;
}

.service-tile-btn {
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 6%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 4px;
  border-radius: var(--radius-pill);
  background: rgba(8, 4, 10, 0.55);
  border: 1px solid rgba(255, 143, 214, 0.75);
  backdrop-filter: blur(2px);
  color: var(--color-pink-light);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.74rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  letter-spacing: 0.02em;
  text-shadow: 0 0 8px rgba(255, 47, 179, 0.6);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.service-tile-btn::after {
  content: "→";
}

.service-tile:hover .service-tile-btn,
.service-tile:focus-visible .service-tile-btn {
  background: rgba(255, 47, 179, 0.22);
  box-shadow: 0 0 14px rgba(255, 47, 179, 0.5);
}

.service-tile img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  border: var(--border-pink);
  box-shadow: var(--glow-pink-soft);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.service-tile:hover img,
.service-tile:focus-visible img {
  border-color: rgba(255, 47, 179, 0.85);
  box-shadow: var(--glow-pink);
}

.service-tile:hover,
.service-tile:focus-visible {
  transform: translateY(-6px);
  filter: drop-shadow(0 0 18px rgba(255, 47, 179, 0.55));
}

.service-tile:focus-visible {
  outline: 2px solid var(--color-pink-light);
  outline-offset: 4px;
}

/* Animación de entrada al cargar la página: cada tarjeta "sube" un poco
   después que la anterior. Es CSS puro (@keyframes), no depende de
   detectar el scroll con JavaScript, así que funciona igual en cualquier
   navegador/celular. */
@keyframes serviceTileRise {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-tile {
  animation: serviceTileRise 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.service-tile:nth-child(1) { animation-delay: 0.05s; }
.service-tile:nth-child(2) { animation-delay: 0.13s; }
.service-tile:nth-child(3) { animation-delay: 0.21s; }
.service-tile:nth-child(4) { animation-delay: 0.29s; }
.service-tile:nth-child(5) { animation-delay: 0.37s; }
.service-tile:nth-child(6) { animation-delay: 0.45s; }

/* ---------- Payments ---------- */
.payments-section .section-title {
  margin-bottom: 28px;
}

.title-crown {
  color: var(--color-pink-light);
  margin-right: 6px;
}

.payments-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 22px 26px;
  border-radius: var(--radius-pill);
  background: rgba(15, 9, 20, 0.6);
  border: var(--border-pink);
  box-shadow: var(--glow-pink-soft);
  max-width: 720px;
  margin: 0 auto;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: rgba(255, 47, 179, 0.06);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  color: var(--color-white);
  text-transform: uppercase;
}

.payment-badge svg {
  width: 22px;
  height: 22px;
  color: var(--color-pink-light);
  filter: drop-shadow(0 0 8px rgba(255, 47, 179, 0.75));
  flex-shrink: 0;
}

/* ---------- Reviews ---------- */
.reviews-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: start;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.review-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(28, 18, 38, 0.75), rgba(10, 6, 14, 0.55));
  border: 1px solid rgba(255, 47, 179, 0.18);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-pink-strong), var(--color-pink-light));
  color: var(--color-black);
  font-family: var(--font-display);
  font-size: 1rem;
  box-shadow: var(--glow-pink-soft);
}

.review-head h3 {
  font-size: 0.95rem;
  text-transform: none;
  margin: 0 0 2px;
}

.review-stars {
  color: var(--color-pink);
  font-size: 0.8rem;
  letter-spacing: 2px;
}

.review-card p {
  font-size: 0.88rem;
  margin: 0;
}

.trust-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(15, 9, 20, 0.6);
  border: var(--border-pink);
  box-shadow: var(--glow-pink-soft);
  align-self: stretch;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-white);
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-pink-light);
  filter: drop-shadow(0 0 8px rgba(255, 47, 179, 0.75));
  flex-shrink: 0;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  margin-top: 60px;
  padding: 60px 0 26px;
  background: linear-gradient(180deg, rgba(5, 3, 8, 0) 0%, rgba(8, 4, 12, 0.9) 30%, var(--color-black) 100%);
  border-top: 1px solid rgba(255, 47, 179, 0.35);
  box-shadow: 0 -10px 40px rgba(255, 47, 179, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-brand img {
  height: 46px;
  width: auto;
  margin-bottom: 14px;
  border-radius: 0;
}

.footer-brand p {
  font-size: 0.88rem;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 47, 179, 0.4);
  color: var(--color-pink-light);
  transition: background var(--transition), color var(--transition);
}

.footer-social a:hover {
  background: var(--color-pink);
  color: var(--color-black);
}

.footer-col h4 {
  font-size: 1rem;
  color: var(--color-pink-light);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 0.88rem;
  color: var(--color-muted);
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--color-pink-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* ---------- Misc shared ---------- */
.page-hero {
  padding: calc(var(--header-height) + 50px) 0 40px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(255, 47, 179, 0.35);
  background: rgba(20, 14, 28, 0.4);
  max-width: 480px;
  margin: 0 auto;
}

.empty-state h3 {
  margin-bottom: 10px;
}

/* Burbuja flotante de WhatsApp — inyectada por js/main.js (initWhatsappBubble),
   visible en todas las páginas públicas. Verde clásico de WhatsApp para que
   se reconozca de inmediato, con un halo a juego con el resto del sitio. */
#whatsapp-float-btn {
  position: fixed;
  right: 20px;
  bottom: 90px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), 0 0 18px rgba(37, 211, 102, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#whatsapp-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 26px rgba(37, 211, 102, 0.8);
}

@media (max-width: 600px) {
  #whatsapp-float-btn {
    right: 16px;
    bottom: 80px;
    width: 50px;
    height: 50px;
  }
}

