/* ========================================
   BDance — Stylesheet
   Soft floral boutique direction
   ======================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand palette — derived from the BDance logo */
  --plum:         #9B3675;
  --plum-dark:    #7A2A5C;
  --plum-light:   #B85A94;
  --charcoal:     #4A4247;
  --charcoal-light: #6B636A;
  --mauve:        #C492AD;
  --mauve-light:  #D9B5C8;
  --blush:        #F5E6EE;
  --blush-light:  #FBF2F7;
  --sage:         #8B9E8B;
  --sage-light:   #C8D5C4;
  --cream:        #FBF8F5;
  --white:        #FFFFFF;

  /* Typography */
  --font-heading: 'Quicksand', 'Nunito Sans', sans-serif;
  --font-body:    'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-pad:     5rem 0;
  --section-pad-sm:  3rem 0;
  --container-max:   1100px;
  --container-pad:   1.5rem;

  /* Borders & Shadows */
  --radius:       12px;
  --radius-lg:    16px;
  --shadow-soft:  0 4px 20px rgba(155, 54, 117, 0.07);
  --shadow-card:  0 1px 12px rgba(74, 66, 71, 0.06);
  --shadow-card-hover: 0 8px 30px rgba(155, 54, 117, 0.1);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--blush);
  color: var(--plum-dark);
}

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

a {
  color: var(--plum);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--plum-dark);
}

/* Focus visible for keyboard nav */
:focus-visible {
  outline: 2px solid var(--plum-light);
  outline-offset: 2px;
  border-radius: 4px;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--charcoal);
}

/* ---------- Utilities ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--section-pad);
  position: relative;
}

.section--tinted {
  background-color: var(--blush-light);
}

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.75rem;
}

.section__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 0.6rem;
}

.section__label--light {
  color: var(--mauve-light);
}

.section__title {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.section__intro {
  font-size: 1rem;
  color: var(--charcoal-light);
  line-height: 1.75;
}

/* Curved section dividers */
.section-curve {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.section-curve svg {
  width: 100%;
  height: 50px;
  display: block;
}

.section-curve--top {
  top: 0;
}

.section-curve--bottom {
  bottom: 0;
}

.hero .section-curve {
  bottom: -1px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.75rem 1.85rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-decoration: none;
  line-height: 1;
  letter-spacing: 0.01em;
}

.btn--sm {
  font-size: 0.82rem;
  padding: 0.55rem 1.35rem;
}

.btn--primary {
  background-color: var(--plum);
  color: var(--white);
  border-color: var(--plum);
}

.btn--primary:hover {
  background-color: var(--plum-dark);
  border-color: var(--plum-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(155, 54, 117, 0.25);
}

.btn--outline {
  background-color: transparent;
  color: var(--plum);
  border-color: var(--plum);
}

.btn--outline:hover {
  background-color: var(--plum);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--white {
  background-color: var(--white);
  color: var(--plum);
  border-color: var(--white);
}

.btn--white:hover {
  background-color: var(--blush);
  border-color: var(--blush);
  color: var(--plum-dark);
  transform: translateY(-1px);
}

.btn--outline-light {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.85rem 0;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
}

.nav--scrolled {
  background-color: rgba(251, 248, 245, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 16px rgba(74, 66, 71, 0.07);
  padding: 0.45rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 40px;
  width: auto;
  transition: height 0.3s var(--ease);
}

.nav--scrolled .nav__logo img {
  height: 34px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav__links a {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--charcoal);
  position: relative;
}

.nav__links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--plum);
  border-radius: 1px;
  transition: width 0.3s var(--ease);
}

.nav__links a:not(.btn):hover::after {
  width: 100%;
}

.nav__links a:not(.btn):hover {
  color: var(--plum);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: linear-gradient(165deg, var(--blush-light) 0%, var(--blush) 45%, var(--cream) 100%);
  overflow: hidden;
  padding-top: 5rem;
}

.hero__decor {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  pointer-events: none;
}

.hero__decor--top-right {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--mauve) 0%, transparent 70%);
  top: -120px;
  right: -140px;
}

.hero__decor--bottom-left {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--sage-light) 0%, transparent 70%);
  bottom: 60px;
  left: -100px;
}

.hero__inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.hero__logo {
  max-width: 280px;
  margin: 0 auto 1.75rem;
  filter: drop-shadow(0 2px 8px rgba(155, 54, 117, 0.08));
}

