/* ============================================
   タイピング英語® LP — Extras Styles
   Testimonials · FAQ · Final CTA · Classroom · Footer · Mobile CTA
   ============================================ */

/* ============================================
   TESTIMONIALS (Parent's Voice)
   ============================================ */
.testimonials-section {
  position: relative;
  padding: 7rem 1.5rem 8rem;
  background:
    radial-gradient(ellipse at top right, rgba(245,166,35,0.10), transparent 50%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--blue-dark) 100%);
  overflow: hidden;
}
.testimonials-section::before {
  content: '"';
  position: absolute;
  top: 1rem; right: 6%;
  font-family: 'Lexend', serif;
  font-size: 24rem;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  pointer-events: none;
  font-weight: 900;
}
.testimonials-inner { max-width: var(--container); margin: 0 auto; position: relative; }

.testimonial-carousel {
  position: relative;
  margin-top: 1rem;
}
.tc-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0 1.5rem;
  scrollbar-width: none;
}
.tc-track::-webkit-scrollbar { display: none; }

.tc-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 320px;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  scroll-snap-align: center;
  position: relative;
  display: flex; flex-direction: column;
  gap: 1rem;
}
.tc-card::before {
  content: '"';
  position: absolute;
  top: -8px; left: 18px;
  font-family: 'Lexend', sans-serif;
  font-size: 5rem; font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.tc-rating {
  display: flex;
  gap: 2px;
  color: var(--gold);
  font-size: 1rem;
  margin-top: 1rem;
}
.tc-text {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-body);
  font-weight: 500;
}
.tc-text em {
  background: linear-gradient(transparent 62%, rgba(245,166,35,0.28) 62%);
  font-weight: 800;
  color: var(--navy);
  padding: 0 0.05em;
}
.tc-meta {
  display: flex; align-items: center; gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
  margin-top: auto;
}
.tc-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Lexend', sans-serif;
  font-weight: 800;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}
.tc-info { display: flex; flex-direction: column; line-height: 1.3; }
.tc-name {
  font-size: 0.9rem; font-weight: 800;
  color: var(--navy);
}
.tc-detail {
  font-size: 0.72rem;
  color: var(--text-mute);
  margin-top: 2px;
}

.tc-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  border: none;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: var(--shadow-lg);
  z-index: 5;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.tc-arrow:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
}
.tc-prev { left: -10px; }
.tc-next { right: -10px; }

.tc-dots {
  display: flex; gap: 8px;
  justify-content: center;
  margin-top: 1.25rem;
}
.tc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}
.tc-dot.active { background: var(--gold); width: 28px; border-radius: 100px; }

@media (max-width: 768px) {
  .testimonials-section { padding: 3.5rem 1.25rem 4rem; }
  .testimonials-section::before { font-size: 14rem; top: 0.5rem; right: 2%; }
  .tc-card { flex: 0 0 86%; min-width: unset; padding: 1.5rem 1.4rem; }
  .tc-card::before { font-size: 4rem; top: -4px; left: 14px; }
  .tc-text { font-size: 0.9rem; line-height: 1.8; }
  .tc-arrow { display: none; }
  .tc-track { padding: 0.5rem 0 1rem; gap: 1rem; padding-left: 7%; padding-right: 7%; scroll-padding-left: 7%; }
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
  padding: 7rem 1.5rem 7rem;
  background: var(--white);
}
.faq-inner { max-width: 880px; margin: 0 auto; }

