/* =============================================================
   BENNU EVENTOS — styles.css
   1. Tokens · 2. Reset · 3. Utilidades · 4. Tipografía
   5. Botones · 6. Header/Nav · 7. Hero · 8. Intro · 9. Opiniones
   10. Características · 11. Servicios · 12. Estilos/Timeline
   13. Galería · 14. Sobre mí · 15. Footer · 16. WhatsApp
   17. Lightbox · 18. Reveals · 19. Responsive · 20. Reduced-motion
   ============================================================= */

/* === 1. TOKENS ============================================== */
:root {
  --rosa:        #e8a0c4;
  --rosa-soft:   #f6d6e4;
  --rosa-veil:   #fdeef5;
  --rosa-deep:   #d6739e;
  --celeste:     #9fcfe6;
  --celeste-soft:#cde7f0;
  --celeste-deep:#7fb9d9;
  --blanco:      #ffffff;
  --cream:       #fff8fb;
  --cream-2:     #f7eef4;
  --ink:         #4a2e3e;
  --ink-soft:    #7c6074;
  --line:        rgba(74,46,64,.12);

  --grad-brand:  linear-gradient(135deg, var(--rosa-soft) 0%, var(--celeste-soft) 100%);
  --grad-soft:   linear-gradient(160deg, var(--cream) 0%, var(--rosa-veil) 100%);

  --shadow-sm: 0 4px 18px rgba(214,115,158,.10);
  --shadow-md: 0 16px 44px rgba(150,100,140,.16);
  --shadow-lg: 0 30px 80px rgba(120,70,120,.22);

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --sans:    "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif:   "Fraunces", "Playfair Display", Georgia, serif;
  --cormo:   "Cormorant Garamond", Georgia, serif;
  --script:  "Great Vibes", "Brush Script MT", cursive;

  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.4rem);
  --header-h: 76px;
}

/* === 2. RESET =============================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
  scroll-padding-top: var(--header-h);
}
body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.1; font-weight: 500; }
::selection { background: var(--rosa); color: var(--blanco); }
:focus-visible { outline: 2px solid var(--rosa-deep); outline-offset: 3px; border-radius: 6px; }

/* === 3. UTILIDADES ========================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: fixed; top: -120px; left: 1rem; z-index: 9999;
  padding: .65rem 1.1rem; background: var(--blanco); color: var(--ink);
  border-radius: 10px; box-shadow: var(--shadow-md); font-weight: 500;
}
.skip-link:focus { top: 1rem; }
.script { font-family: var(--script); font-weight: 400; }

/* === 4. TIPOGRAFÍA ========================================= */
.section-kicker {
  font-family: var(--script);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--rosa-deep);
  line-height: 1;
  margin-bottom: .35rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.section-lead {
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  margin-bottom: 2.6rem;
}

/* Centrado por defecto de cabeceras de sección */
.testimonials .container,
.features .container,
.services .container,
.styles .container,
.gallery .container { text-align: center; }
.testimonials .section-lead,
.services .section-lead,
.styles .section-lead { margin-inline: auto; }

/* === 5. BOTONES ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .95rem 2rem;
  border-radius: 999px;
  font-weight: 500; font-size: 1rem; letter-spacing: .01em;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background .4s;
  will-change: transform;
}
.btn--solid {
  background: linear-gradient(120deg, var(--rosa-deep), var(--rosa));
  color: var(--blanco);
  box-shadow: 0 12px 30px rgba(214,115,158,.4);
}
.btn--solid:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(214,115,158,.5); }
.btn--outline {
  border: 1.5px solid var(--rosa-deep);
  color: var(--rosa-deep);
  background: rgba(255,255,255,.5);
}
.btn--outline:hover { background: var(--rosa-deep); color: var(--blanco); transform: translateY(-3px); }

/* === 6. HEADER / NAV ======================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  height: var(--header-h);
  display: flex; align-items: center;
  /* Fondo claro siempre: el logo tiene fondo blanco y debe integrarse. */
  background: rgba(255,248,251,.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background .4s var(--ease-out), box-shadow .4s, height .4s;
}
@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .site-header { background: rgba(255,248,251,.96); }
}
.site-header.is-scrolled {
  background: rgba(255,248,251,.92);
  box-shadow: 0 6px 26px rgba(150,100,140,.12);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; }
