/* ============================================
   IGNITE学院 - Premium Tutoring School
   Bright, Energetic, Educational Design
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1E40AF;
  --accent: #3B82F6;
  --bg: #F0F7FF;
  --surface: #fff;
  --surface2: #E8F1FE;
  --text: #1e293b;
  --muted: #64748b;
  --success: #10B981;
  --warning: #F59E0B;
  --font-en: 'Poppins', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* ── Sample Banner ── */
.sample-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 8px 16px;
  z-index: 99999;
  letter-spacing: .5px;
  font-weight: 500;
}

/* ── Header ── */
.header {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 14px 0;
  transition: all .3s;
}

.header.scrolled {
  background: rgba(240, 247, 255, .95);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(30, 64, 175, .08);
  padding: 10px 0;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.logo-text {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
  line-height: 1.2;
}

.logo-text small {
  display: block;
  font-family: var(--font-jp);
  font-size: .65rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 2px;
}

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

.nav a {
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .3s;
  text-decoration: none;
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600 !important;
  transition: transform .3s, box-shadow .3s !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, .4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: .3s;
  display: block;
}

@media (max-width: 840px) {
  .hamburger {
    display: flex;
  }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    transition: .4s;
    z-index: 9999;
  }
  .nav.open {
    opacity: 1;
    visibility: visible;
  }
  .nav a {
    font-size: 1.1rem;
  }
  .header-inner {
    padding: 0 20px;
  }
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 20px 80px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 64, 175, .75), rgba(59, 130, 246, .55));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-label {
  font-family: var(--font-en);
  font-size: .75rem;
  color: rgba(255, 255, 255, .85);
  letter-spacing: 4px;
  margin-bottom: 16px;
  display: block;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 12px;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: rgba(255, 255, 255, .95);
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.hero-desc {
  font-size: .95rem;
  color: rgba(255, 255, 255, .85);
  line-height: 2;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: all .3s;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-jp);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 4px 16px rgba(59, 130, 246, .3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, .4);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, .5);
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .15);
}

.btn-outline-dark {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── Trust Bar ── */
.trust-bar {
  background: var(--surface);
  padding: 48px 0;
  border-top: 1px solid rgba(30, 64, 175, .06);
  border-bottom: 1px solid rgba(30, 64, 175, .06);
}

.trust-items {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 0 20px;
}

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

.trust-num {
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.trust-unit {
  font-size: .85rem;
  color: var(--primary);
  font-weight: 600;
}

.trust-label {
  display: block;
  font-size: .72rem;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 1px;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(30, 64, 175, .12);
  align-self: center;
}

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

.section-alt {
  background: var(--surface);
}

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

.section-label {
  font-family: var(--font-en);
  font-size: .72rem;
  color: var(--accent);
  letter-spacing: 4px;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 1px;
}

.section-line {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-sub {
  font-size: .88rem;
  color: var(--muted);
  margin-top: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
}

/* ── Upward Arrows SVG ── */
.section-arrows {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.section-arrows svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
  opacity: 0;
  transform: translateY(10px);
  transition: all .5s ease;
}

.section-arrows.visible svg {
  opacity: .4;
  transform: translateY(0);
}

.section-arrows.visible svg:nth-child(2) {
  transition-delay: .1s;
  opacity: .6;
}

.section-arrows.visible svg:nth-child(3) {
  transition-delay: .2s;
  opacity: .8;
}

/* ── Learning Points (IGNITEの学び) ── */
.learning-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 0 40px;
}

.learning-card {
  background: var(--surface);
  border: 1px solid rgba(30, 64, 175, .08);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all .4s;
  position: relative;
  overflow: hidden;
}

.learning-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform .4s;
}

.learning-card:hover::before {
  transform: scaleX(1);
}

.learning-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(30, 64, 175, .12);
}

.learning-icon {
  width: 60px;
  height: 60px;
  background: var(--surface2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
}

.learning-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.learning-card p {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.9;
}

@media (max-width: 840px) {
  .learning-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
}

/* ── Course Tabs ── */
.course-tabs {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  background: var(--surface2);
  border-radius: 999px;
  padding: 4px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  flex: 1;
  padding: 12px 24px;
  border: none;
  background: transparent;
  font-family: var(--font-jp);
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  border-radius: 999px;
  transition: all .3s;
}

.tab-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(30, 64, 175, .3);
}

.tab-btn:hover:not(.active) {
  color: var(--primary);
}

.tab-panel {
  display: none;
  animation: tabFade .4s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes tabFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.course-card {
  background: var(--surface);
  border: 1px solid rgba(30, 64, 175, .08);
  border-radius: var(--radius);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.course-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}

.course-info .course-target {
  font-size: .82rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}

.course-info p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 2;
  margin-bottom: 20px;
}

.course-features {
  list-style: none;
}