.faq-list {
  display: flex; flex-direction: column;
  gap: 0.85rem;
}
.faq-item {
  background: var(--gray-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item.open {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(14,165,233,0.12);
}
.faq-q {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.6;
}
.faq-q .q-mark {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-family: 'Lexend', sans-serif;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}
.faq-q .q-text { flex: 1; }
.faq-q .q-toggle {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 1.5rem;
  font-weight: 700;
  transition: transform 0.3s ease;
}
.faq-item.open .q-toggle { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 0 1.5rem 1.5rem 1.5rem;
  border-top: 1px dashed var(--border);
  padding-top: 1.25rem;
  margin: 0 1.5rem;
}
.faq-a .a-mark {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--white);
  font-family: 'Lexend', sans-serif;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  margin-top: 2px;
}
.faq-a .a-text {
  flex: 1;
  font-size: 0.94rem;
  color: var(--text-sub);
  line-height: 1.95;
  font-weight: 500;
}
.faq-a .a-text em {
  font-weight: 800;
  color: var(--navy);
  background: linear-gradient(transparent 62%, rgba(245,166,35,0.22) 62%);
  padding: 0 0.05em;
}

.faq-extra {
  margin-top: 3rem;
  text-align: center;
  background: var(--blue-bg);
  border-radius: var(--r-md);
  padding: 1.75rem 1.5rem;
}
.faq-extra p {
  color: var(--text-sub);
  font-weight: 600;
  margin-bottom: 0.85rem;
}
.btn-link {
  color: var(--blue);
  font-weight: 800;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 2px;
  transition: all 0.2s ease;
}
.btn-link:hover { color: var(--navy); border-color: var(--navy); }

@media (max-width: 768px) {
  .faq-section { padding: 3.5rem 1.25rem 4rem; }
  .faq-q { padding: 1rem 1.1rem; font-size: 0.9rem; gap: 0.75rem; line-height: 1.55; }
  .faq-q .q-mark { width: 28px; height: 28px; font-size: 0.8rem; }
  .faq-q .q-toggle { width: 24px; height: 24px; font-size: 1.3rem; }
  .faq-a-inner { padding: 1rem 0.25rem 1.1rem; margin: 0 1.1rem; gap: 0.75rem; }
  .faq-a .a-mark { width: 28px; height: 28px; font-size: 0.8rem; }
  .faq-a .a-text { font-size: 0.88rem; line-height: 1.85; }
  .faq-list { gap: 0.7rem; }
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.final-cta-section {
  position: relative;
  padding: 7rem 1.5rem 7rem;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(245,166,35,0.22), transparent 50%),
    linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
  overflow: hidden;
}
.final-cta-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.fcb-key {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  width: 88px; height: 88px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1.5px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  color: rgba(255,255,255,0.4);
  font-family: 'Lexend', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  animation: floatKey 8s ease-in-out infinite;
}
.fcb-key.k1 { top: 8%; left: 4%; }
.fcb-key.k2 { top: 22%; left: 12%; width: 60px; height: 60px; font-size: 1.5rem; animation-delay: 1s; }
.fcb-key.k3 { top: 70%; left: 6%; width: 70px; height: 70px; font-size: 1.9rem; animation-delay: 2s; }
.fcb-key.k4 { top: 12%; right: 8%; animation-delay: 0.5s; }
.fcb-key.k5 { top: 32%; right: 16%; width: 56px; height: 56px; font-size: 1.4rem; animation-delay: 1.5s; }
.fcb-key.k6 { top: 60%; right: 4%; width: 80px; height: 80px; font-size: 2.1rem; animation-delay: 2.5s; }
.fcb-key.k7 { top: 84%; left: 38%; width: 50px; height: 50px; font-size: 1.2rem; animation-delay: 3s; }
.fcb-key.k8 { top: 6%; left: 52%; width: 50px; height: 50px; font-size: 1.2rem; animation-delay: 1.2s; }

.final-cta-inner {
  position: relative; z-index: 2;
  max-width: 920px; margin: 0 auto;
  text-align: center;
  color: var(--white);
}
.fc-eyebrow {
  display: inline-block;
  font-family: 'Lexend', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
  padding: 0.35rem 1rem;
  background: rgba(245,166,35,0.15);
  border: 1.5px solid rgba(245,166,35,0.4);
  border-radius: 100px;
}
.fc-title {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}
.fc-title em {
  color: var(--gold-light);
  background: linear-gradient(transparent 62%, rgba(245,166,35,0.25) 62%);
  padding: 0 0.1em;
}
.fc-desc {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 3rem;
}

.fc-cards {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.25rem;
  text-align: left;
  margin-bottom: 1.5rem;
}
.fc-card {
  position: relative;
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.75rem 1.75rem;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--r-lg);
  transition: all 0.3s ease;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  overflow: hidden;
}
.fc-card.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 16px 48px rgba(245,166,35,0.4), inset 0 -4px 0 rgba(0,0,0,0.12);
}
.fc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.35);
}
.fc-card.primary:hover { box-shadow: 0 22px 60px rgba(245,166,35,0.55), inset 0 -4px 0 rgba(0,0,0,0.15); }
.fc-card-icon {
  font-size: 2.3rem;
  flex-shrink: 0;
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.25);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.fc-card:not(.primary) .fc-card-icon {
  background: var(--blue-bg);
}
.fc-card-body { flex: 1; display: flex; flex-direction: column; gap: 0.2rem; }
.fc-card-tag {
  font-family: 'Lexend', sans-serif;
  font-weight: 700; font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
.fc-card-title {
  font-size: 1.2rem; font-weight: 800;
  line-height: 1.4;
}
.fc-card-sub {
  font-size: 0.78rem;
  opacity: 0.75;
  margin-top: 2px;
}
.fc-card-arrow {
  font-size: 1.6rem; font-weight: 800;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.fc-card:hover .fc-card-arrow { transform: translateX(6px); }

.fc-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
  .final-cta-section { padding: 4rem 1.25rem 4rem; }
  .fc-cards { grid-template-columns: 1fr; gap: 0.9rem; margin-bottom: 1.25rem; }
  .fc-eyebrow { font-size: 0.72rem; padding: 0.3rem 0.85rem; }
  .fc-title { font-size: clamp(1.35rem, 5.8vw, 1.95rem); line-height: 1.5; margin-bottom: 1rem; }
  .fc-desc { font-size: 0.9rem; line-height: 1.85; margin-bottom: 2rem; }
  .fc-card { padding: 1.25rem 1.25rem; gap: 1rem; }
  .fc-card-icon { width: 48px; height: 48px; font-size: 1.7rem; border-radius: 12px; }
  .fc-card-title { font-size: 1.05rem; }
  .fc-card-sub { font-size: 0.74rem; }
  .fc-card-arrow { font-size: 1.3rem; }
  .fcb-key { display: none; }
  .fcb-key.k4, .fcb-key.k1 { display: flex; opacity: 0.5; width: 56px; height: 56px; font-size: 1.4rem; }
}

/* ============================================
   CLASSROOM SECTION
   ============================================ */
.classroom-section {
  padding: 6rem 1.5rem 7rem;
  background: var(--gray-bg);
}
.classroom-inner { max-width: var(--container); margin: 0 auto; }

.classroom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
  max-width: 760px;
  margin: 0 auto;
}

