/* ===========================================
   Design Tokens
   =========================================== */
:root {
  --primary: #2d5a3d;
  --primary-light: #3d7a52;
  --primary-rgb: 45, 90, 61;
  --secondary: #c8956c;
  --secondary-rgb: 200, 149, 108;
  --accent: #d4a853;
  --accent-rgb: 212, 168, 83;
  --bg-main: #faf7f2;
  --bg-card: #f2ede6;
  --bg-dark: #1e3a2a;
  --bg-dark-rgb: 30, 58, 42;
  --text-main: #2c2c2c;
  --text-muted: #7a7164;
  --white: #ffffff;
  --border: #e5dfd6;

  --ff-heading: "Playfair Display", "Noto Serif TC", serif;
  --ff-body: "Noto Sans TC", sans-serif;
  --ff-hand: "Kalam", cursive;

  --shadow-soft: 0 8px 32px rgba(var(--primary-rgb), 0.08);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 40px rgba(var(--primary-rgb), 0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: 0.35s ease;

  --nav-height: 80px;
  --container: 1200px;
}

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

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

body {
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-smooth);
}

a:hover {
  color: var(--primary-light);
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================================
   Typography
   =========================================== */
.section-label {
  display: block;
  font-family: var(--ff-heading);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}

.section-label-light {
  color: var(--accent);
}

.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-title-light {
  color: var(--white);
}

.section-subtitle {
  font-family: var(--ff-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
}

.title-accent {
  color: var(--primary);
  font-weight: 400;
  font-style: italic;
}

.title-green {
  color: var(--primary);
}

.title-gold {
  color: var(--accent);
  margin-left: 4px;
}

.handwriting {
  font-family: var(--ff-hand);
}

/* ===========================================
   Scroll Progress Bar
   =========================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 10000;
  transition: width 0.1s linear;
}

/* ===========================================
   Scroll Reveal Animation
   =========================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}
.delay-5 {
  transition-delay: 0.5s;
}
.delay-6 {
  transition-delay: 0.6s;
}

/* ===========================================
   NAVBAR
   =========================================== */
.navbar-main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition:
    background var(--transition-smooth),
    box-shadow var(--transition-smooth);
}

.navbar-main.scrolled {
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
}

.brand-text {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition-smooth);
}

.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-smooth);
}

.scrolled .brand-text {
  color: var(--primary);
}

.scrolled .brand-sub {
  color: var(--text-muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu .nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
  padding: 4px 0;
  position: relative;
  transition: color var(--transition-smooth);
}

.nav-menu .nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-smooth);
}

.nav-menu .nav-link:hover::after,
.nav-menu .nav-link.active::after {
  width: 100%;
}

.scrolled .nav-menu .nav-link {
  color: var(--text-main);
}

.scrolled .nav-menu .nav-link:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: var(--radius-sm);
  transition:
    background var(--transition-smooth),
    transform var(--transition-smooth) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.scrolled .nav-cta {
  color: var(--white) !important;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition:
    transform var(--transition-smooth),
    opacity var(--transition-smooth);
}

.scrolled .menu-toggle span {
  background: var(--text-main);
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================================
   HERO
   =========================================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Video Background */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero CTA Button */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 14px 36px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.08);
  transition:
    transform var(--transition-smooth),
    background var(--transition-smooth),
    border-color var(--transition-smooth);
  opacity: 0;
  animation: heroFadeUp 0.8s ease-out 1.1s forwards;
}

.hero-cta:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.04);
  color: var(--white);
}

.hero-cta i {
  transition: transform var(--transition-smooth);
}

.hero-cta:hover i {
  transform: translateX(4px);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(var(--bg-dark-rgb), 0.4) 0%,
    rgba(var(--bg-dark-rgb), 0.55) 50%,
    rgba(var(--bg-dark-rgb), 0.7) 100%
  );
  z-index: 2;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}

.hero-label {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s ease-out 0.3s forwards;
}

