:root {
  --magenta: #D4287B;
  --magenta-dark: #B82166;
  --orange: #F08A35;
  --orange-dark: #D87420;
  --text: #2C2C2A;
  --text-muted: #5F5E5A;
  --bg: #FFFFFF;
  --bg-warm: #F4F2EC;
  --bg-warm-soft: #F8F6F0;
  --border: #ECEAE4;
  --shadow-sm: 0 1px 3px rgba(44, 44, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(44, 44, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(44, 44, 42, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announce {
  background: var(--orange);
  color: white;
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.announce .sep { margin: 0 10px; opacity: 0.7; }
.announce a { text-decoration: underline; }
.announce a:hover { opacity: 0.9; }

/* ===== HEADER ===== */
header {
  background: white;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.logo img { height: 44px; width: auto; }
.menu-toggle {
  display: none;
  font-size: 24px;
  color: var(--text);
}
nav.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
nav.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.2px;
  transition: color 0.2s;
  position: relative;
}
nav.main-nav a:hover { color: var(--magenta); }
nav.main-nav a.active {
  color: var(--magenta);
}
nav.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--magenta);
  border-radius: 2px;
}
.header-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}
.header-icons button {
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.header-icons button:hover { background: var(--bg-warm); }
.header-icons svg { width: 20px; height: 20px; }

/* ===== HERO HOME ===== */
.hero {
  position: relative;
  background: var(--bg-warm);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 48px;
  padding: 64px 0;
}
.hero-text h1 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.hero-text p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 520px;
}
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--magenta);
  color: white;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.25s;
  box-shadow: 0 6px 20px rgba(212, 40, 123, 0.25);
}
.cta-primary:hover {
  background: var(--magenta-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 40, 123, 0.35);
}
.cta-primary .arrow { transition: transform 0.25s; }
.cta-primary:hover .arrow { transform: translateX(4px); }
.hero-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-shape-1 {
  width: 280px; height: 280px;
  background: var(--orange);
  opacity: 0.1;
  top: -80px; left: -80px;
}
.hero-shape-2 {
  width: 200px; height: 200px;
  background: var(--magenta);
  opacity: 0.08;
  bottom: -40px; right: 40%;
}
.hero-inner > * { position: relative; z-index: 1; }

/* ===== HERO CATEGORÍA (más compacto) ===== */
.cat-hero {
  background: var(--bg-warm);
  padding: 48px 0 36px;
  position: relative;
  overflow: hidden;
}
.cat-hero .breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.cat-hero .breadcrumb a { color: var(--text-muted); }
.cat-hero .breadcrumb a:hover { color: var(--magenta); }
.cat-hero .breadcrumb .sep { margin: 0 6px; opacity: 0.5; }
.cat-hero h1 {
  font-size: 42px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.8px;
  margin-bottom: 8px;
}
.cat-hero p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 620px;
}

/* ===== SECTION COMMONS ===== */
section { padding: 72px 0; }
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-eyebrow {
  display: inline-block;
  color: var(--magenta);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-head h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.section-head p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 14px auto 0;
}

/* ===== CATEGORÍAS GRID ===== */
.categories { background: white; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.cat-card {
  background: var(--bg-warm-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 16px;
  text-align: center;
  transition: all 0.25s;
  cursor: pointer;
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--magenta);
  box-shadow: var(--shadow-md);
}
.cat-card img {
  width: 90px;
  height: 90px;
  margin: 0 auto 12px;
  object-fit: contain;
}
.cat-card span {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
}

/* ===== PRODUCTOS GRID ===== */
.products { background: var(--bg-warm-soft); }
.products.white-bg { background: white; }
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.prod-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  position: relative;
}
.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.prod-card .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--orange);
  color: white;
  font-size: 10.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 4px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  z-index: 2;
}
.prod-card .badge.magenta { background: var(--magenta); }
.prod-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-warm-soft);
}
.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.prod-card:hover .prod-img img { transform: scale(1.05); }
.prod-info { padding: 16px 18px 20px; }
.prod-tag {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.prod-info h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.35;
}
.prod-price {
  font-size: 17px;
  font-weight: 600;
  color: var(--magenta);
}

/* ===== CÓMO FUNCIONA ===== */
.how { background: white; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.step {
  text-align: center;
  padding: 32px 24px;
}
.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: white;
  font-size: 28px;
  font-weight: 600;
}
.step-icon.s1 { background: var(--magenta); }
.step-icon.s2 { background: var(--orange); }
.step-icon.s3 { background: var(--magenta); }
.step h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===== SOBRE SOUL ===== */
.about {
  background: var(--text);
  color: white;
}
.about .section-head h2 { color: white; }
.about .section-head p { color: rgba(255,255,255,0.75); }
.about .section-eyebrow { color: var(--orange); }
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 32px;
}
.feature {
  text-align: center;
  padding: 0 12px;
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--orange);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature h3 {
  font-size: 15px;
  font-weight: 500;
  color: white;
  margin-bottom: 6px;
}
.feature p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