/* Map side */
.classroom-map {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.cm-title {
  display: flex; align-items: baseline; gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.cm-title-jp {
  font-weight: 800; font-size: 1.1rem;
  color: var(--navy);
}
.cm-title-en {
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--blue);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.cm-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, var(--blue-bg-2), var(--blue-bg) 80%);
  border-radius: var(--r-md);
  flex: 1;
}

/* Stylized Japan archipelago shape underneath buttons */
.cm-canvas::before {
  content: '';
  position: absolute; inset: 12% 6% 12% 4%;
  background:
    radial-gradient(circle 18px at 8% 78%, rgba(12,74,110,0.18), transparent 100%),
    radial-gradient(circle 26px at 22% 65%, rgba(12,74,110,0.20), transparent 100%),
    radial-gradient(circle 36px at 48% 52%, rgba(12,74,110,0.22), transparent 100%),
    radial-gradient(circle 30px at 64% 42%, rgba(12,74,110,0.20), transparent 100%),
    radial-gradient(circle 22px at 72% 22%, rgba(12,74,110,0.18), transparent 100%),
    radial-gradient(circle 18px at 78% 6%, rgba(12,74,110,0.15), transparent 100%);
  border-radius: 50%;
  filter: blur(0.5px);
}

.region-btn {
  position: absolute;
  background: none; border: none;
  display: flex; flex-direction: column;
  align-items: center; gap: 4px;
  padding: 0;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}
