@media (max-width: 1260px) {
  .container { width: min(calc(100% - 82px), var(--container)); }
  .header-inner { gap: 14px; }
  .brand { flex-basis: 290px; }.brand img { width: 200px; }
  .site-nav { gap: 24px; }.nav-link { font-size: 9px; }
  .hero-copy { padding-left: 61px; }
  .hero-floral { width: 145px; right: -8px; }
}
@media (max-width: 900px) {
  .site-header { height: 82px; }
  .brand { flex: 0 0 220px; }.brand img { width: 154px; margin-left: 0; transform: none; }
  .menu-toggle { display: grid; margin-left: auto; }
  .site-nav { position: absolute; top: 82px; left: 20px; right: 20px; padding: 18px; display: none; flex-direction: column; align-items: stretch; gap: 2px; border: 1px solid var(--border); border-radius: 14px; background: var(--warm-ivory); box-shadow: var(--shadow-md); }
  .site-nav { transform: none; }
  .site-nav.is-open { display: flex; }
  .nav-link { padding: 11px 14px; font-size: 14px; }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { font-weight: 700; background: rgba(71, 99, 77, .1); border-radius: 8px; }
  .site-nav .mobile-actions { display: flex; gap: 10px; padding-top: 8px; }
  .site-nav .mobile-actions .button-small { flex: 1; min-height: 44px; padding-inline: 16px; font-size: 13.5px; font-weight: 600; }
  .header-actions { display: none; transform: none; }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 18px; }
  .hero::before { width: 54%; background-position: 48% center; }
  .hero::after {
    background: linear-gradient(90deg,
      var(--bg-page-warm) 0%,
      var(--bg-page-warm) 42%,
      rgba(255, 249, 241, .96) 47%,
      rgba(255, 249, 241, .70) 53%,
      rgba(255, 249, 241, .28) 60%,
      rgba(255, 249, 241, 0) 68%);
  }
  .hero-copy { padding-left: 10px; }
  .hero h1 { font-size: 47px; }
  .hero-copy > p { font-size: 14px; }
  .hero-assurances { gap: 15px; }
  .hero-floral { display: none; }
  .trust-grid { grid-template-columns: repeat(3,1fr); row-gap: 18px; }
  .trust-shell { height: auto; }
  .trust-item:nth-child(3)::after { display: none; }
  .process-grid { grid-template-columns: repeat(3,1fr); row-gap: 26px; }
  .process-section { height: auto; padding: 30px 24px 24px; }
  .process-section > .container { width: min(calc(100% - 32px), var(--container)); }
  .process-shell { height: auto; padding: 0; }
  .process-shell::before, .process-shell::after { display: none; }
  .process-grid { height: auto; gap: 24px 22px; }
  .process-step, .process-step:nth-child(odd), .process-step:nth-child(even) { height: auto; min-height: 220px; align-self: stretch; }
  .process-step::after { display: none; }
  .pricing-grid { gap: 18px; }
  .pricing-grid, .service-grid { transform: none; }
  .service-grid { grid-template-columns: 1fr; }
  .services-section { height: auto; padding-bottom: 18px; }
  .service-panel { min-height: 250px; }
  .service-panel.counselling .service-copy { width: 48%; }
  .service-panel.counselling::before { width: 66%; background-position: 72% center; }
  .service-panel.counselling::after {
    background: linear-gradient(
      102deg,
      #fff9f0 0%,
      #fff9f0 39%,
      rgba(255, 249, 240, .98) 43%,
      rgba(255, 249, 240, .86) 47%,
      rgba(255, 249, 240, .58) 51%,
      rgba(255, 249, 240, .24) 56%,
      rgba(255, 249, 240, .06) 61%,
      rgba(255, 249, 240, 0) 65%
    );
  }
  .service-panel.nikah .service-copy { width: 48%; }
  .service-panel.nikah::before { width: 66%; background-position: 72% center; }
  .service-panel.nikah::after {
    background: linear-gradient(
      102deg,
      #fff8ee 0%,
      #fff8ee 39%,
      rgba(255, 248, 238, .98) 43%,
      rgba(255, 248, 238, .86) 47%,
      rgba(255, 248, 238, .58) 51%,
      rgba(255, 248, 238, .24) 56%,
      rgba(255, 248, 238, .06) 61%,
      rgba(255, 248, 238, 0) 65%
    );
  }
  .footer-grid.container { grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
  .site-footer { height: auto; }
  .journey { grid-column: 1/-1; padding-bottom: 14px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .footer-column { padding-bottom: 8px; }
  .footer-column:nth-child(2),
  .footer-column:nth-child(3),
  .footer-column:nth-child(4) { padding-left: 0; }
  .footer-bottom.container { width: min(calc(100% - 28px), var(--container)); margin: 7px auto 0; gap: 18px; }
}
@media (max-width: 768px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .hero { min-height: auto; padding: 28px 0 0; display: flex; flex-direction: column; }
  .hero::before {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    height: 360px;
    margin-top: 30px;
    background-position: center 45%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.6) 16%, #000 32%);
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.6) 16%, #000 32%);
  }
  .hero::after { display: none; }
  .hero-inner { order: 1; min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 0; text-align: center; }
  .hero h1 { max-width: 620px; margin-inline: auto; font-size: clamp(40px, 8vw, 48px); }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .hero-assurances { justify-content: center; }
  .lantern { width: 46px; opacity: .8; }
  .hero .lantern-left, .process-section .lantern-left { left: 4px; }
  .hero .lantern-right, .process-section .lantern-right { right: 4px; }
  .trust-shell { padding-inline: 15px; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(3)::after { display: block; }
  .trust-item:nth-child(2n)::after { display: none; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 430px; gap: 28px; }
  .pricing-section { height: auto; padding-bottom: 18px; }
  .price-card { height: auto; min-height: 280px; }
  .pricing-notes { flex-wrap: wrap; gap: 8px 15px; }
  .pricing-notes span::after { display: none; }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 460px; }
  .testimonials-section { height: auto; padding-bottom: 12px; }
  .testimonial-grid .quote-card:nth-child(n+2) { display: none; }
  .carousel-arrow.prev { left: 4px; }.carousel-arrow.next { right: 4px; }
  .accordion-grid { grid-template-columns: 1fr; }
  .accordion-column { display: contents; }
  .faqs-section.container { width: min(calc(100% - 28px), var(--container)); height: auto; padding-bottom: 12px; }
  .accordion-trigger { min-height: 44px; font-size: 12px; }
  .accordion-trigger .plus { font-size: 22px; }
  .footer-grid.container { width: min(calc(100% - 28px), var(--container)); grid-template-columns: 1fr 1fr; }
  .journey { grid-column: 1/-1; }
  .footer-column:last-child { grid-column: 1/-1; }
  .footer-bottom.container { width: min(calc(100% - 28px), var(--container)); margin: 7px auto 0; gap: 18px; flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .site-header { height: 72px; }
  .brand { flex-basis: 180px; }.brand img { width: 126px; content: url("../assets/logo/logo.webp?v=20260902-1"); }
  .site-nav { top: 72px; }
  .hero .lantern { display: none; }
  .hero { padding-top: 24px; }
  .hero h1 { font-size: clamp(34px, 9.3vw, 40px); }
  .hero-copy > p { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; flex-basis: auto; }
  .hero-assurances { margin-top: 24px; gap: 10px 16px; }
  .hero-assurance { font-size: 12.5px; }
  .hero::before { height: 300px; background-position: center 44%; }
  .section-heading { gap: 9px; }
  .section-heading::before, .section-heading::after { width: 30px; }
  .section-heading h2 { font-size: 24px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { min-height: 118px; }
  .trust-item::after { display: none !important; }
  .process-grid { grid-template-columns: 1fr; }
  .process-shell { padding: 0; }
  .process-shell::before { display: block; left: 19px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: #d2a343; }
  .process-grid { padding-left: 36px; gap: 24px; }
  .process-step, .process-step:nth-child(odd), .process-step:nth-child(even) { min-height: 218px; padding: 18px 18px 17px; align-self: stretch; }
  .process-step::after { display: none !important; }
  .process-step .step-number { top: 18px; left: -36px; }
  .service-panel { height: auto; grid-template-columns: 1fr; }
  .service-copy { padding: 22px; }
  .service-art { height: 210px; }
  .service-panel.counselling { display: flex; flex-direction: column; }
  .service-panel.counselling::before {
    position: relative;
    inset: auto;
    order: 2;
    flex: 0 0 230px;
    width: 100%;
    height: 230px;
    background-position: center;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.6) 16%, #000 32%);
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.6) 16%, #000 32%);
  }
  .service-panel.counselling::after { display: none; }
  .service-panel.counselling .service-copy { order: 1; width: 100%; height: auto; }
  .service-panel.nikah { display: flex; flex-direction: column; }
  .service-panel.nikah::before {
    position: relative;
    inset: auto;
    order: 2;
    flex: 0 0 230px;
    width: 100%;
    height: 230px;
    background-position: center;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.6) 16%, #000 32%);
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.6) 16%, #000 32%);
  }
  .service-panel.nikah::after { display: none; }
  .service-panel.nikah .service-copy { order: 1; width: 100%; height: auto; }
  .footer-grid.container { grid-template-columns: 1fr; }
  .journey, .footer-column:last-child { grid-column: auto; }
  .footer-column { padding-bottom: 12px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .footer-floral { width: 120px; height: 120px; }
  .footer-floral.right { display: none; }
}

