/* ============================================================
   NAIM BEBÉS — Custom Styles
   Paleta: Blush #E8B4BC · Salvia #A9B79C · Mostaza #D9A94F ·
           Beige #E8DCC8 · Celeste #A9C2D9 · Crema #FFF9F4
============================================================ */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --nb-blush:       #e8b4bc;
  --nb-blush-dark:  #d894a0;
  --nb-sage:        #a9b79c;
  --nb-sage-dark:   #8fa07f;
  --nb-mustard:     #d9a94f;
  --nb-beige:       #e8dcc8;
  --nb-celeste:     #a9c2d9;
  --nb-cream:       #fff9f4;
  --nb-white:       #ffffff;
  --nb-brown:       #6b5b4d;
  --nb-brown-soft:  #8d7c6d;
  --nb-text:        #4a3f38;
  --nb-border:      rgba(107,91,77,0.12);

  --font-body:  'Poppins', sans-serif;
  --font-title: 'Fredoka', 'Poppins', sans-serif;

  --radius:     16px;
  --radius-lg:  28px;
  --transition: 0.3s ease;
}

/* ── Reset / Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--nb-cream);
  color: var(--nb-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-title); color: var(--nb-brown); }

/* ── Utility ───────────────────────────────────────────── */
.nb-blush { color: var(--nb-blush-dark) !important; }
.nb-sage  { color: var(--nb-sage-dark) !important; }

/* ── Navbar ────────────────────────────────────────────── */
.nb-navbar {
  background: rgba(255,249,244,0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.nb-navbar.scrolled {
  background: rgba(255,249,244,0.97);
  padding: 0.6rem 0;
  box-shadow: 0 2px 24px rgba(107,91,77,0.10);
}
.nb-logo { height: 52px; width: auto; }
.nb-navbar .nav-link {
  color: var(--nb-brown-soft) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.9rem !important;
  border-radius: 50px;
  transition: color var(--transition), background var(--transition);
}
.nb-navbar .nav-link:hover { color: var(--nb-brown) !important; background: rgba(232,180,188,0.18); }
.nb-navbar .nav-link.active { color: var(--nb-white) !important; background: var(--nb-blush-dark) !important; }

/* ── Buttons ───────────────────────────────────────────── */
.nb-btn-primary {
  background: var(--nb-blush-dark);
  border: 2px solid var(--nb-blush-dark);
  color: var(--nb-white) !important;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 50px;
  padding: 0.7rem 1.7rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.nb-btn-primary:hover {
  background: #c67885;
  border-color: #c67885;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(216,148,160,0.35);
  color: var(--nb-white) !important;
}
.nb-btn-outline {
  background: transparent;
  border: 2px solid var(--nb-brown-soft);
  color: var(--nb-brown) !important;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 50px;
  padding: 0.7rem 1.7rem;
  transition: all var(--transition);
}
.nb-btn-outline:hover { background: var(--nb-brown-soft); color: var(--nb-white) !important; transform: translateY(-2px); }
.nb-btn-whatsapp {
  background: #25D366;
  border: 2px solid #25D366;
  color: var(--nb-white) !important;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.7rem 1.7rem;
  transition: all var(--transition);
}
.nb-btn-whatsapp:hover { background: #1ebe57; border-color: #1ebe57; transform: translateY(-2px); color: var(--nb-white) !important; }

/* ── Section headings ──────────────────────────────────── */
.nb-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nb-blush-dark);
  background: rgba(232,180,188,0.15);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}
.nb-section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; margin-bottom: 0.75rem; }
.nb-section-sub { color: var(--nb-brown-soft); max-width: 640px; }
.nb-section { padding: 5rem 0; }
.nb-section-alt { background: var(--nb-white); }

/* ── Hero ──────────────────────────────────────────────── */
.nb-hero {
  padding: 8rem 0 4rem;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232,180,188,0.25) 0%, transparent 70%),
              linear-gradient(180deg, #fff 0%, var(--nb-cream) 100%);
  position: relative;
  overflow: hidden;
}
.nb-hero-title { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; line-height: 1.15; }
.nb-hero-lead { font-size: 1.1rem; color: var(--nb-brown-soft); max-width: 520px; }
.nb-hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(107,91,77,0.25);
}
.nb-hero-stats { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.nb-stat-number { font-family: var(--font-title); font-size: 2rem; font-weight: 600; color: var(--nb-blush-dark); }
.nb-stat-label { font-size: 0.85rem; color: var(--nb-brown-soft); }
.nb-hero-badge {
  position: absolute;
  background: var(--nb-white);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px -12px rgba(107,91,77,0.28);
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ── Nosotros ──────────────────────────────────────────── */
.nb-nosotros-img { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 40px -16px rgba(107,91,77,0.2); aspect-ratio: 1 / 1; }
.nb-nosotros-img img { width: 100%; height: 100%; object-fit: cover; }
.nb-nosotros-img--wide { aspect-ratio: 16 / 10; }
.nb-value-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
  font-weight: 500;
}
.nb-value-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(169,183,156,0.2);
  color: var(--nb-sage-dark);
  display: flex; align-items: center; justify-content: center;
}

