:root {
  --bg-main: #eef0f2;
  --bg-soft: #f8f9fb;
  --text-main: #12223f;
  --brand-blue: #1045a5;
  --brand-gold: #e7a90a;
  --brand-green: #159245;
  --brand-red: #a11423;
  --line: #d7dce3;
  --shadow: 0 12px 28px rgba(18, 34, 63, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 5% 15%, rgba(16, 69, 165, 0.06), transparent 34%),
    radial-gradient(circle at 95% 5%, rgba(161, 20, 35, 0.09), transparent 35%),
    var(--bg-main);
  line-height: 1.6;
}

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

a {
  color: var(--brand-blue);
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 4.2rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(238, 240, 242, 0.9);
  border-bottom: 1px solid rgba(18, 34, 63, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.7rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: 210px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-red);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.4rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  margin: 5px 0;
}

.hero {
  padding-top: 5.6rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.25fr 0.9fr;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brand-red);
  margin: 0 0 0.5rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  line-height: 1.2;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
}

h1 {
  font-size: clamp(2rem, 4.8vw, 3.15rem);
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.45rem);
}

.hero-copy p {
  font-size: 1.05rem;
  max-width: 60ch;
}

.hero-card,
.hero-media-note {
  background: linear-gradient(170deg, #ffffff, #f2f5fa 75%);
  border: 1px solid var(--line);
  border-top: 6px solid var(--brand-red);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.hero-card ul,
.hero-media-note ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
}

.hero-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.hero-media-note {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  backdrop-filter: blur(7px);
  background: rgba(248, 249, 251, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-weight: 700;
  font-size: 0.96rem;
  padding: 0.76rem 1.3rem;
  box-shadow: 0 8px 18px rgba(161, 20, 35, 0.25);
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-small {
  padding: 0.58rem 1rem;
}

.btn-ghost {
  background: transparent;
  color: var(--brand-red);
  border: 2px solid var(--brand-red);
  box-shadow: none;
}

.section-head {
  text-align: center;
  max-width: 68ch;
  margin: 0 auto 2rem;
}

.cards-3,
.tuition-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-strip {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0));
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 1fr 1fr;
}

.gallery-item {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 240px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.gallery-item-large {
  grid-row: span 2;
  min-height: 500px;
}

.card,
.program-card,
.tuition-card,
.notice,
.contact-form,
.cta-box {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.card,
.program-card,
.tuition-card,
.notice,
.contact-form {
  padding: 1.25rem;
}

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

.time {
  margin-top: 1rem;
  color: #2f3a52;
  font-weight: 600;
}

.tuition {
  background:
    linear-gradient(120deg, rgba(16, 69, 165, 0.08), transparent 40%),
    linear-gradient(260deg, rgba(231, 169, 10, 0.1), transparent 50%);
}

.tuition-card {
  text-align: center;
}

.tuition-card.featured {
  border: 2px solid var(--brand-gold);
  transform: translateY(-3px);
}

.price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-red);
  margin: 0.3rem 0;
}

.price span {
  font-size: 1rem;
  color: #32425e;
}

.previous {
  margin: 0;
  color: #55627a;
}

.fee-strip {
  margin-top: 1rem;
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fee-strip p {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand-green);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.about-grid,
.contact-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.notice {
  border-top: 5px solid var(--brand-gold);
}

.notice ol {
  margin: 0;
  padding-left: 1.2rem;
}

.cta-box {
  padding: 2rem;
  border: 0;
  background:
    linear-gradient(115deg, rgba(16, 69, 165, 0.96), rgba(17, 38, 74, 0.97)),
    linear-gradient(20deg, rgba(161, 20, 35, 0.22), transparent);
  color: #fff;
  text-align: center;
}

.cta-box .btn {
  margin-top: 0.5rem;
  background: #fff;
  color: var(--brand-red);
  box-shadow: none;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  display: grid;
  gap: 0.35rem;
}

input,
textarea {
  font: inherit;
  width: 100%;
  border: 1px solid #c8cfda;
  border-radius: 10px;
  padding: 0.68rem 0.8rem;
  background: #fff;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(16, 69, 165, 0.28);
  border-color: var(--brand-blue);
}

.site-footer {
  border-top: 1px solid rgba(18, 34, 63, 0.1);
  padding: 1.2rem 0;
  background: rgba(255, 255, 255, 0.5);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-wrap p {
  margin: 0;
}

.fine-print {
  color: #4c5971;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .hero-grid,
  .cards-3,
  .tuition-grid,
  .about-grid,
  .contact-grid,
  .fee-strip,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4.8rem;
  }

  .hero-media img,
  .gallery-item,
  .gallery-item img,
  .gallery-item-large {
    min-height: 220px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: rgba(248, 249, 251, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.9rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .site-nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
}