/* Responsive optical sizes for the three primary decorative icon groups. */
@media (max-width: 1100px) {
  .index-page .trust-item .trust-feature-icon.primary-feature-icon {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }
  .index-page .process-step .process-feature-icon.primary-feature-icon {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
  }
  .index-page .membership-section .plan-icon.primary-feature-icon {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }
}

@media (max-width: 800px) {
  .index-page .trust-item .trust-feature-icon.primary-feature-icon,
  .index-page .process-step .process-feature-icon.primary-feature-icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }
  .index-page .membership-section .plan-icon.primary-feature-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
}

@media (max-width: 480px) {
  .index-page .trust-item .trust-feature-icon.primary-feature-icon {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }
  .index-page .process-step .process-feature-icon.primary-feature-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  .index-page .membership-section .plan-icon.primary-feature-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
}

@media (min-width: 901px) and (max-width: 1199px) {
  .process-section { padding-inline: 28px; }
  .process-section > .container { width: min(calc(100% - 40px), 1080px); }
  .process-shell { height: auto; }
  .process-shell::before, .process-shell::after { display: none; }
  .process-grid { height: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .process-step, .process-step:nth-child(odd), .process-step:nth-child(even) { height: auto; min-height: 220px; align-self: stretch; }
  .process-step::after { display: none; }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .process-section { padding: 22px 0 14px; }
  .process-section > .container { width: min(calc(100% - 82px), 1100px); }
  .process-section .section-heading { margin-bottom: 26px; }
  .process-section .section-heading h2 { font-size: 29px; font-weight: 600; }
  .process-shell { height: auto; }
  .process-shell::before, .process-shell::after { display: none; }
  .process-grid {
    height: auto;
    grid-template-columns: repeat(3, minmax(185px, 200px));
    justify-content: center;
    gap: 24px;
  }
  .process-step,
  .process-step:nth-child(odd),
  .process-step:nth-child(even) {
    width: 100%;
    height: 250px;
    min-height: 250px;
    align-self: stretch;
  }
  .process-step::after { display: none; }
}

@media (max-width: 768px) {
  .process-section { padding: 22px 0 18px; }
  .process-section > .container { width: min(calc(100% - 28px), 1100px); }
  .process-section .section-heading { margin-bottom: 24px; }
  .process-section .section-heading h2 { font-size: 24px; font-weight: 600; }
  .process-shell { width: min(100%, 384px); height: auto; margin-inline: auto; padding: 0; }
  .process-shell::before {
    display: block;
    top: 0;
    bottom: 0;
    left: 19px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent 0%, rgba(211, 161, 59, .78) 5%, rgba(211, 161, 59, .78) 95%, transparent 100%);
  }
  .process-shell::after { display: none; }
  .process-grid {
    width: 100%;
    height: auto;
    padding-left: 44px;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    gap: 22px;
  }
  .process-step,
  .process-step:nth-child(odd),
  .process-step:nth-child(even) {
    width: 100%;
    height: 240px;
    min-height: 240px;
    padding: 18px 16px;
    align-self: stretch;
  }
  .process-step::after { display: none !important; }
  .process-step .step-number { top: 14px; left: -44px; }
  .process-step .process-feature-icon { width: 64px; height: 64px; flex-basis: 64px; margin-top: 25px; }
}

