/* ════════════════════════════════════════════════
   NANII FITNESS — style.css
   ════════════════════════════════════════════════ */

:root {
  --violet-deep:   #1a0a2e;
  --violet-dark:   #2d1155;
  --violet-mid:    #6b21a8;
  --violet-bright: #a855f7;
  --violet-light:  #d8b4fe;
  --pink-accent:   #e879f9;
  --pink-soft:     #f0abfc;
  --white:         #faf5ff;
  --glass:         rgba(168,85,247,0.10);
  --glass-border:  rgba(168,85,247,0.25);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  { background: var(--violet-deep); color: var(--white); font-family: 'Outfit', sans-serif; overflow-x: hidden; }

body::before {
  content: ''; position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: 0.4;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  padding: 1rem 5%; display: flex; align-items: center; justify-content: space-between;
  background: rgba(26,10,46,0.85); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--glass-border);
}
.nav-logo { display: flex; align-items: center; gap: .7rem; }
.nav-logo img { height: 44px; width: 44px; object-fit: contain; border-radius: 50%; }
.nav-logo span {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: 2px;
  background: linear-gradient(135deg, var(--violet-light), var(--pink-accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--violet-light); text-decoration: none;
  font-size: .85rem; font-weight: 500; letter-spacing: 1px;
  text-transform: uppercase; transition: color .3s;
}
.nav-links a:hover { color: var(--pink-accent); }
.nav-links.open {
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  background: rgba(10,4,26,.98); backdrop-filter: blur(20px);
  padding: 5rem 8% 2rem;
  z-index: 99;
  gap: 0;
  overflow-y: auto;
}
.nav-menu-btn { display: none; background: none; border: none; color: var(--violet-light); font-size: 1.4rem; cursor: pointer; }

/* ── HERO ── */
#hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; padding: 8rem 5% 4rem; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%,  rgba(168,85,247,.35) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(232,121,249,.2)  0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 60%, rgba(107,33,168,.3)   0%, transparent 60%);
  animation: pulse-bg 8s ease-in-out infinite alternate;
}
@keyframes pulse-bg { from { opacity: .8; } to { opacity: 1; } }

.orb { position: absolute; border-radius: 50%; filter: blur(60px); animation: float-orb 10s ease-in-out infinite alternate; pointer-events: none; }
.orb-1 { width: 300px; height: 300px; background: rgba(168,85,247,.25); top: 10%;   left: -5%;  animation-delay: 0s;  }
.orb-2 { width: 200px; height: 200px; background: rgba(232,121,249,.2); top: 60%;   right: -3%; animation-delay: -3s; }
.orb-3 { width: 150px; height: 150px; background: rgba(107,33,168,.3);  bottom: 10%; left: 30%; animation-delay: -6s; }
@keyframes float-orb { from { transform: translateY(0) scale(1); } to { transform: translateY(-40px) scale(1.1); } }

.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-logo { display: none; }
@keyframes logo-glow {
  from { filter: drop-shadow(0 0 20px rgba(168,85,247,.5)); }
  to   { filter: drop-shadow(0 0 50px rgba(232,121,249,.8)); }
}
.hero-tag {
  display: inline-block; background: var(--glass); border: 1px solid var(--glass-border);
  color: var(--pink-soft); font-size: .75rem; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; padding: .4rem 1.2rem; border-radius: 100px;
  margin-bottom: 1.5rem; backdrop-filter: blur(10px);
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 10vw, 7rem); line-height: .9; letter-spacing: 3px;
  background: linear-gradient(135deg, #fff 0%, var(--violet-light) 40%, var(--pink-accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 1.2rem; animation: fade-up 1s ease-out both;
}
.hero-sub {
  font-size: 1.1rem; font-weight: 300; color: var(--violet-light); line-height: 1.7;
  max-width: 520px; margin: 0 auto 2.5rem; animation: fade-up 1s .2s ease-out both;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: fade-up 1s .4s ease-out both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.heartbeat-line { position: absolute; bottom: 0; left: 0; width: 100%; opacity: .15; }

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, var(--violet-mid), var(--pink-accent));
  color: #fff; border: none; padding: .9rem 2.2rem; border-radius: 100px;
  font-family: 'Outfit', sans-serif; font-size: .9rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: transform .3s, box-shadow .3s; box-shadow: 0 4px 30px rgba(168,85,247,.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 40px rgba(232,121,249,.5); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; padding: 1rem; border-radius: 14px; font-size: 1rem; text-align: center; }

