/* ==========================================================================
   โกดังยาบางพลี — Design System
   Pharmacy / Medical Wholesale · Modern, Clean, Professional
   ========================================================================== */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Brand palette (extracted from logo + medical/wholesale tone) */
  --navy-900: #071f36;
  --navy-800: #0b2c4d;
  --navy-700: #103a63;
  --navy-600: #16527f;
  --teal-600: #0e9aa7;
  --teal-500: #12b5a6;
  --teal-400: #2ad0c0;
  --teal-50:  #e8fbf8;

  --green-600: #1f9d6b;
  --green-50:  #e9f8f0;

  --amber-500: #f5a623;
  --amber-50:  #fef6e7;

  --ink:      #0f2233;
  --slate:    #51627a;
  --slate-2:  #6b7d96;
  --mist:     #8a9bb3;
  --line:     #e2e9f1;
  --line-2:   #eef3f8;
  --bg:       #f6f9fc;
  --bg-soft:  #f0f5fa;
  --white:    #ffffff;

  /* Effects */
  --shadow-xs: 0 1px 2px rgba(11,44,77,.06);
  --shadow-sm: 0 2px 8px rgba(11,44,77,.07);
  --shadow-md: 0 10px 30px rgba(11,44,77,.10);
  --shadow-lg: 0 24px 60px rgba(11,44,77,.16);
  --shadow-teal: 0 14px 34px rgba(18,181,166,.30);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --container: 1200px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --font-sans: 'IBM Plex Sans Thai', 'IBM Plex Sans', 'Noto Sans Thai', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'IBM Plex Sans Thai', 'Sarabun', system-ui, sans-serif;
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.22;
  color: var(--navy-800);
  letter-spacing: -0.015em;
}

::selection { background: var(--teal-500); color: #fff; }

:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 2px; border-radius: 4px; }

/* ---------- 3. Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-tight { padding: 56px 0; }

.bg-soft { background: var(--bg); }
.bg-navy { background: var(--navy-800); color: #cfe2f2; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-gradient-navy {
  background:
    radial-gradient(1100px 600px at 12% -10%, rgba(18,181,166,.20), transparent 60%),
    radial-gradient(900px 500px at 100% 110%, rgba(22,82,127,.55), transparent 55%),
    linear-gradient(135deg, var(--navy-900), var(--navy-800) 55%, var(--navy-700));
}

.grid { display: grid; gap: 28px; }
.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: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

/* ---------- 4. Eyebrow / Section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-600);
  background: var(--teal-50);
  padding: 7px 14px; border-radius: var(--radius-pill);
  border: 1px solid rgba(18,181,166,.25);
}
.eyebrow.on-dark { color: var(--teal-400); background: rgba(18,181,166,.12); border-color: rgba(18,181,166,.3); }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 18px 0 14px;
}
.section-head p { color: var(--slate); font-size: 1.05rem; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: .98rem; line-height: 1;
  padding: 15px 26px; border-radius: var(--radius-pill);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap; text-align: center;
}
.btn svg, .btn i { font-size: 1.1em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  color: #fff; box-shadow: var(--shadow-teal);
}
.btn-primary:hover { box-shadow: 0 18px 40px rgba(18,181,166,.42); }

.btn-navy { background: var(--navy-800); color: #fff; box-shadow: var(--shadow-md); }
.btn-navy:hover { background: var(--navy-700); }

.btn-light { background: #fff; color: var(--navy-800); box-shadow: var(--shadow-sm); }
.btn-light:hover { box-shadow: var(--shadow-md); }

.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }

.btn-outline { background: transparent; color: var(--navy-800); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--navy-800); background: var(--navy-800); color: #fff; }

.btn-line { background: #06c755; color: #fff; box-shadow: 0 14px 30px rgba(6,199,85,.32); }
.btn-line:hover { background: #05b14b; box-shadow: 0 18px 40px rgba(6,199,85,.42); }

.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 18px 34px; font-size: 1.05rem; }

/* ---------- 6. Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.95); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; border-radius: 12px; object-fit: contain; background: #fff; padding: 3px; box-shadow: var(--shadow-xs); }
.brand-text { line-height: 1.15; }
.brand-text .b1 { font-weight: 800; color: var(--navy-800); font-size: 1.02rem; letter-spacing: -.01em; }
.brand-text .b2 { font-size: .72rem; color: var(--slate); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; padding: 9px 14px; font-weight: 600; font-size: .94rem; color: var(--slate);
  border-radius: 8px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--navy-800); background: var(--bg-soft); }
.nav-links a.active { color: var(--teal-600); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--teal-500); border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 12px 22px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  align-items: center; justify-content: center; background: var(--bg-soft);
}
.nav-toggle span { position: relative; width: 20px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: .3s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: .3s;
}
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .nav-links, .nav-cta .desktop-only { display: none; }
  .nav-cta { gap: 8px; }
}

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: 76px 0 auto 0; z-index: 99;
  background: #fff; padding: 18px 24px 28px;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: .3s var(--ease);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu a {
  display: block; padding: 14px 12px; font-weight: 700; color: var(--navy-800);
  border-radius: 10px; border-bottom: 1px solid var(--line-2);
}
.mobile-menu a:hover, .mobile-menu a.active { background: var(--teal-50); color: var(--teal-600); }
.mobile-menu .btn { margin-top: 14px; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(800px 500px at 88% 8%, rgba(18,181,166,.16), transparent 60%),
    radial-gradient(700px 500px at 5% 95%, rgba(22,82,127,.12), transparent 55%),
    linear-gradient(180deg, #f3f9fc, #ffffff 70%);
  padding: 84px 0 96px;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 28px 28px; mask-image: linear-gradient(180deg, #000, transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 56px 0 72px; } }

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  line-height: 1.12; margin: 20px 0 20px;
}
.hero h1 .hl {
  background: linear-gradient(120deg, var(--teal-500), var(--teal-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: 1.12rem; color: var(--slate); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat .num { font-size: 1.9rem; font-weight: 800; color: var(--navy-800); line-height: 1; font-family: var(--font-display); }
.hero-stat .num span { color: var(--teal-600); }
.hero-stat .lbl { font-size: .85rem; color: var(--slate); margin-top: 6px; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-photo {
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/4.6; position: relative;
  border: 6px solid #fff;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7,31,54,.55));
}
.hero-badge {
  position: absolute; z-index: 3;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.6); border-radius: 18px;
  padding: 14px 18px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
}
.hero-badge .ic {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: grid; place-items: center; color: #fff; font-size: 1.2rem;
}
.hero-badge .ic.teal { background: linear-gradient(135deg, var(--teal-500), var(--teal-600)); }
.hero-badge .ic.green { background: linear-gradient(135deg, var(--green-600), #15b87a); }
.hero-badge .t { font-weight: 800; color: var(--navy-800); font-size: .92rem; line-height: 1.2; }
.hero-badge .s { font-size: .76rem; color: var(--slate); }
.hero-badge.b1 { top: 28px; left: -22px; }
.hero-badge.b2 { bottom: 36px; right: -22px; }
@media (max-width: 540px) { .hero-badge.b1 { left: 0; } .hero-badge.b2 { right: 0; } }

/* Floating glow blob */
.hero-visual::before {
  content: ''; position: absolute; inset: -8% -8% auto auto; width: 70%; height: 70%;
  background: radial-gradient(circle, rgba(18,181,166,.35), transparent 70%); filter: blur(20px); z-index: 0;
}
.hero-photo { position: relative; z-index: 1; }

