:root {
  --rose: #d94862;
  --rose-dark: #b92f49;
  --rose-soft: #f7d7dc;
  --sage: #657451;
  --sage-dark: #445238;
  --cream: #fffaf3;
  --paper: #fffdf9;
  --ink: #25312b;
  --muted: #66716b;
  --line: #eadfd6;
  --shadow: 0 20px 55px rgba(73, 54, 44, 0.11);
}


/* =========================
   Base
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  text-decoration: none;
}

.section-anchor {
  scroll-margin-top: 96px;
}

.py-lg-6 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}


/* =========================
   Accessibility
========================= */

.skip-link {
  position: fixed;
  left: 1rem;
  top: -80px;
  z-index: 2000;
  background: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 1rem;
}


/* =========================
   Header / Navigation
========================= */

.site-header {
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(234, 223, 214, 0.8);
}

.navbar {
  padding: 0.45rem 0;
}

.navbar-brand img {
  width: 120px;
  height: 76px;
  object-fit: contain;
}

.nav-link {
  font-weight: 700;
  color: var(--ink);
  position: relative;
  padding: 0.75rem 0.4rem !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--rose);
}

.nav-link.active:after {
  content: "";
  position: absolute;
  left: 0.4rem;
  right: 0.4rem;
  bottom: 0.35rem;
  height: 2px;
  background: var(--rose);
  border-radius: 999px;
}

.navbar-toggler {
  border: 0;
  padding: 0.4rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(217, 72, 98, 0.18);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav a {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}


/* =========================
   Buttons
========================= */

.btn-brand {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  box-shadow: 0 10px 24px rgba(217, 72, 98, 0.22);
}

.btn-brand:hover,
.btn-brand:focus {
  background: var(--rose-dark);
  border-color: var(--rose-dark);
  color: #fff;
  transform: translateY(-1px);
}


/* =========================
   Hero
========================= */

.hero-section {
  padding: 2rem 0 1rem;
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(247, 215, 220, 0.55),
      transparent 30%
    ),
    var(--paper);
}

.hero-shell {
  background: var(--cream);
  border: 1px solid #f0e4da;
  border-radius: 34px;
  padding: clamp(1.5rem, 4vw, 4rem);
  overflow: hidden;
  position: relative;
}

.hero-shell:before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 46px solid rgba(101, 116, 81, 0.08);
  border-radius: 50%;
  left: -120px;
  bottom: -120px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--sage-dark);
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  color: var(--ink);
}

h1 {
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: 0.98;
  margin: 0.7rem 0 1.5rem;
  letter-spacing: -0.03em;
}

h1 span {
  color: var(--rose);
}

.hero-copy {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  max-width: 34rem;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-highlights span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-highlights i {
  color: var(--rose);
  margin-right: 0.35rem;
}

.hero-image-wrap {
  position: relative;
}

.hero-image {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  border-radius: 32% 8% 28% 8%;
  box-shadow: var(--shadow);
}

.hero-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: #fff;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.hero-badge strong {
  color: var(--rose);
}

.hero-badge span {
  font-size: 0.83rem;
  color: var(--muted);
}


/* =========================
   Section Headings
========================= */

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  margin-top: 0.35rem;
  margin-bottom: 0;
}

.section-heading h2:after {
  content: "";
  display: block;
  width: 62px;
  height: 4px;
  background: var(--rose);
  border-radius: 999px;
  margin: 0.65rem auto 0;
}


/* =========================
   Schedule
========================= */

.schedule-section {
  background: #fff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  position: relative;
  margin-top: 3rem;
  gap: 0.75rem;
}

.timeline:before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 34px;
  border-top: 2px dashed #d9cfc6;
  z-index: 0;
}

.timeline-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.timeline-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--rose-soft);
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  color: var(--rose);
  font-size: 1.4rem;
  box-shadow: 0 8px 22px rgba(73, 54, 44, 0.08);
}

.timeline-item:nth-child(even) .timeline-icon {
  color: var(--sage-dark);
  border-color: #ccd6c1;
}

.timeline time {
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--rose-dark);
}

.timeline h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0.25rem 0 0;
}


/* =========================
   Programs
========================= */

.programs-section {
  background: linear-gradient(180deg, #fffaf3 0%, #fffdf9 100%);
}

.program-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(73, 54, 44, 0.08);
  transition: 0.25s ease;
}

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

.program-card img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.program-body {
  padding: 1.5rem;
}

.program-age {
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rose);
}

.program-card h3 {
  font-size: 1.75rem;
  margin: 0.35rem 0 0.6rem;
}

.program-card p {
  color: var(--muted);
  margin: 0;
}

.program-card.featured {
  border-top: 5px solid var(--rose);
}


/* =========================
   Gallery
========================= */

.gallery-section {
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}

.gallery-item {
  border: 0;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #eee;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-wide {
  grid-column: span 2;
}

