/* Homepage sections and carousels. Shared styles are in common.css. */
.about .eyebrow {
  text-align: left;
}

.heading-rule,
.project-heading-rule,
.news-heading-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 20px auto 0;
}

.heading-rule::before,
.heading-rule::after,
.project-heading-rule::before,
.project-heading-rule::after,
.news-heading-rule::before,
.news-heading-rule::after {
  content: '';
  width: 32px;
  height: 1.5px;
  background: #d4e0ec;
  border-radius: 9999px;
}

.heading-rule span,
.project-heading-rule span,
.news-heading-rule span {
  display: block;
  width: 38px;
  height: 3.5px;
  background: var(--orange);
  border-radius: 9999px;
}

.about-text .heading-rule {
  justify-content: flex-start;
  margin: 18px 0 22px 0;
}

.hero {
  position: relative;
  height: calc(100vh - 118px);
  height: calc(100dvh - 118px);
  background: #021a36;
  color: #fff;
  overflow: hidden;
  padding: 0;
}

.hero .hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-swiper .swiper-slide {
  height: 100%;
}

.hero-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(3, 24, 46, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  box-shadow: 0 8px 32px rgba(2, 22, 45, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  z-index: 10;
  user-select: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-controls:hover {
  background: rgba(3, 24, 46, 0.82);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 12px 36px rgba(2, 22, 45, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.slider-controls #previous-slide,
.slider-controls #next-slide {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  font-size: 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-controls #previous-slide:hover,
.slider-controls #next-slide:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(255, 121, 8, 0.45);
}

.slider-controls #previous-slide:active,
.slider-controls #next-slide:active {
  transform: scale(0.92);
}

.hero-pagination {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  padding: 0 2px;
}

.hero-pagination .slide-dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 10px;
  border-radius: 9999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid transparent;
  cursor: pointer;
  opacity: 1;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-pagination .slide-dot:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.15);
}

.hero-pagination .slide-dot.selected {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 121, 8, 0.45);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
.slider-controls {
    bottom: 16px;
    padding: 4px 8px;
    gap: 6px;
  }

.slider-controls #previous-slide,
  .slider-controls #next-slide {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }

.hero-pagination {
    gap: 4px;
    padding: 0 2px;
  }

.hero-pagination .slide-dot {
    min-width: 30px;
    height: 26px;
    padding: 0 8px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
.slider-controls {
    bottom: 12px;
    padding: 3px 6px;
    gap: 4px;
  }

.slider-controls #previous-slide,
  .slider-controls #next-slide {
    width: 26px;
    height: 26px;
    font-size: 9px;
  }

.hero-pagination {
    gap: 3px;
  }

.hero-pagination .slide-dot {
    min-width: 26px;
    height: 24px;
    padding: 0 6px;
    font-size: 11px;
  }
}

.about {
  background: linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .5)), #f0f7ff url('../images/index-about.png') center / cover no-repeat;
  padding: 84px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  min-width: 0;
}

.about .eyebrow {
  text-align: left;
  margin-bottom: 12px;
}

.about h2 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin: 0 0 16px;
}

.about h2 span {
  color: var(--orange);
}

.about .body-copy {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 32px;
}

.about .learn-more-btn {
  height: 48px;
  padding: 0 32px;
  font-size: 15px;
  border-radius: 9999px;
  background: var(--orange);
  color: #fff;
}

.about-photo-wrap {
  min-width: 0;
}

.about .about-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 910 / 493;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(8, 44, 83, 0.08);
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 22px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(8, 44, 83, 0.04);
  border: 1px solid #e7effa;
}

.about .hl-icon {
  width: 68px;
  height: 68px;
  aspect-ratio: 1;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: contain;
}

.highlight-copy {
  border-left: 1px solid #e7effa;
  padding-left: 14px;
  min-width: 0;
}

.highlight-copy h3 {
  color: var(--navy);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 6px;
}

.highlight-copy p {
  color: #5c6e8b;
  font-size: 13.5px;
  line-height: 1.45;
  margin: 0;
}

