:root {
  --ink: #172028;
  --ink-light: #46535e;
  --muted: #62707c;
  --paper: #fbfaf6;
  --paper-soft: #f4efe6;
  --white: #ffffff;
  --accent: #1f5c4c;
  --accent-dark: #143d32;
  --accent-light: #e6f0ec;
  --warm: #c99555;
  --warm-light: #fdf8f0;
  --line: #dde3df;
  --dark: #122822;
  --dark-surface: #1a3730;
  --max: 1140px;
  --font-serif: Georgia, "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 12px 32px rgba(26, 54, 45, 0.08);
  --shadow-lg: 0 20px 48px rgba(18, 40, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  color: var(--ink);
  margin-top: 0;
}

.highlight-text {
  color: var(--accent);
}

.section-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-kicker.light {
  color: #b3dbcc;
}

.section-title-wrap {
  margin-bottom: 48px;
}

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

.section-title-wrap h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--ink-light);
  font-size: 16px;
  max-width: 680px;
  margin: 0 auto;
}

/* Buttons */
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(31, 92, 76, 0.25);
}

.button.primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 6px 18px rgba(31, 92, 76, 0.35);
  transform: translateY(-1px);
}

.button.secondary {
  border-color: #bcc8c2;
  background: #ffffff;
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.block-btn {
  width: 100%;
  text-align: center;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  height: 44px;
  width: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.desktop-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-light);
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--accent);
}

.nav-cta {
  color: #ffffff !important;
  background: var(--accent);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(31, 92, 76, 0.2);
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
}

/* Hamburger Menu Button */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.hamburger-btn .bar {
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s ease;
}

