/* =========================================================================
   Remedy — Telehealth & Online Pharmacy template
   Design layer (Bootstrap 5 handles nothing structural here — this is bespoke)
   Palette : spruce / remedy-green / mint / coral on a green-white paper
   Type    : Sora (display) + Figtree (body/UI)
   ========================================================================= */

:root {
  --spruce:  #0C3B33;   /* deep pine ink — headings, footer, dark bands   */
  --green:   #12A47E;   /* remedy green — brand, buttons, links           */
  --green-7: #0E8267;   /* darker green — hover                           */
  --mint:    #7FD6B0;   /* mint — status, decoration                      */
  --mint-1:  #DDF2E8;   /* pale mint — chips, tints                       */
  --coral:   #FF6B5A;   /* coral — prices, add, accents                   */
  --coral-6: #F04E3B;   /* coral hover                                    */
  --sage:    #E9F3EE;   /* sage tint — section backgrounds                */
  --paper:   #F6FBF8;   /* page background (green-white)                  */
  --ink:     #13322B;   /* body text                                     */
  --muted:   #586B63;   /* secondary text                                */
  --line:    #D9E7E0;   /* hairlines / borders                           */
  --white:   #ffffff;

  --display: "Sora", system-ui, sans-serif;
  --body:    "Figtree", system-ui, sans-serif;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(12,59,51,.06);
  --shadow-md: 0 14px 34px rgba(12,59,51,.10);
  --shadow-lg: 0 30px 70px rgba(12,59,51,.16);

  --wrap: 1180px;
  --pad: clamp(1.1rem, 4vw, 2rem);
}

/* --------------------------------------------------------------- base --- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--display); color: var(--spruce); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--green-7); text-decoration: none; }
a:hover { color: var(--coral-6); }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 200;
  background: var(--spruce); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 12px 12px;
  font-weight: 600; transition: top .18s ease;
}
.skip-link:focus { top: 0; color: #fff; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

/* -------------------------------------------------------- reveal anim --- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ------------------------------------------------------------ buttons --- */
.btn-solid, .btn-ghost, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--body); font-weight: 600; font-size: .98rem;
  padding: .74rem 1.4rem; border-radius: var(--r-pill); border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
  white-space: nowrap; line-height: 1;
}
.btn-solid { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(18,164,126,.28); }
.btn-solid:hover { background: var(--green-7); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--spruce); border-color: var(--line); }
.btn-ghost:hover { background: #fff; color: var(--spruce); border-color: var(--mint); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--green-7); border-color: var(--line); }
.btn-outline:hover { border-color: var(--green); color: var(--green-7); background: var(--mint-1); }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.03rem; }
.btn-block { width: 100%; }
.btn-solid svg, .btn-ghost svg { width: 20px; height: 20px; }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--green-7); white-space: nowrap; }
.link-arrow svg { width: 20px; height: 20px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------- header --- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(246,251,248,.82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); background: rgba(246,251,248,.94); }
.nav-inner { display: flex; align-items: center; gap: 1rem; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--spruce); }
.brand:hover { color: var(--spruce); }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; }
.brand-mark svg { width: 34px; height: 34px; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; color: var(--spruce); }
.brand-name.on-dark { color: #fff; }

.nav-links { display: flex; gap: 1.55rem; margin-inline: auto; }
.nav-links a { color: var(--spruce); font-weight: 500; font-size: .97rem; position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--coral); border-radius: 2px; transition: width .2s ease;
}
.nav-links a:hover { color: var(--green-7); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: .6rem; }

/* cart ------------------------------------------------------------------ */
.cart { position: relative; }
.cart-btn {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; color: var(--spruce); cursor: pointer;
  transition: border-color .18s ease, transform .15s ease;
}
.cart-btn:hover { border-color: var(--mint); transform: translateY(-1px); }
.cart-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--coral); color: #fff; border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--paper);
  transition: transform .2s cubic-bezier(.3,1.4,.5,1);
}
.cart-count[data-empty="true"] { display: none; }
.cart-count.bump { transform: scale(1.35); }

