/* ======================
   稲毛進学塾 - style.css（リニューアル版）
   ====================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

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

:root {
  --primary: #1565c0;
  --primary-dark: #0d47a1;
  --primary-light: #1976d2;
  --primary-lighter: #42a5f5;
  --sub: #f0f4ff;
  --sub-dark: #e3ecff;
  --accent: #ff8f00;
  --accent-dark: #e65100;
  --text: #1a1a2e;
  --text-sub: #556;
  --white: #ffffff;
  --border: #dde6ff;
  --shadow: 0 4px 24px rgba(21, 101, 192, 0.10);
  --shadow-lg: 0 12px 40px rgba(21, 101, 192, 0.18);
  --radius: 16px;
  --radius-lg: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  font-size: 16px;
}

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

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

ul {
  list-style: none;
}

/* ====== Utility ====== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.section-subtitle {
  text-align: center;
  color: var(--text-sub);
  font-size: 1rem;
  margin-bottom: 56px;
  line-height: 1.7;
}

.section-title span {
  color: var(--accent);
}

.btn {
  display: inline-block;
  padding: 15px 38px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.24s ease;
  border: none;
  letter-spacing: 0.04em;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(255,143,0,0.35);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(255,143,0,0.42);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.85);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  font-weight: 900;
  box-shadow: 0 4px 16px rgba(255,255,255,0.25);
}

.btn-white:hover {
  background: var(--sub);
  transform: translateY(-3px);
}

/* ====== Header ====== */
.site-header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(21,101,192,0.22);
}

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

.logo {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.06em;
}

.logo-sub {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.1em;
  margin-top: 2px;
}

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

.header-tel {
  color: var(--white);
  text-align: right;
}

.header-tel .tel-label {
  font-size: 0.7rem;
  opacity: 0.75;
}

.header-tel .tel-number {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.header-tel .tel-number::before {
  content: '📞 ';
  font-size: 1rem;
}

.header-cta {
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 50px;
  white-space: nowrap;
  transition: all 0.22s;
  box-shadow: 0 3px 12px rgba(255,143,0,0.45);
}

.header-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* ====== Hero ====== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 100px 24px 90px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 71, 161, 0.82) 0%,
    rgba(21, 101, 192, 0.75) 50%,
    rgba(30, 136, 229, 0.72) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.38);
  color: var(--white);
  font-size: 0.85rem;
  padding: 7px 22px;
  border-radius: 50px;
  margin-bottom: 30px;
  letter-spacing: 0.07em;
  backdrop-filter: blur(4px);
}

.hero-catch {
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 22px;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.hero-catch .accent {
  color: #ffd54f;
}

.hero-desc {
  font-size: 1.15rem;
  margin-bottom: 18px;
  opacity: 0.92;
  text-shadow: 0 1px 6px rgba(0,0,0,0.15);
}

.hero-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-tag {
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ====== Stats ====== */
.stats-section {
  background: var(--primary);
  padding: 44px 0 36px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 16px 20px;
  border-right: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  color: #ffd54f;
}

.stat-num span {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
}

.stat-label {
  font-size: 0.82rem;
  opacity: 0.82;
  line-height: 1.4;
}

.stats-note {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  margin-top: 20px;
}

/* ====== Troubles ====== */
.troubles {
  background: var(--sub);
}

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

.trouble-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.22s, box-shadow 0.22s;
  border-left: 4px solid transparent;
}

.trouble-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--primary-light);
}

.trouble-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--sub);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trouble-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--primary);
}

.trouble-text {
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--text);
  padding-top: 4px;
  line-height: 1.5;
}

.trouble-text span {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-sub);
  margin-top: 5px;
}

/* ====== Courses ====== */
.courses-section {
  background: var(--white);
}

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

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
  transition: all 0.28s;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.course-card.featured {
  border-color: var(--accent);
  position: relative;
}

.course-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(255,143,0,0.4);
}

/* コース画像エリア */
.course-img-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.course-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.course-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(21, 101, 192, 0.55) 0%,
    rgba(13, 71, 161, 0.82) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 16px;
}

.course-card.featured .course-img-overlay {
  background: linear-gradient(
    to bottom,
    rgba(21, 101, 192, 0.5) 0%,
    rgba(230, 81, 0, 0.78) 100%
  );
}

.overlay-red {
  background: linear-gradient(
    to bottom,
    rgba(13, 71, 161, 0.5) 0%,
    rgba(74, 20, 140, 0.8) 100%
  ) !important;
}