.brand-logo {
  height: 50px; width: auto; object-fit: contain;
  transition: height .4s var(--ease-out);
  filter: drop-shadow(0 2px 6px rgba(214,115,158,.18));
}
.site-header.is-scrolled .brand-logo { height: 44px; }

.nav-menu { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.2rem); }
.nav-menu a {
  position: relative; font-size: 1rem; font-weight: 400; color: var(--ink);
  padding: .3rem 0; transition: color .3s;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--rosa-deep); transition: width .35s var(--ease-out);
}
.nav-menu a:hover, .nav-menu a.is-current { color: var(--rosa-deep); }
.nav-menu a:hover::after, .nav-menu a.is-current::after { width: 100%; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === 7. HERO =============================================== */
.hero { position: relative; height: 100vh; min-height: 100svh; overflow: hidden; }
.hero-carousel { position: absolute; inset: 0; overflow: hidden; }
/* Pista horizontal: las diapositivas se deslizan de izquierda a derecha */
.hero-track {
  position: absolute; inset: 0;
  display: flex; width: 100%; height: 100%;
  will-change: transform;
  transition: transform 1s var(--ease-soft);
}
.hero-track.no-anim { transition: none; }
.hero-slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02); transition: transform 6s ease-out;
}
.hero-slide.is-active img { transform: scale(1.1); }

.hero-carousel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(60,38,54,.34) 0%, rgba(60,38,54,.30) 45%, rgba(60,38,54,.6) 100%);
}
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.1rem; color: var(--blanco);
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .3s, transform .3s;
}
.hero-arrow:hover { background: rgba(255,255,255,.32); }
.hero-arrow--prev { left: clamp(.6rem, 2vw, 1.6rem); }
.hero-arrow--next { right: clamp(.6rem, 2vw, 1.6rem); }

.hero-dots {
  position: absolute; bottom: 1.7rem; left: 50%; transform: translateX(-50%); z-index: 4;
  display: flex; gap: .6rem;
}
.hero-dots button {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,.45); border: 1px solid rgba(255,255,255,.7);
  transition: transform .3s, background .3s;
}
.hero-dots button.is-active { background: var(--blanco); transform: scale(1.25); }

.hero-overlay {
  position: relative; z-index: 3; height: 100%;
  display: flex; align-items: center;
}
.hero-content { max-width: 760px; color: var(--blanco); }
.hero-kicker {
  font-family: var(--script);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1; color: var(--rosa-soft);
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6.4vw, 5rem);
  font-weight: 500; line-height: 1.04; margin: .3rem 0 1.3rem;
  max-width: 16ch; text-shadow: 0 4px 30px rgba(0,0,0,.3);
}
.hero-text {
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  max-width: 54ch; color: rgba(255,255,255,.94);
  margin-bottom: 2.1rem; text-shadow: 0 1px 12px rgba(0,0,0,.3);
}

/* === 8. INTRO (galería breve + slogan) ===================== */
.intro { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--grad-soft); }
.intro-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.7rem, 1.6vw, 1.1rem);
}
.intro-photo {
  position: relative; overflow: hidden; border-radius: 18px;
  box-shadow: var(--shadow-sm); cursor: zoom-in; aspect-ratio: 4/3;
}
.intro-photo--tall { grid-row: span 2; aspect-ratio: 3/4; }
.intro-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.intro-photo:hover img { transform: scale(1.07); }
.slogan {
  text-align: center; font-family: var(--cormo);
  font-size: clamp(1.7rem, 4.4vw, 3rem); font-weight: 500;
  color: var(--ink); margin-top: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.25;
}
.slogan em { font-style: italic; color: var(--rosa-deep); }

