/* Marketing site styles — Yupi Yei
   Imports tokens from ../../colors_and_type.css */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

/* ============================ shared ============================ */
.btn {
  border: 0; cursor: pointer;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 180ms cubic-bezier(.34,1.56,.64,1), box-shadow 180ms ease, background 160ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn:active { transform: scale(.98); box-shadow: var(--shadow-xs); }
.btn-lg { font-size: 16px; padding: 15px 28px; }
.btn-primary { background: var(--rosa-deep); color: var(--paper); box-shadow: var(--shadow-sm); }
.btn-whatsapp { background: var(--whatsapp); color: white; box-shadow: var(--shadow-sm); }
.btn-whatsapp:hover { background: var(--whatsapp-deep); }
.btn-secondary { background: var(--paper); color: var(--ink); border: 1.5px solid var(--sand); }
.btn-ghost { background: transparent; color: var(--ink); }

.eyebrow { font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.section-title { font-family: var(--font-display); font-size: clamp(32px, 4vw, 48px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.08; margin: 0 0 16px; text-wrap: balance; font-variation-settings: 'opsz' 96, 'SOFT' 50; }
.section-lede { font-family: var(--font-sans); font-size: 19px; line-height: 1.55; color: var(--fg-soft); max-width: 60ch; margin: 0; text-wrap: pretty; }
.section-lede .hint { color: var(--fg-muted); font-size: 16px; }
.section-head { padding-bottom: 40px; max-width: 720px; }
.section-head--center { margin: 0 auto; text-align: center; }
.section-head--center .section-lede { margin: 0 auto; }

section { padding: 96px 32px; max-width: 1200px; margin: 0 auto; }
@media (max-width: 720px) { section { padding: 64px 20px; } }

/* ============================ header ============================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  transition: background 240ms ease, box-shadow 240ms ease, padding 240ms ease;
  padding: 16px 0;
}
.site-header.scrolled {
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-xs);
  padding: 10px 0;
}
.site-header__inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 32px; }
.site-header__logo { display: inline-flex; flex: none; }
.site-header__logo img { height: 48px; }
.site-header.scrolled .site-header__logo img { height: 40px; }
.site-header__nav { display: flex; gap: 28px; margin-left: 24px; }
.site-header__nav a { font-family: var(--font-sans); font-size: 15px; font-weight: 500; color: var(--fg-soft); text-decoration: none; }
.site-header__nav a:hover { color: var(--rosa-deep); }
.site-header > .site-header__inner > .btn-whatsapp { margin-left: auto; }
.site-header__inner .btn-whatsapp { margin-left: auto; }
@media (max-width: 720px) {
  .site-header__nav { display: none; }
}

/* ============================ hero ============================ */
.hero { position: relative; min-height: 720px; padding: 80px 32px 96px; overflow: hidden; }
.hero__inner { max-width: 880px; margin: 40px auto 0; text-align: center; position: relative; z-index: 2; }
.hero__inner .eyebrow { margin: 0 0 16px; }
.hero__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 5.5vw, 72px); line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; color: var(--ink); margin: 0 0 32px; font-variation-settings: 'opsz' 144, 'SOFT' 50; }
.hero__title-hand { font-family: var(--font-hand); font-weight: 700; color: var(--rosa-deep); display: inline-block; transform: rotate(-4deg) translateY(0.05em); font-size: 1.5em; line-height: 0.85; padding: 0 0.06em; letter-spacing: -0.01em; }
.hero__hand { font-family: var(--font-hand); font-size: clamp(36px, 4.2vw, 52px); font-weight: 600; line-height: 1.2; color: var(--rosa-deep); transform: rotate(-2deg); white-space: nowrap; margin: 0 0 24px; }
.hero__lede { font-family: var(--font-sans); font-size: 19px; line-height: 1.55; color: var(--fg-soft); max-width: 56ch; margin: 0 auto 32px; text-wrap: pretty; }
.hero__lede b { color: var(--ink); font-weight: 600; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero__discover { display: flex; justify-content: center; margin: 8px 0 0; }
.hero__discover-link { font-family: var(--font-sans); font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; transition: background 180ms ease, transform 180ms ease; }
.hero__discover-link:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.hero__discover-link i { font-size: 18px; transition: transform 280ms ease; }
.hero__discover-link:hover i { transform: translateY(3px); }
@keyframes heroBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
.hero__discover-link i { animation: heroBob 2.2s ease-in-out infinite; }
.hero__discover-link:hover i { animation: none; }
.hero__trust { font-family: var(--font-sans); font-size: 14px; color: var(--fg-muted); margin: 28px 0 0; display: flex; align-items: center; gap: 8px; justify-content: center; }
.hero__trust i { color: var(--verde-deep); font-size: 18px; }

.hero__decor { position: absolute; inset: 0; pointer-events: none; }
.hero__decor .blob {
  position: absolute; display: block; width: 110px; height: 110px;
  border-radius: 62% 38% 55% 45% / 50% 60% 40% 50%;
  filter: blur(0.5px);
  opacity: 0.85;
}
.blob-rosa { background: var(--rosa); }
.blob-amarillo { background: var(--amarillo); width: 80px !important; height: 80px !important; }
.blob-verde { background: var(--verde); width: 130px !important; height: 130px !important; border-radius: 38% 62% 45% 55% / 60% 50% 60% 40%; }
.blob-azul { background: var(--azul); width: 90px !important; height: 90px !important; }
.blob-morado { background: var(--morado); width: 70px !important; height: 70px !important; }
.hero__decor .dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; opacity: 0.85; }

/* ============================ servicios ============================ */
.servicios { background: var(--paper); border-radius: var(--radius-xl); margin-top: 0; }
.servicios__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .servicios__grid { grid-template-columns: repeat(2, 1fr); } }