.cart-panel {
  position: absolute; right: 0; top: calc(100% + 12px); width: min(330px, 86vw);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 1.1rem; z-index: 95;
}
.cart-panel-title { font-family: var(--display); font-weight: 700; color: var(--spruce); margin: 0 0 .7rem; }
.cart-list { display: flex; flex-direction: column; gap: .55rem; margin-bottom: .8rem; max-height: 260px; overflow-y: auto; }
.cart-row { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cart-row .cr-qty { color: var(--green-7); font-weight: 700; min-width: 26px; }
.cart-row .cr-name { flex: 1; color: var(--ink); }
.cart-row .cr-price { font-weight: 700; color: var(--spruce); }
.cart-row .cr-remove { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 0 2px; }
.cart-row .cr-remove:hover { color: var(--coral-6); }
.cart-empty { color: var(--muted); font-size: .9rem; margin: .2rem 0 .9rem; }
.cart-foot { display: flex; justify-content: space-between; align-items: center; padding-top: .7rem; border-top: 1px solid var(--line); margin-bottom: .8rem; }
.cart-foot strong { font-family: var(--display); font-size: 1.15rem; color: var(--spruce); }

.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; color: var(--spruce); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }

/* mobile drawer --------------------------------------------------------- */
.nav-backdrop { position: fixed; inset: 0; background: rgba(12,59,51,.42); z-index: 110; opacity: 0; transition: opacity .25s ease; }
.nav-backdrop.show { opacity: 1; }
.mobile-nav {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(320px, 84vw);
  background: #fff; z-index: 120; padding: 1.2rem 1.3rem; transform: translateX(105%);
  transition: transform .3s cubic-bezier(.2,.7,.2,1); display: flex; flex-direction: column; gap: .3rem;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { transform: none; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a { padding: .85rem .4rem; color: var(--spruce); font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav nav a:hover { color: var(--green-7); }
.mobile-nav .btn-solid { margin-top: 1.1rem; }

/* --------------------------------------------------------------- hero --- */
.hero { position: relative; overflow: hidden; padding-top: clamp(2rem, 5vw, 3.5rem); }
.hero-glow {
  position: absolute; top: -14%; right: -8%; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle at 50% 50%, rgba(127,214,176,.55), rgba(127,214,176,0) 66%);
  z-index: 0; pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center; padding-block: clamp(1.5rem, 4vw, 3rem);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--mint-1); color: var(--green-7); font-weight: 600; font-size: .84rem;
  padding: .4rem .85rem; border-radius: var(--r-pill); margin-bottom: 1.1rem;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255,107,90,.2); }
.hero h1 { font-size: clamp(2.4rem, 5.1vw, 3.85rem); font-weight: 800; margin-bottom: .8rem; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 33ch; margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 2rem; }

.hero-stats { display: flex; gap: clamp(1.2rem, 3vw, 2.4rem); margin: 0; flex-wrap: wrap; }
.hero-stats dt { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--spruce); line-height: 1; }
.hero-stats dt span { color: var(--coral); font-size: .8em; margin-left: 2px; }
.hero-stats dd { margin: .35rem 0 0; font-size: .84rem; color: var(--muted); max-width: 12ch; }

