
.az-redpadstructure-section {
  width: 100%;
  padding: 30px 20px;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.az-redpadstructure-section *,
.az-redpadstructure-section *::before,
.az-redpadstructure-section *::after {
  box-sizing: border-box;
}

.az-redpadstructure-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.az-redpadstructure-heading {
  max-width: 880px;
  margin: 0 0 43px;
}

.az-redpadstructure-heading > span {
  display: inline-block;
  margin-bottom: 12px;
  color: #162a9f;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 2px;
}

.az-redpadstructure-heading h2 {
  margin: 0 0 15px;
  color: #0d164e;
  font-size: clamp(31px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  text-transform: uppercase;
}

.az-redpadstructure-heading p {
  max-width: 790px;
  margin: 0;
  color: #5b6684;
  font-size: 16px;
  line-height: 1.75;
}

.az-redpadstructure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.az-redpadstructure-card {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  padding: 31px 28px 27px;
  background: #ffffff;
  border: 1px solid rgba(22, 42, 159, 0.14);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(13, 22, 78, 0.07);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.az-redpadstructure-card:hover {
  border-color: rgba(22, 42, 159, 0.34);
  box-shadow: 0 20px 42px rgba(13, 22, 78, 0.12);
  transform: translateY(-4px);
}

.az-redpadstructure-line {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  background: var(--structure-color);
}

.az-redpadstructure-fiber {
  --structure-color: linear-gradient(90deg, #d92f3a, #ff6a72);
  --structure-solid: #c9222e;
  --structure-light: #fff0f1;
}

.az-redpadstructure-grain {
  --structure-color: linear-gradient(90deg, #f2a900, #ffd35b);
  --structure-solid: #bc7900;
  --structure-light: #fff8e5;
}

.az-redpadstructure-resin {
  --structure-color: linear-gradient(90deg, #4d6dff, #162a9f);
  --structure-solid: #162a9f;
  --structure-light: #eef2ff;
}

.az-redpadstructure-voids {
  --structure-color: linear-gradient(90deg, #00a6c7, #48d2e8);
  --structure-solid: #007f99;
  --structure-light: #eafcff;
}

.az-redpadstructure-card-head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 21px;
}

.az-redpadstructure-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: #ffffff;
  background: var(--structure-solid);
  border-radius: 16px;
  box-shadow: 0 9px 20px rgba(13, 22, 78, 0.15);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  transition:
    border-radius 0.3s ease,
    transform 0.3s ease;
}

.az-redpadstructure-card:hover .az-redpadstructure-number {
  border-radius: 50%;
  transform: rotate(-7deg);
}

.az-redpadstructure-card-head small {
  display: block;
  margin-bottom: 6px;
  color: var(--structure-solid);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 1.3px;
}

.az-redpadstructure-card-head h3 {
  margin: 0;
  color: #0d164e;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}

.az-redpadstructure-card > p {
  margin: 0 0 22px;
  color: #5b6684;
  font-size: 14px;
  line-height: 1.78;
}

.az-redpadstructure-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.az-redpadstructure-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 7px 10px;
  color: var(--structure-solid);
  background: var(--structure-light);
  border: 1px solid color-mix(in srgb, var(--structure-solid) 20%, transparent);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.az-redpadstructure-notice {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 25px;
  padding: 25px 28px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at top right,
      rgba(77, 109, 255, 0.55),
      transparent 34%
    ),
    linear-gradient(135deg, #0d164e, #162a9f);
  border-radius: 20px;
  box-shadow: 0 18px 39px rgba(13, 22, 78, 0.17);
}

.az-redpadstructure-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  color: #162a9f;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 10px 23px rgba(0, 0, 0, 0.2);
  font-size: 15px;
  font-weight: 900;
}

.az-redpadstructure-notice strong {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0.7px;
}

.az-redpadstructure-notice p {
  max-width: 880px;
  margin: 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .az-redpadstructure-section {
    padding: 42px 16px;
  }

  .az-redpadstructure-heading {
    margin-bottom: 31px;
  }

  .az-redpadstructure-heading h2 {
    font-size: 29px;
  }

  .az-redpadstructure-heading p {
    font-size: 14px;
    line-height: 1.7;
  }

  .az-redpadstructure-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .az-redpadstructure-card {
    min-height: 0;
    padding: 27px 19px 21px;
    border-radius: 17px;
  }

  .az-redpadstructure-card:hover {
    transform: none;
  }

  .az-redpadstructure-card-head {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
    margin-bottom: 17px;
  }

  .az-redpadstructure-number {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 11px;
  }

  .az-redpadstructure-card-head h3 {
    font-size: 18px;
  }

  .az-redpadstructure-card > p {
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.72;
  }

  .az-redpadstructure-notice {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 15px;
    margin-top: 19px;
    padding: 21px 17px;
    border-radius: 17px;
  }

  .az-redpadstructure-notice-icon {
    width: 54px;
    height: 54px;
    font-size: 13px;
  }

  .az-redpadstructure-notice strong {
    font-size: 12px;
  }

  .az-redpadstructure-notice p {
    font-size: 12px;
    line-height: 1.65;
  }
}

@media (max-width: 480px) {
  .az-redpadstructure-notice {
    grid-template-columns: 1fr;
  }

  .az-redpadstructure-notice-icon {
    width: 48px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .az-redpadstructure-card,
  .az-redpadstructure-number {
    transition: none;
  }
}