.hero__title {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1.15rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.hero__subtitle {
  font-size: 1.02rem;
  color: var(--charcoal-light);
  max-width: 520px;
  margin: 0 auto 2.25rem;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- About ---------- */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about__text .section__label {
  display: block;
}

.about__text .section__title {
  margin-bottom: 1.25rem;
}

.about__text p {
  color: var(--charcoal-light);
  margin-bottom: 0.85rem;
  line-height: 1.75;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__visual {
  position: relative;
}

.about__image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 3 / 4;
}

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

.about__floral {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 90px;
  height: 90px;
  opacity: 0.45;
}

/* ---------- Benefits ---------- */
.benefits {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border-top: 3px solid var(--blush);
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-top-color: var(--plum-light);
}

.benefit-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--plum);
}

.benefit-card__icon svg {
  width: 100%;
  height: 100%;
}

.benefit-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--charcoal);
}

.benefit-card__text {
  font-size: 0.88rem;
  color: var(--charcoal-light);
  line-height: 1.65;
}

/* ---------- Classes ---------- */
.classes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.class-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-card);
  border: 2px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.class-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.class-card--featured {
  border-color: var(--plum);
  position: relative;
}

.class-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background-color: var(--plum);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
}

.class-card__badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--plum);
  background-color: var(--blush);
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.class-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.class-card__time {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--plum);
  margin-bottom: 0.85rem;
  letter-spacing: 0.02em;
}

.class-card__text {
  font-size: 0.88rem;
  color: var(--charcoal-light);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.class-card__details {
  margin-bottom: 1.25rem;
  padding-left: 0;
  flex-grow: 1;
}

.class-card__details li {
  font-size: 0.84rem;
  color: var(--charcoal-light);
  padding: 0.25rem 0;
  padding-left: 1.15rem;
  position: relative;
}

.class-card__details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--mauve);
}

.class-card .btn {
  align-self: flex-start;
}

/* ---------- Experience ---------- */
.experience {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.experience__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.experience__visual {
  border-radius: var(--radius-lg);
  overflow: visible;
}

.experience__gallery-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--plum);
  transition: color 0.25s var(--ease);
}

.experience__gallery-link:hover {
  color: var(--plum-dark);
}

/* ---------- Carousel ---------- */
.carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background-color: var(--blush-light);
}

.carousel__track {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

.carousel__slide--active {
  opacity: 1;
}

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

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.25s var(--ease);
  z-index: 2;
}

.carousel__btn:hover {
  background-color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  transform: translateY(-50%) scale(1.06);
}

.carousel__btn svg {
  width: 18px;
  height: 18px;
}

.carousel__btn--prev {
  left: 10px;
}

.carousel__btn--next {
  right: 10px;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 10px 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.carousel__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s var(--ease);
}

.carousel__dot--active {
  background-color: var(--white);
  transform: scale(1.3);
}

.carousel__dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.experience__text .section__label {
  display: block;
}

.experience__text .section__title {
  margin-bottom: 1.25rem;
}

.experience__text p {
  color: var(--charcoal-light);
  margin-bottom: 0.85rem;
  line-height: 1.75;
}

.experience__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 1.25rem 0;
}

.experience__highlight {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
}

.experience__highlight svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- Testimonials ---------- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  border: none;
  border-left: 3px solid var(--blush);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-2px);
  border-left-color: var(--mauve);
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}

.testimonial-card__stars svg {
  width: 15px;
  height: 15px;
}

.testimonial-card__text {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.testimonial-card__author strong {
  font-size: 0.88rem;
  color: var(--charcoal);
}

.testimonial-card__author span {
  font-size: 0.78rem;
  color: var(--mauve);
}

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-dark) 50%, #6B2350 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta__decor {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  top: -180px;
  right: -180px;
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

.cta__title {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  color: var(--white);
  margin-bottom: 0.85rem;
}

.cta__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.25rem;
  line-height: 1.75;
}

.cta__actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 0.8fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: 0.6rem;
}

.footer__tagline {
  font-size: 0.84rem;
  font-style: italic;
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.45);
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.85rem;
}

.footer__links a,
.footer__contact a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  transition: color 0.25s var(--ease);
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--mauve-light);
}

