/* =====================================================================
   RAYHAAN LONGEVITY — Bootstrap 5 brand theme
   Loaded AFTER bootstrap.min.css. Overrides Bootstrap's CSS variables with
   the brand palette, then adds a small set of section/utility classes.
   ===================================================================== */

:root{
  --forest-deep:#12161C;
  --forest:#1D242C;
  --forest-soft:#6E9686;
  --sage:#E4E8DE;
  --gold:#C6874F;
  --gold-soft:#E8C9A0;
  --ivory:#F7F5F0;
  --ivory-dim:#ECEAE3;
  --ink:#1B1F1C;

  /* Bootstrap variable overrides */
  --bs-body-bg:var(--ivory);
  --bs-body-color:var(--ink);
  --bs-body-font-family:'Inter',sans-serif;
  --bs-link-color:var(--gold);
  --bs-link-hover-color:var(--forest);
  --bs-primary:var(--gold);
  --bs-primary-rgb:198,135,79;
  --bs-border-color:rgba(27,31,28,0.12);
}

body{ overflow-x:hidden; }
h1,h2,h3,h4,.font-serif{
  font-family:'Fraunces',serif;
  font-weight:500;
  color:var(--forest);
  letter-spacing:-0.01em;
}
.lead{ font-size:1.05rem; }
.eyebrow{
  font-family:'JetBrains Mono',monospace;
  font-size:0.72rem;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:var(--gold);
  font-weight:500;
}

/* ---------- section backgrounds ---------- */
.bg-forest-deep{ background:var(--forest-deep) !important; color:var(--ivory); }
.bg-forest{ background:var(--forest) !important; color:var(--ivory); }
.bg-sage{ background:var(--sage) !important; }
.bg-ivory-dim{ background:var(--ivory-dim) !important; }
.text-gold{ color:var(--gold) !important; }
.bg-forest-deep h1,.bg-forest-deep h2,.bg-forest-deep h3,.bg-forest-deep h4,
.bg-forest h1,.bg-forest h2,.bg-forest h3,.bg-forest h4{ color:var(--ivory); }
.bg-forest-deep p,.bg-forest p{ color:rgba(247,245,240,0.82); }
section, .section{ padding-top:6.5rem; padding-bottom:6.5rem; }
@media (max-width:768px){ section, .section{ padding-top:4rem; padding-bottom:4rem; } }

/* ---------- buttons & pills ---------- */
.btn-gold{
  background:var(--gold); border-color:var(--gold); color:var(--forest-deep);
  font-family:'JetBrains Mono',monospace; font-size:0.74rem; letter-spacing:0.1em;
  text-transform:uppercase; font-weight:500; box-shadow:0 12px 26px rgba(198,135,79,0.28);
}
.btn-gold:hover{ background:var(--forest); border-color:var(--forest); color:var(--gold-soft); }
.btn-outline-forest{
  border-color:var(--forest); color:var(--forest);
  font-family:'JetBrains Mono',monospace; font-size:0.74rem; letter-spacing:0.1em; text-transform:uppercase; font-weight:500;
}
.btn-outline-forest:hover{ background:var(--forest); color:var(--ivory); }
.btn-outline-ivory{
  border-color:rgba(247,245,240,0.55); color:var(--ivory);
  font-family:'JetBrains Mono',monospace; font-size:0.74rem; letter-spacing:0.1em; text-transform:uppercase; font-weight:500;
}
.btn-outline-ivory:hover{ background:var(--ivory); color:var(--forest-deep); border-color:var(--ivory); }
.pill-nav{
  display:inline-flex; align-items:center; gap:10px; padding:10px 20px;
  border:1px solid rgba(27,31,28,0.16); border-radius:50rem; font-size:0.78rem;
  letter-spacing:0.04em; color:var(--forest); background:var(--ivory);
  text-decoration:none; transition:all .25s ease;
}
.pill-nav:hover{ background:var(--gold); color:var(--forest-deep); border-color:var(--gold); }
.pill-nav.on-dark{ background:rgba(247,245,240,0.08); color:var(--ivory); border-color:rgba(247,245,240,0.3); }
.pill-nav.on-dark:hover{ background:var(--gold); color:var(--forest-deep); }

/* ---------- site header overlay: utility row + main nav float over the hero,
   transparent by default, switch to solid + fixed once the page scrolls ---------- */
.site-header-overlay{ position:absolute; top:0; left:0; right:0; z-index:40; }
.site-header-overlay.scrolled{ position:fixed; }

/* ---------- utility row (thin top strip, desktop only) ---------- */
.navbar-utility-row{
  background:transparent; border-bottom:1px solid transparent;
  padding:0.55rem 0; transition:background .35s ease, border-color .35s ease;
}
.site-header-overlay.scrolled .navbar-utility-row{
  background:var(--ivory); border-bottom-color:rgba(27,31,28,0.08);
}
.utility-link{
  font-size:0.82rem; color:var(--forest); text-decoration:none; white-space:nowrap;
  transition:color .2s ease;
}
.utility-link:hover{ color:var(--gold); }
.utility-icon-link{
  display:inline-flex; align-items:center; justify-content:center; color:var(--forest);
  transition:color .2s ease;
}
.utility-icon-link:hover{ color:var(--gold); }

