/* ==========================================================
   Infinity Beauty · estilos
   Paleta rosa suave con degradados hacia orquídea y durazno.
   ========================================================== */

/* Tipografías alojadas en el propio sitio (subconjunto latino) */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("fonts/fraunces.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/fraunces-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/outfit.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #fff9fb;
  --surface: #ffffff;
  --blush: #fff0f6;
  --blush-2: #ffe3ef;
  --rose: #f9a8c9;
  --rose-deep: #db2777;
  --orchid: #c026d3;
  --ink: #3a1730;
  --ink-soft: #6e4a63;
  --line: rgba(219, 39, 119, .14);

  --grad-soft: linear-gradient(135deg, #ffe3ef 0%, #fbe3f6 50%, #ffeadf 100%);
  --grad-brand: linear-gradient(120deg, #f9a8c9 0%, #f472b6 50%, #e879f9 100%);
  --grad-cta: linear-gradient(120deg, #db2777 0%, #c026d3 100%);
  --grad-text: linear-gradient(120deg, #db2777 10%, #a21caf 90%);
  --grad-border: linear-gradient(140deg, #fbcfe8, #f5d0fe 60%, #ffe4d6);

  --shadow-sm: 0 2px 12px rgba(219, 39, 119, .08);
  --shadow: 0 24px 60px -24px rgba(190, 24, 93, .35);

  --radius: 28px;
  --header-h: 84px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  color-scheme: light;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Animaciones en pausa mientras no están en pantalla (ahorra batería) */
.is-paused, .is-paused * { animation-play-state: paused !important; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0;
}

p { margin: 0; }

a { color: inherit; }

:focus-visible { outline: 3px solid var(--rose-deep); outline-offset: 3px; border-radius: 6px; }

section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* La franja inclinada sobresale a propósito; se recorta sin crear barra horizontal */
main { overflow-x: clip; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: .7rem 1.1rem; border-radius: 12px;
  background: var(--ink); color: #fff; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.ico { width: 1.25em; height: 1.25em; flex: none; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  padding-right: .06em;
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--grad-cta);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(219, 39, 119, .65);
}
.btn--primary:hover { box-shadow: 0 20px 40px -14px rgba(219, 39, 119, .75); }

.btn--ghost {
  background: rgba(255, 255, 255, .75);
  border-color: var(--line);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.btn--white { background: #fff; color: var(--rose-deep); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .35); }
.btn--outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); }
.btn--sm { padding: .6rem 1.1rem; font-size: .95rem; }

/* ---------- Cabecera ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 249, 251, .72);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 28px -20px rgba(190, 24, 93, .55); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }

.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.brand__mark {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--grad-cta);
  box-shadow: 0 8px 18px -8px rgba(219, 39, 119, .7);
}
.brand__mark svg { width: 24px; height: 24px; color: #fff; }
.brand__logo {
  width: auto; height: 54px;
  border-radius: 12px;
  box-shadow: 0 8px 18px -10px rgba(58, 23, 48, .6);
}
.brand__logo--footer { height: 80px; border-radius: 16px; }

/* Logo oficial (fondo transparente) */
.brand__oficial { width: auto; height: 70px; }
.brand__oficial--footer { height: 54px; }

/* Logotipo de cabecera: isotipo (mariposa del logo) + "Infinity" + "BEAUTY" */
.brand__icon {
  flex: none; width: 46px; height: 46px; border-radius: 13px;
  box-shadow: 0 8px 18px -10px rgba(58, 23, 48, .6);
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand--lg { gap: .85rem; }
.brand--lg .brand__icon { width: 60px; height: 60px; border-radius: 17px; }
.brand--lg .brand__name { font-size: 2.1rem; }
.brand--lg .brand__sub { font-size: .72rem; }
.brand__name {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: 1.6rem; letter-spacing: -.01em; color: var(--ink);
}
.brand__sub {
  align-self: flex-end;
  margin-top: .28rem; padding-top: .26rem;
  border-top: 1.5px solid currentColor;
  font-family: var(--font-body); font-size: .6rem; font-weight: 600;
  letter-spacing: .42em; margin-right: -.42em; text-transform: uppercase;
  color: var(--rose-deep);
}

.nav__links { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  position: relative;
  color: var(--ink-soft); font-weight: 500; text-decoration: none;
  transition: color .2s ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--grad-cta); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */

.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6.5rem); }

.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* Degradados radiales en lugar de desenfoque: mismo efecto, mucho más liviano en celulares */
.blob {
  position: absolute; border-radius: 50%;
  animation: drift 18s ease-in-out infinite alternate;
  will-change: transform;
}
.blob--1 { width: 760px; height: 760px; background: radial-gradient(closest-side, rgba(255, 186, 216, .9), rgba(255, 186, 216, 0)); top: -300px; right: -260px; }
.blob--2 { width: 620px; height: 620px; background: radial-gradient(closest-side, rgba(243, 200, 254, .85), rgba(243, 200, 254, 0)); bottom: -260px; left: -240px; animation-delay: -6s; }
.blob--3 { width: 440px; height: 440px; background: radial-gradient(closest-side, rgba(255, 220, 200, .8), rgba(255, 220, 200, 0)); top: 28%; left: 34%; animation-delay: -12s; }
@keyframes drift { to { transform: translate3d(40px, -30px, 0) scale(1.08); } }

.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2.5rem, 5vw, 4rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem .95rem; border-radius: 999px;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line);
  font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--rose-deep);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-cta); box-shadow: 0 0 0 4px rgba(219, 39, 119, .15); }

