/* =====================================================================
   Matha Kerala Ayurvedic Treatment Centre
   Main Stylesheet  (style.css)
   Author: Senior UI/UX + Frontend
   Design system: colors, typography, components, sections
   ===================================================================== */

/* ------------------------------------------------------------------
   1. DESIGN TOKENS  (CSS Variables)
   ------------------------------------------------------------------ */
:root {
  /* Brand colours */
  --green:        #2E7D32;
  --green-dark:   #1B5E20;
  --gold:         #D4AF37;
  --gold-soft:    #e6c964;
  --cream:        #F8F4EC;
  --white:        #FFFFFF;
  --light-bg:     #FAFAFA;
  --ink:          #22322a;   /* deep readable text */
  --muted:        #6a7770;   /* muted paragraph text */

  /* Gradients */
  --grad-green:   linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
  --grad-gold:    linear-gradient(135deg, #D4AF37 0%, #b8912b 100%);
  --grad-hero:    linear-gradient(120deg, rgba(27,94,32,.82) 0%, rgba(27,94,32,.45) 45%, rgba(20,40,25,.35) 100%);

  /* Typography */
  --font-head: 'Cinzel', 'Times New Roman', serif;
  --font-body: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Shape & shadow */
  --radius:      18px;
  --radius-lg:   28px;
  --radius-pill: 50px;
  --shadow-sm:   0 4px 14px rgba(27,94,32,.08);
  --shadow-md:   0 12px 34px rgba(27,94,32,.12);
  --shadow-lg:   0 24px 60px rgba(20,40,25,.18);
  --shadow-gold: 0 0 0 6px rgba(212,175,55,.18), 0 18px 45px rgba(212,175,55,.28);

  /* Layout */
  --nav-h: 78px;
}

/* ------------------------------------------------------------------
   2. BASE / RESET
   ------------------------------------------------------------------ */
* { scroll-margin-top: 90px; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .font-head {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--green-dark);
  line-height: 1.25;
}

p { color: var(--muted); }

a { text-decoration: none; transition: color .25s ease, opacity .25s ease; }

img { max-width: 100%; height: auto; }

::selection { background: var(--gold); color: #fff; }

/* Accessible focus ring */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ------------------------------------------------------------------
   3. UTILITIES
   ------------------------------------------------------------------ */
.text-green      { color: var(--green) !important; }
.text-green-dark { color: var(--green-dark) !important; }
.text-gold       { color: var(--gold) !important; }
.text-cream      { color: var(--cream) !important; }
.text-muted-soft { color: var(--muted) !important; }

.bg-green   { background: var(--green) !important; }
.bg-cream   { background: var(--cream) !important; }
.bg-light-soft { background: var(--light-bg) !important; }
.bg-grad-green { background: var(--grad-green) !important; }

.fw-med { font-weight: 500; }

/* Section rhythm */
.section       { padding: 96px 0; }
.section-sm    { padding: 64px 0; }

/* Eyebrow / kicker label above headings */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: .74rem;
  color: var(--gold);
  margin-bottom: .75rem;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  margin-bottom: .5rem;
}

.section-lead {
  max-width: 640px;
  color: var(--muted);
}
.mx-auto.section-lead { text-align: center; }

/* Decorative divider */
.leaf-divider {
  display: inline-block;
  color: var(--gold);
  font-size: 1.3rem;
  margin: .5rem 0 1rem;
}

/* ------------------------------------------------------------------
   4. BUTTONS
   ------------------------------------------------------------------ */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .3px;
  border-radius: var(--radius-pill);
  padding: .8rem 1.9rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-3px); }