/* ---------- navbar with left-aligned logo (transparent, goes solid on scroll) ---------- */
.navbar-rayhaan{
  background:transparent; backdrop-filter:none;
  border-bottom:1px solid transparent;
  transition:background .35s ease, backdrop-filter .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.site-header-overlay.scrolled .navbar-rayhaan{
  background:rgba(247,245,240,0.96); backdrop-filter:blur(14px) saturate(1.1);
  border-bottom-color:rgba(27,31,28,0.08);
  box-shadow:0 10px 30px rgba(18,22,28,0.08);
}
.navbar-rayhaan .nav-link{
  font-family:'JetBrains Mono',monospace; font-size:0.72rem; letter-spacing:0.08em;
  text-transform:uppercase; color:var(--forest); padding:0.5rem 0.9rem; position:relative;
  background:none; border:none; transition:color .2s ease;
}
.navbar-rayhaan .nav-link.active,.navbar-rayhaan .nav-link:hover{ color:var(--gold); }

/* desktop link row, logo-left layout */
.navbar-nav-desktop{ margin:0; }
.navbar-nav-desktop .nav-link{ cursor:pointer; padding:0.5rem 0.65rem; white-space:nowrap; }
.navbar-nav-desktop .dropdown-toggle::after{ margin-left:0.35em; }
/* The full text nav (8 top-level items + dropdowns) only has room on wide desktop
   screens; narrower desktops/laptops keep the hamburger + offcanvas panel (see
   d-xxl-flex/d-xxl-none in the markup) so nothing ever overflows the bar. */
@media (min-width:1400px) and (max-width:1599.98px){
  .dropdown-mega{ min-width:680px; max-width:760px; }
}
/* logo sits on its own opaque card so it stays legible over any hero photo,
   whether the bar itself is transparent or scrolled-solid */
.navbar-brand-left{
  display:inline-flex; align-items:center; background:rgba(247,245,240,0.94);
  padding:8px 18px; border-radius:12px; box-shadow:0 6px 18px rgba(18,22,28,0.16);
  transition:padding .25s ease;
}
.navbar-brand-left img{ height:44px; display:block; transition:height .25s ease; }
.site-header-overlay.scrolled .navbar-brand-left{ padding:6px 14px; box-shadow:none; }
.site-header-overlay.scrolled .navbar-brand-left img{ height:36px; }
.navbar-rayhaan .navbar-toggler{ border:none; box-shadow:none; }

/* menu trigger (hamburger, mobile/tablet fallback) */
.navbar-menu-trigger{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px;
  background:none; border:none; padding:0; cursor:pointer; width:38px; height:38px;
}
.navbar-menu-trigger .menu-lines{ display:flex; flex-direction:column; gap:5px; }
.navbar-menu-trigger .menu-lines span{
  display:block; width:24px; height:2px; background:var(--forest);
  transition:background .3s ease;
}

/* phone pill + gold CTA pill (both self-contained/opaque, legible in any state) */
.phone-pill{
  display:inline-flex; align-items:center; gap:0.5rem; background:rgba(247,245,240,0.94); color:var(--forest);
  font-size:0.86rem; font-weight:500; padding:0.55rem 1.1rem; border-radius:50rem; text-decoration:none;
  white-space:nowrap; box-shadow:0 6px 18px rgba(18,22,28,0.14);
  transition:background .2s ease, color .2s ease, box-shadow .2s ease;
}
.phone-pill:hover{ background:var(--gold-soft); color:var(--forest-deep); }
.site-header-overlay.scrolled .phone-pill{ box-shadow:none; background:var(--sage); }
.btn-cta-pill{
  display:inline-flex; align-items:center; gap:0.55rem; background:var(--forest-deep); color:var(--ivory);
  font-family:'JetBrains Mono',monospace; font-size:0.68rem; letter-spacing:0.08em; text-transform:uppercase;
  font-weight:500; padding:0.65rem 1.3rem; border-radius:50rem; text-decoration:none; white-space:nowrap;
  transition:background .25s ease, color .25s ease;
}
.btn-cta-pill .cta-arrow{
  display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px;
  border-radius:50%; background:rgba(247,245,240,0.18); font-size:0.85rem;
}
.btn-cta-pill:hover{ background:var(--gold); color:var(--forest-deep); }
.btn-cta-pill:hover .cta-arrow{ background:rgba(18,22,28,0.12); }

.offcanvas-rayhaan{ background:var(--forest-deep); color:var(--ivory); width:300px; }
.offcanvas-rayhaan .nav-link{ color:var(--ivory); font-family:'Fraunces',serif; font-size:1.3rem; }
.offcanvas-rayhaan .nav-link.active,.offcanvas-rayhaan .nav-link:hover{ color:var(--gold-soft); }

/* ---------- dropdown / mega menu ---------- */
.navbar-rayhaan .nav-link.dropdown-toggle::after{ vertical-align:0.15em; border-top-color:var(--gold); opacity:0.85; }
.dropdown-menu-rayhaan{
  border:1px solid rgba(27,31,28,0.08); border-radius:14px; box-shadow:0 24px 50px rgba(18,22,28,0.16);
  padding:0.6rem; margin-top:0 !important; min-width:235px; background:var(--ivory);
}
.dropdown-menu-rayhaan .dropdown-item{
  font-family:'Inter',sans-serif; font-size:0.88rem; color:var(--forest);
  padding:0.55rem 0.9rem; border-radius:8px;
}
.dropdown-menu-rayhaan .dropdown-item:hover,.dropdown-menu-rayhaan .dropdown-item:focus{
  background:var(--sage); color:var(--forest);
}
@media (min-width:1400px){
  .navbar-rayhaan .nav-item.dropdown:hover > .dropdown-menu{ display:block; }
}

/* ---------- mega menu (card + category pills + promo panel) ---------- */
.dropdown-mega{
  border:none; border-radius:22px; background:var(--ivory);
  box-shadow:0 34px 80px rgba(18,22,28,0.22);
  margin-top:0 !important; min-width:820px; max-width:960px;
}
.dropdown-mega .mega-section{ margin-bottom:1.9rem; }
.dropdown-mega .mega-section:last-child{ margin-bottom:0; }
.dropdown-mega .mega-pill{
  display:inline-block; background:var(--sage); color:var(--forest);
  font-family:'JetBrains Mono',monospace; font-size:0.66rem; letter-spacing:0.12em;
  text-transform:uppercase; font-weight:500; padding:0.4rem 0.95rem; border-radius:50rem;
  margin-bottom:1rem;
}
.dropdown-mega .mega-divider{ border:none; border-top:1px solid rgba(27,31,28,0.1); margin:0 0 1rem; }
.dropdown-mega .dropdown-item{
  font-family:'Inter',sans-serif; font-size:0.92rem; color:var(--forest);
  padding:0.35rem 0.5rem; border-radius:8px; display:inline-block;
}
.dropdown-mega .dropdown-item:hover,.dropdown-mega .dropdown-item:focus{
  background:transparent; color:var(--gold); text-decoration:underline;
}
.mega-promo{
  display:flex; flex-direction:column; height:100%; border-radius:16px; overflow:hidden;
  background:var(--sage); transition:transform .3s ease, box-shadow .3s ease;
}
.mega-promo:hover{ transform:translateY(-3px); box-shadow:0 18px 34px rgba(18,22,28,0.14); }
.mega-promo img{ width:100%; height:170px; object-fit:cover; }
.mega-promo-body{ padding:1.25rem 1.4rem 1.5rem; flex:1; display:flex; flex-direction:column; justify-content:space-between; }
.mega-promo-body p{ font-family:'Fraunces',serif; font-size:1.08rem; color:var(--forest); margin:0 0 1.1rem; line-height:1.35; }
.mega-promo-arrow{
  display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px;
  border-radius:50%; background:var(--forest); color:var(--ivory); font-size:1.15rem; align-self:flex-start;
}
.mega-promo:hover .mega-promo-arrow{ background:var(--gold); color:var(--forest-deep); }

/* ---------- hero carousel (image + video slider) ---------- */
.hero-carousel-wrap{
  position:relative; min-height:92vh; overflow:hidden; color:var(--ivory);
  background:var(--forest-deep);
}
.hero-carousel-wrap .carousel,
.hero-carousel-wrap .carousel-inner,
.hero-carousel-wrap .carousel-item{
  position:absolute; inset:0; width:100%; height:100%;
}
.hero-slide-img,.hero-slide-video{
  width:100%; height:100%; object-fit:cover; background-size:cover; background-position:center;
}
.hero-carousel-wrap > .hero-scrim{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(18,22,28,0.35) 0%, rgba(18,22,28,0.45) 45%, rgba(18,22,28,0.86) 100%);
}
.hero-content-overlay{
  position:relative; z-index:2; min-height:92vh; display:flex; align-items:center;
}
.hero-indicators{ z-index:3; bottom:2.5rem; }
.hero-indicators [data-bs-target]{
  width:34px; height:3px; background-color:rgba(247,245,240,0.4); border:none; border-radius:2px;
}
.hero-indicators .active{ background-color:var(--gold); }
.hero-text-block{ transition:opacity .35s ease; }

