/* =========================
  Home Page Sections
========================= */

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .91) 2%, rgba(255, 255, 255, .40) 10%, rgba(255, 255, 255, .06) 50%), url('../images/hero-bg.png') center/cover no-repeat;
  transform: scale(1.01)
}

.hero-inner {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding-top: 82px
}

.hero-copy {
  max-width: 623px
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase
}

.eyebrow.light {
  color: #6fd3ff
}

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 1.38;
  letter-spacing: .08em;
  font-weight: 900
}

.hero-lead {
  margin: 28px 0 0;
  color: var(--navy);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.9;
  font-weight: 800
}

.hero-actions {
  display: flex;
  gap: 22px;
  margin-top: 38px
}

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

.mvv-card {
  padding: 20px 48px;
  border-right: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 32px
}

.mvv-card:last-child {
  border-right: 0
}

.mvv-header {
  display: flex;
  align-items: center;
  gap: 20px
}

.mvv-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0
}

.mvv-icon img {
  width: 32px;
  height: 32px;
  margin: 0
}

.mvv-icon.mission {
  background: #e8f1ff
}

.mvv-icon.vision {
  background: #e0f7ff
}

.mvv-icon.value {
  background: #eaf6ee
}

.mvv-card h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .02em
}

.mvv-card:nth-child(1) .mvv-header,
.strength-card:nth-child(1) h3 {
  color: #0047a5
}

.mvv-card:nth-child(2) .mvv-header,
.strength-card:nth-child(2) h3 {
  color: #009fe8
}

.mvv-card:nth-child(3) .mvv-header,
.strength-card:nth-child(3) h3 {
  color: #3cae6c
}

.mvv-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
  font-weight: 500
}

.founding-team-section {
  background: linear-gradient(180deg, #eef7ff 0%, #f8fbff 100%);
  padding: 34px 0 44px
}

.founding-team-section .section-title {
  margin-bottom: 18px
}

.founding-team-section .section-heading p {
  max-width: 680px;
  margin-top: 14px;
  color: #28415e;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.75
}

.founding-team-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 10px;
  align-items: stretch
}

.founder-card {
  min-height: 462px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid #dfeaf4;
  border-radius: 8px;
  padding: 22px 22px 16px;
  box-shadow: 0 10px 28px rgba(6, 40, 74, .10)
}

.founder-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 26px;
}

.founder-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.founder-avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(6, 40, 74, .18)
}

.founder-avatar-blue {
  background: #002f66
}

.founder-avatar-green {
  background: linear-gradient(135deg, #1490a2, #1fa7aa)
}

.founder-profile-titles {
  display: flex;
  flex-direction: column;
}

.founder-profile-titles h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: .05em
}

.founder-role {
  margin: 0;
  color: #153454;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.5
}

.founder-profile {
  display: block;
}

.founder-description {
  margin: 0;
  color: #32465d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.9
}

.founder-career-layout {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 22px;
  align-items: start;
  margin-top: 24px
}

.founder-silhouette {
  position: relative;
  width: 92px;
  height: 194px;
  border-radius: 44px 44px 4px 4px;
  background: linear-gradient(180deg, #eaf3ff 0%, #dbe9f8 100%);
  overflow: hidden
}

.founder-photo {
  width: 92px;
  height: 194px;
  border-radius: 44px 44px 4px 4px;
  object-fit: cover;
  display: block;
}

.career-timeline {
  position: relative;
  display: grid;
  gap: 14px;
  padding-left: 26px
}

.career-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 9px;
  bottom: 11px;
  width: 2px;
  background: #b5cce5
}

.timeline-item {
  position: relative;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0
}

.timeline-dot {
  position: absolute;
  top: 5px;
  left: -24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #789bbf;
  box-shadow: 0 0 0 2px #e8f2ff
}

.timeline-item h4 {
  margin: 0 0 4px;
  color: #12365d;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 900
}

.timeline-item p {
  margin: 0;
  color: #40556d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.75
}

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

.expertise-item {
  padding: 20px;
  background: #fff;
  border: 1px solid #e2edf6;
  border-radius: 8px;
  transition: .2s;
  height: 100%;
}

