/* =========================================================
   Jakayla Creaciones — estilos
   Paleta: gris base + violeta/lavanda + toque coral del logo
   ========================================================= */

:root {
  --gris-0: #eceaf1;   /* gris base unificado de toda la página (un punto más oscuro) */
  --gris-1: #eceaf1;   /* mismo valor: los degradados gris↔gris quedan planos (sin costuras) */
  --gris-2: #e4e1ea;
  --gris-3: #ddd9e3;
  --gris-line: #e3e0e8;

  --tinta: #322c3a;        /* texto principal */
  --tinta-soft: #6c6676;   /* texto secundario */

  --violeta: #6d4aa7;      /* acento principal */
  --violeta-d: #4d2f86;
  --violeta-l: #9b7bd4;
  --lavanda: #c9b6e8;
  --lavanda-soft: #efe9f8;
  --coral: #f2a293;        /* borde del logo */
  --coral-soft: #fbe2dc;

  --blanco: #ffffff;
  --carbon: #2a2431;

  --wa: #25d366;
  --wa-d: #1da851;

  --sombra-sm: 0 4px 14px rgba(60, 45, 80, .08);
  --sombra-md: 0 14px 34px rgba(60, 45, 80, .12);
  --sombra-lg: 0 26px 60px rgba(60, 45, 80, .18);

  --radio: 18px;
  --radio-lg: 28px;
  --container: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  color: var(--tinta);
  background: var(--gris-0);
  line-height: 1.65;
  font-weight: 300;
  overflow-x: clip; /* clip (no scroll-container) para no romper position: sticky */
}

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

.container { width: min(100% - 2.6rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 8rem) 0; }

/* ---------- Tipografía ---------- */
.h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.08;
  color: var(--tinta);
  letter-spacing: .2px;
}
.h2--light { color: #fff; }
.accent { color: var(--violeta); font-style: italic; }
.accent--light { color: var(--lavanda); }

.kicker {
  display: inline-block;
  font-size: .76rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--violeta);
  margin-bottom: .9rem;
}
.kicker--light { color: var(--lavanda); }

.section__head { text-align: center; max-width: 680px; margin: 0 auto clamp(2.4rem, 5vw, 3.6rem); }
.section__lead { color: var(--tinta-soft); margin-top: .9rem; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--violeta);
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 500; font-size: .95rem;
  letter-spacing: .2px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  will-change: transform;
}
.btn--primary {
  background: linear-gradient(135deg, var(--violeta), var(--violeta-l));
  color: #fff;
  box-shadow: 0 12px 26px rgba(109, 74, 167, .32);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(109, 74, 167, .42); }
.btn--wa { background: linear-gradient(135deg, var(--wa), var(--wa-d)); color: #fff; box-shadow: 0 12px 26px rgba(37, 211, 102, .32); }
.btn--wa:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(37, 211, 102, .42); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.02rem; }

/* Icono WhatsApp (SVG en máscara) */
.ico-wa {
  width: 1.15em; height: 1.15em; display: inline-block;
  background: currentColor;
  -webkit-mask: var(--wa-svg) center / contain no-repeat;
  mask: var(--wa-svg) center / contain no-repeat;
}
.ico-wa--lg { width: 30px; height: 30px; }
:root {
  --wa-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M.057 24l1.687-6.163a11.867 11.867 0 01-1.587-5.945C.16 5.335 5.495 0 12.05 0a11.82 11.82 0 018.413 3.488 11.82 11.82 0 013.48 8.414c-.003 6.557-5.338 11.892-11.893 11.892a11.9 11.9 0 01-5.688-1.448L.057 24zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884a9.86 9.86 0 001.51 5.26l-.999 3.648 3.488-.219zm5.475-12.013c-.169-.379-.345-.387-.51-.395l-.435-.005a.83.83 0 00-.605.285c-.21.225-.79.769-.79 1.876s.81 2.177.923 2.328c.115.149 1.589 2.555 3.927 3.581.564.244 1.002.39 1.345.5.566.18 1.08.155 1.487.094.453-.068 1.396-.571 1.593-1.122.197-.55.197-1.022.138-1.122-.06-.099-.21-.16-.435-.275z'/%3E%3C/svg%3E");
}