.hero h1 { margin: 1.25rem 0 1.25rem; font-size: clamp(2.9rem, 8vw, 5.6rem); line-height: 1; }
.lead { max-width: 34rem; font-size: clamp(1.08rem, 2vw, 1.25rem); color: var(--ink-soft); }

.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

.hero__trust {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  margin: 2rem 0 0; padding: 0; list-style: none;
  font-size: .95rem; color: var(--ink-soft);
}
.hero__trust li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__trust .ico { color: var(--rose-deep); width: 1.1em; height: 1.1em; }

.art { position: relative; width: min(100%, 440px); margin-inline: auto; }
.art__frame {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 36px 36px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, .9) 0, rgba(255, 255, 255, 0) 38%),
    linear-gradient(165deg, #ffd3e6 0%, #f9b6d7 45%, #e7c8ff 100%);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .6);
}
.art__frame .hair { position: absolute; left: 50%; bottom: 0; width: 86%; transform: translateX(-50%); }

/* Ilustración animada del cabello (portada) */
.hair .h-top { fill: var(--top, #f7c6da); }
.hair .h-fill { fill: var(--hair, #3b2419); }
.hair .s-light, .hair .s-dark { fill: none; stroke-linecap: round; }
.hair .s-light { stroke: rgba(255, 255, 255, .16); stroke-width: 1.5; }
.hair .s-dark { stroke: rgba(0, 0, 0, .22); stroke-width: 1.2; }
.hair .h-shine { animation: shine 5s ease-in-out infinite; }
@keyframes shine { 0% { transform: translateX(0); } 55%, 100% { transform: translateX(340px); } }
.tone-hero { --hair: #2c1d1b; --top: rgba(255, 255, 255, .75); }

.sparkle { position: absolute; width: 22px; fill: #fff; animation: twinkle 3.4s ease-in-out infinite; }
.sparkle--1 { top: 16%; left: 20%; }
.sparkle--2 { top: 26%; right: 18%; width: 14px; animation-delay: -1.1s; }
.sparkle--3 { top: 52%; left: 12%; width: 12px; animation-delay: -2.2s; }
.sparkle--4 { top: 10%; right: 34%; width: 10px; animation-delay: -.6s; }
@keyframes twinkle {
  0%, 100% { opacity: .15; transform: scale(.6) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(25deg); }
}

.chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1rem; border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px -14px rgba(190, 24, 93, .45);
  font-size: .92rem; font-weight: 500; white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.chip .ico { color: var(--rose-deep); }
.chip--a { top: 12%; left: -9%; }
.chip--d { top: 31%; right: -11%; animation-delay: -1s; }
.chip--b { top: 56%; right: -7%; animation-delay: -2s; }
.chip--c { bottom: 9%; left: -5%; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- Franja animada ---------- */

.marquee {
  overflow: hidden;
  background: var(--grad-cta);
  color: #fff;
  padding: .95rem 0;
  transform: rotate(-1.2deg);
  margin: -1.6rem -10px 0;
  box-shadow: 0 18px 40px -24px rgba(190, 24, 93, .8);
}
.marquee__track {
  display: flex; align-items: center; gap: 2rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display); font-size: 1.25rem; font-style: italic; white-space: nowrap;
}
.marquee__track i { font-style: normal; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */

.section { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.section--tint { background: linear-gradient(180deg, var(--bg) 0%, var(--blush) 18%, var(--blush) 82%, var(--bg) 100%); }

.section-head { max-width: 680px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.section-head h2 { margin: 1rem 0 .9rem; font-size: clamp(2.1rem, 4.8vw, 3.3rem); }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* ---------- Servicios ---------- */

.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; }

.card {
  position: relative;
  display: flex; flex-direction: column; gap: .9rem;
  padding: 1.9rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-border) border-box;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.55rem; }
.card p { color: var(--ink-soft); }

.card__icon {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 18px;
  background: var(--grad-soft); color: var(--rose-deep);
}
.card__icon .ico { width: 28px; height: 28px; }

.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.tags li { padding: .25rem .7rem; border-radius: 999px; background: var(--blush); color: #be185d; font-size: .82rem; font-weight: 500; }

.card__link {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: .4rem;
  font-weight: 600; color: var(--rose-deep); text-decoration: none;
}
.card__link .ico { transition: transform .25s ease; }
.card__link:hover .ico { transform: translateX(4px); }

.card--featured { background: var(--grad-cta); color: #fff; }
.card--featured p { color: rgba(255, 255, 255, .9); }
.card--featured .card__icon { background: rgba(255, 255, 255, .18); color: #fff; }
.card--featured .card__link { color: #fff; }

/* ---------- Antes y después ---------- */

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

.ba { margin: 0; --pos: 50%; }
.ba__stage {
  position: relative; overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
}
.ba__stage:has(.ba__range:focus-visible) { outline: 3px solid var(--rose-deep); outline-offset: 4px; }

.ba__layer { position: absolute; inset: 0; background: var(--blush); }
.ba__layer > img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 2px; margin-left: -1px;
  background: #fff; pointer-events: none;
}
.ba__handle span {
  position: absolute; top: 50%; left: 50%;
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--rose-deep);
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}

.ba__tag {
  position: absolute; top: 14px; z-index: 1;
  padding: .3rem .8rem; border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  pointer-events: none;
}
.ba__tag--before { left: 14px; background: rgba(255, 255, 255, .88); color: var(--ink-soft); }
.ba__tag--after { right: 14px; background: var(--grad-cta); color: #fff; }

.ba__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; pointer-events: none;
}

.ba figcaption { margin-top: 1.1rem; padding-inline: .3rem; }
.ba figcaption strong { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; }
.ba figcaption span { color: var(--ink-soft); }

/* ---------- El salón ---------- */

.space-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  gap: 1rem;
}
.space { margin: 0; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow-sm); background: var(--blush); }
.space img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.space:hover img { transform: scale(1.05); }
.space--wide { grid-column: span 2; }
.space--tall { grid-row: span 2; }
.space--estante img { object-position: center 42%; }
.space--plantas img { object-position: center 72%; }

.amenities {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem;
  margin: 2rem 0 0; padding: 0; list-style: none;
}
.amenities li {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.1rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-weight: 500;
}
.amenities .ico { color: var(--rose-deep); }

/* ---------- Cómo agendar ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }

.step {
  position: relative;
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
}
.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.step__num {
  font-family: var(--font-display); font-size: 3rem; font-style: italic; line-height: 1;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 1.45rem; margin-bottom: .5rem; }
.step p { color: var(--ink-soft); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 3.4rem; right: -1.5rem; width: 1.5rem;
  border-top: 2px dashed var(--rose);
}

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.feature {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.4rem 1.5rem; border-radius: 22px;
  background: var(--grad-soft);
}
.feature .card__icon { width: 46px; height: 46px; border-radius: 14px; background: #fff; }
.feature .card__icon .ico { width: 22px; height: 22px; }
.feature strong { display: block; font-size: 1.05rem; }
.feature span { color: var(--ink-soft); font-size: .97rem; }

/* ---------- Redes ---------- */

.social-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; max-width: 860px; margin: 0 auto; }

.social-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 1.4rem; border-radius: 24px;
  background: #fff; border: 1px solid var(--line);
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
}
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.social-card strong { display: block; font-size: 1.1rem; }
.social-card small { color: var(--ink-soft); font-size: .9rem; word-break: break-all; }
.social-card__icon {
  display: grid; place-items: center; flex: none;
  width: 54px; height: 54px; border-radius: 16px; color: #fff;
}
.social-card__icon .ico { width: 26px; height: 26px; }
.social-card--ig .social-card__icon { background: linear-gradient(45deg, #f9ce34, #ee2a7b 50%, #6228d7); }
.social-card--tt .social-card__icon { background: #111; }
.social-card__cta { margin-left: auto; display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--rose-deep); white-space: nowrap; }

.tabs-wrap { text-align: center; margin: 2.75rem 0 2rem; }
.tabs {
  display: inline-flex; gap: .25rem; padding: 6px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line);
}
.tab {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.4rem; border: 0; border-radius: 999px;
  background: none; color: var(--ink-soft);
  font: inherit; font-weight: 600; cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}
.tab[aria-selected="true"] { background: var(--grad-cta); color: #fff; box-shadow: 0 10px 24px -12px rgba(219, 39, 119, .8); }

.embeds {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 326px), 1fr));
  gap: 1.5rem; align-items: start; justify-items: center;
}
.embeds > * { width: 100%; max-width: 400px; overflow: hidden; border-radius: 20px; }

.embed-card { margin: 0 !important; min-width: 0 !important; }
.embed-card > a, a.embed-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  min-height: 460px; padding: 2rem;
  border-radius: 20px; border: 1px solid var(--line);
  background: var(--grad-soft);
  text-align: center; text-decoration: none; color: var(--ink);
}
.embed-card__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; color: #fff; }
.embed-card__icon .ico { width: 30px; height: 30px; }
.embed-card--ig .embed-card__icon { background: linear-gradient(45deg, #f9ce34, #ee2a7b 50%, #6228d7); }
.embed-card--tt .embed-card__icon { background: #111; }
.embed-card__text { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.25; }
.embed-card__cta { font-weight: 600; color: var(--rose-deep); }

.tt-frame { display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: 20px; background: #000; }

/* ---------- Preguntas ---------- */

.faq { display: grid; gap: .85rem; max-width: 780px; margin: 0 auto; }
.faq details {
  padding: 0 1.4rem; border-radius: 20px;
  background: #fff; border: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 0;
  font-weight: 600; font-size: 1.08rem;
  list-style: none; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--blush); color: var(--rose-deep);
  font-size: 1.4rem; font-weight: 400; line-height: 1;
  transition: transform .3s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.3rem; color: var(--ink-soft); }

/* ---------- Contacto ---------- */

.cta {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(2.75rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: 40px;
  background: var(--grad-cta);
  color: #fff; text-align: center;
  box-shadow: var(--shadow);
}
.cta::before, .cta::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
  filter: blur(10px); opacity: .35;
}
.cta::before { width: 380px; height: 380px; top: -160px; left: -100px; background: radial-gradient(circle, #ffd1e6, transparent 70%); }
.cta::after { width: 420px; height: 420px; bottom: -200px; right: -120px; background: radial-gradient(circle, #f5d0fe, transparent 70%); }
.cta h2 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
.cta > p { max-width: 36rem; margin: 1rem auto 0; font-size: 1.12rem; color: rgba(255, 255, 255, .92); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; margin-top: 2rem; }

.cta__info {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem;
  margin: 2.25rem 0 0; padding: 0; list-style: none;
}
.cta__info li {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
  font-size: .95rem;
}
.cta__info a { text-decoration: none; }

/* ---------- Pie ---------- */

.footer { padding: 1.25rem 0; border-top: 1px solid var(--line); background: #fff; }
.footer__grid { display: flex; align-items: center; gap: 1.1rem; }
.footer__text { flex: 1; min-width: 0; }
.footer__tag { color: var(--ink-soft); font-size: .92rem; }
.footer__legal { margin-top: .1rem; font-size: .82rem; color: var(--ink-soft); opacity: .85; }
.footer__social { display: flex; gap: .5rem; }
.footer__social a {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--blush); color: var(--rose-deep);
  transition: transform .25s ease, background-color .25s ease;
}
.footer__social a:hover { transform: translateY(-3px); background: var(--blush-2); }

/* ---------- Botón flotante de WhatsApp ---------- */

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .35);
  transition: transform .25s ease, opacity .25s ease;
}
.wa-float:hover { transform: scale(1.06); }
/* Se oculta cuando el pie (que ya tiene WhatsApp) está a la vista */
.wa-float.is-hidden { opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; }
.wa-float .ico { width: 30px; height: 30px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Página 404 ---------- */

.notfound { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 4rem 0; text-align: center; }
.notfound__code {
  font-family: var(--font-display); font-style: italic; line-height: 1;
  font-size: clamp(6rem, 22vw, 11rem);
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.notfound h1 { margin: .5rem 0 1rem; font-size: clamp(1.9rem, 5vw, 2.8rem); }
.notfound p { max-width: 30rem; margin: 0 auto; color: var(--ink-soft); }
.notfound .hero__actions { justify-content: center; }

/* ---------- Aparición al hacer scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .2s; }
.js .reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------- Adaptación a pantallas ---------- */

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .art { width: min(100%, 380px); }
  .steps, .features { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
}

@media (max-width: 1040px) {
  .nav__links { display: none; }
}

@media (max-width: 640px) {
  .brand__icon { width: 40px; height: 40px; border-radius: 11px; }
  .brand__oficial { height: 60px; }
  .brand__oficial--footer { height: 48px; }
  .footer__grid { flex-wrap: wrap; justify-content: center; text-align: center; gap: .6rem 1rem; }
  .footer__text { flex-basis: 100%; order: 3; }
  .brand__name { font-size: 1.35rem; }
  .space-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: .75rem; }
  .social-cards { grid-template-columns: 1fr; }
  .chip { font-size: .82rem; padding: .5rem .8rem; }
  .chip--a { left: -2%; }
  .chip--d { right: -3%; }
  .chip--b { right: 0; }
  .chip--c { left: 0; }
  .hero__actions .btn { flex: 1 1 100%; }
  .tab { padding: .65rem 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