.region-btn:hover { transform: translate(-50%, -50%) scale(1.12); }
.region-btn.active .r-dot {
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(245,166,35,0.2), 0 4px 12px rgba(245,166,35,0.45);
}
.r-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--white);
  box-shadow: 0 4px 10px rgba(14,165,233,0.4), 0 0 0 1px rgba(12,74,110,0.15);
  transition: all 0.25s ease;
  position: relative;
}
.r-dot::before {
  content: '';
  position: absolute; inset: -8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.25;
  animation: ping 2.5s ease-out infinite;
}
.r-dot.lg { width: 22px; height: 22px; }
.region-btn.active .r-dot::before { background: var(--gold); }
@keyframes ping {
  0% { transform: scale(0.5); opacity: 0.4; }
  100% { transform: scale(1.6); opacity: 0; }
}

.r-label {
  background: var(--white);
  padding: 3px 8px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 6px rgba(12,74,110,0.10);
  display: inline-flex; align-items: center; gap: 4px;
}
.r-label small {
  font-family: 'Lexend', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--gold-dark);
  background: var(--gold-bg);
  padding: 1px 5px;
  border-radius: 100px;
}
.region-btn.active .r-label {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.region-btn.active .r-label small { color: var(--white); background: rgba(255,255,255,0.2); }

.cm-note {
  font-size: 0.75rem;
  color: var(--text-mute);
  text-align: center;
  margin-top: 1rem;
}

/* Finder side */
.classroom-finder {
  display: flex; flex-direction: column; gap: 1.25rem;
}
.pref-select-wrap {
  position: relative;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex; align-items: center; gap: 0.75rem;
}
.pref-select-label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  white-space: nowrap;
}
.pref-select {
  flex: 1;
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 2.5rem 0.65rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  color: var(--text-body);
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230C4A6E' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat right 1rem center / 12px 8px,
    var(--white);
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.pref-select:focus { outline: none; border-color: var(--blue); }

.classroom-list {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  min-height: 320px;
  flex: 1;
  display: flex; flex-direction: column;
  gap: 0.85rem;
}
.empty-state {
  margin: auto;
  text-align: center;
  color: var(--text-mute);
}
.empty-icon { font-size: 3rem; margin-bottom: 0.75rem; }
.empty-state p { font-size: 0.9rem; line-height: 1.7; }

.classroom-card {
  display: flex; align-items: stretch; gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--r-md);
  background: var(--gray-bg);
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}
.classroom-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
  transform: translateX(2px);
}
.classroom-info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column;
  gap: 0.35rem;
}
.classroom-list-head {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.5rem;
  border-left: 3px solid var(--gold);
}
.classroom-name {
  font-weight: 800;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.5;
}
.classroom-pref-badge {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--blue);
  font-weight: 700;
  margin-right: 0.4rem;
}
.classroom-address {
  font-size: 0.8rem;
  color: var(--text-sub);
  line-height: 1.5;
}
.classroom-tel {
  display: inline-flex;
  align-items: center;
  font-family: 'Lexend', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
  width: fit-content;
}
.classroom-tel:hover { color: var(--blue); }
.classroom-btn {
  flex-shrink: 0;
  align-self: center;
  padding: 0.75rem 1.05rem;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex; align-items: center;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(245,166,35,0.35);
}
.classroom-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(245,166,35,0.45);
}

.classroom-cta {
  margin-top: 2.5rem;
  text-align: center;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1.75rem 1.5rem;
  border: 1px dashed var(--border);
}
.classroom-cta p {
  color: var(--text-sub);
  margin-bottom: 1rem;
  font-weight: 600;
}
.btn-outline {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-weight: 800;
  border-radius: 10px;
  transition: all 0.25s ease;
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(14,165,233,0.3);
}