/* =========================================================
   NAVBAR
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s, box-shadow .4s, padding .4s;
  padding: .55rem 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav.scrolled {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(60, 45, 80, .08);
}

.brand { display: flex; align-items: center; gap: .7rem; }
.brand__logo { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; box-shadow: var(--sombra-sm); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: "Dancing Script", cursive; font-weight: 700; font-size: 1.75rem; color: var(--violeta); }
.brand__sub { font-size: .62rem; letter-spacing: .42em; text-transform: uppercase; color: var(--tinta-soft); margin-top: .1rem; }

.nav__links { display: flex; align-items: center; gap: .3rem; }
.nav__link {
  position: relative; padding: .5rem .85rem; font-size: .92rem; font-weight: 400;
  color: var(--tinta); border-radius: 999px; transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: .3rem; width: 0; height: 2px;
  background: var(--violeta); border-radius: 2px; transform: translateX(-50%);
  transition: width .3s var(--ease);
}
.nav__link:hover { color: var(--violeta); }
.nav__link:hover::after { width: 42%; }
.nav__cta { margin-left: .6rem; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: .5rem; }
.nav__toggle span { width: 26px; height: 2px; background: var(--tinta); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 7rem 0 4rem;
  background:
    radial-gradient(1100px 620px at 78% -8%, var(--lavanda-soft), transparent 60%),
    radial-gradient(900px 540px at 6% 108%, var(--coral-soft), transparent 55%),
    linear-gradient(180deg, var(--gris-1), var(--gris-0));
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__inner { position: relative; text-align: center; max-width: 880px; margin-inline: auto; }

.hero__logo {
  display: block; width: clamp(108px, 15vw, 158px); aspect-ratio: 1;
  margin: 0 auto 1.4rem; border-radius: 50%; object-fit: cover;
  background: #fff; border: 5px solid #fff;
  box-shadow: 0 18px 44px rgba(109, 74, 167, .22);
}
.hero__eyebrow {
  font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 600;
  color: var(--violeta);
}
.hero__title { margin: .6rem 0 1.2rem; line-height: .9; }
.hero__script {
  display: block; font-family: "Dancing Script", cursive; font-weight: 700;
  font-size: clamp(3.6rem, 13vw, 8rem); color: var(--violeta);
  text-shadow: 0 10px 30px rgba(109, 74, 167, .18);
}
.hero__big {
  display: block; font-family: "Cormorant Garamond", serif; font-weight: 500;
  font-size: clamp(1.5rem, 5vw, 2.7rem); letter-spacing: .42em; text-transform: uppercase;
  color: var(--tinta); margin-top: -.2em; padding-left: .42em;
}
.hero__lead { max-width: 660px; margin: 0 auto; color: var(--tinta-soft); font-size: clamp(1rem, 2vw, 1.12rem); }
.hero__lead strong { color: var(--violeta); font-weight: 500; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 2rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 2.2rem; }

.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 400;
  background: rgba(255, 255, 255, .7); border: 1px solid var(--gris-line);
  color: var(--tinta); box-shadow: var(--sombra-sm);
}
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }

/* Pétalos / orbes flotantes */
.petal, .orb { position: absolute; border-radius: 60% 40% 55% 45% / 55% 45% 60% 40%; opacity: .55; filter: blur(.3px); }
.petal { background: linear-gradient(135deg, var(--lavanda), var(--violeta-l)); }
.petal--1 { width: 26px; height: 26px; left: 12%; top: 22%; animation: float 9s ease-in-out infinite; }
.petal--2 { width: 16px; height: 16px; left: 84%; top: 30%; background: linear-gradient(135deg, var(--coral), #f6c0b6); animation: float 7s ease-in-out infinite reverse; }
.petal--3 { width: 34px; height: 34px; left: 76%; top: 70%; animation: float 11s ease-in-out infinite; }
.petal--4 { width: 14px; height: 14px; left: 20%; top: 72%; background: linear-gradient(135deg, var(--coral), #f6c0b6); animation: float 8s ease-in-out infinite; }
.petal--5 { width: 20px; height: 20px; left: 48%; top: 14%; animation: float 10s ease-in-out infinite reverse; }
.petal--6 { width: 12px; height: 12px; left: 60%; top: 84%; animation: float 6.5s ease-in-out infinite; }
.orb { border-radius: 50%; filter: blur(40px); opacity: .45; }
.orb--1 { width: 320px; height: 320px; left: -80px; top: -60px; background: var(--lavanda); }
.orb--2 { width: 260px; height: 260px; right: -70px; bottom: -70px; background: var(--coral-soft); }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-26px) rotate(18deg); }
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--violeta-l); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 7px; opacity: .8;
}
.hero__scroll-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--violeta); animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* =========================================================
   SECCIONES: fondo gris continuo y fijo.
   La animación es SOLO del contenido (.reveal), nunca del fondo:
   sin apilado, sin overlay de oscurecido y sin movimiento de paneles.
   ========================================================= */