/* === 9. OPINIONES ========================================== */
.testimonials { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--blanco); }
.t-carousel { display: flex; align-items: center; gap: .6rem; margin-top: 1rem; }
.t-viewport { overflow: hidden; flex: 1; }
.t-track { display: flex; transition: transform .7s var(--ease-out); }
.t-card {
  flex: 0 0 100%; padding: clamp(1.4rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
}
.t-stars { color: var(--rosa); letter-spacing: 3px; font-size: 1.2rem; }
.t-text {
  font-family: var(--cormo); font-style: italic;
  font-size: clamp(1.25rem, 3vw, 1.9rem); font-weight: 500;
  color: var(--ink); max-width: 40ch; line-height: 1.4;
}
.t-text::before { content: "“"; color: var(--rosa-soft); font-size: 2em; line-height: 0; vertical-align: -.35em; margin-right: .08em; }
.t-name { font-family: var(--serif); font-size: 1.2rem; color: var(--rosa-deep); margin-top: .6rem; }
.t-event { font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.t-arrow {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: var(--rosa-deep);
  background: var(--cream); box-shadow: var(--shadow-sm); transition: background .3s, transform .3s;
}
.t-arrow:hover { background: var(--rosa-soft); transform: scale(1.06); }
.t-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.2rem; }
.t-dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--rosa-soft); transition: transform .3s, background .3s; }
.t-dots button.is-active { background: var(--rosa-deep); transform: scale(1.3); }

/* === 10. CARACTERÍSTICAS =================================== */
.features { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--grad-soft); }
.features-grid {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(1rem, 2.4vw, 1.6rem); margin-top: 1rem; text-align: center;
  align-items: stretch;
}
.feature-card {
  background: var(--blanco); border-radius: 20px; padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(255,255,255,.6);
  transition: transform .45s var(--ease-out), box-shadow .45s;
  display: flex; flex-direction: column; align-items: center; height: 100%;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-icon {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px;
  background: var(--grad-brand); color: var(--rosa-deep); margin-bottom: 1.1rem;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: .4rem; }
.feature-card p { color: var(--ink-soft); font-size: .98rem; }

/* === 11. SERVICIOS ========================================= */
.services { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--blanco); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem); margin-top: 1rem; text-align: left;
}
.service-card {
  position: relative; overflow: hidden; border-radius: 22px;
  box-shadow: var(--shadow-sm); cursor: pointer; isolation: isolate;
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.service-card:hover, .service-card:focus-visible, .service-card.is-open {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
}
.service-media { aspect-ratio: 4/5; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.service-card:hover .service-media img,
.service-card.is-open .service-media img { transform: scale(1.08); }
.service-body {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem 1.5rem 1.6rem;
  color: var(--blanco);
  background: linear-gradient(180deg, transparent, rgba(60,38,54,.5) 35%, rgba(60,38,54,.86));
}
.service-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.service-desc, .service-link {
  opacity: 0; max-height: 0; overflow: hidden;
  transform: translateY(8px);
  transition: opacity .45s var(--ease-out), max-height .5s var(--ease-out), transform .45s var(--ease-out), margin .45s;
}
.service-desc { font-size: .98rem; color: rgba(255,255,255,.92); }
.service-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 500; color: var(--blanco);
  border-bottom: 1.5px solid var(--rosa-soft); padding-bottom: 2px;
}
.service-card:hover .service-desc, .service-card:focus-within .service-desc, .service-card.is-open .service-desc,
.service-card:hover .service-link, .service-card:focus-within .service-link, .service-card.is-open .service-link {
  opacity: 1; max-height: 120px; transform: none;
}
.service-card:hover .service-desc, .service-card:focus-within .service-desc, .service-card.is-open .service-desc { margin-top: .6rem; }
.service-card:hover .service-link, .service-card:focus-within .service-link, .service-card.is-open .service-link { margin-top: .9rem; }

/* === 12. ESTILOS (grilla de tarjetas) ===================== */
.styles { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--grad-soft); }
/* Flex centrado: las 5 tarjetas se equilibran (3 + 2 centradas) sin huérfanas */
.styles-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(1.1rem, 2.6vw, 1.8rem); margin-top: 1.4rem; text-align: left;
}
.style-card {
  flex: 1 1 300px; max-width: 380px;
  display: flex; flex-direction: column;
  background: var(--blanco); border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(255,255,255,.7);
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.style-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.style-media { overflow: hidden; cursor: zoom-in; }
.style-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .7s var(--ease-out); }
.style-card:hover .style-media img { transform: scale(1.07); }
.style-body { padding: 1.4rem 1.5rem 1.7rem; display: flex; flex-direction: column; gap: .5rem; }
.style-name {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 600;
  color: var(--rosa-deep); position: relative; padding-bottom: .6rem;
}
.style-name::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 42px; height: 2px;
  background: linear-gradient(90deg, var(--rosa), var(--celeste)); border-radius: 2px;
}
.style-desc { color: var(--ink-soft); font-size: 1rem; line-height: 1.65; }