/* ===== CTA WHATSAPP ===== */
.cta-section {
  background: var(--bg-warm);
  text-align: center;
}
.cta-section h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.cta-section p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.25s;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}
.cta-wa:hover {
  background: #1FB856;
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand h3 {
  color: white;
  font-size: 22px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 13.5px;
  line-height: 1.65;
  max-width: 280px;
}
.footer-col h4 {
  color: white;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: rgba(255,255,255,0.65);
  font-size: 13.5px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
}
.footer-payment { display: flex; gap: 8px; }
.pay-pill {
  background: rgba(255,255,255,0.08);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
}

/* ===== WHATSAPP FLOATING ===== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 50;
  transition: transform 0.25s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(44, 44, 42, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s;
}
.modal.show { display: flex; opacity: 1; }
.modal-content {
  background: white;
  border-radius: 20px;
  max-width: 920px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  transform: scale(0.96);
  transition: transform 0.25s;
}
.modal.show .modal-content { transform: scale(1); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text);
  z-index: 2;
  box-shadow: var(--shadow-md);
}
.modal-close:hover { background: var(--bg-warm); }
.modal-img {
  background: var(--bg-warm-soft);
  border-radius: 20px 0 0 20px;
  overflow: hidden;
}
.modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-info { padding: 36px 32px; }
.modal-tag {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.modal-info h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.modal-price {
  font-size: 28px;
  font-weight: 600;
  color: var(--magenta);
  margin-bottom: 14px;
}
.modal-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}
.perso-block {
  background: var(--bg-warm-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 18px;
}
.perso-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.perso-header h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.perso-pill {
  background: var(--orange);
  color: white;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.4px;
}
.perso-row { margin-bottom: 14px; }
.perso-row:last-child { margin-bottom: 0; }
.perso-row label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}
.perso-row label .req { color: var(--magenta); }
.swatches { display: flex; gap: 10px; }
.swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--border);
  transition: box-shadow 0.2s;
}
.swatch.white { background: white; }
.swatch.black { background: #2C2C2A; }
.swatch.steel { background: #B4B2A9; }
.swatch.gray { background: #4A4A48; }
.swatch.beige { background: #C9B89C; }
.swatch.brown { background: #8B5A2B; }
.swatch.transparent {
  background: linear-gradient(135deg, #f0f0f0 25%, transparent 25%, transparent 75%, #f0f0f0 75%),
              linear-gradient(135deg, #f0f0f0 25%, transparent 25%, transparent 75%, #f0f0f0 75%);
  background-size: 12px 12px;
  background-position: 0 0, 6px 6px;
}
.swatch.active { box-shadow: 0 0 0 2px var(--magenta); }
.text-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #D3D1C7;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
  background: white;
}
.text-input:focus {
  outline: none;
  border-color: var(--magenta);
}
.note {
  font-size: 12px;
  color: var(--text-muted);
  background: white;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px dashed var(--border);
}
.modal-order {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid #D3D1C7;
  border-radius: 8px;
  overflow: hidden;
}
.qty-btn {
  padding: 10px 14px;
  background: var(--bg-warm-soft);
  font-size: 14px;
  color: var(--text);
}
.qty-num {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  background: white;
  min-width: 50px;
  text-align: center;
}
.modal-cta {
  flex: 1;
  background: #25D366;
  color: white;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.modal-cta:hover { background: #1FB856; }
.modal-trust {
  display: flex;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--text-muted);
}
.modal-trust div {
  display: flex;
  align-items: center;
  gap: 6px;
}
.modal-trust svg {
  width: 14px;
  height: 14px;
  color: var(--orange);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0 48px;
  }
  .hero-text h1 { font-size: 32px; }
  .hero-text p { font-size: 15px; }
  .hero-image img { aspect-ratio: 16/11; }
  .cat-hero h1 { font-size: 30px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-card { padding: 20px 8px; }
  .cat-card img { width: 64px; height: 64px; }
  .cat-card span { font-size: 12px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .prod-info { padding: 12px 14px 16px; }
  .prod-info h3 { font-size: 13.5px; }
  .steps-grid { grid-template-columns: 1fr; gap: 14px; }
  .step { padding: 18px; }
  .features { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-head h2 { font-size: 26px; }
  section { padding: 48px 0; }
  .modal-content {
    grid-template-columns: 1fr;
    max-height: 95vh;
    -webkit-overflow-scrolling: touch;
  }
  .modal-img {
    border-radius: 20px 20px 0 0;
    height: 260px;
    aspect-ratio: auto;
    max-height: none;
  }
  .modal-img img { height: 260px; }
  .modal-info { padding: 22px 20px 28px; }
  .modal-info h2 { font-size: 20px; line-height: 1.25; padding-right: 44px; }
  .modal-price { font-size: 24px; }
  /* Botón cerrar: fijo al viewport para que no desaparezca al scrollear */
  .modal-close {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 250;
    width: 40px;
    height: 40px;
  }
  .menu-toggle { display: flex; }
  nav.main-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 80px 28px 28px;
    gap: 4px;
    transform: translateY(-100%);
    transition: transform 0.3s;
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }
  nav.main-nav.open { transform: translateY(0); }
  nav.main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }
  nav.main-nav a.active::after { display: none; }
  .header-icons { gap: 8px; }
  .logo img { height: 36px; }
  .announce { font-size: 11.5px; padding: 8px 14px; }
  .announce .sep { display: none; }
  .announce a { display: block; margin-top: 2px; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-text h1 { font-size: 28px; }
  .cat-hero h1 { font-size: 24px; }
  .container { padding: 0 16px; }
}