@media (max-width: 900px) {
  .classroom-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .classroom-section { padding: 3.5rem 1.25rem 4rem; }
  .classroom-card { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .classroom-btn { width: 100%; padding: 0.85rem 1rem; font-size: 0.85rem; }
}
@media (max-width: 768px) {
  .pref-select-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.85rem 0.85rem;
  }
  .pref-select-label { font-size: 0.82rem; }
  .pref-select { width: 100%; font-size: 16px; padding: 0.8rem 2.5rem 0.8rem 0.9rem; }
  .classroom-list { padding: 1rem; min-height: 240px; }
  .classroom-card { padding: 1rem 1rem; }
  .classroom-name { font-size: 0.92rem; }
  .classroom-address { font-size: 0.74rem; }
  .classroom-tag { font-size: 0.64rem; }
  .classroom-cta { padding: 1.25rem 1rem; margin-top: 1.5rem; }
  .classroom-cta p { font-size: 0.88rem; }
  .btn-outline { display: block; padding: 0.85rem 1rem; font-size: 0.88rem; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem 1.5rem 1.5rem;
}
.footer-inner { max-width: var(--container); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {}
.footer-logo {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.footer-logo .logo-mark {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  box-shadow: 0 4px 12px rgba(245,166,35,0.3);
}
.footer-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.footer-logo-text .logo-name { color: var(--white); font-weight: 800; font-size: 1rem; }
.footer-logo-text .logo-sub { color: rgba(255,255,255,0.55); font-family: 'Lexend', sans-serif; font-size: 0.7rem; letter-spacing: 0.04em; }
.footer-mission {
  font-size: 0.88rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.footer-socials { display: flex; gap: 0.5rem; }
.soc {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: rgba(255,255,255,0.85);
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}
.soc:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1.5px solid var(--gold);
  display: inline-block;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-company {
  padding: 2rem 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 2rem;
}
.fc-row {
  display: flex; gap: 0.85rem;
  font-size: 0.78rem;
  line-height: 1.7;
}
.fc-key {
  color: rgba(255,255,255,0.5);
  font-weight: 700;
  flex-shrink: 0;
  width: 5rem;
}
.fc-val {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 1.75rem; padding-bottom: 1.75rem; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .footer-company { grid-template-columns: 1fr; padding: 1.5rem 0 1.25rem; }
  .footer { padding: 3rem 1.25rem 1.25rem; }
  .footer-mission { font-size: 0.82rem; line-height: 1.8; }
  .footer-col h4 { font-size: 0.85rem; margin-bottom: 0.75rem; }
  .footer-col a { font-size: 0.8rem; }
  .fc-row { font-size: 0.72rem; gap: 0.5rem; }
  .fc-key { width: 4.5rem; }
  .footer-bottom { font-size: 0.66rem; line-height: 1.6; }
}
@media (max-width: 520px) {
  .footer-cols { grid-template-columns: 1fr; }
}

/* ============================================
   MOBILE FLOATING CTA (centered pill)
   ============================================ */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  padding: 0.55rem;
  gap: 0.5rem;
  z-index: 90;
  box-shadow:
    0 10px 32px rgba(12,74,110,0.22),
    0 2px 8px rgba(12,74,110,0.10),
    inset 0 0 0 1px rgba(255,255,255,0.6);
  border-radius: 100px;
  max-width: calc(100vw - 32px);
  width: auto;
}
.mcb-ghost {
  display: flex; align-items: center; justify-content: center;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  background: transparent;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}
.mcb-primary {
  display: flex; align-items: center; justify-content: center;
  padding: 0.7rem 1.2rem;
  background: var(--gold);
  color: var(--white);
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(245,166,35,0.45), inset 0 -2px 0 rgba(0,0,0,0.10);
}

@media (max-width: 768px) {
  .mobile-cta-bar { display: inline-flex; }
  body { padding-bottom: 96px; }
  .mcb-ghost { padding: 0.65rem 0.85rem; font-size: 0.78rem; }
  .mcb-primary { padding: 0.65rem 1rem; font-size: 0.82rem; }
}
@media (max-width: 360px) {
  .mcb-ghost { padding: 0.6rem 0.7rem; font-size: 0.72rem; }
  .mcb-primary { padding: 0.6rem 0.85rem; font-size: 0.78rem; }
}
