/* ==========================================================================
   RoyalDance-Chile — Escuela de Ballet
   Shared stylesheet
   ========================================================================== */

:root {
  --color-primary: #0D0E10;      /* Elegant Black */
  --color-ink: #101E1D;          /* Deep teal-ink: dark panels, tinted toward the brand teal */
  --color-ink-soft: #172B29;     /* Slightly lifted ink, for panel gradients */
  --color-accent: #4D8B88;       /* RoyalDance Teal (from original site) */
  --color-accent-light: #AED6D5; /* Original site's light teal */
  --color-teal-pale: #CFE7E6;    /* Original site's pale teal panels */
  --color-secondary: #F2D6D0;    /* Ballet Pink */
  --color-bg: #FBF8F5;           /* Soft ice background */
  --color-card: #FFFFFF;
  --color-text: #2B2B2E;
  --color-text-muted: #5B5B60;
  --color-border: #E7E1DA;
  --shadow-soft: 0 10px 30px rgba(13, 14, 16, 0.08);
  --shadow-lift: 0 18px 40px rgba(13, 14, 16, 0.14);
  --radius: 14px;
  --font-serif: "Playfair Display", "Georgia", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-height: 105px;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--color-primary);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; color: var(--color-text-muted); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
section.tight { padding: 56px 0; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 14px;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.bg-alt { background: var(--color-teal-pale); }
.bg-dark { background: var(--color-ink); color: #EDEAE6; }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark p { color: #C9C4BE; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-accent {
  background: var(--color-accent);
  color: #fff;
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-outline {
  background: transparent;
  border-color: currentColor;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #CFE7E6;
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { 
  display: flex; 
  align-items: center; 
  gap: 12px;
  position: relative;
}

.brand::before {
  content: "";
  position: absolute;
  width: 165px;
  height: 165px;
  background: #CFE7E6;
  border-radius: 50%;
  top: 20px;
  left: -7px;
  z-index: -1;
  opacity: 1;
  transition: width 0.3s ease, height 0.3s ease, top 0.3s ease, left 0.3s ease, opacity 0.3s ease;
}

.brand img { 
  height: 150px; 
  width: auto; 
  margin-top: 30px;
  transition: height 0.3s ease, margin-top 0.3s ease;
}

header.site-header.scrolled-past-hero .brand::before {
  width: 95px;
  height: 95px;
  top: 5px;
  left: 2px;
  opacity: 0;
  pointer-events: none;
  transition: width 0.3s ease, height 0.3s ease, top 0.3s ease, left 0.3s ease, opacity 0.3s ease;
}
.brand-text { font-family: var(--font-serif); font-weight: 700; font-size: 1.05rem; color: #0D0E10; line-height: 1.1; }
.brand-text span { display: block; font-family: var(--font-sans); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); }

nav.main-nav { display: flex; align-items: center; gap: 32px; }
nav.main-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0D0E10;
  position: relative;
  padding: 6px 2px;
}
nav.main-nav a.active,
nav.main-nav a:hover { color: #0D0E10; }
nav.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--color-accent);
}

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  display: flex;
  border: 1.5px solid #0D0E10;
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 700;
}
.lang-toggle button {
  background: transparent;
  border: none;
  padding: 7px 13px;
  cursor: pointer;
  color: #0D0E10;
  font-family: var(--font-sans);
  font-weight: 700;
}
.lang-toggle button.active { background: #0D0E10; color: #CFE7E6; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0D0E10;
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero (split: photo panel + content panel, stacked on mobile) ---------- */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(165deg, var(--color-ink-soft) 0%, var(--color-ink) 62%);
  overflow: hidden;
  /* .hero is a <section>, which carries a global 88px/60px vertical
     padding — that padding is what put a dark band above and below the
     split hero, so it is cleared here. */
  padding: 0;
}
.hero-split {
  display: flex;
  flex-direction: column;
}
.hero-photo {
  position: relative;
  width: 100%;
  background: var(--color-ink);
}
/* display:contents keeps the <img> itself as the box the layout rules below
   act on, rather than the <picture> wrapper. */
