/*
Theme Name:   Shivam Tourism Optimized
Theme URI:    https://shivamtourism.com/
Author:       Shivam Tourism
Description:  High-performance, SEO-optimised WordPress theme for Shivam Tourism taxi service in Prayagraj. PageSpeed optimised with critical CSS inline, async fonts, and deferred JS.
Version:      7.0.0
License:      Proprietary
Text Domain:  shivam-tourism
*/
/*
 * Shivam Tourism — Homepage CSS (style.css partial additions)
 * Version: 6.0.0
 * Optimised for PageSpeed: no @import, no external fonts in this file,
 * critical CSS inlined in header.php, remainder here.
 * Google Fonts loaded async in header.php (Mukta + Hind).
 */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --st-gold:        #E8940A;
  --st-gold-dark:   #B56F05;
  --st-gold-light:  #FFF3DC;
  --st-navy:        #0D1B3E;
  --st-navy-mid:    #1B2D5E;
  --st-navy-light:  #E8EDF7;
  --st-green-wa:    #25D366;
  --st-green-dark:  #1A9B4B;
  --st-white:       #FFFFFF;
  --st-off-white:   #F8F7F3;
  --st-text:        #1A1A1A;
  --st-text-mid:    #444444;
  --st-text-light:  #6B6B6B;
  --st-border:      rgba(0,0,0,0.10);
  --st-shadow:      0 2px 16px rgba(0,0,0,0.10);
  --st-radius:      12px;
  --st-radius-sm:   8px;
  --st-font-head:   'Mukta', 'Hind', system-ui, sans-serif;
  --st-font-body:   'Hind', 'Mukta', system-ui, sans-serif;
}

/* ============================================================
   GLOBAL RESETS (scoped to .st-* to avoid theme conflicts)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

.st-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   SECTION HEADERS (shared)
   ============================================================ */
