/* ============================================================
   SPAW Society — Website styles
   Component classes recreated from the design-system JSX
   primitives (Button, Badge, Chip, Card, ServiceCard,
   PetAvatar, Input) and the website UI kit sections.
   Colors/space/type all come from styles.css tokens.
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--surface-app);
  color: var(--text-strong);
  -webkit-font-smoothing: antialiased;
}
a { -webkit-tap-highlight-color: transparent; }
img { display: block; }

.container { max-width: var(--container); margin: 0 auto; padding-left: 28px; padding-right: 28px; }

/* ---------------- Button ---------------- */
.btn {
  font-family: var(--font-sans);
  font-weight: var(--type-button-weight);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 15px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  text-decoration: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--dur-fast) var(--ease-bounce),
              box-shadow var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.96); }
.btn--full { display: flex; width: 100%; }

.btn--sm { padding: 8px 18px; font-size: 13px; gap: 6px; }
.btn--md { padding: 12px 26px; font-size: 15px; gap: 8px; }
.btn--lg { padding: 16px 34px; font-size: 17px; gap: 10px; }

.btn--primary   { background: var(--brand-primary); color: var(--text-on-brand); box-shadow: var(--shadow-fucsia); }
.btn--primary:hover { background: var(--brand-primary-press); }
.btn--secondary { background: var(--brand-secondary); color: var(--text-on-brand); box-shadow: var(--shadow-verde); }
.btn--secondary:hover { background: var(--brand-secondary-press); }
.btn--coral     { background: var(--brand-accent); color: var(--text-on-brand); box-shadow: 0 10px 24px rgba(255,107,61,0.28); }
.btn--coral:hover { background: var(--spaw-coral-700); }
.btn--outline   { background: transparent; color: var(--brand-primary); border: 2px solid var(--brand-primary); }
.btn--outline:hover { background: var(--spaw-fucsia-100); }
.btn--ghost     { background: transparent; color: var(--text-strong); border: 2px solid transparent; }
.btn--ghost:hover { background: var(--spaw-fucsia-100); }
.btn--cream     { background: var(--surface-card); color: var(--text-strong); box-shadow: var(--shadow-sm); border: 1.5px solid var(--border-subtle); }

/* ---------------- Badge ---------------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-sans); font-weight: 700; line-height: 1;
  font-size: 12px; padding: 5px 12px;
  border-radius: var(--radius-pill); letter-spacing: 0.01em;
}
.badge--sm { font-size: 10.5px; padding: 3px 9px; }
.badge--fucsia  { color: var(--spaw-fucsia-700);  background: var(--spaw-fucsia-100); }
.badge--verde   { color: var(--spaw-verde-oscuro); background: var(--spaw-verde-100); }
.badge--coral   { color: var(--spaw-coral-700);   background: var(--spaw-coral-100); }
.badge--naranja { color: var(--spaw-naranja-700); background: var(--spaw-naranja-100); }
.badge--solid-verde { color: #fff; background: var(--spaw-verde); }

/* ---------------- Chip ---------------- */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-sans); font-weight: 700; font-size: 13.5px; line-height: 1;
  padding: 9px 16px; border-radius: var(--radius-pill); cursor: pointer;
  color: var(--text-strong); background: var(--surface-card);
  border: 2px solid var(--border-strong); box-shadow: none;
  transition: transform var(--dur-fast) var(--ease-bounce),
              background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.chip:hover { border-color: var(--brand-primary); }
.chip:active { transform: scale(0.94); }
.chip[aria-pressed="true"] {
  color: #fff; background: var(--brand-primary);
  border-color: var(--brand-primary); box-shadow: var(--shadow-fucsia);
}

/* ---------------- Card ---------------- */
.card {
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
}
.card--cream { background: var(--spaw-crema); border: 1px solid var(--border-subtle); }

