/* Eje Fisioterapia (demo): warm and organic. Rounded panels, a photo collage with floating cards and
   interactive pieces (pain map, recovery timeline, booking that answers on WhatsApp, bono switch).
   To personalise: colours here, name/texts/photos in index.html, zones and hours in app.js. */

:root {
  --bg: #F7F5F0;
  --surface: #FFFFFF;
  --soft: #E6F2EC;
  --sand: #F3E7D6;
  --ink: #12201E;
  --ink-2: #4B5B58;
  --line: rgba(18, 32, 30, 0.1);
  --primary: #0E7C66;
  --primary-hover: #0A5E4D;
  --primary-soft: #DCEFE8;
  --warm: #F97316;
  --deep: #0F2A25;
  --deep-text: #BFD3CD;
  --deep-accent: #9BE5CF;
  --clay: #B8612F;
  --iris: #5B6DCD;
  --wa-avatar: #0E7C66;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body {
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 10px;
}

.wrap {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.fine {
  margin: 16px 0 0;
  color: var(--ink-2);
  font-size: 14px;
}

.center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 26px -16px rgba(14, 124, 102, 0.9);
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-soft {
  background: var(--primary-soft);
  color: var(--primary-hover);
}

.btn-soft:hover {
  background: #CBE7DD;
}

.btn-light {
  background: #fff;
  color: var(--deep);
}

.btn-light:hover {
  background: #E6F2EC;
}

.btn-lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

/* Floating pill header */
.top {
  position: sticky;
  top: 12px;
  z-index: 30;
  padding: 0 16px;
}

.top-pill {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1080px;
  margin: 12px auto 0;
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px -22px rgba(18, 32, 30, 0.45);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo-name span {
  color: var(--ink-2);
  font-weight: 500;
}

.nav {
  margin-left: auto;
}

.nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover {
  background: var(--soft);
  color: var(--ink);
}

/* Hero: centred headline over a photo collage with floating cards */
.hero {
  padding: 72px 0 32px;
  text-align: center;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary-hover);
  font-size: 14px;
  font-weight: 700;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.hero h1 {
  max-width: 10.5em;
  margin: 0 auto;
  font-size: clamp(48px, 8.2vw, 108px);
  font-weight: 800;
  line-height: 0.97;
  letter-spacing: -0.05em;
}

.hero h1 span {
  color: var(--primary);
}

.lead {
  max-width: 36em;
  margin: 24px auto 0;
  color: var(--ink-2);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.collage {
  position: relative;
  max-width: 1180px;
  height: clamp(380px, 44vw, 600px);
  margin: 64px auto 0;
}

.shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 44px 80px -44px rgba(18, 32, 30, 0.55);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-main {
  top: 0;
  left: 50%;
  z-index: 2;
  width: min(580px, 56%);
  height: 94%;
  transform: translateX(-50%);
}

.shot-main img {
  object-position: 58% 50%;
}

.shot-side {
  top: 24%;
  z-index: 1;
  width: min(330px, 30%);
  height: 60%;
}

.shot-left {
  left: 3%;
  transform: rotate(-5deg);
}

.shot-right {
  right: 3%;
  transform: rotate(5deg);
}

.float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff;
  text-align: left;
  box-shadow: 0 24px 46px -22px rgba(18, 32, 30, 0.55);
  animation: float-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both, bob 6s ease-in-out infinite;
}

.float small {
  display: block;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}

.float strong {
  font-size: 15px;
}

.float-a {
  top: 12%;
  left: 15%;
  animation-delay: 0.5s, 1.2s;
}

.float-b {
  top: 3%;
  right: 13%;
  display: block;
  animation-delay: 0.8s, 1.6s;
}

.float-c {
  right: 21%;
  bottom: 3%;
  animation-delay: 1.1s, 2s;
}

.float-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-weight: 800;
}

.float-icon-ok {
  background: #DCFCE7;
  color: #15803D;
}

.float-icon-play {
  background: var(--primary);
  color: #fff;
  font-size: 12px;
}

.pain-scale {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.pain-scale b {
  font-size: 22px;
  line-height: 1;
}

.pain-scale b:first-of-type {
  color: #C2410C;
}

.pain-scale b:last-of-type {
  color: var(--primary);
}

.pain-scale i {
  width: 58px;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--warm), var(--primary));
}

.pain-scale em {
  color: var(--ink-2);
  font-size: 13px;
  font-style: normal;
}