.hero-photo picture { display: contents; }
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  /* matches the taller mobile crop, so the space is reserved before load */
  aspect-ratio: 760 / 982;
}
.hero-content {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 24px 56px;
  /* Flex items default to min-width:auto, so a single nowrap child can push
     this column wider than the viewport (and .hero's overflow:hidden then
     clips the text rather than showing a scrollbar). */
  min-width: 0;
}
.hero-content > * { max-width: 100%; }
.hero-content .section-label { color: var(--color-accent-light); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--color-accent-light); }
.hero p.lead { color: #E7E2DB; font-size: 1.15rem; max-width: 560px; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero .btn-accent { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); }
.hero-badge { max-width: 108px; margin: 12px auto 28px; display: block; }

@media (min-width: 860px) {
  /* Desktop split: the photo is an absolutely positioned column pinned to
     the full height of the hero (top:0/bottom:0), and the text reserves
     room for it with padding-left. Pinning both edges gives the column a
     definite height, which is what lets the image resolve height:100%
     against it — a flex-stretched column does not, and the image would
     fall back to its intrinsic size.

     Because the image is sized from its height with width:auto, its
     aspect ratio is never distorted: it is only ever cropped left/right,
     and the dancer's full vertical extent is always visible. Any slack
     falls to the left of the image as a dark band. */
  .hero-split {
    /* Column width is capped at the width the photo actually renders at
       when the hero is 80vh tall (its aspect ratio x that height), so the
       photo always fills the column exactly — no dark band beside it — and
       is simply cropped left/right when the hero grows taller than 80vh.
       The same value drives the text's padding so the two never overlap. */
    --hero-photo-w: min(48%, calc(80vh * 0.8902));
    flex-direction: column;
    justify-content: center;
    min-height: 80vh;
    padding: 0 0 0 var(--hero-photo-w);
  }
  .hero-photo {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--hero-photo-w);
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }
  .hero-photo img {
    display: block;
    width: auto;
    height: 100%;
    max-width: none;
    aspect-ratio: auto;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    max-width: 640px;
    text-align: center;
    padding: 56px 40px;
  }
  .hero-cta { justify-content: center; }
  .hero-badge { margin: 12px auto 28px; }
}

.page-hero {
  position: relative;
  padding: 150px 0 70px;
  color: #fff;
  text-align: center;
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6); }
.page-hero > .container > p { text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); }
.page-hero .section-label { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: #D9D4CD; max-width: 620px; margin: 0 auto; }

.school-hero-bg { background-image: url('images/school-entrance-1200w.jpg'); }
@media (min-width: 1200px) {
  .school-hero-bg { background-image: url('images/school-entrance-1920w.jpg'); }
}

/* The About portrait is only 280x330, so filling a wide hero band by cropping
   blew it up ~5x and cut the face in half. Instead the sharp portrait is shown
   whole at the band's height, and a blurred, darkened copy of the same photo
   extends it sideways to whatever aspect the band needs. The darkening is also
   what lets the white hero text read over it. */
.about-hero-bg {
  background-color: #4A4744;
  background-image: url('images/claudia-rado.jpg'), url('images/claudia-hero-fill-1600w.jpg');
  background-size: auto 100%, cover;
  background-position: right center, center;
  background-repeat: no-repeat, no-repeat;
}
@media (max-width: 899px) {
  /* No room beside the centred text here, so the fill carries the band alone. */
  .about-hero-bg {
    background-image: url('images/claudia-hero-fill-1600w.jpg');
    background-size: cover;
    background-position: center;
  }
}
/* Between these widths the centred text would run into the portrait, so the
   text is held clear of it. Wider than this the two never meet. */
@media (min-width: 900px) and (max-width: 1279px) {
  .about-hero-bg > .container { padding-right: 330px; }
}

/* Faces sit high in this group photo, so the wide/short hero band is
   anchored near the top rather than centred. */
.talleres-hero-bg {
  background-image: url('images/talleres-hero-group-800w.jpg');
  background-position: center 20%;
}
@media (min-width: 900px) {
  .talleres-hero-bg { background-image: url('images/talleres-hero-group-1280w.jpg'); }
}

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--color-card);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--color-accent);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card .icon { font-size: 1.8rem; margin-bottom: 14px; display: block; }