.hero-title {
  font-family: var(--ff-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s ease-out 0.6s forwards;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s ease-out 0.9s forwards;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0;
  animation: scrollIndicatorIn 0.8s ease-out 1.2s forwards;
}

@keyframes scrollIndicatorIn {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.scroll-indicator-text {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-indicator-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-indicator-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    top: -100%;
  }
  50% {
    top: 100%;
  }
  100% {
    top: 100%;
  }
}

/* ===========================================
   Wave Dividers
   =========================================== */
.wave-divider {
  width: 100%;
  line-height: 0;
  margin-top: -1px;
}

.wave-divider svg {
  width: 100%;
  height: 60px;
  display: block;
}

.wave-divider-flip {
  margin-top: 0;
}

.wave-divider-dark {
  background: var(--bg-dark);
}

/* ===========================================
   ABOUT SECTION
   =========================================== */
.section-about {
  background: var(--bg-main);
  padding: 120px 0 100px;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 100px;
}

.about-quote {
  font-size: 1.3rem;
  color: var(--secondary);
  margin: 24px 0;
  line-height: 1.6;
}

.about-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.9;
}

.about-intro-visual {
  position: relative;
}

.about-img-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.about-img-frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-img-accent {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  background: var(--accent);
  opacity: 0.15;
  z-index: -1;
}

/* Culture / Class Grid */
.culture-header {
  text-align: center;
  margin-bottom: 48px;
}

.culture-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.class-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.class-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition:
    box-shadow var(--transition-smooth),
    transform var(--transition-smooth);
}

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

.class-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  background: var(--primary);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

.class-card-title {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.class-card-en {
  display: block;
  font-family: var(--ff-heading);
  font-size: 0.8rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 2px;
}

.class-card-classes {
  font-size: 0.88rem;
  color: var(--secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.class-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===========================================
   ENVIRONMENT SECTION
   =========================================== */
.section-environment {
  background: var(--bg-card);
  padding: 100px 0 120px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 200px 180px 180px 200px;
  gap: 16px;
  grid-template-areas:
    "feat feat sm1  sm2"
    "feat feat qa   qa"
    "sm3  sm4  qa   qa"
    "sm5  sm5  stat stat";
}

.bento-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-main);
}

.bento-featured {
  grid-area: feat;
}
.bento-card:nth-child(2) {
  grid-area: sm1;
}
.bento-card:nth-child(3) {
  grid-area: sm2;
}
.bento-qa {
  grid-area: qa;
}
.bento-card:nth-child(5) {
  grid-area: sm3;
}
.bento-card:nth-child(6) {
  grid-area: sm4;
}
.bento-card:nth-child(7) {
  grid-area: sm5;
}
.bento-stat {
  grid-area: stat;
}

.bento-card a {
  display: block;
  height: 100%;
  position: relative;
}

.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bento-card a:hover img {
  transform: scale(1.05);
}

.bento-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    transparent 100%
  );
  z-index: 2;
}