.servicio {
  background: var(--cream); border-radius: var(--radius-lg);
  padding: 28px 24px; min-height: 240px;
  display: flex; flex-direction: column; gap: 10px;
  border: 1.5px solid var(--border-soft);
  transition: transform 200ms ease, box-shadow 200ms ease;
  position: relative;
}
.servicio:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.servicio.is-soon { opacity: 0.92; }
.servicio.is-soon:hover { transform: translateY(-2px); }
.servicio__badge {
  position: absolute; top: -26px; right: -28px;
  background: transparent; color: var(--ink);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 90' preserveAspectRatio='none'><path d='M 18 38 C 6 36 2 64 22 68 C 76 74 150 72 208 64 C 234 60 246 42 230 28 C 200 18 110 20 64 24 C 34 26 22 30 18 38 Z' fill='%23B5DBA4'/></svg>");
  background-repeat: no-repeat; background-size: 100% 100%;
  font-family: var(--font-hand); font-size: 24px; font-weight: 700;
  padding: 22px 38px 26px;
  border: none; border-radius: 0;
  transform: rotate(9deg);
  z-index: 2;
  line-height: 1; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center;
}
.servicio__link--soon {
  font-family: var(--font-hand); font-size: 20px; font-weight: 700;
  color: var(--rosa-deep); transform: rotate(-2deg); display: inline-block;
  margin-top: auto; align-self: flex-start;
}

/* Sticker-duotone icon pad — pastel pad + ink outline glyph + die-cut hairline */
.servicio__icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: grid; place-items: center;
  margin-bottom: 8px;
  color: var(--ink);                /* glyph stroke color */
  box-shadow:
    inset 0 0 0 1.5px rgba(44, 42, 40, 0.10),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
}
.servicio__icon i { font-size: 28px; line-height: 1; }
.servicio__icon svg.ph-custom {
  width: 28px; height: 28px;
  fill: none; stroke: currentColor;
  stroke-width: 16; stroke-linecap: round; stroke-linejoin: round;
}
.servicio--rosa   .servicio__icon { background: var(--rosa-tint); }
.servicio--verde  .servicio__icon { background: var(--verde-tint); }
.servicio--azul   .servicio__icon { background: var(--azul-tint); }
.servicio--morado .servicio__icon { background: var(--morado-tint); }

.servicio__name { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin: 0; font-variation-settings: 'opsz' 48, 'SOFT' 50; }
.servicio__desc { font-size: 14px; line-height: 1.5; color: var(--fg-muted); margin: 0; flex: 1; }
.servicio__link { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; }
.servicio__link:hover { color: var(--rosa-deep); gap: 8px; }

