/* Full-cover hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 0;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(4, 12, 28, 0.42) 0%, rgba(4, 12, 28, 0.52) 100%),
    url("../images/hero-classroom.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-content {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  color: #ffffff;
  text-align: center;
}

.hero-content h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(64px, 12vw, 156px);
  line-height: 0.95;
  letter-spacing: 0.08em;
  font-weight: 950;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

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

.about-grid,
.curriculum-grid,
.teacher-grid,
.schedule-grid,
.review-grid,
.step-grid,
.page-card-grid {
  display: grid;
  gap: 22px;
}

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

.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 56px;
}

.two-column .btn {
  margin-top: 28px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.step-grid {
  grid-template-columns: repeat(4, 1fr);
}

.wide-process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wide-process-list li {
  padding: 22px;
  border: 1px solid #dbeafe;
  background: #fff;
}

.wide-process-list span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: #fff;
  background: var(--primary);
  font-weight: 950;
}

.wide-process-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.wide-process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.curriculum-grid {
  grid-template-columns: repeat(4, 1fr);
}

.curriculum-card ul,
.campus-copy ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #4b5563;
}

.curriculum-card li + li,
.campus-copy li + li {
  margin-top: 6px;
}

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

.teacher-card {
  overflow: hidden;
}

.teacher-photo {
  min-height: 230px;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}

.teacher-info {
  padding: 24px;
}

.teacher-info span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
}

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

.schedule-card dl {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}

.schedule-card dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.schedule-card dt {
  color: var(--text);
  font-weight: 900;
}

.schedule-card dd {
  margin: 0;
  color: var(--muted);
}

.notice-box {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 22px 24px;
  color: #1e3a8a;
  background: #eff6ff;
}

.notice-box strong {
  flex-shrink: 0;
}

.notice-box p {
  margin: 0;
}

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

.review-card p {
  margin-bottom: 20px;
}

.trial-section {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(255, 255, 255, 0.96)), #ffffff;
}

.trial-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 54px;
}

.trial-points {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.trial-points div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #dbeafe;
  background: #ffffff;
}

.trial-points strong {
  color: var(--primary);
}

.trial-points span {
  font-weight: 800;
}

.consult-form {
  padding: 30px;
}

.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
  gap: 44px;
}

.contact-card {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding: 26px;
}

.contact-card strong {
  display: block;
  margin-bottom: 4px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.map-placeholder {
  min-height: 430px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 34px;
  border: 1px dashed #a8bfdc;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 0.9)), #f8fafc;
  text-align: center;
}

.map-placeholder span {
  color: var(--primary);
  font-size: 22px;
  font-weight: 950;
}

/* Sub pages */
.page-hero {
  padding: 90px 0 60px;
  background-image:
    linear-gradient(90deg, rgba(248, 251, 255, 0.98) 0%, rgba(248, 251, 255, 0.88) 55%, rgba(248, 251, 255, 0.74) 100%),
    url("../images/classroom-lecture.jpg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 820px;
}

.breadcrumb {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

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

.notice-list {
  display: grid;
  gap: 16px;
}

.calendar-table,
.vehicle-card table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.calendar-table {
  box-shadow: 0 0 0 1px var(--line);
}

.calendar-table th,
.calendar-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.calendar-table th {
  background: #eff6ff;
  color: #1e3a8a;
  font-weight: 950;
}

.calendar-table tr:last-child td {
  border-bottom: 0;
}

.campus-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
}

.campus-visual {
  min-height: 380px;
  background-size: cover;
  background-position: center;
}

.campus-visual.image-a { background-image: url("../images/classroom-lecture.jpg"); }
.campus-visual.image-b { background-image: url("../images/classroom-discussion.jpg"); }
.campus-visual.image-c { background-image: url("../images/hero-classroom.jpg"); }

.campus-copy {
  padding: 38px;
}

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

.vehicle-card table {
  margin-top: 14px;
  font-size: 14px;
}

.vehicle-card th,
.vehicle-card td {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  text-align: left;
}

.vehicle-card th {
  color: var(--text);
}

.vehicle-card td {
  color: var(--muted);
}