.btn-gold {
  background: var(--grad-gold);
  border: none;
  color: #3b2f05;
  box-shadow: 0 10px 26px rgba(212,175,55,.35);
}
.btn-gold:hover { color: #3b2f05; box-shadow: 0 16px 34px rgba(212,175,55,.5); }

.btn-green {
  background: var(--grad-green);
  border: none;
  color: #fff;
  box-shadow: 0 10px 26px rgba(27,94,32,.3);
}
.btn-green:hover { color: #fff; box-shadow: 0 16px 34px rgba(27,94,32,.45); }

.btn-outline-light-2 {
  background: transparent;
  border: 2px solid rgba(255,255,255,.85);
  color: #fff;
}
.btn-outline-light-2:hover { background: #fff; color: var(--green-dark); }

.btn-outline-green {
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
}
.btn-outline-green:hover { background: var(--green); color: #fff; }

/* ------------------------------------------------------------------
   5. TOP CONTACT BAR
   ------------------------------------------------------------------ */
.topbar {
  background: var(--green-dark);
  color: #eef4ef;
  font-size: .84rem;
}
.topbar a { color: #eef4ef; }
.topbar a:hover { color: var(--gold); }
.topbar .divider { opacity: .35; }

/* ------------------------------------------------------------------
   6. NAVBAR
   ------------------------------------------------------------------ */
.navbar {
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
  padding: .6rem 0;
}
.navbar .navbar-brand {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}
.navbar .brand-mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  background: #fff;
}
.navbar .brand-name { font-size: 1.05rem; }
.navbar .brand-sub {
  font-family: var(--font-body);
  font-size: .62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

/* Transparent state over hero */
.navbar-hero { background: transparent; }
.navbar-hero .nav-link { color: #f3f7f3; }
.navbar-hero .navbar-brand,
.navbar-hero .brand-name { color: #fff; }

/* Scrolled / solid state */
.navbar-solid {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(27,94,32,.1);
}
.navbar-solid .nav-link,
.navbar-solid .navbar-brand,
.navbar-solid .brand-name { color: var(--green-dark); }

.navbar .nav-link {
  font-weight: 500;
  font-size: .96rem;
  margin: 0 .35rem;
  position: relative;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { transform: scaleX(1); }
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--gold); }

.navbar-toggler { border: none; font-size: 1.4rem; color: #fff; }
.navbar-solid .navbar-toggler { color: var(--green-dark); }
.navbar-toggler:focus { box-shadow: none; }

/* ------------------------------------------------------------------
   7. HERO
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url("https://images.unsplash.com/photo-1512343879784-a960bf40e7f2?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat fixed;
  color: #fff;
  padding: 140px 0 90px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad-hero);
}
.hero .container { position: relative; z-index: 2; }

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.9rem);
  text-shadow: 0 6px 30px rgba(0,0,0,.35);
  margin-bottom: 1rem;
}
.hero .hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: #f0f5ef;
  font-weight: 300;
  max-width: 560px;
}
.hero .hero-phone {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 700;
}

/* Circular spiritual frame (Our Lady of Good Health) */
.spirit-frame {
  position: relative;
  width: min(360px, 78vw);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  padding: 14px;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.35), rgba(255,255,255,.05));
  box-shadow: var(--shadow-gold);
  animation: floatY 6s ease-in-out infinite;
}
.spirit-frame::before {
  content: "";
  position: absolute; inset: -10px;
  border-radius: 50%;
  border: 2px dashed rgba(212,175,55,.6);
  animation: spin 40s linear infinite;
}
.spirit-frame .spirit-img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,.9);
  background: #fff;
  box-shadow: inset 0 0 30px rgba(212,175,55,.25);
}
.spirit-frame .halo {
  position: absolute; inset: -26px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.35) 0%, transparent 62%);
  filter: blur(6px);
  z-index: -1;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-14px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulseGlow {
  0%,100% { opacity: .55; transform: scale(1); }
  50%     { opacity: 1;  transform: scale(1.06); }
}

/* Hero stat strip */
.hero-stats {
  border-top: 1px solid rgba(255,255,255,.2);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
}
.hero-stats .num {
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--gold);
  font-weight: 700;
}
.hero-stats .lbl { font-size: .8rem; color: #e6ede5; }

/* ------------------------------------------------------------------
   8. EMERGENCY / INFO BANNER
   ------------------------------------------------------------------ */
.info-banner {
  background: var(--grad-gold);
  color: #3b2f05;
  font-weight: 500;
}
.info-banner a { color: #3b2f05; font-weight: 700; }

/* ------------------------------------------------------------------
   9. WELCOME / ABOUT
   ------------------------------------------------------------------ */
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-img-wrap .badge-float {
  position: absolute;
  bottom: -26px; right: -10px;
  background: var(--grad-green);
  color: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.about-img-wrap .badge-float .n {
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--gold);
  display: block;
}
.about-img-wrap .badge-float .t { font-size: .72rem; letter-spacing: 1px; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex; align-items: flex-start; gap: .7rem;
  margin-bottom: .7rem;
  color: var(--ink);
  font-weight: 500;
}
.check-list li i { color: var(--gold); font-size: 1.2rem; margin-top: 2px; }

/* ------------------------------------------------------------------
   10. FEATURE / WHY-CHOOSE ICON CARDS
   ------------------------------------------------------------------ */
.feature-card {
  background: #fff;
  border: 1px solid rgba(27,94,32,.08);
  border-radius: var(--radius);
  padding: 2rem 1.4rem;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212,175,55,.5);
}
.feature-card .ic {
  width: 62px; height: 62px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--cream);
  color: var(--green);
  font-size: 1.7rem;
  margin-bottom: 1rem;
  transition: background .3s ease, color .3s ease;
}
.feature-card:hover .ic { background: var(--grad-green); color: var(--gold); }
.feature-card h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.feature-card p { font-size: .9rem; margin: 0; }

/* ------------------------------------------------------------------
   11. TREATMENT CARDS
   ------------------------------------------------------------------ */
.treatment-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.treatment-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.treatment-card .img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.treatment-card .img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.treatment-card:hover .img img { transform: scale(1.08); }
.treatment-card .img .tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,.92);
  color: var(--green-dark);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: var(--radius-pill);
}
.treatment-card .body { padding: 1.3rem 1.3rem 1.5rem; }
.treatment-card h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.treatment-card p { font-size: .88rem; margin-bottom: .8rem; }
.treatment-card .more {
  color: var(--green);
  font-weight: 600;
  font-size: .86rem;
  display: inline-flex; align-items: center; gap: .35rem;
}
.treatment-card .more i { transition: transform .3s ease; }
.treatment-card:hover .more i { transform: translateX(5px); }

