/* ==========================================================================
   Sri Chakra Multispeciality Hospital - Surgical O.T. Responsive Stylesheet
   Strictly following mobile typography guidelines (< 768px):
   - H1: 32px / line-height 1.3 / weight 700
   - H2: 26px / line-height 1.32 / weight 600
   - H3: 22px / line-height 1.35 / weight 500
   - P : 16px / line-height 1.35 / weight 400
   ========================================================================== */

/* ---------------- Medium / Tablet Screens (<= 1100px) ---------------- */
@media (max-width: 1100px) {
  .facilities-page-wrapper {
    padding: 20px 20px 50px;
  }

  .facilities-hero-card {
    min-height: 380px;
    border-radius: 22px;
    margin-bottom: 50px;
  }

  .facilities-hero-title {
    font-size: 38px;
    line-height: 46px;
  }

  .excellence-grid,
  .laparoscopic-grid,
  .suite-grid {
    gap: 32px;
  }

  .suite-img-frame {
    height: 400px;
  }
}

/* ---------------- Tablet Screens (<= 900px) ---------------- */
@media (max-width: 900px) {
  .excellence-grid {
    grid-template-columns: 1fr;
  }

  .laparoscopic-grid {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column-reverse;
  }

  .excellence-img-frame,
  .laparoscopic-img-frame {
    height: 320px;
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }

  .suite-grid {
    grid-template-columns: 1fr;
  }

  .suite-img-frame {
    height: 340px;
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ---------------- Mobile Screens (<= 768px) ---------------- */
@media (max-width: 768px) {
  .facilities-page-wrapper {
    padding: 16px 14px 40px;
  }

  /* Typography guideline: H1 -> 32px, line-height 1.3, font-weight 700 */
  .facilities-hero-title {
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
  }

  /* Typography guideline: H2 -> 26px, line-height 1.32, font-weight 600 */
  .section-heading-main {
    font-size: 26px;
    line-height: 1.32;
    font-weight: 600;
    margin-bottom: 24px;
  }

  /* Typography guideline: H3 -> 20-22px, line-height 1.35, font-weight 500 */
  .suite-subheading {
    font-size: 18px;
    line-height: 25px;
    margin-bottom: 12px;
  }

  /* Typography guideline: P -> 15-16px, line-height 1.5, font-weight 400 */
  .about-body-text {
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
    margin-bottom: 16px;
  }

  .facilities-hero-card {
    min-height: 260px !important;
    border-radius: 18px !important;
    margin-bottom: 0px !important;
  }

  .facilities-hero-content {
    padding: 24px 16px;
  }

  .facilities-excellence-section,
  .facilities-laparoscopic-section,
  .facilities-suite-section {
    margin-bottom: 10px !important;
  }

  .suite-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 18px;
  }

  .suite-feature-card {
    padding: 16px 10px;
    gap: 8px;
    border-radius: 14px;
  }

  .suite-card-icon {
    width: 38px;
    height: 38px;
  }

  .suite-card-icon svg {
    width: 19px;
    height: 19px;
  }

  .suite-card-title {
    font-size: 13px;
    line-height: 17px;
  }
}

/* ---------------- Small Mobile Screens (<= 480px) ---------------- */
@media (max-width: 480px) {
  .facilities-hero-card {
    min-height: 220px;
    border-radius: 14px;
  }

  .facilities-hero-title {
    font-size: 26px;
  }

  .section-heading-main {
    font-size: 22px;
  }

  .excellence-img-frame,
  .laparoscopic-img-frame,
  .suite-img-frame {
    height: 220px;
  }

  .suite-cards-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}