.expertise-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.expertise-icon {
  width: 24px;
  height: 24px;
  color: #12365d;
  flex-shrink: 0;
}

.expertise-item h4 {
  margin: 0;
  color: #12365d;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.expertise-item p {
  margin: 0;
  color: #3b5067;
  font-size: 13px;
  line-height: 1.7;
}

.services {
  background: #ffffff;
}

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

.service-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: .25s
}

.service-card:hover {
  transform: translateY(-6px)
}

.service-image {
  height: 232px;
  overflow: hidden;
  background: #dce9f2
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s;
  filter: saturate(.95)
}

.service-card:hover .service-image img {
  transform: scale(1.05)
}

.service-body {
  position: relative;
  padding: 48px 32px 34px
}

.service-icon {
  position: absolute;
  top: -36px;
  left: 30px;
  width: 72px;
  height: 72px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(6, 40, 74, .16);
  display: grid;
  place-items: center;
  overflow: hidden
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1) translateY(-2px);
}

.service-body h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 25px
}

.service-body p {
  margin: 0 0 22px;
  color: #344a61;
  font-weight: 500
}

.service-body a {
  color: var(--blue);
  font-weight: 900
}

.strength {
  position: relative;
  background: linear-gradient(180deg, #edf8ff, #fff);
  overflow: hidden
}

.strength::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../backgrounds/strength-bg.png') center/cover no-repeat;
  opacity: 1;
}

.strength .container {
  position: relative
}

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

.strength-card {
  text-align: center;
  padding: 0 30px;
  margin-bottom: 28px;
  margin-top: 28px;
  border-right: 1px solid #abbecb
}

.strength-card:last-child {
  border-right: 0
}

.strength-card img {
  width: 64px;
  height: 64px;
  margin: 0 10px 0 0
}

.strength-card h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 22px
}

.strength-card p {
  margin: 0;
  color: #3b5067;
  font-weight: 500
}

.story-inner {
  display: flex;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(6, 40, 74, 0.08);
  align-items: stretch;
  padding: 0;
  margin-top: 40px;
}

.story-copy {
  flex: 1;
  padding: 40px 40px 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.story-title {
  margin-bottom: 24px;
  text-align: center
}

.story-copy .btn-story {
  margin-top: 32px;
}

.story-title h2 {
  margin: 0;
  color: var(--navy);
  font-size: 32px;
  letter-spacing: .12em;
  line-height: 1.2;
  font-weight: 700
}

.story-title h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background: var(--navy);
  margin: 16px auto 0
}

.story-copy p {
  margin: 0 0 4px;
  font-weight: 500;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5
}

.story-image {
  flex: 1;
  position: relative;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0% 100%);
  margin-left: -8%
}

.story-image img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

.company-info-section {
  background-color: #edf7ff;
  background-image:
    linear-gradient(90deg, rgba(239, 248, 255, .96), rgba(255, 255, 255, .70)),
    linear-gradient(135deg, #eef8ff 0%, #fff 48%, #e7f5ff 100%);
  background-position: center;
  background-size: cover;
  padding: 24px 0 28px
}

.company-info-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 42px;
  align-items: center;
  min-height: 196px
}

.company-info-copy .section-title {
  margin-bottom: 18px
}

.company-info-copy .section-title h2 {
  font-size: 26px;
  letter-spacing: .08em
}

.company-info-copy p {
  margin: 0;
  color: #263f5c;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.9
}

.company-info-card {
  background: #fff;
  border: 1px solid #e2edf6;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(6, 40, 74, 0.04);
  overflow: hidden
}

.company-info-list {
  margin: 0;
  padding: 12px 32px
}

.company-info-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid #eef3f8;
  align-items: start
}

.company-info-row:last-child {
  border-bottom: 0
}

.company-info-row dt {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6
}

