/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #094fe8;   /* Azul reflejo */
  --blue-dark:   #002580;
  --blue-light:  #3366CC;
  --blue-soft:   #EEF3FF;
  --pink:        #E4007C;   /* Rosa mexicano */
  --pink-light:  #FF4DA6;
  --pink-soft:   #FFF0F7;
  --bg:          #FFFFFF;
  --bg-2:        #F7F8FC;
  --bg-3:        #EEF3FF;
  --text:        #0D1B3E;
  --text-muted:  #5A6A8A;
  --border:      #DDE3F0;
  --white:       #FFFFFF;
  --shadow-sm:   0 2px 12px rgba(0, 56, 168, 0.08);
  --shadow-md:   0 8px 32px rgba(0, 56, 168, 0.12);
  --shadow-lg:   0 20px 60px rgba(0, 56, 168, 0.16);
  --radius:      16px;
  --radius-sm:   10px;
  --transition:  0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--pink));
  color: var(--white);
  box-shadow: 0 8px 28px rgba(0, 56, 168, 0.3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(228, 0, 124, 0.35);
}
.btn--ghost {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  transform: translateY(-2px);
}
.btn--sm  { padding: 10px 20px; font-size: 13px; }
.btn--xs  { padding: 8px 16px; font-size: 12px; }
.btn--full { width: 100%; justify-content: center; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5%;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  padding: 14px 5%;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav__logo {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}
.nav__links { display: flex; gap: 36px; }
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s;
}
.nav__links a:hover { color: var(--blue); }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 5% 80px;
  position: relative;
  gap: 60px;
  overflow: hidden;
  background: linear-gradient(160deg, #FFFFFF 50%, #F0F4FF 100%);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}
.hero__circle--1 {
  width: 500px; height: 500px;
  background: var(--blue);
  top: -120px; right: -80px;
  animation: float 8s ease-in-out infinite;
}
.hero__circle--2 {
  width: 320px; height: 320px;
  background: var(--pink);
  bottom: -60px; left: 5%;
  animation: float 10s ease-in-out infinite reverse;
}
.hero__circle--3 {
  width: 200px; height: 200px;
  background: var(--blue-light);
  top: 45%; left: 38%;
  animation: float 6s ease-in-out infinite 2s;
}
@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%       { transform: translateY(-28px) scale(1.04); }
}

.hero__content { flex: 1; max-width: 580px; z-index: 1; }

.hero__badge {
  display: inline-block;
  background: var(--blue-soft);
  border: 1px solid rgba(0, 56, 168, 0.2);
  color: var(--blue);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -2px;
  color: var(--text);
}
.hero__sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 480px;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero__stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat { text-align: left; }
.stat__num {
  font-size: 36px;
  font-weight: 900;
  font-family: 'Playfair Display', serif;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat span:not(.stat__num) {
  font-size: 22px;
  font-weight: 700;
  color: var(--pink);
}
.stat p { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ===== CALENDAR MOCKUP ===== */
.hero__visual { flex: 0 0 auto; position: relative; z-index: 1; }

.hero__img-wrap {
  width: 480px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,56,168,0.06);
  animation: levitate 6s ease-in-out infinite;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@keyframes levitate {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-12px) rotate(0.4deg); }
}
.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.cal-brand {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}
.cal-month { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day-name {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
  padding: 4px 0;
  text-transform: uppercase;
}
.cal-day {
  text-align: center;
  padding: 6px 2px;
  font-size: 12px;
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.cal-day:hover { background: var(--blue-soft); color: var(--blue); }
.cal-day.empty { visibility: hidden; }
.cal-day.today {
  background: linear-gradient(135deg, var(--blue), var(--pink));
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(228, 0, 124, 0.35);
}
.cal-footer {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.cal-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border); }
.cal-dot.active { background: var(--pink); width: 18px; border-radius: 3px; }

/* FLOATING TAGS */
.floating-tag {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.tag-1 { top: -16px; right: -20px; animation: float 7s ease-in-out infinite; }
.tag-2 { bottom: 60px; left: -40px; animation: float 9s ease-in-out infinite 1s; }
.tag-3 { bottom: -16px; right: 20px; animation: float 5s ease-in-out infinite 2s; }

/* ===== LOGOS BAND ===== */
.logos-band {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 5%;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 48px;
}
.logos-band p {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.logos-track {
  display: flex;
  gap: 64px;
  animation: slide 20s linear infinite;
  white-space: nowrap;
}
.logos-track span {
  font-size: 14px;
  font-weight: 700;
  color: rgba(0, 56, 168, 0.25);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
}
.logos-track span:hover { color: var(--blue); }
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== SECTIONS ===== */
.section { padding: 100px 5%; }

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}
.section__tag {
  display: inline-block;
  background: var(--blue-soft);
  border: 1px solid rgba(0, 56, 168, 0.2);
  color: var(--blue);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section__header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--text);
}
.section__header p { font-size: 17px; color: var(--text-muted); line-height: 1.7; }

/* ===== PRODUCTOS ===== */
.productos { background: var(--bg); }
.productos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 56, 168, 0.2);
  box-shadow: var(--shadow-lg);
}
.product-card--featured {
  border-color: rgba(228, 0, 124, 0.3);
  box-shadow: 0 0 0 1px rgba(228,0,124,0.1), var(--shadow-md);
}
.product-card__badge {
  position: absolute;
  top: 16px; right: 16px;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
}