/* ============================ paquetes ============================ */
.paquetes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .paquetes__grid { grid-template-columns: 1fr; } }

.paquete {
  background: var(--paper); border-radius: var(--radius-lg);
  padding: 28px 26px;
  border: 1.5px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.paquete:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.paquete.is-featured { background: linear-gradient(180deg, var(--rosa-tint) 0%, var(--paper) 40%); border-color: var(--rosa); box-shadow: var(--shadow-lg); transform: scale(1.02); }
.paquete.is-featured:hover { transform: scale(1.02) translateY(-3px); }
.paquete__tag { position: absolute; top: -14px; right: 20px; font-family: var(--font-hand); font-size: 22px; background: var(--amarillo); color: var(--ink); padding: 4px 16px; border-radius: 14px; transform: rotate(-3deg); box-shadow: var(--shadow-sm); }
.paquete__name { font-family: var(--font-display); font-size: 30px; font-weight: 500; margin: 0; font-variation-settings: 'opsz' 48, 'SOFT' 50; }
.paquete__tagline { font-size: 14px; color: var(--fg-muted); margin: 4px 0 8px; }
.paquete__capacity { font-family: var(--font-sans); font-weight: 600; font-size: 14px; color: var(--rosa-deep); margin: 0; display: inline-block; padding: 4px 12px; background: var(--rosa-tint); border-radius: 999px; }
.paquete--verde .paquete__capacity { color: var(--verde-deep); background: var(--verde-tint); }
.paquete--morado .paquete__capacity { color: var(--morado-deep); background: var(--morado-tint); }
.paquete__features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.paquete__features li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--fg-soft); line-height: 1.45; }
.paquete__features i { color: var(--verde-deep); margin-top: 2px; flex: none; font-size: 18px; }
.paquete__price { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-display); margin-top: 8px; }
.paquete__price span { font-size: 14px; color: var(--fg-muted); }
.paquete__price b { font-size: 28px; font-weight: 500; color: var(--ink); }
.paquete .btn { justify-content: center; }

/* ============================ proceso ============================ */
.proceso { background: var(--cream-deep); border-radius: var(--radius-xl); }
.proceso__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 720px) { .proceso__list { grid-template-columns: 1fr; } }
.proceso__step { background: var(--paper); border-radius: var(--radius-lg); padding: 32px 28px; text-align: center; border: 1.5px solid var(--border-soft); }

/* Sticker-duotone XL — same pad rules at 72px */
.proceso__icon {
  width: 72px; height: 72px;
  border-radius: 22px;
  background: var(--rosa-tint);
  color: var(--ink);
  display: grid; place-items: center;
  margin: 0 auto 16px;
  font-size: 36px;
  box-shadow:
    inset 0 0 0 1.5px rgba(44, 42, 40, 0.10),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
}
.proceso__step:nth-child(2) .proceso__icon { background: var(--amarillo-tint); }
.proceso__step:nth-child(3) .proceso__icon { background: var(--verde-tint); }

.proceso__n { font-family: var(--font-hand); font-size: 24px; color: var(--rosa-deep); margin-bottom: 4px; }
.proceso__step:nth-child(2) .proceso__n { color: var(--amarillo-deep); }
.proceso__step:nth-child(3) .proceso__n { color: var(--verde-deep); }
.proceso__t { font-family: var(--font-display); font-size: 24px; font-weight: 500; margin: 0 0 8px; font-variation-settings: 'opsz' 48, 'SOFT' 50; }
.proceso__d { font-size: 15px; line-height: 1.55; color: var(--fg-muted); margin: 0; }

/* ============================ faq ============================ */
.faq__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.faq__item { background: var(--paper); border-radius: var(--radius-md); border: 1.5px solid var(--border-soft); overflow: hidden; transition: box-shadow 160ms ease; }
.faq__item.is-open { box-shadow: var(--shadow-sm); border-color: var(--rosa); }
.faq__q { width: 100%; background: transparent; border: 0; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-sans); font-size: 17px; font-weight: 600; color: var(--ink); text-align: left; }
.faq__q i { color: var(--rosa-deep); font-size: 20px; flex: none; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 240ms ease; }
.faq__item.is-open .faq__a { max-height: 320px; }
.faq__a p { padding: 0 22px 20px; font-size: 15px; line-height: 1.6; color: var(--fg-muted); margin: 0; }