/* ---------- 8. Trust strip ---------- */
.trust-strip {
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  background: var(--white);
}
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 24px; padding: 26px 0; }
.trust-item { display: flex; align-items: center; gap: 12px; min-width: 0; }
.trust-item .ic {
  width: 46px; height: 46px; flex: none; border-radius: 13px; display: grid; place-items: center;
  background: var(--teal-50); color: var(--teal-600); font-size: 1.3rem;
}
.trust-item .t { font-weight: 800; color: var(--navy-800); font-size: .96rem; line-height: 1.2; }
.trust-item .s { font-size: .8rem; color: var(--slate); }

/* Trust strip — tablet: 2 columns */
@media (max-width: 860px) {
  .trust-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .trust-item { padding: 6px 0; }
}
/* Trust strip — small mobile: 1 column, icon-first centered option */
@media (max-width: 540px) {
  .trust-row { grid-template-columns: 1fr; gap: 14px; padding: 22px 0; }
  .trust-item {
    padding: 12px 16px; background: var(--bg-soft); border-radius: var(--radius);
    border: 1px solid var(--line-2);
  }
  .trust-item .ic { width: 42px; height: 42px; font-size: 1.15rem; }
}

/* ---------- 9. Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-xs); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.card .ic-box {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.6rem; color: #fff; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  box-shadow: var(--shadow-teal);
}
.card .ic-box.navy { background: linear-gradient(135deg, var(--navy-700), var(--navy-800)); box-shadow: var(--shadow-md); }
.card .ic-box.green { background: linear-gradient(135deg, var(--green-600), #15b87a); }
.card .ic-box.amber { background: linear-gradient(135deg, var(--amber-500), #e08e0b); }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: .97rem; }

/* ---------- 10. Split / feature row ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.reverse .split-media { order: 0; } }

.split-media { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.split-media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.split-media .tag {
  position: absolute; top: 18px; left: auto; right: 18px; z-index: 2;
  background: rgba(7,31,54,.85); color: #fff; padding: 8px 14px; border-radius: var(--radius-pill);
  font-size: .8rem; font-weight: 700; backdrop-filter: blur(6px);
}

.split-content h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 16px 0 18px; }
.split-content p { color: var(--slate); margin-bottom: 16px; }
.split-content ul.checks { margin: 22px 0 28px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.checks li::before {
  content: '✓'; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green-50); color: var(--green-600); font-weight: 800;
  display: grid; place-items: center; font-size: .8rem; margin-top: 2px;
}

/* ---------- 11. Testimonials ---------- */
.testi-card {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-xs); position: relative; transition: box-shadow .3s, transform .3s;
}
.testi-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testi-card .stars { color: var(--amber-500); letter-spacing: 2px; margin-bottom: 14px; font-size: 1rem; }
.testi-card blockquote { color: var(--ink); font-size: 1rem; line-height: 1.7; margin-bottom: 22px; }
.testi-card .who { display: flex; align-items: center; gap: 14px; }
.testi-card .avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none; object-fit: cover; background: var(--teal-50);
}
.testi-card .who .name { font-weight: 800; color: var(--navy-800); font-size: .94rem; }
.testi-card .who .role { font-size: .8rem; color: var(--slate); }