.btn-ghost {
  background: transparent; color: var(--violet-light); border: 1px solid var(--glass-border);
  padding: .9rem 2.2rem; border-radius: 100px; font-family: 'Outfit', sans-serif;
  font-size: .9rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: all .3s; backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--glass); border-color: var(--violet-bright); color: var(--pink-soft); }

/* ── SECTION BASE ── */
section { position: relative; padding: 6rem 5%; z-index: 1; }
.section-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--pink-accent); margin-bottom: .7rem; }
.section-title {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: 2px;
  background: linear-gradient(135deg, #fff, var(--violet-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: .5rem; line-height: 1;
}
.section-desc { color: rgba(216,180,254,.7); font-size: 1rem; font-weight: 300; max-width: 500px; line-height: 1.7; margin-bottom: 3rem; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto; }
.section-header .section-desc { margin: 0 auto 3rem; }
.divider { width: 60px; height: 3px; background: linear-gradient(90deg, var(--violet-bright), var(--pink-accent)); border-radius: 3px; margin: 1rem 0 1.5rem; }
.divider.centered { margin: 1rem auto 1.5rem; }

/* ── SOBRE MÍ ── */
#sobre { background: linear-gradient(180deg, var(--violet-deep) 0%, rgba(45,17,85,.5) 100%); }
.sobre-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: center; max-width: 1100px; margin: 0 auto; }
.sobre-visual { position: relative; }
.sobre-img-wrap { position: relative; width: 100%; aspect-ratio: 3/4; border-radius: 30px; overflow: hidden; background: linear-gradient(135deg, var(--violet-dark), var(--violet-mid)); border: 1px solid var(--glass-border); }
.sobre-img-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; background: linear-gradient(135deg, rgba(107,33,168,.4), rgba(232,121,249,.1)); }
.sobre-img-placeholder svg  { width: 80px; opacity: .4; }
.sobre-img-placeholder span { font-size: .8rem; color: var(--violet-light); opacity: .5; letter-spacing: 2px; }
.sobre-badge { position: absolute; bottom: -20px; right: -20px; background: linear-gradient(135deg, var(--violet-mid), var(--pink-accent)); border-radius: 20px; padding: 1.2rem 1.5rem; text-align: center; box-shadow: 0 10px 40px rgba(168,85,247,.4); }
.sobre-badge .num   { font-family: 'Bebas Neue', sans-serif; font-size: 2.8rem; color: #fff; line-height: 1; }
.sobre-badge .label { font-size: .7rem; font-weight: 600; letter-spacing: 1px; color: rgba(255,255,255,.8); text-transform: uppercase; }
.sobre-p        { color: rgba(216,180,254,.8); line-height: 1.9; font-size: .95rem; margin-bottom: 1rem; }
.sobre-p strong { color: var(--pink-soft); }
.stats-row  { display: flex; gap: 2rem; margin-top: 2.5rem; }
.stat-num   { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; background: linear-gradient(135deg, var(--violet-bright), var(--pink-accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.stat-label { font-size: .75rem; color: var(--violet-light); font-weight: 500; letter-spacing: 1px; text-transform: uppercase; opacity: .7; }

/* ── SERVICIOS ── */
#servicios { background: linear-gradient(180deg, rgba(45,17,85,.3) 0%, var(--violet-deep) 100%); }
.servicios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.servicio-card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 24px; padding: 2.5rem 2rem; backdrop-filter: blur(10px); transition: transform .3s, border-color .3s, box-shadow .3s; position: relative; overflow: hidden; }
.servicio-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--violet-mid), var(--pink-accent)); opacity: 0; transition: opacity .3s; }
.servicio-card:hover { transform: translateY(-8px); border-color: rgba(168,85,247,.5); box-shadow: 0 20px 60px rgba(168,85,247,.2); }
.servicio-card:hover::before { opacity: 1; }
.card-featured { border-color: rgba(232,121,249,.4); background: linear-gradient(135deg, rgba(107,33,168,.2), rgba(232,121,249,.08)); }
.featured-tag { position: absolute; top: 1rem; right: 1rem; background: linear-gradient(135deg, var(--violet-mid), var(--pink-accent)); color: #fff; font-size: .65rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: .3rem .8rem; border-radius: 100px; }
.servicio-icon { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--violet-mid), var(--pink-accent)); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.5rem; box-shadow: 0 4px 20px rgba(168,85,247,.3); }
.servicio-name  { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: 1px; color: #fff; margin-bottom: .7rem; }
.servicio-desc  { font-size: .9rem; color: rgba(216,180,254,.7); line-height: 1.7; margin-bottom: 1.5rem; }
.servicio-price { display: flex; align-items: baseline; gap: .3rem; }
.price-amount   { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--pink-accent); }
.price-period   { font-size: .8rem; color: var(--violet-light); opacity: .6; }
.servicio-features    { list-style: none; margin-top: 1.2rem; display: flex; flex-direction: column; gap: .6rem; }
.servicio-features li { font-size: .85rem; color: var(--violet-light); display: flex; align-items: center; gap: .6rem; }
.servicio-features li::before { content: '\2736'; color: var(--pink-accent); font-size: .6rem; flex-shrink: 0; }

