/* Tipografías alojadas en el propio sitio (sin peticiones a Google · RGPD) */
@font-face {
  font-family: 'Allura';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Allura.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: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Montserrat.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: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Montserrat.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: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Montserrat.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: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/Montserrat.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: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/PlayfairDisplay-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: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/PlayfairDisplay.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: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/PlayfairDisplay.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;
}

/* Mobile first: los estilos base son para móvil, los @media amplían a pantallas grandes */
:root {
  --plum: #5A2E74;
  --plum-dark: #3E1F52;
  --blue: #1E3A5F;
  --sage: #5A8F7B;
  --leaf: #C1D2B2;
  --beige: #F3EEE8;
  --cream: #FBF8F4;
  --ink: #1E1E24;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Montserrat", system-ui, sans-serif;
  --script: "Allura", cursive;
  --pad: 20px;
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--beige);
  color: var(--ink);
  font: 400 1rem/1.6 var(--sans);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
main { overflow-x: clip; } /* el sello y la franja inclinada sobresalen a propósito; sin esto la página se mueve de lado en iPhone */
a { color: inherit; }
ul, ol { list-style: none; }

.script { font-family: var(--script); font-weight: 400; color: var(--plum); }

/* ---------- Placeholders (se reemplazan por fotos/videos) ---------- */
.ph {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--c, var(--leaf));
  background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgb(255 255 255 / .12) 14px 28px);
  overflow: hidden;
}
.ph > img, .ph > video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph[data-label]::after {
  content: attr(data-label);
  position: absolute; inset: auto 12px 12px 12px;
  font: 600 .72rem/1.3 var(--sans);
  letter-spacing: .04em;
  color: #fff;
  background: rgb(0 0 0 / .28);
  padding: 6px 10px; border-radius: 999px; width: fit-content;
}
.ph--plum  { --c: var(--plum); }
.ph--sage  { --c: var(--sage); }
.ph--blue  { --c: var(--blue); }
.ph--dark  { --c: var(--ink); }
.ph--wood  { --c: #B98A5E; }
.ph--beige { --c: #D9CBBE; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px var(--pad);
  padding-top: max(12px, env(safe-area-inset-top));
  background: rgb(243 238 232 / .85);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.top__logo { height: 46px; width: auto; }
@media (min-width: 760px) { .top__logo { height: 56px; } }
.social { display: flex; gap: 8px; }
.social__a {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  color: var(--plum); background: #fff;
  transition: background .2s, color .2s;
}
.social__a:hover { background: var(--plum); color: var(--beige); }
.social--foot { margin: 8px 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 54px; padding: 0 28px;
  border-radius: 999px;
  background: var(--plum); color: var(--beige);
  font: 700 1rem var(--sans); text-decoration: none;
  box-shadow: 0 10px 24px -10px var(--plum);
  transition: transform .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn--light { background: var(--beige); color: var(--plum); box-shadow: none; }

.eyebrow {
  font: 600 .78rem var(--sans);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--sage);
}
.eyebrow--light { color: var(--leaf); }

/* ---------- 1. Hero ---------- */
.hero { padding: 28px var(--pad) 56px; }
.hero__title {
  font: 700 clamp(3rem, 14.5vw, 7.5rem)/.95 var(--serif);
  color: var(--plum);
  letter-spacing: -.02em;
  margin: 14px 0 18px;
}
.hero__title .script {
  display: block;
  font-size: 1.35em; line-height: .9;
  color: var(--sage);
  margin-left: .25em;
}
.hero__lead { font-size: 1.05rem; max-width: 34ch; margin-bottom: 26px; }
.hero .btn { width: 100%; }

.trust { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: .85rem; color: #55505a; }
.trust li::before { content: "✓ "; color: var(--sage); font-weight: 700; }
.trust b { color: var(--plum); }

.hero__alt { display: block; padding: 12px 0; margin-top: 2px; font-size: .9rem; line-height: 1.5; color: #55505a; text-decoration: none; }
.hero__alt b { color: var(--plum); white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; }

.hero__media { position: relative; margin-top: 40px; }
.hero__media .ph { transform: rotate(-2.5deg); box-shadow: 0 30px 50px -25px rgb(62 31 82 / .55); }
.badge {
  position: absolute; top: -34px; right: -6px;
  width: 112px; height: 112px;
  animation: spin 16s linear infinite;
}
.badge circle { fill: var(--leaf); }
.badge text { font: 700 9.4px var(--sans); letter-spacing: .14em; fill: var(--plum); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 2. Franja ---------- */
.marquee {
  background: var(--plum); color: var(--beige);
  transform: rotate(-2deg);
  margin: 0 -10px;
  padding: 14px 0;
  overflow: hidden;
  position: relative; z-index: 2;
}
.marquee__track { display: flex; width: max-content; animation: slide 18s linear infinite; }
.marquee span {
  font: 500 1.5rem var(--serif);
  font-style: italic;
  white-space: nowrap;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: 72px var(--pad); position: relative; }
.section--plum { background: var(--plum); color: var(--beige); }
.section--plum .h2 { color: var(--beige); }
.section--plum .script { color: var(--leaf); }
.section--cream { background: var(--cream); }
.h2 { font: 700 clamp(2.2rem, 10vw, 4rem)/1.05 var(--serif); color: var(--plum); margin: 8px 0 6px; }
.h2 .script { font-size: 1.3em; }
.sub { color: #6b6670; margin-bottom: 28px; }
.rama { width: 72px; margin-bottom: 6px; }

/* ---------- 3. Servicios: carrusel deslizable en móvil ---------- */
.cards {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  margin: 0 calc(var(--pad) * -1);
  padding: 4px var(--pad) 16px;
  scrollbar-width: none;
}
.cards::-webkit-scrollbar { display: none; }
.card {
  scroll-snap-align: start;
  background: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: 10px 10px 22px;
  position: relative;
  display: flex; flex-direction: column;
}
.card .ph { aspect-ratio: 4 / 3; margin-bottom: 16px; }
.card__n { font: 700 .8rem var(--sans); color: var(--sage); padding-left: 8px; }
.card h3 { font: 700 1.6rem var(--serif); color: var(--plum); padding: 0 8px; }
.card p { padding: 0 8px 14px; font-size: .95rem; color: #55505a; }
.card .price {
  margin: auto 8px 0; padding-top: 12px;
  border-top: 1px dashed #ddd3e3;
  font-size: .85rem; color: #6b6670;
}
.card .price b { font: 700 1.7rem var(--serif); color: var(--plum); margin-left: 4px; white-space: nowrap; }
.card .price--quote b { font: 700 .95rem var(--sans); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 8px 14px; }
.chips li {
  font-size: .75rem; font-weight: 500;
  padding: 5px 10px; border-radius: 999px;
  background: var(--beige); color: #55505a;
}
.chips b { color: var(--plum); margin-right: 3px; }
.card--soon { background: var(--ink); }
/* "3D" con relieve: sombras apiladas simulan la pieza extruida */
.soon-art {
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #7a4a96, var(--plum) 45%, var(--plum-dark));
}
.soon-art span {
  font: 700 clamp(5rem, 28vw, 7rem)/1 var(--serif);
  color: var(--leaf);
  text-shadow: 1px 1px 0 #9fb58f, 2px 2px 0 #8fa67f, 3px 3px 0 #7f976f, 4px 4px 0 #6f8860,
               5px 5px 0 #5f7950, 6px 6px 0 #4f6a41, 7px 7px 14px rgb(0 0 0 / .45);
  transform: rotate(-6deg);
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 50% { transform: rotate(-3deg) translateY(-6px); } }
.card--soon h3 { color: var(--beige); }
.card--soon p { color: #b9b4bd; }
.card__cta {
  margin: 14px 8px 0;
  display: flex; align-items: center; justify-content: center; min-height: 46px;
  border-radius: 999px; border: 2px solid var(--plum);
  font-weight: 700; font-size: .9rem; color: var(--plum); text-decoration: none;
}
.card__cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* toda la tarjeta se puede tocar */
.card:has(.card__cta:active) { transform: scale(.98); }
.card--soon .card__cta { margin-top: auto; border-color: var(--leaf); color: var(--leaf); }
.pill {
  position: absolute; top: 22px; left: 22px;
  font: 700 .78rem var(--sans); letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
  color: var(--ink);
  background: linear-gradient(90deg, var(--leaf), #fff, var(--leaf));
  background-size: 200% 100%;
  animation: shine 2.5s linear infinite;
}
@keyframes shine { to { background-position: -200% 0; } }

/* ---------- Pack ---------- */
.pack-wrap { padding: 0 var(--pad) 72px; }
.pack {
  position: relative;
  background: var(--leaf);
  border-radius: calc(var(--radius) + 8px);
  padding: 150px 24px 28px;
  margin-top: 70px;
}
.pack__pics { position: absolute; top: -60px; left: 0; right: 0; display: flex; justify-content: center; }
.pack__pics img {
  width: min(150px, 38vw); aspect-ratio: 1; object-fit: cover;
  border-radius: 18px; border: 5px solid #fff;
  box-shadow: 0 18px 30px -16px rgb(62 31 82 / .5);
}
.pack__pics img:first-child { transform: rotate(-7deg) translateX(14px); }
.pack__pics img:last-child { transform: rotate(6deg) translate(-14px, 18px); }
.pack .eyebrow { color: var(--plum); }
.pack__title { font: 700 clamp(2rem, 9vw, 3rem)/1.05 var(--serif); color: var(--plum); margin: 6px 0 10px; }
.pack__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.pack__price b { font: 700 3.4rem/1 var(--serif); color: var(--plum); white-space: nowrap; }
.pack__price span { font-size: .85rem; color: #4d5a48; }
.pack__note { margin: 10px 0 22px; color: #3c4a38; }
.pack .btn { width: 100%; }

/* ---------- 4. Antes / después ---------- */
.compare { position: relative; margin-top: 28px; border-radius: var(--radius); overflow: hidden; }
.compare .ph { border-radius: 0; }
.compare__before {
  position: absolute; inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.compare .compare__before::after { inset: 12px auto auto 12px; }
.compare .compare__after::after { left: auto; }
.section--plum .h2 .script { display: block; }
.compare__line {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 3px; background: var(--beige); transform: translateX(-50%);
  pointer-events: none;
}
.compare__line span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--beige); color: var(--plum); font-weight: 700;
}
.compare input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; margin: 0;
}
.hint { text-align: center; margin-top: 14px; font-size: .85rem; color: var(--leaf); }

/* ---------- 5. Galería ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery .ph { aspect-ratio: 1; border-radius: 16px; }
.gallery .tall { grid-row: span 2; aspect-ratio: auto; }
.gallery .wide { grid-column: span 2; aspect-ratio: 16 / 10; }
.link {
  display: inline-block; margin-top: 22px; padding: 10px 0;
  font-weight: 700; color: var(--plum); text-decoration-thickness: 2px; text-underline-offset: 6px;
}

/* ---------- Grupos (equipos, eventos, negocios) ---------- */
#grupos .h2 .script { display: block; }
.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.group {
  display: flex; flex-direction: column; height: 100%;
  padding: 18px 14px; border-radius: var(--radius);
  background: #fff;
  text-decoration: none; transition: background .2s, transform .2s;
}
.group:active { transform: scale(.98); }
.group__icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 12px;
  border-radius: 50%; background: var(--leaf); color: var(--plum);
}
.group h3 { font: 700 1.15rem/1.2 var(--serif); color: var(--plum); margin-bottom: 6px; }
.group p { font-size: .85rem; line-height: 1.5; color: #55505a; margin-bottom: 14px; }
.group__cta { margin-top: auto; font-size: .82rem; font-weight: 700; color: var(--plum); }

/* ---------- 6. Pasos ---------- */
.steps { display: grid; gap: 28px; margin-top: 28px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; }
.steps b {
  flex: none; width: 44px; text-align: center;
  font: 700 3.6rem/.8 var(--serif);
  color: var(--leaf);
  -webkit-text-stroke: 1.5px var(--plum);
}
.steps h3 { font: 700 1.25rem var(--serif); color: var(--plum); margin-bottom: 4px; }
.steps p { color: #55505a; }

/* ---------- Preguntas frecuentes ---------- */
.faq .h2 { margin-bottom: 20px; }
.faq details { background: #fff; border-radius: 18px; margin-bottom: 10px; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 56px; padding: 14px 18px;
  font: 700 1.05rem/1.3 var(--serif); color: var(--plum);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--sans); color: var(--sage); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 18px 18px; color: #55505a; }

/* ---------- 7. CTA final ---------- */
.final {
  background: var(--plum-dark);
  color: var(--beige);
  padding: 88px var(--pad);
  text-align: center;
}
.final h2 { font: 700 clamp(2.4rem, 11vw, 4.6rem)/1.05 var(--serif); margin-bottom: 32px; }
.final .script { display: block; color: var(--leaf); font-size: 1.35em; }
.final .btn { width: 100%; max-width: 360px; }

/* ---------- Página legal ---------- */
.legal { padding: 32px var(--pad) 40px; max-width: 760px; margin: 0 auto; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.legal__toc a {
  padding: 12px 16px; border-radius: 999px;
  background: #fff; color: var(--plum);
  font-weight: 600; font-size: .9rem; text-decoration: none;
}
.legal section { padding-top: 36px; scroll-margin-top: 70px; }
.legal h2 { font: 700 1.8rem/1.15 var(--serif); color: var(--plum); margin-bottom: 12px; }
.legal h3 { font: 700 1.1rem var(--serif); color: var(--plum); margin: 22px 0 6px; }
.legal p, .legal li { color: #3f3a44; margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 20px; }
.legal a { color: var(--plum); }
.pend { background: #FFE58A; color: var(--ink); padding: 0 4px; border-radius: 4px; }

/* ---------- Footer ---------- */
.foot {
  padding: 48px var(--pad) 120px;
  text-align: center;
  font-size: .9rem;
  display: grid; justify-items: center; gap: 6px;
}
.foot__logo { margin-bottom: 14px; height: auto; }
.foot__legal { color: #6b6670; }
.foot p a { display: inline-block; padding: 13px 4px; }
.foot__thanks { font-size: 1.9rem; margin-top: 12px; }

/* ---------- Botón fijo inferior (solo móvil) ---------- */
.sticky-cta {
  position: fixed; z-index: 30;
  left: var(--pad); right: var(--pad);
  bottom: max(16px, env(safe-area-inset-bottom));
  min-height: 54px; display: grid; place-items: center;
  border-radius: 999px;
  background: var(--plum); color: var(--beige);
  font-weight: 700; text-decoration: none;
  box-shadow: 0 12px 30px -8px rgb(62 31 82 / .6);
  transform: translateY(150%);
  transition: transform .35s ease;
}
.scrolled .sticky-cta { transform: none; }

/* ---------- Pantallas grandes ---------- */
@media (min-width: 760px) {
  :root { --pad: 48px; }
  .hero {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 0 56px; align-items: center;
    max-width: 1240px; margin: 0 auto; padding-top: 56px;
  }
  .hero > :not(.hero__media) { grid-column: 1; }
  .hero__media { grid-column: 2; grid-row: 1 / span 6; margin: 0; }
  .hero .btn { width: auto; justify-self: start; }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px var(--plum); }

  .section > *, .final > * { max-width: 1140px; margin-left: auto; margin-right: auto; }
  .cards { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0 auto; padding: 0; }
  .card { transition: transform .25s; }
  .card:hover { transform: translateY(-6px) rotate(-1deg); }
  .card:hover .card__cta { background: var(--plum); color: var(--beige); }
  .card--soon:hover .card__cta { background: var(--leaf); color: var(--ink); }
  .compare { max-width: 520px; }
  .pack-wrap > .pack { max-width: 1140px; margin: 70px auto 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; padding: 48px 56px; }
  .pack > :not(.pack__pics) { grid-column: 2; }
  .pack__pics { position: static; grid-column: 1; grid-row: 1 / span 5; align-self: center; margin-top: -110px; }
  .pack__pics img { width: 220px; }
  .pack .btn { width: auto; justify-self: start; }
  .compare .ph { aspect-ratio: 1; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery .wide { aspect-ratio: 2 / 1; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .groups { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .group { padding: 24px 20px; }
  .group:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgb(62 31 82 / .45); }
  .faq > * { max-width: 760px; }
  .sticky-cta { display: none; }
  .foot { padding-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
