/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 900px;
  margin-bottom: 56px;
  background: url("../img/banner3.png") center center / cover no-repeat;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}
.hero-content {
  color: #785904;
  margin-left: 100px;
  font-style: italic;
}

.hero-eyebrow {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.25;
}

/* ---------- Intro section ---------- */
.section-intro {
  position: relative;
  height: 995px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url("../img/about-kv-02.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.section-intro .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.h2-bar {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-text);
  position: relative;
  padding-bottom: 30px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.h2-bar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 70px;
  height: 2px;
  background: var(--color-primary);
}

.section-intro-subtitle {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-top: -20px;
  margin-bottom: 30px;
}

.intro-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.intro-block {
  max-width: 600px;
  text-align: justify;
  margin: 0 auto;
}

.intro-text .intro-block + .intro-block {
  margin-top: 32px;
}

.intro-block p + p {
  margin-top: 1rem;
}

/* ---------- Services section ---------- */
.section-services {
  padding: 80px 0 40px;
}

.h2-icon {
  font-size: 40px;
  font-weight: 700;
  line-height: 73.5px;
  color: var(--color-text);
  margin-bottom: 29px;
  display: flex;
  align-items: center;
}

.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.service-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.service-card-body {
  padding: 10px 0 0 0;
}

.service-card-body h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.service-card-body p {
  font-size: 17px;
  line-height: 22.75px;
  color: var(--color-text);
}

/* ---------- Philosophy section ---------- */
.section-philosophy {
  position: relative;
  height: 984px;
  background: var(--color-bg-alt) url("../img/philosophy-kv-03.png") center
    top / cover no-repeat;
}

.section-philosophy .container {
  position: relative;
  z-index: 1;
}

.section-philosophy .h2-icon {
  padding-top: 100px;
}

.philosophy-items {
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  gap: 32px;
  margin-top: 318px;
}

.philosophy-item {
  text-align: center;
  width: 372px;
}

.philosophy-item.item-adjust {
  position: relative;
  top: -261px;
}

.philosophy-item h4 {
  font-size: 50px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.philosophy-item p {
  font-size: 18px;
  color: var(--color-text);
  margin-top: 34px;
  margin-bottom: 10px;
}

.philosophy-item img {
  margin: 0 auto;
  width: 121px;
}

.philosophy-summary {
  text-align: center;
  font-size: 30px;
  line-height: 45px;
  font-weight: 700;
  margin-top: 40px;
}

/* ---------- Philosophy section variant: gold block + photo + long text (EdTech) ---------- */
.section-philosophy.section-worklines-photo {
  height: auto;
  background: var(--color-primary);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.section-worklines-photo::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 340px;
  height: 220px;
  background: var(--color-black);
  clip-path: polygon(35% 0, 100% 0, 100% 65%);
}

.section-worklines-photo .container {
  position: relative;
  z-index: 1;
}

.worklines-title {
  font-size: 40px;
  font-weight: bold;
  color: var(--color-black);
  margin-bottom: 20px;
}

.worklines-subtitle {
  font-size: 30px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 40px;
}

.worklines-photo-row {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.worklines-photo {
  width: 460px;
  flex-shrink: 0;
  object-fit: cover;
}

.worklines-text {
  flex: 1;
}

.worklines-text p {
  color: var(--color-white);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.worklines-text p:last-child {
  margin-bottom: 0;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ================================================================
   Responsive — hệ 3 tầng dùng chung với line-works (xem CLAUDE.md):
   < 980px mobile/tablet gộp chung, 980-1599px desktop mặc định,
   ≥1600px widescreen.
   ================================================================ */

/* ---------- Mobile/Tablet: < 980px ---------- */
@media (max-width: 979px) {
  .container {
    padding: 0 20px;
  }

  /* Hero */
  .hero {
    height: auto;
    min-height: 480px;
    padding: 56px 0;
    margin-bottom: 32px;
    background: url("../img/banner-mb.png") center 15% / cover no-repeat;
  }
  .hero-content {
    margin-left: 0;
    padding: 0 20px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero-eyebrow {
    font-size: 1rem;
  }

  /* Intro section */
  .section-intro {
    height: auto;
    padding: 56px 0;
  }
  .h2-bar {
    font-size: 28px;
    margin-bottom: 28px;
  }
  .intro-block {
    max-width: 100%;
  }

  /* Services */
  .section-services {
    padding: 48px 0 64px;
  }
  .h2-icon {
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 20px;
  }
  .service-cards {
    grid-template-columns: 1fr;
  }
  .service-card-body {
    padding: 1rem 0 0;
  }

  /* Philosophy */
  .section-philosophy {
    height: auto;
    padding: 48px 0;
    background-size: cover;
  }
  .section-philosophy .h2-icon {
    padding-top: 0;
  }
  .philosophy-items {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 48px;
  }
  .philosophy-item {
    width: 100%;
    max-width: 320px;
  }
  .philosophy-item.item-adjust {
    top: 0;
  }

  /* Philosophy variant: gold block + photo (worklines) */
  .section-philosophy.section-worklines-photo {
    padding: 40px 0;
  }
  .worklines-title {
    font-size: 26px;
  }
  .worklines-subtitle {
    font-size: 28px;
    margin-bottom: 24px;
  }
  .worklines-photo-row {
    flex-direction: column;
    gap: 24px;
  }
  .worklines-photo {
    width: 100%;
  }

  /* Footer */
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: span 1;
    padding-right: 0;
  }
  .footer-logo img {
    width: 110px;
  }
  .footer-tagline {
    margin-top: 12px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .scroll-top {
    right: 20px;
    bottom: 1rem;
    width: 44px;
    height: 44px;
  }
}