/* ── RESULTADOS ── */
#resultados { background: linear-gradient(180deg, var(--violet-deep), rgba(45,17,85,.4)); }
.resultados-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.resultado-card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 24px; overflow: hidden; backdrop-filter: blur(10px); transition: transform .3s; }
.resultado-card:hover { transform: translateY(-6px); }
.before-after { display: grid; grid-template-columns: 1fr 1fr; position: relative; height: 260px; }
.ba-panel { display: flex; align-items: flex-end; justify-content: center; padding-bottom: .8rem; position: relative; overflow: hidden; }
.ba-panel.before { background: linear-gradient(180deg, rgba(45,17,85,.8), rgba(107,33,168,.3)); }
.ba-panel.after  { background: linear-gradient(180deg, rgba(107,33,168,.5), rgba(232,121,249,.2)); }
.ba-label { font-size: .65rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; padding: .3rem .8rem; border-radius: 100px; backdrop-filter: blur(10px); position: relative; z-index: 2; }
.ba-panel.before .ba-label { background: rgba(255,255,255,.1); color: var(--violet-light); border: 1px solid rgba(255,255,255,.15); }
.ba-panel.after  .ba-label { background: linear-gradient(135deg, var(--violet-mid), var(--pink-accent)); color: #fff; }
.ba-divider { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: 2px; background: linear-gradient(180deg, transparent, var(--pink-accent), transparent); z-index: 2; }
.ba-divider-circle { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--pink-accent); display: flex; align-items: center; justify-content: center; z-index: 3; font-size: .7rem; color: #fff; font-weight: 700; }
.ba-silhouette { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: .15; }
.ba-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.resultado-info { padding: 1.2rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.resultado-info .name   { font-weight: 600; font-size: .9rem; color: #fff; }
.resultado-info .detail { font-size: .75rem; color: var(--violet-light); opacity: .6; }
.resultado-stat { background: linear-gradient(135deg, var(--violet-mid), var(--pink-accent)); border-radius: 10px; padding: .4rem .8rem; text-align: center; }
.resultado-stat .delta       { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; color: #fff; line-height: 1; }
.resultado-stat .delta-label { font-size: .6rem; color: rgba(255,255,255,.7); letter-spacing: 1px; text-transform: uppercase; }
.resultados-nota { text-align: center; margin-top: 2rem; font-size: .75rem; color: rgba(216,180,254,.35); letter-spacing: 1px; }

/* ── TESTIMONIOS ── */
#testimonios { background: linear-gradient(180deg, rgba(45,17,85,.3) 0%, var(--violet-deep) 100%); }
.testimonios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.testimonio-card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 24px; padding: 2rem; backdrop-filter: blur(10px); transition: transform .3s; position: relative; }
.testimonio-card:hover { transform: translateY(-5px); }
.quote-mark    { font-family: 'Bebas Neue', sans-serif; font-size: 5rem; line-height: .5; color: var(--violet-bright); opacity: .3; margin-bottom: 1rem; display: block; }
.testimonio-text { font-size: .95rem; color: var(--violet-light); line-height: 1.8; font-style: italic; margin-bottom: 1.5rem; }
.testimonio-author { display: flex; align-items: center; gap: .8rem; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--violet-mid), var(--pink-accent)); display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; color: #fff; flex-shrink: 0; }
.author-name   { font-weight: 600; font-size: .9rem; color: #fff; }
.author-detail { font-size: .75rem; color: var(--violet-light); opacity: .6; }
.stars         { position: absolute; top: 1.5rem; right: 1.5rem; color: var(--pink-accent); font-size: .75rem; letter-spacing: 2px; }

/* ── CONTACTO ── */
#contacto { background: linear-gradient(180deg, var(--violet-deep), var(--violet-dark)); }
.contacto-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.contacto-box { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 32px; padding: 3.5rem 3rem; backdrop-filter: blur(20px); margin-top: 2rem; position: relative; overflow: hidden; }
.contacto-box::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(168,85,247,.08) 0%, transparent 70%); pointer-events: none; }
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; position: relative; }
.input-wrap.full { grid-column: 1 / -1; }
.form-input { width: 100%; background: rgba(45,17,85,.5); border: 1px solid var(--glass-border); border-radius: 14px; padding: 1rem 1.2rem; color: var(--white); font-family: 'Outfit', sans-serif; font-size: .9rem; outline: none; transition: border-color .3s, box-shadow .3s; appearance: none; }
.form-input::placeholder { color: rgba(216,180,254,.4); }
.form-input:focus { border-color: var(--violet-bright); box-shadow: 0 0 20px rgba(168,85,247,.15); }
textarea.form-input { resize: vertical; min-height: 120px; }
select.form-input { cursor: pointer; }
option { background: #1a0a2e; color: var(--white); }
.form-msg { padding: .9rem 1.2rem; border-radius: 12px; font-size: .9rem; font-weight: 500; margin-bottom: 1.2rem; text-align: center; }
.form-msg.ok    { background: rgba(37,211,102,.15); border: 1px solid rgba(37,211,102,.3); color: #6effa5; }
.form-msg.error { background: rgba(239,68,68,.15);  border: 1px solid rgba(239,68,68,.3);  color: #fca5a5; }
.hidden { display: none; }
.whatsapp-btn { display: inline-flex; align-items: center; gap: .8rem; background: linear-gradient(135deg, #6b21a8, #e879f9); color: #fff; border: none; padding: 1rem 2.5rem; border-radius: 100px; font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 1px; cursor: pointer; text-decoration: none; transition: transform .3s, box-shadow .3s; box-shadow: 0 4px 30px rgba(168,85,247,.35); margin-top: 1.5rem; }
.whatsapp-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 40px rgba(232,121,249,.4); }
.contact-info { display: flex; justify-content: center; gap: 2.5rem; margin-top: 2.5rem; flex-wrap: wrap; }
.contact-item { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--violet-light); opacity: .7; }

/* ── FOOTER ── */
footer { background: var(--violet-dark); border-top: 1px solid var(--glass-border); padding: 2.5rem 5%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { display: flex; align-items: center; gap: .6rem; }
.footer-logo img { height: 36px; border-radius: 50%; }
.footer-logo span { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; letter-spacing: 2px; background: linear-gradient(135deg, var(--violet-light), var(--pink-accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.footer-text { font-size: .8rem; color: rgba(216,180,254,.4); text-align: center; }
.footer-social { display: flex; gap: .8rem; }
.social-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(168,85,247,.1); border: 1px solid rgba(168,85,247,.25); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .25s; text-decoration: none; color: rgba(216,180,254,.7); }
.social-icon:hover { background: rgba(168,85,247,.25); transform: translateY(-3px); color: #e879f9; box-shadow: 0 4px 15px rgba(168,85,247,.3); }

/* ── FLOATING WA ── */
.wa-float { position: fixed; bottom: 2rem; right: 2rem; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, #6b21a8, #e879f9); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; cursor: pointer; z-index: 200; box-shadow: 0 4px 25px rgba(168,85,247,.4); transition: transform .3s; text-decoration: none; animation: wa-bounce 2s ease-in-out infinite; }
@keyframes wa-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.wa-float:hover { transform: scale(1.1); animation: none; }

/* ── SCROLL REVEAL ── */
.reveal         { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(10,4,26,.98); backdrop-filter: blur(20px);
    padding: 5rem 8% 2rem; z-index: 99; gap: 0; overflow-y: auto;
  }
  .nav-links.open li { border-bottom: 1px solid rgba(168,85,247,.15); }
  .nav-links.open a { display: block; padding: 1.1rem 0; font-size: 1.15rem; color: rgba(216,180,254,.9); }
  .nav-links.open a:hover { color: var(--pink-accent); padding-left: .5rem; transition: all .2s; }
  .nav-menu-btn { display: block; z-index: 1000; position: relative; }
  .sobre-grid   { grid-template-columns: 1fr; gap: 3rem; }
  .sobre-badge  { bottom: -15px; right: -5px; }
  .contacto-grid { grid-template-columns: 1fr; }
  .contacto-box  { padding: 2rem 1.5rem; }
  footer         { flex-direction: column; text-align: center; }
  .footer-logo   { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — amplified mobile breakpoints
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Tablet 768px ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0; z-index: 999;
    gap: 0; padding: 5rem 5% 2rem;
  }
  .nav-links.open li { border-bottom: 1px solid rgba(168,85,247,.1); }
  .nav-links.open a { display: block; padding: 1rem 0; font-size: 1.1rem; }
  .nav-menu-btn { display: block; z-index: 1000; position: relative; }
  .sobre-grid   { grid-template-columns: 1fr; gap: 3rem; }
  .sobre-badge  { bottom: -15px; right: -5px; }
  .contacto-grid { grid-template-columns: 1fr; }
  .contacto-box  { padding: 2rem 1.5rem; }
  footer         { flex-direction: column; text-align: center; }
  .footer-logo   { justify-content: center; }

  /* Hero */
  #hero { padding: 6rem 5% 3rem; }
  .hero-content { max-width: 100%; }
  .hero-title { font-size: clamp(2.8rem, 14vw, 5rem); }
  .hero-sub { font-size: .95rem; }
  .hero-ctas { flex-direction: column; align-items: center; gap: .7rem; }
  .hero-ctas .btn, .hero-ctas .btn-outline { width: 100%; max-width: 320px; text-align: center; justify-content: center; }

  /* Sections */
  section { padding: 4rem 5%; }
  .section-title { font-size: clamp(2rem, 8vw, 3rem); }
  .section-desc { font-size: .9rem; }

  /* Sobre */
  .sobre-grid   { grid-template-columns: 1fr; gap: 2.5rem; }
  .sobre-badge  { bottom: -15px; right: -5px; }
  .sobre-img-placeholder { height: 260px; }

  /* Servicios, resultados, testimonios — ya usan auto-fit pero ajustamos min */
  .servicios-grid  { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
  .resultados-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .testimonios-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* Contacto */
  .contacto-grid { grid-template-columns: 1fr; }
  .contacto-box  { padding: 2rem 1.2rem; }

  /* Footer */
  footer         { flex-direction: column; text-align: center; gap: 1rem; }
  .footer-logo   { justify-content: center; }
}

/* ── Mobile small 480px ─────────────────────────────────────────────────── */
@media (max-width: 480px) {
  nav { padding: .8rem 4%; }
  #hero { padding: 5rem 4% 2.5rem; }
  section { padding: 3rem 4%; }
  .contacto-box { padding: 1.5rem 1rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   NUEVAS SECCIONES — Cómo funciona, FAQ, Urgencia
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Urgencia banner ────────────────────────────────────────────────────── */
.urgencia-banner {
  display: flex; align-items: center; justify-content: center;
  gap: .6rem; flex-wrap: wrap;
  background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.2);
  border-radius: 100px; padding: .55rem 1.4rem;
  font-size: .82rem; color: #fbbf24; font-weight: 600;
  margin: 0 auto 2rem; max-width: fit-content;
}
.urgencia-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #6effa5;
  animation: pulse-dot 1.5s ease-in-out infinite; flex-shrink: 0;
}
.urgencia-sep { opacity: .4; }
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.7); }
}

/* ── Cómo funciona ──────────────────────────────────────────────────────── */
.como-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; max-width: 1100px; margin: 0 auto;
  position: relative;
}
.como-grid::before {
  content: ''; position: absolute; top: 48px; left: 12%; right: 12%;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(168,85,247,.3), transparent);
  pointer-events: none;
}
.como-step {
  background: rgba(45,17,85,.4); border: 1px solid rgba(168,85,247,.18);
  border-radius: 20px; padding: 2rem 1.5rem; text-align: center;
  position: relative; transition: transform .25s, border-color .25s;
}
.como-step:hover { transform: translateY(-6px); border-color: rgba(168,85,247,.4); }
.como-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 3rem; line-height: 1;
  background: linear-gradient(135deg, rgba(168,85,247,.2), rgba(232,121,249,.1));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: .3rem;
}
.como-icon { font-size: 2.2rem; margin-bottom: .8rem; }
.como-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; letter-spacing: 1px;
  color: #fff; margin-bottom: .6rem;
}
.como-desc { font-size: .85rem; color: rgba(216,180,254,.65); line-height: 1.7; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: .6rem; }
.faq-item {
  background: rgba(45,17,85,.35); border: 1px solid rgba(168,85,247,.15);
  border-radius: 14px; overflow: hidden; transition: border-color .2s;
}
.faq-item.open { border-color: rgba(168,85,247,.4); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.1rem 1.4rem;
  background: none; border: none; cursor: pointer;
  text-align: left; font-family: 'Outfit', sans-serif;
  font-size: .95rem; font-weight: 600; color: #fff;
  transition: color .2s;
}
.faq-q:hover { color: var(--pink-accent); }
.faq-icon {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(168,85,247,.15); border: 1px solid rgba(168,85,247,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--violet-light);
  transition: transform .25s, background .2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(168,85,247,.3); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .25s;
  padding: 0 1.4rem;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 1.4rem 1.2rem; }
.faq-a p { font-size: .88rem; color: rgba(216,180,254,.7); line-height: 1.8; }

/* ── Confetti animation ─────────────────────────────────────────────────── */
@keyframes confetti-fall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(200px) rotate(720deg); opacity: 0; }
}

/* ── Nav activo mejorado ────────────────────────────────────────────────── */
.nav-links a.active { color: var(--pink-accent) !important; }

/* ── Form input valid/invalid feedback ─────────────────────────────────── */
.form-input:focus { outline: none; border-color: rgba(168,85,247,.6) !important; }

/* ── Responsive nuevas secciones ────────────────────────────────────────── */
@media (max-width: 768px) {
  .como-grid::before { display: none; }
  .como-step { padding: 1.5rem 1.2rem; }
  .faq-q { font-size: .88rem; padding: 1rem 1.1rem; }
  .urgencia-banner { font-size: .75rem; border-radius: 14px; text-align: center; }
}
