/* Somos Kula Yoga — LMS Studio
   Paleta del rebranding (nov 2026): lila violeta y cremita como principales,
   verde pistacho y lima como secundarios. Violeta oscuro derivado del lila para textos y botones. */
:root {
  --violeta: #5B4794;
  --violeta-deep: #3B2E5E;
  --lila: #B39EDB;
  --lila-soft: #E4DBEF;
  --lima: #EAE446;
  --verde: #95A341;
  --verde-claro: #CDD39C;
  --uva: #2F2547;
  --uva-soft: #5A5070;
  --paper: #F2EEE8;
  --surface: #FAF8F4;
  --line: rgba(47, 37, 71, .14);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: min(1100px, 100% - 2rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--uva); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--violeta); outline-offset: 3px; border-radius: 6px; }
.wrap { width: var(--wrap); margin-inline: auto; }
[hidden] { display: none !important; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; padding: .8rem 1.5rem; border-radius: 999px; border: 0;
  font: 700 1rem/1.15 var(--sans); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s ease, color .15s ease;
}
.btn-solid { background: var(--violeta); color: #fff; }
.btn-solid:hover { background: var(--violeta-deep); }
.btn-line { background: transparent; color: var(--uva); box-shadow: inset 0 0 0 2px var(--uva); }
.btn-line:hover { background: var(--uva); color: var(--paper); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--lila) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--uva); }
.brand-word { width: auto; height: 34px; aspect-ratio: 398.5 / 225; fill: currentColor; }
.top-nav { display: flex; gap: 1.1rem; font-weight: 500; font-size: .98rem; }
.top-nav a { text-decoration: none; padding-block: .3rem; border-bottom: 2px solid transparent; }
.top-nav a:hover { border-color: var(--uva); }

/* ---------- hero ---------- */
.hero { background: var(--lila); padding: 1.5rem 0 3.5rem; overflow: hidden; }
.hero-in { position: relative; display: grid; gap: 1.25rem; }
.hero-sun { width: clamp(96px, 26vw, 150px); height: auto; aspect-ratio: 172.5 / 174; fill: var(--paper); }
.hero-word {
  position: absolute; right: -4%; top: 0; z-index: 0; width: clamp(170px, 46vw, 640px); height: auto;
  aspect-ratio: 398.5 / 225; fill: var(--paper); opacity: .32; pointer-events: none;
}
.hero h1 { position: relative; font: 400 clamp(2.5rem, 9vw, 4.6rem)/1.02 var(--serif); color: var(--uva); max-width: 14ch; letter-spacing: -.01em; }
.hero-lede { position: relative; max-width: 40ch; font-size: 1.12rem; color: var(--uva); }
.hero-actions { position: relative; display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .25rem; }

/* la tarjeta "hoy en Kula": lo que pasa en el estudio ahora */
.today {
  position: relative; margin-top: 1rem; background: var(--lima); border-radius: 26px;
  padding: 1.25rem 1.25rem 1.35rem; display: grid; gap: .15rem; max-width: 420px;
  box-shadow: 0 0 0 2px var(--uva);
}
.today-label { font-weight: 500; font-size: .95rem; }
.today-time { font: 800 clamp(3rem, 14vw, 4.2rem)/1 var(--sans); letter-spacing: -.03em; margin-top: .2rem; }
.today-class { font: 400 1.6rem/1.15 var(--serif); color: var(--violeta-deep); }
.today-meta { color: var(--uva-soft); margin-bottom: .9rem; }
.today .btn { justify-self: start; }

@media (min-width: 900px) {
  .hero { padding: 3rem 0 5rem; }
  .hero-in { grid-template-columns: 1.3fr 1fr; column-gap: 3rem; align-items: end; }
  .hero-in > :not(.today):not(.hero-word) { grid-column: 1; }
  .today { grid-column: 2; grid-row: 1 / span 4; align-self: end; margin: 0; }
}

