/* =========================================================
   KHARGHAR EXPRESS — DESIGN SYSTEM
   A neighbourhood pharmacy, expressed with an apothecary-label
   visual language: capsule shapes, ticket-stub dividers,
   deep pharmacy green + warm amber-glass accent.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --paper: #FBFAF7;
  --paper-dim: #F3F1E9;
  --ink: #16231D;
  --ink-soft: #3C463F;
  --green: #1F5A45;
  --green-deep: #123527;
  --green-bright: #2E7D5F;
  --sage: #E7EFE7;
  --sage-line: #CFDDCF;
  --amber: #B87A2E;
  --amber-soft: #F1E1C6;
  --grey: #6E786F;
  --line: #DCE1D6;
  --white: #FFFFFF;

  --radius-capsule: 999px;
  --radius-card: 14px;
  --radius-sm: 8px;

  --shadow-card: 0 1px 2px rgba(18,53,39,0.06), 0 6px 20px rgba(18,53,39,0.06);
  --shadow-float: 0 10px 30px rgba(18,53,39,0.16);

  --maxw: 1120px;
  --maxw-header: 1440px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html, body{ max-width: 100%; overflow-x: hidden; }
body{
  margin:0;
  font-family:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4{
  font-family:'Fraunces', Georgia, serif;
  color: var(--green-deep);
  line-height: 1.15;
  margin: 0 0 0.5em 0;
  font-weight: 600;
}
h1{ font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-optical-sizing:auto; }
h2{ font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3{ font-size: 1.25rem; }
p{ margin: 0 0 1em 0; max-width: 62ch; color: var(--ink-soft); }
a{ color: var(--green); text-decoration: none; }
img{ max-width:100%; display:block; }
ul{ padding-left: 1.1em; }
button{ font-family: inherit; }

.container{
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.section{ padding: 72px 0; }
.section--tight{ padding: 48px 0; }
.section--sage{ background: var(--sage); }
.section--deep{ background: var(--green-deep); color: var(--paper); }
.section--deep h2, .section--deep h3{ color: var(--paper); }
.section--deep p{ color: #D7E4DA; }

/* ---------- Ticket-stub divider (structural, not decorative) ---------- */
.stub-divider{
  display:flex;
  align-items:center;
  gap:14px;
  margin: 0 0 28px 0;
  max-width: 320px;
}
.stub-divider__tab{
  width: 34px; height: 18px;
  border: 1.5px solid var(--green);
  border-radius: 999px 999px 4px 4px;
  flex-shrink:0;
  position: relative;
}
.stub-divider__tab::after{
  content:"";
  position:absolute; left:50%; top:50%;
  width:4px; height:4px; border-radius:50%;
  background: var(--green);
  transform: translate(-50%,-50%);
}
.stub-divider__rule{
  flex:1;
  height:0;
  border-top: 1.5px dashed var(--sage-line);
}

.eyebrow{
  font-family:'Inter';
  font-weight:600;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--amber);
  margin-bottom: 10px;
  display:block;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 14px 28px;
  font-weight:600;
  font-size: 0.98rem;
  border-radius: var(--radius-capsule);
  border: 1.5px solid transparent;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn:active{ transform: scale(0.98); }
