
/* ===== Aozhong Construction Section ===== */
.az-construction-section {
  width: 100%;
  padding: 40px 20px;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.az-construction-container {
  max-width: 1180px;
  margin: 0 auto;
}

.az-construction-head {
  max-width: 820px;
  margin-bottom: 46px;
}

.az-construction-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  font-weight: 700;
  color: #cf1f2e;
}

.az-construction-head h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 800;
  color: #101820;
}

.az-construction-head p {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: #5f6b76;
}

.az-construction-layout {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 24px;
}

/* Common Card */
.az-layer-visual-card,
.az-construction-table-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  box-sizing: border-box;
}

/* Left Structure Card */
.az-layer-visual-card {
  padding: 36px 32px;
  background:
    linear-gradient(145deg, rgba(16, 24, 32, 0.96), rgba(31, 43, 54, 0.96)),
    radial-gradient(circle at top right, rgba(207, 31, 46, 0.32), transparent 38%);
  box-shadow: 0 24px 60px rgba(16, 24, 32, 0.22);
  color: #ffffff;
}

.az-layer-title {
  margin-bottom: 30px;
  position: relative;
  z-index: 3;
}

.az-layer-title span,
.az-table-title span {
  display: inline-block;
  margin-bottom: 10px;
  color: #cf1f2e;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 800;
}

.az-layer-title h3,
.az-table-title h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 850;
}

.az-layer-stack {
  position: relative;
  z-index: 3;
}

.az-layer-item {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
  padding: 18px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: perspective(900px) rotateX(0deg);
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.az-layer-item:hover {
  transform: translateX(8px);
  background: rgba(207, 31, 46, 0.18);
  border-color: rgba(207, 31, 46, 0.45);
}

.az-layer-item:last-child {
  margin-bottom: 0;
}

.az-layer-number {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, #cf1f2e, #8f111d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(207, 31, 46, 0.32);
}

.az-layer-content h4 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
}

.az-layer-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.45;
}

/* Right Table Card */
.az-construction-table-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 24, 32, 0.08);
  box-shadow: 0 18px 45px rgba(16, 24, 32, 0.08);
}

.az-table-title {
  margin-bottom: 24px;
  position: relative;
  z-index: 3;
}

.az-table-title h3 {
  color: #101820;
}

.az-construction-table {
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #e2e6ea;
  position: relative;
  z-index: 3;
}

.az-construction-row {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 70px;
  background: #ffffff;
  border-bottom: 1px solid #e2e6ea;
  transition: background 0.35s ease, transform 0.35s ease;
}

.az-construction-row:last-child {
  border-bottom: none;
}

.az-construction-header {
  min-height: 58px;
  background: #101820;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  font-weight: 800;
}

.az-construction-row > div {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  box-sizing: border-box;
  position: relative;
  z-index: 3;
}

.az-construction-row:not(.az-construction-header) > div:first-child {
  color: #101820;
  font-size: 16px;
  font-weight: 800;
}

.az-construction-row:not(.az-construction-header) > div:last-child {
  color: #cf1f2e;
  font-size: 16px;
  font-weight: 800;
}

/* Row Hover Light Sweep */
.az-construction-row:not(.az-construction-header)::before,
.az-layer-visual-card::before,
.az-construction-table-card::before {
  content: "";
  position: absolute;
  top: -45%;
  left: -90%;
  width: 65%;
  height: 190%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.10) 28%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 255, 255, 0.12) 72%,
    transparent 100%
  );
  transform: rotate(10deg);
  transition: left 0.78s ease;
  pointer-events: none;
  z-index: 2;
}

.az-construction-row:not(.az-construction-header):hover::before,
.az-layer-visual-card:hover::before,
.az-construction-table-card:hover::before {
  left: 125%;
}

.az-construction-row:not(.az-construction-header):hover {
  background: linear-gradient(135deg, #f8fafc, #eef2f6);
  transform: translateX(5px);
}

/* Note */
.az-construction-note {
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f7f9fb, #eef2f6);
  border: 1px solid rgba(16, 24, 32, 0.08);
  color: #5f6b76;
  font-size: 15.8px;
  line-height: 1.7;
  position: relative;
  z-index: 3;
}

.az-construction-note strong {
  color: #101820;
  font-weight: 850;
}

/* Entrance Animation */
.az-layer-visual-card,
.az-construction-table-card {
  opacity: 0;
  transform: translateY(24px);
  animation: azConstructionFadeUp 0.75s ease forwards;
}

.az-layer-visual-card {
  animation-delay: 0.05s;
}

.az-construction-table-card {
  animation-delay: 0.18s;
}

@keyframes azConstructionFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .az-construction-layout {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 680px) {
  .az-construction-section {
    padding: 64px 16px;
  }

  .az-construction-head {
    margin-bottom: 32px;
  }

  .az-construction-head p {
    font-size: 15.5px;
  }

  .az-layer-visual-card,
  .az-construction-table-card {
    border-radius: 20px;
    padding: 28px 22px;
  }

  .az-layer-title h3,
  .az-table-title h3 {
    font-size: 24px;
  }

  .az-layer-item {
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 16px;
  }

  .az-layer-number {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 13px;
  }

  .az-construction-table {
    border: none;
    border-radius: 0;
    overflow: visible;
  }

  .az-construction-header {
    display: none;
  }

  .az-construction-row {
    display: block;
    min-height: auto;
    margin-bottom: 14px;
    border: 1px solid #e2e6ea;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(16, 24, 32, 0.06);
  }

  .az-construction-row:last-child {
    margin-bottom: 0;
  }

  .az-construction-row > div {
    display: block;
    padding: 15px 18px;
  }

  .az-construction-row:not(.az-construction-header) > div:first-child::before {
    content: "Layer";
    display: block;
    margin-bottom: 7px;
    color: #8b97a3;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
  }

  .az-construction-row:not(.az-construction-header) > div:last-child::before {
    content: "Material";
    display: block;
    margin-bottom: 7px;
    color: #8b97a3;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
  }

  .az-construction-note {
    padding: 20px;
    font-size: 15px;
  }
}