.stack { position: relative; }
.panel__inner { width: 100%; }
.panel__overlay, .stack__hold { display: none; }

/* =========================================================
   NOSOTROS
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__media { position: relative; min-height: 420px; }
.about__img { position: absolute; border-radius: var(--radio-lg); object-fit: cover; box-shadow: var(--sombra-lg); }
.about__img--a { width: 72%; height: 78%; left: 0; top: 0; z-index: 2; }
.about__img--b { width: 56%; height: 56%; right: 0; bottom: 0; border: 6px solid #fff; }
.about__tag {
  position: absolute; z-index: 3; left: 50%; bottom: -10px; transform: translateX(-50%);
  background: #fff; color: var(--violeta); font-weight: 600; font-size: .9rem;
  padding: .6rem 1.3rem; border-radius: 999px; box-shadow: var(--sombra-md); white-space: nowrap;
}
.about__tag em { color: var(--coral); font-style: italic; font-family: "Dancing Script", cursive; font-size: 1.15rem; }

.about__text p { color: var(--tinta-soft); margin-top: 1rem; }
.about__text strong { color: var(--tinta); font-weight: 500; }
.about__list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .65rem; }
.about__list li { position: relative; padding-left: 1.8rem; color: var(--tinta); }
.about__list li::before {
  content: "✿"; position: absolute; left: 0; top: -1px; color: var(--coral); font-size: 1rem;
}
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; color: var(--violeta); font-weight: 500; margin-top: .4rem; }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* =========================================================
   VALORES
   ========================================================= */
.values { background: linear-gradient(180deg, var(--gris-0), var(--gris-1)); padding: clamp(3rem, 6vw, 5rem) 0; }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.value {
  background: #fff; border: 1px solid var(--gris-line); border-radius: var(--radio);
  padding: 2rem 1.5rem; text-align: center; box-shadow: var(--sombra-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.value:hover { transform: translateY(-8px); box-shadow: var(--sombra-md); }
.value__icon {
  display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 1rem;
  font-size: 1.7rem; border-radius: 50%; background: var(--lavanda-soft);
}
.value h3 { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 1.4rem; color: var(--violeta-d); }
.value p { color: var(--tinta-soft); font-size: .92rem; margin-top: .4rem; }

/* =========================================================
   PRODUCTOS
   ========================================================= */
.products { background: var(--gris-0); }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.6rem; }
.filter {
  padding: .55rem 1.25rem; border-radius: 999px; font-size: .9rem; font-weight: 400;
  background: #fff; border: 1px solid var(--gris-line); color: var(--tinta-soft);
  transition: all .3s var(--ease);
}
.filter:hover { color: var(--violeta); border-color: var(--lavanda); }
.filter.is-active {
  background: linear-gradient(135deg, var(--violeta), var(--violeta-l)); color: #fff;
  border-color: transparent; box-shadow: 0 8px 20px rgba(109, 74, 167, .3);
}

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card {
  background: #fff; border-radius: var(--radio); overflow: hidden;
  border: 1px solid var(--gris-line); box-shadow: var(--sombra-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-10px); box-shadow: var(--sombra-lg); }
.card.is-hidden { display: none; }

.card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; cursor: zoom-in; background: var(--gris-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.08); }
.card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(42, 36, 49, .45));
  opacity: 0; transition: opacity .4s;
}
.card:hover .card__media::after { opacity: 1; }
.card__zoom {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--violeta);
  font-size: 1.3rem; font-weight: 300; box-shadow: var(--sombra-sm);
  opacity: 0; transform: translateY(8px) scale(.9); transition: all .4s var(--ease);
}
.card:hover .card__zoom { opacity: 1; transform: translateY(0) scale(1); }

