/* ========== Inner pages: contact / about / news / gallery / video ========== */

/* --- Contact (Azlab) --- */
.contact-bg-img {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 100%, rgba(9, 9, 121, 1) 100%),
    url(/assets/img/uploads/01_-_EY1_27131.jpg) center / cover;
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.contact-bg-img h3 {
  font-size: 44px;
  padding-bottom: 15px;
  color: #fff;
  margin: 0;
  font-weight: 600;
}

.contact-bg-img p {
  font-size: 20px;
  color: #fff;
  margin: 0;
}

.contact-bg-img p a {
  border-bottom: 1px solid #fff;
  transition: all 0.3s ease;
  color: #fff;
  text-decoration: none;
}

.contact-page {
  padding: 32px 0 0;
  background: #eeeeee;
}

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

.contact-icon-header svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.contact-icon-header svg path {
  fill: #b32c2f;
}

.contact-icon-header h3 {
  font-size: 1.75rem;
  margin: 0;
  font-weight: 600;
}

.contact-address {
  padding: 40px 0;
}

.contact-body p span,
.contact-address p span {
  font-weight: bold;
  font-size: 20px;
  display: inline-block;
  padding-bottom: 15px;
}

.contact-body {
  padding-top: 10px;
}

.cont-border {
  border-bottom: 1px solid #000;
  transition: all 0.3s ease;
  color: #000;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 8px;
}

.cont-border:hover {
  color: #b32c2f;
  border-bottom-color: #b32c2f;
}

.contact-numbers {
  padding-bottom: 20px;
}

.corporative-mail {
  padding: 20px 0;
}

.follow-us {
  padding-top: 10px;
}

.contact-social-media {
  display: flex;
  gap: 10px;
  padding: 14px 0 20px;
}

.contact-icon {
  width: 34px;
  height: 34px;
  background-color: #696969;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #454749;
  transition: 0.3s;
}

.contact-icon a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: #fff;
}

.contact-icon:hover {
  background: transparent;
}

.contact-icon:hover a {
  color: #454749;
}

/* Azlab form: gray page section, white inputs */
.elaqe-formu {
  padding-top: 3rem;
  margin-top: 0;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}

.elaqe-formu .input-box {
  position: relative;
  width: 100%;
}

.diamed-contact .elaqe-formu input.text,
.diamed-contact .elaqe-formu textarea.text,
.diamed-contact .elaqe-formu .input-box input,
.diamed-contact .elaqe-formu .input-box textarea,
.elaqe-formu input.text,
.elaqe-formu textarea.text,
.elaqe-formu .input-box input,
.elaqe-formu .input-box textarea {
  transition: all 0.3s ease;
  width: 100%;
  border: 2px solid #eaeaea !important;
  padding: 12px !important;
  border-radius: 3px;
  font-size: 14px;
  outline: none;
  background: #ffffff !important;
  background-color: #ffffff !important;
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  color: #000;
  box-shadow: none !important;
}

.elaqe-formu input.text,
.elaqe-formu .input-box input.text {
  height: 50px !important;
}

.elaqe-formu textarea.text,
.elaqe-formu .input-box textarea.text {
  height: 140px !important;
  min-height: 140px !important;
  resize: vertical;
}

.elaqe-formu input.text:focus,
.elaqe-formu textarea.text:focus,
.elaqe-formu .input-box input:focus,
.elaqe-formu .input-box textarea:focus {
  border-color: #b32c2f !important;
  background: #ffffff !important;
}

.elaqe-formu .submit-button {
  display: flex;
  justify-content: flex-end;
}

.btn-submit {
  color: #fff !important;
  border: none !important;
  margin-top: 20px;
  padding: 18px 70px !important;
  font-size: 15px;
  font-weight: 400;
  border-radius: 3px;
  cursor: pointer;
  transition: 0.3s;
  background: #b32c2f !important;
  line-height: 1.2;
  height: auto !important;
  width: auto !important;
}

.btn-submit:hover {
  background: rgba(116, 105, 4, 0.7) !important;
  color: #fff !important;
}