/* phone mockup ---------------------------------------------------------- */
.hero-visual { position: relative; display: flex; justify-content: center; }
.capsule-deco { position: absolute; border-radius: var(--r-pill); z-index: 0; }
.cap-a { width: 130px; height: 48px; background: linear-gradient(90deg, var(--mint) 50%, var(--mint-1) 50%); transform: rotate(-24deg); top: 4%; left: -2%; opacity: .8; }
.cap-b { width: 92px; height: 34px; background: linear-gradient(90deg, var(--coral) 50%, #FFD3CC 50%); transform: rotate(18deg); bottom: 6%; right: -1%; opacity: .85; }

.phone {
  position: relative; z-index: 2; width: min(310px, 82vw); aspect-ratio: 310 / 630;
  background: #0C3B33; border-radius: 44px; padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.05);
}
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 108px; height: 22px; background: #0C3B33; border-radius: var(--r-pill); z-index: 3; }
.phone-screen {
  width: 100%; height: 100%; background: linear-gradient(180deg, #EAF6F0, #F6FBF8 30%);
  border-radius: 34px; overflow: hidden; display: flex; flex-direction: column;
  padding: 1.7rem .85rem .95rem;
}
.app-bar { display: flex; align-items: center; justify-content: space-between; font-size: .72rem; font-weight: 600; color: var(--spruce); padding: 0 .35rem .55rem; }
.app-bar .app-brand { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; }
.app-bar .app-sig svg { width: 20px; height: 10px; }

.app-video { background: linear-gradient(160deg, #0F5745, #0C3B33); border-radius: 20px; padding: .55rem; margin-bottom: .7rem; color: #fff; }
.app-video-frame { position: relative; height: 148px; border-radius: 15px; overflow: hidden; background: #0C3B33; }
.app-video-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.live-badge { position: absolute; top: 8px; left: 8px; display: inline-flex; align-items: center; gap: .3rem; background: rgba(12,59,51,.72); color: #fff; font-size: .64rem; font-weight: 600; padding: .22rem .5rem; border-radius: var(--r-pill); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.app-video-name { display: flex; flex-direction: column; padding: .5rem .25rem .15rem; }
.app-video-name strong { font-size: .82rem; }
.app-video-name span { font-size: .68rem; color: rgba(255,255,255,.72); }
.app-call-actions { display: flex; gap: .4rem; justify-content: center; padding-top: .4rem; }
.call-btn { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.14); }
.call-btn svg { width: 15px; height: 15px; color: #fff; }
.call-btn.end { background: var(--coral); }

.app-rx { background: #fff; border-radius: 18px; padding: .75rem .8rem; box-shadow: var(--shadow-sm); }
.app-rx-head { display: flex; align-items: center; gap: .55rem; margin-bottom: .6rem; }
.rx-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--mint-1); color: var(--green-7); display: grid; place-items: center; flex: none; }
.rx-icon svg { width: 19px; height: 19px; }
.app-rx-head strong { display: block; font-size: .8rem; color: var(--spruce); }
.app-rx-head span { font-size: .66rem; color: var(--muted); }
.app-rx-track { display: flex; align-items: center; margin-bottom: .55rem; }
.rx-step { font-size: .6rem; font-weight: 700; color: var(--muted); background: var(--sage); padding: .18rem .4rem; border-radius: var(--r-pill); }
.rx-step.done { background: var(--green); color: #fff; }
.rx-line { flex: 1; height: 3px; background: var(--sage); margin: 0 3px; border-radius: 2px; }
.rx-line.done { background: var(--green); }
.app-rx-eta { display: flex; align-items: center; gap: .35rem; font-size: .68rem; color: var(--green-7); font-weight: 600; }
.app-rx-eta .pin svg { width: 14px; height: 14px; }

/* app bottom nav (fills the phone screen; sits at the foot) */
.app-nav { margin-top: auto; display: flex; justify-content: space-around; align-items: center; padding: .7rem .3rem .2rem; border-top: 1px solid rgba(12,59,51,.09); }
.an-item { display: grid; place-items: center; color: rgba(12,59,51,.4); }
.an-item svg { width: 21px; height: 21px; }
.an-item.active { color: var(--green); }
.home-screen .app-nav { border-top-color: rgba(255,255,255,.14); }
.home-screen .an-item { color: rgba(255,255,255,.45); }
.home-screen .an-item.active { color: var(--mint); }

.float-card { position: absolute; z-index: 4; background: #fff; border-radius: 14px; box-shadow: var(--shadow-md); padding: .6rem .8rem; display: flex; align-items: center; gap: .55rem; }
.float-card strong { display: block; font-family: var(--display); font-size: .9rem; color: var(--spruce); line-height: 1.1; }
.float-card small { font-size: .68rem; color: var(--muted); }
.float-rating { top: 12%; left: -6%; }
.float-rating .fc-star { color: #F6B23C; font-size: 1.2rem; }
.float-deliver { bottom: 10%; right: -7%; }
.float-deliver .fc-truck { width: 30px; height: 30px; border-radius: 9px; background: var(--coral); color: #fff; display: grid; place-items: center; }
.float-deliver .fc-truck svg { width: 17px; height: 17px; }

/* trust strip ----------------------------------------------------------- */
.trust-strip {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 1.3rem;
  margin-top: 1rem; padding-block: 1.2rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .88rem; font-weight: 500;
}
.trust-strip .tsep { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }

/* --------------------------------------------------------- section base --- */
.section { padding-block: clamp(3.2rem, 7vw, 5.5rem); }
.section-tint { background: var(--sage); }
.section-head { max-width: 620px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); font-weight: 700; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; text-align: left; max-width: none; }
.section-head-row > div { max-width: 560px; }
.section-head-row p { margin: 0; }

.kicker { display: inline-block; font-family: var(--body); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--green); margin-bottom: .7rem; }
.kicker.on-dark { color: var(--mint); }

/* ------------------------------------------------------- how it works --- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
.step-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2rem 1.6rem 1.6rem; box-shadow: var(--shadow-sm);
}
.step-card::before {
  content: ""; position: absolute; top: 2.55rem; right: -.7rem; width: 1.4rem; height: 2px;
  background: repeating-linear-gradient(90deg, var(--mint) 0 6px, transparent 6px 11px);
}
.steps li:last-child .step-card::before, .step-card:last-child::before { display: none; }
.step-num { font-family: var(--display); font-weight: 800; font-size: 1rem; color: var(--coral); }
.step-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--mint-1); color: var(--green-7); margin: .7rem 0 1rem; }
.step-ico svg { width: 28px; height: 28px; }
.step-card h3 { font-size: 1.28rem; margin-bottom: .5rem; }
.step-card p { color: var(--muted); font-size: .96rem; margin-bottom: 1rem; }
.step-meta { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--green-7); background: var(--sage); padding: .3rem .7rem; border-radius: var(--r-pill); }
.section-tint .step-meta { background: #fff; }

/* ----------------------------------------------------------- services --- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.7rem 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; margin-bottom: 1rem; }
.svc-ico svg { width: 27px; height: 27px; }
.ico-green { background: var(--mint-1); color: var(--green-7); }
.ico-coral { background: #FFE6E1; color: var(--coral-6); }
.svc-card h3 { font-size: 1.18rem; margin-bottom: .45rem; }
.svc-card p { color: var(--muted); font-size: .94rem; margin-bottom: 1rem; }
.svc-price { font-weight: 700; color: var(--spruce); font-size: .92rem; }

/* --------------------------------------------------------------- shop --- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.prod-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* CSS packshots (no photos — clean, on-brand product tiles) */
.packshot { position: relative; height: 190px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.ps-green  { background: radial-gradient(120% 90% at 50% 15%, #B7E6CE, #7FD6B0); }
.ps-amber  { background: radial-gradient(120% 90% at 50% 15%, #FCE7B3, #F4C561); }
.ps-coral  { background: radial-gradient(120% 90% at 50% 15%, #FFD0C7, #FF9E90); }
.ps-indigo { background: radial-gradient(120% 90% at 50% 15%, #C7CCF2, #8E97DE); }
.ps-teal   { background: radial-gradient(120% 90% at 50% 15%, #A7E6DE, #59C6BA); }
.ps-sun    { background: radial-gradient(120% 90% at 50% 15%, #FFE3AF, #FFC24D); }

.ps-tag { position: absolute; top: 12px; left: 12px; background: var(--spruce); color: #fff; font-size: .68rem; font-weight: 700; padding: .28rem .6rem; border-radius: var(--r-pill); z-index: 3; }

.ps-label { display: block; font-family: var(--display); font-weight: 600; font-size: .58rem; color: var(--muted); text-align: center; line-height: 1.15; letter-spacing: .01em; }
.ps-label b { display: block; font-size: 1.05rem; color: var(--spruce); font-weight: 800; letter-spacing: -.02em; }

/* bottle */
.ps-bottle { position: relative; width: 96px; height: 118px; margin-bottom: 20px; background: #fff; border-radius: 12px 12px 14px 14px; box-shadow: 0 10px 22px rgba(12,59,51,.18); display: flex; align-items: center; justify-content: center; }
.ps-bottle .ps-cap { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); width: 52px; height: 17px; border-radius: 7px 7px 3px 3px; background: var(--spruce); }
.ps-amber .ps-cap { background: #C88A16; }
.ps-green .ps-cap { background: var(--green-7); }
.ps-indigo .ps-cap { background: #5560B8; }
.ps-bottle .ps-label { padding: 0 6px; }
.ps-bottle::after { content: ""; position: absolute; left: 8px; right: 8px; top: 20px; height: 30px; border-radius: 8px; background: linear-gradient(90deg, transparent, rgba(18,164,126,.09), transparent); }

/* box */
.ps-box { position: relative; width: 132px; height: 96px; margin-bottom: 26px; background: #fff; border-radius: 10px; box-shadow: 0 10px 22px rgba(12,59,51,.16); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px; }
.ps-cross { position: relative; width: 22px; height: 22px; }
.ps-cross::before, .ps-cross::after { content: ""; position: absolute; background: var(--coral); border-radius: 3px; }
.ps-cross::before { left: 8px; top: 0; width: 6px; height: 22px; }
.ps-cross::after { top: 8px; left: 0; width: 22px; height: 6px; }

/* sachet */
.ps-sachet { position: relative; width: 104px; height: 124px; margin-bottom: 22px; background: #fff; border-radius: 6px 6px 10px 10px; box-shadow: 0 10px 22px rgba(12,59,51,.16); display: flex; align-items: center; justify-content: center; }
.ps-sachet::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 12px; background: repeating-linear-gradient(90deg, #59C6BA 0 7px, #A7E6DE 7px 14px); border-radius: 6px 6px 0 0; }
.ps-sachet .ps-label { padding-top: 12px; }

/* tube */
.ps-tube { position: relative; width: 62px; height: 128px; margin-bottom: 22px; background: #fff; border-radius: 6px 6px 26px 26px / 6px 6px 40px 40px; box-shadow: 0 10px 22px rgba(12,59,51,.18); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 16px; }
.ps-tube .ps-cap { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); width: 34px; height: 14px; border-radius: 5px 5px 2px 2px; background: #E08A00; }
.ps-tube .ps-label b { font-size: .82rem; }
.ps-tube .ps-label { font-size: .5rem; }
.ps-moon { position: absolute; top: 18px; right: 22px; width: 30px; height: 30px; border-radius: 50%; background: #EEF0FF; box-shadow: inset -8px 4px 0 0 #8E97DE; }
.ps-sun-ray { position: absolute; top: 16px; right: 20px; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle, #FFF3D6 45%, transparent 46%); box-shadow: 0 0 0 3px rgba(255,255,255,.35); }

.prod-body { padding: 1.15rem 1.2rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.prod-cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--green); margin-bottom: .35rem; }
.prod-body h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.prod-body p { color: var(--muted); font-size: .88rem; margin-bottom: 1rem; flex: 1; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; }
.prod-price { font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: var(--spruce); }
.add-btn {
  display: inline-flex; align-items: center; gap: .35rem; border: 0; cursor: pointer;
  background: var(--coral); color: #fff; font-weight: 700; font-size: .9rem;
  padding: .55rem 1rem; border-radius: var(--r-pill); transition: background .18s ease, transform .15s ease;
}
.add-btn svg { width: 17px; height: 17px; }
.add-btn:hover { background: var(--coral-6); transform: translateY(-1px); }
.add-btn.added { background: var(--green); }

/* ------------------------------------------------------------ doctors --- */
.doc-filters { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; margin-bottom: 2.2rem; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--spruce); font-weight: 600; font-size: .9rem;
  padding: .5rem 1.1rem; border-radius: var(--r-pill); cursor: pointer; transition: all .16s ease;
}
.chip:hover { border-color: var(--mint); }
.chip.is-active { background: var(--green); color: #fff; border-color: var(--green); }

.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.doc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.4rem;
  text-align: center; transition: transform .2s ease, box-shadow .2s ease;
}
.doc-card.hide { display: none; }
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.doc-top { display: flex; flex-direction: column; align-items: center; gap: .7rem; margin-bottom: .8rem; }
.doc-avatar { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; background: var(--sage); box-shadow: 0 0 0 4px var(--mint-1); }
.doc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.status { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 700; padding: .25rem .65rem; border-radius: var(--r-pill); }
.status .s-dot { width: 7px; height: 7px; border-radius: 50%; }
.status.online { background: var(--mint-1); color: var(--green-7); }
.status.online .s-dot { background: var(--green); box-shadow: 0 0 0 3px rgba(18,164,126,.2); }
.status.soon { background: #FFF1D9; color: #B77E12; }
.status.soon .s-dot { background: #E8A11C; }
.doc-card h3 { font-size: 1.14rem; margin-bottom: .2rem; }
.doc-spec { color: var(--green-7); font-weight: 600; font-size: .9rem; margin-bottom: .8rem; }
.doc-meta { display: flex; flex-direction: column; gap: .3rem; margin-bottom: 1.1rem; font-size: .84rem; color: var(--muted); }
.doc-meta .mstar { color: #F6B23C; }
.doc-empty { text-align: center; color: var(--muted); margin-top: 1.5rem; }

/* ------------------------------------------------------------ pricing --- */
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-bottom: 2.4rem; }
.bt-label { font-weight: 600; color: var(--spruce); font-size: .98rem; transition: color .18s ease; display: inline-flex; align-items: center; gap: .5rem; }
.bt-label.muted { color: var(--muted); }
.save-pill { background: #FFE6E1; color: var(--coral-6); font-size: .72rem; font-weight: 700; padding: .15rem .5rem; border-radius: var(--r-pill); }
.switch { width: 56px; height: 30px; border-radius: var(--r-pill); background: var(--green); border: 0; cursor: pointer; position: relative; padding: 0; transition: background .2s ease; }
.switch-knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .22s cubic-bezier(.3,1.2,.5,1); }
.switch[aria-checked="true"] .switch-knob { transform: translateX(26px); }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; align-items: stretch; }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2rem 1.7rem; display: flex; flex-direction: column;
}
.price-card.featured { border: 2px solid var(--green); box-shadow: var(--shadow-md); transform: translateY(-8px); }
.pc-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--coral); color: #fff; font-size: .74rem; font-weight: 700; padding: .32rem .9rem; border-radius: var(--r-pill); white-space: nowrap; }
.price-card h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.pc-sub { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.pc-price { display: flex; align-items: baseline; gap: .25rem; margin-bottom: .3rem; }
.pc-amt { font-family: var(--display); font-weight: 800; font-size: 2.8rem; color: var(--spruce); letter-spacing: -.03em; }
.pc-per { color: var(--muted); font-size: .95rem; }
.pc-note { font-size: .82rem; color: var(--green-7); font-weight: 600; margin-bottom: 1.3rem; }
.pc-list { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.5rem; flex: 1; }
.pc-list li { position: relative; padding-left: 1.7rem; font-size: .92rem; color: var(--ink); }
.pc-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--mint-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230E8267' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.price-card.featured .pc-list li::before { background-color: #D4F0E5; }

/* ------------------------------------------------------------ reviews --- */
.section-dark { background: var(--spruce); color: #fff; position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; top: -20%; left: -10%; width: 45vw; height: 45vw; max-width: 500px; max-height: 500px; background: radial-gradient(circle, rgba(18,164,126,.35), transparent 65%); }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: rgba(255,255,255,.75); }

.tst-wrap { position: relative; max-width: 760px; margin: 0 auto; z-index: 1; }
.tst-viewport { overflow: hidden; border-radius: var(--r-lg); }
.tst-track { display: flex; transition: transform .5s cubic-bezier(.3,.7,.2,1); }
@media (prefers-reduced-motion: reduce) { .tst-track { transition: none; } }
.tst-slide { min-width: 100%; padding: 0 .3rem; }
.tst-slide blockquote { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.6rem); margin: 0; }
.tst-stars { color: #F6B23C; letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 1rem; }
.tst-slide p { font-family: var(--display); font-weight: 500; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.5; color: #fff; margin-bottom: 1.4rem; letter-spacing: -.01em; }
.tst-slide footer { display: flex; align-items: center; gap: .8rem; }
.tst-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: rgba(255,255,255,.1); flex: none; }
.tst-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tst-who strong { display: block; color: #fff; font-size: .98rem; }
.tst-who small { color: var(--mint); font-size: .82rem; }

.tst-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.6rem; }
.tst-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .18s ease, border-color .18s ease; }
.tst-arrow:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.tst-arrow svg { width: 22px; height: 22px; }
.tst-dots { display: flex; gap: .5rem; }
.tst-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.3); cursor: pointer; padding: 0; transition: width .2s ease, background .2s ease; }
.tst-dot.active { width: 26px; border-radius: var(--r-pill); background: var(--mint); }

/* --------------------------------------------------------------- get --- */
.get-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.get-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.get-copy > p { color: var(--muted); font-size: 1.05rem; max-width: 42ch; margin-bottom: 1.6rem; }
.store-badges { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.6rem; }
.store-badge { display: inline-flex; align-items: center; gap: .6rem; background: var(--spruce); color: #fff; padding: .6rem 1.1rem; border-radius: 14px; transition: transform .15s ease, background .18s ease; }
.store-badge:hover { color: #fff; background: #0a2e28; transform: translateY(-2px); }
.store-badge svg { width: 24px; height: 24px; }
.store-badge span { display: flex; flex-direction: column; font-family: var(--display); font-weight: 700; font-size: 1rem; line-height: 1.05; }
.store-badge small { font-family: var(--body); font-weight: 500; font-size: .62rem; opacity: .8; text-transform: uppercase; letter-spacing: .04em; }

.get-form { display: flex; flex-wrap: wrap; gap: .6rem; max-width: 440px; }
.get-form input {
  flex: 1; min-width: 200px; padding: .85rem 1.1rem; border-radius: var(--r-pill); border: 1.5px solid var(--line);
  font-family: var(--body); font-size: .98rem; color: var(--ink); background: #fff; transition: border-color .18s ease;
}
.get-form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(18,164,126,.15); }
.get-form input.field-invalid { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255,107,90,.15); }
.form-msg { flex-basis: 100%; margin: .2rem 0 0; font-size: .88rem; font-weight: 600; min-height: 1.1em; color: var(--green-7); }

.get-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.phone-sm { width: min(280px, 76vw); }
.home-screen { background: linear-gradient(180deg, #0F5745, #0C3B33); padding: 1.7rem 1rem 1.1rem; }
.home-screen .app-bar, .home-screen .app-brand { color: #fff; }
.home-screen .app-sig { color: #fff; }
.hs-greet { color: rgba(255,255,255,.72); font-size: .8rem; margin: .8rem 0 .4rem; }
.hs-cta { width: 100%; background: var(--coral); color: #fff; border: 0; border-radius: 14px; padding: .85rem; font-family: var(--display); font-weight: 700; font-size: .92rem; cursor: default; margin-bottom: .9rem; }
.hs-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: .9rem; }
.hs-tile { display: flex; flex-direction: column; align-items: center; gap: .3rem; background: rgba(255,255,255,.09); border-radius: 12px; padding: .6rem .2rem; font-size: .58rem; color: rgba(255,255,255,.85); font-weight: 600; }
.hs-tile .ht { width: 20px; height: 20px; border-radius: 6px; }
.ht-1 { background: var(--mint); } .ht-2 { background: var(--coral); } .ht-3 { background: #8E97DE; } .ht-4 { background: #F4C561; }
.hs-order { display: flex; align-items: center; gap: .55rem; background: #fff; border-radius: 14px; padding: .7rem .75rem; }
.hs-order-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--mint-1); color: var(--green-7); display: grid; place-items: center; flex: none; }
.hs-order-ico svg { width: 19px; height: 19px; }
.hs-order strong { display: block; font-size: .78rem; color: var(--spruce); }
.hs-order span { font-size: .66rem; color: var(--muted); }
.hs-order-eta { margin-left: auto; background: var(--coral); color: #fff; font-size: .66rem; font-weight: 700; padding: .25rem .55rem; border-radius: var(--r-pill); }

.qr-card { position: absolute; right: -4%; bottom: 6%; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: .9rem; text-align: center; z-index: 3; }
.qr-card p { margin: .5rem 0 0; font-size: .72rem; font-weight: 700; color: var(--spruce); }
.qr { width: 84px; height: 84px; border-radius: 8px;
  background:
    linear-gradient(90deg, var(--spruce) 30%, transparent 0) 0 0 / 14px 14px,
    linear-gradient(0deg, var(--spruce) 30%, transparent 0) 0 0 / 14px 14px,
    #fff;
  background-blend-mode: multiply; border: 3px solid var(--spruce);
}

/* --------------------------------------------------------------- footer --- */
.site-footer { background: var(--spruce); color: rgba(255,255,255,.72); padding-top: clamp(3rem, 6vw, 4.5rem); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.foot-brand p { margin: 1rem 0 1.2rem; max-width: 34ch; font-size: .94rem; }
.foot-social { display: flex; gap: .6rem; }
.foot-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .18s ease; }
.foot-social a:hover { background: var(--green); color: #fff; }
.foot-social svg { width: 19px; height: 19px; }
.foot-col h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.foot-col a { display: block; color: rgba(255,255,255,.72); padding: .3rem 0; font-size: .92rem; }
.foot-col a:hover { color: var(--mint); }
.foot-disclaimer { padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.foot-disclaimer p { margin: 0; font-size: .84rem; color: rgba(255,255,255,.6); }
.foot-disclaimer strong { color: var(--coral); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: center; padding: 1.3rem 0 2rem; border-top: 1px solid rgba(255,255,255,.12); }
.foot-bottom p { margin: 0; font-size: .84rem; }
.foot-credit a { color: var(--mint); }
.foot-credit a:hover { color: #fff; }

/* --------------------------------------------------------------- toast --- */
.toast-host { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: .5rem; align-items: center; width: max-content; max-width: 92vw; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: .6rem; background: var(--spruce); color: #fff;
  padding: .7rem 1.1rem; border-radius: var(--r-pill); box-shadow: var(--shadow-lg); font-size: .9rem; font-weight: 600;
  opacity: 0; transform: translateY(14px); transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: none; }
.toast .t-check { width: 20px; height: 20px; border-radius: 50%; background: var(--green); display: grid; place-items: center; flex: none; }
.toast .t-check svg { width: 13px; height: 13px; color: #fff; }

/* ========================================================== responsive === */
@media (max-width: 991px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .nav-get { display: none; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-copy { order: 2; }
  .hero-visual { order: 1; margin-bottom: 1rem; }
  .steps { grid-template-columns: 1fr; }
  .step-card::before { display: none; }
  .svc-grid, .prod-grid, .doc-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured { transform: none; }
  .get-grid { grid-template-columns: 1fr; }
  .get-visual { order: -1; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .svc-grid, .prod-grid, .doc-grid, .price-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.4rem; }
  .hero-stats dd { max-width: none; }
  .float-rating { left: 0; top: 6%; }
  .float-deliver { right: 0; bottom: 4%; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .qr-card { display: none; }
  .cart-panel { position: fixed; top: auto; bottom: 12px; right: 12px; left: 12px; width: auto; }
}