.bento-tag {
  font-family: var(--ff-heading);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.bento-overlay-title {
  font-family: var(--ff-heading);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.bento-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  z-index: 2;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bento-card a:hover .bento-label {
  transform: translateY(0);
}

.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  pointer-events: none;
  z-index: 3;
}

.bento-qa {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
}

.bento-qa::after {
  display: none;
}

.bento-qa-inner {
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bento-qa-badge {
  display: inline-block;
  font-family: var(--ff-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.bento-qa .accordion {
  flex: 1;
}

.bento-qa .accordion-item {
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.bento-qa .accordion-header {
  padding: 14px 16px;
  font-size: 0.9rem;
  gap: 12px;
}

.bento-qa .accordion-icon {
  width: 28px;
  height: 28px;
  font-size: 0.65rem;
}

.bento-qa .accordion-body-inner {
  padding: 0 16px 14px 56px;
  font-size: 0.88rem;
  line-height: 1.7;
}

.bento-stat {
  background: linear-gradient(145deg, var(--bg-dark) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/environment/24HR全天候新鮮空氣循環.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bento-stat::after {
  box-shadow: none;
}

.bento-stat-inner {
  text-align: center;
  padding: 24px;
}

.bento-stat-number {
  display: block;
  font-family: var(--ff-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.bento-stat-number small {
  font-size: 0.45em;
  font-weight: 400;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

.bento-stat-text {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4px;
}

.bento-stat-sub {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

/* Accordion */

.accordion-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  transition: background var(--transition-smooth);
}

.accordion-header:hover {
  background: rgba(var(--primary-rgb), 0.03);
}

.accordion-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

.accordion-question {
  flex: 1;
}

.accordion-arrow {
  flex-shrink: 0;
  transition: transform var(--transition-smooth);
  color: var(--text-muted);
}

.accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}

.accordion-item.active .accordion-body {
  visibility: visible;
}

.accordion-body-inner {
  padding: 0 24px 20px 76px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ===========================================
   COURSES SECTION
   =========================================== */
.section-courses {
  background: var(--bg-main);
  padding: 120px 0 100px;
}

.courses-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}

.courses-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* Tabs */
.tab-nav {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border);
}

.tab-link {
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  transition: color var(--transition-smooth);
}

.tab-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
}

.tab-link.active {
  color: var(--primary);
}

.tab-link.active::after {
  transform: scaleX(1);
}

.tab-link:hover {
  color: var(--primary);
}

.tab-pane {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.tab-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.tab-pane-inner {
  padding: 24px 0;
}

.tab-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  border-radius: 50%;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.tab-pane-inner h4 {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.tab-pane-inner p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.98rem;
}

/* Courses Visual */
.courses-img-group {
  position: relative;
}

.courses-img-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.courses-img-main img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.courses-img-float {
  position: absolute;
  bottom: -24px;
  right: -16px;
  width: 55%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 4px solid var(--white);
}

.courses-img-float img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

/* ===========================================
   FEATURES SECTION (Dark)
   =========================================== */
.section-features {
  background: var(--bg-dark);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.features-grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.section-features .container {
  position: relative;
  z-index: 1;
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.feature-img {
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-img img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.feature-block:hover .feature-img img {
  transform: scale(1.04);
}

.feature-num {
  font-family: var(--ff-heading);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(var(--accent-rgb), 0.2);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.feature-text h3 {
  font-family: var(--ff-heading);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 8px;
}

.feature-tagline {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.feature-text p:last-child {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ===========================================
   FOOD SECTION
   =========================================== */
.section-food {
  background: var(--bg-card);
  padding: 100px 0 120px;
}

.food-layout {
  text-align: center;
}

.food-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 8px;
  margin-bottom: 48px;
}

.food-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.food-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition:
    box-shadow var(--transition-smooth),
    transform var(--transition-smooth);
}

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

.food-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  border-radius: 50%;
  font-size: 1.4rem;
}

.food-card-title {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.food-card-content {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

.food-card-standard {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.food-visual {
  max-width: 700px;
  margin: 0 auto;
}

.food-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* ===========================================
   CONTACT SECTION
   =========================================== */
.section-contact {
  background: var(--bg-main);
  padding: 80px 0 60px;
  overflow: hidden;
}

.contact-quick {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 32px;
  margin-bottom: 40px;
}

.contact-quick-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition:
    border-color var(--transition-smooth),
    box-shadow var(--transition-smooth);
  overflow: hidden;
}

a.contact-quick-item:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 12px rgba(var(--primary-rgb), 0.08);
}

.contact-quick-item > i {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  border-radius: 50%;
  font-size: 1rem;
}

.contact-quick-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}

.contact-quick-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  word-break: break-all;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-form-header {
  padding: 24px 20px 0;
}

.contact-form-title {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.contact-form-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-form {
  padding: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
}

.required {
  color: #c44;
}

.form-group input,
.form-group select {
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text-main);
  background: var(--bg-main);
  transition:
    border-color var(--transition-smooth),
    box-shadow var(--transition-smooth);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input[type="date"] {
  min-height: 46px;
  line-height: 1.4;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1.4 0L6 4.6 10.6 0 12 1.4l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.form-group input.error {
  border-color: #c44;
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--primary);
  color: var(--white);
  padding: 14px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background var(--transition-smooth),
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth);
  margin-top: 8px;
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.2);
}

.btn-primary i {
  transition: transform var(--transition-smooth);
}

.btn-primary:hover i {
  transform: translateX(4px);
}

.form-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.form-note a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-success {
  text-align: center;
  padding: 48px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.form-success i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.form-success p {
  font-size: 1.1rem;
  color: var(--text-main);
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 240px;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
}

.contact-social-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
}

.contact-social-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  font-size: 0.95rem;
  transition:
    background var(--transition-smooth),
    color var(--transition-smooth),
    transform var(--transition-smooth);
}

.social-links a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===========================================
   FOOTER
   =========================================== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links h5,
.footer-contact h5 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact i {
  color: var(--accent);
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  transition:
    border-color var(--transition-smooth),
    color var(--transition-smooth),
    background var(--transition-smooth);
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ===========================================
   Back to Top
   =========================================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.1rem;
  box-shadow: var(--shadow-soft);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity var(--transition-smooth),
    visibility var(--transition-smooth),
    transform var(--transition-smooth),
    background var(--transition-smooth);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
}

/* ===========================================
   RESPONSIVE - Tablet (768px+)
   =========================================== */
@media (min-width: 768px) {
  .about-intro {
    grid-template-columns: 55fr 45fr;
    gap: 56px;
    align-items: center;
  }

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

  .contact-quick {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
  }

  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
  }

  .contact-form-header {
    padding: 32px 32px 0;
  }

  .contact-form {
    padding: 24px 32px 32px;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .btn-primary {
    width: auto;
    display: inline-flex;
  }

  .form-note {
    text-align: left;
  }

  .contact-map {
    flex: 1;
    min-height: 0;
  }

  .contact-map iframe {
    height: 100%;
  }

  .food-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "feat feat"
      "sm1  sm2"
      "qa   qa"
      "sm3  sm4"
      "sm5  stat";
  }

  .bento-featured {
    min-height: 320px;
  }

  .bento-sm {
    min-height: 200px;
  }

  .bento-label {
    transform: translateY(0);
  }

  .feature-block {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .feature-block-reverse .feature-img {
    order: 2;
  }

  .feature-block-reverse .feature-text {
    order: 1;
  }

  .footer-main {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* ===========================================
   RESPONSIVE - Desktop (992px+)
   =========================================== */
@media (min-width: 992px) {
  .nav-menu {
    display: flex;
  }

  .courses-layout {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
  }

  .about-intro {
    gap: 72px;
  }

  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 200px 180px 180px 200px;
    grid-template-areas:
      "feat feat sm1  sm2"
      "feat feat qa   qa"
      "sm3  sm4  qa   qa"
      "sm5  sm5  stat stat";
  }

  .bento-featured {
    min-height: auto;
  }

  .bento-sm {
    min-height: auto;
  }
}

/* ===========================================
   RESPONSIVE - Large (1200px+)
   =========================================== */
@media (min-width: 1200px) {
  .class-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===========================================
   RESPONSIVE - Mobile (<768px)
   =========================================== */
@media (max-width: 767px) {
  :root {
    --nav-height: 64px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 0;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    transition: right var(--transition-smooth);
    z-index: 999;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu .nav-link {
    color: var(--text-main);
    font-size: 1.05rem;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav-menu .nav-link:hover {
    color: var(--primary);
  }

  .nav-cta {
    margin-top: 16px;
    text-align: center;
    width: 100%;
    display: block;
    border-bottom: none !important;
  }

  .section-about {
    padding: 80px 0 60px;
  }

  .section-environment {
    padding: 60px 0 80px;
  }

  .section-courses {
    padding: 80px 0 60px;
  }

  .section-features {
    padding: 80px 0 60px;
  }

  .section-food {
    padding: 60px 0 80px;
  }

  .about-intro {
    margin-bottom: 64px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "feat"
      "sm1"
      "sm2"
      "qa"
      "sm3"
      "sm4"
      "sm5"
      "stat";
  }

  .bento-featured {
    min-height: 260px;
  }

  .bento-sm {
    min-height: 180px;
  }

  .bento-stat {
    min-height: 160px;
  }

  .courses-img-float {
    position: relative;
    bottom: auto;
    right: auto;
    width: 100%;
    margin-top: 16px;
    border: none;
  }

  .hero-section {
    min-height: 500px;
  }

  .wave-divider svg {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .bento-featured {
    min-height: 220px;
  }

  .bento-sm {
    min-height: 160px;
  }

  .bento-overlay {
    padding: 20px;
  }
}

/* ===========================================
   Beautification: Decorative Elements
   =========================================== */

@keyframes gentleFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(2deg);
  }
}

@keyframes gentlePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.15;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.22;
  }
}

.section-label {
  position: relative;
  padding-left: 52px;
}

.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--secondary);
}

.section-label-light::before {
  background: var(--accent);
}

.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin-top: 12px;
  border-radius: 2px;
  background: url("data:image/svg+xml,%3Csvg width='60' height='3' viewBox='0 0 60 3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 1.5 Q15 0 30 1.5 Q45 3 60 1.5' stroke='%23D4A853' stroke-width='2' fill='none'/%3E%3C/svg%3E")
    no-repeat center;
  background-size: contain;
}

.section-header .section-title::after,
.food-header .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

.section-title-light::after {
  background: url("data:image/svg+xml,%3Csvg width='60' height='3' viewBox='0 0 60 3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 1.5 Q15 0 30 1.5 Q45 3 60 1.5' stroke='%23D4A853' stroke-width='2' fill='none'/%3E%3C/svg%3E")
    no-repeat center;
  background-size: contain;
}

.hero-subtitle {
  position: relative;
  padding-top: 24px;
}

.hero-subtitle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.class-card {
  border-left: 4px solid transparent;
}

.class-card:hover {
  border-left-color: var(--primary);
  transform: translateY(-4px) scale(1.02);
}

.food-card {
  position: relative;
}

.food-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.food-card:hover::before {
  opacity: 1;
}

.food-card:hover {
  transform: translateY(-4px) scale(1.02);
}

.feature-block:hover {
  transform: scale(1.01);
  transition: transform 0.4s ease;
}

.section-features {
  background: linear-gradient(
    175deg,
    var(--bg-dark) 0%,
    #162b1f 50%,
    #1e3a2a 100%
  );
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
}

.btn-primary:hover {
  background: linear-gradient(
    135deg,
    var(--primary-light) 0%,
    var(--primary) 100%
  );
}

.site-footer {
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.section-about {
  position: relative;
  overflow: hidden;
}

.section-about::before,
.section-about::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  pointer-events: none;
  animation: gentleFloat 8s ease-in-out infinite;
}

.section-about::before {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: -80px;
  right: -100px;
}

.section-about::after {
  width: 200px;
  height: 200px;
  background: var(--accent);
  bottom: 60px;
  left: -60px;
  animation-delay: 3s;
}

.section-food {
  position: relative;
  overflow: hidden;
}

.section-food::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.04;
  top: 40px;
  left: -80px;
  pointer-events: none;
  animation: gentleFloat 10s ease-in-out infinite;
}

.section-contact {
  position: relative;
  overflow: hidden;
}

.section-contact::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.05;
  bottom: -100px;
  right: -80px;
  pointer-events: none;
  animation: gentleFloat 9s ease-in-out infinite 2s;
}

.about-quote {
  position: relative;
  padding: 0 32px;
}

.about-quote::before {
  content: "\201C";
  position: absolute;
  left: -4px;
  top: -16px;
  font-family: var(--ff-heading);
  font-size: 4rem;
  color: var(--secondary);
  opacity: 0.2;
  line-height: 1;
}

.about-quote::after {
  content: "\201D";
  position: absolute;
  right: 4px;
  bottom: -32px;
  font-family: var(--ff-heading);
  font-size: 4rem;
  color: var(--secondary);
  opacity: 0.2;
  line-height: 1;
}

.about-img-accent {
  animation: gentlePulse 4s ease-in-out infinite;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.08);
}

.scroll-progress {
  height: 4px;
  box-shadow:
    0 0 8px rgba(var(--primary-rgb), 0.4),
    0 0 16px rgba(var(--accent-rgb), 0.2);
}

.section-courses {
  position: relative;
}

.section-courses::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--border) 0,
    var(--border) 4px,
    transparent 4px,
    transparent 12px
  );
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.section-header .section-label,
.food-header .section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 0;
}

.section-header .section-label::before,
.food-header .section-label::before {
  position: relative;
  left: auto;
  top: auto;
  width: 40px;
  height: 1px;
  margin-right: 12px;
  flex-shrink: 0;
}

.section-header .section-label::after,
.food-header .section-label::after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--secondary);
  margin-left: 12px;
  flex-shrink: 0;
}

.section-header .section-label-light::after {
  background: var(--accent);
}

/* Container z-index above floating decorations */
.section-about .container,
.section-food .container,
.section-contact .container {
  position: relative;
  z-index: 1;
}

/* Courses section floating decorations */
.section-courses {
  position: relative;
  overflow: hidden;
}

.section-courses::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--secondary);
  opacity: 0.04;
  top: 5%;
  right: -60px;
  pointer-events: none;
  animation: gentleFloat 9s ease-in-out infinite;
}

.section-courses .container {
  position: relative;
  z-index: 1;
}

/* Feature img vignette */
.feature-img {
  position: relative;
}

.feature-img::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  pointer-events: none;
}

/* Mobile menu overlay */
.nav-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 998;
}

.nav-menu-overlay.active {
  display: block;
}

/* Body scroll lock */
body.menu-open {
  overflow: hidden;
}
