/* ==========================================================================
   FORTUNE SPA & MASSAGE — RESPONSIVE STYLESHEET (responsive.css)
   Breakpoints:
   - Desktop Wide: 1440px+
   - Desktop Standard: 1025px - 1439px
   - Tablet: 769px - 1024px
   - Mobile: <= 768px (375px, 390px, 430px)
   ========================================================================== */

/* --------------------------------------------------------------------------
   DESKTOP WIDE (1440px+)
   -------------------------------------------------------------------------- */
@media (min-width: 1440px) {
  .hero-image-wrapper img {
    height: 520px;
  }
}

/* --------------------------------------------------------------------------
   TABLET & COMPACT DESKTOP (<= 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }

  .nav-actions .btn {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    max-width: 580px;
    margin: 0 auto;
  }

  .hero-image-wrapper img {
    height: 380px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .intro-highlights {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .standards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   MOBILE DEVICES (<= 768px)
   Tested on 375px, 390px, 430px
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  body {
    padding-bottom: 84px; /* Clearance for sticky bottom WhatsApp CTA */
  }

  body[data-location] {
    padding-bottom: 0 !important;
  }

  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-sizing: border-box;
  }

  .btn {
    white-space: normal;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
  }

  .mobile-sticky-bar {
    display: block;
  }

  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .hero-section {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-features {
    flex-direction: column;
    gap: 0.85rem;
  }

  .hero-badge-card {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }

  .hero-image-wrapper img {
    height: 300px;
  }

  /* Filter Tabs (Horizontal Scroll on Mobile) */
  .filter-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.35rem 0.25rem 0.85rem;
    gap: 0.5rem;
    justify-content: flex-start;
    margin-bottom: 2rem;
  }
  .filter-tabs::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    flex-shrink: 0;
    white-space: nowrap !important;
    font-size: 0.85rem;
    padding: 0.55rem 1.15rem;
  }

  .treatments-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.75rem;
  }

  .card-media {
    height: 200px;
  }

  .card-body {
    padding: 1.35rem;
  }

  .treatment-name {
    font-size: 1.3rem;
  }

  .table-addon-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .table-addon-info {
    flex-direction: column;
    text-align: center;
  }

  .why-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.25rem;
  }

  .steps-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.5rem;
  }

  .step-card {
    padding: 1.75rem 1.5rem;
  }

  .step-num {
    font-size: 2.75rem;
  }

  .areas-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.25rem;
  }

  .standards-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.25rem;
  }

  /* Location landing pages */
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .steps-grid-4 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .availability-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .location-coverage-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .location-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .location-why-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Accommodations We Serve (Mobile Polished List) */
  .accommodation-coverage {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-sizing: border-box;
    margin: 0 auto;
  }

  .coverage-title {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
  }

  .coverage-tags {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
  }

  .coverage-tag {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 0.8rem 1.1rem;
    border-radius: 12px;
    font-size: 0.92rem;
    line-height: 1.35;
    gap: 0.75rem;
    background-color: var(--ivory);
    border: 1px solid var(--border);
    box-sizing: border-box;
  }

  .coverage-tag svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--gold);
  }

  .coverage-cta-wrap {
    margin-top: 1.5rem;
    width: 100%;
  }

  .accommodation-coverage .btn,
  .coverage-cta-wrap .btn {
    display: flex;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    align-items: center;
    white-space: normal;
    text-align: center;
    padding: 0.9rem 1.25rem;
    font-size: 0.92rem;
    line-height: 1.35;
    box-sizing: border-box;
  }

  .faq-question {
    padding: 1.15rem 1.25rem;
    font-size: 1.1rem;
  }

  .faq-answer {
    padding: 0 1.25rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1.25rem 1.25rem 1.25rem;
  }

  .final-cta-box {
    padding: 3rem 1.35rem;
  }

  .final-cta-title {
    font-size: 1.9rem;
  }

  .final-cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .final-cta-buttons .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 2rem;
  }

  .contact-info-cards,
  .contact-card,
  .booking-form-box {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .form-group {
    min-width: 0;
    box-sizing: border-box;
  }

  .form-control {
    min-width: 0;
    box-sizing: border-box;
  }

  .booking-form-box {
    padding: 1.75rem 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   SMALL PHONES (360px - 400px)
   -------------------------------------------------------------------------- */
@media (max-width: 400px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand-logo img {
    height: 38px;
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .accommodation-coverage {
    padding: 1.5rem 1rem;
  }

  .coverage-tag {
    font-size: 0.85rem;
    padding: 0.75rem 0.9rem;
  }

  .booking-form-box {
    padding: 1.5rem 1rem;
  }

  .step-card {
    padding: 1.5rem 1rem;
  }

  .card-media {
    height: 180px;
  }

  .segmented-btn {
    font-size: 0.75rem;
    padding: 0.45rem 0.15rem;
  }

  .price-value {
    font-size: 1.35rem;
  }
}


@media (max-width: 768px) {
  .nav-actions {
    gap: 0.5rem;
  }
  .lang-dropdown-trigger {
    padding: 5px 8px;
    gap: 4px;
  }
  .active-lang-text {
    display: none; /* Show only Flag SVG + Chevron on mobile for maximum logo space */
  }
}

/* ==========================================================================
   Responsive additions for Location Landing Pages (13 Sections)
   ========================================================================== */
@media (max-width: 991px) {
  .service-highlights-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.25rem;
  }

  .included-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .steps-grid-3 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .editorial-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .service-highlights-strip {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }

  .service-highlight-box {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    border-bottom: 1px solid var(--border-light);
  }

  .service-highlight-box:last-child {
    border-bottom: none;
  }

  .included-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .included-card {
    padding: 1.5rem 1.25rem;
  }

  .steps-grid-3 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .step-card-3 {
    padding: 1.5rem 1.25rem;
  }

  .editorial-gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .editorial-gallery-img {
    height: 200px;
  }

  .related-locs-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
