/* ============================================================
   Responsive Styles – Gori Murti Kala Kendra
   ============================================================ */

/* Large tablets / small desktops */
@media (max-width: 1200px) {
  .collection-grid,
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1100px) {
  .products-grid,
  .collection-grid,
  .services-grid,
  .offer-grid,
  .loc-grid,
  .loc-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .loc-intro-grid,
  .loc-content-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .loc-nearby-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .loc-card-body span {
    white-space: normal;
  }

  .collection-bell { display: none; }

  .offer-panel {
    padding: 44px 28px 40px;
  }

  .why-grid,
  .promise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .approach-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 16px;
  }

  .approach-timeline::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-loc-cloud {
    gap: 6px;
  }

  .footer-loc-chip {
    font-size: 0.72rem;
    padding: 6px 10px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  }

  .header-actions .btn span { display: none; }
  .header-actions .btn { padding: 10px 14px; }
}

/* Tablets */
@media (max-width: 900px) {
  :root { --header-h: 80px; }

  .logo-img,
  .site-header.scrolled .logo-img,
  .site-header.home-light .logo-img,
  .site-header.inner-page .logo-img {
    height: 58px;
    max-width: 180px;
  }

  .footer-logo {
    padding: 8px 12px;
  }

  .footer-logo img {
    max-height: 72px;
    max-width: 220px;
  }

  .nav-toggle { display: flex; }

  /* backdrop-filter traps fixed children — disable on mobile header */
  .site-header,
  .site-header.home-light,
  .site-header.inner-page,
  .site-header.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.nav-open .site-header {
    background: transparent !important;
    box-shadow: none !important;
  }

  .nav-overlay {
    z-index: 1200;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(100vw, 420px);
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    background:
      linear-gradient(180deg, #FFFCF6 0%, #F7F1E8 55%, #F3E9DC 100%);
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 calc(28px + env(safe-area-inset-bottom, 0px));
    transform: translateX(110%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -18px 0 50px rgba(87, 7, 25, 0.28);
    z-index: 1201;
    overflow-x: hidden;
    overflow-y: auto;
    border-left: 1px solid rgba(198, 154, 66, 0.35);
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.open { transform: translateX(0); }

  body.nav-open .site-header .brand-logo,
  body.nav-open .site-header .header-gold-line,
  body.nav-open .site-header .header-inner > .brand-logo {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  body.nav-open .nav-toggle {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .nav-drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(198, 154, 66, 0.28);
    background: #FFFCF6;
    position: sticky;
    top: 0;
    z-index: 3;
  }

  .nav-drawer-brand {
    display: flex;
    align-items: center;
    min-width: 0;
  }

  .nav-drawer-brand img {
    height: 54px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 6px;
  }

  .nav-drawer-close {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(198, 154, 66, 0.5);
    background: #fff;
    color: var(--burgundy);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  }

  .nav-drawer-close:hover,
  .nav-drawer-close:active {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: var(--gold-light);
  }

  .nav-drawer-label {
    display: block;
    padding: 18px 22px 10px;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C69A42;
    font-weight: 600;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 0 14px 8px;
    width: 100%;
  }

  .nav-list li { width: 100%; }

  .nav-link {
    width: 100%;
    display: flex !important;
    align-items: center;
    gap: 12px;
    color: #3a0612 !important;
    padding: 14px 14px !important;
    font-size: 1.02rem;
    font-weight: 500;
    border-radius: 12px;
    border-bottom: none !important;
    white-space: normal;
    background: transparent;
  }

  .nav-link i {
    display: inline-flex !important;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(87, 7, 25, 0.07);
    color: var(--burgundy);
    font-size: 0.82rem;
    flex-shrink: 0;
  }

  .nav-link::after {
    display: none !important;
    content: none !important;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--burgundy) !important;
    background: rgba(198, 154, 66, 0.16) !important;
  }

  .nav-link.active i {
    background: var(--burgundy);
    color: #E7C879;
  }

  .nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
    padding: 0 18px;
  }

  .nav-mobile-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 999px;
  }

  .nav-drawer-note {
    display: block;
    margin: 20px 18px 0;
    padding-top: 16px;
    border-top: 1px dashed rgba(198, 154, 66, 0.35);
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
  }

  .header-actions { display: none; }

  .page-hero-premium {
    min-height: 340px;
    padding: calc(var(--header-h) + 52px) 0 64px;
  }

  .footer-locations-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-premium-panel {
    padding: 24px 16px;
  }

  .hero-light,
  .hero-video-hero {
    display: flex;
    align-items: flex-end;
    min-height: 100svh;
    padding-top: var(--header-h);
  }

  .hero-video-overlay {
    background:
      linear-gradient(180deg, rgba(20, 8, 10, 0.35) 0%, rgba(20, 8, 10, 0.25) 35%, rgba(20, 8, 10, 0.78) 72%, rgba(20, 8, 10, 0.9) 100%);
  }

  .hero-video {
    object-position: center 30%;
  }

  .hero-visual {
    display: none !important;
  }

  .hero-content {
    text-align: center;
    align-items: flex-end;
    padding: 24px 0 36px;
    min-height: calc(100svh - var(--header-h));
    z-index: 2;
  }

  .hero-text {
    padding: 0;
    max-width: 560px;
    margin-inline: auto;
  }

  .hero-title {
    font-size: clamp(1.85rem, 7vw, 2.4rem);
  }

  .hero-desc {
    margin-inline: auto;
    max-width: 420px;
    color: rgba(255, 249, 237, 0.9);
  }

  .hero-eyebrow { justify-content: center; }

  .hero-btns,
  .btn-group { justify-content: center; flex-wrap: wrap; }

  .hero-features { justify-content: center; gap: 16px; margin-top: 28px; }

  .hero-lotus { display: none; }

  .about-grid,
  .contact-grid,
  .product-detail-layout,
  .heritage-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-image-frame {
    inset: 12px -12px -12px 12px;
  }

  .heritage-inner { padding: 70px 0 50px; }

  .heritage-arch { width: min(100%, 340px); margin-inline: auto; }

  .heritage-wave-left { width: 30%; height: 45%; opacity: 0.75; }
  .heritage-wave-right { width: 36%; height: 50%; opacity: 0.7; }

  .heritage-temple { width: 140px; height: 180px; right: 2%; top: 4%; }

  .heritage-trust-divider { display: none; }

  .heritage-trust-inner {
    flex-direction: column;
    gap: 10px;
  }

  .heritage-trust-item {
    justify-content: center;
    padding: 6px 12px;
  }

  .approach-timeline {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 0;
  }

  .approach-timeline::before {
    display: none;
  }

  .approach-step {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
    padding: 16px 12px;
    width: 100%;
    height: auto;
    background: rgba(255, 252, 246, 0.7);
    border: 1px solid rgba(198, 154, 66, 0.25);
    border-radius: 12px;
  }

  .approach-step h3 {
    min-height: 0;
    justify-content: flex-start;
    font-size: 0.95rem;
  }

  .approach-step .approach-icon-wrap {
    margin: 0;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
  }

  .approach-step .approach-icon {
    width: 64px;
    height: 64px;
    font-size: 1.15rem;
  }

  .approach-step p {
    max-width: none;
    margin: 0;
    font-size: 0.82rem;
  }

  .promise-section {
    padding: 72px 0 90px;
  }

  .promise-curve {
    height: 48px;
  }

  .gallery-masonry { columns: 2; }

  .journey-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .journey-grid .gallery-card,
  .journey-grid .gallery-card:nth-child(7),
  .journey-grid .gallery-card:nth-child(8) {
    grid-column: auto;
  }

  .gallery-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .gallery-page-section {
    padding: 64px 0 72px;
  }

  .custom-cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  .custom-cta-text {
    max-width: none;
  }

  .custom-cta-desc {
    margin: 0 auto;
  }

  .custom-cta-actions {
    width: 100%;
    max-width: 320px;
  }

  .journey-diya,
  .journey-ornament,
  .dedication-diya { display: none; }

  .trust-highlights,
  .dedication-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .faq-visual {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }

  .faq-visual-frame {
    position: relative;
    top: auto;
    aspect-ratio: 16 / 10;
  }

  .faq-header { text-align: center; }

  .faq-eyebrow { justify-content: center; }

  .dedication-section,
  .faq-section {
    padding: 64px 0 72px;
  }

  .dedication-panel {
    padding: 24px 16px;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row { grid-template-columns: 1fr; }

  .section { padding: 70px 0; }

  .loc-nearby-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .loc-hero-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .loc-hero-btns .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .products-grid,
  .collection-grid,
  .services-grid,
  .offer-grid,
  .why-grid,
  .promise-grid,
  .approach-timeline,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .promise-section { padding: 56px 0 72px; }

  .approach-section { padding: 48px 0 64px; }

  .dedication-section,
  .faq-section {
    padding: 48px 0 56px;
  }

  .dedication-panel {
    padding: 18px 12px;
    border-radius: 14px;
  }

  .dedication-panel-corner {
    width: 18px;
    height: 18px;
  }

  .faq-question {
    font-size: 0.9rem;
    padding: 16px;
  }

  .approach-step {
    flex-direction: row;
  }

  .promise-card {
    padding: 22px 16px;
  }

  .collection-section { padding: 64px 0 72px; }

  .offer-section { padding: 48px 0 56px; }

  .offer-panel {
    padding: 36px 18px 32px;
    border-radius: 14px;
  }

  .offer-corner { width: 48px; height: 48px; opacity: 0.7; }

  .offer-footer-cta {
    flex-wrap: wrap;
    gap: 12px;
  }

  .offer-cta-line { width: 36px; }

  .btn-offer-explore {
    width: 100%;
    padding: 13px 20px;
  }

  .product-card-actions {
    flex-direction: column;
  }

  .btn-card-outline,
  .btn-card-enquiry { width: 100%; }

  .feature-list,
  .heritage-features {
    grid-template-columns: 1fr;
  }

  .heritage-wave-left,
  .heritage-wave-right {
    width: 42%;
    opacity: 0.55;
  }

  .heritage-leaves { opacity: 0.2; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .gallery-masonry { columns: 1; }

  .journey-section { padding: 56px 0 64px; }

  .journey-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery-page-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 420px;
  }

  .gallery-page-header {
    margin-bottom: 32px;
  }

  .gallery-page-label {
    min-height: 48px;
    font-size: 0.88rem;
  }

  .custom-cta-section { padding: 52px 0; }

  .custom-cta-actions {
    max-width: none;
  }

  .btn-custom-quote,
  .btn-custom-wa {
    width: 100%;
  }

  .hero-image-wrap {
    max-width: 100%;
    height: 340px;
  }

  .hero-features {
    flex-direction: row;
    justify-content: center;
    gap: 14px;
  }

  .hero-feature { min-width: 90px; }

  .hero-feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }

  .hero-feature span { font-size: 0.7rem; max-width: 90px; }

  .btn-hero-primary,
  .btn-hero-outline {
    width: 100%;
    justify-content: center;
  }

  .hero-btns { flex-direction: column; width: 100%; }

  .page-hero {
    padding: calc(var(--header-h) + 50px) 0 50px;
  }

  .contact-form-wrap,
  .contact-info-card {
    padding: 28px 20px;
  }

  .section { padding: 56px 0; }

  .section-header { margin-bottom: 36px; }

  .mobile-sticky-cta {
    display: flex;
  }

  body { padding-bottom: 56px; }

  .btn { padding: 12px 20px; font-size: 0.85rem; }

  .product-card-actions {
    flex-direction: column;
  }

  .product-card-actions .btn { width: 100%; }

  .loc-grid,
  .loc-product-grid,
  .loc-nearby-grid {
    grid-template-columns: 1fr;
  }

  .loc-card {
    grid-template-columns: auto auto 1fr;
    gap: 10px;
  }

  .loc-card-arrow { display: none; }

  .loc-intro-badge {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
}

/* Small phones */
@media (max-width: 380px) {
  .logo-img,
  .site-header.scrolled .logo-img,
  .site-header.home-light .logo-img,
  .site-header.inner-page .logo-img {
    height: 52px !important;
    max-width: 160px;
  }

  .footer-logo img {
    max-height: 64px;
    max-width: 200px;
  }

  .hero-title { font-size: 1.6rem; }

  .section-title { font-size: 1.5rem; }

  .main-nav {
    width: 100vw;
  }

  .nav-drawer-brand img {
    height: 40px;
    max-width: 160px;
  }
}

/* Narrow phones: full-bleed premium drawer */
@media (max-width: 640px) {
  .main-nav {
    width: 100vw;
    max-width: 100vw;
    border-left: none;
    box-shadow: none;
  }
}