#map,
.contact-map {
  height: 500px;
  width: 100%;
  margin-top: 1.5rem;
  border: 0;
}

@media (max-width: 767px) {
  .contact-bg-img {
    padding: 60px 0;
  }
  .contact-bg-img h3 {
    font-size: 32px;
  }
  .contact-map,
  #map {
    height: 320px;
  }
}

/* --- About (AzinConstruction 1:1) --- */
.principles_section {
  margin-top: 0;
  padding-top: 140px;
}

/* Breadcrumb: Ana səhifə - Current */
.azlab-breadcrumb {
  padding: 24px 0 32px;
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.azlab-breadcrumb .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.36em;
}

.azlab-breadcrumb__home {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.azlab-breadcrumb__home:hover {
  color: #000;
  opacity: 0.75;
}

.azlab-breadcrumb__sep {
  color: #000;
  margin: 0 0.24em;
  font-weight: 500;
}

.azlab-breadcrumb__current {
  color: #8f8f8f;
  font-weight: 400;
}

/* Единый отступ breadcrumb → контент: только padding-bottom у breadcrumb */
.azlab-site:has(.azlab-breadcrumb) .principles_section,
.azlab-site:has(.azlab-breadcrumb) .diamed-fullstory,
.azlab-site:has(.azlab-breadcrumb) .news-page,
.azlab-site:has(.azlab-breadcrumb) .diamed-contact,
.azlab-site:has(.azlab-breadcrumb) .azlab-cat-content > section,
.azlab-site:has(.azlab-breadcrumb) .gallery-section,
.azlab-site:has(.azlab-breadcrumb) .partners-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.azlab-site:has(.azlab-breadcrumb) .contact-page {
  margin-top: 0 !important;
}

.azlab-cat-content > section {
  padding-bottom: 64px;
}

@media (max-width: 991px) {
  .azlab-breadcrumb {
    padding: 16px 0 24px;
    font-size: clamp(13px, 3.2vw, 16px);
    line-height: 1.35;
  }
}

.principles_wrapper {
  display: flex;
  justify-content: space-between;
}

.principles_left {
  width: 50%;
}

.principles_title {
  font-size: 34px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.3;
  margin: 0 0 20px;
  color: #000;
}

.principles_text {
  display: flex;
  flex-direction: column;
  gap: 32px;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: auto;
  line-height: 1.5;
  color: #555;
  text-align: justify;
}

.principles_text p {
  margin: 0;
}

.accordion_wrapper {
  display: none;
  flex-direction: column;
  gap: 48px;
  margin-top: 96px;
}

.acc_quest {
  display: flex;
  align-items: center;
  font-weight: 700;
  cursor: pointer;
}

.acc_btn {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 72px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 17px;
  text-decoration: underline;
  padding: 0;
  font-family: inherit;
}

.acc_quest_content {
  display: none;
}

.acc_card.active .acc_quest_content {
  display: block;
}

.acc_quest_content p {
  margin-top: 24px;
  margin-left: 33%;
  font-size: 15px;
  line-height: 1.3;
}

.acc_btn svg {
  transition: transform 0.3s ease;
}

.acc_card.active .acc_btn svg {
  transform: rotate(180deg);
}

.about_image {
  width: 560px;
  height: 780px;
  flex-shrink: 0;
}

.about_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#about_wrapper {
  height: 100vh;
  position: relative;
  margin-top: 96px;
  background: url(/assets/img/about/about_451-1024x687.jpg) center / cover no-repeat;
  overflow: hidden;
}

#about_wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

#about_wrapper .container {
  position: relative;
  z-index: 1;
  height: 100%;
}

.about_top {
  display: flex;
  justify-content: space-between;
  color: #fff;
}

.about_title {
  font-size: 76px;
  margin: 50px 0 0;
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
}

.about_text {
  width: 50%;
  font-size: 16px;
  line-height: 1.2;
  margin-top: 48px;
  color: #fff;
}

.about_text p {
  margin: 0;
}

.about_cards {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
  position: absolute;
  bottom: 0;
  margin-left: 26%;
}

.about_card {
  background: #fff;
  padding: 20px 30px;
  color: #111;
}