.gallery-tall {
  grid-row: span 2;
}


/* =========================
   Contact
========================= */

.contact-section {
  background: linear-gradient(
    135deg,
    #f9e2e6 0%,
    #fff9f1 48%,
    #e7eddf 100%
  );
}

.contact-card,
.map-card {
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(234, 223, 214, 0.95);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-weight: 700;
  font-size: 0.88rem;
}

.form-control {
  border: 1px solid #dfd7cf;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  background: #fff;
}

.form-control:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 0.22rem rgba(217, 72, 98, 0.14);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list i {
  font-size: 1.25rem;
  color: var(--rose);
  width: 26px;
}

.contact-list strong,
.contact-list span,
.contact-list a {
  display: block;
}

.contact-list a {
  color: var(--ink);
  word-break: break-word;
}

.contact-list a:hover {
  color: var(--rose);
}

.instagram-row {
  background: #fff4f6;
  margin: 0.5rem -0.5rem -0.5rem;
  padding: 1rem 0.5rem !important;
  border-radius: 14px;
}


/* =========================
   Map
========================= */

.map-card {
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 100%;
}

.map-card iframe {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 520px;
}

.map-link {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  white-space: nowrap;
  background: #fff;
  color: var(--ink);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.14);
  font-weight: 700;
}

.map-link:hover {
  color: var(--rose);
}


/* =========================
   Footer
========================= */

.site-footer {
  background: var(--sage-dark);
  color: #fff;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

.footer-tagline {
  color: #dfe7d7;
  font-weight: 700;
  letter-spacing: 0.08em;
}


/* =========================
   Gallery Modal
========================= */

.modal-content {
  background: transparent;
  border: 0;
}

.modal-content img {
  max-height: 86vh;
  width: 100%;
  object-fit: contain;
  border-radius: 18px;
}

.modal-close {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  z-index: 2;
  background-color: #fff;
  border-radius: 50%;
  padding: 0.7rem;
  opacity: 1;
}


/* =========================
   Tablet
========================= */

@media (max-width: 991.98px) {

  .py-lg-6 {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
  }

  .navbar-brand img {
    width: 105px;
    height: 66px;
  }

  .hero-section {
    padding-top: 1rem;
  }

  .hero-shell {
    border-radius: 26px;
  }

  .hero-image {
    border-radius: 22px;
    aspect-ratio: 1.25 / 1;
  }

  .hero-badge {
    right: 0.65rem;
    bottom: 0.65rem;
  }


  /* Timeline */

  .timeline {
    grid-template-columns: 1fr;
    margin-top: 2rem;
    gap: 0;
  }

  .timeline:before {
    display: none;
  }

  .timeline-item {
    text-align: left;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 1rem;
    align-items: center;
    padding: 0 0 1.2rem;
  }

  .timeline-item:not(:last-child):after {
    content: "";
    position: absolute;
    left: 28px;
    top: 56px;
    bottom: 0;
    border-left: 2px dashed #d9cfc6;
  }

  .timeline-icon {
    width: 56px;
    height: 56px;
    margin: 0;
  }

  .timeline h3 {
    font-size: 1rem;
  }

  .timeline time {
    font-size: 0.8rem;
  }


  /* Gallery */

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 170px;
  }

  .gallery-tall {
    grid-row: span 1;
  }


  /* Map */

  .map-card iframe {
    min-height: 360px;
  }
}


/* =========================
   Mobile
========================= */

@media (max-width: 575.98px) {

  body {
    font-size: 15px;
  }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-header .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .navbar {
    padding: 0.25rem 0;
  }

  .navbar-brand img {
    width: 88px;
    height: 58px;
  }


  /* Hero */

  .hero-shell {
    padding: 1.35rem;
    border-radius: 22px;
  }

  .hero-shell:before {
    display: none;
  }

  h1 {
    font-size: 2.75rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-highlights span:last-child {
    grid-column: 1 / -1;
  }

  .hero-image-wrap {
    margin-top: 0.4rem;
  }

  .hero-image {
    aspect-ratio: 1 / 1;
    border-radius: 20px;
  }

  .hero-badge {
    font-size: 0.82rem;
    padding: 0.65rem 0.8rem;
  }


  /* Programs */

  .program-card img {
    aspect-ratio: 1.5 / 1;
  }


  /* Gallery */

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 130px;
    gap: 10px;
  }

  .gallery-wide {
    grid-column: span 2;
  }

  .gallery-item {
    border-radius: 13px;
  }


  /* Contact */

  .contact-card,
  .map-card {
    border-radius: 20px;
  }

  .contact-card {
    padding: 1.15rem;
  }

  .map-card iframe {
    min-height: 320px;
  }

  .map-link {
    font-size: 0.82rem;
    padding: 0.65rem 0.8rem;
  }


  /* Footer */

  .site-footer {
    text-align: center;
  }
}


/* =========================
   Reduced Motion
========================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}