/* Estilo Moderno: collage de 3 fotos en el mismo espacio (4/5) que las demás tarjetas */
.style-collage {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 5px; aspect-ratio: 4/5; background: var(--cream);
}
.style-collage figure { margin: 0; overflow: hidden; position: relative; }
.style-collage figure:nth-child(1) { grid-row: 1 / 3; }
.style-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.style-card:hover .style-collage img { transform: scale(1.06); }

/* === 13. GALERÍA ========================================== */
.gallery { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--blanco); }
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: .4rem 0 2.4rem; }
.filter-btn {
  padding: .55rem 1.3rem; border-radius: 999px; font-size: .95rem; color: var(--ink-soft);
  background: var(--cream); border: 1px solid var(--line);
  transition: background .3s, color .3s, transform .3s, box-shadow .3s;
}
.filter-btn:hover { transform: translateY(-2px); }
.filter-btn.is-active {
  background: linear-gradient(120deg, var(--rosa-deep), var(--rosa));
  color: var(--blanco); box-shadow: 0 8px 20px rgba(214,115,158,.32);
}
.gallery-grid { columns: 4 230px; column-gap: clamp(.7rem, 1.6vw, 1.1rem); }
.gallery-item {
  break-inside: avoid; margin-bottom: clamp(.7rem, 1.6vw, 1.1rem);
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm);
  cursor: zoom-in; position: relative;
}
.gallery-item img { width: 100%; transition: transform .6s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.is-hidden { display: none; }
.gallery-item.is-in { animation: galFade .55s var(--ease-out) both; }
@keyframes galFade { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }

/* === 14. SOBRE MÍ ========================================= */
.about { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--grad-soft); }
.about-inner { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3.6rem); align-items: center; }
.about-photo { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); max-width: 440px; }
.about-photo::after {
  content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.6); border-radius: 24px; pointer-events: none;
}
.about-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-title { font-family: var(--serif); font-size: clamp(2rem, 5.5vw, 3.2rem); margin-bottom: 1rem; }
.about-title .script { color: var(--rosa-deep); font-size: 1.25em; }
.about-text p { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 1.1rem; max-width: 56ch; }
.about-quote { font-family: var(--cormo); font-style: italic; font-size: 1.4rem; color: var(--ink); }
.about .btn { margin-top: .6rem; }

