/* QuickSave Meds — Archetyp "Clean Clinical" (design-dna.md #3)
   Schild-Farben: Blau "QuickSave Meds" · Rot "PHARMACY" · Cyan "MEDICINE & COSMETICS"
   Plus Jakarta Sans + Inter · runde Karten · Trust-Badges */
:root {
  --blue: #1156c8;
  --blue-dark: #0d3f94;
  --cyan: #17b3cb;
  --cyan-soft: #e7f7fa;
  --red: #e02d2d;
  --ink: #16202b;
  --paper: #f4f7f9;
  --line: #e3e9ee;
  --muted: #5d6b79;
  --wa: #1daa50;
  --wa-dark: #168a40;
  --radius: 18px;
  --head: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: #fff; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; letter-spacing: -.01em; }

.kicker { font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); margin-bottom: .9rem; }
.kicker--invert { color: rgba(255,255,255,.85); }

/* Topbar */
.topbar { background: var(--blue); color: #fff; font-size: .82rem; font-weight: 600; display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; padding: .45rem 1rem; }
.topbar p { display: flex; align-items: center; gap: .5rem; }
.topbar__sep { opacity: .6; }
.topbar__dot { width: 9px; height: 9px; border-radius: 50%; background: #9fb6d9; }
.topbar__dot.is-open { background: #5cf28b; box-shadow: 0 0 0 3px rgba(92,242,139,.25); }
.topbar__phone { font-weight: 800; }
.topbar__phone:hover { text-decoration: underline; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__in { max-width: 1160px; margin: 0 auto; padding: .65rem 1.25rem; display: flex; align-items: center; gap: 1.25rem; }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand__cross { width: 40px; height: 40px; border-radius: 12px; background: var(--cyan-soft); color: var(--cyan); font: 800 1.5rem var(--head); display: flex; align-items: center; justify-content: center; }
.brand__text { font: 800 1.18rem var(--head); color: var(--blue); line-height: 1.1; }
.brand__text em { font-style: normal; color: var(--red); }
.brand__text small { display: block; font: 600 .62rem var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 1.3rem; font-weight: 600; font-size: .92rem; margin-left: auto; }
.nav a:hover { color: var(--blue); }
.header__actions { display: flex; align-items: center; gap: .8rem; }
.lang { display: flex; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.lang__btn { border: 0; background: #fff; font: 700 .78rem var(--body); padding: .35rem .6rem; cursor: pointer; color: var(--muted); }
.lang__btn.is-active { background: var(--blue); color: #fff; }
.nav-toggle { display: none; border: 0; background: none; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--ink); margin: 4.5px 0; border-radius: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 700 .95rem var(--body); padding: .72rem 1.3rem; border-radius: 999px; transition: transform .12s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(29,170,80,.25); }
.btn--wa:hover { background: var(--wa-dark); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); }
.btn--ghost { border: 2px solid var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--light { background: #fff; color: var(--blue); }
.btn--light:hover { background: var(--cyan-soft); }
.btn--lg { padding: .95rem 1.7rem; font-size: 1.02rem; }

/* Hero */
.hero { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.hero__in { max-width: 1160px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.2rem) 1.25rem; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero__title { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
.hero__title em { font-style: normal; color: var(--blue); }
.hero__sub { margin: 1.1rem 0 1.6rem; color: var(--muted); max-width: 32rem; font-size: 1.05rem; }
.hero__ctas { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero__trust { list-style: none; display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 1.7rem; font-size: .85rem; color: var(--muted); }
.hero__trust strong { color: var(--ink); display: block; font-size: .98rem; font-family: var(--head); }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius); box-shadow: 0 24px 60px rgba(13,63,148,.18); }
.hero__badge { position: absolute; bottom: -14px; left: 18px; background: #fff; border-radius: 999px; padding: .5rem 1rem; font-weight: 700; font-size: .84rem; display: flex; align-items: center; gap: .5rem; box-shadow: 0 10px 26px rgba(22,32,43,.15); }
.hero__badge-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; }

/* Sections */
.section { max-width: 1160px; margin: 0 auto; padding: clamp(3rem, 7vw, 4.2rem) 1.25rem; }
.section--paper { max-width: none; background: var(--paper); }
.section--paper > * { max-width: 1160px; margin-left: auto; margin-right: auto; }
.section__head { margin-bottom: 2.1rem; max-width: 42rem; }
.section__head p { color: var(--muted); margin-top: .55rem; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.svc { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem; transition: transform .15s, box-shadow .15s; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(13,63,148,.10); }
.svc__ic { display: inline-flex; width: 46px; height: 46px; border-radius: 14px; background: var(--cyan-soft); align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: .9rem; }
.svc h3 { font-size: 1.04rem; margin-bottom: .45rem; }
.svc p { font-size: .9rem; color: var(--muted); }

/* Delivery band */
.delivery { background: linear-gradient(135deg, var(--blue) 0%, #0d3f94 100%); color: #fff; }
.delivery__in { max-width: 1160px; margin: 0 auto; padding: clamp(3rem, 7vw, 4.2rem) 1.25rem; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.delivery h2 { margin-bottom: .9rem; }
.delivery__copy > p { color: #cdd9f2; max-width: 34rem; }
.delivery__steps { margin: 1.4rem 0 1.5rem 1.2rem; display: grid; gap: .55rem; font-weight: 600; }
.delivery__steps li::marker { color: var(--cyan); font-weight: 800; }
.delivery__proof { background: rgba(255,255,255,.1); border-left: 3px solid var(--cyan); border-radius: 0 12px 12px 0; padding: 1rem 1.2rem; margin-bottom: 1.5rem; max-width: 34rem; }
.delivery__proof blockquote { font-size: .95rem; }
.delivery__proof figcaption { margin-top: .5rem; font-size: .8rem; opacity: .85; font-weight: 600; }
.delivery__media img { border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.delivery__media figcaption { margin-top: .7rem; font-size: .82rem; color: #cdd9f2; text-align: center; }

/* Shop gallery */
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; align-items: start; }
.shop-grid figure { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1.5px solid var(--line); }
.shop-grid img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.shop-grid figcaption { padding: .7rem 1rem; font-size: .85rem; font-weight: 700; }

/* Doctors */
.doctors { background: #fff; }
.doctors__in { max-width: 1160px; margin: 0 auto; padding: clamp(3rem, 7vw, 4.2rem) 1.25rem; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.doctors h2 { margin-bottom: .9rem; }
.doctors__copy > p { color: var(--muted); max-width: 34rem; }
.doctors__team { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.5rem 0 1.6rem; }
.doctors__team figure { text-align: center; width: 104px; }
.doctors__team img { width: 84px; height: 84px; object-fit: cover; border-radius: 50%; margin: 0 auto .45rem; border: 3px solid var(--cyan-soft); }
.doctors__team figcaption { font-size: .74rem; font-weight: 700; line-height: 1.3; }
.doctors__team figcaption span { display: block; color: var(--muted); font-weight: 500; }
.doctors__media img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(13,63,148,.15); }

/* Reviews */
.rating-badge { display: inline-flex; align-items: center; gap: .6rem; background: var(--ink); color: #fff; border-radius: 999px; padding: .45rem 1.1rem; margin-bottom: 1rem; }
.rating-badge strong { color: #ffd166; font-size: 1.05rem; }
.rating-badge span { font-size: .82rem; font-weight: 600; }
.rev-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.rev { background: var(--paper); border-left: 4px solid var(--cyan); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.4rem 1.5rem; }
.rev blockquote { font-size: .97rem; }
.rev figcaption { margin-top: .8rem; font-size: .82rem; font-weight: 700; color: var(--muted); }

/* Visit */
.visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.5rem; align-items: stretch; }
.visit__photo { border-radius: var(--radius); overflow: hidden; max-height: 460px; }
.visit__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.visit__info { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; gap: .6rem; justify-content: center; }
.visit__info h3 { font-size: 1.15rem; color: var(--blue); }
.visit__info p { font-size: .92rem; color: var(--muted); }
.visit__hours { color: var(--ink) !important; font-size: 1rem !important; }
.visit__info .btn { margin-top: .5rem; align-self: flex-start; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; margin-bottom: .7rem; padding: 0 1.2rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 1rem 2rem 1rem 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); color: var(--cyan); font: 800 1.3rem var(--head); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 1.1rem; color: var(--muted); font-size: .93rem; }

/* CTA band */
.cta-band { background: var(--blue); color: #fff; text-align: center; padding: clamp(3rem, 7vw, 4.2rem) 1.25rem; }
.cta-band h2 { margin-bottom: .6rem; }
.cta-band p { opacity: .9; margin-bottom: 1.6rem; }

/* Footer */
.footer { background: var(--ink); color: #b9c3cd; font-size: .9rem; }
.footer__in { max-width: 1160px; margin: 0 auto; padding: 3rem 1.25rem 2rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer__brand { font: 800 1.3rem var(--head); color: #fff; margin-bottom: .6rem; }
.footer__brand em { font-style: normal; color: var(--cyan); }
.footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .7rem; font-family: var(--head); }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.12); max-width: 1160px; margin: 0 auto; padding: 1.1rem 1.25rem 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: #7e8a96; }
.footer__demo { font-style: italic; }

/* FAB */
.wa-fab { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: none; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(0,0,0,.3); }

/* Responsive */
@media (max-width: 980px) {
  .svc-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__in, .delivery__in, .doctors__in { grid-template-columns: 1fr; gap: 2rem; }
  .visit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: .5rem 0; }
  .nav.is-open { display: flex; }
  .nav a { padding: .8rem 1.5rem; border-top: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .header__actions .btn--wa { display: none; }
  .rev-grid { grid-template-columns: 1fr; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .wa-fab { display: flex; }
  .topbar { font-size: .74rem; gap: .6rem; }
}
@media (max-width: 460px) {
  .svc-grid, .shop-grid { grid-template-columns: 1fr; }
  .footer__in { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .svc { transition: none; }
}