.products {
  background: #eef7ff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  display: block;
  text-align: left;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(10, 35, 65, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  padding: 0;
  border: 1px solid rgba(8, 44, 83, 0.04);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(8, 44, 83, 0.12);
}

.product-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-card .card-label {
  padding: 16px 18px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #fff;
}

.product-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

.product-card i {
  color: var(--orange);
  font-size: 13px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.product-card:hover i {
  transform: translateX(3px);
}

.advantages {
  background: #eef7ff url('../images/index-why.png') center / cover no-repeat;
  padding: 80px 0;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.advantage-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 28px 84px;
  border: 1px solid #e6f0fa;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 22px rgba(8, 44, 83, 0.04);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.advantage-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(8, 44, 83, 0.09);
  border-color: #c9def5;
}

.advantage-grid article::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 60px;
  background: url('../images/why-card-wave.png') center / 100% 100% no-repeat;
  pointer-events: none;
}

.advantage-grid article > img.adv-icon {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 50%;
  margin: 0 auto 16px;
}

.advantage-grid h3 {
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.3px;
  margin: 0;
}

.advantage-grid h3::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  margin: 14px 0 10px;
  background: var(--orange);
}

.advantage-grid p {
  font-size: 14px;
  line-height: 1.55;
  color: #607394;
  margin: 0;
}

.advantage-link {
  position: absolute;
  right: 24px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #e9f0fa;
  box-shadow: 0 2px 6px rgba(8, 44, 83, 0.06);
  color: var(--orange);
  background: #fff;
  font-size: 18px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.advantage-link:hover {
  background: var(--orange);
  color: #ffffff;
  border-color: var(--orange);
}

.projects {
  padding: 80px 0;
  background: #eef7ff;
}

.case-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.projects .project-swiper {
  width: 100%;
  overflow: hidden;
  padding-bottom: 10px;
}

.case-grid {
  display: flex;
  align-items: stretch;
}

.projects .case-card {
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(16, 44, 78, 0.06);
  background: #fff;
  overflow: hidden;
  border: 1px solid rgba(8, 44, 83, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.projects .case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(8, 44, 83, 0.12);
}

.projects .case-card > img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
}

.projects .case-info {
  padding: 18px 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  background: #fff;
  flex: 1;
  position: relative;
  text-align: left;
}

.case-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #7188a3;
}

.case-location i {
  color: var(--orange);
  font-size: 12px;
}

.case-info h3,
.case-title {
  font-size: 16.5px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  padding-right: 32px;
}

.case-arrow {
  position: absolute;
  right: 22px;
  bottom: 20px;
  color: var(--orange);
  font-size: 15px;
  transition: transform 0.25s ease;
}

.case-card:hover .case-arrow {
  transform: translateX(4px);
}

.projects .case-prev,
.projects .case-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 18px;
  transition: color 0.2s, background 0.2s, transform 0.2s;
  z-index: 10;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(8, 44, 83, 0.1);
  border: 1px solid #e5edf5;
}

.projects .case-prev {
  left: -24px;
}

.projects .case-next {
  right: -24px;
}

.projects .case-prev:hover,
.projects .case-next:hover {
  color: #fff;
  background: var(--navy);
  transform: translateY(-50%) scale(1.05);
}

.project-list-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 0;
  background: none;
  border-bottom: 1px solid #dce7f3;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
}

.project-list-item:hover {
  color: var(--orange);
}

.news {
  padding: 80px 0;
  background: linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .5)), #eff6ff url('../images/index-new.png') center / cover no-repeat;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.news-card {
  padding: 0;
  text-align: left;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(10, 35, 65, 0.05);
  border: 1px solid rgba(8, 44, 83, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(8, 44, 83, 0.12);
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-card .news-card-body,
.news-card > div {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card .date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8fa0b3;
  font-size: 13px;
  margin-bottom: 10px;
}

.news-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 10px;
}

.news-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 16px;
  flex: 1;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s;
  padding: 0;
  align-self: flex-start;
}

.news-read-more i {
  color: var(--orange);
  transition: transform 0.2s;
}

.news-read-more:hover {
  color: var(--orange);
}

.news-read-more:hover i {
  transform: translateX(3px);
}

.news-list-item {
  display: grid;
  gap: 6px;
  text-align: left;
  width: 100%;
  padding: 14px 0;
  background: none;
  border-bottom: 1px solid #dce7f3;
  color: var(--navy);
}

.news-list-item span {
  font-size: 13px;
  color: var(--muted);
}

.news-list-item strong {
  font-size: 15px;
}

.news-list-item:hover strong {
  color: var(--orange);
}

@media (max-width: 1200px) {
h2, .section-heading h2, .about h2 { font-size: 38px; }

.about-grid { gap: 40px; }

.about-highlights { grid-template-columns: repeat(2, 1fr); }

.advantage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.projects .case-prev { left: -15px; }

.projects .case-next { right: -15px; }
}

