/* ============================================================
   AROGYANIVESH, Custom styles (on top of Bootstrap 5.3)
   Luxury Ayurvedic wellness sanctuary
   ============================================================ */

:root {
  /* --c-ivory: #FAF6EE;
  --c-ivory2: #F0EAD8;
  --c-green: #2B4A1E;
  --c-green-deep: #21380F;
  --c-accent: #C07B3A;         
  --c-accent-dark: #9A5F28;
  --c-text: #2C1A0E;
  --c-muted: #6B5740;
  --c-line: #E8DCC8;
  --c-footer: #1A0E07; */

    --c-ivory:#F7F3E8; --c-ivory2:#EDE5CF;
  --c-green:#243E18; --c-green-deep:#1B2F10;
  --c-accent:#B98A2F; --c-accent-dark:#946D22;
  --c-text:#26190C; --c-muted:#665338; --c-line:#E0D4B8; --c-footer:#14200C;
  /* --ff-display: "Cormorant Garamond", Georgia, serif;
  --ff-body: "DM Sans", -apple-system, sans-serif; */
    --ff-display: "Libre Franklin", sans-serif;;
  --ff-body: "Inter", sans-serif;
}

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }

body {
  font-family: var(--ff-body);
  color: var(--c-text);
  background: var(--c-ivory);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}
img, video, iframe, svg { max-width: 100%; }