.btn-whatsapp{
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-card);
}
.btn-whatsapp:hover{ background: var(--green-deep); }
.btn svg{ width:19px; height:19px; flex-shrink:0; }
.btn-sm svg{ width:16px; height:16px; }
.btn-call{
  background: transparent;
  color: var(--green-deep);
  border-color: var(--green-deep);
}
.btn-call:hover{ background: var(--sage); }
.btn-ghost-light{
  background: transparent;
  color: var(--paper);
  border-color: rgba(251,250,247,0.55);
}
.btn-ghost-light:hover{ background: rgba(251,250,247,0.12); }
.btn-block{ width:100%; }
.btn-sm{ padding: 10px 20px; font-size: 0.88rem; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top:0; z-index: 200;
  background: rgba(251,250,247,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 24px;
  max-width: var(--maxw-header);
  margin: 0 auto;
  gap: 20px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-family:'Fraunces'; font-weight:600; font-size:1.25rem;
  color: var(--green-deep);
}
.brand__logo {
  height: 56px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.brand__mark{
  width:36px; height:36px; flex-shrink:0;
}
.brand small{
  display:block;
  font-family:'Inter'; font-weight:500; font-size: 0.62rem;
  color: var(--grey); letter-spacing: 0.03em;
  margin-top: 1px;
}
.nav{
  display:flex; align-items:center; gap: 22px;
}
.nav__links{
  display:flex; gap: 17px; list-style:none; margin:0; padding:0;
}
.nav__links a{
  color: var(--ink-soft); font-weight:500; font-size: 0.9rem;
  padding: 6px 0; border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav__links a:hover, .nav__links a[aria-current="page"]{
  color: var(--green-deep); border-bottom-color: var(--amber);
}
.nav__cta{ display:flex; align-items:center; gap:10px; }
.nav__cta .btn{ padding: 11px 18px; font-size: 0.9rem; white-space: nowrap; }
.nav__burger{
  display:none;
  background:none; border:none; cursor:pointer;
  width:40px; height:40px; padding:8px;
  border-radius: var(--radius-sm);
}
.nav__burger:hover{ background: var(--sage); }
.nav__burger span{
  display:block; width:22px; height:2px; background: var(--green-deep);
  margin: 4px 0; transition: transform .2s ease, opacity .2s ease;
}
.nav__burger.is-open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2){ opacity: 0; }
.nav__burger.is-open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }
.mobile-panel{
  display:none;
  position:fixed;
  top: var(--header-h, 84px);
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--paper);
  z-index: 1000;
  padding: 20px 24px calc(28px + env(safe-area-inset-bottom));
  overflow-y:auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mobile-panel::-webkit-scrollbar{ display:none; width:0; height:0; }
.mobile-panel.is-open{ display:block; }
.mobile-panel ul{ list-style:none; padding:0; margin:0 0 22px 0; }
.mobile-panel li{ border-bottom: 1px solid var(--line); }
.mobile-panel li:first-child{ border-top: 1px solid var(--line); }
.mobile-panel a{
  display:block; padding: 18px 2px; font-size:1.15rem; font-weight:700; color: var(--ink);
}
.mobile-panel a[aria-current="page"]{ color: var(--green-deep); }
.mobile-panel .mobile-panel__cta{ display:flex; flex-direction:column; gap:12px; }
.mobile-panel .mobile-panel__cta .btn{ padding: 16px 20px; font-size: 1rem; }

@media (max-width: 1180px){
  .nav__links, .nav__cta .btn-call-label-desktop{ display:none; }
  .nav__cta .btn-whatsapp{ padding: 10px 16px; font-size:0.85rem; }
  .nav__burger{ display:block; width:44px; height:44px; padding:11px 10px; }
}
@media (max-width: 880px){
  .brand__logo{ height: 44px; }
  .site-header__inner{ padding: 10px 16px; }
}

/* ---------- Hero ---------- */
.hero{
  padding: 64px 0 56px 0;
  background:
    radial-gradient(700px 340px at 88% -10%, var(--sage) 0%, transparent 60%),
    var(--paper);
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items:center;
}
.hero__eyebrow-line{
  display:flex; align-items:center; gap:10px; margin-bottom: 18px;
}
.hero__eyebrow-line .dot{
  width:8px; height:8px; border-radius:50%; background: var(--amber);
}
.hero__eyebrow-line span{
  font-weight:600; font-size:0.85rem; color: var(--green);
}
.hero p.lede{
  font-size: 1.14rem; color: var(--ink-soft); max-width: 46ch;
}
.hero__ctas{ display:flex; gap:14px; flex-wrap:wrap; margin: 26px 0 18px 0; }
.hero__support{
  font-size: 0.88rem; color: var(--grey); font-weight:500;
}
.hero__art{
  position:relative;
}
.hero__card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-float);
  position:relative;
}
.hero__card-row{
  display:flex; align-items:flex-start; gap:14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.hero__card-row:last-child{ border-bottom:none; }
.hero__card-row svg{ width:26px; height:26px; flex-shrink:0; color: var(--green); }
.hero__card-row h4{ margin:0 0 2px 0; font-size:0.98rem; font-family:'Inter'; font-weight:600; color: var(--ink); }
.hero__card-row p{ margin:0; font-size: 0.86rem; }

@media (max-width: 880px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__art{ order:-1; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  padding: 46px 0 40px 0;
  background: var(--sage);
  border-bottom: 1px solid var(--sage-line);
}
.breadcrumb{
  font-size: 0.85rem; color: var(--grey); margin-bottom: 14px;
}
.breadcrumb a{ color: var(--grey); }
.breadcrumb a:hover{ color: var(--green-deep); }
.page-hero p{ font-size: 1.05rem; }

/* ---------- Section heading ---------- */
.section-heading{ max-width: 640px; margin-bottom: 40px; }
.section-heading.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- Cards grid ---------- */
.grid{ display:grid; gap: 22px; }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px){ .grid-4{ grid-template-columns: repeat(2,1fr); } .grid-3{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 620px){ .grid-4, .grid-3, .grid-2{ grid-template-columns: 1fr; } }

.card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px;
}
.card--feature{ position:relative; }
.card__icon{
  width:46px; height:46px;
  border-radius: 12px;
  background: var(--sage);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 16px;
  color: var(--green);
}
.card__icon svg{ width:24px; height:24px; }
.card h3{ margin-bottom: 8px; }
.card p{ font-size:0.94rem; margin-bottom: 14px; }
.card__link{ font-weight:600; font-size:0.88rem; display:inline-flex; align-items:center; gap:6px; }

/* Service card variant with amber tab */
.card--service{ border-top: 3px solid var(--amber); }

/* ---------- CTA banner (strongest visual section) ---------- */
.cta-banner{
  background: var(--green-deep);
  color: var(--paper);
  border-radius: 22px;
  padding: 56px;
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.cta-banner::before{
  content:"";
  position:absolute; z-index:-1;
  right:-60px; top:-60px;
  width:280px; height:280px; border-radius:50%;
  background: radial-gradient(circle, rgba(46,125,95,0.55), transparent 70%);
}
.cta-banner::after{
  content:"";
  position:absolute; z-index:-1;
  left:-40px; bottom:-80px;
  width:220px; height:220px; border-radius:50%;
  background: radial-gradient(circle, rgba(184,122,46,0.35), transparent 70%);
}
.cta-banner h2{ color: var(--paper); max-width: 18ch; }
.cta-banner p{ color: #D7E4DA; font-size: 1.05rem; max-width: 50ch; }
.cta-banner .btn-whatsapp{ background: var(--amber); }
.cta-banner .btn-whatsapp:hover{ background: #9C6A26; }

@media (max-width: 620px){ .cta-banner{ padding: 36px 24px; border-radius:16px; } }

/* ---------- Steps (how to order) ---------- */
.steps{ counter-reset: step; display:flex; flex-direction:column; gap:0; max-width: 720px; }
.step{
  display:grid; grid-template-columns: 56px 1fr; gap:20px;
  padding: 24px 0;
  border-bottom: 1px dashed var(--line);
}
.step:last-child{ border-bottom:none; }
.step__num{
  counter-increment: step;
  width:44px; height:44px; border-radius:50%;
  border: 1.5px solid var(--green);
  color: var(--green-deep);
  display:flex; align-items:center; justify-content:center;
  font-family:'Fraunces'; font-weight:600; font-size:1.1rem;
}
.step__num::before{ content: counter(step); }
.step h3{ margin-bottom:6px; }
.step p{ font-size:0.95rem; margin:0; }

/* ---------- FAQ accordion ---------- */
.faq{ max-width: 760px; }
.faq-item{
  border-bottom: 1px solid var(--line);
}
.faq-item__q{
  width:100%; text-align:left;
  background:none; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding: 20px 4px;
  font-family:'Fraunces'; font-size:1.06rem; color: var(--green-deep); font-weight:600;
}
.faq-item__icon{
  flex-shrink:0; width:22px; height:22px; position:relative;
}
.faq-item__icon::before, .faq-item__icon::after{
  content:""; position:absolute; background: var(--green); border-radius:2px;
}
.faq-item__icon::before{ width:14px; height:2px; top:10px; left:4px; }
.faq-item__icon::after{ width:2px; height:14px; top:4px; left:10px; transition: transform .2s ease; }
.faq-item.is-open .faq-item__icon::after{ transform: rotate(90deg); }
.faq-item__a{
  max-height:0; overflow:hidden; transition: max-height .25s ease;
}
.faq-item__a p{ padding: 0 4px 20px 4px; font-size:0.95rem; }
.faq-item.is-open .faq-item__a{ max-height: 320px; }

/* ---------- Delivery area cards ---------- */
.area-chip{
  display:inline-flex; align-items:center; gap:8px;
  border: 1px solid var(--sage-line);
  background: var(--sage);
  border-radius: var(--radius-capsule);
  padding: 10px 18px;
  font-weight:600; font-size:0.92rem; color: var(--green-deep);
}
.area-chip svg{ width:15px; height:15px; }
.area-note{
  background: var(--amber-soft);
  border: 1px solid #E3C48B;
  border-radius: var(--radius-card);
  padding: 18px 22px;
  font-size:0.92rem;
  color: #6B4A16;
  margin-top: 28px;
}

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:22px; }
@media (max-width:780px){ .contact-grid{ grid-template-columns:1fr; } }
.map-embed{
  border-radius: var(--radius-card);
  overflow:hidden; border:1px solid var(--line);
  aspect-ratio: 4/3;
  background: var(--sage);
  display:flex; align-items:center; justify-content:center;
  color: var(--grey); font-size:0.9rem; text-align:center; padding:24px;
}

/* ---------- Footer ---------- */
.site-footer{
  background: var(--green-deep);
  color: #C9DACF;
  padding: 56px 0 24px 0;
}
.site-footer h4{
  color: var(--paper); font-family:'Inter'; font-size:0.92rem; font-weight:700;
  margin-bottom: 16px;
}
.footer-grid{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width:880px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-brand{ font-family:'Fraunces'; font-size:1.2rem; color:var(--paper); margin-bottom:10px; }
.footer-tagline{ font-size:0.88rem; color:#9FB8A6; max-width:32ch; }
.footer-grid ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.footer-grid a{ color:#C9DACF; font-size:0.92rem; }
.footer-grid a:hover{ color: var(--paper); }
.footer-disclaimer{
  font-size:0.78rem; color:#8FA898; margin-top: 24px; max-width:80ch;
}
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  padding-top: 20px; font-size:0.82rem; color:#8FA898;
}
.footer-bottom a{ color:#8FA898; }

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px; /* nudges icon to align with first line of text */
}

/* ---------- Mobile bottom bar ---------- */
.mobile-bar{
  display:none;
  position:fixed; left:0; right:0; bottom:0; z-index:150;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(18,53,39,0.10);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}
.mobile-bar__inner{ display:flex; gap:10px; }
.mobile-bar .btn{ flex:1; }
@media (max-width: 880px){
  .mobile-bar{ display:block; }
  body{ padding-bottom: 76px; }
  body.menu-open .mobile-bar{ display:none; }
}

/* ---------- Legal pages ---------- */
.prose{ max-width: 74ch; }
.prose h2{ margin-top: 1.6em; }
.prose ul{ color: var(--ink-soft); }

/* ---------- misc ---------- */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.visually-hidden{
  position:absolute; width:1px; height:1px; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap;
}
:focus-visible{ outline: 2.5px solid var(--amber); outline-offset:2px; }