/* ---------- homepage hero, card-over-photo style ---------- */
/* Anchored from the top (not vertically centered) with a fixed clearance, so the
   card never renders under the floating header regardless of viewport height. */
.hero-card-style .hero-content-overlay{
  align-items:flex-start; padding-top:clamp(150px,20vh,230px); padding-bottom:2rem;
}
@media (max-width:1399.98px){
  /* utility row is hidden below 1400px, so the header itself is shorter */
  .hero-card-style .hero-content-overlay{ padding-top:clamp(110px,16vh,180px); }
}
.hero-float-card{
  background:rgba(247,245,240,0.96); backdrop-filter:blur(6px);
  border-radius:22px; padding:2.75rem 3rem; box-shadow:0 30px 80px rgba(18,22,28,0.3);
  max-width:600px;
}
.hero-float-heading{
  font-family:'Fraunces',serif; font-size:clamp(2.4rem,4.2vw,3.4rem); line-height:1.05; color:var(--forest-deep);
}
.hero-float-desc{ color:var(--ink); opacity:0.82; font-size:1.02rem; max-width:520px; }
.hero-float-stats{ padding-top:1.5rem; border-top:1px solid rgba(27,31,28,0.1); }
.hero-float-stats .border-end{ border-color:rgba(27,31,28,0.12)!important; }
.hero-float-stats .stat-lab{ color:var(--forest); opacity:0.65; }
.btn-hero-secondary{
  background:var(--sage); color:var(--forest); font-weight:500; text-decoration:none;
  transition:background .2s ease, color .2s ease;
}
.btn-hero-secondary:hover{ background:var(--gold-soft); color:var(--forest-deep); }
@media (max-width:991.98px){
  .hero-float-card{ padding:2rem 1.75rem; }
}