/* Compact chip list (all treatments) */
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff;
  border: 1px solid rgba(27,94,32,.12);
  border-radius: var(--radius-pill);
  padding: .6rem 1.1rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
  transition: all .25s ease;
}
.chip i { color: var(--gold); }
.chip:hover { background: var(--green); color: #fff; border-color: var(--green); }
.chip:hover i { color: var(--gold); }

/* ------------------------------------------------------------------
   13. GALLERY (Masonry via CSS columns)
   ------------------------------------------------------------------ */
.masonry { column-gap: 16px; }
.masonry .g-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: block;
  box-shadow: var(--shadow-sm);
}
.masonry .g-item img { width: 100%; display: block; transition: transform .6s ease; }
.masonry .g-item::after {
  content: "\F52A"; /* bootstrap zoom-in glyph */
  font-family: "bootstrap-icons";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: #fff; font-size: 1.6rem;
  background: linear-gradient(0deg, rgba(27,94,32,.55), rgba(27,94,32,.15));
  opacity: 0; transition: opacity .35s ease;
}
.masonry .g-item:hover::after { opacity: 1; }
.masonry .g-item:hover img { transform: scale(1.08); }

/* ------------------------------------------------------------------
   14. TESTIMONIALS (Swiper)
   ------------------------------------------------------------------ */