/* ============================ footer ============================ */
.site-footer { background: var(--rosa-tint); padding: 96px 32px 32px; margin-top: 64px; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.site-footer__cta { max-width: 720px; margin: 0 auto; text-align: center; }
.site-footer__cta .hand-lg { font-family: var(--font-hand); font-size: 48px; transform: rotate(-2deg); margin: 0 0 8px; }
.site-footer__cta .section-title { color: var(--ink); }
.site-footer__cta .btn { margin-top: 24px; }
.site-footer__phone { font-size: 14px; color: var(--fg-muted); margin: 16px 0 0; }
.site-footer__bottom { max-width: 1200px; margin: 64px auto 0; padding-top: 24px; border-top: 1.5px solid var(--rosa); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer__brand { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--fg-muted); }
.site-footer__brand img { height: 36px; }
.site-footer__links { display: flex; gap: 20px; font-size: 14px; }
.site-footer__links a { color: var(--ink); text-decoration: none; }
.site-footer__links a:hover { color: var(--rosa-deep); }

/* ============================ whatsapp float ============================ */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 100; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
/* FAB uses --whatsapp-bright (recognition mark on a small floating circle) */
.wa-float__btn { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--whatsapp); color: white; font-size: 32px; cursor: pointer; box-shadow: var(--shadow-md); display: grid; place-items: center; transition: transform 200ms ease; }
.wa-float__btn:hover { transform: scale(1.08); }
.wa-float__card { background: var(--paper); border-radius: var(--radius-lg); padding: 18px; width: 280px; box-shadow: var(--shadow-lg); border: 1.5px solid var(--border-soft); display: flex; flex-direction: column; gap: 12px; animation: rise 220ms cubic-bezier(.34,1.56,.64,1); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.wa-float__head { display: flex; gap: 10px; align-items: center; }
.wa-float__head img { width: 40px; height: 40px; border-radius: 50%; background: var(--rosa-tint); padding: 4px; }
.wa-float__name { font-weight: 700; font-size: 15px; }
.wa-float__status { font-size: 11px; color: var(--verde-deep); display: flex; align-items: center; gap: 5px; }
.wa-float__status .dot { width: 7px; height: 7px; background: var(--verde-deep); border-radius: 50%; }
.wa-float__msg { font-size: 14px; line-height: 1.5; color: var(--fg-soft); margin: 0; background: var(--cream); padding: 12px 14px; border-radius: 14px 14px 14px 4px; }
.wa-float .btn { justify-content: center; }

/* Static build: card hidden until opened, FAB icon swaps */
.wa-float__card { display: none; }
.wa-float.is-open .wa-float__card { display: flex; }
.wa-float .ic-close { display: none; }
.wa-float.is-open .ic-wa { display: none; }
.wa-float.is-open .ic-close { display: inline-flex; }

/* ============================ inline svg icons ============================ */
/* Replaces the Phosphor web font. Each icon sits in an <i class="i-svg">
   so the existing `i { font-size }` rules keep controlling its size. */
.i-svg { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.i-svg > svg { width: 1em; height: 1em; display: block; }

/* Keep aspect ratio (width/height attrs declared for CLS) when CSS sets height */
.site-header__logo img, .site-footer__brand img { width: auto; }

/* ============================ accessibility (WCAG AA contrast) ============================ */
/* Small text on colored fills needs 4.5:1. The bright pastel accents are kept
   for large/decorative use (hero lettering, links); only these small-text spots
   get a deeper shade. */
.btn-primary { background: #A0495F; }                    /* white text: ~5.6:1 */
.paquete__capacity { color: #9E4860; }                   /* on rosa-tint: ~4.9:1 */
.paquete--morado .paquete__capacity { color: #74559E; }  /* on morado-tint: ~4.8:1 */