.course-features li {
  font-size: .84rem;
  padding: 6px 0;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.course-features li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--surface2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%231E40AF' viewBox='0 0 16 16'%3E%3Cpath d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.course-price-box {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.course-price-label {
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.course-price {
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.course-price small {
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
}

.course-price-note {
  font-size: .75rem;
  color: var(--muted);
  margin-top: 8px;
}

.course-schedule {
  margin-top: 20px;
  text-align: left;
}

.course-schedule h4 {
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(30, 64, 175, .06);
  color: var(--muted);
}

@media (max-width: 768px) {
  .course-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

/* ── Results / Achievement Badges ── */
.results-section {
  position: relative;
  overflow: hidden;
}

.results-intro {
  text-align: center;
  margin-bottom: 48px;
}

.results-year {
  font-family: var(--font-en);
  font-size: .75rem;
  color: var(--accent);
  letter-spacing: 3px;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.results-highlight {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.results-highlight em {
  font-style: normal;
  color: var(--primary);
  font-size: 2rem;
  font-family: var(--font-en);
  font-weight: 800;
}

.badge-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 40px;
}

.badge-card {
  background: var(--surface);
  border: 1px solid rgba(30, 64, 175, .08);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: all .4s;
  position: relative;
}

.badge-card.badge-pop {
  animation: badgePop .6s cubic-bezier(.17, .67, .35, 1.5) forwards;
}

@keyframes badgePop {
  0% {
    opacity: 0;
    transform: scale(.5);
  }
  70% {
    transform: scale(1.08);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.badge-shield {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  position: relative;
}

.badge-shield svg {
  width: 56px;
  height: 56px;
}

.badge-type {
  font-size: .68rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.badge-school {
  font-size: .92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.badge-detail {
  font-size: .75rem;
  color: var(--muted);
}

.badge-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30, 64, 175, .1);
}

@media (max-width: 840px) {
  .badge-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .badge-grid {
    grid-template-columns: 1fr;
  }
}

/* Confetti canvas */
#confetti-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ── Director Message ── */
.director-block {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
  padding: 0 40px;
}

.director-photo {
  position: relative;
}

.director-photo-inner {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--surface2), var(--bg));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.director-photo-inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(30, 64, 175, .08), transparent);
}

.director-silhouette {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.director-silhouette svg {
  width: 80px;
  height: 80px;
  fill: var(--accent);
  opacity: .3;
}

.director-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.director-title {
  font-size: .82rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}

.director-credentials {
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.director-msg {
  font-size: .92rem;
  line-height: 2.2;
  color: var(--text);
  margin-bottom: 24px;
}

.director-sign {
  font-size: .85rem;
  color: var(--muted);
  border-top: 1px solid rgba(30, 64, 175, .08);
  padding-top: 16px;
}

.director-sign strong {
  display: block;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 2px;
}

@media (max-width: 768px) {
  .director-block {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  .director-photo-inner {
    max-width: 200px;
    margin: 0 auto;
  }
}

/* ── Flow Steps ── */
.flow-steps {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  left: calc(40px + 28px);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--primary));
  opacity: .2;
}

.flow-step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  position: relative;
}

.flow-num {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(59, 130, 246, .25);
}

.flow-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.flow-body p {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.9;
}

@media (max-width: 768px) {
  .flow-steps {
    padding: 0 20px;
  }
  .flow-steps::before {
    left: calc(20px + 28px);
  }
}

/* ── FAQ ── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-item {
  border-bottom: 1px solid rgba(30, 64, 175, .08);
  overflow: hidden;
}

.faq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  transition: color .3s;
}

.faq-q:hover {
  color: var(--primary);
}

.faq-q span:first-child {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  min-width: 28px;
}

.faq-q h3 {
  flex: 1;
  font-size: .95rem;
  font-weight: 600;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform .3s;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
  display: flex;
  gap: 16px;
  padding: 0;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 0 20px 0;
}

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

.faq-a span {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--accent);
  font-size: 1rem;
  min-width: 28px;
}

.faq-a p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.9;
}

/* ── Contact ── */
.contact-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-info {
  text-align: center;
  margin-bottom: 40px;
}

.contact-tel {
  margin-bottom: 8px;
}

.contact-tel span {
  font-size: .8rem;
  color: var(--muted);
  margin-right: 8px;
}

.contact-tel a {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.contact-hours {
  font-size: .82rem;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(30, 64, 175, .12);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: var(--font-jp);
  background: var(--surface);
  color: var(--text);
  transition: border-color .3s, box-shadow .3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

/* ── Footer ── */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 30px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: .8rem;
  line-height: 1.8;
}

.footer h4 {
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 8px;
}

.footer li a {
  font-size: .82rem;
  transition: color .3s;
}

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

.footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 20px 40px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
  font-size: .75rem;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  .footer-bottom {
    padding: 20px 20px 0;
  }
}

/* ── Scroll Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children .fade-up:nth-child(1) { transition-delay: 0s; }
.stagger-children .fade-up:nth-child(2) { transition-delay: .1s; }
.stagger-children .fade-up:nth-child(3) { transition-delay: .2s; }
.stagger-children .fade-up:nth-child(4) { transition-delay: .3s; }
.stagger-children .fade-up:nth-child(5) { transition-delay: .4s; }
.stagger-children .fade-up:nth-child(6) { transition-delay: .5s; }
.stagger-children .fade-up:nth-child(7) { transition-delay: .6s; }
.stagger-children .fade-up:nth-child(8) { transition-delay: .7s; }

/* ── Testimonials ── */
.testimonial-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 0 40px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid rgba(30, 64, 175, .06);
  border-radius: var(--radius);
  padding: 32px;
  transition: all .3s;
}

.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(30, 64, 175, .08);
}

.testimonial-stars {
  color: var(--warning);
  font-size: .85rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: .88rem;
  line-height: 2;
  margin-bottom: 20px;
  color: var(--text);
}

.testimonial-author {
  border-top: 1px solid rgba(30, 64, 175, .06);
  padding-top: 16px;
}

.testimonial-author strong {
  display: block;
  font-size: .88rem;
}

.testimonial-author span {
  font-size: .78rem;
  color: var(--muted);
}

@media (max-width: 840px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
}

/* ── Photo Break ── */
.photo-break {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.photo-break-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.photo-break-text {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.6;
}

.photo-break-text small {
  display: block;
  font-size: .85rem;
  font-weight: 400;
  opacity: .8;
  margin-top: 8px;
  font-family: var(--font-en);
  letter-spacing: 2px;
}