.st-section-header {
  text-align: center;
  margin-bottom: 48px;
}
.st-section-header--light .st-section-title,
.st-section-header--light .st-section-desc {
  color: var(--st-white);
}
.st-section-eyebrow {
  font-family: var(--st-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--st-gold);
  margin: 0 0 8px;
}
.st-section-title {
  font-family: var(--st-font-head);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--st-navy);
  margin: 0 0 12px;
  line-height: 1.25;
}
.st-section-desc {
  font-family: var(--st-font-body);
  font-size: 17px;
  color: var(--st-text-mid);
  margin: 0;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--st-font-head);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.st-btn:hover  { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.st-btn:active { transform: translateY(0); }

.st-btn--gold {
  background: var(--st-gold);
  color: #fff;
}
.st-btn--gold:hover { background: var(--st-gold-dark); color: #fff; }

.st-btn--whatsapp {
  background: var(--st-green-wa);
  color: #fff;
}
.st-btn--whatsapp:hover { background: var(--st-green-dark); color: #fff; }

.st-btn--outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.st-btn--outline-white:hover { background: rgba(255,255,255,0.15); color: #fff; }

.st-btn--full { width: 100%; }

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.st-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--st-navy);
}
.st-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.st-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.st-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(13,27,62,0.92) 0%,
    rgba(13,27,62,0.75) 55%,
    rgba(13,27,62,0.45) 100%
  );
}
.st-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}
.st-hero__badge {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  background: rgba(232,148,10,0.15);
  border: 1px solid rgba(232,148,10,0.4);
  color: #FFD580;
  font-family: var(--st-font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.st-hero__h1 {
  font-family: var(--st-font-head);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 10px;
}
.st-hero__sub {
  font-family: var(--st-font-head);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600;
  color: var(--st-gold);
  margin: 0 0 18px;
  letter-spacing: 0.5px;
}
.st-hero__desc {
  font-family: var(--st-font-body);
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin: 0 0 20px;
  max-width: 560px;
}
.st-hero__bullets {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.st-hero__bullets li {
  font-family: var(--st-font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.90);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.st-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}
.st-hero__link-row {
  margin: 0 0 24px;
}
.st-hero__link {
  font-family: var(--st-font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.st-hero__link:hover { color: var(--st-gold); }
.st-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.st-trust-badges span {
  font-family: var(--st-font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.80);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 5px 12px;
  border-radius: 999px;
}

/* Hero Booking Card */
.st-hero__booking-card {
  background: #fff;
  border-radius: var(--st-radius);
  padding: 28px 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}
.st-booking-card__title {
  font-family: var(--st-font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--st-navy);
  margin: 0 0 4px;
}
.st-booking-card__sub {
  font-family: var(--st-font-body);
  font-size: 14px;
  color: var(--st-text-light);
  margin: 0 0 20px;
}
.st-booking-form .st-form-group {
  margin-bottom: 14px;
}
.st-booking-form label {
  display: block;
  font-family: var(--st-font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--st-text-mid);
  margin-bottom: 5px;
}
.st-booking-form input,
.st-booking-form select {
  width: 100%;
  font-family: var(--st-font-body);
  font-size: 14px;
  color: var(--st-text);
  border: 1.5px solid var(--st-border);
  border-radius: var(--st-radius-sm);
  padding: 10px 12px;
  background: #fafafa;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.st-booking-form input:focus,
.st-booking-form select:focus {
  outline: none;
  border-color: var(--st-gold);
  background: #fff;
}
.st-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.st-form-note {
  font-family: var(--st-font-body);
  font-size: 13px;
  color: var(--st-text-light);
  text-align: center;
  margin: 10px 0 0;
}
.st-form-note a { color: var(--st-navy); }
.st-form-msg {
  font-family: var(--st-font-body);
  font-size: 14px;
  padding: 10px 14px;
  border-radius: var(--st-radius-sm);
  margin-top: 10px;
}
.st-form-msg.success { background: #e6f9ee; color: #1A6B3A; }
.st-form-msg.error   { background: #fce8e8; color: #8B1A1A; }

/* ============================================================
   SECTION 2 — TRUST STRIP
   ============================================================ */
.st-trust-strip {
  background: var(--st-gold);
  padding: 28px 0;
}
.st-trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.st-trust-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.st-trust-tile__icon {
  font-size: 28px;
  line-height: 1;
}
.st-trust-tile__num {
  font-family: var(--st-font-head);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.st-trust-tile__label {
  font-family: var(--st-font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.88);
}

/* ============================================================
   SECTION 3 — SERVICES GRID
   ============================================================ */
.st-services {
  padding: 80px 0;
  background: var(--st-off-white);
}
.st-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.st-service-card {
  background: #fff;
  border-radius: var(--st-radius);
  padding: 28px 24px;
  border: 2px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: var(--st-shadow);
}
.st-service-card:hover {
  border-color: var(--st-gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.st-service-card__icon {
  font-size: 36px;
  margin-bottom: 14px;
  display: block;
}
.st-service-card__title {
  font-family: var(--st-font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--st-navy);
  margin: 0 0 10px;
  line-height: 1.3;
}
.st-service-card__desc {
  font-family: var(--st-font-body);
  font-size: 14px;
  color: var(--st-text-mid);
  line-height: 1.65;
  margin: 0 0 16px;
}
.st-service-card__cta {
  font-family: var(--st-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--st-gold);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.st-service-card__cta:hover { border-color: var(--st-gold); }

/* ============================================================
   SECTION 5 — PRICING TABLE
   ============================================================ */
.st-pricing {
  background: var(--st-navy);
  padding: 80px 0;
}
.st-pricing .st-section-title { color: #fff; }
.st-pricing .st-section-desc  { color: rgba(255,255,255,0.80); }
.st-pricing__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--st-radius);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.st-pricing-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--st-radius);
  overflow: hidden;
  font-family: var(--st-font-body);
}
.st-pricing-table thead th {
  background: var(--st-gold);
  color: #fff;
  font-family: var(--st-font-head);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 16px;
  text-align: center;
  border-bottom: none;
}
.st-pricing-table thead th:first-child { text-align: left; }
.st-pricing-table thead th small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  opacity: 0.85;
  margin-top: 2px;
}
.st-pricing-table tbody td {
  padding: 13px 16px;
  font-size: 15px;
  color: var(--st-text);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  text-align: center;
}
.st-pricing-table tbody td:first-child { text-align: left; }
.st-pricing-table tbody tr.st-alt td { background: #F9F7F3; }
.st-pricing-table tbody tr:last-child td { border-bottom: none; }
.st-km {
  display: block;
  font-size: 12px;
  color: var(--st-text-light);
  font-weight: 400;
  margin-top: 2px;
}
.st-pricing__note {
  margin-top: 28px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--st-radius-sm);
  border-left: 4px solid var(--st-gold);
}
.st-pricing__note p {
  font-family: var(--st-font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 20px;
  line-height: 1.65;
}
.st-pricing__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============================================================
   SECTION 6 — WHY CHOOSE US
   ============================================================ */
.st-why {
  padding: 80px 0;
  background: #fff;
}
.st-why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.st-why-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--st-off-white);
  border-radius: var(--st-radius);
  padding: 24px 20px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: border-color 0.2s;
}
.st-why-card:hover { border-color: var(--st-gold); }
.st-why-card__icon {
  font-size: 32px;
  flex-shrink: 0;
  line-height: 1;
}
.st-why-card__title {
  font-family: var(--st-font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--st-navy);
  margin: 0 0 6px;
}
.st-why-card__desc {
  font-family: var(--st-font-body);
  font-size: 14px;
  color: var(--st-text-mid);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   SECTION 7 — DEVOTIONAL BLOCK
   ============================================================ */
.st-devotional {
  background: var(--st-navy-mid);
  padding: 80px 0;
}
.st-devotional__inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.st-devotional__icon {
  font-size: 56px;
  margin-bottom: 16px;
}
.st-devotional__title {
  font-family: var(--st-font-head);
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 20px;
  line-height: 1.25;
}
.st-devotional__body {
  font-family: var(--st-font-body);
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin: 0 0 16px;
}
.st-devotional__places {
  font-family: var(--st-font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--st-gold);
  margin: 24px 0;
  line-height: 1.7;
}
.st-devotional__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}

/* ============================================================
   SECTION 8 — TESTIMONIALS
   ============================================================ */
.st-testimonials {
  padding: 80px 0;
  background: var(--st-off-white);
}
.st-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.st-testimonial {
  background: #fff;
  border-radius: var(--st-radius);
  padding: 28px 24px;
  box-shadow: var(--st-shadow);
  margin: 0;
  border-left: 4px solid var(--st-gold);
}
.st-testimonial__stars {
  color: #F5A623;
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.st-testimonial__text {
  font-family: var(--st-font-body);
  font-size: 15px;
  color: var(--st-text-mid);
  line-height: 1.7;
  margin: 0 0 16px;
  font-style: italic;
}
.st-testimonial__footer {
  display: flex;
  align-items: center;
  gap: 10px;
}
.st-testimonial__name {
  font-family: var(--st-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--st-navy);
}
.st-testimonial__source {
  font-family: var(--st-font-body);
  font-size: 12px;
  color: var(--st-text-light);
  background: var(--st-navy-light);
  padding: 3px 8px;
  border-radius: 999px;
}

/* ============================================================
   SECTION 9 — FAQ
   ============================================================ */
.st-faq {
  padding: 80px 0;
  background: #fff;
}
.st-faq__list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.st-faq__item {
  border: 1.5px solid rgba(0,0,0,0.09);
  border-radius: var(--st-radius-sm);
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s;
}
.st-faq__item:hover,
.st-faq__item--open { border-color: var(--st-gold); }
.st-faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
}
.st-faq__question h3 {
  font-family: var(--st-font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--st-navy);
  margin: 0;
  line-height: 1.4;
  flex: 1;
}
.st-faq__icon {
  font-family: monospace;
  font-size: 22px;
  font-weight: 400;
  color: var(--st-gold);
  flex-shrink: 0;
  line-height: 1;
  width: 24px;
  text-align: center;
}
.st-faq__answer {
  padding: 0 20px 18px;
}
.st-faq__answer[hidden] { display: none; }
.st-faq__answer p {
  font-family: var(--st-font-body);
  font-size: 15px;
  color: var(--st-text-mid);
  line-height: 1.75;
  margin: 0;
}
.st-faq__answer a { color: var(--st-navy); text-decoration: underline; }

/* ============================================================
   SECTION 10 — CONTACT
   ============================================================ */
.st-contact {
  padding: 80px 0;
  background: var(--st-off-white);
}
.st-contact__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}
.st-contact__map {
  border-radius: var(--st-radius);
  overflow: hidden;
  box-shadow: var(--st-shadow);
}
.st-contact__map iframe {
  display: block;
}
.st-contact__sub {
  font-family: var(--st-font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--st-navy);
  margin: 0 0 24px;
}
.st-contact__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.st-contact__item span { font-size: 22px; flex-shrink: 0; }
.st-contact__item strong {
  font-family: var(--st-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--st-navy);
  display: block;
  margin-bottom: 2px;
}
.st-contact__item p,
.st-contact__item address {
  font-family: var(--st-font-body);
  font-size: 15px;
  color: var(--st-text-mid);
  margin: 0;
  font-style: normal;
  line-height: 1.6;
}
.st-contact__item a { color: var(--st-navy); }
.st-contact__item a:hover { color: var(--st-gold); }
.st-contact__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* ============================================================
   MOBILE FIXED BOTTOM BAR
   ============================================================ */
.st-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 56px;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.18);
}
.st-mobile-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  height: 100%;
  font-family: var(--st-font-head);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  gap: 6px;
}
.st-mobile-bar__btn--call {
  background: var(--st-gold);
  color: #fff;
}
.st-mobile-bar__btn--wa {
  background: var(--st-green-wa);
  color: #fff;
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  .st-hero__inner {
    grid-template-columns: 1fr;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .st-hero__booking-card { max-width: 480px; }
  .st-trust-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .st-services__grid    { grid-template-columns: repeat(2, 1fr); }
  .st-why__grid         { grid-template-columns: 1fr; }
  .st-testimonials__grid{ grid-template-columns: 1fr; }
  .st-contact__grid     { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {
  .st-hero { min-height: 100svh; }
  .st-hero__inner { padding-top: 80px; padding-bottom: 100px; }
  .st-hero__ctas  { flex-direction: column; }
  .st-hero__booking-card { padding: 20px 16px; }
  .st-form-row { grid-template-columns: 1fr; }
  .st-trust-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .st-services__grid { grid-template-columns: 1fr; }
  .st-pricing__ctas { flex-direction: column; }
  .st-devotional__ctas { flex-direction: column; align-items: stretch; }
  .st-mobile-bar { display: flex; }
  body { padding-bottom: 56px; }

  /* Responsive pricing table — card layout on mobile */
  .st-pricing-table,
  .st-pricing-table thead,
  .st-pricing-table tbody,
  .st-pricing-table tr,
  .st-pricing-table th,
  .st-pricing-table td { display: block; }
  .st-pricing-table thead { display: none; }
  .st-pricing-table tr {
    margin-bottom: 16px;
    border-radius: var(--st-radius-sm);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  .st-pricing-table td {
    text-align: right;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .st-pricing-table td:first-child {
    background: var(--st-navy);
    color: #fff;
    font-weight: 700;
    text-align: left;
    display: block;
  }
  .st-pricing-table td:first-child .st-km { color: rgba(255,255,255,0.65); }
  .st-pricing-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--st-text-light);
    font-size: 13px;
  }
  .st-pricing-table td:first-child::before { display: none; }
}

/* ============================================================
   PRINT — hide decorative elements
   ============================================================ */
@media print {
  .st-hero__overlay,
  .st-hero__bg,
  .st-mobile-bar,
  .st-btn { display: none !important; }
}

/* ============================================================
   v6.1.0 PAGESPEED / CLS FIX ADDITIONS
   ============================================================ */

/* Fix CLS: Ensure booking card has stable dimensions */
.st-hero__booking-card {
  contain: layout;
}

/* Fix CLS: Trust badges strip — fixed height */
.st-trust-strip {
  min-height: 100px;
  contain: layout;
}

/* Fix CLS: Service cards — fixed min-height to prevent reflow */
.st-service-card {
  min-height: 220px;
}

/* Fix CLS: Testimonials — fixed min-height */
.st-testimonial {
  min-height: 180px;
}

/* Fix CLS: FAQ items — overflow hidden prevents reflow */
.st-faq__answer {
  overflow: hidden;
}

/* Fix CLS: Footer logo — explicit dimensions */
.site-footer__logo {
  width: 130px;
  height: 52px;
  object-fit: contain;
}

/* Fix CLS: Map container — explicit height */
.st-contact__map {
  height: 350px;
  overflow: hidden;
  border-radius: 12px;
}
.st-contact__map iframe {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 12px;
  display: block;
}

/* Performance: promote composited layers for animated elements */
.st-btn {
  will-change: transform;
}

/* Performance: contain paint for sections that don't affect outside layout */
.st-services,
.st-pricing,
.st-testimonials,
.st-why,
.st-faq {
  contain: layout style;
}

/* Fix font-display via font-face override for system fallbacks */
@font-face {
  font-family: 'Mukta';
  font-display: swap;
  src: local('Mukta Bold'), local('Mukta-Bold');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Hind';
  font-display: swap;
  src: local('Hind Regular'), local('Hind-Regular');
  font-weight: 400;
  font-style: normal;
}

/* ============================================================
   v7.0.0 — PERFORMANCE & CLS CRITICAL FIXES
   ============================================================ */

/* content-visibility: auto applied inline on sections above.
   These CSS rules support those inline declarations */
.st-services[style*="content-visibility"],
.st-pricing[style*="content-visibility"],
.st-why[style*="content-visibility"],
.st-devotional[style*="content-visibility"],
.st-testimonials[style*="content-visibility"],
.st-faq[style*="content-visibility"],
.st-contact[style*="content-visibility"] {
  /* Fallback for browsers that don't support content-visibility */
  will-change: auto;
}

/* Hero booking card: explicit min-height to prevent CLS during JS load */
.st-hero__booking-card {
  min-height: 460px;
  contain: layout style;
}

/* Trust strip: explicit height prevents reflow */
.st-trust-strip {
  contain: layout;
}

/* Stable card dimensions prevent grid reflow */
.st-service-card {
  min-height: 220px;
  contain: layout style;
}

/* Testimonials: stable dimensions */
.st-testimonial {
  min-height: 200px;
  contain: layout style;
}

/* Map container: fixed height — must match inline style */
.st-contact__map {
  height: 350px;
  min-height: 350px;
  border-radius: 12px;
  overflow: hidden;
  contain: strict;
}
.st-contact__map iframe {
  width: 100%;
  height: 350px;
  border: 0;
  display: block;
}

/* FAQ: prevent height jump on open/close */
.st-faq__answer {
  overflow: hidden;
}
.st-faq__answer[hidden] {
  display: none;
}

/* Footer logo: fixed dimensions */
.site-footer__logo {
  width: 130px;
  height: 52px;
  object-fit: contain;
}

/* Section icons: prevent emoji reflow */
.st-service-card__icon,
.st-trust-tile__icon,
.st-why-card__icon,
.st-devotional__icon {
  display: block;
  line-height: 1;
  /* Fixed character width prevents shift on emoji load */
  width: 1.2em;
}

/* Responsive hero: fixes CLS on mobile from booking card reflow */
@media (max-width: 900px) {
  .st-hero__booking-card {
    max-width: 480px;
    min-height: auto;
    margin: 0 auto;
  }
}

/* Performance: only animate what needs it */
.st-service-card,
.st-why-card {
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