/* ---------------- ServiceCard ---------------- */
.service-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--dur-base) var(--ease-bounce),
              box-shadow var(--dur-base) var(--ease-out);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card__head {
  padding: var(--space-5);
  display: flex; align-items: center; justify-content: space-between;
}
.service-card__icon {
  width: 58px; height: 58px; border-radius: var(--radius-lg);
  background: var(--surface-card); display: grid; place-items: center;
  font-size: 30px; box-shadow: var(--shadow-sm);
}
.service-card__body {
  padding: var(--space-5); display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.service-card__name { margin: 0; font-weight: 800; font-size: 20px; color: var(--text-strong); }
.service-card__desc { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-body); flex: 1; }
.service-card__price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.service-card__price { font-weight: 800; font-size: 24px; }
.service-card__dur { font-size: 12.5px; color: var(--text-muted); font-weight: 600; }
.service-card__cta {
  margin-top: 8px; width: 100%; font-family: var(--font-sans); font-weight: 700; font-size: 14.5px;
  padding: 11px; border-radius: var(--radius-pill); border: none; color: #fff; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-bounce), filter var(--dur-base);
}
.service-card__cta:hover { filter: brightness(0.94); }
.service-card__cta:active { transform: scale(0.96); }

/* tones: drive header bg + accent color */
.tone-fucsia  { --t-bg: var(--spaw-fucsia-100);  --t-accent: var(--spaw-fucsia); }
.tone-verde   { --t-bg: var(--spaw-verde-100);   --t-accent: var(--spaw-verde); }
.tone-coral   { --t-bg: var(--spaw-coral-100);   --t-accent: var(--spaw-coral); }
.tone-naranja { --t-bg: var(--spaw-naranja-100); --t-accent: var(--spaw-naranja-700); }
.service-card .service-card__head  { background: var(--t-bg); }
.service-card .service-card__price { color: var(--t-accent); }
.service-card .service-card__cta   { background: var(--t-accent); }
/* matching service-card badge tone */
.tone-fucsia  .badge { color: var(--spaw-fucsia-700);  background: var(--spaw-fucsia-100); }
.tone-coral   .badge { color: var(--spaw-coral-700);   background: var(--spaw-coral-100); }

/* ---------------- PetAvatar ---------------- */
.pet-avatar {
  width: 56px; height: 56px; flex: none;
  border-radius: var(--radius-pill); padding: 3px;
  box-shadow: var(--shadow-sm);
}
.pet-avatar > span {
  display: grid; place-items: center; width: 100%; height: 100%;
  border-radius: var(--radius-pill); overflow: hidden;
  background: var(--spaw-crema-deep); border: 2px solid var(--surface-card);
  font-size: 23px;
}
.ring-fucsia { background: var(--spaw-fucsia); }
.ring-verde  { background: var(--spaw-verde); }
.ring-coral  { background: var(--spaw-coral); }

/* ---------------- Input ---------------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-family: var(--font-sans); font-weight: 700; font-size: 13px; color: var(--text-strong); }
.field__control {
  display: flex; align-items: center; gap: 9px;
  background: var(--surface-card); border: 2px solid var(--border-strong);
  border-radius: var(--radius-pill); padding: 0 18px; height: 48px;
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.field__control:focus-within { border-color: var(--brand-primary); box-shadow: 0 0 0 4px var(--spaw-fucsia-100); }
.field__control input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: var(--font-sans); font-weight: 500; font-size: 15px;
  color: var(--text-strong); height: 100%;
}
.field__hint { font-size: 12px; font-weight: 500; color: var(--text-muted); }

/* ---------------- Section helpers ---------------- */
.eyebrow {
  font-family: var(--font-sans); font-weight: 800; font-size: 13px;
  letter-spacing: var(--tracking-caps); text-transform: uppercase;
  color: var(--brand-primary); margin-bottom: 12px;
}
.section-head { text-align: center; max-width: 600px; margin: 0 auto 44px; }
.section-title {
  font-family: var(--font-display); font-weight: 900; font-size: 44px; line-height: 1.02;
  letter-spacing: -0.02em; margin: 0 0 14px; color: var(--text-strong);
}
.section-lead { font-size: 17px; color: var(--text-body); font-weight: 500; margin: 0; line-height: 1.5; }

/* ---------------- Brand logo chip ---------------- */
/* The full-color logo has light "Society" + "Grooming divertido"
   that vanish on cream — sit it on the brand's dark green so the
   whole lockup reads. */