.testi-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  border: 1px solid rgba(27,94,32,.07);
}
.testi-card .stars { color: var(--gold); font-size: 1rem; margin-bottom: .8rem; }
.testi-card .quote { font-style: italic; color: var(--ink); margin-bottom: 1.3rem; }
.testi-card .who { display: flex; align-items: center; gap: .85rem; }
.testi-card .who img {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--gold);
}
.testi-card .who .name { font-weight: 600; color: var(--green-dark); font-size: .95rem; }
.testi-card .who .place { font-size: .8rem; color: var(--muted); }

.swiper-pagination-bullet-active { background: var(--green) !important; }
.swiper-testi { padding-bottom: 3rem !important; }

/* ------------------------------------------------------------------
   15. ACCORDION / FAQ
   ------------------------------------------------------------------ */
.accordion-item {
  border: 1px solid rgba(27,94,32,.1) !important;
  border-radius: var(--radius) !important;
  margin-bottom: 1rem;
  overflow: hidden;
}
.accordion-button {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--green-dark);
  background: #fff;
  font-size: 1.02rem;
}
.accordion-button:not(.collapsed) { background: var(--cream); color: var(--green-dark); box-shadow: none; }
.accordion-button:focus { box-shadow: none; }
.accordion-button::after {
  background-image: none;
  content: "\F64D"; /* plus */
  font-family: "bootstrap-icons";
  transform: none;
  color: var(--gold);
  font-size: 1.1rem;
}
.accordion-button:not(.collapsed)::after { content: "\F63B"; /* dash */ }
.accordion-body { color: var(--muted); }

/* ------------------------------------------------------------------
   16. CONTACT / FORM
   ------------------------------------------------------------------ */
.contact-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.form-panel { padding: 2.6rem; }
.form-control, .form-select {
  border: 1px solid #dfe6df;
  border-radius: 12px;
  padding: .8rem 1rem;
  font-size: .94rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 .2rem rgba(46,125,50,.12);
}
.form-label { font-weight: 500; font-size: .88rem; color: var(--ink); margin-bottom: .35rem; }

.contact-side {
  background: var(--grad-green);
  color: #fff;
  padding: 2.6rem;
}
.contact-side h3 { color: #fff; }
.contact-side .ci {
  display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.3rem;
}
.contact-side .ci i {
  width: 42px; height: 42px; flex: 0 0 42px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.14);
  border-radius: 12px;
  color: var(--gold); font-size: 1.15rem;
}
.contact-side .ci a, .contact-side .ci span { color: #eaf3ea; }
.contact-side .ci .lbl { font-size: .74rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); }

.map-embed iframe {
  width: 100%; height: 100%; min-height: 380px; border: 0;
  filter: grayscale(.15);
}

/* ------------------------------------------------------------------
   17. CTA STRIP
   ------------------------------------------------------------------ */
