/* Fiestuqui — estilos del tema */

:root {
  --verde: #7DBA1E;
  --naranja: #F5821F;
  --rosa: #E90166;
  --amarillo: #FACA06;
  --azul: #0097DB;
  --tinta: #3E3A53;
  --crema: #FFF8EE;
  --blanco: #FFFFFF;
  --font: "Fredoka", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--tinta); background: var(--crema); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ---------- Cabecera ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .3s, box-shadow .3s, padding .3s;
}
.header.is-solid { background: rgba(255, 248, 238, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(62, 58, 83, .08); padding-block: 10px; }
.header__logo img { height: 40px; width: auto; }
.header__logo { transition: opacity .3s, transform .3s; }
/* En la portada el logo de la cabecera aparece al bajar, para no repetir el del hero */
.home .header__logo { opacity: 0; transform: translateY(-6px); }
.home .header.is-solid .header__logo { opacity: 1; transform: none; }
body:not(.home) .header { background: rgba(255, 248, 238, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(62, 58, 83, .08); padding-block: 10px; }
.nav { font-weight: 500; font-size: 17px; }
.nav__list, .nav ul { display: flex; gap: clamp(18px, 2.4vw, 34px); list-style: none; }
.nav li:nth-child(5n+1) { --c: var(--rosa); }
.nav li:nth-child(5n+2) { --c: var(--azul); }
.nav li:nth-child(5n+3) { --c: var(--naranja); }
.nav li:nth-child(5n+4) { --c: var(--verde); }
.nav li:nth-child(5n+5) { --c: var(--amarillo); }
.nav a { position: relative; padding: 6px 0; display: inline-block; }
.nav .current-menu-item > a::after { transform: scaleX(1); }
.admin-bar .header { top: 32px; }

@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
/* En móvil WordPress suelta la barra de administración al hacer scroll: se fija para que la cabecera no deje hueco */
@media (max-width: 600px) { #wpadminbar { position: fixed; } }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--tinta); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--c, var(--rosa)); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover::after { transform: scaleX(1); }
.header__tools { display: flex; gap: 10px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 2px 10px rgba(62, 58, 83, .08); position: relative; border: 0; color: inherit; cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .badge { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--rosa); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.burger { display: none; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 28px; border-radius: 28px; font-weight: 600; font-size: 18px; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn--main { background: var(--rosa); color: #fff; box-shadow: 0 10px 24px rgba(233, 1, 102, .3); }
.btn--white { background: #fff; color: var(--tinta); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; }
.hero__bg { position: absolute; inset: -6% 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .14; filter: saturate(1.2); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, var(--crema) 18%, transparent 70%); }
.sky { position: absolute; inset: 0; }
.pop { cursor: pointer; }
.b { position: absolute; will-change: transform; }
.b .bm, .b .bi { will-change: transform; }
.b svg { width: 100%; height: auto; overflow: visible; display: block; }
.b .balloon { cursor: pointer; filter: drop-shadow(0 18px 24px rgba(62, 58, 83, .12)); }
.b.far .balloon { filter: blur(1.5px); opacity: .85; }

/* Foto colgada de globos */
.card .lift { width: 62%; margin: 0 auto -4px; }
.card .photo { border-radius: 22px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 24px 50px rgba(62, 58, 83, .22); transform: rotate(var(--r, 0deg)); transform-origin: 50% 0; background: #fff; }
.card .photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.hero__content {
  position: absolute; inset: 0; z-index: 15; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 90px 16px 40px;
}
.hero__logo { width: min(640px, 46vw); }
.hero__title { margin-top: clamp(18px, 3vh, 30px); font-size: clamp(22px, 2.3vw, 32px); font-weight: 500; line-height: 1.2; max-width: 20ch; }
.hero__ctas { margin-top: clamp(22px, 4vh, 36px); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; pointer-events: auto; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; z-index: 16; width: 28px; height: 44px; border: 2.5px solid var(--tinta); border-radius: 16px; opacity: .5; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 5px; height: 8px; margin-left: -2.5px; border-radius: 3px; background: var(--tinta); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

.curtain { position: absolute; left: -5%; right: -5%; bottom: 0; height: 120%; z-index: 20; background: var(--rosa); visibility: hidden; border-radius: 50% 50% 0 0 / 14% 14% 0 0; }
.shard { position: fixed; z-index: 210; width: 10px; height: 10px; border-radius: 3px; pointer-events: none; }

/* ---------- Títulos de sección ---------- */
.kicker { font-size: 18px; font-weight: 600; opacity: .8; }
.h2 { font-size: clamp(40px, 6.4vw, 96px); font-weight: 700; line-height: .95; letter-spacing: -.01em; }

/* ---------- Ocasiones (scroll horizontal) ---------- */
.occ { background: var(--rosa); color: #fff; position: relative; z-index: 2; overflow: hidden; }
.occ__inner { height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 44px); padding-block: 90px 40px; }
.occ__head { padding-inline: var(--gutter); display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.occ__track { display: flex; gap: clamp(14px, 2vw, 28px); padding-inline: var(--gutter); width: max-content; }
.tile { position: relative; flex: none; width: clamp(240px, 24vw, 360px); aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--bg); color: var(--fg, #fff); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.tile:hover { transform: translateY(-8px) rotate(-1deg); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(30, 24, 50, .55)); }
.tile--plain::after { display: none; }
.tile__name, .tile__count { position: relative; z-index: 1; }
.tile__name { font-size: clamp(30px, 2.8vw, 44px); font-weight: 700; line-height: 1; }
.tile__count { margin-top: 6px; font-size: 17px; font-weight: 500; opacity: .9; }
.tile--plain .tile__name { font-size: clamp(36px, 3.4vw, 54px); }
.tile__deco { position: absolute; right: -14%; top: -8%; width: 70%; opacity: .95; }

/* ---------- Disfraces para todos ---------- */
.who { padding: clamp(80px, 14vh, 160px) var(--gutter); }
.who__head { text-align: center; max-width: 900px; margin: 0 auto clamp(40px, 7vh, 80px); }
.who__head p { margin-top: 18px; font-size: 20px; }
.who__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 36px); align-items: start; }
.who__grid .person:nth-child(2) { margin-top: clamp(40px, 8vw, 120px); }
.person { display: block; position: relative; }
.person__photo { border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg); }
.person__photo img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.person__label { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; font-size: clamp(26px, 2.4vw, 36px); font-weight: 700; }
.person__label span { width: 52px; height: 52px; border-radius: 50%; background: var(--bg); color: #fff; display: grid; place-items: center; transition: transform .3s; }
.person:hover .person__label span { transform: rotate(-45deg) scale(1.08); }
.person__label svg { width: 22px; height: 22px; }

/* ---------- Globos ---------- */
.balloons { background: var(--verde); color: #fff; display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; overflow: hidden; }
.balloons__photo { position: relative; overflow: hidden; }
.balloons__photo img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.balloons__text { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: clamp(60px, 10vh, 120px) var(--gutter); }
.balloons__text p { font-size: 21px; line-height: 1.4; max-width: 30ch; }
.numbers { display: flex; gap: 10px; }
.numbers span { width: clamp(54px, 5vw, 76px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: clamp(26px, 2.4vw, 38px); font-weight: 700; background: var(--c); color: #fff; box-shadow: inset -6px -8px 0 rgba(0, 0, 0, .12); }

/* ---------- Tienda ---------- */
.shop { background: var(--tinta); color: #fff; padding: clamp(80px, 14vh, 160px) var(--gutter); position: relative; overflow: hidden; }
.shop__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; position: relative; z-index: 1; }
.shop__data { display: grid; gap: 18px; font-size: 21px; }
.shop__data a:hover { color: var(--amarillo); }
.shop__data small { display: block; font-size: 15px; opacity: .6; margin-bottom: 2px; }
.shop .confetti { position: absolute; inset: 0; pointer-events: none; }
.shop .confetti i { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--c); opacity: .9; }

/* ---------- Pie ---------- */
.footer { padding: 56px var(--gutter) 28px; display: grid; gap: 36px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer__top img { height: 52px; width: auto; }
.footer__cols { display: flex; gap: clamp(32px, 6vw, 90px); flex-wrap: wrap; }
.footer__cols h3 { font-size: 15px; font-weight: 600; opacity: .55; margin-bottom: 12px; }
.footer__cols ul { list-style: none; display: grid; gap: 8px; font-size: 17px; }
.footer__cols a:hover { color: var(--rosa); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(62, 58, 83, .12); padding-top: 24px; font-size: 15px; opacity: .85; }
.footer__bottom a:hover { color: var(--rosa); }
.footer__by a { font-weight: 600; }

/* ---------- Páginas interiores ---------- */
.site-main > .page { max-width: 1280px; margin: 0 auto; padding: 130px var(--gutter) 90px; min-height: 60vh; }
.page__title { font-size: clamp(36px, 5vw, 68px); font-weight: 700; line-height: 1; margin-bottom: 32px; }
.prose { max-width: 72ch; font-size: 18px; line-height: 1.6; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3 { line-height: 1.15; margin-top: 1.6em; }
.prose a { color: var(--rosa); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.page--404 { text-align: center; }
.page--404 .btn { margin-top: 24px; }
.post-list { display: grid; gap: 16px; }
.post-list__item { display: block; background: #fff; border-radius: 22px; padding: 24px; }

/* ---------- WooCommerce: base con los colores del tema ---------- */
.woocommerce .page-title { font-size: clamp(36px, 5vw, 68px); font-weight: 700; line-height: 1; margin-bottom: 24px; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { background: #fff; border-radius: 22px; padding: 14px 14px 18px; text-align: left; transition: transform .25s ease, box-shadow .25s ease; }
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(62, 58, 83, .12); }
.woocommerce ul.products li.product a img { border-radius: 14px; margin-bottom: 12px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 17px; font-weight: 500; line-height: 1.25; padding: 0; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--rosa); font-weight: 700; font-size: 19px; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
  background: var(--rosa); color: #fff; border-radius: 24px; font-family: var(--font); font-weight: 600; padding: 12px 22px; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: #c70057; color: #fff; }
.woocommerce span.onsale { background: var(--amarillo); color: var(--tinta); font-weight: 600; }
.woocommerce .woocommerce-breadcrumb { font-size: 15px; margin-bottom: 18px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--tinta); opacity: .7; }
.woocommerce div.product .product_title { font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; line-height: 1.05; }
.woocommerce div.product div.images img { border-radius: 22px; background: #fff; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--verde); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--verde); }
.woocommerce input.input-text, .woocommerce select, .woocommerce textarea { border: 1.5px solid rgba(62, 58, 83, .2); border-radius: 12px; padding: 10px 12px; font-family: var(--font); }


/* ---------- Reseñas de Google ---------- */
.greviews { background: var(--amarillo); color: var(--tinta); padding: clamp(80px, 13vh, 150px) var(--gutter); display: grid; justify-items: center; text-align: center; gap: 48px; overflow: hidden; }
.greviews__score { display: grid; justify-items: center; gap: 30px; }
.greviews__big { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); }
.greviews__big strong { font-size: clamp(96px, 14vw, 200px); font-weight: 700; line-height: .85; letter-spacing: -.03em; }
.greviews__big span { font-size: clamp(24px, 2.6vw, 38px); font-weight: 600; line-height: 1.05; text-align: left; max-width: 7ch; }
.greviews__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.gstars { position: relative; display: inline-flex; line-height: 0; }
.gstars svg { width: 34px; height: 34px; flex: none; }
.gstars__off { display: inline-flex; fill: rgba(62, 58, 83, .18); }
.gstars__on { position: absolute; inset: 0 auto 0 0; display: inline-flex; overflow: hidden; fill: var(--tinta); }
.greviews--list { grid-template-columns: minmax(0, 1fr); }
.greviews__track { display: flex; gap: clamp(14px, 1.6vw, 24px); width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); padding: 6px var(--gutter) 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; text-align: left; }
.greviews__track::-webkit-scrollbar { display: none; }
@media (pointer: fine) { .greviews__track { cursor: grab; } }
.greviews__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.greview { flex: 0 0 clamp(280px, 30vw, 420px); scroll-snap-align: start; background: #fff; border-radius: 26px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.greview .gstars svg { width: 22px; height: 22px; }
.greview .gstars__on { fill: var(--amarillo); }
.greview p { font-size: 18px; line-height: 1.45; flex: 1; }
.greview footer { display: flex; align-items: center; gap: 12px; font-size: 15px; opacity: .85; }
.greview footer strong { display: block; font-weight: 600; }
.greview__ini { width: 44px; height: 44px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 20px; flex: none; }
.greviews__widget { width: 100%; max-width: 1400px; text-align: left; }
.greviews__widget .ti-widget, .greviews__widget .ti-widget * { font-family: var(--font) !important; }
.greviews__widget .ti-widget .ti-review-item > .ti-inner { background: #fff !important; border: 0 !important; border-radius: 26px !important; }
.greviews__widget .ti-widget .ti-review-content { font-size: 17px !important; line-height: 1.45 !important; color: var(--tinta) !important; }

@media (max-width: 860px) {
  .greviews__big { flex-direction: column; gap: 14px; }
  .greviews__big span { text-align: center; max-width: none; }
  .header.is-solid, body:not(.home) .header { background: var(--crema); backdrop-filter: none; }
  .nav { display: none; position: fixed; inset: 0; z-index: -1; background: var(--crema); padding: 110px var(--gutter) 40px; }
  .nav.is-open { display: block; }
  .nav.is-open .nav__list, .nav.is-open ul { flex-direction: column; gap: 6px; font-size: 34px; font-weight: 600; }
  .nav.is-open a { padding: 8px 0; }
  .menu-open { overflow: hidden; }
  .menu-open .header { background: var(--crema); }
  .menu-open .header__logo { opacity: 1; transform: none; }
  .burger { display: grid; }
  .header__logo img { height: 32px; }
  .b.desk { display: none; }
  .btn { height: 52px; padding: 0 22px; font-size: 17px; }
  .hero__content { justify-content: flex-start; padding-top: 15vh; }
  .hero__logo { width: 84vw; }
  .occ__inner { height: auto; padding-block: 120px 70px; }
  .occ__head { flex-direction: column; align-items: flex-start; }
  .occ__scroller { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .occ__scroller::-webkit-scrollbar { display: none; }
  .tile { width: 72vw; scroll-snap-align: center; }
  .who__grid { grid-template-columns: 1fr; gap: 44px; }
  .who__grid .person:nth-child(2) { margin-top: 0; }
  .balloons { grid-template-columns: 1fr; }
  .balloons__photo { height: 70vh; }
  .shop__grid { grid-template-columns: 1fr; }
}
