/* ==========================================================================
   Astrologer Rakesh Srivastav â Responsive Styles
   Breakpoints: 1920, 1440, 1366, 1280, 1024, 768, 480, 430, 390, 375, 360
   ========================================================================== */

/* --------------------------------------------------------------------------
   Global overflow & touch safety
   -------------------------------------------------------------------------- */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
iframe,
table,
.swiper,
.row {
  max-width: 100%;
}

/* Touch-friendly interactive targets */
.btn,
.nav-toggle,
.mobile-close,
.booking-close,
.back-to-top,
.whatsapp-float,
.call-float,
.faq-item summary,
.footer-social a,
.nav-dropdown a,
.mobile-nav-inner > a {
  min-height: 44px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn {
  min-width: 44px;
}

main,
#main-content {
  padding-bottom: 0;
}

body {
  padding-bottom: 0;
}

/* --------------------------------------------------------------------------
   1920px and below â large desktops
   -------------------------------------------------------------------------- */
@media (max-width: 1920px) {
  .header-inner {
    max-width: 1320px;
    padding-inline: 2rem;
  }

  .hero-copy,
  .hero-content {
    max-width: 680px;
  }
}

/* --------------------------------------------------------------------------
   1440px and below
   -------------------------------------------------------------------------- */
@media (max-width: 1440px) {
  :root {
    --ticker-h: 34px;
    --header-bar-h: 70px;
  }

  .header-inner {
    max-width: min(1240px, 100%);
    padding-inline: 1.15rem;
  }

  .main-nav .nav-link {
    padding-inline: 0.38rem;
    font-size: 0.78rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .hero-mandala {
    width: min(58vw, 560px);
    height: min(58vw, 560px);
    opacity: 0.45;
  }
}

/* --------------------------------------------------------------------------
   1366px and below â common laptops
   -------------------------------------------------------------------------- */
@media (max-width: 1366px) {
  .nav-mega {
    min-width: min(640px, calc(100vw - 2.5rem));
    grid-template-columns: repeat(3, minmax(160px, 1fr));
  }

  .brand-name {
    font-size: 1rem;
    max-width: 13.5rem;
  }

  .brand-tag {
    font-size: 0.65rem;
  }

  .btn-book {
    padding-inline: 1rem;
    font-size: 0.88rem;
  }

  .main-nav {
    gap: 0;
  }

  .main-nav .nav-link {
    padding: 0.42rem 0.32rem;
    font-size: 0.76rem;
  }

  .process-grid::before {
    left: 10%;
    right: 10%;
  }

  .about-profile {
    gap: 2.25rem;
  }
}

/* --------------------------------------------------------------------------
   1280px and below
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .header-inner {
    padding-inline: 1rem;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .special-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-dropdown {
    min-width: 210px;
  }
}

/* --------------------------------------------------------------------------
   1024px and below â tablet landscape / small laptop
   (Bootstrap xl = 1200; mobile nav shows below xl via d-xl-none)
   -------------------------------------------------------------------------- */
@media (max-width: 1399.98px) {
  .btn-book-full {
    display: none;
  }

  .btn-book-short {
    display: inline;
  }

  .header-actions .btn-book {
    min-height: 40px;
    padding: 0.4rem 0.9rem;
    font-size: 0.86rem;
  }
}

@media (max-width: 1199.98px) {
  .mobile-nav {
    display: block;
  }

  .mobile-nav-inner {
    width: min(100%, 420px);
  }

  .btn-book-full {
    display: none;
  }

  .btn-book-short {
    display: inline;
  }

  .header-actions .btn-book {
    display: inline-flex;
    min-height: 42px;
    padding: 0.45rem 0.95rem;
    font-size: 0.88rem;
  }

  .header-inner {
    gap: 0.65rem;
    padding: 0.55rem 1rem;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: min(42vw, 220px);
  }
}

@media (max-width: 1024px) {
  :root {
    --ticker-h: 32px;
    --header-bar-h: 64px;
  }

  .section {
    padding: 4rem 0;
  }

  .section-head {
    margin-bottom: 2.5rem;
  }

  .hero:not(.hero-home) {
    min-height: auto;
  }

  .hero-copy,
  .hero-content {
    max-width: none;
  }

  .hero-mandala {
    width: 420px;
    height: 420px;
    right: -15%;
    opacity: 0.3;
  }

  .hero-glow {
    width: 220px;
    height: 220px;
  }

  .page-hero {
    min-height: 360px;
    padding: 4rem 0 2.75rem;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .process-grid::before {
    display: none;
  }

  .about-profile {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-photo {
    max-width: 420px;
    margin-inline: auto;
  }

  .contact-strip-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .booking-panel {
    width: min(760px, 100%);
  }

  .testimonials-swiper .swiper-button-prev,
  .testimonials-swiper .swiper-button-next {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   768px and below â tablets / large phones
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --ticker-h: 32px;
    --header-bar-h: 62px;
    --wa-size: 54px;
    --wa-offset: 16px;
  }

  body {
    padding-bottom: 0;
  }

  .header-inner {
    padding: 0.45rem 1rem;
    min-height: var(--header-bar-h);
    gap: 0.5rem;
  }

  .offer-ticker-item {
    font-size: 0.74rem;
    padding: 0 1.1rem;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .brand-tag {
    display: none;
  }

  .brand-name {
    font-size: 1.02rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(42vw, 180px);
    line-height: 1.2;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }

  /* Full-screen mobile nav */
  .mobile-nav-inner {
    width: 100%;
    max-width: 100%;
    border-left: none;
    padding: 1.15rem 1.15rem 3rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .section-head {
    margin-bottom: 2rem;
    text-align: left;
  }

  .section-head .gold-line {
    margin-left: 0;
  }

  .hero-copy,
  .hero-content {
    max-width: none;
    text-align: left;
  }

  .hero-copy h1,
  .hero-content h1 {
    letter-spacing: -0.02em;
  }

  .hero-sub {
    font-size: 0.98rem;
    margin-bottom: 1rem;
  }

  .hero-facts {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.3rem;
    margin-bottom: 0.95rem;
  }

  .hero-facts li {
    flex: 1 1 0;
    min-width: 0;
    align-items: flex-start;
    gap: 0.28rem;
    padding: 0.32rem 0.38rem;
    font-size: 0.66rem;
    line-height: 1.25;
  }

  .hero-facts i {
    flex-shrink: 0;
    margin-top: 0.15em;
    font-size: 0.68rem;
  }

  .hero-facts span {
    min-width: 0;
  }

  .hero-mandala,
  .hero-zodiac {
    display: none;
  }

  .hero-meta {
    gap: 0.85rem;
  }

  .hero .hero-ctas {
    flex-direction: row;
    align-items: stretch;
  }

  .hero .hero-ctas .btn {
    width: auto;
  }

  .page-hero {
    min-height: 300px;
    padding: 3.5rem 0 2.25rem;
  }

  .service-hero {
    min-height: 320px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .special-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .process-step {
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 1rem;
    align-items: start;
    padding: 0;
  }

  .process-step span {
    grid-row: 1 / span 2;
    width: 56px;
    height: 56px;
    margin-bottom: 0;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .stat-item strong {
    font-size: 1.65rem;
  }

  .cta-band {
    padding: 2.5rem 0 2.15rem;
  }

  .section.contact-strip {
    padding: 1.25rem 0;
  }

  .cta-band .hero-ctas {
    align-items: stretch;
  }

  .booking-head {
    align-items: flex-start;
    padding: 1rem 3.1rem 0.9rem 1.1rem;
  }

  .booking-head .eyebrow {
    display: block;
  }

  .booking-body {
    padding: 1rem 1.1rem 0.25rem;
  }

  .booking-foot {
    padding: 0.8rem 1.1rem 1rem;
  }

  .booking-panel {
    max-height: min(92dvh, 94vh);
    border-radius: 14px;
  }

  .booking-close {
    top: 0.65rem;
    right: 0.65rem;
  }

  .contact-form-card,
  .booking-page-card {
    padding: 1.35rem 1.1rem;
  }

  .footer-grid > [class*="col-"] {
    margin-bottom: 0.5rem;
  }

  .site-footer {
    padding-top: 3rem;
  }

  .footer-title {
    margin-top: 0.5rem;
  }

  .footer-chips a {
    font-size: 0.75rem;
    padding: 0.28rem 0.55rem;
  }

  .footer-disclaimer {
    font-size: 0.76rem;
  }

  .image-frame::after {
    inset: -4px;
  }

  .about-photo::before {
    inset: -8px;
  }

  .about-photo::after {
    display: none;
  }

  .testimonial-card {
    padding: 1.5rem 1.25rem;
  }

  .faq-item summary {
    font-size: 1.05rem;
    padding: 1rem 2.75rem 1rem 1.1rem;
  }
}

/* --------------------------------------------------------------------------
   480px and below
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  :root {
    --wa-size: 52px;
    --wa-offset: 14px;
  }

  body {
    font-size: 0.95rem;
    padding-bottom: 0;
  }

  .header-inner {
    padding-inline: 0.85rem;
  }

  .brand-tag {
    display: none;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }

  .section {
    padding: 2.75rem 0;
  }

  h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.25rem);
  }

  h2 {
    font-size: clamp(1.55rem, 6.5vw, 1.95rem);
  }

  .hero-copy,
  .hero-content {
    padding: 2.55rem 1rem 1.1rem;
  }

  .hero-meta-item {
    font-size: 0.82rem;
    width: 100%;
  }

  .page-hero {
    min-height: 280px;
    padding: 3rem 0 2rem;
  }

  .breadcrumb-nav {
    font-size: 0.78rem;
  }

  .service-card-body {
    padding: 1.15rem;
  }

  .feature-card,
  .special-card,
  .info-card {
    padding: 1.25rem 1.1rem;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    width: 42px;
    height: 42px;
    right: var(--wa-offset);
    bottom: calc(var(--wa-offset) + var(--float-stack-h) + 12px);
  }

  .whatsapp-float {
    font-size: 1.55rem;
  }

  .call-float {
    font-size: 1.2rem;
  }

  .footer-social a {
    width: 44px;
    height: 44px;
  }

  .booking-form .input-icon input,
  .booking-form .input-icon select,
  .booking-form textarea {
    font-size: 16px; /* Prevents iOS zoom on focus */
  }
}

/* --------------------------------------------------------------------------
   430px â large phones (iPhone 14 Pro Max class)
   -------------------------------------------------------------------------- */
@media (max-width: 430px) {
  .brand-name {
    max-width: 130px;
  }

  .mobile-nav-inner > a {
    padding: 0.9rem 0.4rem;
    font-size: 0.95rem;
  }

  .credential-badge {
    font-size: 0.75rem;
  }

  .contact-strip-item {
    padding: 0.9rem 1rem;
  }
}

/* --------------------------------------------------------------------------
   390px â common modern phones
   -------------------------------------------------------------------------- */
@media (max-width: 390px) {
  :root {
    --ticker-h: 30px;
    --header-bar-h: 58px;
  }

  .brand-name {
    max-width: 118px;
    font-size: 0.92rem;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero-ctas .btn,
  .cta-band .btn {
    min-height: 48px;
    font-size: 0.9rem;
  }

  .process-step span {
    width: 50px;
    height: 50px;
    font-size: 1.15rem;
  }

  .booking-head img {
    width: 52px;
    height: 52px;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   375px â iPhone SE / standard
   -------------------------------------------------------------------------- */
@media (max-width: 375px) {
  .header-inner {
    padding-inline: 0.75rem;
    gap: 0.5rem;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand-name {
    max-width: 110px;
    font-size: 0.88rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .gold-line {
    width: 56px;
  }

  .testimonial-card::before {
    font-size: 3.5rem;
  }

  .faq-item summary {
    font-size: 1rem;
    line-height: 1.35;
  }

  .footer-bottom {
    font-size: 0.78rem;
  }

  .footer-legal {
    gap: 0.85rem;
  }
}

/* --------------------------------------------------------------------------
   360px â compact Android
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
  :root {
    --wa-size: 48px;
    --wa-offset: 12px;
  }

  body {
    padding-bottom: 0;
  }

  .brand-name {
    max-width: 100px;
    font-size: 0.82rem;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .btn {
    padding-inline: 1.1rem;
    font-size: 0.88rem;
  }

  .hero-copy,
  .hero-content {
    padding: 2.45rem 0.95rem 1.05rem;
  }

  .page-hero-content h1 {
    font-size: 1.7rem;
  }

  .trust-point {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .booking-head {
    padding: 0.9rem 3rem 0.8rem 0.95rem;
    gap: 0.65rem;
  }

  .booking-head img {
    width: 46px;
    height: 46px;
  }

  .booking-body {
    padding: 0.85rem 0.95rem 0.2rem;
  }

  .booking-foot {
    padding: 0.75rem 0.95rem calc(0.9rem + env(safe-area-inset-bottom, 0px));
  }

  .booking-form .btn-lg,
  .booking-form button[type="submit"],
  #bookingSubmit {
    font-size: 0.92rem;
    white-space: normal;
    height: auto;
    min-height: 52px;
    padding: 0.8rem 0.75rem;
    line-height: 1.35;
  }

  .booking-form .btn-lg span,
  #bookingSubmit span {
    white-space: normal;
  }

  .whatsapp-float {
    font-size: 1.4rem;
  }

  .call-float {
    font-size: 1.1rem;
  }

  .float-tip {
    display: none;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }
}

/* --------------------------------------------------------------------------
   Landscape phones â keep content usable
   -------------------------------------------------------------------------- */
@media (max-height: 480px) and (orientation: landscape) {
  .hero:not(.hero-home) {
    min-height: auto;
    padding: 1.15rem 0;
  }

  .hero.hero-home {
    min-height: 100svh;
    place-items: center;
  }

  .hero-home-stage {
    padding-bottom: 2.5rem;
  }

  .hero-home-brand {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  .hero-home-scroll {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(140px, 0.6fr);
    gap: 1rem;
    min-height: 0;
  }

  .hero-aside {
    order: 0;
  }

  .hero-portrait-ring {
    width: min(160px, 28vw);
  }

  .hero-copy,
  .hero-content {
    padding: 1rem 1.05rem 1.1rem;
  }

  .mobile-nav-inner {
    padding-bottom: 2rem;
  }

  .booking-panel {
    max-height: 90vh;
  }

  .page-hero {
    min-height: 240px;
    padding: 2.5rem 0 1.75rem;
  }
}

/* --------------------------------------------------------------------------
   High-DPI / retina polish
   -------------------------------------------------------------------------- */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .gold-line,
  .footer-ornament {
    transform: translateZ(0);
  }
}

/* --------------------------------------------------------------------------
   Homepage layout helpers
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .col-lg-2-4 {
    width: 33.333%;
  }
}

@media (max-width: 767.98px) {
  .col-lg-2-4 {
    width: 50%;
  }

  .contact-strip-inner {
    flex-direction: column;
    text-align: center;
  }

  .contact-inline li {
    justify-content: center;
  }

  .about-logo-badge {
    width: 64px;
    height: 64px;
    right: 8px;
    top: -8px;
  }

  .hero-logo {
    width: 148px;
    height: 148px;
  }

  .zodiac-float {
    opacity: 0.55;
  }

  .service-card-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .booking-form .btn-lg,
  .booking-form button[type="submit"],
  #bookingSubmit {
    white-space: normal;
    height: auto;
    min-height: 52px;
    line-height: 1.35;
    padding: 0.85rem 0.9rem;
    font-size: 0.95rem;
  }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .whatsapp-float,
  .call-float,
  .float-actions,
  .back-to-top,
  .booking-modal,
  .mobile-nav,
  .hero-particles,
  .hero-mandala,
  .nav-toggle {
    display: none !important;
  }

  body {
    padding-bottom: 0;
    background: #fff;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

@media (max-width: 1599.98px) {
  .lang-toggle span {
    display: none;
  }

  .header-actions .lang-toggle {
    width: 42px;
    padding: 0;
  }
}

  .search-panel {
    position: fixed;
    top: var(--header-h);
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
  }
}

/* ==========================================================================
   Site-wide responsive polish â header, containers, pages
   ========================================================================== */

.container {
  width: 100%;
  padding-left: max(1rem, env(safe-area-inset-left, 0px));
  padding-right: max(1rem, env(safe-area-inset-right, 0px));
}

.site-header {
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

.header-inner {
  overflow: visible;
}

.header-actions .icon-btn {
  width: 42px;
  height: 42px;
  min-height: 42px;
  flex-shrink: 0;
}

.header-actions .lang-toggle {
  width: auto;
  min-width: 42px;
}

.mobile-nav-inner {
  padding-top: max(1.15rem, env(safe-area-inset-top, 0px));
  padding-bottom: max(2.5rem, env(safe-area-inset-bottom, 0px));
}

/* Tables / wide content never blow out the page */
.table-responsive,
.table-scroll,
.pan-table,
iframe,
video {
  max-width: 100%;
}

@media (max-width: 1199.98px) {
  .header-actions {
    gap: 0.35rem;
  }

  .header-actions .btn-book {
    white-space: nowrap;
  }

  .brand-tag {
    max-width: min(28vw, 180px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .footer-grid {
    row-gap: 1.5rem;
  }
}

@media (max-width: 991.98px) {
  .page-hero {
    min-height: 280px;
  }

  .page-hero-content {
    padding-inline: 0;
  }

  .hero-ctas {
    gap: 0.75rem;
  }

  .cta-band .hero-ctas {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cta-band .btn {
    min-height: 48px;
  }

  .row.g-4 > [class*="col-"] {
    margin-bottom: 0;
  }
}

@media (max-width: 767.98px) {
  .container {
    padding-left: max(0.9rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.9rem, env(safe-area-inset-right, 0px));
  }

  .header-inner {
    padding: 0.55rem max(0.85rem, env(safe-area-inset-right, 0px)) 0.55rem max(0.85rem, env(safe-area-inset-left, 0px));
  }

  /* Keep site name visible on phones (truncated) */
  .brand-text {
    display: flex !important;
    min-width: 0;
  }

  .brand-tag {
    display: none !important;
  }

  .brand-name {
    display: block;
    max-width: min(46vw, 170px);
    font-size: 0.98rem;
  }

  .header-actions .btn-book {
    padding-inline: 0.7rem;
    font-size: 0.82rem;
  }

  .mobile-nav-links > a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0.75rem 0.4rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
  }

  .float-actions {
    right: max(14px, env(safe-area-inset-right, 0px));
    bottom: max(14px, env(safe-area-inset-bottom, 0px));
  }

  .back-to-top {
    right: max(14px, env(safe-area-inset-right, 0px));
    bottom: calc(var(--float-stack-h, 124px) + var(--wa-offset, 16px) + 12px);
  }

  /* Forms / cards */
  .contact-form-card,
  .booking-page-card {
    width: calc(100% - 1rem);
    max-width: 100%;
  }

  input,
  select,
  textarea {
    font-size: 16px !important; /* prevent iOS zoom */
  }
}

@media (max-width: 480px) {
  .brand-name {
    max-width: min(40vw, 140px);
    font-size: 0.9rem;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .header-actions .btn-book {
    padding-inline: 0.55rem;
  }

  .icon-btn {
    width: 40px;
    height: 40px;
    min-height: 40px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .page-hero {
    min-height: 240px;
    padding: 3rem 0 1.75rem;
  }

  .breadcrumb-nav {
    font-size: 0.85rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 400px) {
  .hero .hero-ctas {
    flex-direction: column;
  }

  .hero .hero-ctas .btn {
    width: 100%;
    flex: 1 1 auto;
  }
}

@media (max-width: 360px) {
  .header-actions .btn-book {
    display: none;
  }

  .brand-name {
    max-width: min(48vw, 130px);
  }
}

/* --------------------------------------------------------------------------
   Mobile layout repair â phones & small tablets
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .container,
  .container-fluid {
    max-width: 100%;
    padding-left: max(0.95rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.95rem, env(safe-area-inset-right, 0px));
  }

  .row {
    --bs-gutter-x: 0.9rem;
    margin-left: calc(var(--bs-gutter-x) * -0.5);
    margin-right: calc(var(--bs-gutter-x) * -0.5);
  }

  h1, h2, h3, h4,
  .page-hero-content h1,
  .hero-copy h1,
  .cta-band h2 {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .header-actions {
    gap: 0.3rem;
  }

  .header-actions .icon-btn,
  .nav-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .page-hero,
  .service-hero,
  .rashifal-hero,
  .gyan-hero,
  .puja-hero {
    min-height: auto;
    padding: 2.1rem 0 1.6rem;
  }

  .page-hero-content,
  .gyan-hero-content {
    padding-inline: 0;
    max-width: 100%;
  }

  .page-hero-content h1,
  .gyan-hero h1,
  .puja-hero h1 {
    font-size: clamp(1.5rem, 7vw, 2.05rem);
    line-height: 1.22;
  }

  .page-hero-content .lead,
  .puja-hero .lead,
  .gyan-hero .lead {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .hero-facts {
    gap: 0.28rem;
  }

  .hero-facts li {
    max-width: none;
    font-size: 0.62rem;
    padding: 0.3rem 0.32rem;
  }

  .cta-band .hero-ctas,
  .page-hero .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .cta-band .btn,
  .page-hero .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-strip-inner {
    padding: 1.15rem 1rem;
    gap: 1rem;
    align-items: stretch;
  }

  .contact-strip-inner .btn {
    width: 100%;
  }

  .contact-inline {
    text-align: left;
  }

  .contact-inline li {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .testimonials-swiper,
  .testimonials-swiper .swiper-wrapper {
    max-width: 100%;
    overflow: hidden;
  }

  .testimonials-swiper .swiper-slide,
  .testimonial-card {
    max-width: 100%;
    width: 100% !important;
    box-sizing: border-box;
  }

  .testimonial-card {
    padding: 1.25rem 1.1rem;
  }

  .quick-tools-row {
    margin-inline: -0.15rem;
    padding-inline: 0.15rem;
  }

  .categories-section .category-card {
    min-height: 180px;
  }

  .categories-section .category-card-content h3 {
    font-size: 1.05rem;
  }

  .categories-section .category-card-content p {
    font-size: 0.78rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .trust-points,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .special-grid,
  .category-grid,
  .process-grid,
  .info-card {
    min-width: 0;
  }

  .service-card,
  .special-card,
  .feature-card,
  .delhi-area-card,
  .info-card {
    min-width: 0;
    max-width: 100%;
  }

  .service-card-actions .btn,
  .service-card-actions a {
    width: 100%;
    justify-content: center;
  }

  .area-chip-row,
  .keyword-cloud {
    justify-content: flex-start;
  }

  .area-chip,
  .keyword-cloud li {
    font-size: 0.8rem;
    padding: 0.4rem 0.7rem;
  }

  .footer-grid > [class*="col-lg-4"] {
    flex: 0 0 auto;
    width: 100%;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-about,
  .footer-contact span {
    overflow-wrap: anywhere;
  }

  .cta-logo {
    width: 64px;
    height: 64px;
  }

  .image-frame,
  .logo-portrait {
    max-width: 100%;
  }

  .booking-modal {
    padding: 0;
    align-items: flex-end;
  }

  .booking-panel {
    width: 100%;
    max-width: 100%;
    max-height: min(94dvh, 94vh);
    border-radius: 16px 16px 0 0;
  }

  .booking-head p:not(.eyebrow) {
    display: none;
  }
}

@media (max-width: 480px) {
  .col-6 {
    width: 100%;
  }

  .categories-section .col-6,
  .page-delhi .col-6,
  .page-area .col-6 {
    width: 50%;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .delhi-area-card {
    min-height: 0;
    padding: 0.85rem 0.8rem;
  }
}

.brand-logo, .brand-logo-full, .mobile-brand-logo, .mobile-brand-logo-full, .footer-brand img, .cta-logo { object-fit: contain !important; }
.footer-brand:not(.footer-brand-full) img, .cta-logo { background: #fff; border-radius: 50%; border: 2px solid rgba(183,28,28,0.35); padding: 4px; }
@media (min-width: 1200px) {
  .brand-logo-ring { width: 90px; height: 90px; }
  .brand-logo-full { height: 64px; max-width: 240px; }
}
@media (max-width: 991.98px) {
  .brand-logo-ring { width: 68px; height: 68px; }
  .brand-logo-full { height: 48px; max-width: min(190px, 46vw); }
  .header-actions .btn-book .btn-book-full { display: none; }
  .header-actions .btn-book .btn-book-short { display: inline; }
  .btn-header-wa .btn-book-full { display: none; }
  .btn-header-wa { padding-inline: 0.75rem; min-width: 44px; }
  .header-bar { --header-bar-h: 72px; }
}
@media (max-width: 575.98px) {
  .brand-logo-ring { width: 58px; height: 58px; }
  .brand-logo-full { height: 42px; max-width: min(160px, 48vw); }
  .header-actions { gap: 0.4rem; }
  .header-actions .btn-book { padding-inline: 0.9rem; min-height: 40px; }
}