/* Cardless process timeline responsive layout */
@media (min-width: 769px) and (max-width: 1199px) {
  .process-section { padding: 22px 0 18px; }
  .process-section > .container { width: min(calc(100% - 82px), 1100px); }
  .process-section .section-heading { margin-bottom: 32px; }
  .process-section .section-heading h2 { font-size: 29px; font-weight: 600; line-height: 1.16; }
  .process-shell { width: 100%; height: auto; }
  .process-shell::before, .process-shell::after { display: none; }
  .process-grid {
    height: auto;
    grid-template-columns: repeat(3, minmax(180px, 210px));
    justify-content: center;
    gap: 34px 24px;
  }
  .process-step,
  .process-step:nth-child(odd),
  .process-step:nth-child(even) {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0 10px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .process-step::after { display: none; }
}

@media (max-width: 768px) {
  .process-section { padding: 22px 0 18px; }
  .process-section > .container { width: min(calc(100% - 28px), 1100px); }
  .process-section .section-heading { margin-bottom: 30px; }
  .process-section .section-heading h2 { font-size: 24px; font-weight: 600; line-height: 1.16; }
  .process-shell { width: min(100%, 340px); height: auto; margin-inline: auto; padding: 0; }
  .process-shell::before, .process-shell::after { display: none; }
  .process-grid { width: 100%; height: auto; padding: 0; grid-template-columns: 1fr; gap: 0; }
  .process-step,
  .process-step:nth-child(odd),
  .process-step:nth-child(even) {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .process-step .step-number { position: relative; top: auto; left: auto; margin: 0 auto 16px; }
  .process-step .process-feature-icon { width: 72px; height: 72px; flex-basis: 72px; margin: 0 auto 14px; }
  .process-step h3 { font-size: 18px; }
  .process-step p { max-width: 210px; }
  .process-step::after,
  .process-step:nth-child(odd)::after,
  .process-step:nth-child(even)::after {
    content: "";
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    width: 1px;
    height: 28px;
    margin: 16px auto;
    display: block !important;
    background: rgba(211, 161, 59, .68);
    border: 0;
    border-radius: 0;
  }
  .process-step:last-child::after { display: none !important; }
  .process-step:last-child::before { top: 47px; left: calc(50% + 34px); }
}

/* Membership plans responsive layout */
@media (min-width: 769px) and (max-width: 1199px) {
  .membership-section { padding: 24px 28px 20px; }
  .membership-section > .container { width: min(calc(100% - 32px), 1100px); }
  .membership-section .pricing-grid { gap: 16px; margin-top: 24px; }
  .membership-section .price-card { height: 440px; min-height: 440px; padding: 21px 18px 19px; }
  .membership-section .price-card h3 { font-size: 22px; }
  .plan-icon { width: 56px; height: 56px; }
  .plan-price .amount { font-size: 27px; }
  .plan-price .currency { font-size: 27px; }
  .membership-section .plan-features li { padding-left: 23px; font-size: 12px; }
  .membership-section .plan-features { gap: 8px; }
}

@media (max-width: 768px) {
  .membership-section { padding: 24px 18px 20px; }
  .membership-section > .container { width: 100%; }
  .membership-section .section-heading h2 { font-size: 24px; }
  .membership-subtitle { max-width: 330px; font-size: 12.5px; }
  .membership-section .pricing-grid {
    max-width: 420px;
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .membership-section .price-card {
    width: 100%;
    height: auto;
    min-height: 440px;
    padding: 22px 22px 20px;
  }
  .membership-section .price-card.premium:hover { transform: none; }
  .membership-section .price-card:hover { transform: none; }
  .membership-section .plan-features { margin-top: 18px; }
  .membership-trust-bar {
    max-width: 420px;
    padding: 3px 20px;
    flex-direction: column;
  }
  .membership-trust-item { width: 100%; min-height: 52px; padding: 10px 4px; }
  .membership-trust-item + .membership-trust-item { border-top: 1px solid #e7dac7; border-left: 0; }
}

@media (max-width: 480px) {
  .membership-section .section-heading h2 { font-size: 24px; }
  .membership-section .price-card { min-height: 430px; padding-inline: 20px; }
  .plan-icon { width: 54px; height: 54px; }
  .membership-section .price-card h3 { font-size: 22px; }
  .plan-price .amount { font-size: 27px; }
  .plan-price .currency { margin-top: 0; font-size: 27px; }
  .service-grid .service-copy h2,
  .service-grid .service-copy > p { min-height: 0; }
  .service-grid .service-copy h2 { white-space: normal; }
}

/* Homepage production-polish responsive overrides. */
@media (min-width: 481px) and (max-width: 900px) {
  .trust-shell { padding: 20px 20px 22px; }
  .trust-shell .section-heading { margin-bottom: 20px; }
  .trust-item { padding-inline: 14px; }
  .trust-item:not(:last-child)::after {
    top: 12%;
    bottom: 10%;
    background: rgba(194, 165, 115, .22);
  }
  .trust-item .trust-feature-icon {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
    margin-bottom: 11px;
  }
  .trust-item h3 { margin-bottom: 7px; }
  .trust-item p { color: #6b695d; font-size: 13px; line-height: 1.5; }

  .service-panel.counselling::before,
  .service-panel.nikah::before { width: 62%; }
  .service-panel.counselling::after,
  .service-panel.nikah::after {
    background: linear-gradient(
      102deg,
      var(--service-card-bg) 0%,
      var(--service-card-bg) 35%,
      rgba(var(--service-card-bg-rgb), .98) 39%,
      rgba(var(--service-card-bg-rgb), .86) 43%,
      rgba(var(--service-card-bg-rgb), .60) 47%,
      rgba(var(--service-card-bg-rgb), .28) 51%,
      rgba(var(--service-card-bg-rgb), .08) 55%,
      rgba(var(--service-card-bg-rgb), 0) 59%
    );
  }
}



/* Final responsive-reference pass for the approved homepage mockups. */
@media (min-width: 1200px) {
  .home-page {
    --desktop-section-flow: clamp(14px, calc((100vw - 1200px) * .16), 48px);
  }

  .home-page .process-section {
    padding-top: calc(22px + var(--desktop-section-flow));
  }

  .home-page .membership-section {
    padding-top: calc(24px + var(--desktop-section-flow));
  }

  .home-page .services-section {
    padding-top: calc(22px + var(--desktop-section-flow));
  }

  .home-page .testimonials-section {
    padding-top: calc(26px + var(--desktop-section-flow));
  }
}

@media (min-width: 1270px) and (max-width: 1599px) {
  .home-page .hero::before {
    right: max(80px, calc((100% - 1200px) / 2));
  }
}

@media (min-width: 1600px) {
  .home-page .container,
  .home-page .header-inner,
  .home-page .hero-inner,
  .home-page .trust-section,
  .home-page .services-section {
    width: min(calc(100% - 480px), 1440px);
    max-width: 1440px;
  }

  .home-page .hero::before {
    right: calc((100vw - 1440px) / 2);
    width: 900px;
  }
  .home-page .hero-copy { padding-left: 48px; }
  .home-page .services-section { height: auto; }
  .home-page .service-panel { min-height: 360px; }
  .home-page .footer-grid.container,
  .home-page .footer-bottom.container {
    width: min(calc(100% - 480px), 1440px);
    max-width: 1440px;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .home-page .site-header { height: 92px; }
  .home-page .header-inner { width: calc(100% - 48px); gap: 12px; }
  .home-page .brand { order: 1; flex: 0 0 292px; }
  .home-page .brand img { width: 200px; margin: 0; transform: none; }
  .home-page .site-nav {
    position: absolute;
    top: 92px;
    left: 24px;
    right: 24px;
    display: none;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    transform: none;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--warm-ivory);
    box-shadow: var(--shadow-md);
  }
  .home-page .site-nav.is-open { display: flex; }
  .home-page .site-nav .nav-link { padding: 10px 14px; font-size: 13px; }
  .home-page .site-nav .nav-link::after { display: none; }
  .home-page .site-nav .nav-link[aria-current="page"] { font-weight: 700; background: rgba(71, 99, 77, .1); border-radius: 8px; }
  .home-page .site-nav .mobile-actions { display: none; }
  .home-page .header-actions { order: 2; margin-left: auto; display: flex; transform: none; }
  .home-page .header-actions .button:first-child { display: none; }
  .home-page .menu-toggle { order: 3; display: grid; margin: 0; }

  .home-page .hero,
  .home-page .hero-inner { min-height: 540px; }
  .home-page .hero-inner { width: calc(100% - 48px); grid-template-columns: 1fr 1fr; }
  .home-page .hero-copy { padding-left: 32px; transform: none; }
  .home-page .hero h1 { max-width: 450px; font-size: 48px; line-height: .94; }
  .home-page .hero-copy > p { max-width: 390px; font-size: 13px; }
  .home-page .hero::before { right: 24px; width: 57%; }
  .home-page .hero::after {
    background: linear-gradient(90deg,
      var(--bg-page-warm) 0%,
      var(--bg-page-warm) 37%,
      rgba(255,249,241,.97) 42%,
      rgba(255,249,241,.72) 49%,
      rgba(255,249,241,.28) 56%,
      rgba(255,249,241,0) 64%);
  }

  .home-page .trust-section { width: calc(100% - 40px); }
  .home-page .trust-shell { padding: 22px 24px 24px; }
  .home-page .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
  .home-page .trust-item { min-height: 150px; }
  .home-page .trust-item:nth-child(3)::after { display: none; }
  .home-page .trust-item .trust-feature-icon { width: 58px; height: 58px; flex-basis: 58px; margin-bottom: 9px; }
  .home-page .trust-item p { font-size: 11px; line-height: 1.55; }

  .home-page .process-section > .container { width: calc(100% - 64px); }
  .home-page .process-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
  }
  .home-page .process-step,
  .home-page .process-step:nth-child(odd),
  .home-page .process-step:nth-child(even) {
    width: auto;
    min-height: 185px;
    padding-inline: 4px;
  }
  .home-page .process-step .process-feature-icon { width: 62px; height: 62px; flex-basis: 62px; }
  .home-page .process-step h3 { font-size: 15px; }
  .home-page .process-step p { max-width: 155px; font-size: 11px; }

  .home-page .membership-section .price-card { height: 380px; min-height: 380px; }
  .home-page .services-section { width: calc(100% - 40px); }
  .home-page .service-panel { min-height: 340px; }
}

@media (max-width: 900px) {
  .home-page .site-header { height: 76px; }
  .home-page .header-inner { width: calc(100% - 28px); }
  .home-page .brand { flex: 0 0 255px; }
  .home-page .brand img { width: 178px; margin: 0; transform: none; }
  .home-page .site-nav { top: 76px; }
  .home-page .header-actions { display: none; }
  .home-page .menu-toggle { width: 38px; height: 38px; margin-left: auto; border-radius: 8px; }
  .home-page .menu-toggle span,
  .home-page .menu-toggle span::before,
  .home-page .menu-toggle span::after { width: 18px; }

  .home-page .hero { min-height: 0; padding: 28px 0 0; }
  .home-page .hero-inner { width: calc(100% - 28px); }
  .home-page .hero-copy { padding: 0; text-align: left; transform: none; }
  .home-page .hero h1 { max-width: 610px; margin-inline: 0; font-size: clamp(36px, 5.5vw, 42px); }
  .home-page .hero-copy > p { max-width: 430px; margin-inline: 0; }
  .home-page .hero-actions,
  .home-page .hero-assurances { justify-content: flex-start; }
  .home-page .hero::before {
    width: calc(100% - 28px);
    height: 400px;
    margin: 24px auto 0;
    background-position: center 48%;
    border-radius: 0;
  }

  .home-page .trust-section { width: calc(100% - 28px); margin-top: 22px; }
  .home-page .trust-shell { padding: 20px 18px 22px; }
  .home-page .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .home-page .trust-item { min-height: 0; padding: 12px 14px; }
  .home-page .trust-item:nth-child(2n)::after { display: none; }
  .home-page .trust-item:nth-child(-n+4) { border-bottom: 1px solid var(--border); }
  .home-page .trust-item .trust-feature-icon { width: 52px; height: 52px; flex-basis: 52px; margin-bottom: 8px; }
  .home-page .trust-item h3 { margin-bottom: 5px; font-size: 11px; }
  .home-page .trust-item p { font-size: 9px; line-height: 1.5; }

  .home-page .process-section { padding: 22px 0 12px; }
  .home-page .process-section > .container { width: calc(100% - 28px); }
  .home-page .process-section .section-heading { margin-bottom: 24px; }
  .home-page .process-shell { max-width: 560px; margin-inline: auto; }
  .home-page .process-shell::before {
    display: block;
    top: 8px;
    bottom: 8px;
    left: 72px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(211,161,59,.78) 8%, rgba(211,161,59,.78) 92%, transparent);
  }
  .home-page .process-grid {
    height: auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .home-page .process-step,
  .home-page .process-step:nth-child(odd),
  .home-page .process-step:nth-child(even) {
    width: 100%;
    height: auto;
    min-height: 66px;
    padding: 0;
    display: grid;
    grid-template-columns: 38px 58px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
    align-self: auto;
    text-align: left;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .home-page .process-step .step-number {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 28px;
    height: 20px;
    margin: 0 auto;
    padding: 0;
    align-self: center;
    font-size: 8px;
    border-radius: 6px;
  }
  .home-page .process-step .process-feature-icon {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 52px;
    height: 52px;
    min-height: 0;
    flex: none;
    margin: 0;
    background: var(--bg-page-warm);
  }
  .home-page .process-step h3 {
    grid-column: 3;
    grid-row: 1;
    align-self: end;
    margin: 0 0 3px;
    font-size: 14px;
    text-align: left;
  }
  .home-page .process-step h3::after { display: none; }
  .home-page .process-step::after,
  .home-page .process-step:nth-child(odd)::after,
  .home-page .process-step:nth-child(even)::after { display: none !important; }
  .home-page .process-step p {
    grid-column: 3;
    grid-row: 2;
    align-self: start;
    max-width: none;
    margin: 0;
    font-size: 10px;
    line-height: 1.45;
    text-align: left;
  }
  .home-page .process-step:last-child::before { display: none; }

  .home-page .membership-section { padding: 18px 14px 20px; }
  .home-page .membership-section > .container { width: 100%; }
  .home-page .membership-section .pricing-grid { max-width: 580px; margin-top: 24px; gap: 18px; }
  .home-page .membership-section .price-card {
    min-height: 370px;
    padding: 18px 22px 17px;
  }
  .home-page .membership-section .plan-icon { width: 52px; height: 52px; }
  .home-page .membership-section .price-card h3 { font-size: 21px; }
  .home-page .membership-section .price-card header p { font-size: 12px; }
  .home-page .plan-price .amount { font-size: 27px; }
  .home-page .plan-price .currency { font-size: 27px; }
  .home-page .billing-period { font-size: 12px; }
  .home-page .membership-section .plan-features { margin-top: 14px; gap: 9px; }
  .home-page .membership-section .plan-features li { font-size: 13px; }
  .home-page .membership-section .plan-actions .button { min-height: 42px; font-size: 13px; }

  .home-page .services-section { width: calc(100% - 28px); padding-bottom: 0; }
  .home-page .service-grid { gap: 18px; }
  .home-page .service-panel { min-height: 340px; }
  .home-page .service-copy h2 { font-size: 20px; }
  .home-page .service-copy > p { font-size: 13px; line-height: 1.55; }
  .home-page .service-copy .check-list li { font-size: 13px; line-height: 1.5; }
  .home-page .service-copy .button { min-height: 42px; font-size: 13px; }
  .home-page .service-panel.counselling .service-copy .check-list,
  .home-page .service-panel.nikah .service-copy .check-list { margin-bottom: 0; }
  .home-page .service-panel.counselling .button,
  .home-page .service-panel.nikah .button { align-self: flex-start; width: fit-content; min-width: 170px; margin-top: 18px; padding-inline: 22px; font-weight: 700; white-space: nowrap; }

  .home-page .testimonials-section { padding-inline: 14px; }
  .home-page .quote-card { min-height: 126px; }

  .home-page .faqs-section.container { width: calc(100% - 28px); }
  .home-page .accordion-grid { grid-template-columns: 1fr; }
  .home-page .accordion-column { display: contents; }
  .home-page .accordion-item:has(#faq-a1) { order: 1; }
  .home-page .accordion-item:has(#faq-a2) { order: 2; }
  .home-page .accordion-item:has(#faq-a3) { order: 3; }
  .home-page .accordion-item:has(#faq-a4) { order: 4; }
  .home-page .accordion-item:has(#faq-a5) { order: 5; }
  .home-page .accordion-item:has(#faq-a6) { order: 6; }
}

@media (max-width: 480px) {
  .home-page { border-width: 1.5px; border-radius: 8px; }
  .home-page .site-header { height: 64px; }
  .home-page .header-inner { width: calc(100% - 18px); }
  .home-page .brand { flex-basis: 180px; }
  .home-page .brand img { width: 145px; }
  .home-page .menu-toggle { display: none; }
  .home-page .site-nav { top: 64px; left: 10px; right: 10px; }

  .home-page .hero { padding-top: 18px; }
  .home-page .hero-inner { width: calc(100% - 24px); }
  .home-page .hero h1 {
    max-width: 300px;
    margin-bottom: 10px;
    font-size: clamp(26px, 7.2vw, 29px);
    line-height: .96;
  }
  .home-page .mobile-peace-break { display: block; }
  .home-page .hero-copy > p { max-width: 320px; margin-bottom: 12px; font-size: 13px; line-height: 1.55; }
  .home-page .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .home-page .hero-actions .button,
  .home-page .hero-actions .button:first-child,
  .home-page .hero-actions .button:nth-child(2) {
    width: 100%;
    min-height: 46px;
    padding-inline: 16px;
    flex: 0 0 auto;
    font-size: 13px;
    gap: 6px;
  }
  .home-page .hero-button-icon { width: 16px; height: 16px; }
  .home-page .hero-assurances {
    margin-top: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .home-page .hero-assurance { gap: 7px; font-size: 12px; }
  .home-page .hero-assurance svg { width: 16px; height: 16px; }
  .home-page .hero::before {
    width: calc(100% - 16px);
    height: 488px;
    margin-top: 16px;
    background-position: center 48%;
  }

  .home-page .section-heading { gap: 7px; }
  .home-page .section-heading::before,
  .home-page .section-heading::after { width: 22px; }
  .home-page .section-heading .diamond { width: 4px; height: 4px; }
  .home-page .section-heading h2 { font-size: 20px; line-height: 1.05; }

  .home-page .trust-section { width: calc(100% - 16px); margin-top: 14px; }
  .home-page .trust-shell { padding: 17px 12px 18px; border-radius: 10px; }
  .home-page .trust-shell .section-heading { margin-bottom: 15px; }
  .home-page .trust-shell .section-heading h2 { max-width: 220px; font-size: 20px; }
  .home-page .trust-grid { grid-template-columns: 1fr; }
  .home-page .trust-item { min-height: 0; padding: 14px 8px; }
  .home-page .trust-item::after { display: none !important; }
  .home-page .trust-item:not(:last-child) { border-bottom: 1px solid var(--border); }
  .home-page .trust-item .trust-feature-icon { width: 48px; height: 48px; flex-basis: 48px; margin-bottom: 7px; }
  .home-page .trust-item h3 { margin-bottom: 4px; font-size: var(--card-title-size); }
  .home-page .trust-item p { max-width: 270px; margin-inline: auto; font-size: 10.5px; line-height: 1.5; }

  .home-page .process-section { padding-top: 18px; }
  .home-page .process-section .section-heading { margin-bottom: 20px; }
  .home-page .process-section .section-heading h2 { max-width: 235px; }
  .home-page .process-shell { max-width: 330px; }
  .home-page .process-shell::before { left: 53px; }
  .home-page .process-grid { gap: 18px; }
  .home-page .process-step,
  .home-page .process-step:nth-child(odd),
  .home-page .process-step:nth-child(even) {
    min-height: 64px;
    grid-template-columns: 27px 44px minmax(0, 1fr);
    column-gap: 7px;
  }
  .home-page .process-step .step-number { width: 23px; height: 17px; font-size: 6.5px; border-radius: 5px; }
  .home-page .process-step .process-feature-icon { width: 40px; height: 40px; }
  .home-page .process-step h3 { margin-bottom: 2px; font-size: 11px; }
  .home-page .process-step p { font-size: 7.5px; line-height: 1.4; }

  .home-page .membership-section { padding: 16px 8px 18px; }
  .home-page .membership-subtitle { margin-top: 3px; font-size: 7.5px; }
  .home-page .membership-section .pricing-grid { max-width: none; margin-top: 16px; gap: 14px; }
  .home-page .membership-section .price-card {
    min-height: 410px;
    padding: 17px 16px 15px;
    border-radius: 12px;
  }
  .home-page .membership-section .plan-icon { width: 48px; height: 48px; margin-bottom: 4px; }
  .home-page .membership-section .price-card h3 { font-size: 20px; }
  .home-page .membership-section .price-card header p { min-height: 0; font-size: 12px; }
  .home-page .membership-section .plan-divider { margin: 6px auto 5px; }
  .home-page .plan-price .amount { font-size: 27px; }
  .home-page .plan-price .currency { margin-right: 4px; font-size: 27px; }
  .home-page .billing-period { margin-left: 5px; font-size: 12px; }
  .home-page .membership-section .plan-features { margin-top: 13px; gap: 8px; }
  .home-page .membership-section .plan-features li { min-height: 0; padding-left: 20px; font-size: 13px; }
  .home-page .membership-section .plan-features li::before { width: 13px; height: 13px; }
  .home-page .membership-section .plan-actions .button { min-height: 40px; font-size: 13px; }
  .home-page .membership-trust-bar { margin-top: 12px; padding: 2px 12px; border-radius: 9px; }
  .home-page .membership-trust-item { min-height: 42px; padding: 9px 4px; font-size: 12px; }
  .home-page .membership-trust-item svg { width: 18px; height: 18px; flex-basis: 18px; }

  .home-page .services-section { width: calc(100% - 16px); }
  .home-page .service-grid { gap: 14px; }
  .home-page .service-panel { min-height: 0; }
  .home-page .service-copy { padding: 17px 18px; }
  .home-page .service-copy h2 { font-size: 18px; }
  .home-page .service-copy > p { margin-bottom: 8px; font-size: 13px; line-height: 1.5; }
  .home-page .service-copy .check-list { gap: 6px; }
  .home-page .service-copy .check-list li { padding-left: 17px; font-size: 13px; }
  .home-page .service-copy .button { min-height: 42px; font-size: 13px; }
  .home-page .service-panel.counselling .service-copy .check-list,
  .home-page .service-panel.nikah .service-copy .check-list { margin-bottom: 0; }
  .home-page .service-panel.counselling .button,
  .home-page .service-panel.nikah .button { align-self: flex-start; width: fit-content; min-width: 170px; margin-top: 18px; padding-inline: 22px; font-weight: 700; white-space: nowrap; }
  .home-page .service-panel.counselling::before,
  .home-page .service-panel.nikah::before { flex-basis: 275px; height: 275px; }

  .home-page .testimonials-section { padding: 18px 8px 0; }
  .home-page .testimonials-section .section-heading { margin-bottom: 15px; }
  .home-page .testimonials-section .section-heading h2 { max-width: 220px; }
  .home-page .testimonial-grid { gap: 10px; }
  .home-page .quote-card { min-height: 206px; padding: 18px 18px 15px 32px; }
  .home-page .quote-mark { left: 10px; font-size: 32px; }
  .home-page .stars { margin-left: 8px; font-size: 11px; }
  .home-page .quote-card blockquote { font-size: 13px; line-height: 1.55; }
  .home-page .quote-card cite { font-size: 12px; text-align: left; }

  .home-page .faqs-section.container { width: calc(100% - 16px); margin-bottom: 16px; }
  .home-page .faqs-section .section-heading { margin-bottom: 10px; }
  .home-page .faqs-section .section-heading h2 { max-width: 220px; }
  .home-page .accordion-trigger { min-height: 48px; padding-inline: 2px; font-size: 13px; white-space: normal; }
  .home-page .accordion-trigger .plus { font-size: 16px; }
  .home-page .accordion-panel p { font-size: 13px; line-height: 1.6; }

  .home-page .site-footer { height: auto; padding: 22px 14px 10px; border-radius: 10px 10px 0 0; }
  .home-page .footer-grid.container { width: 100%; gap: 14px; }
  .home-page .journey { min-height: 0; padding: 0 0 16px 54px; }
  .home-page .mail-icon { width: 42px; height: 40px; }
  .home-page .journey h2 { margin-bottom: 5px; font-size: 16px; white-space: normal; }
  .home-page .journey p { max-width: 230px; font-size: 12px; line-height: 1.5; }
  .home-page .social-list { margin-top: 8px; }
  .home-page .social-link { width: 23px; height: 23px; font-size: 8px; }
  .home-page .footer-column { padding-bottom: 8px; }
  .home-page .footer-column h3 { margin-bottom: 6px; font-size: 13px; }
  .home-page .footer-column a,
  .home-page .footer-column address { margin-bottom: 5px; font-size: 12px; }
  .home-page .footer-bottom.container { padding-top: 9px; font-size: 11px; gap: 5px; }
}

@media (max-width: 1199px) {
  .process-section { padding-top: 16px; padding-bottom: 10px; }
  .membership-section { padding-top: 14px; }
}

@media (max-width: 768px) {
  .process-section .section-heading { margin-bottom: 26px; }
}

@media (max-width: 480px) {
  .trust-shell { padding: 18px 16px 20px; }
  .trust-shell .section-heading { margin-bottom: 18px; }
  .trust-item { min-height: 0; padding: 12px 8px 18px; }
  .trust-item .trust-feature-icon {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    margin-bottom: 10px;
  }
  .trust-item h3 { margin-bottom: 6px; }
  .trust-item p { color: #6b695d; font-size: 12.5px; line-height: 1.5; }
}

@media (min-width: 901px) and (max-width: 1199px) {
  .membership-section .price-card {
    height: 410px;
    min-height: 410px;
  }
}

@media (min-width: 481px) and (max-width: 900px) {
  .home-page .hero::before {
    height: 600px;
  }

  .home-page .trust-item {
    min-height: 190px;
  }

  .home-page .service-panel {
    min-height: 380px;
  }

  .home-page .accordion-trigger {
    min-height: 52px;
    font-size: 13px;
    white-space: normal;
  }
  .home-page .accordion-panel p {
    font-size: 13px;
    line-height: 1.6;
  }

  .home-page .testimonials-section .section-heading h2 { font-size: 20px; }
  .home-page .quote-card { min-height: 150px; }
  .home-page .quote-card blockquote { font-size: 13px; line-height: 1.55; }
  .home-page .quote-card cite { font-size: 12px; }
  .home-page .stars { font-size: 11px; }

  .home-page .footer-column h3 { font-size: 13px; }
  .home-page .footer-column a,
  .home-page .footer-column address { font-size: 12px; }
  .home-page .footer-bottom.container { font-size: 11px; }

  .footer-floral.right {
    top: -12px;
    right: -16px;
    width: clamp(140px, 18vw, 165px);
    height: auto;
  }

  .service-panel.counselling::after {
    background: linear-gradient(
      102deg,
      var(--service-card-bg) 0%,
      var(--service-card-bg) 35%,
      rgba(var(--service-card-bg-rgb), .98) 42%,
      rgba(var(--service-card-bg-rgb), .86) 46%,
      rgba(var(--service-card-bg-rgb), .60) 50%,
      rgba(var(--service-card-bg-rgb), .28) 54%,
      rgba(var(--service-card-bg-rgb), .08) 57%,
      rgba(var(--service-card-bg-rgb), 0) 61%
    );
  }
}

/* Requested responsive behavior, placed last so it wins the legacy cascade. */
@media (min-width: 901px) and (max-width: 1100px) {
  .home-page .header-actions .button:first-child { display: inline-flex; }
  .home-page .menu-toggle { display: none; }
  .home-page .hero-assurances { flex-direction: column; align-items: flex-start; gap: 10px; }
  .home-page .hero-assurance { width: 100%; }
  .home-page .hero-assurance svg { width: 20px; height: 20px; flex: 0 0 20px; }
  .home-page .testimonial-wrap {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 16px;
  }
  .home-page .testimonial-grid {
    grid-column: 2;
    grid-row: 1;
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .home-page .testimonial-grid .quote-card:nth-child(n + 3) { display: none; }
  .home-page .carousel-arrow { position: static; display: grid; width: 44px; height: 44px; transform: none; }
  .home-page .carousel-arrow.prev { grid-column: 1; grid-row: 1; }
  .home-page .carousel-arrow.next { grid-column: 3; grid-row: 1; }
}

@media (max-width: 1100px) {
  .home-page .site-footer { width: calc(100% + 6px); margin-left: -3px; border-radius: 0; }
  .home-page .footer-contact {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
  }
  .home-page .footer-contact img,
  .home-page .footer-contact img[src$="email.webp"],
  .home-page .footer-contact img[src$="address.webp"] {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    transform: none;
  }
  .home-page .footer-contact span { grid-column: 2; min-width: 0; }
  .home-page .mail-icon { top: 0; }
}

@media (max-width: 900px) {
  .home-page .testimonial-wrap {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 12px;
  }
  .home-page .testimonial-grid {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .home-page .testimonial-grid .quote-card:nth-child(n + 2) { display: none; }
  .home-page .carousel-arrow {
    position: static;
    display: grid;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    transform: none;
  }
  .home-page .carousel-arrow.prev { grid-column: 1; grid-row: 1; }
  .home-page .carousel-arrow.next { grid-column: 3; grid-row: 1; }
}

@media (max-width: 480px) {
  .home-page .menu-toggle { display: grid; width: 44px; height: 44px; margin-left: auto; border-radius: 8px; }
  .home-page .testimonial-wrap { grid-template-columns: 42px minmax(0, 1fr) 42px; gap: 6px; }
  .home-page .carousel-arrow { width: 42px; height: 42px; min-width: 42px; min-height: 42px; }
  .home-page .quote-card { min-height: 170px; padding-inline: 27px 16px; }
  .home-page .site-footer { width: calc(100% + 3px); margin-left: -1.5px; }
  .home-page .footer-contact { grid-template-columns: 22px minmax(0, 1fr); column-gap: 9px; }
  .home-page .footer-contact img,
  .home-page .footer-contact img[src$="email.webp"],
  .home-page .footer-contact img[src$="address.webp"] { width: 17px; height: 17px; }
  .index-page .process-step,
  .index-page .process-step:nth-child(odd),
  .index-page .process-step:nth-child(even) {
    grid-template-columns: 27px 52px minmax(0, 1fr);
  }
}

/* Shared wide-illustration hero crop
   All finalized hero artworks use the same wide 1672 x 941 source ratio.
   These late rules replace the legacy oversized hero heights while preserving
   each page's existing focal position and cream-to-image blend. */
@media (min-width: 1101px) {
  .home-page .hero,
  .home-page .hero-inner {
    min-height: 480px;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .home-page .hero,
  .home-page .hero-inner {
    min-height: 440px;
  }
}

@media (min-width: 481px) and (max-width: 900px) {
  .home-page .hero::before {
    height: clamp(320px, 55vw, 420px);
  }
}

@media (max-width: 480px) {
  .home-page .hero::before {
    height: clamp(235px, 64vw, 275px);
  }
}

/* Homepage Matrimonial Services: full-width member of the shared service-card family. */
.home-page .service-panel.matrimonial {
  --service-card-bg: #fff9f0;
  --service-card-bg-rgb: 255, 249, 240;
  position: relative;
  isolation: isolate;
  grid-column: 1 / -1;
  justify-self: center;
  width: 86%;
  max-width: 1060px;
  margin-inline: auto;
  height: auto;
  min-height: 358px;
  display: block;
  overflow: hidden;
  border-radius: 17px;
  background: var(--service-card-bg);
  box-shadow: 0 7px 22px rgba(42, 60, 45, .035);
}
.home-page .service-panel.matrimonial::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: 56%;
  height: 100%;
  background: url("../assets/illustrations/matrimonial-meeting.webp?v=202611291453") 56% center / cover no-repeat;
  pointer-events: none;
}
.home-page .service-panel.matrimonial::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    102deg,
    var(--service-card-bg) 0%,
    var(--service-card-bg) 36%,
    rgba(var(--service-card-bg-rgb), .98) 42%,
    rgba(var(--service-card-bg-rgb), .84) 47%,
    rgba(var(--service-card-bg-rgb), .56) 52%,
    rgba(var(--service-card-bg-rgb), .24) 57%,
    rgba(var(--service-card-bg-rgb), .06) 61%,
    rgba(var(--service-card-bg-rgb), 0) 65%
  );
  pointer-events: none;
}
.home-page .service-panel.matrimonial .service-copy {
  width: 46%;
  height: 100%;
  padding: 28px 32px;
  box-sizing: border-box;
}
.home-page .service-panel.matrimonial .service-copy h2 {
  min-height: 0;
  white-space: normal;
}
.home-page .service-panel.matrimonial .service-copy h2::after { display: none; }
.home-page .service-panel.matrimonial .service-copy > p {
  min-height: 0;
  font-family: var(--font-body);
}
.home-page .service-panel.matrimonial .check-list {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: none;
  grid-auto-flow: row;
  row-gap: 7px;
  margin-bottom: 0;
}
.home-page .service-panel.matrimonial .check-list li { font-family: var(--font-body); }
.home-page .service-panel.matrimonial .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  align-self: flex-start;
  width: fit-content;
  min-width: 170px;
  height: 42px;
  min-height: 42px;
  margin-top: 22px;
  padding-inline: 22px;
  font-family: var(--font-body);
  font-weight: 700;
}

@media (min-width: 901px) {
  .home-page .service-panel.matrimonial .check-list li {
    font-size: 12.75px;
    line-height: 1.4;
  }
}

@media (min-width: 901px) and (max-width: 1199px) {
  .home-page .service-panel.matrimonial { height: auto; min-height: 330px; }
  .home-page .service-panel.matrimonial .service-copy { padding: 26px 28px; }
}

@media (max-width: 900px) {
  .home-page .service-panel.matrimonial {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .home-page .service-panel.matrimonial::before {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    height: clamp(220px, 62vw, 260px);
    flex: 0 0 clamp(220px, 62vw, 260px);
    background-position: 56% center;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.6) 16%, #000 32%);
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.6) 16%, #000 32%);
  }
  .home-page .service-panel.matrimonial::after { display: none; }
  .home-page .service-panel.matrimonial .service-copy {
    order: 1;
    width: 100%;
    height: auto;
    padding: 22px;
  }
  .home-page .service-panel.matrimonial .check-list {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
    row-gap: 6px;
    margin-bottom: 0;
  }
  .home-page .service-panel.matrimonial .button { margin-top: 18px; }
}

@media (max-width: 480px) {
  .home-page .service-panel.matrimonial .service-copy { padding: 17px 18px; }
}

/* Persistent quick access: uses the same max-width condition as the existing
   hamburger navigation, and reserves no space in full desktop navigation mode. */
@media (max-width: 900px) {
  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    width: 100%;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid #c5a880;
    background: var(--bg-footer-dark);
    box-shadow: 0 -3px 10px rgba(20, 55, 40, .10);
  }

  .site-footer {
    margin-bottom: calc(70px + env(safe-area-inset-bottom));
  }

  .site-nav {
    max-height: calc(100dvh - 82px - 70px - env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (max-width: 480px) {
  .mobile-bottom-nav__item {
    gap: 3px;
    padding-inline: 2px;
    font-size: 10.75px;
  }

  .mobile-bottom-nav__item svg {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
  }

  .site-nav {
    max-height: calc(100dvh - 72px - 70px - env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-bottom-nav__item { transition: none; }
}

.index-page .hero h1 { margin-bottom: 12px !important; }
@media (min-width: 481px) {
  .index-page .hero-copy > p { margin-bottom: 20px; }
}

/* Public header on phones and tablets: Log In and Register stay visible beside the menu button instead of living only inside it. */
@media (max-width: 900px) {
  .site-header .header-inner { gap: 8px; }
  .site-header .header-inner .brand { flex: 0 1 auto; min-width: 0; }
  .site-header .header-inner .header-actions { display: flex; order: 2; margin-left: auto; gap: 6px; align-items: center; transform: none; }
  .site-header .header-inner .header-actions .button { display: inline-flex; min-height: 40px; padding-inline: 16px; font-size: 13px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
  .site-header .header-inner .header-actions .button-secondary { min-height: 40px; padding-inline: 10px; border-color: transparent; background: transparent; box-shadow: none; }
  .site-header .header-inner .menu-toggle { order: 3; display: grid; margin: 0 0 0 2px; width: 40px; height: 40px; flex: 0 0 auto; }
  .site-header .header-inner .site-nav .mobile-actions { display: none; }
}
@media (max-width: 480px) {
  .site-header .header-inner .brand img { width: 112px; }
  .site-header .header-inner .header-actions { gap: 2px; }
  .site-header .header-inner .header-actions .button { padding-inline: 14px; }
  .site-header .header-inner .header-actions .button-secondary { padding-inline: 8px; }
}
@media (max-width: 350px) {
  .site-header .header-inner .brand img { width: 96px; }
  .site-header .header-inner .header-actions .button-secondary { display: none; }
  .site-header .header-inner .site-nav .mobile-actions { display: flex; }
  .site-header .header-inner .site-nav .mobile-actions .button-secondary { display: inline-flex; }
}

/* Counselling and Nikah cards (desktop): artwork keeps the full card height and only its own left edge is blended, so every counsellor photo stays fully visible. */
@media (min-width: 1261px) {
  .service-panel.counselling::after { background: none; }
  .service-panel.counselling::before {
    right: -28px;
    width: auto;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: right center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 5%, #000 10%);
    mask-image: linear-gradient(90deg, transparent 0, transparent 5%, #000 10%);
  }
  .service-panel.nikah::after { background: none; }
  .service-panel.nikah::before {
    width: auto;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: right center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 10%, #000 30%);
    mask-image: linear-gradient(90deg, transparent 0, transparent 10%, #000 30%);
  }
}

/* Counselling card (mobile): show the whole artwork at its natural height and blend only a hairline at the top edge, so the title and first row of counsellors is not cropped or faded. */
@media (max-width: 480px) {
  .home-page .service-panel.counselling::before {
    flex: 0 0 auto;
    height: auto;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 1.5%);
    mask-image: linear-gradient(180deg, transparent 0, #000 1.5%);
  }
}