/* ---------- 12. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  padding: 64px; color: #fff;
  background:
    radial-gradient(700px 400px at 90% 10%, rgba(18,181,166,.4), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--navy-800));
}
.cta-band::before {
  content: ''; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 24px 24px;
}
.cta-band .inner { position: relative; display: grid; grid-template-columns: 1.4fr .9fr; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band p { color: #cfe2f2; margin-top: 12px; }
.cta-band .actions { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 800px) { .cta-band { padding: 40px 28px; } .cta-band .inner { grid-template-columns: 1fr; } }

/* ---------- 13. Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fb3c9; padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img { width: 52px; height: 52px; border-radius: 14px; background: #fff; padding: 4px; }
.footer-brand .fname { color: #fff; font-weight: 800; font-size: 1.1rem; margin: 14px 0 6px; }
.footer-brand p { font-size: .92rem; line-height: 1.7; max-width: 320px; }

.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; letter-spacing: .01em; }
.site-footer ul li { margin-bottom: 11px; }
.site-footer ul a { color: #9fb3c9; font-size: .92rem; transition: color .2s, padding .2s; }
.site-footer ul a:hover { color: var(--teal-400); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: .92rem; }
.footer-contact .ic { color: var(--teal-400); flex: none; margin-top: 3px; }

.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); color: #cfe2f2; transition: .25s; font-size: 1.05rem;
}
.socials a:hover { background: var(--teal-500); color: #fff; transform: translateY(-3px); }

.footer-bottom { padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: #7d93ab; }
.footer-bottom a { color: #9fb3c9; }
.footer-bottom a:hover { color: var(--teal-400); }

/* ---------- 14. Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

.form-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-md); }
@media (max-width: 540px) { .form-card { padding: 28px 22px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--navy-800); font-size: .9rem; margin-bottom: 8px; }
.field label .req { color: #e23b3b; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: .98rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(18,181,166,.14);
}
.form-note { font-size: .82rem; color: var(--slate); margin-top: 12px; text-align: center; }
.form-success {
  display: none; text-align: center; padding: 28px;
}
.form-success.show { display: block; animation: pop .4s var(--ease); }
.form-success .ic {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--green-50); color: var(--green-600); display: grid; place-items: center; font-size: 1.8rem;
}
@keyframes pop { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Contact info side */
.info-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 20px; box-shadow: var(--shadow-xs); }
.info-card h3 { font-size: 1.1rem; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.info-card h3 .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--teal-50); color: var(--teal-600); display: grid; place-items: center; font-size: 1rem; }
.info-card p, .info-card a:not(.btn) { color: var(--slate); font-size: .96rem; }
.info-card a:not(.btn):hover { color: var(--teal-600); }
.info-card .big { font-size: 1.15rem; color: var(--navy-800); font-weight: 800; }

/* Select dropdown (form) */
.field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2351627a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-right: 42px; cursor: pointer;
}

/* Map section with header */
.map-section { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-section .map-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 28px; border-bottom: 1px solid var(--line-2); background: var(--bg); flex-wrap: wrap; }
.map-section .map-head .ht { display: flex; align-items: center; gap: 12px; }
.map-section .map-head .ht .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--teal-50); color: var(--teal-600); display: grid; place-items: center; font-size: 1.1rem; }
.map-section .map-head h3 { font-size: 1.05rem; margin: 0; }
.map-section .map-head .sub { font-size: .82rem; color: var(--slate); margin-top: 2px; }
.map-embed { line-height: 0; }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }
@media (max-width: 540px) { .map-section .map-head { padding: 18px 20px; } .map-embed iframe { height: 280px; } }