.course-icon-wrap {
  font-size: 2.2rem;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

.course-name {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 5px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.course-tagline {
  font-size: 0.8rem;
  opacity: 0.9;
}

.course-body {
  padding: 22px 22px 24px;
}

.course-features {
  margin-bottom: 18px;
}

.course-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  line-height: 1.5;
}

.course-feature:last-child {
  border-bottom: none;
}

.check {
  color: var(--primary);
  font-weight: 900;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.course-price {
  text-align: center;
  background: var(--sub);
  border-radius: 12px;
  padding: 14px;
}

.price-label {
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-bottom: 4px;
}

.price-value {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.price-value span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-sub);
}

/* ====== Reasons ====== */
.reasons {
  background: var(--sub);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.reason-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 28px 36px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.22s, box-shadow 0.22s;
  border-top: 4px solid var(--primary);
}

.reason-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.reason-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 900;
  border-radius: 50%;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(21,101,192,0.3);
}

.reason-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.reason-title {
  font-size: 1.12rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 14px;
}

.reason-text {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ====== Results ====== */
.results-section {
  background: var(--white);
}

.results-highlight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.highlight-card {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 20px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(21,101,192,0.28);
}

.highlight-num {
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
  color: #ffd54f;
}

.highlight-num span {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
}

.highlight-label {
  font-size: 0.88rem;
  opacity: 0.85;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.result-card {
  background: var(--sub);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  transition: all 0.22s;
}

.result-card:hover {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.result-school {
  font-weight: 900;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.result-year {
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.result-count {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
}

.result-count span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-sub);
}

.results-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-sub);
  background: var(--sub);
  border-radius: 10px;
  padding: 12px;
}

/* ====== Price ====== */
.price {
  background: var(--sub);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
}

.price-head {
  background: var(--primary);
  color: var(--white);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.price-head-icon {
  font-size: 2.2rem;
}

.price-head-title {
  font-size: 1.2rem;
  font-weight: 900;
}

.price-head-sub {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 3px;
}

.price-body {
  padding: 24px 28px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}

.price-row:last-child {
  border-bottom: none;
}

.price-row .amount {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.05rem;
}

.price-notice {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 0.88rem;
  color: #5d4037;
  line-height: 1.75;
  text-align: center;
}

/* ====== Principal ====== */
.principal-section {
  background: var(--white);
}

.principal-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
}

.principal-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.photo-img-wrap {
  width: 240px;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.photo-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(13,71,161,0.88) 0%, transparent 100%);
  padding: 20px 14px 14px;
  text-align: center;
}

.principal-name-overlay {
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.principal-name {
  font-size: 1.1rem;
  font-weight: 900;
  text-align: center;
  color: var(--primary);
}

.principal-title {
  font-size: 0.8rem;
  color: var(--text-sub);
  text-align: center;
}

.principal-message h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 22px;
  line-height: 1.4;
  padding-left: 16px;
  border-left: 5px solid var(--accent);
}

.principal-message p {
  font-size: 0.97rem;
  color: var(--text-sub);
  line-height: 1.9;
  margin-bottom: 14px;
}

.principal-profile {
  margin-top: 22px;
  padding: 18px 22px;
  background: var(--sub);
  border-radius: 12px;
  font-size: 0.88rem;
  color: var(--text-sub);
}

.principal-profile li {
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}

.principal-profile li:last-child {
  border-bottom: none;
}

.principal-profile li::before {
  content: '▶ ';
  color: var(--primary);
  font-size: 0.7rem;
}

/* ====== Voices ====== */
.voices {
  background: var(--sub);
}

.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.voice-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.22s, box-shadow 0.22s;
}

.voice-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.voice-quote {
  font-size: 3.5rem;
  color: var(--primary-lighter);
  line-height: 1;
  margin-bottom: 6px;
  font-family: Georgia, serif;
  opacity: 0.4;
}

.voice-text {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 20px;
}

.voice-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.voice-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.voice-info .voice-name {
  font-weight: 700;
  font-size: 0.92rem;
}

.voice-info .voice-detail {
  font-size: 0.76rem;
  color: var(--text-sub);
  margin-top: 2px;
}

.voice-stars {
  margin-left: auto;
  color: #ffc107;
  font-size: 0.88rem;
  letter-spacing: 1px;
}

