/**
 * Lavishn Health Care — responsive overrides only.
 * All rules are inside max-width media queries; desktop (992px+) is unchanged.
 */

/* Footer newsletter — fixed 620px form breaks tablet/mobile (≤1199px) */
@media (max-width: 1199.98px) {
  .footer__newsletter-inner {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 24px;
  }

  .footer__newsletter-inner .title {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    text-align: center;
  }

  .footer__newsletter-inner form {
    position: relative;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .footer__newsletter-inner form input {
    width: 100%;
    max-width: 100%;
    padding: 14px 20px;
    height: auto;
    min-height: 50px;
    box-sizing: border-box;
  }

  .footer__newsletter-inner form .btn {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    height: 50px;
    box-sizing: border-box;
  }

  .footer__social-two {
    flex-grow: 0;
    width: 100%;
  }

  .footer__social-two .list-wrap {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ── Tablet (≤991px) ── */
@media (max-width: 991.98px) {
  html {
    overflow-x: hidden;
    max-width: 100%;
  }

  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  .footer__area-two,
  .footer__newsletter-two {
    overflow-x: hidden;
    max-width: 100%;
  }

  .tg-header__area-four .logo img {
    max-height: 58px;
  }

  .tg-header__top-info-four,
  .tg-header__top-right-four {
    flex-wrap: wrap;
    gap: 6px 14px;
  }

  .tg-header__top-info-four li,
  .tg-header__top-right-four li {
    font-size: 13px;
    line-height: 1.45;
  }

  .lavishn-about-hero .container,
  .lavishn-contact-hero .container,
  .lavishn-services-hero .container {
    margin-top: 70px;
  }

  /* Index hero slider */
  .slider__area .banner__content-three.home-9 .title {
    font-size: clamp(28px, 5.5vw, 42px);
    line-height: 1.2;
  }

  .slider__area .banner__content-three.home-9 .sub {
    font-size: 16px;
    line-height: 1.65;
  }

  .slider__area .banner__img.home-9 {
    margin-top: 28px;
    text-align: center;
  }

  .slider__area .banner__img.home-9 img {
    max-width: 88%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .banner-social-home-9 {
    display: none;
  }

  /* CTA / request panels */
  .request-area.lavishn-request.request-bg.home-9 {
    min-height: auto;
    padding: 70px 0;
  }

  .lavishn-request .request-side-card {
    margin-top: 16px;
  }

  .request-area.lavishn-request.lavishn-contact-cta {
    min-height: auto;
    padding: 70px 0;
  }

  /* Section spacing */
  .choose__area-home-9.pt-120,
  .lavishn-about-intro.pt-120,
  .lavishn-contact-cards.pt-120 {
    padding-top: 80px !important;
  }

  .choose__area-home-9.pb-90,
  .lavishn-contact-area.pb-120 {
    padding-bottom: 80px !important;
  }

  .lavishn-choose-video-wrap {
    margin-bottom: 36px;
  }

  .lavishn-choose-video-wrap img {
    min-height: 420px;
  }

  .choose-area .choose-img-wrap {
    margin-bottom: 36px;
  }

  .choose-area .choose-content {
    padding-top: 8px;
  }

  /* Business tags — remove desktop offsets */
  .business__area-home-9 .business__tag.ps-md-5,
  .business__area-home-9 .business__tag.ps-4 {
    padding-left: 0 !important;
  }

  .business__area-home-9 .business__tag-item {
    margin-bottom: 8px;
  }

  .lavishn-business-img-wrap {
    margin-bottom: 28px;
  }

  .lavishn-business-img-wrap img {
    min-height: 240px;
  }

  .choose-img-wrap.lavishn-choose-single img {
    max-height: 360px;
  }

  .footer__top-two .footer-widget {
    margin-bottom: 28px;
  }

  /* Services cards */
  .services__area-five .services-item-wrap [class*="col-"] {
    margin-bottom: 24px;
  }

  .services__area-five .row.pt-80 {
    padding-top: 50px !important;
  }

  /* Contact */
  .lavishn-contact-map iframe {
    height: 340px;
  }

  .contact__area.lavishn-contact-area .row.align-items-start {
    row-gap: 32px;
  }
}

/* ── Mobile (≤767px) ── */
@media (max-width: 767.98px) {
  .tg-header__area-four .logo img {
    max-height: 52px;
  }

  .tgmobile__menu .nav-logo img,
  .offCanvas__logo img {
    max-height: 64px;
  }

  .footer__area-two .fw-logo img {
    max-height: 72px;
  }

  .tg-header__top-three {
    padding: 10px 0;
  }

  .tg-header__top-info-four,
  .tg-header__top-right-four {
    justify-content: center;
    text-align: center;
  }

  /* Inner page heroes */
  .lavishn-services-hero,
  .lavishn-about-hero,
  .lavishn-contact-hero {
    height: auto;
    min-height: 50vh;
    padding: 88px 0 48px;
  }

  .lavishn-services-hero .hero-title,
  .lavishn-about-hero .hero-title,
  .lavishn-contact-hero .hero-title {
    font-size: clamp(26px, 7vw, 36px);
    line-height: 1.22;
  }

  .lavishn-services-hero .hero-text,
  .lavishn-contact-hero .hero-text {
    font-size: 15px;
    line-height: 1.65;
  }

  /* Index hero slider */
  .slider__area {
    height: auto;
    min-height: 100svh;
  }

  .slider__area .slider_baner__active,
  .slider__area .slider_baner__active .swiper-wrapper,
  .slider__area .slider_baner__active .swiper-slide {
    min-height: 100svh;
  }

  .slider__area .banner__area-three.banner__bg-five {
    padding: 100px 0 48px !important;
    align-items: flex-start;
  }

  .slider__area .banner__content-three.home-9 {
    margin-top: 0;
    text-align: center;
  }

  .slider__area .banner__content-three.home-9 .title {
    font-size: clamp(24px, 7vw, 32px);
  }

  .slider__area .banner__content-three.home-9 .sub {
    font-size: 15px;
  }

  .slider__area .banner__content-three.home-9 .btn {
    display: inline-flex;
    margin-top: 10px;
  }

  /* Section titles */
  .section-title .title,
  .section-title .title.tg-element-title {
    font-size: clamp(24px, 6vw, 32px);
    line-height: 1.25;
  }

  .section-title .sub-title {
    font-size: 12px;
  }

  /* Choose / about feature boxes */
  .choose__box.choose__box-home-9 {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 16px;
  }

  .choose__box.choose__box-home-9 .icon {
    flex-shrink: 0;
  }

  .choose__box.choose__box-home-9 .content .title {
    font-size: 17px;
  }

  .choose__box.choose__box-home-9 .content p {
    font-size: 14px;
    line-height: 1.55;
  }

  .lavishn-choose-video-wrap img {
    min-height: 380px;
  }

  /* Button groups */
  .button-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .button-link .btn,
  .button-link .btn-secondary {
    width: 100%;
    text-align: center;
    margin-left: 0 !important;
    margin-top: 0 !important;
  }

  .button-link .btn + .btn,
  .button-link .btn + .btn-secondary {
    margin-top: 12px !important;
  }

  /* CTA sections */
  .lavishn-request .request-cta {
    flex-direction: column;
  }

  .lavishn-request .request-cta .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .lavishn-request .title {
    font-size: clamp(24px, 6vw, 34px) !important;
  }

  .request-content .content-bottom {
    flex-direction: column;
    gap: 16px;
  }

  .request-content .content-bottom .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Counter */
  .counter-area .counter-item {
    margin-bottom: 20px;
  }

  .counter-area .counter-item .content h2,
  .counter-area .counter-item .content .count {
    font-size: clamp(32px, 8vw, 42px);
  }

  /* Contact page */
  .lavishn-contact-cards.pb-60 {
    padding-bottom: 40px !important;
  }

  .lavishn-contact-cards .contact-card {
    padding: 26px 22px;
  }

  .lavishn-contact-form {
    padding: 24px 18px;
  }

  .lavishn-contact-form .title {
    font-size: clamp(22px, 5.5vw, 28px);
  }

  .lavishn-contact-hours li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .lavishn-contact-map iframe {
    height: 260px;
  }

  .contact__info .list-wrap li {
    flex-wrap: wrap;
  }

  /* Choose dark section (about page) */
  .choose-area .choose-list .list-wrap li {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
  }

  .choose-area .choose-list .icon {
    flex-shrink: 0;
  }

  /* Footer */
  .footer__newsletter-two {
    padding-left: 0;
    padding-right: 0;
  }

  .footer__newsletter-inner {
    gap: 20px;
    padding: 0 4px;
  }

  .footer__newsletter-inner .title {
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.35;
    word-break: break-word;
  }

  .footer__newsletter-inner form input {
    font-size: 14px;
    padding: 12px 16px;
  }

  .footer__newsletter-inner form .btn {
    font-size: 14px;
    padding: 12px 20px;
  }

  .footer__bottom-two {
    text-align: center;
  }

  .footer__bottom-two .copyright-text {
    font-size: 14px;
    line-height: 1.5;
  }

  /* Services */
  .services__area-five .section-title.mb-40 {
    margin-bottom: 28px !important;
  }

  .services__area-five .services-thumb img {
    height: 180px;
  }

  /* Images — prevent overflow */
  .about__img-wrap-six img,
  .choose-img-wrap img,
  .lavishn-choose-video-wrap img,
  .services__area-five .services-thumb img {
    max-width: 100%;
  }

  /* Scroll to top — avoid overlap with mobile UI */
  .scroll__top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    line-height: 44px;
  }
}

/* ── Small mobile (≤575px) ── */
@media (max-width: 575.98px) {
  .container,
  .container.custom-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .tg-header__top-info-four li:nth-child(2) {
    font-size: 12px;
  }

  .lavishn-contact-cards .contact-card h4 {
    font-size: 18px;
  }

  .choose__box.choose__box-home-9 {
    flex-direction: column;
    text-align: left;
  }

  .slider__area .banner__img.home-9 img {
    max-width: 100%;
  }

  .footer__social-two .list-wrap {
    justify-content: center;
  }
}