.brand-logo {
  display: inline-flex; align-items: center;
  background: var(--surface-inverse);
  padding: 10px 18px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.brand-logo img { display: block; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,245,230,0.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header__inner {
  max-width: var(--container); margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-family: var(--font-sans); font-weight: 700; font-size: 15px;
  color: var(--text-strong); text-decoration: none;
  transition: color var(--dur-base) var(--ease-out);
}
.site-nav a:hover { color: var(--brand-primary); }

/* ---------------- Hero ---------------- */
.hero { background: var(--surface-app); overflow: hidden; }
.hero__inner {
  max-width: var(--container); margin: 0 auto; padding: 64px 28px 72px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 900; font-size: 64px; line-height: 0.98;
  letter-spacing: -0.025em; margin: 0 0 18px; color: var(--text-strong);
}
.hero h1 .accent { color: var(--brand-primary); }
.hero__lead {
  font-family: var(--font-sans); font-weight: 500; font-size: 19px; line-height: 1.55;
  color: var(--text-body); margin: 0 0 28px; max-width: 480px;
}
.hero__cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero__social-proof { display: flex; align-items: center; gap: 10px; margin-top: 28px; }
.hero__avatars { display: flex; }
.hero__avatars span {
  width: 38px; height: 38px; border-radius: var(--radius-pill); background: #fff;
  border: 2px solid var(--surface-app); display: grid; place-items: center;
  font-size: 18px; box-shadow: var(--shadow-xs);
}
.hero__avatars span + span { margin-left: -10px; }
.hero__proof-text { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.hero__photo { position: relative; }
.hero__frame {
  border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 6px solid #fff; aspect-ratio: 4 / 5;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__sticker {
  position: absolute; bottom: 22px; left: -22px; background: #fff;
  border-radius: var(--radius-lg); padding: 12px 16px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
}
.hero__sticker-ic {
  width: 40px; height: 40px; border-radius: var(--radius-pill);
  background: var(--spaw-verde-100); display: grid; place-items: center; font-size: 20px;
}
.hero__spark { position: absolute; top: -14px; right: 24px; font-size: 34px; }

/* ---------------- Generic section paddings ---------------- */
.section-pad { padding: 76px 28px; max-width: var(--container); margin: 0 auto; }
.bg-card { background: var(--surface-card); }
.bg-app  { background: var(--surface-app); }

/* ---------------- Club pillars ---------------- */
.club { background: var(--brand-primary); position: relative; overflow: hidden; }
.club .section-title { color: #fff; }
.club .eyebrow { color: var(--spaw-naranja); }
.club .section-lead { color: rgba(255,255,255,0.9); }
.club .section-head { max-width: 640px; margin-bottom: 48px; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar { background: #fff; border-radius: var(--radius-xl); padding: 26px 22px; box-shadow: var(--shadow-md); }
.pillar__ic {
  width: 56px; height: 56px; border-radius: var(--radius-lg); background: var(--spaw-crema);
  display: grid; place-items: center; font-size: 28px; margin-bottom: 16px;
}
.pillar h3 { font-weight: 800; font-size: 18px; margin: 0 0 8px; color: var(--text-strong); line-height: 1.15; }
.pillar p { font-size: 14px; line-height: 1.5; color: var(--text-body); margin: 0; }

/* ---------------- Services / Reviews grids ---------------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.services-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 44px; text-align: center; }
.services-cta__lead { font-size: 16px; font-weight: 600; color: var(--text-body); margin: 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-stars { display: flex; gap: 4px; margin-bottom: 14px; font-size: 17px; color: var(--spaw-naranja); }
.review-text { font-size: 15.5px; line-height: 1.6; color: var(--text-body); margin: 0 0 20px; font-weight: 500; }
.review-who { display: flex; align-items: center; gap: 12px; }
.review-who span.name { font-weight: 800; font-size: 15px; color: var(--text-strong); }

/* ---------------- Gallery ---------------- */
.gallery-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 36px; gap: 24px; flex-wrap: wrap;
}
.gallery-head .section-title { margin: 0; text-align: left; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot {
  margin: 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md);
  background: #fff; position: relative;
  transition: transform var(--dur-base) var(--ease-bounce);
}
.shot:hover { transform: translateY(-5px); }
.shot__img { aspect-ratio: 3 / 2; overflow: hidden; }
.shot__img img { width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; }
.shot figcaption .tag { font-weight: 800; font-size: 15px; color: var(--text-strong); }
.shot figcaption .sub { font-size: 12.5px; font-weight: 700; color: var(--brand-primary); }

/* ---------------- Full-width photo bands ---------------- */
.photo-band {
  position: relative;
  width: 100%;
  height: 460px;
  overflow: hidden;
  background: var(--surface-sunken);
  display: block;
}
.photo-band img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}
.photo-band__cap {
  position: absolute; left: 28px; bottom: 26px;
  font-size: 13px; padding: 7px 15px;
  box-shadow: var(--shadow-md);
}
@media (max-width: 900px) { .photo-band { height: 340px; } }
@media (max-width: 560px) { .photo-band { height: 240px; } .photo-band__cap { left: 16px; bottom: 16px; } }

/* ---------------- Booking CTA band ---------------- */
.cta-wrap { max-width: var(--container); margin: 0 auto; padding: 20px 28px 80px; }
.cta-band {
  background: var(--spaw-verde-oscuro); border-radius: var(--radius-2xl);
  padding: 54px 48px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}
.cta-band h2 {
  font-family: var(--font-display); font-weight: 900; font-size: 40px; line-height: 1.04;
  letter-spacing: -0.02em; margin: 0 0 14px; color: #fff;
}
.cta-band__lead { font-size: 17px; line-height: 1.55; color: rgba(255,255,255,0.88); margin: 0 0 26px; font-weight: 500; max-width: 440px; }
.cta-band__cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cta-card {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-xl); padding: 24px; backdrop-filter: blur(4px);
}
.cta-card__title { font-weight: 800; font-size: 15px; color: #fff; margin-bottom: 12px; }
.cta-card__inner { background: #fff; border-radius: var(--radius-lg); padding: 16px; }
.cta-band__spark { position: absolute; top: 18px; right: 26px; font-size: 30px; opacity: 0.5; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--surface-card); border-top: 1px solid var(--border-subtle); }
.site-footer__inner { max-width: var(--container); margin: 0 auto; padding: 56px 28px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-about p { font-size: 14.5px; line-height: 1.55; color: var(--text-body); margin: 0 0 16px; max-width: 260px; font-weight: 500; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  font-family: var(--font-sans); font-weight: 700; font-size: 12.5px;
  color: var(--brand-primary); text-decoration: none;
  background: var(--spaw-fucsia-100); padding: 7px 13px; border-radius: var(--radius-pill);
}
.footer-col h4 {
  font-weight: 800; font-size: 12px; letter-spacing: var(--tracking-caps);
  text-transform: uppercase; color: var(--text-muted); margin: 0 0 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 14px; color: var(--text-body); text-decoration: none; font-weight: 500; }
.footer-col a:hover { color: var(--brand-primary); }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border-subtle);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom .copy { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.footer-bottom .hash { font-size: 13px; color: var(--brand-primary); font-weight: 700; }

/* ---------------- Booking modal ---------------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(43,38,34,0.55); backdrop-filter: blur(3px);
  display: grid; place-items: center; padding: 20px;
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: var(--surface-card); border-radius: var(--radius-2xl);
  width: min(520px, 100%); box-shadow: var(--shadow-lg); overflow: hidden;
  display: flex; flex-direction: column;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px); /* fits the viewport; body scrolls inside */
}
.modal__head {
  flex: 0 0 auto;
  background: var(--spaw-crema); padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between;
}
.modal__head h3 { font-family: var(--font-display); font-weight: 900; font-size: 24px; margin: 0; color: var(--text-strong); }
.modal__close {
  width: 38px; height: 38px; border-radius: var(--radius-pill); border: none; cursor: pointer;
  background: #fff; font-size: 18px; color: var(--text-muted); box-shadow: var(--shadow-xs);
}
.modal__body { padding: 26px; flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.modal__foot {
  flex: 0 0 auto; padding: 18px 26px 22px; display: flex; gap: 12px; justify-content: flex-end;
  align-items: center; border-top: 1px solid var(--border-subtle); background: var(--surface-card);
}
.modal-step { display: flex; flex-direction: column; gap: 10px; }
.opt-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 18px; border-radius: var(--radius-lg); cursor: pointer;
  border: 2px solid var(--border-strong); background: #fff; text-align: left; width: 100%;
  font-family: var(--font-sans); transition: all var(--dur-base) var(--ease-out);
}
.opt-row .label { font-weight: 700; font-size: 15.5px; color: var(--text-strong); }
.opt-row .radio {
  width: 22px; height: 22px; border-radius: var(--radius-pill); flex: none;
  border: 2px solid var(--border-strong); background: #fff;
}
.opt-row[aria-pressed="true"] { border-color: var(--brand-primary); background: var(--spaw-fucsia-100); }
.opt-row[aria-pressed="true"] .radio { border: 6px solid var(--brand-primary); }
.field-block-label { font-weight: 700; font-size: 13px; margin-bottom: 10px; color: var(--text-strong); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.summary-box {
  background: var(--spaw-verde-100); border-radius: var(--radius-lg); padding: 14px 18px;
  font-size: 14px; color: var(--spaw-verde-oscuro); font-weight: 600; line-height: 1.5;
}

/* Cart recap inside the booking modal (services carried over from the quiz). */
.cart-summary {
  background: var(--surface-sunken); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 6px 16px;
}
.cart-summary__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0 8px; border-bottom: 1px solid var(--border-subtle);
  font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-muted);
}
.cart-summary__head a { color: var(--brand-primary); font-weight: 700; text-transform: none; letter-spacing: 0; }
.cart-line {
  display: flex; justify-content: space-between; gap: 14px; align-items: baseline;
  padding: 10px 0; border-bottom: 1px solid var(--border-subtle);
  font-size: 14px; color: var(--text-body); font-weight: 600;
}
.cart-line:last-child { border-bottom: none; }
.cart-line strong { color: var(--text-strong); font-weight: 800; white-space: nowrap; }
.cart-line--total { font-size: 15px; color: var(--text-strong); }
.modal-error { margin: 0; color: var(--status-danger); font-size: 13.5px; font-weight: 700; }
.booking-done { text-align: center; display: flex; flex-direction: column; gap: 10px; padding: 12px 4px; }
.booking-done__ic { font-size: 48px; }
.booking-done__title { margin: 0; font-size: 19px; font-weight: 800; color: var(--text-strong); }
.booking-done__text { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text-body); }
.cart-line--pet { align-items: flex-start; }
.cart-pet { display: flex; flex-direction: column; gap: 6px; }
.cart-sublist { display: flex; flex-direction: column; gap: 3px; }
.cart-subline { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; font-weight: 500; color: var(--text-muted); }

/* Expandable calendar in the booking modal */
.chip--more { border-style: dashed; }
.date-expand { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.date-expand input[type="date"] {
  font-family: var(--font-sans); font-size: 15px; font-weight: 600; color: var(--text-strong);
  padding: 12px 16px; border: 2px solid var(--border-strong); border-radius: var(--radius-md);
  background: var(--surface-card); width: 100%; max-width: 240px;
}
.date-expand input[type="date"]:focus { outline: none; border-color: var(--brand-primary); box-shadow: 0 0 0 4px var(--spaw-fucsia-100); }
.date-expand__hint { font-size: 12px; font-weight: 500; color: var(--text-muted); }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .hero__inner, .cta-band { grid-template-columns: 1fr; }
  .services-grid, .pillars { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid, .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 48px; }
  .section-title { font-size: 34px; }
  .site-nav a { display: none; }
}
@media (max-width: 560px) {
  .services-grid, .pillars, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
}

/* ============================================================
   Interactividad + vida (animaciones suaves, hover juguetón)
   ============================================================ */
html { scroll-behavior: smooth; }

/* Aparecer al hacer scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* Tarjetas de servicio: el ícono saluda al pasar el mouse */
.service-card { transition: transform .18s cubic-bezier(.22,1,.36,1), box-shadow .18s; }
.service-card:hover .service-card__icon { animation: spaw-wiggle .5s ease; }
@keyframes spaw-wiggle { 0%,100%{transform:rotate(0)} 25%{transform:rotate(-12deg) scale(1.1)} 50%{transform:rotate(10deg) scale(1.1)} 75%{transform:rotate(-6deg)} }

/* Pilares del club: se levantan al pasar el mouse */
.pillar { transition: transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar:hover .pillar__ic { transform: scale(1.15) rotate(-6deg); }
.pillar__ic { display: inline-block; transition: transform .2s cubic-bezier(.22,1,.36,1); }

/* Sticker del hero flotando suave */
.hero__sticker { animation: spaw-float 3.4s ease-in-out infinite; }
@keyframes spaw-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }

/* Avatares de la prueba social rebotan al pasar el mouse */
.hero__avatars span { transition: transform .2s cubic-bezier(.34,1.56,.64,1); display: inline-block; }
.hero__avatars:hover span { transform: translateY(-5px) scale(1.12); }

/* Links del footer se deslizan al pasar el mouse */
.footer-col a, .footer-social a { transition: color .15s, transform .15s; display: inline-block; }
.footer-col a:hover, .footer-social a:hover { color: var(--brand-primary); transform: translateX(3px); }

/* Chispas de la banda CTA con brillo */
.cta-band__spark { animation: spaw-twinkle 2.6s ease-in-out infinite; }
@keyframes spaw-twinkle { 0%,100%{opacity:.5;transform:scale(.9)} 50%{opacity:1;transform:scale(1.15)} }

/* Título del hero: las palabras entran con rebote */
.hero-anim .w { display: inline-block; opacity: 0; transform: translateY(22px); animation: spaw-word-in .55s cubic-bezier(.34,1.56,.64,1) forwards; }
.hero-anim .w:nth-child(1){animation-delay:.05s} .hero-anim .w:nth-child(2){animation-delay:.13s}
.hero-anim .w:nth-child(3){animation-delay:.21s} .hero-anim .w:nth-child(4){animation-delay:.29s}
.hero-anim .w:nth-child(5){animation-delay:.37s} .hero-anim .w:nth-child(6){animation-delay:.45s}
@keyframes spaw-word-in { to { opacity: 1; transform: none; } }

/* Patitas / burbujas flotando en el hero */
.hero { position: relative; }
.hero__inner { position: relative; z-index: 1; }
.hero__floaties { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.floatie { position: absolute; font-size: 24px; opacity: .4; animation: spaw-drift 7s ease-in-out infinite; }
.floatie.f1 { left: 5%;  top: 26%; font-size: 30px; animation-delay: 0s; }
.floatie.f2 { left: 15%; top: 72%; font-size: 20px; animation-delay: 1.2s; }
.floatie.f3 { right: 44%; top: 12%; font-size: 18px; animation-delay: .6s; }
.floatie.f4 { right: 7%;  top: 64%; font-size: 26px; animation-delay: 2s; }
.floatie.f5 { left: 48%; bottom: 8%; font-size: 18px; animation-delay: 1.6s; }
.floatie.f6 { right: 26%; top: 40%; font-size: 22px; animation-delay: .9s; }
@keyframes spaw-drift { 0%,100%{ transform: translateY(0) rotate(0); opacity: .3; } 50%{ transform: translateY(-18px) rotate(9deg); opacity: .55; } }

/* Reseñas en carrusel */
.reviews-grid--carousel { display: block; }
.reviews-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 4px 2px 8px; scrollbar-width: none; }
.reviews-track::-webkit-scrollbar { display: none; }
.review-slide { flex: 0 0 auto; width: min(360px, 82%); scroll-snap-align: center; }
.review-slide .card { height: 100%; }
.reviews-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.reviews-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0; cursor: pointer; background: var(--border-strong); transition: transform .2s, background .2s; }
.reviews-dots button[aria-current="true"] { background: var(--brand-primary); transform: scale(1.35); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .service-card:hover .service-card__icon,
  .hero__sticker, .cta-band__spark, .floatie { animation: none; }
  .hero-anim .w { opacity: 1; transform: none; animation: none; }
  .floatie { opacity: .35; }
}

/* Botón de idioma ES / EN */
.lang-switch { display: inline-flex; border: 1.5px solid var(--border-strong); border-radius: var(--radius-pill); overflow: hidden; flex: none; }
.lang-switch button { border: none; background: transparent; cursor: pointer; font-family: var(--font-sans); font-weight: 800; font-size: 12px; letter-spacing: .04em; color: var(--text-muted); padding: 6px 12px; line-height: 1; transition: background .15s, color .15s; }
.lang-switch button:hover { color: var(--brand-primary); }
.lang-switch button[aria-pressed="true"] { background: var(--brand-primary); color: var(--text-on-brand); }
.lang-switch button[aria-pressed="true"]:hover { color: var(--text-on-brand); }
