:root {
  --ink: #11215f;
  --muted: #65718c;
  --line: #dfe5ef;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --brand: #10227c;
  --brand-dark: #081653;
  --accent: #cda44f;
  --accent-dark: #a77d2f;
  --gold-soft: #f6efe0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(16, 34, 124, 0.12);
  box-shadow: 0 8px 24px rgba(16, 34, 124, 0.08);
  backdrop-filter: blur(10px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brand);
  font-weight: 700;
  font-size: 19px;
}

.brand img {
  width: 72px;
  height: 52px;
  object-fit: contain;
  border-radius: 4px;
  background: transparent;
  padding: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--brand);
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links .active {
  color: var(--accent);
}

.language {
  padding: 7px 12px;
  border: 1px solid rgba(16, 34, 124, 0.2);
  border-radius: 4px;
  color: var(--brand);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--brand-dark);
  color: white;
  text-align: center;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 22, 83, 0.92), rgba(16, 34, 124, 0.7)),
    linear-gradient(135deg, rgba(205, 164, 79, 0.2), transparent 45%);
  pointer-events: none;
}

.hero-slider {
  position: absolute;
  inset: 0;
  display: flex;
  width: 300%;
  animation: heroSlide 16s infinite;
}

.hero-slide {
  flex: 0 0 33.3333%;
  background-position: center;
  background-size: cover;
}

.hero-slide-one {
  background-image: url("../image/site-hero-hong-kong.jpeg");
}

.hero-slide-two {
  background-image: url("../image/cement-plant-a.jpeg");
}

.hero-slide-three {
  background-image: url("../image/cement-plant-c.jpeg");
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  align-content: center;
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 14px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
}

.lead {
  max-width: 680px;
  margin-bottom: 30px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.88);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  border-radius: 3px;
  background: var(--accent);
  color: white;
  font-weight: 700;
}

.button:hover {
  background: var(--accent-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand);
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 40px auto;
  padding: 24px 0;
}

.section-title {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-title h2 {
  margin-bottom: 10px;
  font-size: 34px;
  line-height: 1.15;
}

.section-title h1,
.section-title h2 {
  color: var(--brand);
}

.section-title h1::after,
.section-title h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  margin: 14px auto 0;
  background: var(--accent);
}

.section-title p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 46px;
  align-items: center;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    url("../image/cement-plant-b.jpeg") center center / cover no-repeat;
  color: #fff;
}

.page-hero .section {
  position: relative;
  z-index: 1;
  margin-top: 0;
  margin-bottom: 0;
  padding: 86px 0;
}

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

.page-hero .lead {
  color: rgba(255, 255, 255, 0.86);
}

.page-hero .eyebrow {
  color: var(--accent);
}

.panel {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
  background: var(--paper);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.accent-panel {
  border-top: 4px solid var(--accent);
}

.image-panel {
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

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

.soft-band {
  background: transparent;
}

.feature-band {
  background: linear-gradient(180deg, #eef2fb, #f8fafc);
}

.feature-band .section {
  margin-bottom: 0;
}

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

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

.card {
  min-height: 210px;
  padding: 26px;
  border: 0;
  border-top: 4px solid var(--accent);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(16, 34, 124, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(16, 34, 124, 0.14);
}

.card h3 {
  margin-bottom: 10px;
  color: var(--brand-dark);
  font-size: 21px;
}

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

.partner-logos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.partner-logos img {
  width: 100%;
  min-height: 150px;
  object-fit: contain;
  padding: 24px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 34, 124, 0.08);
}

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

.timeline article {
  position: relative;
  padding: 26px;
  border-radius: 6px;
  background: #fff;
  border-top: 4px solid var(--accent);
  box-shadow: 0 12px 28px rgba(16, 34, 124, 0.08);
}

.timeline strong {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-dark);
}

.timeline h3 {
  margin-bottom: 10px;
}

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

.stat {
  padding: 22px;
  border-left: 4px solid var(--accent);
  background: var(--soft);
}

.stat strong {
  display: block;
  color: var(--brand);
  font-size: 30px;
}

.contact-list {
  display: grid;
  gap: 14px;
  color: var(--muted);
}

.contact-list strong {
  color: var(--ink);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  padding: 40px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.site-footer {
  background: var(--brand);
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroSlide {
  0%,
  26% {
    transform: translateX(0);
  }

  34%,
  60% {
    transform: translateX(-33.3333%);
  }

  68%,
  94% {
    transform: translateX(-66.6666%);
  }

  100% {
    transform: translateX(0);
  }
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 780px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .hero {
    background: var(--brand-dark);
  }

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

  .split,
  .grid,
  .grid.four,
  .stats,
  .timeline,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .partner-logos {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider {
    animation: none;
  }

  .reveal,
  .card {
    transition: none;
  }
}