@keyframes float-in {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

.promises {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 40px;
  margin-top: 44px;
  margin-bottom: 0;
  padding: 0;
  color: var(--ink-2);
  font-size: 15px;
  list-style: none;
}

.promises strong {
  color: var(--ink);
}

/* Rounded panels inset from the viewport edge */
.panel {
  margin: 0 16px;
  padding: 100px 0;
  border-radius: 24px;
}

.panel-mint {
  background: var(--soft);
}

.panel-sand {
  background: var(--sand);
}

.panel-ink {
  background: var(--deep);
  color: #EEF6F3;
}

.pain {
  margin-top: 72px;
}

/* Pain map */
.pain-in {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.pain-card {
  margin-top: 30px;
  padding: 30px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 34px 64px -44px rgba(18, 32, 30, 0.5);
}

.pain-card h3 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.02em;
}

.pain-card > p {
  margin: 0;
  color: var(--ink-2);
}

.pain-card.is-swapping {
  animation: swap 0.45s ease;
}

@keyframes swap {
  from { opacity: 0.2; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.pain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 16px;
  padding: 0;
  list-style: none;
}

.pain-tags li {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary-hover);
  font-size: 14px;
  font-weight: 700;
}

.pain-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.pain-sessions {
  margin: 0;
}

.pain-sessions small {
  display: block;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pain-sessions strong {
  font-size: 23px;
}

.body-map {
  position: relative;
  width: min(330px, 100%);
  aspect-ratio: 200 / 420;
  margin-inline: auto;
}

.body {
  width: 100%;
  height: 100%;
}

.spot {
  position: absolute;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.spot::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 3px solid var(--primary);
  border-radius: 50%;
  background: #fff;
  animation: pulse 2.4s infinite;
}

.spot[aria-pressed='true']::before {
  inset: 9px;
  border-color: #fff;
  background: var(--primary);
}

.spot span {
  position: absolute;
  top: 50%;
  left: 40px;
  padding: 4px 11px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  transform: translateY(-50%);
  box-shadow: 0 8px 20px -12px rgba(18, 32, 30, 0.6);
}

.spot[aria-pressed='true'] span {
  background: var(--primary);
  color: #fff;
}

.spot-rodilla span {
  right: 40px;
  left: auto;
}

.spot-cuello { top: 15.6%; left: 50%; }
.spot-hombro { top: 20%; left: 26%; }
.spot-espalda { top: 38%; left: 50%; }
.spot-cadera { top: 50%; left: 64%; }
.spot-rodilla { top: 76%; left: 42%; }
.spot-tobillo { top: 95%; left: 60%; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(14, 124, 102, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(14, 124, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(14, 124, 102, 0); }
}

/* Recovery timeline */
.recovery {
  padding: 120px 0;
}

.center-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 40px 0 0;
  list-style: none;
}

.timeline::before,
.timeline::after {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  height: 4px;
  border-radius: 2px;
}

.timeline::before {
  right: 0;
  background: var(--line);
}

.timeline::after {
  width: 100%;
  background: linear-gradient(90deg, var(--warm), var(--primary));
  transition: width 2.2s cubic-bezier(0.3, 0.7, 0.2, 1);
}

.stage {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  transition: opacity 0.6s, transform 0.6s;
}

.stage::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 26px;
  width: 22px;
  height: 22px;
  border: 4px solid var(--primary);
  border-radius: 50%;
  background: var(--bg);
}

.stage:nth-child(2) { transition-delay: 0.5s; }
.stage:nth-child(3) { transition-delay: 1s; }
.stage:nth-child(4) { transition-delay: 1.5s; }

.stage-week {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage h3 {
  margin: 8px 0 6px;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.stage p {
  margin: 0 0 20px;
  color: var(--ink-2);
  font-size: 15px;
}

.meter {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 4px;
  background: #EEE7DB;
}

.meter-fill {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--warm));
  transition: width 1.2s ease 0.4s;
}

.meter-8 { width: 80%; }
.meter-5 { width: 50%; }
.meter-2 { width: 20%; }
.meter-0 { width: 3%; }

.meter-label {
  display: block;
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 13px;
}

.meter-label b {
  color: var(--ink);
}

/* Before it scrolls into view (JS only): dimmed stages, empty meters and line. */
.timeline.is-armed:not(.is-in)::after {
  width: 0;
}

.timeline.is-armed:not(.is-in) .stage {
  opacity: 0.35;
  transform: translateY(12px);
}

.timeline.is-armed:not(.is-in) .meter-fill {
  width: 0;
}

/* Booking + WhatsApp */
.booking-in {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.booking {
  margin-top: 30px;
  padding: 26px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 34px 64px -44px rgba(70, 45, 20, 0.45);
}

.booking-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.booking-head strong {
  font-size: 19px;
}

.booking-head span {
  color: var(--ink-2);
  font-weight: 600;
}

.booking-step {
  margin: 18px 0 10px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.day,
.slot {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.day {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-radius: 8px;
  text-align: center;
}

.day small {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  text-transform: capitalize;
}

.day b {
  font-size: 21px;
  line-height: 1.1;
}

.day:hover,
.slot:hover:not(:disabled) {
  border-color: var(--primary);
}

.day[aria-pressed='true'] {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.day[aria-pressed='true'] small {
  color: rgba(255, 255, 255, 0.85);
}

.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.slot {
  padding: 11px 0;
  border-radius: 12px;
  font-weight: 700;
}

.slot:disabled {
  background: #F4F4F1;
  color: #9AA6A3;
  text-decoration: line-through;
  cursor: not-allowed;
}

.slot[aria-pressed='true'] {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-hover);
}

.booking.is-booked [data-book] {
  background: #15803D;
  opacity: 1;
}

.booking-status {
  min-height: 1.6em;
  margin: 12px 0 0;
  color: var(--primary-hover);
  font-weight: 700;
}

.booking-status:empty {
  display: none;
}

.link-btn {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* Treatments bento */
.treatments {
  padding: 120px 0;
}

.split-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}

.split-head p {
  margin: 0;
  color: var(--ink-2);
  font-size: 18px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(190px, auto);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition: transform 0.3s, box-shadow 0.3s;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -36px rgba(18, 32, 30, 0.5);
}

.tile h3 {
  margin: 0 0 6px;
  font-size: 21px;
  letter-spacing: -0.01em;
}

.tile p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
}

.tile-photo {
  grid-row: span 2;
  grid-column: span 2;
  padding: 0;
  border: 0;
}

.tile-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-over {
  position: relative;
  margin: auto 16px 16px;
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.tile-green {
  grid-column: span 2;
  border: 0;
  background: var(--primary);
  color: #fff;
}

.tile-green p {
  color: rgba(255, 255, 255, 0.86);
}

.tile-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 700;
}

.tile-sand {
  grid-column: span 2;
  border: 0;
  background: var(--sand);
}

.tile-ink {
  grid-column: span 2;
  border: 0;
  background: var(--deep);
  color: #EEF6F3;
}

.tile-ink p {
  color: var(--deep-text);
}

/* Bonos: a CSS-only switch (radio buttons) */
.bonos-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.bonos .eyebrow {
  color: var(--deep-accent);
}

.bonos-note {
  margin: 18px 0 0;
  color: var(--deep-text);
}

.bono-box {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.bono-switch {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.bono-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.bono-grid::before {
  content: '';
  grid-row: 1;
  grid-column: 1 / -1;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.bono-grid input {
  position: absolute;
  opacity: 0;
}

.bono-grid label {
  position: relative;
  z-index: 1;
  grid-row: 1;
  padding: 13px 0;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: color 0.3s;
}

.bono-grid label[for='bono-1'] { grid-column: 1; }
.bono-grid label[for='bono-5'] { grid-column: 2; }
.bono-grid label[for='bono-10'] { grid-column: 3; }

.bono-grid input:checked + label {
  color: var(--deep);
}

.bono-grid input:focus-visible + label {
  outline: 3px solid var(--deep-accent);
  outline-offset: 2px;
}

.bono-thumb {
  grid-row: 1;
  grid-column: 1;
  margin: 5px;
  border-radius: 10px;
  background: #fff;
  transition: transform 0.35s cubic-bezier(0.3, 0.7, 0.2, 1);
}

#bono-5:checked ~ .bono-thumb { transform: translateX(calc(100% + 10px)); }
#bono-10:checked ~ .bono-thumb { transform: translateX(calc(200% + 20px)); }

.bono-panels {
  grid-row: 2;
  grid-column: 1 / -1;
  padding: 28px 6px 4px;
}

.bono-panel {
  display: none;
}

#bono-1:checked ~ .bono-panels .bono-panel-1,
#bono-5:checked ~ .bono-panels .bono-panel-5,
#bono-10:checked ~ .bono-panels .bono-panel-10 {
  display: block;
  animation: swap 0.4s ease;
}

.bono-price {
  margin: 0;
  color: #fff;
  font-size: 76px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}

.bono-per {
  margin: 12px 0 0;
  color: var(--deep-text);
}

.bono-per mark {
  padding: 1px 7px;
  border-radius: 6px;
  background: var(--deep-accent);
  color: var(--deep);
  font-weight: 800;
}

.bono-panel ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 24px;
  padding: 0;
  list-style: none;
}

.bono-panel li {
  position: relative;
  padding-left: 26px;
  color: #EEF6F3;
}

.bono-panel li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--deep-accent);
  font-weight: 800;
}

/* Team */
.team {
  padding: 120px 0;
}

.team-in {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.team-faces {
  position: relative;
  height: 300px;
}

.face {
  position: absolute;
  display: grid;
  place-items: center;
  width: 170px;
  height: 170px;
  border: 6px solid var(--bg);
  border-radius: 50%;
  color: #fff;
  font-size: 44px;
  font-weight: 800;
  box-shadow: 0 30px 50px -30px rgba(18, 32, 30, 0.6);
}

.face-1 { top: 40px; left: 0; background: var(--primary); }
.face-2 { top: 0; left: 120px; background: var(--clay); }
.face-3 { top: 100px; left: 230px; background: var(--iris); }

.team-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.team-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}

.team-list strong {
  min-width: 100px;
  color: var(--ink);
  font-size: 19px;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 4px 11px;
  border-radius: 8px;
  background: #DCFCE7;
  color: #166534;
  font-size: 13px;
  font-weight: 700;
}

.live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
  50% { opacity: 0.3; }
}

/* Reviews marquee */
.reviews {
  padding: 0 0 110px;
}

.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee-track {
  display: flex;
  flex: none;
  gap: 16px;
  margin: 0;
  padding: 0 16px 0 0;
  list-style: none;
  animation: marquee 55s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track li {
  flex: none;
  width: 340px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.marquee-track p {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.marquee-track span {
  color: var(--ink-2);
  font-size: 14px;
}

@keyframes marquee {
  to { transform: translateX(-100%); }
}

/* FAQ as WhatsApp bubbles */
.faq-chat {
  padding: 10px 0 120px;
}

.bubbles {
  display: grid;
  gap: 14px;
}

.bubbles summary {
  width: fit-content;
  max-width: 85%;
  margin-left: auto;
  padding: 14px 18px;
  border-radius: 16px 16px 4px 16px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.bubbles summary::-webkit-details-marker {
  display: none;
}

.bubbles summary::after {
  content: '  +';
  white-space: pre;
  opacity: 0.75;
}

.bubbles details[open] summary::after {
  content: '';
}

.bubbles details p {
  width: fit-content;
  max-width: 85%;
  margin: 10px 0 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 16px 16px 16px 4px;
  background: var(--surface);
  animation: swap 0.35s ease;
}

/* Visit */
.visit-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.open-now {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 8px 15px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
}

.open-now .dot {
  background: #94A3B8;
  box-shadow: none;
}

.open-now.is-open {
  color: #166534;
}

.open-now.is-open .dot {
  background: #22C55E;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.address {
  margin: 14px 0 22px;
  font-size: 20px;
  font-weight: 700;
}

.hours {
  width: 100%;
  border-collapse: collapse;
}

.hours th,
.hours td {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  text-align: left;
}

.hours th {
  padding-right: 16px;
  color: var(--ink-2);
  font-weight: 600;
}

.hours td {
  font-weight: 700;
}

.hours tr.is-today th,
.hours tr.is-today td {
  color: var(--primary-hover);
}

.hours tr.is-today th::after {
  content: ' · hoy';
  font-weight: 800;
}

.map {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  border-radius: 16px;
  background-color: #D7E9E0;
  background-image:
    linear-gradient(90deg, transparent 0 46%, #fff 46% 49%, transparent 49%),
    linear-gradient(transparent 0 58%, #fff 58% 62%, transparent 62%),
    linear-gradient(28deg, transparent 0 30%, rgba(255, 255, 255, 0.85) 30% 32%, transparent 32%),
    linear-gradient(90deg, transparent 0 14%, rgba(255, 255, 255, 0.7) 14% 15.5%, transparent 15.5% 78%, rgba(255, 255, 255, 0.7) 78% 79.5%, transparent 79.5%),
    linear-gradient(transparent 0 22%, rgba(255, 255, 255, 0.7) 22% 24%, transparent 24% 86%, rgba(255, 255, 255, 0.7) 86% 88%, transparent 88%),
    radial-gradient(circle at 80% 22%, #C2DFD0 0 70px, transparent 71px),
    radial-gradient(circle at 18% 80%, #C2DFD0 0 54px, transparent 55px);
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 47.5%;
  filter: drop-shadow(0 10px 10px rgba(18, 32, 30, 0.25));
  transform: translate(-50%, -100%);
}

.map-label {
  position: absolute;
  top: 50%;
  left: 47.5%;
  padding: 6px 12px;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transform: translate(-50%, 10px);
  box-shadow: 0 10px 24px -14px rgba(18, 32, 30, 0.5);
}

/* Final call to action */
.final {
  padding: 110px 0;
}

.final-in {
  position: relative;
  overflow: hidden;
  padding: 100px 24px;
  border-radius: 24px;
  background: var(--sand);
  text-align: center;
}

.final h2 {
  position: relative;
  z-index: 1;
  max-width: 13em;
  margin: 0 auto 30px;
  font-size: clamp(32px, 4.6vw, 58px);
}

.final .btn {
  position: relative;
  z-index: 1;
}

.bubble-face {
  position: absolute;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 5px solid var(--sand);
  border-radius: 50%;
  color: #fff;
  font-size: 25px;
  font-weight: 800;
  animation: bob 7s ease-in-out infinite;
}

.bf-1 { top: 18%; left: 7%; background: var(--primary); }
.bf-2 { top: 12%; right: 9%; background: var(--clay); animation-delay: 1.2s; }
.bf-3 { right: 15%; bottom: 12%; background: var(--iris); animation-delay: 2.4s; }

/* Footer */
.foot {
  padding: 34px 0;
  background: var(--deep);
  color: var(--deep-text);
  font-size: 14px;
}

.foot-in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
}

.foot p {
  margin: 0;
}

.foot a {
  color: #fff;
  font-weight: 700;
}

/* Tablet and phone */
@media (max-width: 1000px) {
  .nav {
    display: none;
  }

  .top-pill .btn {
    margin-left: auto;
  }

  .pain-in,
  .booking-in,
  .bonos-in,
  .visit-in,
  .team-in,
  .split-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 0;
  }

  .timeline::before,
  .timeline::after,
  .stage::before {
    display: none;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-faces {
    width: 400px;
    max-width: 100%;
    height: 260px;
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 48px;
  }

  .lead {
    font-size: 17px;
  }

  .collage {
    height: 400px;
    margin-top: 44px;
  }

  .shot-side,
  .float-c {
    display: none;
  }

  .shot-main {
    width: calc(100% - 32px);
    height: 100%;
  }

  .float-a {
    top: 7%;
    left: 4px;
  }

  .float-b {
    top: auto;
    right: 4px;
    bottom: 7%;
  }

  .panel {
    margin: 0 8px;
    padding: 72px 0;
    border-radius: 18px;
  }

  .recovery,
  .treatments,
  .team,
  .final {
    padding: 80px 0;
  }

  .timeline,
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }

  .bento {
    grid-auto-rows: auto;
  }

  .tile,
  .tile-photo,
  .tile-green,
  .tile-sand,
  .tile-ink {
    grid-row: auto;
    grid-column: auto;
    min-height: 0;
  }

  .tile-photo {
    min-height: 380px;
  }

  .pain-card {
    padding: 24px;
  }

  .bono-price {
    font-size: 62px;
  }

  .team-faces {
    height: 200px;
  }

  .face {
    width: 124px;
    height: 124px;
    font-size: 32px;
  }

  .face-2 { left: 92px; }
  .face-3 { top: 70px; left: 180px; }

  .marquee-track li {
    width: 280px;
  }

  .bubble-face {
    width: 64px;
    height: 64px;
    font-size: 18px;
  }

  .bf-1 { top: 6%; left: 4%; }
  .bf-2 { top: 4%; right: 5%; }
  .bf-3 { right: 6%; bottom: 5%; }

  .final-in {
    padding: 110px 20px;
    border-radius: 18px;
  }

  .map {
    min-height: 300px;
  }
}

@media (max-width: 400px) {
  .logo-name span {
    display: none;
  }

  .days {
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .float,
  .bubble-face,
  .spot::before,
  .live i {
    animation: none;
  }

  .btn,
  .tile,
  .stage,
  .meter-fill,
  .timeline::after,
  .bono-thumb {
    transition: none;
  }

  .marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee-track {
    animation: none;
  }

  .marquee-track[aria-hidden] {
    display: none;
  }
}