.photo-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--color-card);
}

/* ---------- Photo gallery grid ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.photo-grid .photo-tile {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--color-card);
}
.photo-grid .photo-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.photo-grid .photo-tile:hover img { transform: scale(1.06); }
.photo-grid .photo-tile-featured {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
@media (max-width: 899px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .photo-grid .photo-tile-featured {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 4 / 3;
  }
}
@media (prefers-reduced-motion: reduce) {
  .photo-grid .photo-tile img { transition: none; }
  .photo-grid .photo-tile:hover img { transform: none; }
}
.photo-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.photo-card figcaption { padding: 14px 18px; font-size: 0.9rem; color: var(--color-text-muted); }


/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card img {
  width: 168px; height: 168px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  border: 4px solid var(--color-bg);
  box-shadow: var(--shadow-soft);
}
.team-card .role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-primary);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.team-card h3 { margin-bottom: 6px; }
.team-card p { font-size: 0.92rem; }

/* ---------- Schedule table ---------- */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.schedule-table th, .schedule-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.schedule-table th {
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.95rem;
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table td.tag {
  color: var(--color-primary);
  font-weight: 700;
}

.pill {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- Quote / mission ---------- */
.quote-block {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.quote-block blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--color-primary);
  font-style: italic;
  margin: 0 0 20px;
  line-height: 1.5;
}
.quote-block cite {
  font-style: normal;
  font-weight: 700;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ic {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
}
.contact-list a { font-weight: 600; color: var(--color-primary); }
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  line-height: 0;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--color-ink);
  color: #C9C4BE;
  padding: 60px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-grid a, .footer-grid p { color: #B7B2AB; font-size: 0.92rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a:hover { color: var(--color-accent-light); }
.footer-brand img { max-width: 100%; width: 200px; height: auto; filter: invert(1) brightness(1.8); }
.footer-brand > div { flex-wrap: wrap; }
.social-row { display: flex; gap: 12px; margin-top: 14px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid #4A4A4E;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.social-row a:hover { border-color: var(--color-accent-light); }
.footer-bottom {
  border-top: 1px solid #243A38;
  padding-top: 22px;
  font-size: 0.82rem;
  color: #8B8681;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- i18n show/hide ---------- */
.es, .en { }
body.lang-en .es { display: none !important; }
body:not(.lang-en) .en { display: none !important; }

/* ---------- Utility ---------- */
.mt-lg { margin-top: 48px; }
.text-center { text-align: center; }
.stack { display: grid; gap: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* The horizontal nav needs ~1000px to fit five links alongside the brand
   and the ES/EN toggle; below that it wrapped onto two lines, so the
   collapsed menu takes over there instead. Kept separate from the 720px
   block below, whose grid/padding rules must not apply this wide. */
@media (max-width: 999px) {
  nav.main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  nav.main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-toggle { display: block; }
}

@media (max-width: 720px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: white;
  text-decoration: none;
  padding: 2rem;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: translateX(4px);
}

.whatsapp-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.whatsapp-btn strong {
  color: white;
  display: block;
  margin-bottom: 0.25rem;
}

.whatsapp-btn span {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .whatsapp-btn {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* WhatsApp Button - Official Branding */
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #25D366;
  color: white;
  text-decoration: none;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid #25D366;
  margin-top: 1.5rem;
  display: inline-flex;
}

.whatsapp-button:hover {
  background-color: #20BA5B;
  border-color: #20BA5B;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-logo {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
  /* the asset is WhatsApp green, which would vanish on the green button */
  filter: brightness(0) invert(1);
}

@media (max-width: 640px) {
  .brand-text { display: none; }
  .whatsapp-button {
    display: flex !important;
    width: 100%;
    padding: 1.5rem 1.5rem;
    font-size: 1.1rem;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    background-color: #25D366;
    color: white;
  }
  .whatsapp-logo {
    width: 32px;
    height: 32px;
  }
  .whatsapp-text {
    font-weight: 600;
  }
}

/* RAD logo - preserve original colors */
.footer-brand img.rad-logo { filter: none !important; max-width: 110px; height: auto; }

/* Logo shrink animation on scroll past hero */
.brand img {
  transition: height 0.3s ease, margin-top 0.3s ease;
}

header.site-header.scrolled-past-hero .brand img {
  height: 80px;
  margin-top: 0;
}

/* Facility Image Section */
.facility-image {
  margin-top: 2.5rem;
  text-align: center;
}

.facility-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto 1.5rem;
}

.facility-image .caption {
  color: #666;
  font-size: 0.95rem;
  margin-top: 1rem;
  font-style: italic;
}

@media (max-width: 768px) {
  .facility-image img {
    border-radius: 6px;
  }
  
  .facility-image .caption {
    font-size: 0.9rem;
  }
}

/* ---------- Hero promo banner (sits in-flow above the headline) ---------- */
.promo-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-secondary);
  border: none;
  color: var(--color-primary);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  max-width: 100%;
  box-shadow: var(--shadow-soft);
  margin: 0 0 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.promo-banner:hover {
  background: #E8C2BA;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}
.promo-banner .promo-tag {
  background: var(--color-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
}
.promo-banner .promo-short { display: none; }

@media (max-width: 600px) {
  .promo-banner {
    font-size: 0.78rem;
    padding: 8px 14px;
    gap: 6px;
  }
  .promo-banner .promo-tag { font-size: 0.6rem; padding: 2px 8px; }
  .promo-banner .promo-full { display: none; }
  .promo-banner .promo-short { display: inline; }
}

.reserve-cta { margin: 26px 0 0; text-align: center; }

/* Defines "danza de carácter" (Talleres #2 and #3 both refer to it). Sits in
   the intro block, so it reads as a supporting line under the lead paragraph. */
.info-note {
  margin: 0 auto 4px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ---------- Mini calendar (workshop schedule) ---------- */
.mini-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin: 16px 0 10px;
}
.mini-cal .dow {
  font-size: 0.66rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-text-muted);
  text-transform: uppercase;
  padding-bottom: 3px;
}
.mini-cal .day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.82rem;
  background: var(--color-bg);
  color: var(--color-text-muted);
}
.mini-cal .day.active {
  color: #fff;
  font-weight: 700;
}
.mini-cal .day.active.c1 { background: #4D8B88; }
.mini-cal .day.active.c2 { background: #4A7FC1; }
.mini-cal .day.active.c3 { background: #C97A3D; }
.cal-caption {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
  margin: 0 0 16px;
}
.cal-month-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 12px;
}

/* ---------- Clickable card titles (e.g. workshop tiles linking to detail page) ---------- */
.card-link {
  color: var(--color-primary);
  transition: color 0.2s ease;
}
.card-link:hover {
  color: var(--color-accent);
}

/* ---------- Wide table wrapper (horizontal scroll on narrow screens) ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 40px;
}
.table-scroll .schedule-table { min-width: 640px; }
.schedule-table td a { color: inherit; font-weight: 700; }
.schedule-table td a:hover { color: var(--color-accent); }
.schedule-table .rate-note { display: block; font-size: 0.78rem; font-weight: 400; color: var(--color-text-muted); margin-top: 2px; }

/* ---------- Floating WhatsApp Button ---------- */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.floating-whatsapp .whatsapp-icon {
  display: block;
  width: 38px;
  height: 38px;
  font-size: initial;
  flex-shrink: 0;
}

.floating-whatsapp .floating-label { display: none; }

@media (max-width: 768px) {
  .floating-whatsapp { bottom: 20px; right: 20px; width: 56px; height: 56px; }
  .floating-whatsapp .whatsapp-icon { width: 36px; height: 36px; }
}

@media (max-width: 480px) {
  .floating-whatsapp { bottom: 16px; right: 16px; width: 52px; height: 52px; }
  .floating-whatsapp .whatsapp-icon { width: 33px; height: 33px; }
}
