/* ═══════════════════════════════════════════════
   楓橋美語 Maple Bridge Language School
   style.css — 主樣式檔
   ═══════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   CSS 變數 & Reset
───────────────────────────────────────── */
:root {
  --primary:    #CC1616;
  --primary-dk: #A81010;
  --secondary:  #1A9BD7;
  --accent:     #FFD84D;
  --dark:       #2D2D2D;
  --text:       #444444;
  --light:      #F7F8FA;
  --white:      #FFFFFF;
  --radius:     12px;
  --shadow:     0 4px 20px rgba(0,0,0,.10);
  --transition: .3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─────────────────────────────────────────
   工具類
───────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title .en {
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: .4rem;
}
.section-title h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
}
.section-title p {
  margin-top: .8rem;
  color: #777;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(204,22,22,.35);
}
.btn-primary:hover {
  background: var(--primary-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(204,22,22,.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────
   NAVBAR
───────────────────────────────────────── */
#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: background var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .7rem;
}
.nav-logo img {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 6px;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-text .zh {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
}
.nav-logo-text .en {
  font-family: 'Poppins', sans-serif;
  font-size: .65rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: .03em;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .92rem;
  font-weight: 600;
  color: var(--dark);
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  padding: .55rem 1.4rem;
  font-size: .88rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-top: 1px solid #eee;
  padding: .5rem 1.5rem 1rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: .75rem 0;
  font-weight: 600;
  border-bottom: 1px solid #f0f0f0;
  color: var(--dark);
}
.mobile-menu a:last-child { border: none; }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: linear-gradient(160deg, #29AEED 0%, #0f86c5 45%, #0a5f92 100%);
}

/* Decorative sky shapes */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 500px 160px at 10% 18%,  rgba(255,255,255,.13) 0%, transparent 70%),
    radial-gradient(ellipse 260px 100px at 72% 12%,  rgba(255,255,255,.10) 0%, transparent 70%),
    radial-gradient(ellipse 350px 120px at 88% 60%,  rgba(255,255,255,.07) 0%, transparent 70%),
    radial-gradient(circle   200px     at 50% 100%,  rgba(255,255,255,.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Bottom wave decoration */
#hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(60% 100% at 50% 100%);
  opacity: .06;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
  gap: 2rem;
}

.hero-text .badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.18);
  color: var(--white);
  padding: .38rem 1.1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25);
  letter-spacing: .02em;
}

.hero-text h1 {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: .5rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.18);
}
.hero-text h1 .highlight {
  color: var(--accent);
  text-shadow: 0 2px 20px rgba(255,216,77,.3);
}

.hero-text .subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 1.2rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-text p {
  color: rgba(255,255,255,.82);
  font-size: .97rem;
  line-height: 1.8;
  margin-bottom: 2.2rem;
  max-width: 420px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-banner-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
  animation: floatImg 5s ease-in-out infinite;
}

@keyframes floatImg {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-16px); }
}

/* Glass card frame */
.hero-banner-frame {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 28px;
  padding: 14px;
  box-shadow:
    0 32px 80px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.4);
}

.hero-banner-frame img {
  width: 100%;
  border-radius: 18px;
  display: block;
}

/* Floating tag */
.hero-banner-tag {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  padding: .38rem 1.2rem;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(204,22,22,.4);
  letter-spacing: .04em;
}

/* Stats bar */
.hero-stats {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stats-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 2rem;
}
.stat-item {
  text-align: center;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: .8rem;
}
.stat-item .num {
  font-family: 'Poppins', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}
.stat-item .label {
  font-size: .82rem;
  opacity: .82;
  text-align: left;
  line-height: 1.3;
}
.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.2);
}

/* ─────────────────────────────────────────
   ABOUT
───────────────────────────────────────── */
#about {
  padding: 5rem 0;
  background: var(--white);
}

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

.about-img-wrap {
  position: relative;
}

.about-card-visual {
  background: linear-gradient(135deg, #CC1616 0%, #E84040 100%);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.about-card-visual::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}
.about-card-visual::after {
  content: '';
  position: absolute;
  bottom: -30px; left: -30px;
  width: 120px; height: 120px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}
.about-card-visual .tagline-zh {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: .4rem;
}
.about-card-visual .tagline-en {
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  opacity: .85;
}

.about-floating-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  display: flex;
  align-items: center;
  gap: .8rem;
}
.about-floating-badge .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
}
.about-floating-badge .info strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
}
.about-floating-badge .info span {
  font-size: .75rem;
  color: #888;
}

.about-text h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 1rem;
}
.about-text p {
  color: var(--text);
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.about-features {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-item h4 {
  font-size: .97rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .2rem;
}
.feature-item p {
  font-size: .88rem;
  margin: 0;
  color: #666;
}

/* ─────────────────────────────────────────
   COURSES
───────────────────────────────────────── */
#courses {
  padding: 5rem 0;
  background: var(--light);
}

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

.course-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.14);
}

.course-header {
  padding: 1.6rem 1.6rem 1rem;
  position: relative;
}

.course-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: .9rem;
  color: var(--white);
}