.hamburger-btn.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.mobile-drawer.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-link {
  font-size: 16px;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.mobile-cta {
  background: var(--accent);
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 14px;
  border: none;
  margin-top: 8px;
}

/* Hero Section */
.hero {
  padding: 80px 0 70px;
  background: radial-gradient(circle at 90% 10%, #dbeae2 0%, transparent 40%), var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.badge-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.badge-tag {
  font-size: 13px;
  font-weight: 700;
  background: var(--accent-light);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(31, 92, 76, 0.2);
}

.badge-tag.accent-tag {
  background: var(--warm-light);
  color: #8c6027;
  border-color: rgba(201, 149, 85, 0.3);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.25;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.hero .lead {
  font-size: 18px;
  color: var(--ink-light);
  margin-bottom: 30px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-light);
}

/* Hero Card */
.hero-card {
  background: var(--white);
  padding: 36px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.06);
}

.hero-card-header h2 {
  font-size: 26px;
  font-family: var(--font-serif);
  margin-bottom: 12px;
}

.hero-card .price {
  font-size: 15px;
  margin-bottom: 12px;
}

.hero-card .price strong {
  font-size: 40px;
  color: var(--accent);
  line-height: 1;
}

.hero-card-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-card-features {
  background: var(--paper);
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
}

.tag-free, .tag-trial {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.tag-free {
  background: var(--accent);
  color: #fff;
}

.tag-trial {
  background: var(--warm);
  color: #fff;
}

/* Sections */
.section {
  padding: 90px 0;
}

.section.soft {
  background: var(--paper-soft);
}

/* Target & Recommendations Grid */
.target-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.target-card {
  background: var(--white);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.target-card.featured-target {
  border: 2px solid var(--warm);
  background: #ffffff;
  position: relative;
}

.target-icon {
  margin-bottom: 16px;
}

.target-badge {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: 6px;
  align-self: flex-start;
  margin-bottom: 12px;
}

.accent-badge {
  color: #704715;
  background: #fcf1e3;
}

.target-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.target-card p {
  font-size: 14px;
  color: var(--ink-light);
  margin-bottom: 20px;
}

.target-list {
  margin: auto 0 0;
  padding-left: 0;
  list-style: none;
}

.target-list li {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 0 6px 20px;
  position: relative;
}

.target-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.feature-number {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 800;
  color: var(--warm);
  line-height: 1;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 19px;
  margin-bottom: 14px;
  line-height: 1.4;
}

.feature-card p {
  color: var(--ink-light);
  font-size: 15px;
  margin: 0;
}

/* Dark Teacher Section */
.dark-section {
  background: var(--dark);
  color: #ffffff;
}

.dark-section h2, .dark-section h3, .dark-section h4 {
  color: #ffffff;
}

.teacher-section-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.teacher-image-card {
  position: relative;
}

.teacher-img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}

.photo-caption {
  font-size: 13px;
  color: #b3dbcc;
  text-align: center;
  margin-top: 10px;
}

.teacher-badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.badge-item {
  font-size: 12px;
  font-weight: 700;
  background: rgba(255,255,255,0.12);
  color: #dbe7e2;
  padding: 4px 12px;
  border-radius: 999px;
}

.badge-item.gold {
  background: var(--warm);
  color: #ffffff;
}

.teacher-name-group {
  margin-bottom: 20px;
}

.teacher-name {
  font-size: 32px;
  font-family: var(--font-serif);
  margin-bottom: 6px;
}

.teacher-name .ruby {
  font-size: 16px;
  font-weight: normal;
  color: var(--warm);
}

.teacher-title-tag {
  color: #b3dbcc;
  font-weight: 700;
  font-size: 15px;
  margin: 0;
}

.teacher-message {
  font-size: 15.5px;
  line-height: 1.85;
  color: #e2efe9;
  margin-bottom: 28px;
  border-left: 3px solid var(--warm);
  padding-left: 18px;
  background: rgba(255,255,255,0.03);
  padding-top: 12px;
  padding-bottom: 12px;
  border-radius: 0 10px 10px 0;
}

.teacher-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.teacher-credentials-box,
.teacher-hobby-box {
  background: var(--dark-surface);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 24px;
}

.box-title {
  font-size: 15px;
  margin-bottom: 14px;
  color: var(--warm);
  letter-spacing: 0.05em;
}

.credentials-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.credentials-list li {
  font-size: 14px;
  color: #dbe7e2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.credentials-list .dot {
  width: 6px;
  height: 6px;
  background: var(--warm);
  border-radius: 50%;
  flex-shrink: 0;
}

.hobby-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hobby-tag {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
}

.motto-box {
  background: rgba(201, 149, 85, 0.12);
  border-radius: 10px;
  padding: 12px 16px;
  border: 1px dashed rgba(201, 149, 85, 0.4);
}

.motto-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--warm);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.motto-text {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  font-style: italic;
}

/* Course Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.course-card {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.course-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.course-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 10px;
  display: grid;
  place-content: center;
  font-weight: 800;
  font-size: 18px;
}

.course-card h3 {
  font-size: 20px;
  margin: 0;
}

.course-target {
  font-size: 13px;
  font-weight: 700;
  color: var(--warm);
  margin-bottom: 12px;
}

.course-desc {
  font-size: 14px;
  color: var(--ink-light);
  margin: 0;
}

.course-notice {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: var(--muted);
}

/* Pricing Section */
.pricing-container {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.9fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 40px;
}

.pricing-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.pricing-box.main-box {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
  transform: scale(1.04);
}

.pricing-badge {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  background: var(--paper-soft);
  padding: 4px 12px;
  border-radius: 999px;
  align-self: flex-start;
  margin-bottom: 14px;
}

.gold-badge {
  background: var(--accent);
  color: #fff;
}

.pricing-box h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  margin-bottom: 8px;
}