.company-info-row dd {
  margin: 0;
  color: #3b5067;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

/* =========================
  Case Studies Section (Front Page)
========================= */
.case-label {
  margin: 0 0 14px;
  color: #0b5f9f;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* =========================
   Responsive: Tablet (≤1023px)
========================= */
@media (max-width: 1023px) {
  .hero {
    min-height: 560px;
  }

  .hero-inner {
    min-height: 560px;
    padding-top: 64px;
  }

  .hero-copy {
    max-width: 520px;
  }

  /* MVV → 单列 */
  .mvv-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mvv-card {
    padding: 28px 24px;
    border-right: none;
    border-bottom: 1px solid #eee;
  }

  .mvv-card:last-child {
    border-bottom: none;
  }

  /* Services → 两列 */
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Strength → 单列 */
  .strength-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .strength-card {
    border-right: none;
    border-bottom: 1px solid rgba(171, 190, 203, 0.4);
    padding: 24px 16px;
    text-align: left;
  }

  .strength-card:last-child {
    border-bottom: none;
  }

  /* Story → 垂直堆叠 */
  .story-inner {
    flex-direction: column;
  }

  .story-image {
    clip-path: none;
    margin-left: 0;
  }

  .story-image img {
    min-height: 280px;
  }

  .story-copy {
    padding: 36px 32px;
  }

  /* Company Info → 垂直堆叠 */
  .company-info-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .company-info-copy .section-title {
    text-align: center;
  }

  .company-info-copy .section-title.align-left {
    text-align: center;
  }

  .section-heading-left .section-heading-line {
    margin: 18px auto 0;
  }

  /* Founding Team → 单列 */
  .founding-team-grid {
    grid-template-columns: 1fr;
  }

  /* Expertise Grid → 两列 */
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================
   Responsive: Mobile (≤767px)
========================= */
@media (max-width: 767px) {
  .hero {
    min-height: 480px;
  }

  .hero-inner {
    min-height: 480px;
    padding-top: 56px;
  }

  .hero h1 {
    font-size: clamp(28px, 7vw, 42px);
  }

  .hero-lead {
    font-size: 15px;
    margin-top: 18px;
  }

  .hero-copy {
    width: 80%;
    max-width: 80%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
  }

  .hero-actions .btn {
    width: 240px;
    max-width: 100%;
    justify-content: center;
  }

  /* MVV */
  .mvv-card {
    padding: 22px 16px;
    gap: 18px;
  }

  .mvv-card h3 {
    font-size: 20px;
  }

  .mvv-icon {
    width: 48px;
    height: 48px;
  }

  .mvv-icon img {
    width: 24px;
    height: 24px;
  }

  /* Services → 单列 */
  .service-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-image {
    height: 180px;
  }

  .service-body {
    padding: 40px 24px 28px;
  }

  .service-body h3 {
    font-size: 20px;
  }

  /* Strength */
  .strength-card {
    margin: 0;
    padding: 20px 12px;
  }

  .strength-card h3 {
    font-size: 18px;
  }

  /* Story */
  .story-inner {
    border-radius: 16px;
    margin-top: 24px;
  }

  .story-copy {
    padding: 28px 22px;
  }

  .story-title h2 {
    font-size: 24px;
  }

  .story-copy p {
    font-size: 14px;
  }

  .story-image img {
    min-height: 220px;
  }

  /* Company Info */
  .company-info-section {
    padding: 28px 0;
  }

  .company-info-copy .section-title h2 {
    font-size: 22px;
  }

  .company-info-copy p {
    font-size: 13px;
    text-align: center;
  }

  .company-info-list {
    padding: 8px 18px;
  }

  .company-info-row {
    grid-template-columns: 80px 1fr;
    gap: 12px;
    padding: 10px 0;
  }

  .company-info-row dt,
  .company-info-row dd {
    font-size: 13px;
  }

  /* Founding Team */
  .founder-card {
    min-height: auto;
    padding: 18px;
  }

  .founder-avatar {
    width: 62px;
    height: 62px;
    font-size: 24px;
  }

  .founder-profile-titles h3 {
    font-size: 20px;
  }

  .founder-career-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .founder-silhouette,
  .founder-photo {
    width: 100%;
    max-width: 180px;
    height: 160px;
    margin: 0 auto;
  }

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