/* ============================================================
   HUELLITAS Y PAPEL — Estilos principales
   Paleta: tonos pastel y rosados
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --pink-50:  #fff0f6;
  --pink-100: #ffd6e8;
  --pink-200: #ffadd2;
  --pink-300: #f9a8c9;
  --pink-400: #f06292;
  --pink-500: #e91e8c;
  --pink-600: #c2185b;

  --peach:    #ffd8c8;
  --lavender: #e8d5f5;
  --mint:     #d4f5e9;
  --yellow:   #fff9c4;
  --sky:      #d0eaff;

  --text-dark:  #3d2c3e;
  --text-mid:   #6b4f6e;
  --text-light: #a88baa;

  --white:  #ffffff;
  --shadow: 0 4px 24px rgba(233, 30, 140, 0.10);
  --shadow-hover: 0 8px 40px rgba(233, 30, 140, 0.18);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;

  --font-main: 'Quicksand', sans-serif;
  --font-display: 'Pacifico', cursive;

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1140px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}

/* ---------- Section Helpers ---------- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink-400);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 560px;
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--pink-300), var(--pink-500));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(233, 30, 140, 0.30);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(233, 30, 140, 0.40);
}
.btn--outline {
  background: transparent;
  color: var(--pink-500);
  border: 2px solid var(--pink-300);
}
.btn--outline:hover {
  background: var(--pink-50);
  border-color: var(--pink-500);
}
.btn--full { width: 100%; justify-content: center; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pink-100);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo__icon { width: 48px; height: 48px; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--pink-500);
}
.logo__tagline { font-size: 0.7rem; color: var(--text-light); font-weight: 600; letter-spacing: 0.05em; }

/* Nav */
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav__link {
  padding: 0.5rem 0.9rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-mid);
  transition: all var(--transition);
}
.nav__link:hover { background: var(--pink-50); color: var(--pink-500); }
.nav__link--cta {
  background: linear-gradient(135deg, var(--pink-300), var(--pink-500));
  color: var(--white) !important;
  margin-left: 0.5rem;
  box-shadow: 0 2px 10px rgba(233,30,140,0.25);
}
.nav__link--cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(233,30,140,0.35); }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2.5px;
  background: var(--pink-400);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--pink-50) 0%, #fff4f8 40%, var(--lavender) 100%);
  overflow: hidden;
  padding-top: 72px;
}

/* Bubbles decorativas */
.hero__bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
}
.bubble--1 { width: 340px; height: 340px; top: -80px; right: -100px; background: var(--pink-200); }
.bubble--2 { width: 200px; height: 200px; bottom: 60px; left: -60px; background: var(--lavender); }
.bubble--3 { width: 120px; height: 120px; top: 30%; left: 12%; background: var(--peach); }
.bubble--4 { width: 80px; height: 80px; bottom: 25%; right: 18%; background: var(--mint); }

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding-block: 5rem;
  position: relative;
}

.hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink-400);
  margin-bottom: 1rem;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}