.course-card:nth-child(1) .course-icon-wrap { background: #CC1616; }
.course-card:nth-child(2) .course-icon-wrap { background: #1A9BD7; }
.course-card:nth-child(3) .course-icon-wrap { background: #F97316; }
.course-card:nth-child(4) .course-icon-wrap { background: #8B5CF6; }
.course-card:nth-child(5) .course-icon-wrap { background: #10B981; }
.course-card:nth-child(6) .course-icon-wrap { background: #E11D48; }

.course-header h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: .3rem;
}
.course-header .level-tag {
  font-size: .72rem;
  font-weight: 600;
  padding: .2rem .7rem;
  border-radius: 50px;
  display: inline-block;
}

.course-body {
  padding: 0 1.6rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-body p {
  font-size: .88rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 1rem;
  flex: 1;
}

.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.course-tag {
  font-size: .72rem;
  padding: .25rem .7rem;
  border-radius: 50px;
  font-weight: 600;
}

.course-card:nth-child(1) .level-tag { background: #fff0f0; color: #CC1616; }
.course-card:nth-child(1) .course-tag { background: #fff0f0; color: #CC1616; }
.course-card:nth-child(2) .level-tag { background: #e8f4fd; color: #1A9BD7; }
.course-card:nth-child(2) .course-tag { background: #e8f4fd; color: #1A9BD7; }
.course-card:nth-child(3) .level-tag { background: #fff4e8; color: #F97316; }
.course-card:nth-child(3) .course-tag { background: #fff4e8; color: #F97316; }
.course-card:nth-child(4) .level-tag { background: #f3f0ff; color: #8B5CF6; }
.course-card:nth-child(4) .course-tag { background: #f3f0ff; color: #8B5CF6; }
.course-card:nth-child(5) .level-tag { background: #e6f9f2; color: #10B981; }
.course-card:nth-child(5) .course-tag { background: #e6f9f2; color: #10B981; }
.course-card:nth-child(6) .level-tag { background: #fff0f4; color: #E11D48; }
.course-card:nth-child(6) .course-tag { background: #fff0f4; color: #E11D48; }

/* ─────────────────────────────────────────
   STUDY ABROAD
───────────────────────────────────────── */
#abroad {
  padding: 5rem 0;
  background: var(--white);
}

.abroad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-bottom: 3rem;
}

.country-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
  position: relative;
}
.country-card:hover { transform: translateY(-5px); }

.country-banner {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}
.country-card:nth-child(1) .country-banner { background: linear-gradient(135deg, #CC1616, #e84040); }
.country-card:nth-child(2) .country-banner { background: linear-gradient(135deg, #003087, #CF142B); }
.country-card:nth-child(3) .country-banner { background: linear-gradient(135deg, #00843D, #FFCD00); }

.country-body {
  padding: 1.3rem 1.4rem;
}
.country-body h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: .3rem;
}
.country-body p {
  font-size: .85rem;
  color: #666;
  line-height: 1.6;
}

.abroad-cta {
  background: linear-gradient(135deg, #1A9BD7 0%, #0d6fa8 100%);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--white);
}
.abroad-cta h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: .3rem;
}
.abroad-cta p {
  opacity: .85;
  font-size: .9rem;
}
.btn-white {
  background: var(--white);
  color: var(--secondary);
  font-weight: 700;
  padding: .7rem 1.6rem;
  border-radius: 50px;
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
}

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
#contact {
  padding: 5rem 0;
  background: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.contact-card-header .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-card-header h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
}
.contact-card-header span {
  font-size: .78rem;
  color: #888;
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .9rem;
}
.contact-info-row i {
  color: var(--primary);
  width: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}
.contact-info-row span { color: var(--text); }

.contact-map {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e8f4fd, #cce8f7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: .85rem;
  border: 1px solid #dce8f0;
  overflow: hidden;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-phone-big {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 1.6rem;
  color: var(--white);
  text-align: center;
}
.contact-phone-big .label {
  font-size: .82rem;
  opacity: .85;
  margin-bottom: .3rem;
}
.contact-phone-big .number {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: .05em;
}
.contact-phone-big a { color: var(--white); }
.contact-phone-big .hint {
  font-size: .78rem;
  opacity: .7;
  margin-top: .3rem;
}

.contact-hours {
  background: #fff8f8;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--primary);
}
.contact-hours h4 {
  font-size: .88rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .5rem;
}
.contact-hours p {
  font-size: .83rem;
  color: #666;
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo-wrap {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
}
.footer-brand .logo-wrap img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  flex-shrink: 0;
}
.footer-brand .logo-wrap span {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}
.footer-brand p {
  font-size: .85rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a {
  font-size: .85rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom p { font-size: .8rem; }
.footer-bottom .maple-heart { color: var(--primary); }

/* ─────────────────────────────────────────
   Scroll-to-top
───────────────────────────────────────── */
#scrollTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: 0 4px 14px rgba(204,22,22,.4);
  z-index: 900;
}
#scrollTop.visible {
  opacity: 1;
  pointer-events: auto;
}
#scrollTop:hover { transform: translateY(-3px); }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 992px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-content { grid-template-columns: 1fr 1fr; padding: 3.5rem 1.5rem 2.5rem; }
  .hero-banner-wrap { max-width: 340px; }
  .hero-text h1 { font-size: 2.2rem; }
  .stat-divider { display: none; }
  .hero-visual { display: flex; }

  .about-grid { grid-template-columns: 1fr; }
  .about-floating-badge { right: 0; }

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

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

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

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 576px) {
  .courses-grid { grid-template-columns: 1fr; }
  .hero-stats-inner { justify-content: space-evenly; gap: 1rem; }
  .stat-item { flex-direction: column; gap: .2rem; }
  .stat-item .label { text-align: center; }
  .stat-item .num { font-size: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .abroad-cta { text-align: center; justify-content: center; }
  .hero-visual { display: none; }
  .hero-content { grid-template-columns: 1fr; text-align: center; padding-bottom: 3rem; }
  .hero-buttons { justify-content: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .stat-divider { display: none; }
}