/* animación única: la espiral gira apenas al cargar */
@media (prefers-reduced-motion: no-preference) {
  .hero-sun { animation: espiral 1.4s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes espiral { from { transform: rotate(-120deg) scale(.85); opacity: 0; } }
}

/* ---------- secciones ---------- */
.block { padding: 3.5rem 0; }
.block-soft { background: var(--lila-soft); }
.title { font: 800 clamp(2.4rem, 9vw, 3.6rem)/1 var(--sans); letter-spacing: -.035em; color: var(--violeta); }
.intro { margin-top: .6rem; max-width: 52ch; color: var(--uva-soft); }

/* ---------- horarios ---------- */
.days { display: flex; gap: .4rem; margin-top: 1.6rem; overflow-x: auto; padding: 3px 3px .6rem; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day {
  flex: 1 0 52px; max-width: 76px; min-height: 64px; padding: .45rem .3rem; border-radius: 999px; border: 0;
  background: transparent; box-shadow: inset 0 0 0 2px var(--verde); color: var(--uva);
  font: 500 .9rem/1.1 var(--sans); cursor: pointer; display: grid; place-items: center;
}
.day strong { font-size: 1.25rem; font-weight: 800; }
.day[aria-selected="true"] { background: var(--violeta); box-shadow: none; color: #fff; }
.day-panel { margin-top: .6rem; }
.class-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--uva); }
.class-row {
  display: grid; grid-template-columns: 4.6rem 1fr auto; gap: .9rem; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.class-time { font: 800 1.35rem/1 var(--sans); letter-spacing: -.02em; }
.class-name { font: 400 1.35rem/1.15 var(--serif); }
.class-meta { color: var(--uva-soft); font-size: .95rem; }
.class-row .btn { min-height: 44px; padding: .55rem 1.05rem; font-size: .95rem; }
.class-row.is-past { opacity: .45; }
.class-row.is-past .btn { display: none; }
.dot { display: inline-block; width: .65rem; height: .65rem; border-radius: 50%; margin-right: .4rem; vertical-align: .12em; box-shadow: inset 0 0 0 1.5px var(--uva); }
.dot-lima { background: var(--lima); } .dot-verde, .dot-rosa { background: var(--verde); } .dot-lila { background: var(--lila); } .dot-violeta, .dot-magenta { background: var(--violeta); box-shadow: none; }
.empty { padding: 1.25rem 0; color: var(--uva-soft); }
.online { margin-top: 1.4rem; color: var(--uva-soft); }
.online a { color: var(--violeta); font-weight: 700; }
@media (max-width: 420px) {
  .class-row { grid-template-columns: 3.9rem 1fr; }
  .class-row .btn { grid-column: 2; justify-self: start; }
}

/* ---------- clases ---------- */
.styles { margin-top: 1.8rem; display: grid; gap: 0; border-top: 2px solid var(--uva); }
.style { border-bottom: 1px solid var(--line); }
.style summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: .8rem;
  padding: 1.15rem 0; font: 400 clamp(1.5rem, 5.5vw, 2rem)/1.1 var(--serif);
}
.style summary::-webkit-details-marker { display: none; }
.style summary::after { content: "+"; margin-left: auto; font: 500 1.6rem/1 var(--sans); color: var(--violeta); transition: transform .2s ease; }
.style[open] summary::after { transform: rotate(45deg); }
.style .chip { width: 1.1rem; height: 1.1rem; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 2px var(--uva); }
.style-body { padding: 0 0 1.4rem 1.9rem; display: grid; gap: .9rem; max-width: 60ch; }
.style-when { color: var(--uva-soft); font-size: .95rem; }
.style-body .btn { justify-self: start; }

/* ---------- aranceles ---------- */
.fees-wrap { display: grid; gap: 1.8rem; }
@media (min-width: 900px) { .fees-wrap { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.fees { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.fee {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .2rem 1rem;
  padding: 1rem 1.1rem 1rem 1.3rem; border-radius: 22px; background: var(--violeta); color: var(--paper);
  text-decoration: none; transition: background-color .15s ease;
}
.fee:hover { background: var(--violeta-deep); }
.fee-name { font-weight: 700; font-size: 1.08rem; }
.fee-note { grid-column: 1; color: #E6DFF3; font-size: .92rem; }
.fee-price {
  grid-column: 2; grid-row: 1 / span 2; font: 800 1.2rem/1 var(--sans); color: var(--lima);
  padding: .55rem .9rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--verde);
}

/* ---------- en primera persona (videos) ---------- */
.voices { background: var(--lila); color: var(--uva); }
.voices .title { color: var(--uva); }
.voices .intro { color: var(--uva); }
.voices-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.voices-nav { display: flex; gap: .5rem; flex: none; }
.voices-arrow {
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: transparent; color: var(--uva); box-shadow: inset 0 0 0 2px var(--uva);
  display: grid; place-items: center;
}
.voices-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.voices-arrow:hover { background: var(--uva); color: var(--paper); }
.voices-arrow:disabled { opacity: .3; cursor: default; background: transparent; color: var(--uva); }
.voices-track {
  list-style: none; margin: 1.8rem 0 0; padding: 0 0 .5rem; display: grid; grid-auto-flow: column;
  grid-auto-columns: min(68vw, 260px); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.voices-track::-webkit-scrollbar { display: none; }
.voice { scroll-snap-align: start; display: grid; gap: .7rem; align-content: start; }
.voice-media {
  position: relative; aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; background: var(--lila-soft);
}
.voice-media video, .voice-media iframe, .voice-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.voice-play {
  position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; background: none;
}
.voice-play::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; translate: -50% -50%;
  border-radius: 50%; background: var(--lima) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%232F2547'/%3E%3C/svg%3E") center / 28px no-repeat;
}
.voice-name { font: 400 1.35rem/1.15 var(--serif); }
.voice-quote { color: var(--uva); font-size: .95rem; }
.voices-sample { display: inline-block; margin-top: .8rem; padding: .3rem .8rem; border-radius: 999px; background: var(--lima); color: var(--uva); font-weight: 700; font-size: .85rem; }

/* ---------- reseñas de Google ---------- */
.reviews { background: var(--lila-soft); }
.reviews-score { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .7rem; margin-top: .8rem; color: var(--uva-soft); }
.reviews-num { font: 800 2.4rem/1 var(--sans); letter-spacing: -.03em; color: var(--uva); }
.reviews-stars, .review-stars { color: var(--violeta); letter-spacing: .08em; font-size: 1.15rem; }
.reviews-track {
  list-style: none; margin: 1.6rem 0 0; padding: 0 0 .5rem; display: grid; grid-auto-flow: column;
  grid-auto-columns: min(84vw, 340px); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start; background: var(--surface); border-radius: 24px; padding: 1.3rem 1.3rem 1.2rem;
  display: grid; grid-template-rows: auto 1fr auto auto; gap: .8rem; box-shadow: inset 0 0 0 1.5px var(--line);
}
.review-text {
  display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 1rem; line-height: 1.55;
}
.review-author span { display: grid; line-height: 1.25; }
.review-author strong { font-weight: 700; }
.review-author span span { color: var(--uva-soft); font-size: .88rem; }
.review.is-open .review-text { -webkit-line-clamp: unset; display: block; }
.review-more {
  justify-self: start; border: 0; background: none; padding: .2rem 0; cursor: pointer;
  font: 700 .95rem/1.2 var(--sans); color: var(--violeta); text-decoration: underline; text-underline-offset: 3px;
}
@media (min-width: 900px) {
  .reviews-track { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; align-items: start; }
}
.reviews-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.reviews-source { margin-top: .9rem; font-size: .85rem; color: var(--uva-soft); }

/* ---------- más que yoga ---------- */
.more-grid { margin-top: 1.8rem; display: grid; gap: 1rem; }
@media (min-width: 820px) { .more-grid { grid-template-columns: repeat(3, 1fr); } }
.more-item { border-radius: 28px; padding: 1.5rem 1.4rem; display: grid; gap: .6rem; align-content: start; }
.more-item h3 { font: 400 1.9rem/1.05 var(--serif); }
.more-item .btn { justify-self: start; margin-top: .5rem; }
.more-who { font-weight: 700; }
.more-price { font: 800 1.6rem/1 var(--sans); letter-spacing: -.02em; }
.more-nutri { background: var(--lila); }
.more-nutri .more-price { justify-self: start; background: var(--lima); padding: .45rem .9rem; border-radius: 999px; font-size: 1.25rem; }
.more-shop { background: var(--verde-claro); }
.more-nomade { background: var(--lila); }

/* ---------- visitanos ---------- */
.visit { background: var(--violeta); color: #fff; }
.visit .title { color: var(--lima); }
.visit .intro { color: #E6DFF3; }
.visit-place { font: 400 clamp(1.8rem, 6vw, 2.4rem)/1.1 var(--serif); margin-top: .8rem; }
.visit-in { display: grid; gap: 1.8rem; }
@media (min-width: 820px) { .visit-in { grid-template-columns: 1fr auto; align-items: end; } }
.visit-actions { display: grid; gap: .7rem; }
.visit .btn-solid { background: var(--lima); color: var(--violeta); }
.visit .btn-solid:hover { background: #fff; }
.visit .btn-line { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.visit .btn-line:hover { background: #fff; color: var(--violeta); }

/* ---------- footer ---------- */
.foot { background: var(--uva); color: #CFC6E0; padding: 1.5rem 0 6rem; font-size: .92rem; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.foot a { color: var(--lima); }

/* ---------- botón flotante ---------- */
.float-wa {
  position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 30;
  display: inline-flex; align-items: center; gap: .5rem; min-height: 54px; padding: .8rem 1.25rem;
  border-radius: 999px; background: var(--violeta); color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 0 0 3px var(--paper), 0 10px 24px rgba(47, 37, 71, .28);
}
.float-wa svg { width: 22px; height: 22px; flex: none; }
.float-wa:hover { background: var(--violeta-deep); }

/* ---------- vista previa demo ---------- */
.wa-preview { border: 0; border-radius: 28px; padding: 1.25rem; width: min(400px, 100% - 2rem); background: var(--surface); color: var(--uva); }
.wa-preview::backdrop { background: rgba(47, 37, 71, .6); }
.wa-phone { border-radius: 18px; overflow: hidden; background: #0B141A; }
.wa-head { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; background: #1F2C34; color: #E9EDEF; }
.wa-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--lila); padding: 5px; flex: none; }
.wa-avatar svg { width: 100%; height: 100%; fill: var(--paper); }
.wa-name { font-weight: 700; line-height: 1.2; }
.wa-status { font-size: .8rem; color: #8696A0; }
.wa-chat { padding: 1.5rem 1rem 1.25rem; display: flex; justify-content: flex-end; }
.wa-bubble { background: #005C4B; color: #E9EDEF; padding: .55rem .75rem .35rem; border-radius: 10px 0 10px 10px; max-width: 88%; font-size: .95rem; line-height: 1.4; }
.wa-meta { display: block; text-align: right; font-size: .72rem; color: #8FCFC0; margin-top: .2rem; }
.wa-title { font: 400 1.9rem/1.1 var(--serif); color: var(--violeta-deep); margin-top: 1.25rem; }
.wa-note { color: var(--uva-soft); margin-top: .4rem; }
.wa-preview .btn { width: 100%; margin-top: 1.25rem; }