.hero__title .highlight {
  color: var(--pink-500);
  position: relative;
}
.hero__title .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 6px;
  background: var(--pink-200);
  border-radius: 3px;
  z-index: -1;
}
.hero__subtitle {
  color: var(--text-mid);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 460px;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Ilustración */
.hero__illustration { position: relative; display: flex; justify-content: center; align-items: center; }
.illustration-card {
  border-radius: var(--radius-lg);
  position: absolute;
}
.illustration-card--back {
  width: 320px; height: 360px;
  background: var(--pink-200);
  transform: rotate(-6deg);
  top: -10px;
}
.illustration-card--front {
  width: 300px; height: 340px;
  background: var(--white);
  box-shadow: var(--shadow-hover);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.illus-emoji {
  position: absolute;
  font-size: 2.2rem;
  animation: float 4s ease-in-out infinite;
}
.illus-emoji       { top: 12%; left: 12%; animation-delay: 0s; }
.illus-emoji--2    { top: 12%; right: 12%; animation-delay: 1s; }
.illus-emoji--3    { bottom: 12%; left: 12%; animation-delay: 2s; }
.illus-emoji--4    { bottom: 12%; right: 12%; animation-delay: 0.5s; }
.illus-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--pink-500);
  line-height: 1.3;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ============================================================
   CAROUSEL
   ============================================================ */
.carousel-section {
  overflow: hidden;
}

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel__slide {
  min-width: 100%;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel__slide--1 { background: linear-gradient(135deg, #ffd6e8 0%, #ffadd2 100%); }
.carousel__slide--2 { background: linear-gradient(135deg, #fff9c4 0%, #fde68a 100%); }
.carousel__slide--3 { background: linear-gradient(135deg, #e8d5f5 0%, #d8b4fe 100%); }
.carousel__slide--4 { background: linear-gradient(135deg, #d4f5e9 0%, #a7f3d0 100%); }
.carousel__slide--5 { background: linear-gradient(135deg, #d0eaff 0%, #93c5fd 100%); }

.carousel__slide-content {
  text-align: center;
  padding: 2rem;
  max-width: 600px;
}

.carousel__slide-icon {
  font-size: 5rem;
  display: block;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

.carousel__slide-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.carousel__slide-content p {
  font-size: 1.05rem;
  color: var(--text-mid);
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.88);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  color: var(--pink-500);
  line-height: 1;
}

.carousel__btn:hover {
  background: var(--white);
  box-shadow: var(--shadow-hover);
  transform: translateY(-50%) scale(1.08);
}

.carousel__btn--prev { left: 1.25rem; }
.carousel__btn--next { right: 1.25rem; }

.carousel__dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  padding: 0;
}

.carousel__dot.active {
  background: var(--pink-500);
  transform: scale(1.35);
}

/* ============================================================
   MEDIOS DE PAGO
   ============================================================ */
.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.payment-badge {
  background: var(--pink-50);
  border: 1.5px solid var(--pink-200);
  color: var(--pink-600);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  white-space: nowrap;
}

/* ============================================================
   CATEGORÍAS
   ============================================================ */
.categories {
  padding-block: 6rem;
  background: var(--white);
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background: var(--white);
  border: 2px solid var(--pink-100);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: all var(--transition);
  cursor: default;
}
.category-card:hover {
  border-color: var(--pink-300);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.category-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.category-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--pink-500);
  margin-bottom: 0.75rem;
}
.category-card__desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.category-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.category-card__list li {
  font-size: 0.85rem;
  color: var(--text-light);
  padding-left: 1rem;
  position: relative;
}
.category-card__list li::before {
  content: '🌸';
  position: absolute;
  left: -4px;
  font-size: 0.7rem;
}

/* Color accent per category */
.category-card[data-category="papeleria"] { background: linear-gradient(135deg, #fff9fb 0%, var(--white) 100%); }
.category-card[data-category="pinateria"] { background: linear-gradient(135deg, #fff9e6 0%, var(--white) 100%); }
.category-card[data-category="peluches"]  { background: linear-gradient(135deg, #f9f0ff 0%, var(--white) 100%); }
.category-card[data-category="juguetes"]  { background: linear-gradient(135deg, #f0fff8 0%, var(--white) 100%); }
.category-card[data-category="miscelanea"]{ background: linear-gradient(135deg, #f0f8ff 0%, var(--white) 100%); }

/* ============================================================
   SERVICIOS
   ============================================================ */
.services {
  padding-block: 6rem;
  background: linear-gradient(160deg, var(--pink-50) 0%, var(--lavender) 100%);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition);
}
.service-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.service-item__icon { font-size: 2rem; margin-bottom: 1rem; }
.service-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.service-item p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ============================================================
   NOSOTROS
   ============================================================ */
.about {
  padding-block: 6rem;
  background: var(--white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
}

/* Visual side */
.about__visual { position: relative; height: 420px; }
.about__shape {
  position: absolute;
  border-radius: 50%;
}
.about__shape--1 {
  width: 300px; height: 300px;
  background: var(--pink-100);
  top: 0; left: 0;
}
.about__shape--2 {
  width: 200px; height: 200px;
  background: var(--lavender);
  bottom: 0; right: 0;
}
.about__card {
  position: absolute;
  inset: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
}
.about__emoji-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0.75rem;
  font-size: 1.8rem;
  text-align: center;
}
.about__card-text {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--pink-400);
  text-align: center;
  line-height: 1.4;
}

/* Content side */
.about__content p {
  color: var(--text-mid);
  margin-bottom: 1.1rem;
  line-height: 1.75;
}
.about__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat__number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--pink-500);
  line-height: 1;
}
.stat__label {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contact {
  padding-block: 6rem;
  background: linear-gradient(160deg, var(--pink-50) 0%, #fff0fa 100%);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact__info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-item__icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.contact-item h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}
.contact-item p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.6; }
.contact-item a { color: var(--pink-500); font-weight: 600; transition: color var(--transition); }
.contact-item a:hover { color: var(--pink-600); }
.maps-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--pink-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Form */
.contact__form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact__form h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--pink-500);
  margin-bottom: 1.75rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}
.form-group input,
.form-group textarea {
  border: 2px solid var(--pink-100);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  font-family: var(--font-main);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--pink-300);
  box-shadow: 0 0 0 4px rgba(249,168,201,0.18);
}
.form-note { font-size: 0.78rem; color: var(--text-light); margin-top: 0.75rem; text-align: center; }

/* Form success state */
.contact__form.success .form-success {
  display: flex;
}
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  text-align: center;
}
.form-success .success-icon { font-size: 3rem; }
.form-success p { color: var(--text-mid); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.75);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-block: 4rem;
}
.footer__brand .footer__logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--pink-300);
  display: block;
  margin-bottom: 0.75rem;
}
.footer__brand p { font-size: 0.88rem; line-height: 1.7; }

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__links h5 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.footer__links a {
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--pink-300); }

.footer__social { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__social h5 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  transition: color var(--transition);
}
.social-btn:hover { color: var(--pink-300); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 1.25rem;
  font-size: 0.82rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero__subtitle { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__illustration { height: 300px; }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about__visual { height: 320px; }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  /* Header */
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--pink-100);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav__link {
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav__link--cta { margin-left: 0; justify-content: center; }

  .menu-toggle { display: flex; }

  /* Hero */
  .hero__illustration { display: none; }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn { justify-content: center; }

  /* Burbujas: evitar overflow horizontal */
  .bubble--1 { width: 200px; height: 200px; right: -60px; }
  .bubble--2 { width: 140px; height: 140px; left: -40px; }
  .bubble--3 { width: 80px; height: 80px; }

  /* Carousel */
  .carousel__slide { height: 300px; }
  .carousel__slide-icon { font-size: 3.5rem; }
  .carousel__btn { width: 38px; height: 38px; font-size: 1.4rem; }
  .carousel__btn--prev { left: 0.5rem; }
  .carousel__btn--next { right: 0.5rem; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; }
}