/* ---------- page hero carousel (image + video slider, inner pages) ---------- */
.page-hero-carousel{
  position:relative; min-height:46vh; overflow:hidden; color:var(--ivory);
  background:var(--forest-deep);
}
.page-hero-carousel .carousel,
.page-hero-carousel .carousel-inner,
.page-hero-carousel .carousel-item{
  position:absolute; inset:0; width:100%; height:100%;
}
.page-hero-carousel .hero-scrim{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(90deg, rgba(18,22,28,0.82) 0%, rgba(18,22,28,0.5) 60%, rgba(18,22,28,0.28) 100%);
}
.page-hero-carousel .hero-content-overlay{
  position:relative; z-index:2; min-height:46vh; display:flex; align-items:flex-end;
  padding-top:clamp(145px,20vh,190px); padding-bottom:clamp(2.5rem,6vh,4rem);
}
/* utility row is hidden below 1400px, so the floating header itself is shorter */
@media (max-width:1399.98px){
  .page-hero-carousel .hero-content-overlay{ padding-top:clamp(100px,16vh,150px); }
}
.page-hero-carousel .hero-content-overlay h1{ color:var(--ivory); font-style:italic; text-shadow:0 2px 20px rgba(10,12,15,0.4); }
.page-hero-carousel .hero-indicators{ bottom:1.4rem; }

/* ---------- hero (legacy page-band variant, still used on inner pages) ---------- */
.hero-bg{
  position:relative; min-height:92vh; display:flex; align-items:center;
  background-size:cover; background-position:center; color:var(--ivory);
}
.hero-bg .hero-scrim{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(18,22,28,0.35) 0%, rgba(18,22,28,0.45) 45%, rgba(18,22,28,0.86) 100%);
}
.hero-bg .container{ position:relative; z-index:2; }
.hero-bg h1{ color:var(--ivory); font-weight:500; text-shadow:0 2px 24px rgba(10,12,15,0.4); }
.page-hero{
  position:relative; min-height:46vh; display:flex; align-items:center;
  background-size:cover; background-position:center; color:var(--ivory);
}
.page-hero .hero-scrim{ position:absolute; inset:0; background:linear-gradient(90deg, rgba(18,22,28,0.82) 0%, rgba(18,22,28,0.5) 60%, rgba(18,22,28,0.28) 100%); }
.page-hero .container{ position:relative; z-index:2; }
.page-hero h1{ color:var(--ivory); font-style:italic; text-shadow:0 2px 20px rgba(10,12,15,0.4); }

/* ---------- image bands ---------- */
.band-bg{ position:relative; min-height:70vh; display:flex; align-items:center; background-size:cover; background-position:center; color:var(--ivory); }
.band-bg.dark .band-scrim{ position:absolute; inset:0; background:linear-gradient(90deg, rgba(12,14,17,0.86) 0%, rgba(12,14,17,0.55) 55%, rgba(12,14,17,0.28) 100%); }
.band-bg.dark.band-bg-center .band-scrim{ background:rgba(12,14,17,0.72); }
.band-bg .container{ position:relative; z-index:2; }
.band-bg h2{ color:var(--ivory); }
.band-bg .l2{ font-style:italic; display:block; }

/* ---------- icon badge ---------- */
.icon-circle{
  width:72px; height:72px; border-radius:50%; border:1px solid var(--gold);
  display:flex; align-items:center; justify-content:center; margin:0 auto 1.25rem;
}
.icon-circle svg{ width:30px; height:30px; stroke:var(--gold); fill:none; stroke-width:1.4; }
.bg-forest-deep .icon-circle,.bg-forest .icon-circle{ border-color:var(--gold-soft); }

/* ---------- cards ---------- */
.card-rayhaan{ border:1px solid rgba(27,31,28,0.1); border-radius:16px; overflow:hidden; transition:transform .3s ease, box-shadow .3s ease; }
.card-rayhaan:hover{ transform:translateY(-6px); box-shadow:0 24px 50px rgba(18,22,28,0.14); }
.card-rayhaan .card-img-top{ height:230px; object-fit:cover; }
.card-rayhaan.dark{ background:var(--forest); border-color:rgba(247,245,240,0.12); color:var(--ivory); }
.card-rayhaan.dark h3, .card-rayhaan.dark h5{ color:var(--ivory); }
.card-rayhaan.dark p{ color:rgba(247,245,240,0.75); }
.img-cover-sm{ height:180px; object-fit:cover; }
.img-cover-lg{ height:340px; object-fit:cover; }
.rounded-4x{ border-radius:1.25rem; }

/* ---------- stats ---------- */
.stat-num{ font-family:'Fraunces',serif; font-size:2.6rem; color:var(--gold); }
.stat-lab{ font-size:0.75rem; letter-spacing:0.1em; text-transform:uppercase; color:rgba(247,245,240,0.75); }

/* ---------- footer ---------- */
.footer-rayhaan{ background:var(--forest-deep); color:rgba(247,245,240,0.72); padding-top:5rem; }
.footer-rayhaan h6{ color:var(--gold-soft); font-size:0.72rem; letter-spacing:0.14em; text-transform:uppercase; margin-bottom:1.1rem; }
.footer-rayhaan a{ color:rgba(247,245,240,0.72); text-decoration:none; }
.footer-rayhaan a:hover{ color:var(--gold-soft); }
.footer-rayhaan .footer-logo img{ height:70px; }

/* ---------- carousel (testimonials, legacy) ---------- */
.testi-carousel .carousel-item{ padding:2rem 4rem; }
.testi-carousel blockquote{ font-family:'Fraunces',serif; font-style:italic; font-size:clamp(1.3rem,2.6vw,1.9rem); color:var(--ivory); line-height:1.5; }
.testi-carousel .stars{ color:var(--gold); letter-spacing:3px; margin-bottom:1rem; }
.testi-carousel figcaption{ font-size:0.78rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--gold-soft); margin-top:1.2rem; }
.testi-carousel .carousel-indicators [data-bs-target]{ background-color:var(--gold); }