.price-val {
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.price-unit {
  font-size: 18px;
  font-weight: 700;
  margin-left: 4px;
}

.price-span {
  font-size: 14px;
  color: var(--muted);
  margin-left: 8px;
}

.pricing-subtext {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-list li {
  font-size: 14px;
  color: var(--ink-light);
  padding-left: 20px;
  position: relative;
}

.pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

/* Conditions Summary Card */
.conditions-summary-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}

.conditions-summary-card h3 {
  font-size: 18px;
  margin-bottom: 18px;
  color: var(--accent);
  border-bottom: 2px solid var(--accent-light);
  padding-bottom: 8px;
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cond-item strong {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}

.cond-item p {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

/* Environment Section */
.environment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.env-lead {
  font-size: 16.5px;
  color: var(--ink-light);
  margin-bottom: 24px;
}

.env-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.env-list li {
  font-size: 14.5px;
  color: var(--ink-light);
  position: relative;
  padding-left: 24px;
}

.env-list li::before {
  content: "■";
  position: absolute;
  left: 0;
  color: var(--warm);
  font-size: 12px;
  top: 2px;
}

.env-img {
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  width: 100%;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-item {
  background: var(--white);
  padding: 28px 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  position: relative;
}

.step-number {
  font-size: 12px;
  font-weight: 800;
  color: var(--warm);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.step-item h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 13.5px;
  color: var(--ink-light);
  margin: 0;
}

/* Access & Map Section */
.access-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.school-name {
  font-size: 24px;
  font-family: var(--font-serif);
  margin-bottom: 8px;
}

.address-text {
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-light);
  margin-bottom: 24px;
}

.station-list {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 14px;
  margin-bottom: 24px;
}

.station-list h4 {
  font-size: 16px;
  margin-bottom: 14px;
}

.station-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.station-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
}

.station-tag {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.station-tag.nanboku { background: #00ac9b; }
.station-tag.chiyoda { background: #009944; }
.station-tag.mita { background: #0067b8; }

.online-box {
  background: var(--accent-light);
  border: 1px stroke rgba(31,92,76,0.3);
  padding: 20px;
  border-radius: 12px;
}

.online-box h4 {
  color: var(--accent);
  margin-bottom: 6px;
}

.online-box p {
  font-size: 13.5px;
  color: var(--ink-light);
  margin: 0;
}

.map-external-link {
  margin-top: 12px;
  text-align: right;
}

.map-external-link a {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question .icon {
  font-size: 20px;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--ink-light);
  line-height: 1.7;
}

/* Contact Section & Form */
.contact-section {
  background: #f2ece1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact-lead {
  font-size: 16px;
  color: var(--ink-light);
  margin-bottom: 30px;
}

.direct-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 16px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-method strong {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.contact-method a {
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
}

.privacy-note-box {
  font-size: 13px;
  color: var(--muted);
}

.form-wrapper {
  background: var(--white);
  padding: 36px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.form-header {
  margin-bottom: 24px;
}

.form-header h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.form-header p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.form-group label {
  font-size: 14px;
  font-weight: 700;
}

.required {
  color: #d33c3c;
  margin-left: 2px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  border: 1px solid #ced6d1;
  border-radius: 8px;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 92, 76, 0.15);
}

textarea {
  resize: vertical;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.form-button {
  margin-top: 10px;
  padding: 16px;
  font-size: 16px;
}

.form-status {
  margin-top: 14px;
  font-size: 14px;
  text-align: center;
  border-radius: 6px;
  padding: 10px;
}

.form-status.success {
  background: #e6f6ee;
  color: #1b7a4b;
  border: 1px solid #b8ebd0;
}

.form-status.error {
  background: #fde8e8;
  color: #c52a2a;
  border: 1px solid #f7bebe;
}

/* Sticky Bottom Bar for Mobile */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  border-top: 1px solid var(--line);
}

.sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(31, 92, 76, 0.3);
}

/* Footer */
footer {
  background: var(--dark);
  color: #b0c4bc;
  padding: 40px 0 90px;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-info h3 {
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 20px;
  margin-bottom: 8px;
}

.footer-info p {
  font-size: 13.5px;
  margin: 4px 0;
}

.footer-links {
  text-align: right;
}

.footer-links a {
  font-size: 13px;
  color: var(--warm);
  text-decoration: underline;
}

.copyright {
  font-size: 12.5px;
  margin-top: 8px;
  color: #8fa69d;
}

/* Modal Window for Privacy Policy */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 200;
}

.modal.active {
  display: block;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  max-width: 640px;
  max-height: 85vh;
  margin: 60px auto;
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  z-index: 201;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--muted);
}

.modal-body {
  font-size: 14px;
  color: var(--ink-light);
}

.modal-body h4 {
  margin-top: 20px;
  font-size: 15px;
  color: var(--ink);
}

/* Responsive Media Queries */
@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .mobile-drawer {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .teacher-section-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .target-cards-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-container {
    grid-template-columns: 1fr;
  }

  .pricing-box.main-box {
    transform: none;
  }

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

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

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

  .mobile-sticky-cta {
    display: block;
  }
}

@media (max-width: 560px) {
  .steps-grid,
  .conditions-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-card {
    padding: 24px;
  }

  .form-wrapper {
    padding: 24px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    text-align: left;
  }
}