/* ── Catálogo ──────────────────────────────────────────── */
.nb-filter-btn {
  border: 2px solid var(--nb-border);
  background: var(--nb-white);
  color: var(--nb-brown-soft);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  margin: 0.25rem;
  transition: all var(--transition);
  cursor: pointer;
}
.nb-filter-btn:hover { border-color: var(--nb-blush-dark); color: var(--nb-blush-dark); }
.nb-filter-btn.active { background: var(--nb-blush-dark); border-color: var(--nb-blush-dark); color: var(--nb-white); }

.nb-product-card {
  background: var(--nb-white);
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  height: 100%;
  box-shadow: 0 10px 30px -14px rgba(107,91,77,0.18);
  transition: transform var(--transition), box-shadow var(--transition);
}
.nb-product-card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -16px rgba(107,91,77,0.3); }
.nb-product-img-wrap { position: relative; aspect-ratio: 1 / 1; background: var(--nb-beige); overflow: hidden; }
.nb-product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.nb-product-card:hover .nb-product-img { transform: scale(1.06); }
.nb-product-cat {
  position: absolute; top: 0.8rem; left: 0.8rem;
  background: rgba(255,255,255,0.92);
  color: var(--nb-brown);
  font-size: 0.72rem; font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}
.nb-product-personalizable {
  position: absolute; bottom: 0.8rem; right: 0.8rem;
  background: var(--nb-blush-dark);
  color: var(--nb-white);
  font-size: 0.7rem; font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
}
.nb-product-info { padding: 1.1rem 1.2rem 1.3rem; }
.nb-product-title { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.3rem; color: var(--nb-brown); }
.nb-product-price { font-family: var(--font-title); font-size: 1.15rem; font-weight: 600; color: var(--nb-blush-dark); }
.nb-product-colors { display: flex; gap: 0.3rem; margin-top: 0.5rem; }
.nb-swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.1); }
.nb-empty { text-align: center; color: var(--nb-brown-soft); padding: 3rem 1rem; }

/* ── Por qué elegirnos ─────────────────────────────────── */
.nb-why-card {
  background: var(--nb-white);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  height: 100%;
  box-shadow: 0 10px 30px -16px rgba(107,91,77,0.15);
  text-align: center;
}
.nb-why-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(232,180,188,0.18);
  color: var(--nb-blush-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.2rem;
}

/* ── Personalización ───────────────────────────────────── */
.nb-step {
  background: var(--nb-white);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  height: 100%;
  box-shadow: 0 10px 30px -16px rgba(107,91,77,0.15);
}
.nb-step-number {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--nb-white);
  background: var(--nb-sage-dark);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}

/* ── FAQ ───────────────────────────────────────────────── */
.nb-faq .accordion-item {
  background: var(--nb-white);
  border: 1px solid var(--nb-border);
  border-radius: var(--radius) !important;
  overflow: hidden;
  margin-bottom: 0.9rem;
}
.nb-faq .accordion-button {
  font-weight: 600;
  color: var(--nb-brown);
  background: var(--nb-white);
  padding: 1.1rem 1.4rem;
}
.nb-faq .accordion-button:not(.collapsed) {
  color: var(--nb-blush-dark);
  background: rgba(232,180,188,0.08);
  box-shadow: none;
}
.nb-faq .accordion-button:focus { box-shadow: none; }
.nb-faq .accordion-body { padding: 1rem 1rem 1.3rem; color: var(--nb-brown-soft); }

/* ── Envíos y pagos ────────────────────────────────────── */
.nb-shipping-card {
  background: var(--nb-white);
  border-radius: var(--radius);
  padding: 1.8rem;
  height: 100%;
  box-shadow: 0 10px 30px -16px rgba(107,91,77,0.15);
}

/* ── Contacto / Footer ─────────────────────────────────── */
.nb-contact { background: var(--nb-brown); color: rgba(255,255,255,0.85); }
.nb-contact h2, .nb-contact h3, .nb-contact h4 { color: var(--nb-white); }
.nb-contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 2rem;
}
.nb-footer { background: #3d332c; color: rgba(255,255,255,0.65); padding: 2.5rem 0; font-size: 0.9rem; }
.nb-footer a:hover { color: var(--nb-blush); }

/* ── WhatsApp flotante ─────────────────────────────────── */
.nb-wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--nb-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 30px rgba(37,211,102,0.45);
  transition: transform var(--transition);
}
.nb-wa-float:hover { transform: scale(1.08); color: var(--nb-white); }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 767px) {
  .nb-section { padding: 3.5rem 0; }
  .nb-hero { padding: 7rem 0 3rem; }
  .nb-hero-badge { position: static; margin-top: 1rem; }
}