/* === 15. FOOTER =========================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.86); padding: clamp(3rem, 6vw, 4.5rem) 0 1.8rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: center; }
.footer-logo { height: 84px; width: auto; background: var(--blanco); padding: 10px 16px; border-radius: 14px; }
.footer-tag { margin-top: .8rem; font-family: var(--cormo); font-style: italic; font-size: 1.15rem; color: var(--rosa-soft); }
.footer-social { display: flex; gap: .9rem; }
.footer-social a {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .95rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.82);
  font-size: .95rem; transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.footer-social a:hover { background: rgba(255,255,255,.09); color: #fff; border-color: rgba(255,255,255,.42); transform: translateY(-2px); }
.footer-social svg { flex: 0 0 auto; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center;
  margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.14);
}
.footer-rights { font-size: .9rem; color: rgba(255,255,255,.6); }

/* Firma PatagonIA — tipográfica, con "IA" resaltada (referencia sutil a IA) */
.footer-credit { display: inline-flex; align-items: baseline; gap: .42rem; font-size: .84rem; color: rgba(255,255,255,.5); }
.footer-credit-pre { letter-spacing: .02em; }
.sig {
  font-family: var(--serif); font-weight: 600; font-size: 1.04rem; letter-spacing: .005em;
  color: rgba(255,255,255,.86); position: relative; display: inline-block;
}
.sig-ia {
  position: relative; font-style: italic; padding-right: .04em;
  background: linear-gradient(120deg, var(--rosa) 0%, var(--celeste) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.sig-ia::after {
  content: ""; position: absolute; left: 0; right: .04em; bottom: -2px; height: 1.5px;
  background: linear-gradient(90deg, var(--rosa), var(--celeste)); border-radius: 2px; opacity: .85;
}
.sig-ia::before {
  content: "\2726"; /* ✦ destello — guiño a la inteligencia artificial */
  position: absolute; top: -.5em; right: -.6em; font-size: .5em; line-height: 1;
  color: var(--celeste); -webkit-text-fill-color: var(--celeste);
  filter: drop-shadow(0 0 4px rgba(159,207,230,.9));
  animation: sigSpark 2.8s ease-in-out infinite;
}
@keyframes sigSpark {
  0%, 100% { opacity: .45; transform: scale(.85) rotate(0deg); }
  50%      { opacity: 1;   transform: scale(1.12) rotate(18deg); }
}

/* === 16. WHATSAPP FLOTANTE ================================ */
.wsp-float {
  position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: clamp(1rem, 3vw, 1.8rem); z-index: 950;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; color: var(--blanco);
  background: linear-gradient(135deg, #2ad15f, #128c4a);
  box-shadow: 0 12px 30px rgba(18,140,74,.42);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.wsp-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 16px 38px rgba(18,140,74,.55); }
.wsp-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(42,209,95,.6); animation: wspPulse 2.4s var(--ease-out) infinite;
}
@keyframes wspPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

/* === 17. LIGHTBOX ========================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center; padding: 4vw;
  background: rgba(40,24,36,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.lightbox.is-open { display: flex; animation: lbIn .35s var(--ease-out); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-img { max-width: min(94vw, 1100px); max-height: 86vh; border-radius: 12px; box-shadow: var(--shadow-lg); animation: lbZoom .4s var(--ease-out); }
@keyframes lbZoom { from { transform: scale(.94); opacity: .6; } to { transform: none; opacity: 1; } }
.lb-close, .lb-nav {
  position: absolute; color: var(--blanco); width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3); transition: background .3s; font-size: 1.2rem;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.3); }
.lb-close { top: 4vw; right: 4vw; font-size: 1.8rem; }
.lb-nav--prev { left: 3vw; top: 50%; transform: translateY(-50%); }
.lb-nav--next { right: 3vw; top: 50%; transform: translateY(-50%); }

/* === 18. REVEALS ========================================== */
/* Solo se ocultan si el JS está activo (clase .js en <html>).
   Sin JS, todo el contenido es visible. */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; } /* defensa: nunca ocultar texto dividido */

/* === 19. RESPONSIVE ======================================= */
@media (min-width: 600px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) {
  .intro-grid { grid-template-columns: repeat(4, 1fr); }
  .about-inner { grid-template-columns: minmax(280px, 420px) 1fr; }
  .about-text { text-align: left; }
  .about .section-kicker { text-align: left; }
}
@media (min-width: 980px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 859px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: rgba(255,248,251,.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    padding: .6rem var(--gutter) 1.4rem; box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .45s var(--ease-out); pointer-events: none;
  }
  .nav-menu.is-open { transform: none; pointer-events: auto; }
  .nav-menu li { border-bottom: 1px solid var(--line); }
  .nav-menu a { display: block; padding: 1rem 0; font-size: 1.1rem; }
  .nav-menu a::after { display: none; }
}

@media (min-width: 860px) {
  .nav-menu { transform: none !important; pointer-events: auto !important; }
}

/* === 20. REDUCED MOTION (solo lo intrusivo) =============== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide img, .hero-slide.is-active img { transition: none; transform: scale(1.02); }
  .wsp-float::before { animation: none; }
  .sig-ia::before { animation: none; }
}