/* ---------- testimonial wall (bubble background + card grid) ---------- */
.testi-wall{ position:relative; overflow:hidden; }
.testi-bubbles{ position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:0; }
.testi-bubbles span{
  position:absolute; border-radius:50%;
  background:radial-gradient(circle at 32% 28%, rgba(247,245,240,0.35), rgba(247,245,240,0.04) 55%, rgba(0,0,0,0.3) 100%);
  box-shadow:0 10px 22px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(247,245,240,0.08);
  animation:bubbleFloat 9s ease-in-out infinite;
}
.testi-bubbles span:nth-child(odd){ animation-duration:12s; animation-direction:reverse; }
.testi-bubbles span:nth-child(3n){ animation-duration:8.5s; }
.testi-bubbles span:nth-child(4n){ animation-duration:14s; }
.testi-bubbles span:nth-child(2){ animation-delay:-2s; }
.testi-bubbles span:nth-child(3){ animation-delay:-4.5s; }
.testi-bubbles span:nth-child(5){ animation-delay:-1s; }
.testi-bubbles span:nth-child(6){ animation-delay:-6s; }
.testi-bubbles span:nth-child(8){ animation-delay:-3s; }
.testi-bubbles span:nth-child(9){ animation-delay:-5s; }
.testi-bubbles span:nth-child(11){ animation-delay:-2.5s; }
@keyframes bubbleFloat{
  0%{ transform:translate(0,0); }
  25%{ transform:translate(10px,-22px); }
  50%{ transform:translate(-8px,-38px); }
  75%{ transform:translate(-14px,-16px); }
  100%{ transform:translate(0,0); }
}
.testi-wall .container{ position:relative; z-index:1; }
.testi-float{ will-change:transform; }
.testi-card{
  background:var(--ivory); border-radius:16px; padding:1.6rem 1.75rem;
  box-shadow:0 22px 46px rgba(6,8,10,0.35);
  animation:cardFloat 6.5s ease-in-out infinite;
}
@keyframes cardFloat{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-12px); }
}
.testi-card h6{ font-family:'Fraunces',serif; color:var(--forest); font-size:1.02rem; }
.testi-loc{ font-size:0.68rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--forest-soft); }
.testi-card .stars{ color:var(--gold); letter-spacing:2px; font-size:0.9rem; }
.testi-card p{ color:var(--ink); font-size:0.92rem; line-height:1.55; }
.testi-avatar{ width:44px; height:44px; border-radius:50%; object-fit:cover; flex-shrink:0; }

/* ---------- our services (tab browser) ---------- */
.services-browser{ display:flex; align-items:stretch; gap:0; height:460px; border-radius:20px; overflow:hidden; box-shadow:0 24px 55px rgba(18,22,28,0.14); }
.services-feature{ position:relative; flex:1 1 auto; min-width:0; }
.services-feature img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.services-feature-scrim{ position:absolute; inset:0; background:linear-gradient(0deg, rgba(12,14,17,0.86) 0%, rgba(12,14,17,0.35) 55%, rgba(12,14,17,0.05) 100%); }
.services-feature-body{ position:relative; z-index:1; height:100%; display:flex; flex-direction:column; justify-content:flex-end; padding:2.25rem; color:var(--ivory); max-width:520px; }
.services-feature-body h3{ color:var(--ivory); font-size:1.7rem; margin:0.4rem 0 0.6rem; }
.services-feature-body p{ color:rgba(247,245,240,0.85); margin-bottom:1.1rem; }
.services-tabs{ display:flex; overflow-x:auto; background:var(--ivory); flex:0 0 auto; scrollbar-width:thin; }
.services-tab{
  flex:0 0 62px; border:none; border-right:1px solid rgba(27,31,28,0.08);
  background:var(--ivory); cursor:pointer; padding:1.5rem 0; position:relative;
  transition:background .25s ease, flex-basis .25s ease;
}
.services-tab span{
  writing-mode:vertical-rl; transform:rotate(180deg); white-space:nowrap;
  font-family:'JetBrains Mono',monospace; font-size:0.72rem; letter-spacing:0.08em;
  text-transform:uppercase; color:var(--forest);
}
.services-tab:hover{ background:var(--sage); }
.services-tab.active{ background:var(--gold); flex-basis:74px; }
.services-tab.active span{ color:var(--forest-deep); }
@media (max-width:768px){
  .services-browser{ flex-direction:column; height:auto; }
  .services-feature{ height:320px; }
  .services-tabs{ overflow-x:auto; }
  .services-tab{ flex:0 0 52px; padding:1rem 0; }
}