.cta-strip {
  background:
    linear-gradient(120deg, rgba(27,94,32,.92), rgba(27,94,32,.78)),
    url("https://images.unsplash.com/photo-1600334129128-685c5582fd35?auto=format&fit=crop&w=1600&q=80") center/cover fixed;
  color: #fff;
}
.cta-strip h2 { color: #fff; }

/* ------------------------------------------------------------------
   18. NEWSLETTER
   ------------------------------------------------------------------ */
.newsletter-box {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.6rem;
  border: 1px solid rgba(212,175,55,.3);
}
.newsletter-box .form-control { background: #fff; }

/* ------------------------------------------------------------------
   19. INSTAGRAM STRIP
   ------------------------------------------------------------------ */
.ig-item {
  position: relative; display: block; overflow: hidden; border-radius: 14px;
  aspect-ratio: 1;
}
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ig-item::after {
  content: "\F437";
  font-family: "bootstrap-icons";
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; font-size: 1.5rem;
  background: rgba(27,94,32,.55);
  opacity: 0; transition: opacity .3s ease;
}
.ig-item:hover::after { opacity: 1; }
.ig-item:hover img { transform: scale(1.1); }

/* ------------------------------------------------------------------
   20. PAGE HEADER (inner pages)
   ------------------------------------------------------------------ */
.page-hero {
  position: relative;
  padding: 170px 0 80px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(27,94,32,.86), rgba(20,40,25,.7)),
    url("https://images.unsplash.com/photo-1600334129128-685c5582fd35?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); text-shadow: 0 4px 24px rgba(0,0,0,.3); }
.page-hero .breadcrumb {
  justify-content: center; margin: 0; background: transparent;
}
.page-hero .breadcrumb a { color: var(--gold); }
.page-hero .breadcrumb-item.active { color: #e8efe6; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.6); }

/* ------------------------------------------------------------------
   21. FOOTER
   ------------------------------------------------------------------ */
.footer {
  background: #12220f;
  color: #c7d3c4;
  padding: 72px 0 0;
}
.footer h4 {
  color: #fff; font-family: var(--font-head);
  font-size: 1.1rem; margin-bottom: 1.2rem;
}
.footer a { color: #c7d3c4; font-size: .92rem; }
.footer a:hover { color: var(--gold); padding-left: 4px; }
.footer .f-links li { margin-bottom: .55rem; }
.footer .f-links li i { color: var(--gold); margin-right: .5rem; font-size: .8rem; }
.footer .f-contact li { display: flex; gap: .7rem; margin-bottom: .9rem; align-items: flex-start; }
.footer .f-contact li i { color: var(--gold); margin-top: 3px; }
.footer .f-brand img {
  width: 62px; height: 62px; border-radius: 50%;
  border: 2px solid var(--gold); background: #fff; object-fit: cover;
}
.footer .social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: rgba(255,255,255,.08);
  color: #fff; margin-right: .4rem;
  transition: background .3s ease, transform .3s ease;
}
.footer .social a:hover { background: var(--gold); color: #12220f; transform: translateY(-4px); padding-left: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 3rem; padding: 1.3rem 0;
  font-size: .84rem; color: #9db09a;
}

/* ------------------------------------------------------------------
   22. FLOATING BUTTONS
   ------------------------------------------------------------------ */
.float-stack {
  position: fixed; right: 18px; bottom: 22px; z-index: 1040;
  display: flex; flex-direction: column; gap: 12px;
}
.float-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-size: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: transform .3s ease;
}
.float-btn:hover { transform: scale(1.1); color: #fff; }
.float-wa   { background: #25D366; }
.float-call { background: var(--green); animation: ring 2.2s ease-in-out infinite; }
@keyframes ring {
  0%,100% { box-shadow: 0 0 0 0 rgba(46,125,50,.5); }
  50%     { box-shadow: 0 0 0 12px rgba(46,125,50,0); }
}

#backToTop {
  position: fixed; right: 18px; bottom: 92px; z-index: 1039;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: #3b2f05; border: none;
  display: grid; place-items: center; font-size: 1.2rem;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .3s ease; box-shadow: var(--shadow-md);
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ------------------------------------------------------------------
   23. PRELOADER
   ------------------------------------------------------------------ */
#preloader {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--cream);
  display: grid; place-items: center;
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.loader-lotus {
  width: 64px; height: 64px;
  border: 4px solid rgba(46,125,50,.15);
  border-top-color: var(--green);
  border-right-color: var(--gold);
  border-radius: 50%;
  animation: spin .9s linear infinite;
}

/* ------------------------------------------------------------------
   24. WHATSAPP / GOOGLE REVIEW badge
   ------------------------------------------------------------------ */
.gr-badge {
  display: inline-flex; align-items: center; gap: .7rem;
  background: #fff; border-radius: var(--radius-pill);
  padding: .55rem 1.2rem; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(27,94,32,.08);
}
.gr-badge .g { font-weight: 700; font-size: 1.1rem; }
.gr-badge .stars { color: var(--gold); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