h1, h2, h3, .display-font { font-family: var(--ff-display); color: var(--c-text); font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 4.8vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
/* Emphasis in headings: no italics (the heading font has no italic face, so browsers fake a slant). Colour carries the emphasis. */
h1 em, h2 em, h3 em { font-style: normal; color: var(--c-accent-dark); }
.section-dark h1 em, .section-dark h2 em, .section-dark h3 em, .cta-banner h2 em { color: #E9D8A6; }

a { color: var(--c-accent-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-accent); }
p { text-wrap: pretty; }

::selection { background: var(--c-accent); color: #fff; }

/* ---------- Eyebrow label ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--c-accent);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--c-accent); }

/* ---------- Buttons ---------- */
.btn-gold {
  background: var(--c-accent); color: #fff; border: 1px solid var(--c-accent);
  font-family: var(--ff-body); font-weight: 500; letter-spacing: .04em;
  padding: .7rem 1.6rem; border-radius: 100px; transition: all .25s;
}
.btn-gold:hover { background: var(--c-accent-dark); border-color: var(--c-accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(44,26,14,.18); }
.btn-outline-gold {
  background: transparent; color: var(--c-accent-dark); border: 1px solid var(--c-accent);
  font-weight: 500; letter-spacing: .04em; padding: .7rem 1.6rem; border-radius: 100px; transition: all .25s;
}
.btn-outline-gold:hover { background: var(--c-accent); color: #fff; }
.btn-wa { background: #1FA855; color: #fff; border: none; font-weight: 500; padding: .7rem 1.6rem; border-radius: 100px; transition: all .25s; }
.btn-wa:hover { background: #178A45; color: #fff; transform: translateY(-2px); }
.btn-outline-ivory { background: transparent; color: var(--c-ivory); border: 1px solid rgba(250,246,238,.55); padding: .7rem 1.6rem; border-radius: 100px; transition: all .25s; }
.btn-outline-ivory:hover { background: var(--c-ivory); color: var(--c-green); }

/* ---------- Navbar ---------- */
.navbar-an {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  padding: .9rem 0; transition: background .35s, box-shadow .35s, padding .35s;
  background: transparent;
}
.navbar-an.scrolled, .navbar-an.solid {
  background: rgba(250,246,238,.96); backdrop-filter: blur(8px);
  box-shadow: 0 2px 24px rgba(44,26,14,.08); padding: .55rem 0;
  border-bottom: 1px solid var(--c-line);
}
.navbar-an .nav-link {
  color: var(--c-text); font-size: .92rem; font-weight: 500; padding: .4rem .85rem !important;
  position: relative;
}
.navbar-an .nav-link::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .1rem;
  height: 1px; background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.navbar-an .nav-link:hover::after, .navbar-an .nav-link.active::after { transform: scaleX(1); }
.navbar-an .nav-link.active { color: var(--c-accent-dark); }
.navbar-an .navbar-brand img { height: 52px; transition: height .35s; }
.navbar-an.scrolled .navbar-brand img { height: 44px; }
.navbar-an .dropdown-menu {
  background: var(--c-ivory); border: 1px solid var(--c-line); border-radius: 14px;
  box-shadow: 0 14px 40px rgba(44,26,14,.12); padding: .5rem; margin-top: .6rem;
}
.navbar-an .dropdown-item { border-radius: 8px; font-size: .9rem; padding: .55rem .9rem; color: var(--c-text); }
.navbar-an .dropdown-item:hover { background: var(--c-ivory2); color: var(--c-accent-dark); }
.nav-call { color: var(--c-green); font-size: .9rem; font-weight: 500; white-space: nowrap; }
.nav-call i { color: var(--c-accent); }
.navbar-toggler-an { border: 1px solid var(--c-line); background: var(--c-ivory); border-radius: 10px; padding: .45rem .65rem; color: var(--c-green); font-size: 1.25rem; line-height: 1; }

/* Mobile overlay nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 1040; background: var(--c-ivory);
  transform: translateX(100%); visibility: hidden;
  transition: transform .4s cubic-bezier(.77,0,.18,1), visibility 0s linear .4s;
  overflow-y: auto; overflow-x: hidden; padding: 4.5rem 1.5rem 2.5rem;
}
.mobile-nav.open { transform: translateX(0); visibility: visible; transition-delay: 0s; }
.mobile-nav .m-link { display: block; font-family: var(--ff-display); font-size: 1.2rem; color: var(--c-text); padding: .6rem 0; border-bottom: 1px solid var(--c-line); line-height: 1.3; }
.mobile-nav span.m-link { font-size: .78rem; font-family: var(--ff-body); letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); border-bottom: 0; padding: .9rem 0 .2rem; }
.mobile-nav .m-sub { font-family: var(--ff-body); font-size: .95rem; padding: .5rem 0 .5rem 1rem; display: block; color: var(--c-text); border-bottom: 1px solid var(--c-line); }
.mobile-nav .btn-gold { font-size: .95rem; padding: .7rem 1.2rem; }
.mobile-nav-close { position: absolute; top: 1rem; right: 1.2rem; background: none; border: 1px solid var(--c-line); border-radius: 50%; width: 40px; height: 40px; font-size: 1.1rem; color: var(--c-green); }

/* ---------- Botanical decorations ---------- */
.divider-botanical { display: flex; justify-content: center; align-items: center; padding: 0; line-height: 0; }
.divider-botanical svg { width: min(360px, 70vw); height: 40px; }
/* pull the sections on either side in, so the separator adds almost no extra space */
.divider-botanical { margin: -1.4rem 0; position: relative; z-index: 1; }
.divider-botanical .stroke { stroke: var(--c-accent); }
.divider-botanical .fill { fill: var(--c-accent); }

.botanical-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%232B4A1E' stroke-opacity='0.05' stroke-width='1.2'%3E%3Cpath d='M40 20 q14 14 0 36 q-14-22 0-36z'/%3E%3Cpath d='M40 20 q0 18 0 36'/%3E%3Cpath d='M120 90 q14 14 0 36 q-14-22 0-36z'/%3E%3Cpath d='M120 90 q0 18 0 36'/%3E%3C/g%3E%3C/svg%3E");
}

/* Arch image frame */
.arch-frame { position: relative; display: block; }
.arch-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 999px 999px 18px 18px;
}
.arch-frame::after {
  content: ""; position: absolute; inset: -14px;
  border: 1px solid var(--c-accent); border-radius: 999px 999px 24px 24px;
  pointer-events: none; opacity: .9;
}

/* Offset gold frame for rectangular images */
.frame-offset { position: relative; display: block; }
.frame-offset img { width: 100%; aspect-ratio: 800/577; object-fit: cover; border-radius: 16px; display: block; position: relative; z-index: 1; }
.frame-offset::before {
  content: ""; position: absolute; top: -16px; left: -16px; right: 16px; bottom: 16px;
  border: 1px solid var(--c-accent); border-radius: 16px; z-index: 0;
}
.frame-offset::after {
  content: ""; position: absolute; top: 16px; left: 16px; right: -16px; bottom: -16px;
  background: var(--c-ivory2); border-radius: 16px; z-index: 0;
}

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; min-height: 100vh; min-height: 100svh; background: var(--c-ivory); overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; pointer-events: none;
  display: flex; align-items: stretch;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide-inner { display: grid; grid-template-columns: 55% 45%; width: 100%; min-height: 100vh; min-height: 100svh; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(6rem, 10vh, 9rem) clamp(1.5rem, 6vw, 6rem) max(80px, 7vh); }
.hero-copy .eyebrow { margin-bottom: 1.2rem; }
.hero-copy h1 { margin-bottom: 1.3rem; }
.hero-copy h1 em { font-style: normal; color: var(--c-accent-dark); }
.hero-copy p { font-size: 1.08rem; color: var(--c-muted); max-width: 46ch; margin-bottom: 2rem; }
.hero-media { position: relative; padding: clamp(6rem, 9vh, 8rem) clamp(1.5rem, 4vw, 4rem) clamp(3rem, 6vh, 5rem) 0; display: flex; align-items: center; }
.hero-media .arch-frame { width: 100%; max-height: 76vh; aspect-ratio: 4/5; }

/* hero-nav no longer occupies layout space, its children are positioned
   independently against .hero-slider so they never collide with hero-copy content */
.hero-nav { position: static; }
.hero-slider .hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(250,246,238,.92); border: 1px solid var(--c-line);
  box-shadow: 0 8px 22px rgba(26,14,7,.16); font-size: 1.1rem;
}
.hero-slider .hero-arrow:hover { transform: translateY(-50%) scale(1.08); background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
.hero-slider .hero-prev { left: 20px; }
.hero-slider .hero-next { right: 20px; }
.hero-slider .hero-dots {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 10;
  display: flex; gap: .6rem;
}
.hero-dots { display: flex; gap: .6rem; }
.hero-dot { width: 26px; height: 2px; background: var(--c-line); border: none; padding: 0; transition: all .3s; }
.hero-dot.active { background: var(--c-accent); width: 44px; }
.hero-arrow { background: none; border: none; color: var(--c-accent-dark); font-size: 1.2rem; padding: .2rem .4rem; transition: transform .2s, background .25s, color .25s; display: inline-flex; align-items: center; justify-content: center; }
.hero-arrow:hover { transform: scale(1.2); color: var(--c-accent); }

/* ---------- Trust bar (floating, overlaps hero) ---------- */
.trust-bar-wrap { position: relative; z-index: 5; margin-top: 1.5rem; padding-bottom: 0; }
.trust-bar { list-style: none; margin: 0; padding: .4rem; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--c-green); border: 1px solid rgba(233,216,166,.18); border-radius: 20px; box-shadow: 0 18px 44px rgba(27,47,16,.28); }
.trust-bar li { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; }
.trust-bar li + li { border-left: 1px solid rgba(233,216,166,.22); }
.tb-icon { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: rgba(233,216,166,.14); color: #E9D8A6; display: grid; place-items: center; font-size: 1.1rem; }
.tb-text { font-size: .92rem; line-height: 1.3; color: rgba(250,246,238,.78); }
.tb-text strong { color: #EBDCA8; font-weight: 700; }
@media (max-width: 991.98px) {
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .trust-bar li:nth-child(3) { border-left: none; }
  .trust-bar li:nth-child(n+3) { border-top: 1px solid rgba(233,216,166,.22); }
}
@media (max-width: 575.98px) {
  .trust-bar-wrap { margin-top: 1rem; }
  .trust-bar li { padding: .8rem .8rem; gap: .6rem; }
  .tb-icon { flex-basis: 34px; width: 34px; height: 34px; font-size: .95rem; }
  .tb-text { font-size: .8rem; }
}

/* ---------- Stats strip ---------- */
.stats-strip { background: var(--c-green); color: var(--c-ivory); padding: 2.2rem 0; }
.stat-num { font-variant-numeric: lining-nums; font-family: var(--ff-display); font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 700; color: #EBDCA8; line-height: 1; }
.stat-label { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(250,246,238,.75); margin-top: .35rem; }
.stat-line { display: flex; align-items: baseline; gap: .6rem; white-space: nowrap; }
.stat-line .stat-num { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.stat-line .stat-label { margin-top: 0; font-size: .74rem; }
@media (max-width: 575.98px) { .stat-line { flex-direction: column; align-items: flex-start; gap: .2rem; white-space: normal; } }
.stat-cell { display: flex; align-items: center; gap: 1rem; justify-content: center; }
.stat-cell i { font-size: 1.7rem; color: var(--c-accent); opacity: .9; }

/* ---------- Sections ---------- */
.section-pad { padding: clamp(2.75rem, 5vw, 4rem) 0; }
.section-alt { background: var(--c-ivory2); }
.section-dark { background: var(--c-green-deep); color: var(--c-ivory); }
.section-dark h2, .section-dark h3 { color: var(--c-ivory); }
.section-dark p { color: rgba(250,246,238,.78); }
.section-head { max-width: 640px; margin-bottom: clamp(1.5rem, 3vw, 2.4rem); }
/* heading on the left, action(s) on the right, one line on desktop */
.section-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 1.5rem; margin-bottom: clamp(1.5rem, 3vw, 2.4rem); }
.section-head-row .section-head { max-width: none; margin-bottom: 0; flex: 1 1 340px; }
.section-head h2 { margin: .8rem 0 .6rem; }
.section-head p { color: var(--c-muted); }

/* ---------- Cards (generic) ---------- */
.card-an {
  background: #fff; border: 1px solid var(--c-line); border-radius: 18px;
  transition: transform .3s ease, box-shadow .3s ease; height: 100%;
}
.card-an:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(44,26,14,.12); }

/* Service cards */
.card-service { background: var(--c-ivory); border: 1px solid var(--c-line); border-top: 3px solid var(--c-accent); border-radius: 0 0 18px 18px; padding: 2rem 1.6rem; height: 100%; transition: transform .3s, box-shadow .3s; }
.card-service:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(44,26,14,.12); }
.card-service .svc-icon { font-size: 1.9rem; color: var(--c-green); margin-bottom: 1rem; display: inline-block; }
.card-service h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.card-service p { font-size: .93rem; color: var(--c-muted); }
.link-more { font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-accent-dark); }
.link-more:hover { color: var(--c-accent); }

/* Value cards */
.card-value { text-align: center; padding: 2.4rem 1.8rem; }
.card-value img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; outline: 1px solid var(--c-accent); outline-offset: 5px; margin-bottom: 1.3rem; }
.shloka { font-family: var(--ff-display); font-size: 1.06rem; font-style: italic; color: var(--c-green); margin: .6rem 0 .9rem; }

/* Product cards */
.card-product { background: #fff; border: 1px solid var(--c-line); border-radius: 18px; overflow: hidden; height: 100%; transition: transform .3s, box-shadow .3s; position: relative; }
.card-product:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(44,26,14,.12); }
.card-product .prod-img { aspect-ratio: 4/3; background: var(--c-ivory2); overflow: hidden; }
.card-product .prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card-product:hover .prod-img img { transform: scale(1.05); }
.prod-badge { position: absolute; top: 12px; left: 12px; background: var(--c-green); color: var(--c-ivory); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 100px; z-index: 2; }
.wish-btn { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--c-line); background: rgba(250,246,238,.92); color: var(--c-accent-dark); display: grid; place-items: center; transition: all .2s; }
.wish-btn:hover, .wish-btn.on { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
.prod-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .4rem; }
.prod-name { font-family: var(--ff-display); font-size: 1.25rem; font-weight: 700; margin: 0; }
.prod-desc { font-size: .85rem; color: var(--c-muted); margin: 0; }
.prod-rating { color: var(--c-accent); font-size: .82rem; }
.prod-rating .num { color: var(--c-muted); margin-left: .3rem; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: .4rem; }
.prod-price { font-weight: 700; font-size: 1.08rem; color: var(--c-green); }
.btn-cart { background: var(--c-accent); border: none; color: #fff; font-size: .82rem; font-weight: 600; padding: .5rem 1.1rem; border-radius: 100px; transition: all .25s; }
.btn-cart:hover { background: var(--c-accent-dark); }
.btn-cart:disabled { background: var(--c-muted); cursor: not-allowed; opacity: .6; }
.card-product-oos .prod-img img { opacity: .55; filter: grayscale(.3); }
.prod-badge-oos { background: #8a5a44; }
.cart-count-badge { position: absolute; top: -6px; right: -10px; background: var(--c-accent); color: #fff; font-size: .65rem; font-weight: 700; line-height: 1; min-width: 17px; height: 17px; border-radius: 100px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

/* Product detail page gallery */
.pdp-main-image { aspect-ratio: 1/1; background: var(--c-ivory2); border-radius: 18px; overflow: hidden; }
.pdp-main-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pdp-main-image:hover img { transform: scale(1.15); }
.pdp-thumbs { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.pdp-thumb { width: 72px; height: 72px; padding: 0; border: 1px solid var(--c-line); border-radius: 10px; overflow: hidden; background: var(--c-ivory2); cursor: pointer; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb:hover, .pdp-thumb:focus { outline: 2px solid var(--c-accent); }

/* Doctor cards */
.card-doctor { background: #fff; border: 1px solid var(--c-line); border-radius: 22px; padding: 2.4rem 2rem; text-align: center; height: 100%; transition: transform .3s, box-shadow .3s; }
.card-doctor:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(44,26,14,.12); }
.doc-photo { width: 148px; height: 148px; border-radius: 50%; object-fit: cover; object-position: top; outline: 2px solid var(--c-accent); outline-offset: 6px; margin-bottom: 1.4rem; }
.doc-role { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent-dark); font-weight: 600; }
.tag-pill { display: inline-block; background: var(--c-ivory2); border: 1px solid var(--c-line); color: var(--c-green); font-size: .76rem; font-weight: 500; padding: .3rem .8rem; border-radius: 100px; }
.tag-row { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; }

/* Feature blocks (dark section) */
.feature-block { display: flex; gap: 1.2rem; align-items: flex-start; }
.feature-icon { flex: 0 0 54px; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(233,216,166,.4); display: grid; place-items: center; color: #E9D8A6; font-size: 1.35rem; }
.feature-block h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.feature-block p { font-size: .93rem; margin: 0; }

/* Story cards */
.card-story { background: #fff; border: 1px solid var(--c-line); border-radius: 18px; overflow: hidden; height: 100%; transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.card-story:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(44,26,14,.12); }
.card-story .story-img { aspect-ratio: 16/9; background: var(--c-ivory2); }
.card-story .story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .7rem; }
.story-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.story-body h3 { font-size: 1.3rem; margin-bottom: .55rem; }
.story-body p { font-size: .9rem; color: var(--c-muted); flex: 1; }

/* Blog cards */
.card-blog { background: #fff; border: 1px solid var(--c-line); border-radius: 18px; overflow: hidden; height: 100%; transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; position: relative; }
.card-blog:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(44,26,14,.12); }
.card-blog .blog-img { aspect-ratio: 800/577; background: var(--c-ivory2); overflow: hidden; }
.card-blog .blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card-blog:hover .blog-img img { transform: scale(1.04); }
.blog-cat { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--c-accent-dark); }
.blog-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.blog-body h3 { font-size: 1.25rem; }
.blog-body p { font-size: .88rem; color: var(--c-muted); flex: 1; margin: 0; }
.blog-date { font-size: .78rem; color: var(--c-muted); }

/* Panchakarma "Indications" block (therapy / other-therapy detail cards) */
.indication-block { border-top: 1px solid var(--c-line); margin-top: .8rem; padding-top: .8rem; }
.indication-label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent-dark); margin-bottom: .4rem; }
.indication-block p { color: var(--c-muted); }
.indication-block strong { color: var(--c-text); }
.card-number { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--c-accent); color: #fff; font-family: var(--ff-display); font-weight: 700; font-size: .95rem; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(26,14,7,.22); }

/* ---------- Testimonials ---------- */
.testi-track { display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .2rem 1.4rem; scrollbar-width: none; }
.testi-track::-webkit-scrollbar { display: none; }
.testi-card { flex: 0 0 calc((100% - 2.8rem) / 3); scroll-snap-align: start; background: #fff; border: 1px solid var(--c-line); border-radius: 18px; padding: 1.8rem; display: flex; flex-direction: column; }
.testi-stars { color: var(--c-accent); letter-spacing: .15em; margin-bottom: .8rem; }
.testi-card .testi-text { font-size: .92rem; line-height: 1.65; color: var(--c-muted); flex: 1; max-height: 12.5rem; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.testi-card .testi-text p { margin: 0 0 .6rem; }
.testi-card .testi-text > :last-child { margin-bottom: 0; }
.testi-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--c-line); }
.testi-name { font-weight: 600; font-size: .95rem; }
.testi-google { display: inline-flex; align-items: center; gap: .45rem; background: var(--c-ivory2); border: 1px solid var(--c-line); color: var(--c-green); font-size: .78rem; font-weight: 600; padding: .35rem .8rem; border-radius: 100px; transition: all .2s; }
.testi-google .bi-google { color: #4285F4; }
.testi-google .bi-box-arrow-up-right { font-size: .65rem; opacity: .7; }
.testi-google:hover { background: var(--c-accent-dark); border-color: var(--c-accent-dark); color: #fff; }
.testi-google:hover .bi-google { color: #fff; }
.testi-loc { font-size: .8rem; color: var(--c-muted); }
.read-review-btn { background: none; border: none; padding: 0; color: var(--c-accent-dark); font-size: .85rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; margin: .2rem 0 1rem; text-decoration: none; align-self: flex-start; }
.read-review-btn:hover { color: var(--c-accent); }

@media (max-width: 991.98px) { .testi-card { flex-basis: calc((100% - 1.4rem) / 2); } }
@media (max-width: 575.98px) { .testi-card { flex-basis: 88%; } }

/* ---------- Review "Leaf Scroll" modal ---------- */
.review-modal-content { background: #FAF6EE; border: 1px solid var(--c-line); border-radius: 22px; position: relative; overflow: hidden; box-shadow: 0 30px 80px rgba(26,14,7,.3); }
.review-modal-content .leaf-watermark { position: absolute; right: -30px; bottom: -30px; width: 220px; height: 220px; opacity: .06; pointer-events: none; z-index: 0; }
.review-modal-content .modal-header, .review-modal-content .modal-body, .review-modal-content .modal-footer { position: relative; z-index: 1; border-color: var(--c-line); }
.review-modal-content .modal-title { font-family: var(--ff-display); font-size: 1.3rem; margin-bottom: .25rem; }
.modal-stars { color: var(--c-accent); font-size: .82rem; letter-spacing: .12em; }
.review-modal-content .modal-body p { font-family: var(--ff-display); font-size: 1.15rem; line-height: 1.85; color: var(--c-text); font-style: italic; margin: 0; }
.review-modal-close { width: 38px; height: 38px; border-radius: 50%; background: var(--c-accent); color: #fff; border: none; font-size: 1.1rem; display: grid; place-items: center; transition: all .25s; flex-shrink: 0; }
.review-modal-close:hover { background: var(--c-accent-dark); transform: rotate(90deg); }
.google-badge { display: inline-flex; align-items: center; gap: .5rem; background: var(--c-ivory2); border: 1px solid var(--c-line); color: var(--c-green); font-size: .8rem; font-weight: 600; padding: .45rem 1rem; border-radius: 100px; }
#reviewModal .modal-dialog { transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .3s ease; transform: scale(.9); opacity: 0; }
#reviewModal.show .modal-dialog { transform: scale(1); opacity: 1; }

/* ---------- CTA banner ---------- */
.cta-banner { border-radius: 26px; overflow: hidden; background: var(--c-green); color: var(--c-ivory); }
.cta-banner h2 { color: var(--c-ivory); }
.cta-banner p { color: rgba(250,246,238,.8); }
.cta-banner .cta-img { min-height: 320px; background-size: cover; background-position: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--c-ivory2); padding: clamp(8rem, 14vh, 11rem) 0 clamp(2.6rem, 5vw, 4rem); position: relative; }
.page-hero h1 { margin: .5rem 0 .4rem; }
.page-hero .lead { color: var(--c-muted); font-size: 1.05rem; max-width: 60ch; }

/* Success story fact chips */
.hero-patches { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.hero-patch { display: flex; align-items: center; gap: .75rem; padding: .7rem 1.1rem; background: #fff; border: 1px solid var(--c-line); border-radius: 14px; box-shadow: 0 14px 30px rgba(44,26,14,.14), 0 2px 6px rgba(44,26,14,.08); }
.hero-patch i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--c-ivory2); color: var(--c-accent); font-size: 1.1rem; flex: none; }
.hero-patch strong { display: block; font-family: var(--ff-display); font-size: 1.25rem; line-height: 1.1; color: var(--c-green-deep); }
.hero-patch span { display: block; font-size: .8rem; color: var(--c-muted); line-height: 1.25; }
@media (min-width: 992px) {
  .hero-patches { position: absolute; right: max(1.5rem, calc((100vw - 1140px) / 2)); bottom: 2rem; top: auto; flex-direction: column; align-items: flex-end; margin: 0; gap: 1rem; pointer-events: none; }
  .hero-patch { width: 250px; }
  .hp-1 { transform: rotate(-2.5deg) translateX(-18px); }
  .hp-2 { transform: rotate(1.8deg); }
  .hp-3 { transform: rotate(-1.5deg) translateX(-30px); }
}
.page-hero .breadcrumb-an { margin-bottom: 1.4rem; }
.story-facts { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.story-facts li { display: flex; align-items: center; gap: .75rem; background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: .6rem 1.1rem .6rem .7rem; box-shadow: 0 6px 18px rgba(44,26,14,.06); }
.story-facts i { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; background: var(--c-ivory2); color: var(--c-accent-dark); font-size: 1.1rem; }
.story-facts span { display: flex; flex-direction: column; line-height: 1.25; }
.story-facts small { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }
.story-facts strong { font-size: .95rem; font-weight: 600; color: var(--c-text); }
@media (max-width: 575.98px) { .story-facts li { flex: 1 1 100%; } }

/* Long-form headline (blog/story detail pages), the default h1 size is tuned for
   short page titles; long article titles at that size swallow the viewport. */
.article-title { font-size: clamp(1.6rem, 3.1vw, 2.5rem); line-height: 1.3; max-width: 68ch; margin: .5rem 0 .6rem; }
.breadcrumb-an { font-size: .82rem; color: var(--c-muted); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.breadcrumb-an a { color: var(--c-accent-dark); }

/* ---------- Floating action buttons ---------- */
.fab-stack { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 1050; display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; border: none; cursor: pointer; position: relative; box-shadow: 0 10px 26px rgba(26,14,7,.28); transition: transform .25s; }
.fab:hover { transform: scale(1.08); }
.fab-whatsapp { background: #25D366; color: #fff; }
.fab-whatsapp::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #25D366; animation: waPulse 2s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.55); opacity: 0; } }
.fab-social { background: var(--c-accent); color: #fff; }
.fab-tip { position: absolute; right: calc(100% + 14px); top: 50%; transform: translateY(-50%); background: var(--c-footer); color: var(--c-ivory); font-size: .76rem; padding: .4rem .8rem; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.fab:hover .fab-tip { opacity: 1; }
.social-fan { position: absolute; right: 0; bottom: calc(100% + .6rem); display: flex; flex-direction: column; gap: .6rem; align-items: center; pointer-events: none; }
.social-fan.open { pointer-events: auto; }
.social-fan a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-ivory); border: 1px solid var(--c-line); color: var(--c-green); font-size: 1.1rem;
  opacity: 0; transform: translateY(12px) scale(.6); transition: all .3s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 8px 20px rgba(26,14,7,.18);
}
.social-fan.open a { opacity: 1; transform: translateY(0) scale(1); }
.social-fan a:hover { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }

/* ---------- Footer ---------- */
.footer-an { background: var(--c-footer); color: rgba(250,246,238,.75); padding: 4.5rem 0 0; font-size: .92rem; }
.footer-an h5 { font-family: var(--ff-body); font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: #E9D8A6; margin-bottom: 1.2rem; font-weight: 600; }
.footer-an a { color: rgba(250,246,238,.75); display: inline-block; padding: .18rem 0; }
.footer-an a:hover { color: #E9D8A6; }
.footer-an .f-logo { height: 56px; margin-bottom: 1rem; filter: brightness(1.15); }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(250,246,238,.25); display: grid; place-items: center; font-size: 1rem; }
.footer-social a:hover { border-color: var(--c-accent); background: var(--c-accent); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(250,246,238,.14); margin-top: 3.2rem; padding: 1.3rem 0; font-size: .82rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.footer-map { border-radius: 12px; overflow: hidden; border: 1px solid rgba(250,246,238,.2); }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ---------- Gallery ---------- */
.gallery-grid { columns: 3 280px; column-gap: 1.2rem; }
.gallery-item { break-inside: avoid; margin-bottom: 1.2rem; border-radius: 14px; overflow: hidden; cursor: pointer; position: relative; border: 1px solid var(--c-line); }
.gallery-item img { width: 100%; display: block; transition: transform .45s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .g-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .8rem; background: linear-gradient(transparent, rgba(26,14,7,.75)); color: var(--c-ivory); font-size: .82rem; opacity: 0; transition: opacity .3s; }
.gallery-item:hover .g-label { opacity: 1; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-tab { background: transparent; border: 1px solid var(--c-line); color: var(--c-muted); font-size: .85rem; font-weight: 500; padding: .45rem 1.2rem; border-radius: 100px; transition: all .2s; }
.filter-tab:hover { border-color: var(--c-accent); color: var(--c-accent-dark); }
.filter-tab.active { background: var(--c-green); border-color: var(--c-green); color: var(--c-ivory); }

/* ---------- Video testimonial cards ---------- */
.video-card { max-width: 340px; margin: 0 auto; display: flex; flex-direction: column; background: var(--c-ivory); border: 1px solid var(--c-line); border-radius: 18px; overflow: hidden; height: 100%; transition: transform .3s, box-shadow .3s; }
.video-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(44,26,14,.12); }
.video-wrapper { position: relative; aspect-ratio: 9/16; background: #000; }
.video-wrapper video { width: 100%; height: 100%; object-fit: contain; display: block; }
.video-play-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(20,32,12,.15); color: #fff; font-size: 3.2rem; cursor: pointer; transition: opacity .3s; }
.video-wrapper.playing .video-play-overlay { opacity: 0; pointer-events: none; }
.video-info { padding: 1.3rem 1.4rem 1.5rem; }
.video-info h5 { font-family: var(--ff-display); font-size: 1.2rem; margin-bottom: .5rem; }
.video-info p { font-size: .88rem; color: var(--c-muted); margin: 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1060; background: rgba(26,14,7,.92); display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1000px, 92vw); max-height: 86vh; border-radius: 10px; }
.lightbox-close { position: absolute; top: 1.4rem; right: 1.6rem; background: none; border: 1px solid rgba(250,246,238,.4); color: var(--c-ivory); width: 46px; height: 46px; border-radius: 50%; font-size: 1.3rem; }

/* ---------- Contact ---------- */
.form-an .form-control, .form-an .form-select {
  background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: .8rem 1rem; font-size: .95rem; color: var(--c-text);
}
.form-an .form-control:focus, .form-an .form-select:focus { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(192,123,58,.15); }
.form-an label { font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); margin-bottom: .4rem; }
.contact-line { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--c-line); }
.contact-line i { color: var(--c-accent); font-size: 1.25rem; flex: 0 0 auto; margin-top: .15rem; }

/* ---------- Cart ---------- */
.cart-row { display: grid; grid-template-columns: 84px 1fr auto auto auto; gap: 1.2rem; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid var(--c-line); }
.cart-row img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; border: 1px solid var(--c-line); }
.qty-ctrl { display: inline-flex; align-items: center; border: 1px solid var(--c-line); border-radius: 100px; overflow: hidden; }
.qty-ctrl button { background: none; border: none; width: 34px; height: 34px; color: var(--c-accent-dark); font-size: 1rem; }
.qty-ctrl button:hover { background: var(--c-ivory2); }
.qty-ctrl .qty { width: 36px; text-align: center; font-weight: 600; font-size: .92rem; }
.summary-card { background: #fff; border: 1px solid var(--c-line); border-radius: 18px; padding: 1.8rem; position: sticky; top: 110px; }
.summary-row { display: flex; justify-content: space-between; padding: .45rem 0; font-size: .94rem; }
.summary-total { border-top: 1px solid var(--c-line); margin-top: .6rem; padding-top: 1rem; font-weight: 700; font-size: 1.1rem; }

/* ---------- Blog detail ---------- */
.article-body { font-size: 1.02rem; }
.article-body h2 { font-size: 1.8rem; margin: 2.4rem 0 .9rem; }
.article-body h3 { font-size: 1.35rem; margin: 1.8rem 0 .7rem; }
.article-body ul { color: var(--c-muted); }
.article-body p { color: var(--c-muted); }
.toc-card { background: #fff; border: 1px solid var(--c-line); border-radius: 16px; padding: 1.5rem; }
.sidebar-sticky { position: sticky; top: 110px; }
.sidebar-stories { background: #fff; border: 1px solid var(--c-line); border-radius: 16px; padding: 1.5rem; }
.sidebar-stories .related-story-mini { color: var(--c-text); }
.sidebar-stories .related-story-mini:hover span { color: var(--c-accent-dark); }
@media (max-width: 991.98px) { .sidebar-sticky { position: static; } }
.toc-card a { display: block; font-size: .88rem; padding: .32rem 0; color: var(--c-muted); border-left: 2px solid transparent; padding-left: .8rem; margin-left: -.8rem; }
.toc-card a:hover { color: var(--c-accent-dark); border-left-color: var(--c-accent); }

/* ---------- Doctor tabs (Doctors page) ---------- */
.doc-tabs { display: flex; flex-wrap: wrap; gap: .6rem; }
.doc-tab { background: #fff; border: 1px solid var(--c-line); color: var(--c-muted); font-size: .88rem; font-weight: 500; padding: .55rem 1.3rem; border-radius: 100px; transition: all .2s; }
.doc-tab:hover { border-color: var(--c-accent); color: var(--c-accent-dark); }
.doc-tab.active { background: var(--c-green); border-color: var(--c-green); color: var(--c-ivory); }
.doc-panel { display: none; }
.doc-panel.active { display: block; }

/* ---------- Doctor parallel profile layout ---------- */
.bio-block h3 { font-size: 1.15rem; color: var(--c-accent-dark); font-family: var(--ff-body); font-weight: 600; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .5rem; }
.bio-block h3 i { color: var(--c-accent); margin-right: .4rem; }
.bio-block { padding: 1.2rem 0; border-bottom: 1px solid var(--c-line); }
.bio-block p, .bio-block li { color: var(--c-muted); font-size: .95rem; }
.doctor-card-full { background: #fff; border: 1px solid var(--c-line); border-left: 4px solid var(--c-accent); border-radius: 18px; padding: 2.4rem clamp(1.6rem, 3vw, 2.6rem); }
.doctor-col { position: relative; }
.doctor-divider { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: 1px; background: var(--c-line); align-items: center; justify-content: center; z-index: 1; }
.doctor-divider i { background: var(--c-ivory); color: var(--c-accent); width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--c-accent); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.achv-mini-strip { display: flex; gap: .8rem; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: thin; }
.achv-mini-card { flex: 0 0 140px; background: var(--c-ivory2); border: 1px solid var(--c-line); border-radius: 14px; padding: 1.1rem .8rem; text-align: center; }
.achv-mini-card i { color: var(--c-accent); font-size: 1.5rem; display: block; margin-bottom: .5rem; }
.achv-mini-card span { font-size: .76rem; font-weight: 600; color: var(--c-text); line-height: 1.25; display: block; }
@media (max-width: 991.98px) { .doctor-divider { display: none; } }

/* ---------- Success story detail page ---------- */
/* Share bar */
.share-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; padding: 1.1rem 1.4rem; background: var(--c-ivory2); border: 1px solid var(--c-line); border-left: 4px solid var(--c-accent); border-radius: 14px; }
.share-bar-label { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-green-deep); }
.share-bar-label i { color: var(--c-accent); }
.share-bar-links { display: flex; gap: .7rem; }
.share-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.15rem; text-decoration: none; box-shadow: 0 6px 14px rgba(0,0,0,.18); transition: transform .25s, box-shadow .25s; }
.share-btn:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,.25); }
.share-wa { background: #25D366; }
.share-fb { background: #1877F2; }
.share-x { background: #111; }

/* Before / after */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: 2.4rem; }
.ba-grid:has(.ba-item:only-child) { grid-template-columns: minmax(0, 520px); }
.ba-item { position: relative; margin: 0; background: #fff; border: 1px solid var(--c-line); border-radius: 16px; overflow: hidden; cursor: zoom-in; box-shadow: 0 10px 28px rgba(44,26,14,.08); transition: transform .3s, box-shadow .3s; }
.ba-item:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(44,26,14,.16); }
.ba-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .45s; }
.ba-item:hover img { transform: scale(1.03); }
.ba-label { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: .45rem; padding: .45rem 1rem; border-radius: 999px; color: #fff; font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 6px 16px rgba(0,0,0,.28); }
.ba-before { background: #B3402F; }
.ba-after { background: #2E7D32; }
@media (max-width: 575.98px) { .ba-grid { grid-template-columns: 1fr; } }
.story-feature-img { width: 100%; aspect-ratio: 1200/500; border-radius: 18px; overflow: hidden; margin-top: 1.6rem; border: 1px solid var(--c-line); }
.story-feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-trust-card { background: #fff; border: 1px solid var(--c-line); border-left: 4px solid var(--c-accent); border-radius: 18px; padding: 1.6rem 1.5rem; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.trust-stat { display: flex; align-items: center; gap: .9rem; }
.trust-stat + .trust-stat { padding-top: 1rem; border-top: 1px solid var(--c-line); }
.trust-stat i { font-size: 1.5rem; color: var(--c-accent); flex: 0 0 auto; }
.trust-stat .trust-num { font-family: var(--ff-display); font-weight: 700; font-size: 1.5rem; color: var(--c-green); line-height: 1; }
.trust-stat .trust-label { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); margin-top: .15rem; }

.story-sidebar { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 1.4rem; }
.sidebar-card { background: #fff; border: 1px solid var(--c-line); border-radius: 18px; padding: 1.6rem; }
.sidebar-doc-photo { width: 86px; height: 86px; border-radius: 50%; object-fit: cover; outline: 2px solid var(--c-accent); outline-offset: 4px; margin-bottom: .9rem; }
.related-story-mini { display: flex; gap: .8rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--c-line); }
.related-story-mini:last-child { border-bottom: none; }
.related-story-mini img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.related-story-mini span { font-size: .85rem; font-weight: 600; color: var(--c-text); line-height: 1.3; }
.sidebar-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.sidebar-tags .tag-pill { background: var(--c-ivory); }

@media (max-width: 767.98px) {
  .story-sidebar { position: static; }
}

/* ---------- Tweaks panel ---------- */
.tweaks-panel {
  position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: 1070; width: 240px;
  background: #fff; border: 1px solid var(--c-line); border-radius: 16px;
  box-shadow: 0 18px 50px rgba(26,14,7,.22); padding: 1rem 1.1rem; display: none;
}
.tweaks-panel.open { display: block; }
.tweaks-panel h6 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin: 0; }
.tweaks-panel .t-label { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); margin: .9rem 0 .5rem; }
.swatch-row { display: flex; gap: .55rem; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; outline-offset: 3px; }
.swatch.sel { outline: 2px solid var(--c-green); }
.tweaks-close { background: none; border: none; color: var(--c-muted); font-size: 1rem; padding: 0; }

/* ---------- Achievements page ---------- */
.achievement-card { background: #fff; border: 1px solid var(--c-line); border-radius: 18px; overflow: hidden; height: 100%; transition: transform .3s, box-shadow .3s; }
.achievement-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(44,26,14,.12); }
.achievement-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--c-ivory2); }
.achievement-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.achievement-img-placeholder { position: absolute; inset: 0; background: var(--c-ivory2); display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--c-text); padding: 1.5rem; gap: .8rem; }
.achievement-img-placeholder i { font-size: 1.8rem; color: var(--c-accent); width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--c-accent); display: flex; align-items: center; justify-content: center; }
.achievement-img-placeholder span { font-family: var(--ff-display); font-weight: 600; font-size: .98rem; line-height: 1.3; color: var(--c-green); }
.achievement-body { padding: 1.3rem 1.4rem 1.5rem; }
.achievement-badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-accent-dark); margin-bottom: .5rem; }
.achievement-body h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.achievement-body p { font-size: .9rem; color: var(--c-muted); margin: 0; }

.award-feature { background: var(--c-green-deep); border: 2px solid var(--c-accent); border-radius: 24px; color: var(--c-ivory); position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.award-feature .award-ribbon { position: absolute; top: 18px; right: -42px; transform: rotate(45deg); background: var(--c-accent); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .4rem 3.2rem; box-shadow: 0 4px 10px rgba(0,0,0,.2); z-index: 2; }
.award-media { position: relative; display: flex; background: rgba(0,0,0,.18); }
.award-media img { width: 100%; height: auto; display: block; object-fit: cover; object-position: center top; }
.award-img-placeholder { min-height: 340px; display: none; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; text-align: center; padding: 1.5rem; color: #E9D8A6; font-family: var(--ff-display); }
.award-img-placeholder i { font-size: 3.2rem; }
.award-content { padding: clamp(1.5rem, 3.2vw, 2.6rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; }
.award-content .eyebrow { display: inline-flex; align-items: center; gap: .6rem; }
.award-content .eyebrow i { font-size: 1.3rem; color: #E9D8A6; margin: 0; }
.award-content .eyebrow::before { display: none; }
.award-feature .eyebrow { color: #E9D8A6; }
.award-feature h2 { color: var(--c-ivory); }
.award-feature p { color: rgba(250,246,238,.85); max-width: 52ch; margin: .8rem 0 0; }
@media (max-width: 767.98px) {
  .award-feature { grid-template-columns: 1fr; }
}

/* ---------- Misc ---------- */
.img-cover { width: 100%; height: 100%; object-fit: cover; }
.pagination-an { display: flex; gap: .5rem; justify-content: center; }
.pagination-an a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--c-line); border-radius: 50%; font-size: .9rem; color: var(--c-text); }
.pagination-an a.active { background: var(--c-green); border-color: var(--c-green); color: var(--c-ivory); }
.search-an { position: relative; }
.search-an input { padding-left: 2.8rem; }
.search-an i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--c-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero-slide-inner { grid-template-columns: 1fr; min-height: 600px; }
  .hero-slide { position: relative; display: none; }
  .hero-slide.active { display: block; }
  .hero-slider { min-height: 600px; }
  .hero-media { order: -1; padding: 5.5rem 1.5rem 0; justify-content: center; }
  .hero-media .arch-frame { max-width: 420px; aspect-ratio: 4/4.4; }
  .hero-copy { padding: 2.2rem 1.5rem max(100px, 6.5rem); text-align: center; align-items: center; }
  .hero-slider .hero-arrow { width: 32px; height: 32px; font-size: .85rem; top: 50%; transform: translateY(-50%); }
  .hero-slider .hero-arrow:hover { transform: translateY(-50%) scale(1.08); }
  .hero-slider .hero-prev { left: 10px; }
  .hero-slider .hero-next { right: 10px; }
  .hero-slider .hero-dots { bottom: 36px; }
  .cart-row { grid-template-columns: 64px 1fr; row-gap: .6rem; }
  .cart-row img { width: 64px; height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
