:root {
  --accent: #f9526b;
  --accent-dark: #c92f52;
  --accent-2: #b44086;
  --coral: #ff7b67;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --radius: 14px;
  --max-width: 1180px;

  /* Tema: blanco cálido, rojo protagonista */
  --bg: #fffaf9;
  --bg-alt: #fbedef;
  --surface: #ffffff;
  --border: #f0dbe0;
  --text: #241417;
  --text-dim: #71585d;
  --header-bg: rgba(255,250,249,.85);
  --hero-line: rgba(36,20,23,.05);
  --map-filter: none;
  --logo-ring: rgba(0,0,0,.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .logo {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #06210f;
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); box-shadow: 0 8px 24px rgba(37,211,102,.35); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-lg { padding: 15px 28px; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--logo-ring), 0 6px 16px rgba(0,0,0,.2);
}
.logo-img-lg { width: 76px; height: 76px; }

.main-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.main-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--text); }

.header-cta { margin-left: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}
.shape-1 {
  width: 420px; height: 420px;
  background: var(--accent);
  top: -120px; right: -80px;
  animation: drift1 14s ease-in-out infinite;
}
.shape-2 {
  width: 380px; height: 380px;
  background: var(--accent-2);
  bottom: -160px; left: -100px;
  opacity: .3;
  animation: drift2 18s ease-in-out infinite;
}
@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.12); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.08); }
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hero-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-line) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at top, black, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(249,82,107,.14);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.accent { color: var(--accent); }

.hero-sub {
  color: var(--text-dim);
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat strong {
  font-family: 'Sora', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
}
.stat .star { color: var(--coral); font-size: 1.1rem; }
.stat span { color: var(--text-dim); font-size: 0.85rem; }

/* Hero visual: real product photo */
.hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-photo-frame {
  position: relative;
  width: 320px;
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
  transform: rotate(3deg);
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.08);
  animation: float 7s ease-in-out infinite;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(249,82,107,.25), transparent 55%);
  mix-blend-mode: screen;
}
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(20,14,17,.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f8eeef;
  box-shadow: 0 12px 30px rgba(0,0,0,.4);
  white-space: nowrap;
}
.floating-badge strong { color: var(--coral); }
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(249,82,107,.25);
}
.badge-top { top: 24px; left: -10px; }
.badge-bottom { bottom: 40px; right: -18px; }

@keyframes float {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-14px); }
}

/* ---------- Brands ---------- */
.brands { padding: 36px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.brands-label {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.brands-row {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 56px;
  animation: marquee 26s linear infinite;
}
.marquee:hover .brands-row { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.brands-row span {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dim);
  white-space: nowrap;
  opacity: .7;
}

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }

.section-eyebrow {
  display: block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 700px;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-dim);
  max-width: 600px;
  margin-bottom: 48px;
  font-size: 1.05rem;
}

.grid { display: grid; gap: 24px; }

/* Category cards: bento grid with real photos */
.bento.grid-cat {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "cel cel note note"
    "cel cel audio gaming"
    "tv tv acc acc";
  gap: 20px;
}
.area-cel { grid-area: cel; }
.area-note { grid-area: note; }
.area-audio { grid-area: audio; }
.area-gaming { grid-area: gaming; }
.area-tv { grid-area: tv; }
.area-acc { grid-area: acc; }

.card-cat {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 170px;
  isolation: isolate;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .15s ease, border-color .2s ease;
}
.area-cel { min-height: 360px; }
.card-cat img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card-cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,15,25,.05) 40%, rgba(11,15,25,.92) 100%);
  z-index: 1;
}
.card-cat:hover img { transform: scale(1.06); }
.card-cat-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 22px;
}
.area-cel .card-cat-overlay { padding: 30px; }
.card-cat-overlay h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: #f8eeef;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.area-cel .card-cat-overlay h3 { font-size: 1.5rem; }
.card-cat-overlay p {
  color: #cfc0c3;
  font-size: 0.88rem;
  max-width: 32ch;
}

.cat-cta {
  margin-top: 48px;
  padding: 32px;
  background: linear-gradient(120deg, rgba(249,82,107,.14), rgba(180,64,134,.1));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cat-cta p { font-size: 1.05rem; max-width: 460px; }

/* Features */
.grid-features { grid-template-columns: repeat(4, 1fr); }
.feature { text-align: left; }
.feature-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.feature h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature p { color: var(--text-dim); font-size: 0.92rem; }

/* Reviews */
.grid-reviews { grid-template-columns: repeat(3, 1fr); }
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.stars { color: var(--coral); letter-spacing: 2px; margin-bottom: 14px; }
.review-card p { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 16px; }
.review-author { font-weight: 600; font-size: 0.88rem; }
.reviews-note { color: var(--text-dim); font-size: 0.85rem; margin-top: 28px; }

/* Ubicacion */
.ubicacion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.info-list { list-style: none; margin: 28px 0 32px; display: flex; flex-direction: column; gap: 20px; }
.info-list li { display: flex; flex-direction: column; gap: 4px; }
.info-list strong { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); }
.info-list span { color: var(--text-dim); }
.ubicacion-visual { display: flex; flex-direction: column; gap: 16px; }
.ubicacion-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.ubicacion-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 7;
}
.ubicacion-map iframe { width: 100%; height: 100%; border: 0; filter: var(--map-filter); }

/* Contacto */
.contacto-inner { text-align: center; }
.contacto .section-title, .contacto .section-sub { margin-left: auto; margin-right: auto; }
.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.social-row { display: flex; justify-content: center; gap: 18px; }
.social-row a {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: border-color .15s ease, transform .15s ease;
}
.social-row a:hover { border-color: var(--accent); transform: translateY(-2px); }
.social-row svg { width: 20px; height: 20px; fill: var(--text-dim); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 28px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-inner p { color: var(--text-dim); font-size: 0.9rem; margin-top: 8px; max-width: 260px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--text); }
.footer-copy { width: 100%; color: var(--text-dim); font-size: 0.8rem; margin-top: 24px; }

.dev-credit {
  width: 100%;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.dev-credit a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.78rem;
  line-height: 1;
}
.dev-credit a:hover { color: var(--accent); }
.dev-credit-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px; height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  z-index: 200;
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #06210f; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 320px; margin-top: 20px; }
  .bento.grid-cat {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "cel cel"
      "note audio"
      "gaming tv"
      "acc acc";
  }
  .area-cel { min-height: 260px; }
  .grid-features { grid-template-columns: repeat(2, 1fr); }
  .grid-reviews { grid-template-columns: 1fr; }
  .ubicacion-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 16px;
  }

  .bento.grid-cat {
    grid-template-columns: 1fr;
    grid-template-areas:
      "cel"
      "note"
      "audio"
      "gaming"
      "tv"
      "acc";
  }
  .area-cel { min-height: 240px; }
  .grid-features { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .cat-cta { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .brands-row, .shape-1, .shape-2, .hero-photo-frame {
    animation: none !important;
  }
}
