/* ============================================================
   COLOR POP STORE — Landing tazones personalizados
   HTML5 + CSS variables + JS vanilla
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Paleta de marca */
  --cream:      #fbf4e4;
  --cream-2:    #f6ecd6;
  --navy:       #1b365d;
  --blue:       #2f7cc4;
  --blue-soft:  #6aa9d8;
  --green:      #7ba05b;
  --green-soft: #a9c58c;
  --orange:     #e08a4c;
  --red:        #d15c4a;
  --yellow:     #f2c14e;
  --teal:       #4a9bb5;
  --wa:         #25d366;
  --wa-dark:    #128c4b;

  --ink:        #2b2b2b;
  --ink-soft:   #5c5c5c;
  --white:      #ffffff;

  /* Tipografía */
  --font-head: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;

  /* Layout */
  --maxw: 1160px;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow-sm: 0 6px 18px rgba(27, 54, 93, .08);
  --shadow-md: 0 14px 40px rgba(27, 54, 93, .12);
  --shadow-lg: 0 24px 60px rgba(27, 54, 93, .18);
}

/* ---------- Reset ligero ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.05; color: var(--navy); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }

.highlight { color: var(--green); }
.heart { color: var(--red); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  padding: 15px 28px; border-radius: 999px; cursor: pointer;
  border: none; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-whatsapp { background: var(--wa); color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, .35); }
.btn-whatsapp:hover { filter: brightness(1.04); box-shadow: 0 14px 30px rgba(37, 211, 102, .45); }
.btn-ghost { background: transparent; color: var(--navy); border: 2.5px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-lg { font-size: 1.25rem; padding: 18px 36px; }
.wa-icon { width: 22px; height: 22px; fill: currentColor; flex: none; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 244, 228, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27, 54, 93, .07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { display: grid; grid-template-columns: repeat(2, 12px); gap: 4px; }
.logo-mark .dot { width: 12px; height: 12px; border-radius: 50%; display: block; }
.dot-green { background: var(--green); }
.dot-orange { background: var(--orange); }
.dot-blue { background: var(--blue); }
.dot-red { background: var(--red); }

.logo-text { font-family: var(--font-head); font-weight: 800; letter-spacing: .5px; line-height: .9; }
.logo-color { display: block; font-size: 1.35rem; }
.logo-pop { display: flex; align-items: baseline; gap: 8px; font-size: 1.35rem; }
.logo-store { font-style: normal; font-size: .62rem; letter-spacing: 3px; color: var(--ink-soft); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { font-weight: 700; color: var(--navy); font-size: .98rem; transition: color .15s; }
.main-nav a:not(.nav-cta):hover { color: var(--green); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--wa); color: #fff !important; padding: 10px 18px; border-radius: 999px; box-shadow: 0 8px 18px rgba(37,211,102,.3); }
.nav-cta:hover { filter: brightness(1.05); }
.nav-cta .wa-icon { width: 18px; height: 18px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 90px); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; position: relative; z-index: 2; }

.hero-title { font-weight: 800; }
.hero-title-top { display: block; font-size: clamp(3.4rem, 10vw, 6.6rem); color: var(--navy); letter-spacing: 1px; }
.hero-title-bottom { display: block; font-size: clamp(1.9rem, 5.4vw, 3.6rem); letter-spacing: 1px; margin-top: -.1em; }

.hero-tagline { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.25rem, 3vw, 1.9rem); color: var(--navy); margin-top: 18px; }
.hero-tagline .heart { font-size: 1.4em; vertical-align: -.05em; }

/* Precio en el hero */
.hero-price { display: inline-flex; align-items: center; margin-top: 26px; background: linear-gradient(135deg, #f3b7a6, #eea98f); border-radius: 999px; padding: 10px 34px; box-shadow: var(--shadow-sm); }
.hero-price-amount { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3rem); color: var(--navy); line-height: 1; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.hero-media { position: relative; min-height: 340px; display: flex; align-items: center; justify-content: center; }
.hero-mug-single { position: relative; width: 100%; max-width: 560px; z-index: 2; }

/* Decoraciones */
.blob { position: absolute; border-radius: 45% 55% 58% 42% / 52% 48% 52% 48%; z-index: 1; filter: blur(.2px); }
.blob-1 { width: 260px; height: 260px; background: var(--yellow); opacity: .5; top: -60px; left: -70px; }
.blob-2 { width: 200px; height: 200px; background: var(--green-soft); opacity: .5; bottom: -60px; right: -50px; }
.blob-3 { width: 320px; height: 320px; background: var(--blue-soft); opacity: .3; top: -80px; left: -80px; }
.confetti { position: absolute; z-index: 1; border-radius: 3px; }
.confetti-1 { width: 16px; height: 16px; background: var(--red); top: 18%; right: 14%; transform: rotate(20deg); }
.confetti-2 { width: 22px; height: 22px; border-radius: 50%; border: 5px solid var(--orange); bottom: 14%; left: 8%; }
.star { position: absolute; width: 46px; height: 46px; fill: none; stroke: var(--yellow); stroke-width: 2; z-index: 1; top: 12%; right: 44%; }

/* ============================================================
   FEATURES
   ============================================================ */
.features { padding-block: clamp(30px, 5vw, 56px); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.feature { text-align: center; padding: 10px; }
.feature-icon {
  display: inline-grid; place-items: center; width: 82px; height: 82px; border-radius: 50%;
  font-size: 2.1rem; margin-bottom: 14px; box-shadow: var(--shadow-sm);
}
.fi-green  { background: var(--green-soft); }
.fi-red    { background: #eaa79c; }
.fi-yellow { background: var(--yellow); }
.fi-blue   { background: var(--blue-soft); }
.feature h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.feature p { color: var(--ink-soft); font-size: .95rem; max-width: 22ch; margin-inline: auto; }

/* ============================================================
   STEPS
   ============================================================ */
.steps { background: var(--cream-2); padding-block: clamp(50px, 7vw, 84px); position: relative; }
.section-title { text-align: center; font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 40px; max-width: 46ch; margin-inline: auto; }
.steps .section-title { margin-bottom: 46px; }

.steps-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 10px; }
.step { text-align: center; max-width: 300px; margin-inline: auto; }
.step-num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; margin-bottom: 16px; }
.sn-green { background: var(--green); }
.sn-orange { background: var(--orange); }
.sn-blue { background: var(--blue); }
.step-icon { display: block; font-size: 3rem; margin-bottom: 12px; }
.step h3 { font-size: 1.5rem; margin-bottom: 8px; }
.step:nth-of-type(1) h3 { color: var(--green); }
.step:nth-of-type(3) h3 { color: var(--orange); }
.step:nth-of-type(5) h3 { color: var(--blue); }
.step p { color: var(--ink-soft); }
.step-dots { align-self: center; height: 3px; width: 100%; min-width: 40px; margin-top: 20px; background-image: radial-gradient(circle, var(--orange) 40%, transparent 42%); background-size: 14px 3px; background-repeat: repeat-x; }

/* ============================================================
   PRICING / CTA
   ============================================================ */
.pricing { position: relative; overflow: hidden; padding-block: clamp(50px, 7vw, 90px); }
.price-card {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f3b7a6, #eea98f);
  border-radius: var(--radius-lg); padding: 30px 60px; max-width: 480px; margin: 0 auto 40px;
  box-shadow: var(--shadow-md); position: relative; z-index: 2;
}
.price-value { position: relative; text-align: center; }
.price-amount { font-family: var(--font-head); font-weight: 800; font-size: clamp(3.2rem, 9vw, 5rem); color: var(--navy); line-height: 1; }
.price-underline { display: block; height: 6px; width: 70%; margin: 8px auto 0; background: var(--red); border-radius: 999px; }

.cta-band { text-align: center; position: relative; z-index: 2; }
.cta-text { font-family: var(--font-head); font-size: 1.35rem; color: var(--navy); margin-bottom: 18px; }
.cta-text strong { color: var(--green); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: #eef3f8; padding-block: 48px 24px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand .logo-text-footer .logo-color,
.footer-brand .logo-text-footer .logo-pop { font-size: 1.8rem; }
.footer-brand .logo-color span[style*="--navy"], /* mantener contraste sobre fondo oscuro */
.logo-text-footer span[style*="--navy"] { color: #fff !important; }
.footer-tagline { margin-top: 8px; color: #c8d6e6; font-family: var(--font-head); font-weight: 600; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-link { display: inline-flex; align-items: center; gap: 10px; color: #eef3f8; font-weight: 700; transition: color .15s; }
.footer-link:hover { color: var(--yellow); }
.footer-link .wa-icon { width: 20px; height: 20px; fill: var(--wa); }
.footer-legal { text-align: center; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #9fb3c9; font-size: .85rem; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa);
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.5);
  transition: transform .18s ease;
  animation: wa-pulse 2.4s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 34px; height: 34px; fill: #fff; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(37,211,102,.5); }
  50% { box-shadow: 0 10px 26px rgba(37,211,102,.5), 0 0 0 12px rgba(37,211,102,.12); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .nav-toggle { display: none; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-media { order: -1; min-height: 300px; }
  .hero-title-bottom { margin-top: 0; }

  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }

  .steps-grid { grid-template-columns: 1fr; gap: 34px; }
  .step-dots { display: none; }
}

@media (max-width: 480px) {
  .price-card { flex-direction: column; gap: 14px; padding: 28px 26px; }
  .price-label { border-right: none; border-bottom: 3px dashed rgba(27,54,93,.4); padding-right: 0; padding-bottom: 14px; text-align: center; }
  .btn-lg { font-size: 1.05rem; padding: 15px 24px; }
}

/* Accesibilidad: menos movimiento */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .btn:hover, .gallery-item:hover, .wa-float:hover { transform: none; }
}