/* --- Imagen real del producto --- */
.product-card__img {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--bg-3);     /* fallback si no hay imagen */
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.05); }

/* placeholder cuando no hay imagen */
.product-card__img .product-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

.product-card__body { padding: 24px; }
.product-card__body h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.product-card__body p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }
.product-card__footer  { display: flex; justify-content: space-between; align-items: center; }
.price { font-size: 16px; font-weight: 700; color: var(--blue); }

/* ===== COMO FUNCIONA ===== */
.como-funciona { background: var(--bg-2); }
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.step:hover {
  background: var(--blue-soft);
  border-color: rgba(0, 56, 168, 0.2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.step__connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  align-self: center;
  flex-shrink: 0;
  opacity: 0.3;
  margin-top: -30px;
}
.step__num {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 900;
  color: rgba(0, 56, 168, 0.08);
  line-height: 1;
  margin-bottom: 12px;
}
.step__icon { font-size: 36px; margin-bottom: 16px; display: block; }
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.step p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ===== PARALLAX BANNER ===== */
.parallax-banner {
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  will-change: transform;

  background-image: url('images/banner-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.parallax-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(0, 56, 168, 0.82) 0%,
    rgba(228, 0, 124, 0.75) 100%);
}
/* fallback si no hay imagen */
.parallax-banner.no-img {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue), var(--pink));
}
.parallax-banner__content {
  text-align: center;
  z-index: 1;
  padding: 0 5%;
  color: white;
}
.parallax-banner__content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  line-height: 1.2;
  color: white;
}
.parallax-banner__content h2 .gradient-text {
  background: linear-gradient(135deg, #FFE066, #FFB3E0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.parallax-banner__content p { font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 32px; }

/* ===== TESTIMONIOS ===== */
.testimonios { background: var(--bg); }
.testimonios__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.testi-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 56, 168, 0.15);
  box-shadow: var(--shadow-lg);
}
.testi-stars { font-size: 18px; color: var(--pink); margin-bottom: 16px; letter-spacing: 2px; }
.testi-card > p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 14px; margin-bottom: 2px; color: var(--text); }
.testi-author span   { font-size: 12px; color: var(--text-muted); }

/* ===== CONTACTO ===== */
.contacto { background: var(--bg-2); }
.contacto__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.contacto__info h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin: 16px 0 20px;
  line-height: 1.2;
  color: var(--text);
}
.contacto__info > p { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 36px; }
.contacto__list { display: flex; flex-direction: column; gap: 14px; }
.contacto__list li { font-size: 15px; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }

.contacto__form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: border-color 0.3s, background 0.3s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 56, 168, 0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--border); }
.form-note { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 14px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 72px 5% 0;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, #7CA0FF, #FF80CC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.footer__brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer__links h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: white;
}
.footer__links ul { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color 0.3s; }
.footer__links a:hover { color: white; }
.footer__bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.14s; }
.reveal:nth-child(4) { transition-delay: 0.20s; }
.reveal:nth-child(5) { transition-delay: 0.26s; }

/* ===== FORM SUCCESS ===== */
.form-success { text-align: center; padding: 40px 20px; }
.form-success__icon { font-size: 56px; margin-bottom: 16px; }
.form-success h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.form-success p  { color: var(--text-muted); font-size: 15px; }
.form-error {
  margin-top: 12px;
  padding: 12px 16px;
  background: #FFF0F3;
  border: 1px solid rgba(228, 0, 124, 0.25);
  border-radius: var(--radius-sm);
  color: var(--pink);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

/* ===== CURSOR GLOW ===== */
#cursor-glow {
  position: fixed;
  width: 320px; height: 320px;
  pointer-events: none;
  z-index: 9999;
  background: radial-gradient(circle, rgba(0,56,168,0.06) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding-top: 140px; }
  .hero__content { max-width: 100%; }
  .hero__sub { max-width: 100%; }
  .hero__ctas { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__img-wrap { width: 100%; max-width: 560px; margin: 0 auto; }
  .step__connector { display: none; }
  .steps { gap: 16px; }
  .contacto__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav__links, .nav > .btn { display: none; }
  .nav__burger { display: flex; }
  .nav.open .nav__links {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--white);
    align-items: center;
    justify-content: center;
    gap: 40px;
    font-size: 22px;
    z-index: 999;
  }
  .hero__img-wrap { width: 100%; max-width: 420px; }
  .footer__top { grid-template-columns: 1fr; }
  .logos-band { flex-direction: column; gap: 16px; }
  .parallax-banner { background-attachment: scroll; }
}
@media (max-width: 480px) {
  .hero { padding: 120px 5% 60px; }
  .hero__title { font-size: 36px; }
  .hero__stats { gap: 24px; }
  .section { padding: 72px 5%; }
}