.about_number {
  position: relative;
  width: fit-content;
  margin-bottom: 64px;
}

.about_number span {
  font-size: 8rem;
  line-height: 92%;
  font-weight: 600;
}

.about_number sup {
  position: absolute;
  top: 20px;
  right: -30px;
  font-size: 64px;
}

.about_card_text {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .principles_wrapper {
    flex-direction: column;
    gap: 50px;
  }
  .principles_wrapper .about_image,
  .principles_wrapper .principles_left {
    width: 100%;
  }
  .principles_text {
    margin-left: 0;
  }
  .about_image {
    height: auto;
    max-height: 520px;
  }
  .about_top {
    flex-direction: column;
    gap: 24px;
  }
  .about_title {
    font-size: 42px;
    margin-top: 24px;
  }
  .about_text {
    width: 100%;
    margin-top: 0;
  }
  #about_wrapper {
    height: auto;
    min-height: 100vh;
    padding-bottom: 48px;
  }
}

/* --- News fullstory (AzinConstruction 1:1) --- */
.news-page {
  padding: 0 0 80px;
}

.news-page .container {
  max-width: none;
  width: 100%;
  padding-left: 60px;
  padding-right: 60px;
}

.news-page__row {
  display: flex;
}

.news-page__col {
  flex-shrink: 0;
}

.news-page__col:nth-child(1) {
  width: calc((((100vw - (60px * 2) - (20px * 11)) / 12) + 20px) * 3);
}

.news-page__col:nth-child(2) {
  width: calc((((100vw - (60px * 2) - (20px * 11)) / 12) + 20px) * 6 - 20px);
}

.news-page .link {
  margin-top: 6.4px;
  margin-bottom: 6.4px;
  margin-left: 6.4px;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.news-page .link__icon {
  margin-right: 19.2px;
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
}

.news-page .link__icon::before {
  --size: 22.4px;
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background-color: #104c8a;
  transition: 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.news-page .link:hover .link__icon::before {
  --size: 32px;
}

.news-page .link__svg {
  --size: 9.6px;
  width: var(--size);
  height: var(--size);
  transform: rotate(-90deg);
}

.news-page .link--left .link__svg {
  transform: rotate(90deg);
}

.news-page .link__text {
  color: #181d1d;
  font-weight: 500;
  font-size: 12.8px;
}

.news-page__content {
  font-weight: 500;
}

.news-page__top {
  margin-bottom: 48px;
}

.news-page__content h1 {
  margin: 0 0 25.6px;
  letter-spacing: -0.33px;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 600;
  color: #000;
}

.news-page__category {
  display: flex;
  align-items: center;
}

.news-page__date {
  margin-left: 0;
  font-weight: 600;
  letter-spacing: -0.08px;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1.1;
  color: #999;
}

.news-page__content img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
}

.news-page__content h4 {
  margin-top: 25.6px;
  letter-spacing: -0.32px;
  font-size: 16px;
  line-height: 1.6;
}

.news-page__content p {
  font-weight: 500;
  font-size: 14.4px;
  line-height: 1.6;
  margin: 0;
}

.news-page__content p:not(:first-child),
.news-page__content img + p,
.news-page__content p + p {
  margin-top: 16px;
}

@media (max-width: 991px) {
  .news-page .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .news-page__row {
    flex-direction: column;
    gap: 24px;
  }
  .news-page__col:nth-child(1),
  .news-page__col:nth-child(2) {
    width: 100%;
  }
  .news-page__content h1 {
    font-size: 24px;
  }
}

/* --- Product fullstory (Dalkhimpharm Allochol layout) --- */
.diamed-fullstory {
  padding: 0 0 80px;
}

.diamed-fullstory .diamed-product__title {
  margin: 0 0 28px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111;
}

.diamed-product {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2.7rem;
  margin: 0 0 2.4rem;
}

.diamed-product__media {
  flex: 0 0 min(46%, 520px);
  width: min(46%, 520px);
  padding: 2.3rem;
  border: 1px solid rgba(58, 58, 58, 0.15);
  border-radius: 26px;
  box-sizing: border-box;
  background: #fff;
}

.diamed-product__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.diamed-product__right {
  flex: 1;
  min-width: 0;
  width: 40%;
}

.diamed-product__characs > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0 0.5rem;
  font-size: 0.98rem;
  line-height: 1.25;
  border-bottom: 1px solid rgba(58, 58, 58, 0.15);
  word-break: break-word;
}