/* ---------- our services v2 (icon pills + clean feature card) ---------- */
.services-browser-v2{ display:flex; align-items:stretch; gap:1.5rem; }
.services-feature-v2{
  flex:1 1 55%; min-width:0; background:var(--ivory); border-radius:20px; overflow:hidden;
  box-shadow:0 24px 55px rgba(18,22,28,0.12);
}
.services-feature-v2-img-wrap{ width:100%; aspect-ratio:16/9; overflow:hidden; }
.services-feature-v2-img-wrap img{ width:100%; height:100%; object-fit:cover; display:block; }
.services-feature-v2-info{ padding:1.75rem 2rem 2.1rem; }
.services-feature-v2-info h3{ margin:0 0 0.6rem; font-size:1.5rem; }
.services-feature-v2-info p{ color:var(--ink); opacity:0.75; margin-bottom:1.25rem; }
.services-details-link{
  display:inline-flex; align-items:center; gap:0.65rem; font-family:'JetBrains Mono',monospace;
  font-size:0.72rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--forest); text-decoration:none;
}
.services-details-link .details-arrow{
  display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px;
  border-radius:50%; border:1px solid var(--forest); transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.services-details-link:hover .details-arrow{ background:var(--gold); border-color:var(--gold); color:var(--forest-deep); }
.services-pills{ flex:0 0 auto; display:flex; align-items:stretch; gap:0.9rem; overflow-x:auto; scrollbar-width:thin; padding-bottom:0.2rem; }
.services-pill{
  flex:0 0 76px; height:auto; border:1px solid rgba(27,31,28,0.1); border-radius:50rem;
  background:var(--ivory); cursor:pointer; padding:1.75rem 0; display:flex; flex-direction:column;
  align-items:center; justify-content:flex-start; gap:1.25rem; transition:background .25s ease, border-color .25s ease;
}
.services-pill-icon{ width:24px; height:24px; flex-shrink:0; }
.services-pill-icon svg{ width:100%; height:100%; stroke:var(--forest); fill:none; stroke-width:1.5; transition:stroke .25s ease; }
.services-pill-label{
  writing-mode:vertical-rl; transform:rotate(180deg); white-space:nowrap;
  font-family:'JetBrains Mono',monospace; font-size:0.68rem; letter-spacing:0.07em;
  text-transform:uppercase; color:var(--forest);
}
.services-pill:hover{ background:var(--sage); }
.services-pill.active{ background:var(--gold); border-color:var(--gold); }
.services-pill.active .services-pill-icon svg{ stroke:var(--forest-deep); }
.services-pill.active .services-pill-label{ color:var(--forest-deep); }
@media (max-width:992px){
  .services-browser-v2{ flex-direction:column; }
  .services-pills{ flex-direction:row; }
  .services-pill{ flex:0 0 auto; width:100%; flex-direction:row; padding:0.9rem 1.2rem; justify-content:flex-start; }
  .services-pill-label{ writing-mode:horizontal-tb; transform:none; }
}

/* ---------- visible changes (before/after slider) ---------- */
.ba-wrap{ display:flex; align-items:center; gap:1rem; max-width:760px; }
.ba-compare{
  position:relative; flex:1 1 auto; aspect-ratio:16/10; border-radius:20px; overflow:hidden;
  box-shadow:0 24px 55px rgba(18,22,28,0.16); cursor:col-resize; user-select:none;
}
.ba-img-after{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.ba-before-wrap{ position:absolute; inset:0; overflow:hidden; }
.ba-img-before{ position:absolute; top:0; left:0; height:100%; object-fit:cover; max-width:none; }
.ba-handle{
  position:absolute; top:0; bottom:0; width:0; transform:translateX(-50%);
  display:flex; align-items:center; justify-content:center; cursor:col-resize;
}
.ba-handle::before{ content:''; position:absolute; top:0; bottom:0; left:50%; width:3px; background:var(--ivory); transform:translateX(-50%); box-shadow:0 0 10px rgba(0,0,0,0.35); }
.ba-handle-grip{
  position:relative; z-index:1; width:42px; height:42px; border-radius:50%; background:var(--ivory);
  display:flex; align-items:center; justify-content:center; font-size:1.1rem; color:var(--forest);
  box-shadow:0 8px 18px rgba(0,0,0,0.3);
}
.ba-label{
  position:absolute; top:1rem; font-family:'JetBrains Mono',monospace; font-size:0.66rem;
  letter-spacing:0.1em; text-transform:uppercase; color:var(--ivory);
  background:rgba(12,14,17,0.55); padding:0.3rem 0.7rem; border-radius:50rem;
}
.ba-label-before{ left:1rem; }
.ba-label-after{ right:1rem; }
.ba-nav{
  flex:0 0 42px; width:42px; height:42px; border-radius:50%; border:1px solid var(--forest);
  background:transparent; color:var(--forest); font-size:1.1rem; display:flex; align-items:center;
  justify-content:center; transition:background .2s ease, color .2s ease;
}
.ba-nav:hover{ background:var(--forest); color:var(--ivory); }
@media (max-width:576px){ .ba-nav{ display:none; } }

/* ---------- meet the team (sliding marquee) ---------- */
.team-slider-mask{ overflow:hidden; }
.team-slider-track{ display:flex; gap:1.5rem; width:max-content; animation:teamSlide 34s linear infinite; }
.team-slider-mask:hover .team-slider-track{ animation-play-state:paused; }
@keyframes teamSlide{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
.team-card{ flex:0 0 210px; text-align:center; }
.team-card img{ width:100%; height:260px; object-fit:cover; border-radius:16px; margin-bottom:1rem; }
.team-card h4{ color:var(--ivory); font-size:1rem; margin-bottom:0.2rem; }
.team-card p{ color:var(--gold-soft); font-size:0.78rem; letter-spacing:0.04em; margin:0; }

/* ---------- flawless results (pricing scroll) ---------- */
.pricing-scroll{ display:flex; gap:1.5rem; overflow-x:auto; scroll-snap-type:x mandatory; padding:0 1.5rem 1rem; scrollbar-width:thin; }
.pricing-card{
  flex:0 0 320px; scroll-snap-align:start; background:var(--ivory); border-radius:18px;
  padding:2rem; box-shadow:0 20px 46px rgba(18,22,28,0.12);
}
.pricing-price{ font-family:'Fraunces',serif; font-size:1.8rem; color:var(--gold); margin:0.2rem 0 0.4rem; }
.pricing-card ul li{ font-size:0.9rem; color:var(--ink); }
.pricing-card-head{ display:flex; align-items:center; gap:1rem; margin-bottom:1.4rem; }
.pricing-card-thumb{ width:64px; height:78px; object-fit:cover; border-radius:10px; flex-shrink:0; }
.pricing-line-list{ list-style:none; padding:0; margin:0 0 1.4rem; }
.pricing-line-list li{
  display:flex; justify-content:space-between; align-items:center; gap:0.75rem;
  padding:0.65rem 0; border-bottom:1px solid rgba(27,31,28,0.08); font-size:0.9rem; color:var(--ink);
}
.pricing-line-list li:last-child{ border-bottom:none; }
.pricing-line-list .price{ font-family:'Fraunces',serif; color:var(--gold); font-weight:600; white-space:nowrap; }
.pricing-nav{
  width:42px; height:42px; border-radius:50%; border:1px solid var(--forest); background:transparent;
  color:var(--forest); display:flex; align-items:center; justify-content:center; transition:background .2s ease, color .2s ease;
}
.pricing-nav:hover{ background:var(--forest); color:var(--ivory); }

/* ---------- package overview table ---------- */
.package-table{
  width:100%; border-collapse:separate; border-spacing:0; background:var(--ivory);
  border-radius:18px; overflow:hidden; box-shadow:0 20px 46px rgba(18,22,28,0.10);
}
.package-table thead th{
  background:var(--forest-deep); color:var(--ivory); font-family:'JetBrains Mono',monospace;
  font-size:0.72rem; letter-spacing:0.08em; text-transform:uppercase; font-weight:500;
  padding:1rem 1.4rem; text-align:left; border:none;
}
.package-table tbody td{
  padding:1.1rem 1.4rem; font-size:0.92rem; color:var(--ink); vertical-align:top;
  border-top:1px solid rgba(18,22,28,0.08);
}
.package-table tbody tr:nth-child(even){ background:rgba(58,92,74,0.05); }
.package-table tbody tr:hover{ background:rgba(201,163,92,0.08); }
.package-table td:first-child{ font-family:'Fraunces',serif; font-weight:600; color:var(--forest); white-space:nowrap; }
.package-table td:last-child{ font-family:'Fraunces',serif; color:var(--gold); font-weight:600; white-space:nowrap; }
@media (max-width:768px){
  .package-table{ font-size:0.85rem; }
  .package-table thead th, .package-table tbody td{ padding:0.75rem 0.9rem; }
}

/* ---------- plastic surgery page ---------- */
.ps-hero-image-wrap{ position:relative; }
.ps-hero-badge{
  position:absolute; right:1rem; bottom:-1.4rem; background:var(--ivory); border-radius:14px;
  padding:1rem 1.4rem; box-shadow:0 20px 46px rgba(18,22,28,0.18); max-width:220px;
}
@media (max-width:768px){ .ps-hero-badge{ position:static; margin-top:1rem; max-width:none; } }

.ps-area-item{
  display:flex; align-items:flex-start; justify-content:space-between; gap:1rem;
  padding:1.3rem 0; border-bottom:1px solid rgba(27,31,28,0.1); text-decoration:none; color:inherit;
}
.ps-area-item:last-child{ border-bottom:none; }
.ps-area-num{ font-family:'JetBrains Mono',monospace; font-size:0.72rem; color:var(--gold); flex:0 0 28px; padding-top:0.3rem; }
.ps-area-body h4{ margin:0 0 0.3rem; font-size:1.1rem; color:var(--forest); }
.ps-area-body p{ margin:0; font-size:0.86rem; color:var(--forest-soft); }
.ps-area-arrow{
  flex:0 0 auto; width:34px; height:34px; border-radius:50%; border:1px solid var(--forest);
  display:flex; align-items:center; justify-content:center; transition:background .2s ease, color .2s ease; color:var(--forest);
}
.ps-area-item:hover .ps-area-arrow{ background:var(--forest); color:var(--ivory); }

.ps-filter-pills{ display:flex; flex-wrap:wrap; gap:0.75rem; }
.ps-filter-pill{
  border:1px solid rgba(247,245,240,0.3); background:transparent; color:rgba(247,245,240,0.85);
  border-radius:50rem; padding:0.5rem 1.1rem; font-family:'JetBrains Mono',monospace; font-size:0.72rem;
  letter-spacing:0.05em; display:inline-flex; align-items:center; gap:0.5rem; transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.ps-filter-pill .count{ background:rgba(247,245,240,0.15); border-radius:50rem; padding:0.1rem 0.5rem; font-size:0.68rem; }
.ps-filter-pill.active{ background:var(--ivory); color:var(--forest-deep); border-color:var(--ivory); }
.ps-filter-pill.active .count{ background:rgba(18,22,28,0.1); }
.ps-filter-pill:hover:not(.active){ border-color:var(--gold-soft); color:var(--ivory); }

.ps-search-wrap{ position:relative; max-width:280px; }
.ps-search-wrap input{
  width:100%; background:transparent; border:none; border-bottom:1px solid rgba(247,245,240,0.3);
  color:var(--ivory); padding:0.5rem 0 0.5rem 1.6rem; font-size:0.88rem;
}
.ps-search-wrap input:focus{ outline:none; border-bottom-color:var(--gold); }
.ps-search-wrap input::placeholder{ color:rgba(247,245,240,0.5); }
.ps-search-wrap svg{ position:absolute; left:0; top:50%; transform:translateY(-50%); width:16px; height:16px; stroke:rgba(247,245,240,0.6); fill:none; stroke-width:1.6; }

.ps-proc-top{ display:flex; justify-content:space-between; align-items:center; font-family:'JetBrains Mono',monospace; font-size:0.68rem; letter-spacing:0.06em; text-transform:uppercase; }
.ps-proc-link{
  margin-top:1rem; font-family:'JetBrains Mono',monospace; font-size:0.7rem; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--gold-soft); text-decoration:none; display:inline-flex; align-items:center; gap:0.5rem;
}
.ps-proc-link:hover{ color:var(--ivory); }

.ps-surgeon-photo-wrap{ position:relative; border-radius:20px; overflow:hidden; }
.ps-surgeon-photo-wrap img{ width:100%; height:100%; object-fit:cover; display:block; }
.ps-surgeon-quote{
  position:absolute; left:1.2rem; bottom:1.2rem; background:var(--ivory); color:var(--forest);
  padding:1rem 1.3rem; border-radius:10px; font-family:'Fraunces',serif; font-style:italic; font-size:1rem;
  max-width:220px; box-shadow:0 14px 30px rgba(0,0,0,0.25);
}

.ps-focus-tag{
  display:inline-block; background:rgba(247,245,240,0.08); border:1px solid rgba(247,245,240,0.25);
  color:var(--ivory); border-radius:50rem; padding:0.4rem 0.9rem; font-size:0.78rem; margin:0 0.5rem 0.5rem 0;
}

/* ---------- IV therapy page ---------- */
.iv-marquee{
  overflow:hidden; position:relative;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.iv-marquee-track{ display:flex; gap:0.9rem; width:max-content; animation:iv-marquee-scroll 36s linear infinite; }
.iv-marquee-track.reverse{ animation-direction:reverse; animation-duration:44s; }
.iv-marquee:hover .iv-marquee-track{ animation-play-state:paused; }
.iv-marquee-pill{
  font-family:'JetBrains Mono',monospace; font-size:0.72rem; letter-spacing:0.05em; white-space:nowrap;
  border:1px solid rgba(27,31,28,0.14); border-radius:50rem; padding:0.55rem 1.15rem; color:var(--forest);
  background:var(--ivory);
}
@keyframes iv-marquee-scroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

.drip-scroll{ display:flex; gap:1.5rem; overflow-x:auto; scroll-snap-type:x mandatory; padding:0 1.5rem 1.2rem; scrollbar-width:thin; }
.drip-scroll.auto-playing{ scroll-snap-type:none; }
.drip-card{
  flex:0 0 340px; scroll-snap-align:start; background:var(--ivory); border-radius:18px;
  padding:1.85rem; box-shadow:0 20px 46px rgba(18,22,28,0.1); display:flex; flex-direction:column;
  border:1px solid transparent; transition:box-shadow .25s ease, transform .25s ease, background .25s ease, border-color .25s ease;
}
.drip-card:hover{
  box-shadow:0 26px 56px rgba(18,22,28,0.16); transform:translateY(-5px);
  background:var(--sage); border-color:var(--gold);
}
.drip-card-cat{
  font-family:'Inter',sans-serif; font-weight:600; font-size:0.7rem; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--gold); margin:0 0 0.9rem;
}
.drip-ingredients{ display:flex; flex-wrap:wrap; gap:0.4rem; margin-bottom:1rem; }
.drip-tag{ font-size:0.7rem; letter-spacing:0.02em; background:var(--sage); color:var(--forest); border-radius:50rem; padding:0.28rem 0.75rem; transition:background .25s ease; }
.drip-card:hover .drip-tag{ background:var(--ivory); }
.drip-detail-list dt{
  font-family:'Inter',sans-serif; font-weight:600; font-size:0.72rem; letter-spacing:0.03em; text-transform:uppercase;
  color:var(--forest-soft); margin-top:0.8rem;
}
.drip-detail-list dd{ font-size:0.84rem; color:var(--ink); margin:0.25rem 0 0; }
.drip-card .btn{ margin-top:auto; align-self:flex-start; }

.iv-ingredient-card{
  border:1px solid rgba(27,31,28,0.1); border-radius:14px; padding:1.1rem 1.3rem; height:100%;
  background:var(--ivory); transition:box-shadow .2s ease, transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.iv-ingredient-card:hover{
  box-shadow:0 16px 32px rgba(18,22,28,0.14); transform:translateY(-3px);
  background:var(--forest); border-color:var(--forest);
}
.iv-ingredient-card h4{ font-size:0.98rem; margin-bottom:0.35rem; transition:color .2s ease; }
.iv-ingredient-card:hover h4{ color:var(--gold); }
.iv-ingredient-card p{ font-size:0.82rem; color:var(--ink); opacity:0.75; margin:0; transition:color .2s ease, opacity .2s ease; }
.iv-ingredient-card:hover p{ color:var(--ivory); opacity:0.85; }

.iv-badge-note{
  display:inline-flex; align-items:center; gap:0.6rem; font-size:0.82rem; color:var(--ivory);
  background:rgba(247,245,240,0.08); border:1px solid rgba(247,245,240,0.25); border-radius:50rem; padding:0.55rem 1.1rem;
}

/* ---------- misc ---------- */
.divider-gold{ width:60px; height:1px; background:var(--gold); }
.ring-mark{ opacity:0.35; }