/* Footer contact — fix overflow (phone was clipped) */
.footer-contact { display: grid; gap: 11px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 0; font-size: .9rem; align-items: flex-start; line-height: 1.5; }
.footer-contact li .ic { color: var(--teal-400); flex: none; margin-top: 3px; width: 16px; text-align: center; }
.footer-contact li .tx { min-width: 0; word-break: break-word; overflow-wrap: anywhere; }
.footer-contact li strong { color: #fff; font-weight: 700; }

/* ---------- 15. Floating LINE button ---------- */
.fab-line {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: #06c755; color: #fff; display: grid; place-items: center;
  font-size: 1.6rem; box-shadow: 0 12px 30px rgba(6,199,85,.45);
  transition: transform .25s var(--ease);
}
.fab-line:hover { transform: scale(1.08) translateY(-2px); }
.fab-line::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #06c755;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- 16. Animations on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .fab-line::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 17. Misc utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; }
.mb-0 { margin-bottom: 0; } .mb-8 { margin-bottom: 8px; }
.pill-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--radius-pill); font-size: .78rem; font-weight: 700; background: var(--teal-50); color: var(--teal-600); }

/* Stats band */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 700px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }
.stat-block { text-align: center; padding: 30px 16px; border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.stat-block .num { font-weight: 800; font-size: 2.4rem; color: var(--teal-400); line-height: 1; }
.stat-block .lbl { color: #cfe2f2; font-size: .9rem; margin-top: 10px; }

/* ---------- 18. Google review badge ---------- */
.g-review-badge {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 28px 32px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffffff, #f6f9fc);
  border: 1px solid var(--line-2); box-shadow: var(--shadow-sm);
}
@media (max-width: 540px) { .g-review-badge { flex-direction: column; text-align: center; } }

.g-review-badge .g-main { display: flex; align-items: center; gap: 18px; }
.g-review-badge .g-score { font-size: 2.6rem; font-weight: 800; color: var(--navy-800); line-height: 1; font-family: var(--font-display); }
.g-review-badge .g-stars { color: #fbbc04; font-size: 1.15rem; letter-spacing: 3px; margin: 6px 0 4px; }
.g-review-badge .g-meta { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--slate); font-weight: 600; }
.g-review-badge .g-meta .fa-google { color: #4285f4; font-size: .95rem; }
.g-review-badge .g-actions { margin-left: auto; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
@media (max-width: 540px) { .g-review-badge .g-actions { margin: 0; align-items: center; } }
.g-review-badge .g-actions .btn { padding: 12px 22px; }
.g-review-badge .g-actions .count { font-size: .8rem; color: var(--slate); }

/* ---------- 19. Pharmacist highlight box ---------- */
.pharmacist-box {
  display: flex; gap: 22px; align-items: center; padding: 28px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--teal-50), #fff); border: 1px solid rgba(18,181,166,.2);
}
@media (max-width: 600px) { .pharmacist-box { flex-direction: column; text-align: center; } }
.pharmacist-box .avatar-lg {
  width: 90px; height: 90px; border-radius: 50%; flex: none; object-fit: cover;
  border: 4px solid #fff; box-shadow: var(--shadow-md);
}
.pharmacist-box h3 { font-size: 1.2rem; margin-bottom: 4px; }
.pharmacist-box p { font-size: .92rem; color: var(--slate); margin: 0; }
.pharmacist-box .pharm-stat { display: flex; gap: 24px; margin-top: 14px; }
.pharmacist-box .pharm-stat .n { font-weight: 800; color: var(--teal-600); font-size: 1.2rem; }
.pharmacist-box .pharm-stat .l { font-size: .78rem; color: var(--slate); }

/* ---------- 20. Subject chips (contact form) ---------- */
.chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.subject-chip {
  padding: 10px 18px; border-radius: var(--radius-pill); font-weight: 700; font-size: .9rem;
  background: #fff; border: 1.5px solid var(--line); color: var(--slate); transition: .25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.subject-chip:hover { border-color: var(--teal-400); color: var(--teal-600); }
.subject-chip.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.subject-chip .ic { font-size: .95em; }
.type-chips .subject-chip.active { background: var(--teal-500); border-color: var(--teal-500); }

/* ---------- 21. Mini contact (footer) ---------- */
.mini-contact { display: grid; grid-template-columns: 1fr; gap: 10px; }
.mini-contact a {
  display: flex; align-items: center; gap: 10px; padding: 13px 15px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); transition: .25s;
}
.mini-contact a:hover { background: rgba(18,181,166,.15); border-color: var(--teal-500); }
.mini-contact a .ic { flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.08); color: var(--teal-400); display: grid; place-items: center; }
.mini-contact a .tx { font-size: .86rem; color: #cfe2f2; line-height: 1.3; min-width: 0; }
.mini-contact a .tx strong { display: block; color: #fff; font-weight: 700; }