.diamed-product__characs > div:first-child {
  padding-top: 0;
}

.diamed-product__characs > div > span:first-child {
  opacity: 0.56;
  min-width: 15%;
  color: #3a3a3a;
}

.diamed-product__characs > div > span:last-child {
  text-align: right;
  color: #111;
}

.diamed-product__descr {
  margin: 1.4rem 0 0;
  font-size: 0.98rem;
  line-height: 1.35;
  color: #111;
}

.diamed-product__descr table {
  width: 100%;
  border: 1px solid rgba(58, 58, 58, 0.15);
  border-collapse: collapse;
}

.diamed-product__descr table td {
  padding: 6px 10px;
  border: 1px solid rgba(58, 58, 58, 0.15);
  vertical-align: top;
}

.diamed-product__descr table td:last-child {
  text-align: right;
  white-space: nowrap;
}

.diamed-product__descr table i {
  font-style: normal;
}

.diamed-product__descr p {
  margin: 12px 0 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #333;
}

@media (max-width: 1199px) {
  .diamed-product {
    gap: 2.2rem;
  }

  .diamed-product__media {
    flex-basis: 45%;
    width: 45%;
    padding: 1.9rem;
    border-radius: 18px;
  }

  .diamed-product__characs > div {
    font-size: 0.9rem;
    padding: 1rem 0 0.4rem;
  }

  .diamed-product__descr {
    font-size: 0.9rem;
  }
}

@media (max-width: 991px) {
  .diamed-product {
    flex-direction: column;
    gap: 1.3rem;
    margin: 0 0 1.3rem;
  }

  .diamed-product__media {
    flex: none;
    width: 100%;
    padding: 1.7rem;
    border-radius: 18px;
  }

  .diamed-product__right {
    width: 100%;
  }

  .diamed-product__characs > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    font-size: 1rem;
  }

  .diamed-product__characs > div > span:last-child {
    text-align: left;
  }

  .diamed-fullstory .diamed-product__title {
    font-size: 28px;
    margin-bottom: 18px;
  }
}

.diamed-related-products {
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(58, 58, 58, 0.15);
}

.diamed-related-products__title {
  margin: 0 0 1.4rem;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #111;
}

.diamed-related-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.diamed-related-products__card {
  height: 100%;
  padding: 6px 2px 2px;
}

.diamed-related-products .product-card__head {
  min-height: 3rem;
  gap: 4px;
}

.diamed-related-products .product-card__title {
  font-size: 16px;
  line-height: 1.3;
}

.diamed-related-products .product-card__subtitle {
  font-size: 12px;
  -webkit-line-clamp: 2;
}

.diamed-related-products .product-card__media {
  aspect-ratio: 1 / 1;
  padding: 16px 12px;
  border-radius: 18px;
}

.diamed-related-products .product-card__tags span,
.diamed-related-products .product-card__tag {
  font-size: 11px;
}

@media (max-width: 1199px) {
  .diamed-related-products__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 767px) {
  .diamed-related-products {
    margin-top: 1.6rem;
    padding-top: 1.4rem;
  }

  .diamed-related-products__title {
    margin-bottom: 1rem;
    font-size: 22px;
  }

  .diamed-related-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .diamed-related-products .product-card__title {
    font-size: 15px;
  }
}

@media (max-width: 479px) {
  .diamed-related-products__grid {
    grid-template-columns: 1fr;
  }
}

/* --- Gallery (DiamedPharma grid) --- */
.gallery-section {
  padding: 24px 0 64px;
}

.inner-sec-title {
  margin: 24px 0 32px;
  font-size: 36px;
  font-weight: 700;
}

.innerFlex.inner_gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.gallery-item {
  padding: 5px;
  height: 300px;
  margin: 0 !important;
  max-width: none !important;
  flex: none !important;
  width: auto !important;
}

.gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item a:hover img {
  transform: scale(1.05);
}

.gallery-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.gallery-tabs a {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #1b1922;
  color: #1b1922;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}

.gallery-tabs a.is-active,
.gallery-tabs a:hover {
  background: #1b1922;
  color: #fff;
}

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

.video-item {
  position: relative;
  background: #111;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.video-item video,
.video-item iframe,
.video-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}

.video-item__title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 991px) {
  .innerFlex.inner_gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item {
    height: 220px;
  }
  .video-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .innerFlex.inner_gallery,
  .video-gallery {
    grid-template-columns: 1fr;
  }
  .inner-sec-title {
    font-size: 28px;
  }
}

/* --- About: production stages infographic --- */
.infographic-section {
  padding: 48px 0;
  background: #e8e8e8;
}

.principles_left .infographic-section {
  margin: 28px 0 4px;
  padding: 0;
  background: transparent;
  width: 100%;
}

.principles_left .infographic {
  width: 100%;
}

.principles_left .step {
  margin-top: -12px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.14));
}

.principles_left .step:hover {
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.2));
  transform: translateY(-2px);
}

.principles_left .step-04 { margin-left: 36px; }
.principles_left .step-03 { margin-left: 24px; }
.principles_left .step-02 { margin-left: 12px; }
.principles_left .step-01 { margin-left: 0; }

.principles_left .folder {
  width: 72px;
}

.principles_left .folder-tab {
  width: 48%;
  height: 10px;
  border-radius: 5px 5px 0 0;
  flex-shrink: 0;
}

.principles_left .folder-body {
  height: 78px;
  min-height: 78px;
  max-height: 78px;
  padding: 5px 8px 8px;
  border-radius: 0 10px 10px 10px;
  box-sizing: border-box;
}

.principles_left .folder-label {
  font-size: 8px;
}

.principles_left .folder-num {
  font-size: 24px;
  margin: 1px 0 6px;
}

.principles_left .progress {
  gap: 4px;
}

.principles_left .progress-pct {
  font-size: 8px;
}

.principles_left .progress-bar {
  height: 5px;
}

.principles_left .panel {
  gap: 8px;
  padding: 8px 12px 8px 10px;
  height: 78px;
  min-height: 78px;
  max-height: 78px;
  margin-top: 10px;
  border-radius: 0 10px 10px 0;
  box-sizing: border-box;
  align-items: center;
}

.principles_left .icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.principles_left .step-03 .icon {
  width: 40px;
  height: 40px;
}

.principles_left .step-04 .icon {
  width: 32px;
  height: 32px;
}

.principles_left .text {
  min-width: 0;
}

.principles_left .text h3 {
  font-size: 12px;
  margin: 0 0 2px;
  letter-spacing: 0.03em;
}

.principles_left .text p {
  font-size: 10px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.infographic-section .infographic {
  position: relative;
  width: min(1200px, 100%);
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Step row ── */
.infographic-section .step {
  display: flex;
  align-items: stretch;
  position: relative;
  margin-top: -18px;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.18));
  transition: filter 0.25s ease, transform 0.25s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.infographic-section .step *,
.infographic-section .step *::before,
.infographic-section .step *::after {
  box-sizing: border-box;
}

.infographic-section .step:first-child {
  margin-top: 0;
}

/* Staircase offset: top steps shift right */
.infographic-section .step-04 { margin-left: 108px; z-index: 1; }
.infographic-section .step-03 { margin-left: 72px;  z-index: 2; }
.infographic-section .step-02 { margin-left: 36px;  z-index: 3; }
.infographic-section .step-01 { margin-left: 0;     z-index: 4; }

/* Hovered card comes to the front */
.infographic-section .step:hover {
  z-index: 50;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.28));
  transform: translateY(-4px);
}

