/*
Theme Name: imparables-rc
Text Domain: imparables-rc
Description: Custom theme for Imparables RC — Rosa Castillo, licensed Zumba instructor.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500&family=Baloo+2:wght@500;600;700;800&display=swap');

:root {
  --color-bg:        #fff8fb;
  --color-surface:   #ffffff;
  --color-pink:      #ff2e93;
  --color-pink-dk:   #d81277;
  --color-teal:      #12c2c2;
  --color-teal-dk:   #0a9c9c;
  --color-yellow:    #ffd23f;
  --color-purple:    #7b2ff7;
  --color-ink:       #2a1633;
  --color-text:      #44324d;
  --color-muted:     #8a7894;
  --color-soft:      #fde9f3;
  --color-border:    #f3e0ec;
  --font-display: 'Baloo 2', cursive;
  --font-body:    'Poppins', sans-serif;
  /* Aliases mapping old names to new vibrant palette */
  --color-orange:    var(--color-pink);
  --color-orange-dk: var(--color-pink-dk);
  --color-cream:     var(--color-soft);
  --color-yellow-dk: var(--color-yellow);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-ink);
}
a { color: var(--color-orange); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-orange-dk); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--color-yellow); color: var(--color-ink); }
svg { display: inline-block; }

/* Layout */
.rc-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,253,247,0.95);
  backdrop-filter: blur(8px);
  padding: 1rem 0;
  border-bottom: 2px solid var(--color-yellow);
}
.site-header .rc-wrap { display: flex; align-items: center; justify-content: space-between; }
.site-logo {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  color: var(--color-ink) !important; letter-spacing: 0.01em;
}
.logo-badge {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-purple) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  color: #fff; flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(255,46,147,0.3);
}
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 1.8rem; }
.site-nav a {
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  color: var(--color-ink) !important;
}
.site-nav a:hover { color: var(--color-orange) !important; }
.nav-cta {
  background: var(--color-orange); color: #fff !important;
  padding: 0.6rem 1.3rem; border-radius: 50px;
  font-weight: 700; font-size: 0.92rem;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--color-orange-dk); color: #fff !important; transform: translateY(-1px); }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-purple) 55%, var(--color-teal) 120%);
  overflow: hidden;
  padding: 5rem 0 5.5rem;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,0.18) 0%, transparent 12%),
    radial-gradient(circle at 85% 70%, rgba(255,255,255,0.15) 0%, transparent 14%),
    radial-gradient(circle at 70% 15%, rgba(255,255,255,0.12) 0%, transparent 10%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.25);
  border: 1.5px solid rgba(255,255,255,0.6);
  color: #fff; padding: 0.45rem 1.1rem; border-radius: 50px;
  font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em;
  margin-bottom: 1.5rem; backdrop-filter: blur(4px);
}
.hero h1 {
  color: #fff; font-size: clamp(2.8rem, 6vw, 4.6rem); font-weight: 800;
  line-height: 0.98; margin-bottom: 1.25rem;
  text-shadow: 0 3px 14px rgba(160,60,0,0.18);
}
.hero h1 .pop { color: var(--color-yellow); }
.hero-sub {
  color: #fff; font-size: 1.2rem; font-weight: 500;
  max-width: 30ch; margin-bottom: 2rem; line-height: 1.5;
  text-shadow: 0 1px 6px rgba(160,60,0,0.12);
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--color-ink); color: #fff !important;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  padding: 0.95rem 1.9rem; border-radius: 50px;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 6px 18px rgba(43,29,18,0.25);
}
.btn-primary:hover { transform: translateY(-2px); color: #fff !important; box-shadow: 0 10px 24px rgba(43,29,18,0.32); }
.btn-ghost {
  background: rgba(255,255,255,0.95); color: var(--color-orange) !important;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  padding: 0.95rem 1.9rem; border-radius: 50px;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: transform 0.15s;
}
.btn-ghost:hover { transform: translateY(-2px); color: var(--color-orange-dk) !important; }

/* Hero image */
.hero-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  background: rgba(255,255,255,0.2);
  border: 3px solid rgba(255,255,255,0.7);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 50px rgba(160,60,0,0.25);
}
.hero-photo .photo-placeholder {
  text-align: center; color: #fff; padding: 2rem;
  font-weight: 600;
}
.hero-photo .photo-placeholder svg { width: 56px; height: 56px; margin-bottom: 1rem; opacity: 0.85; }
.hero-photo .photo-placeholder span { display: block; font-size: 0.9rem; opacity: 0.9; line-height: 1.5; }
.hero-logo-chip {
  position: absolute; bottom: 1rem; right: 1rem;
  width: 64px; height: 64px; border-radius: 50%;
  background: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  color: var(--color-orange);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

/* Wave divider */
.wave { display: block; width: 100%; height: 50px; }
.wave-top { margin-bottom: -1px; }

/* Sections */
.section { padding: 5rem 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-kicker {
  display: inline-block;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  color: var(--color-orange); letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.75rem; }
.section-sub { color: var(--color-muted); font-size: 1.08rem; }

/* About */
.about { background: var(--color-cream); }
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; align-items: center; }
.about-photo {
  aspect-ratio: 1/1; border-radius: 24px;
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-purple) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 14px 36px rgba(123,47,247,0.22);
}
.about-photo svg { width: 64px; height: 64px; opacity: 0.85; }
.about-text h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 1.25rem; }
.about-text p { color: var(--color-text); margin-bottom: 1.1rem; font-size: 1.06rem; }
.about-badges { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.about-badge {
  background: #fff; border: 2px solid var(--color-yellow);
  border-radius: 50px; padding: 0.5rem 1.1rem;
  font-weight: 600; font-size: 0.88rem; color: var(--color-ink);
  display: inline-flex; align-items: center; gap: 0.45rem;
}
.about-badge svg { width: 16px; height: 16px; color: var(--color-orange); }

/* Class info cards */
.classes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* Highlights — static row */
.highlights { padding: 5rem 0; }
.highlights-head {
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 2rem; align-items: end;
  margin-bottom: 2.5rem;
}
.highlights-head .section-title { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.02; }
.highlights-sub { color: var(--color-muted); font-size: 1.08rem; }
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.scroll-card {
  border-radius: 24px; padding: 2.25rem 1.9rem;
  color: #fff; min-height: 230px;
  display: flex; flex-direction: column;
  box-shadow: 0 12px 30px rgba(42,22,51,0.12);
  transition: transform 0.2s;
}
.scroll-card:hover { transform: translateY(-6px); }
.sc-pink   { background: linear-gradient(150deg, var(--color-pink) 0%, var(--color-pink-dk) 100%); }
.sc-teal   { background: linear-gradient(150deg, var(--color-teal) 0%, var(--color-teal-dk) 100%); }
.sc-purple { background: linear-gradient(150deg, var(--color-purple) 0%, #5a1fc0 100%); }
.sc-yellow { background: linear-gradient(150deg, var(--color-yellow) 0%, #f0b400 100%); color: var(--color-ink); }
.scroll-emoji { font-size: 2.2rem; line-height: 1; margin-bottom: 1rem; }
.scroll-card h3 { color: inherit; font-size: 1.5rem; margin-bottom: 0.6rem; }
.scroll-card p { font-size: 0.98rem; line-height: 1.55; opacity: 0.95; }

/* Gallery — horizontal scroller */
.gallery { background: var(--color-soft); padding-bottom: 4rem; }
.gallery-scroller {
  overflow-x: auto; overflow-y: hidden;
  padding: 0.5rem 0 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--color-pink) #fff;
}
.gallery-scroller::-webkit-scrollbar { height: 8px; }
.gallery-scroller::-webkit-scrollbar-track { background: #fff; border-radius: 50px; }
.gallery-scroller::-webkit-scrollbar-thumb { background: var(--color-pink); border-radius: 50px; }
.gallery-track {
  display: flex; gap: 1.25rem;
  padding: 0 max(1.5rem, calc((100vw - 1120px) / 2));
  width: max-content;
}
.gphoto {
  flex: 0 0 calc((min(1120px, 100vw - 3rem) - 2.5rem) / 3);
  aspect-ratio: 4/3;
  border-radius: 18px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
  box-shadow: 0 8px 22px rgba(42,22,51,0.1);
}
.gphoto svg { width: 40px; height: 40px; opacity: 0.7; }
.gphoto:nth-child(1) { background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-purple) 100%); }
.gphoto:nth-child(2) { background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dk) 100%); }
.gphoto:nth-child(3) { background: linear-gradient(135deg, var(--color-yellow) 0%, #f0b400 100%); }
.gphoto:nth-child(4) { background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-pink) 100%); }
.gphoto:nth-child(5) { background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-purple) 100%); }
.gphoto:nth-child(6) { background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-yellow) 100%); }
.gallery-actions { text-align: center; margin-top: 1.5rem; }
.btn-view-all {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; border: 2px solid var(--color-pink);
  color: var(--color-pink) !important;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 0.8rem 2rem; border-radius: 50px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-view-all:hover { background: var(--color-pink); color: #fff !important; transform: translateY(-2px); }

/* Video section */
.video-section { background: var(--color-ink); color: #fff; }
.video-section .section-title { color: #fff; }
.video-section .section-kicker { color: var(--color-yellow); }
.video-section .section-sub { color: rgba(255,255,255,0.7); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.video-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px; overflow: hidden;
}
.video-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(255,198,11,0.25) 0%, rgba(245,99,30,0.25) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.video-play {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-orange);
}
.video-play svg { width: 24px; height: 24px; margin-left: 3px; }
.video-card .video-meta { padding: 1.1rem 1.25rem; }
.video-card h4 { color: #fff; font-size: 1.05rem; margin-bottom: 0.25rem; }
.video-card span { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.video-disclaimer {
  text-align: center; margin-top: 2.5rem;
  font-size: 0.88rem; color: rgba(255,255,255,0.55);
  max-width: 60ch; margin-left: auto; margin-right: auto;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: start; }
.contact-info h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
.contact-info p { color: var(--color-muted); margin-bottom: 2rem; font-size: 1.05rem; }
.contact-item {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1rem 1.25rem; margin-bottom: 0.85rem;
  background: var(--color-cream); border-radius: 14px;
  font-weight: 500; color: var(--color-ink);
}
.contact-item svg { width: 22px; height: 22px; color: var(--color-orange); flex-shrink: 0; }
.contact-item a { color: var(--color-ink) !important; }
.contact-item a:hover { color: var(--color-orange) !important; }
.social-row { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--color-cream);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-orange);
  transition: background 0.2s, transform 0.15s;
}
.social-btn:hover { background: var(--color-yellow); transform: translateY(-2px); }
.social-btn svg { width: 22px; height: 22px; }

.wpforms-form input[type="text"], .wpforms-form input[type="email"], .wpforms-form input[type="tel"], .wpforms-form textarea {
  background: var(--color-surface) !important;
  border: 1.5px solid var(--color-border) !important;
  color: var(--color-text) !important;
  border-radius: 12px !important;
  padding: 0.9rem 1.1rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.98rem !important;
  width: 100% !important;
}
.wpforms-form input:focus, .wpforms-form textarea:focus {
  border-color: var(--color-orange) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(245,99,30,0.12) !important;
}
.wpforms-form label {
  font-family: var(--font-body) !important; font-weight: 600 !important;
  font-size: 0.9rem !important; color: var(--color-ink) !important;
  margin-bottom: 0.4rem !important;
}
.wpforms-form button[type="submit"], .wpforms-form input[type="submit"] {
  background: var(--color-orange) !important; color: #fff !important;
  border: none !important; border-radius: 50px !important;
  font-family: var(--font-display) !important; font-weight: 700 !important;
  font-size: 1.02rem !important; padding: 0.95rem 2.2rem !important;
  cursor: pointer !important; transition: background 0.2s !important;
}
.wpforms-form button[type="submit"]:hover { background: var(--color-orange-dk) !important; }

/* Footer */
.site-footer { background: var(--color-ink); color: rgba(255,255,255,0.7); padding: 3rem 0 1.5rem; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 2rem; }
.footer-logo { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: #fff; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.7); font-weight: 500; font-size: 0.95rem; }
.footer-links a:hover { color: var(--color-yellow); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.5rem;
  font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.7;
}
.footer-legal a { color: rgba(255,255,255,0.7); text-decoration: underline; }
.footer-legal a:hover { color: var(--color-yellow); }
.footer-built { margin-top: 0.75rem; }
.footer-built a { color: var(--color-yellow); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-photo { max-width: 380px; margin: 0 auto; width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-photo { max-width: 320px; margin: 0 auto; width: 100%; }
  .highlights-head { grid-template-columns: 1fr; gap: 1rem; align-items: start; }
  .highlights-grid { grid-template-columns: 1fr 1fr; }
  .gphoto { flex: 0 0 70vw; }
  .video-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .site-nav ul { gap: 1rem; }
  .site-nav li:not(:last-child) { display: none; }
}
@media (max-width: 600px) {
  .highlights-grid { grid-template-columns: 1fr; }
  .gphoto { flex: 0 0 80vw; }
  .hero h1 { font-size: 2.6rem; }
}