.footer__links li,
.footer__contact li {
  margin-bottom: 0.4rem;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.footer__contact li svg {
  flex-shrink: 0;
  opacity: 0.45;
  margin-top: 2px;
}

.footer__contact li span {
  font-size: 0.85rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.25s var(--ease);
}

.social-icon svg {
  width: 16px;
  height: 16px;
}

.social-icon:hover {
  background-color: var(--plum-light);
  color: var(--white);
}

.footer__social-icons {
  display: flex;
  gap: 0.6rem;
}

.footer__bottom {
  padding: 1.15rem 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .classes__grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 3.25rem 0;
    --container-pad: 1.25rem;
  }

  /* Nav mobile */
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    height: 100dvh;
    background-color: var(--white);
    flex-direction: column;
    padding: 4.5rem 1.75rem 2rem;
    gap: 1.15rem;
    box-shadow: -4px 0 20px rgba(0,0,0,0.08);
    transition: right 0.35s var(--ease);
    z-index: 999;
  }

  .nav__links.open {
    right: 0;
  }

  .nav__links a {
    font-size: 0.95rem;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 7rem 0 4.5rem;
  }

  .hero__logo {
    max-width: 200px;
  }

  .hero__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .hero__subtitle {
    font-size: 0.95rem;
  }

  /* About */
  .about__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__visual {
    order: -1;
    max-width: 360px;
    margin: 0 auto;
  }

  .about__image-frame {
    aspect-ratio: 1 / 1;
  }

  /* Benefits */
  .benefits {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .benefits__grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

  /* Experience */
  .experience {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .experience__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .experience__visual {
    max-width: 400px;
    margin: 0 auto;
  }

  /* Testimonials */
  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__logo {
    margin: 0 auto 0.6rem;
  }

  .footer__links li,
  .footer__contact li {
    justify-content: center;
  }

  .footer__social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 260px;
  }

  .cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .cta__actions .btn {
    width: 100%;
    max-width: 260px;
  }

  .experience__highlights {
    grid-template-columns: 1fr;
  }
}

/* ---------- Gallery Page ---------- */
.gallery-hero {
  padding: 7.5rem 0 2.5rem;
  text-align: center;
  background: linear-gradient(165deg, var(--blush-light) 0%, var(--blush) 45%, var(--cream) 100%);
}

.gallery-hero .section__title {
  margin-bottom: 0.5rem;
}

.gallery-hero p {
  color: var(--charcoal-light);
  max-width: 460px;
  margin: 0 auto;
}

.gallery {
  padding: 2.5rem 0 4rem;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  aspect-ratio: 4 / 3;
}

.gallery__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.03);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(30, 25, 28, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: background-color 0.25s var(--ease);
}

.lightbox__close:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s var(--ease);
}

.lightbox__nav:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.lightbox__nav svg {
  width: 22px;
  height: 22px;
}

.lightbox__nav--prev {
  left: 1.25rem;
}

.lightbox__nav--next {
  right: 1.25rem;
}

/* Gallery Tabs */
.gallery__tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
}

.gallery__tab {
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.5rem 1.35rem;
  border-radius: 50px;
  border: 2px solid var(--blush);
  background-color: transparent;
  color: var(--charcoal-light);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.gallery__tab:hover {
  border-color: var(--mauve);
  color: var(--charcoal);
}

.gallery__tab--active {
  background-color: var(--plum);
  border-color: var(--plum);
  color: var(--white);
}

.gallery__tab--active:hover {
  background-color: var(--plum-dark);
  border-color: var(--plum-dark);
  color: var(--white);
}

.gallery__panel {
  display: none;
}

.gallery__panel--active {
  display: block;
}

/* Gallery Videos */
.gallery__grid--videos {
  grid-template-columns: 1fr;
  max-width: 520px;
}

.gallery__video-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background-color: var(--white);
}

.gallery__video-item video {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.gallery__video-caption {
  padding: 0.75rem 1.15rem;
  font-size: 0.84rem;
  color: var(--charcoal-light);
  font-style: italic;
}

.gallery__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--plum);
  margin-bottom: 0.85rem;
}

.gallery__back svg {
  width: 16px;
  height: 16px;
}

.gallery__back:hover {
  color: var(--plum-dark);
}

@media (max-width: 768px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .lightbox__nav--prev { left: 0.75rem; }
  .lightbox__nav--next { right: 0.75rem; }
}

@media (max-width: 480px) {
  .gallery__grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }
}

/* ---------- Animations on scroll ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