@media (max-width: 960px) {
.section { padding: 56px 0; }
h2, .section-heading h2, .about h2 { font-size: 32px; }

.hero {
    height: auto;
  }

.hero .hero-swiper { height: auto; }

.hero-swiper .swiper-slide { height: auto; }

.hero-swiper .swiper-slide img { height: auto; object-fit: contain; }

.about-grid { grid-template-columns: 1fr; gap: 30px; }

.product-grid { grid-template-columns: repeat(2, 1fr); }

.projects .case-prev { width: 40px; height: 40px; font-size: 16px; left: -10px; }

.projects .case-next { width: 40px; height: 40px; font-size: 16px; right: -10px; }
}

@media (max-width: 600px) {
.section { padding: 48px 0; }
h2, .section-heading h2, .about h2 { font-size: 26px; }

.about-title-break, .project-heading-break, .news-heading-break, .why-heading-break { display: none; }

.product-grid, .advantage-grid, .news-grid {
    grid-template-columns: 1fr;
  }

.about-highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 28px;
  }

.highlight-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 10px;
    gap: 10px;
    border-radius: 12px;
  }

.about .hl-icon {
    width: 48px;
    height: 48px;
  }

.highlight-copy {
    border-left: none;
    border-top: 1px solid #e7effa;
    padding-left: 0;
    padding-top: 8px;
    width: 100%;
  }

.highlight-copy h3 {
    font-size: 14px;
    line-height: 1.25;
    margin: 0 0 4px;
  }

.highlight-copy p {
    font-size: 11.5px;
    line-height: 1.35;
  }
}

.product-carousel { position: relative; }

.products .product-swiper { width: 100%; overflow: hidden; padding: 5px 0 24px; margin-bottom: -24px; }

.products .product-grid.swiper-wrapper { display: flex; grid-template-columns: none; gap: 0; align-items: stretch; }

.products .product-card.swiper-slide { flex-shrink: 0; height: auto; }

.products .product-card img { aspect-ratio: 1 / 1; height: auto; }

.products .product-card:focus-visible { outline-offset: -4px; }

.product-prev, .product-next { position: absolute; top: 45%; transform: translateY(-50%); z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: white; color: var(--navy); box-shadow: 0 4px 16px #082c531a; border: 1px solid #e2ecf7; }

.product-prev { left: -23px; }

.product-next { right: -23px; }

.product-prev:hover, .product-next:hover { background: var(--navy); color: white; }

.product-carousel .swiper-button-lock { display: none; }

@media (max-width: 600px) {
.product-prev, .product-next { width: 38px; height: 38px; }

.product-prev { left: -15px; }

.product-next { right: -15px; }
}

.products .product-carousel,
.projects .case-wrapper {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 16px;
}

.products .product-swiper,
.projects .project-swiper { min-width: 0; width: 100%; }

.products .product-prev, .products .product-next,
.projects .case-prev, .projects .case-next {
  position: static;
  transform: none;
  width: 48px;
  height: 48px;
  margin: 0;
}

.projects .case-prev:hover, .projects .case-next:hover { transform: none; }

.projects .case-info { justify-content: center; gap: 0; min-height: 86px; }

.projects .case-info h3 { margin: 0; }

@media (max-width: 600px) {
.products .product-carousel, .projects .case-wrapper {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 8px;
  }

.products .product-prev, .products .product-next,
  .projects .case-prev, .projects .case-next { width: 32px; height: 32px; font-size: 14px; }
}

@media (max-width: 600px) {
.advantages.section {
    padding: 40px 0;
  }

.advantages .advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

.advantages .advantage-grid article {
    padding: 16px 12px 14px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(8, 44, 83, 0.05);
    position: relative;
    overflow: hidden;
  }

.advantages .advantage-grid article::after {
    height: 38px;
    opacity: 0.85;
  }

.advantages .advantage-grid article > img.adv-icon {
    width: 52px;
    height: 52px;
    margin: 0 0 10px;
  }

.advantages .advantage-grid h3 {
    font-size: 14px;
    line-height: 1.25;
    letter-spacing: -0.2px;
    margin: 0 0 4px;
    min-height: 36px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-wrap: normal;
    word-break: normal;
  }

.advantages .advantage-grid h3 br {
    display: inline;
  }

.advantages .advantage-grid h3::after {
    margin: 6px 0 8px;
    width: 20px;
    height: 2px;
  }

.advantages .advantage-grid p {
    font-size: 11.5px;
    line-height: 1.4;
    color: #64748b;
    margin: 0 0 38px;
    flex: 1;
  }

.advantages .advantage-link {
    position: absolute;
    width: 28px;
    height: 28px;
    right: 12px;
    bottom: 12px;
    font-size: 12px;
    border-width: 1.5px;
    box-shadow: 0 2px 6px rgba(8, 44, 83, 0.08);
  }
}