/* ── Folder ── */
.infographic-section .folder {
  position: relative;
  flex-shrink: 0;
  width: 118px;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.infographic-section .folder-tab {
  width: 52%;
  height: 16px;
  border-radius: 8px 8px 0 0;
  margin-left: 0;
  position: relative;
  z-index: 1;
}

.infographic-section .folder-body {
  flex: 1;
  border-radius: 0 14px 14px 14px;
  padding: 8px 14px 12px;
  display: flex;
  flex-direction: column;
  color: #fff;
  margin-top: -1px;
  min-height: 110px;
  box-shadow: 2px 0 0 rgba(0, 0, 0, 0.03);
}

.infographic-section .folder-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  opacity: 0.95;
  line-height: 1;
}

.infographic-section .folder-num {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 2px 0 10px;
}

.infographic-section .progress {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.infographic-section .progress-pct {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.infographic-section .progress-bar {
  flex: 1;
  height: 8px;
  border-radius: 1px;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.95) 0 2px,
      transparent 2px 4.5px
    );
  opacity: 0.9;
}

/* ── Panel ── */
.infographic-section .panel {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 28px 16px 20px;
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, #cfcfcf 0%, #e8e8e8 28%, #f5f5f5 70%, #fafafa 100%);
  margin-top: 15px;
  min-height: 110px;
  position: relative;
  z-index: 1;
}

.infographic-section .icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.infographic-section .icon svg,
.infographic-section .icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.infographic-section .step-03 .icon {
  width: 110px;
  height: 110px;
}

.infographic-section .step-04 .icon {
  width: 64px;
  height: 64px;
}

.infographic-section .text h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  line-height: 1.1;
}

.infographic-section .text p {
  font-size: 12px;
  line-height: 1.45;
  color: #555;
  font-weight: 400;
  margin: 0;
}

/* ── Color themes ── */
.infographic-section .step-01 .folder-tab,
.infographic-section .step-01 .folder-body {
  background: linear-gradient(160deg, #9fd4e4 0%, #6eb8ce 55%, #5aa8c0 100%);
}
.infographic-section .step-01 .text h3 { color: #5aa8c0; }

.infographic-section .step-02 .folder-tab,
.infographic-section .step-02 .folder-body {
  background: linear-gradient(160deg, #b0aec0 0%, #8e8ca0 55%, #7a788c 100%);
}
.infographic-section .step-02 .text h3 { color: #7a788c; }

.infographic-section .step-03 .folder-tab,
.infographic-section .step-03 .folder-body {
  background: linear-gradient(160deg, #8aa0b0 0%, #6a8498 55%, #5a7488 100%);
}
.infographic-section .step-03 .text h3 { color: #5a7488; }

.infographic-section .step-04 .folder-tab,
.infographic-section .step-04 .folder-body {
  background: linear-gradient(160deg, #6a6a6a 0%, #4a4a4a 55%, #3a3a3a 100%);
}
.infographic-section .step-04 .text h3 { color: #4a4a4a; }

/* ── Responsive ── */
@media (max-width: 700px) {
  .infographic-section .step-04 { margin-left: 48px; }
  .infographic-section .step-03 { margin-left: 32px; }
  .infographic-section .step-02 { margin-left: 16px; }

  .infographic-section .folder {
    width: 96px;
  }

  .infographic-section .folder-num {
    font-size: 32px;
  }

  .infographic-section .panel {
    gap: 12px;
    padding: 14px 16px 14px 14px;
  }

  .infographic-section .icon {
    width: 40px;
    height: 40px;
  }

  .infographic-section .text h3 {
    font-size: 14px;
  }

  .infographic-section .text p {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .infographic-section .step {
    flex-direction: column;
    margin-left: 0 !important;
    margin-top: 16px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
  }

  .infographic-section .folder {
    width: 100%;
  }

  .infographic-section .folder-tab {
    width: 80px;
  }

  .infographic-section .folder-body {
    border-radius: 0 12px 0 0;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    min-height: auto;
    padding: 12px 16px;
  }

  .infographic-section .folder-num {
    margin: 0;
  }

  .infographic-section .progress {
    margin-top: 0;
    margin-left: auto;
    min-width: 80px;
  }

  .infographic-section .panel {
    margin-top: 0;
    border-radius: 0 0 12px 12px;
    min-height: auto;
  }
}