.card__body { padding: 1.2rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card__tag { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); font-weight: 600; }
.card__title { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 1.45rem; color: var(--tinta); line-height: 1.1; }
.card__desc { font-size: .88rem; color: var(--tinta-soft); }

.grid__empty { text-align: center; color: var(--tinta-soft); padding: 2rem 0; }

.products__cta {
  text-align: center; margin-top: 3.4rem; padding: 2.6rem 1.5rem;
  background: linear-gradient(135deg, var(--lavanda-soft), var(--coral-soft));
  border-radius: var(--radio-lg);
}
.products__cta p { color: var(--tinta); font-size: 1.1rem; margin-bottom: 1.2rem; font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 1.5rem; }

/* =========================================================
   OCASIONES
   ========================================================= */
.occasions { background: linear-gradient(180deg, var(--gris-1), var(--gris-0)); }
.occasions__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.occasion {
  text-align: center; padding: 1.8rem 1rem; border-radius: var(--radio);
  background: #fff; border: 1px solid var(--gris-line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s;
}
.occasion:hover { transform: translateY(-8px); box-shadow: var(--sombra-md); background: #fff; }
.occasion span { font-size: 2rem; display: block; margin-bottom: .6rem; }
.occasion h3 { font-family: "Cormorant Garamond", serif; font-size: 1.25rem; font-weight: 600; color: var(--violeta-d); }
.occasion p { font-size: .8rem; color: var(--tinta-soft); margin-top: .25rem; }

/* =========================================================
   CONTACTO
   ========================================================= */
.contact { position: relative; overflow: hidden; color: #fff; }
.contact__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(700px 380px at 12% 0%, rgba(155, 123, 212, .55), transparent 60%),
    radial-gradient(620px 360px at 92% 100%, rgba(242, 162, 147, .35), transparent 60%),
    linear-gradient(135deg, var(--violeta-d), #38275f);
}
.contact__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.contact__text p { color: rgba(255, 255, 255, .82); margin-top: 1rem; max-width: 540px; }

.contact__cards { display: grid; gap: .7rem; margin: 1.8rem 0; }
.contact__card {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  padding: .85rem 1.1rem; border-radius: 14px; backdrop-filter: blur(6px);
  transition: transform .3s var(--ease), background .3s;
}
.contact__card:hover { transform: translateX(6px); background: rgba(255, 255, 255, .14); }
.contact__ico { font-size: 1.3rem; width: 1.5rem; display: grid; place-items: center; color: #fff; }
.contact__card span:last-child { display: flex; flex-direction: column; font-size: .95rem; line-height: 1.3; }
.contact__card strong { font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lavanda); }

.contact__media { position: relative; }
.contact__media img {
  border-radius: var(--radio-lg); box-shadow: var(--sombra-lg);
  border: 8px solid rgba(255, 255, 255, .12); aspect-ratio: 4/5; object-fit: cover; width: 100%;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--carbon); color: rgba(255, 255, 255, .72); padding: 3.4rem 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2rem; padding-bottom: 2.4rem; }
.footer__col { display: flex; flex-direction: column; gap: .5rem; }
.footer__col h4 { color: #fff; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .5rem; font-weight: 600; }
.footer__col a { color: rgba(255, 255, 255, .72); font-size: .92rem; transition: color .25s; width: fit-content; }
.footer__col a:hover { color: var(--lavanda); }
.footer .brand__name { color: #fff; font-size: 2rem; }
.footer .brand__sub { color: var(--lavanda); }
.footer__tagline { font-size: .85rem; margin-top: .6rem; max-width: 320px; }
.footer__nav { display: flex; flex-direction: column; gap: .5rem; }
.footer__nav a, .footer__contact a { color: rgba(255, 255, 255, .72); font-size: .92rem; transition: color .25s; width: fit-content; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--lavanda); }
.footer__contact { display: flex; flex-direction: column; gap: .5rem; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.3rem 0; text-align: center; font-size: .82rem; }

/* =========================================================
   FLOTANTES
   ========================================================= */
.fab-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--wa), var(--wa-d)); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 28px rgba(37, 211, 102, .45);
  transition: transform .35s var(--ease);
  animation: pulse 2.6s infinite;
}
.fab-wa:hover { transform: scale(1.1); }
@keyframes pulse {
  0% { box-shadow: 0 12px 28px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .5); }
  70% { box-shadow: 0 12px 28px rgba(37, 211, 102, .45), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 12px 28px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

.to-top {
  position: fixed; right: 24px; bottom: 92px; z-index: 89;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--violeta); font-size: 1.2rem; box-shadow: var(--sombra-md);
  border: 1px solid var(--gris-line);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .35s, transform .35s, visibility .35s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--violeta); color: #fff; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: rgba(28, 22, 36, .9); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; padding: 1.5rem;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__fig {
  max-width: min(92vw, 720px); transform: scale(.92); transition: transform .4s var(--ease); text-align: center;
}
.lightbox.open .lightbox__fig { transform: scale(1); }
.lightbox__fig img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: var(--radio); box-shadow: var(--sombra-lg); }
.lightbox__fig figcaption { color: #fff; margin-top: 1rem; font-family: "Cormorant Garamond", serif; font-size: 1.4rem; }
.lightbox__close, .lightbox__nav {
  position: absolute; color: #fff; background: rgba(255, 255, 255, .12); border-radius: 50%;
  width: 48px; height: 48px; display: grid; place-items: center; font-size: 1.5rem;
  transition: background .25s, transform .25s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .28); transform: scale(1.08); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__nav--next:hover { transform: translateY(-50%) scale(1.08); }

/* =========================================================
   SCROLL REVEAL  (movimiento de objetos ligado al scroll por JS)
   El estado inicial define desde dónde entra cada objeto; el JS
   interpola opacidad y transform según la posición de scroll.
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
}

/* variantes — dirección de entrada */
.reveal--left  { transform: translateX(-55px); }
.reveal--right { transform: translateX(55px); }
.reveal--zoom  { transform: scale(.88); }
.reveal--fade  { transform: none; }            /* solo opacidad */
.reveal--up-lg { transform: translateY(80px); }
/* en móvil la entrada es solo vertical (coincide con el JS) */
@media (max-width: 700px) {
  .reveal, .reveal--left, .reveal--right, .reveal--up-lg { transform: translateY(24px); }
  .reveal--zoom { transform: none; }
}

/* barra de progreso de scroll */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200;
  background: linear-gradient(90deg, var(--violeta), var(--lavanda), var(--coral));
  box-shadow: 0 0 10px rgba(109, 74, 167, .5);
  transition: width .08s linear;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .occasions__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.2rem;
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(16px);
    padding: 2rem; box-shadow: -20px 0 60px rgba(60, 45, 80, .18);
    transform: translateX(105%); transition: transform .45s var(--ease);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__link { font-size: 1.1rem; }
  .nav__cta { margin-left: 0; }
  .nav__toggle { display: flex; z-index: 101; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { width: 100%; min-height: 340px; max-width: 420px; margin-inline: auto; }
  .contact__inner { grid-template-columns: 1fr; }
  .contact__media { order: -1; max-width: 360px; margin-inline: auto; }
}

@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .occasions__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 1.6rem; text-align: center; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__nav, .footer__contact, .footer__col { align-items: center; }
  .footer__nav a, .footer__contact a, .footer__col a { margin-inline: auto; }
  .card__title { font-size: 1.25rem; }
  .card__body { padding: 1rem; }

  /* hero más compacto y cómodo en móvil */
  .section { padding-top: 3.4rem; padding-bottom: 3.4rem; }
  .hero { padding-top: 5.5rem; padding-bottom: 3rem; }
  .hero__logo { width: 96px; margin-bottom: 1rem; }
  .hero__big { letter-spacing: .24em; padding-left: .24em; }
  .hero__lead { font-size: .98rem; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: .7rem; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__scroll { display: none; }
  .chip { font-size: .8rem; padding: .45rem .85rem; }
  .products__cta { padding: 2rem 1.2rem; }
  .products__cta p { font-size: 1.25rem; }
  .contact__card { padding: .8rem 1rem; }
  .fab-wa { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .to-top { right: 18px; bottom: 80px; }
}

@media (max-width: 359px) {
  .grid { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: 1fr; }
}

/* Accesibilidad: reduce motion
   Se mantiene el fundido de opacidad (seguro, no provoca mareo) pero se
   desactivan desplazamientos grandes, zoom, parallax y bucles infinitos. */
@media (prefers-reduced-motion: reduce) {
  /* se desactiva el movimiento que se reproduce solo (decoración), pero el
     reveal va ligado al scroll (lo controla el usuario), así que se mantiene. */
  .petal, .orb, .fab-wa, .hero__scroll-dot { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   SUBPÁGINAS (Quiénes somos, legales)
   ========================================================= */
/* en subpáginas la barra siempre tiene fondo (legible sin hero oscuro) */
body.subpage .nav {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(60, 45, 80, .07);
}

.page-hero {
  padding: clamp(8rem, 14vw, 11rem) 0 clamp(2.4rem, 6vw, 3.8rem);
  text-align: center;
  background: radial-gradient(900px 380px at 50% -12%, var(--lavanda-soft), transparent 60%), var(--gris-0);
}
.page-hero h1 {
  font-family: "Cormorant Garamond", serif; font-weight: 600;
  font-size: clamp(2.3rem, 6vw, 3.6rem); line-height: 1.05; color: var(--tinta); margin-top: .3rem;
}
.page-hero__lead { max-width: 620px; margin: 1rem auto 0; color: var(--tinta-soft); }
.breadcrumb { margin-top: 1.2rem; font-size: .85rem; color: var(--tinta-soft); }
.breadcrumb a { color: var(--violeta); }
.breadcrumb a:hover { text-decoration: underline; }

/* contenido tipo artículo / legal */
.prose { max-width: 780px; margin: 0 auto; padding: clamp(2.4rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 5rem); }
.prose h2 { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: clamp(1.5rem, 3.5vw, 2.05rem); color: var(--violeta-d); margin: 2.2rem 0 .7rem; }
.prose h3 { font-weight: 600; font-size: 1.08rem; color: var(--tinta); margin: 1.4rem 0 .35rem; }
.prose p, .prose li { color: var(--tinta-soft); }
.prose p { margin: .8rem 0; }
.prose ul { margin: .6rem 0 1rem 1.2rem; display: grid; gap: .45rem; }
.prose a { color: var(--violeta); text-decoration: underline; }
.prose .updated { font-size: .85rem; font-style: italic; }
.prose .note { background: var(--lavanda-soft); border-left: 4px solid var(--violeta-l); padding: 1rem 1.2rem; border-radius: 10px; margin: 1.3rem 0; font-size: .92rem; color: var(--tinta); }
.data-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; }
.data-table th, .data-table td { text-align: left; padding: .65rem .85rem; border-bottom: 1px solid var(--gris-line); font-size: .95rem; vertical-align: top; }
.data-table th { color: var(--violeta-d); font-weight: 600; width: 40%; }

/* Quiénes somos — bloques extra */
.qs-section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.qs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.qs-grid img { border-radius: var(--radio-lg); box-shadow: var(--sombra-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.qs-grid .h2 { margin-bottom: .6rem; }
.qs-grid p { color: var(--tinta-soft); margin-top: .9rem; }
.qs-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.4rem; }
.qs-step { background: #fff; border: 1px solid var(--gris-line); border-radius: var(--radio); padding: 1.9rem 1.5rem; box-shadow: var(--sombra-sm); }
.qs-step .num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--violeta), var(--violeta-l)); color: #fff; font-weight: 600; margin-bottom: .9rem; }
.qs-step h3 { font-family: "Cormorant Garamond", serif; font-size: 1.4rem; font-weight: 600; color: var(--violeta-d); }
.qs-step p { color: var(--tinta-soft); font-size: .92rem; margin-top: .35rem; }

@media (max-width: 820px) {
  .qs-grid { grid-template-columns: 1fr; }
  .qs-steps { grid-template-columns: 1fr; }
  .qs-grid .qs-grid__media { order: -1; }
}

/* =========================================================
   BLOG (listado en home + post detalle + admin)
   ========================================================= */
.blog__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.blog__empty { text-align: center; color: var(--tinta-soft); padding: 2rem 0; grid-column: 1 / -1; }
.blog-card { background: #fff; border: 1px solid var(--gris-line); border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--sombra-md); }
.blog-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.blog-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--gris-2); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.blog-card:hover .blog-card__media img { transform: scale(1.05); }
.blog-card__noimg { width: 100%; height: 100%; background: linear-gradient(135deg, var(--lavanda-soft), var(--coral-soft)); }
.blog-card__body { padding: 1.2rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.blog-card__date { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); font-weight: 600; }
.blog-card__title { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 1.4rem; color: var(--tinta); line-height: 1.15; }
.blog-card__desc { font-size: .9rem; color: var(--tinta-soft); flex: 1; }
.blog-card .link-arrow { margin-top: .6rem; font-size: .9rem; }

/* Post detalle */
.post { max-width: 820px; margin: 0 auto; padding: clamp(2rem, 6vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem); }
.post__hero-img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radio-lg); box-shadow: var(--sombra-md); margin-bottom: 2rem; }
.post__body { padding-top: 0; }
.post__body p { color: var(--tinta-soft); font-size: 1.02rem; line-height: 1.75; margin: 1rem 0; }
.post__date { color: var(--tinta-soft); font-size: .9rem; margin-top: .5rem; }
.post__back { margin-top: 2.4rem; text-align: center; }

@media (max-width: 1024px) { .blog__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog__list { grid-template-columns: 1fr; } }

/* =========================================================
   PANEL DE ADMIN (/admin)
   ========================================================= */
body.admin .admin__main { padding-top: 6rem; padding-bottom: 3rem; min-height: 100vh; }
.admin__nav { display: flex; align-items: center; gap: .8rem; }
.btn--ghost { background: transparent; color: var(--violeta); border: 1px solid var(--gris-line); padding: .55rem 1rem; }
.btn--ghost:hover { background: #fff; }
.btn--sm { padding: .4rem .8rem; font-size: .85rem; }

.admin__login { display: grid; place-items: center; padding: 3rem 1rem; }
.admin__card { background: #fff; border: 1px solid var(--gris-line); border-radius: var(--radio-lg); box-shadow: var(--sombra-md); padding: 2rem 2.2rem; width: min(420px, 100%); }
.admin__card h1 { font-family: "Cormorant Garamond", serif; font-size: 1.8rem; color: var(--violeta-d); }

.admin__dash { padding: 1.5rem 0; }
.admin__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.admin__head h1 { font-family: "Cormorant Garamond", serif; font-size: 2rem; color: var(--tinta); }
.admin__muted { color: var(--tinta-soft); font-size: .92rem; }
.admin__empty { background: #fff; border: 1px dashed var(--gris-line); border-radius: var(--radio); padding: 2rem; text-align: center; color: var(--tinta-soft); }

.admin__form { display: grid; gap: 1rem; }
.admin__form--wide { background: #fff; padding: 1.8rem; border-radius: var(--radio-lg); border: 1px solid var(--gris-line); }
.admin__form label { display: grid; gap: .4rem; font-size: .92rem; color: var(--tinta); font-weight: 500; }
.admin__form input[type="text"], .admin__form input[type="password"], .admin__form textarea, .admin__form input[type="file"] {
  font-family: inherit; font-size: 1rem; padding: .75rem .9rem; border: 1px solid var(--gris-line); border-radius: 10px; background: #fff; color: var(--tinta); font-weight: 400;
}
.admin__form input:focus, .admin__form textarea:focus { outline: none; border-color: var(--violeta-l); box-shadow: 0 0 0 3px rgba(155, 123, 212, .25); }
.admin__form textarea { resize: vertical; min-height: 220px; line-height: 1.6; }
.admin__check { flex-direction: row !important; align-items: center; gap: .6rem; cursor: pointer; }
.admin__check input { width: 18px; height: 18px; accent-color: var(--violeta); }
.admin__actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-top: .4rem; }
.admin__error { color: #b3261e; font-size: .9rem; margin: 0; }
.admin__current-img { display: flex; align-items: center; gap: 1rem; }
.admin__current-img img { width: 90px; height: 90px; object-fit: cover; border-radius: 10px; border: 1px solid var(--gris-line); }

.admin__list { display: grid; gap: 1rem; }
.admin__item { background: #fff; border: 1px solid var(--gris-line); border-radius: var(--radio); overflow: hidden; display: grid; grid-template-columns: 180px 1fr; }
.admin__item-media { background: var(--gris-2); }
.admin__item-media img { width: 100%; height: 100%; object-fit: cover; }
.admin__item-noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--tinta-soft); font-size: .8rem; }
.admin__item-body { padding: 1.1rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; }
.admin__item-body h3 { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 1.3rem; color: var(--tinta); }
.admin__item-meta { font-size: .8rem; color: var(--tinta-soft); }
.admin__item-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .6rem; align-items: center; }
.admin__danger { color: #b3261e; border-color: rgba(179,38,30,.25); }
.admin__danger:hover { background: rgba(179,38,30,.06); }

.tag { display: inline-block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: .2rem .55rem; border-radius: 999px; }
.tag--pub { background: rgba(37,211,102,.12); color: var(--wa-d); }
.tag--draft { background: var(--lavanda-soft); color: var(--violeta-d); }

@media (max-width: 640px) {
  .admin__item { grid-template-columns: 1fr; }
  .admin__item-media { aspect-ratio: 16/10; }
  .admin__form--wide { padding: 1.2rem; }
}

/* Tabs y barra superior del admin */
.admin__tabs { display: flex; gap: .35rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--gris-line); }
.admin__tab { padding: .85rem 1.1rem; background: transparent; border: 0; color: var(--tinta-soft); font-weight: 500; font-size: .95rem; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.admin__tab:hover { color: var(--violeta); }
.admin__tab.is-active { color: var(--violeta-d); border-bottom-color: var(--violeta); }
.admin__sub-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.admin__sub-head .admin__muted { font-size: .85rem; }
.tag--cat { background: var(--coral-soft); color: #a14b3b; }

/* ---------- Banner de cookies ---------- */
.cookies {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translate(-50%, calc(100% + 1.5rem));
  z-index: 9999;
  width: min(720px, calc(100vw - 1.6rem));
  background: var(--blanco);
  color: var(--tinta);
  border-radius: var(--radio);
  box-shadow: var(--sombra-lg);
  padding: 1.1rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: transform .45s var(--ease), opacity .35s var(--ease);
}
.cookies.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.cookies__text {
  font-size: .9rem;
  line-height: 1.55;
  color: var(--tinta-soft);
}
.cookies__text strong { color: var(--tinta); font-weight: 600; }
.cookies__text a { color: var(--violeta); text-decoration: underline; text-underline-offset: 2px; }
.cookies__text a:hover { color: var(--violeta-d); }
.cookies__actions {
  display: flex;
  gap: .55rem;
  flex-shrink: 0;
}
.cookies__btn {
  font-family: inherit;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: .6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.cookies__btn:active { transform: translateY(1px); }
.cookies__btn--accept {
  background: var(--violeta);
  color: var(--blanco);
}
.cookies__btn--accept:hover { background: var(--violeta-d); }
.cookies__btn--reject {
  background: transparent;
  color: var(--violeta);
  border-color: var(--lavanda);
}
.cookies__btn--reject:hover { background: var(--lavanda-soft); border-color: var(--violeta-l); }

@media (max-width: 640px) {
  .cookies {
    grid-template-columns: 1fr;
    bottom: .6rem;
    width: calc(100vw - 1.2rem);
    padding: 1rem;
    gap: .8rem;
  }
  .cookies__actions { justify-content: flex-end; flex-wrap: wrap; }
  .cookies__btn { flex: 1 1 auto; }
}

/* Galería de imágenes en el blog post detalle */
.post-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin: 2rem 0 1.4rem; }
.post-gallery__item { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radio); box-shadow: var(--sombra-sm); background: var(--gris-2); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-gallery__item:hover { transform: translateY(-4px); box-shadow: var(--sombra-md); }
.post-gallery__item:hover img { transform: scale(1.05); }