/* ====== Schedule ====== */
.schedule-section {
  background: var(--white);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.schedule-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.22s, box-shadow 0.22s;
}

.schedule-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.schedule-head {
  padding: 22px 24px;
  text-align: center;
  color: var(--white);
  font-weight: 900;
}

.schedule-card:nth-child(1) .schedule-head { background: linear-gradient(135deg, #42a5f5, #1976d2); }
.schedule-card:nth-child(2) .schedule-head { background: linear-gradient(135deg, #ffb74d, #ff8f00); }
.schedule-card:nth-child(3) .schedule-head { background: linear-gradient(135deg, #4dd0e1, #0097a7); }

.schedule-season {
  font-size: 1.35rem;
  margin-bottom: 5px;
}

.schedule-period {
  font-size: 0.8rem;
  opacity: 0.88;
}

.schedule-body {
  background: var(--white);
  padding: 22px 24px;
}

.schedule-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.91rem;
  line-height: 1.5;
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 7px;
}

/* ====== Access ====== */
.access {
  background: var(--sub);
}

.access-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.access-info h3 {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.access-table {
  width: 100%;
  border-collapse: collapse;
}

.access-table th,
.access-table td {
  padding: 13px 16px;
  text-align: left;
  font-size: 0.93rem;
  border-bottom: 1px solid var(--border);
}

.access-table th {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  width: 110px;
}

.access-table tr:first-child th { border-radius: 8px 0 0 0; }
.access-table tr:last-child th { border-radius: 0 0 0 8px; border-bottom: none; }
.access-table tr:last-child td { border-bottom: none; }

.access-table td {
  background: var(--white);
}

.map-placeholder {
  background: linear-gradient(135deg, #e8eaf6, #c5cae9);
  border-radius: var(--radius-lg);
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #5c6bc0;
  font-size: 0.9rem;
  border: 2px dashed #9fa8da;
  text-align: center;
}

.map-placeholder svg {
  width: 52px;
  height: 52px;
  fill: #7986cb;
}

/* ====== CTA Section ====== */
.cta-section {
  position: relative;
  text-align: center;
  padding: 100px 24px;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 71, 161, 0.88) 0%,
    rgba(21, 101, 192, 0.85) 100%
  );
}

.cta-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.cta-content h2 {
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.cta-content p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-note {
  margin-top: 22px;
  font-size: 0.82rem;
  opacity: 0.72;
}

/* ====== Footer ====== */
.site-footer {
  background: #0a1628;
  color: rgba(255,255,255,0.8);
  padding: 56px 24px 28px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-name {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--white);
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.85;
  opacity: 0.65;
}

.footer-nav h4,
.footer-contact h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.12em;
  opacity: 0.6;
}

.footer-nav ul li {
  margin-bottom: 10px;
}

.footer-nav ul li a {
  font-size: 0.85rem;
  opacity: 0.65;
  transition: opacity 0.2s, color 0.2s;
  padding-left: 10px;
  border-left: 2px solid transparent;
}

.footer-nav ul li a:hover {
  opacity: 1;
  color: var(--primary-lighter);
  border-left-color: var(--primary-lighter);
}

.footer-contact p {
  font-size: 0.85rem;
  opacity: 0.65;
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-tel {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-bottom {
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.42;
}

/* ====== Responsive: Tablet ====== */
@media (max-width: 900px) {
  .section {
    padding: 64px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3) {
    border-right: 1px solid rgba(255,255,255,0.15);
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .stat-item:last-child {
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .troubles-grid,
  .courses-grid,
  .reasons-grid,
  .voices-grid,
  .schedule-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .principal-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .principal-photo {
    align-items: center;
  }

  .principal-message h3 {
    text-align: left;
  }

  .access-inner {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

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

/* ====== Responsive: Mobile ====== */
@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 14px 16px;
  }

  .header-right {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: 100%;
  }

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

  .header-cta {
    width: 100%;
    text-align: center;
  }

  .hero {
    padding: 72px 20px 64px;
    min-height: 520px;
  }

  .hero-catch {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .stat-item {
    padding: 18px 12px;
  }

  .troubles-grid,
  .courses-grid,
  .reasons-grid,
  .results-grid,
  .results-highlight,
  .voices-grid,
  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .principal-inner {
    gap: 24px;
  }

  .photo-img-wrap {
    width: 200px;
    height: 240px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .course-img-wrap {
    height: 160px;
  }

  .cta-section {
    padding: 72px 20px;
  }
}
