/*
 * styles.css — Klaibaan Medical Clinic
 * ใกล้บ้าน คลินิก · Klaibaan Medical Clinic
 * สันทราย, เชียงใหม่ · Tel: 098-039-9363 · klaibaanmedical@gmail.com
 * © 2026 Klaibaan Medical Clinic
 *
 * Extracted from main index.html.
 * Update "url" in Schema.org JSON-LD inside index.html with your real domain after publishing.
 */

/* ─── RESET ─────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
img,svg{display:block}
button{font-family:inherit;cursor:pointer;border:none;background:none}
a{text-decoration:none;color:inherit}
ul{list-style:none}

/* ─── BLUE DESIGN TOKENS ─────────────────────────── */
:root{
  --blue-900: #0b2d52;
  --blue-800: #0f3f78;
  --blue-700: #1253a4;
  --blue-600: #1867c0;
  --blue-500: #2481d7;
  --blue-400: #4fa2e9;
  --blue-300: #87c0f4;
  --blue-200: #b8d9f8;
  --blue-100: #cce4f9;
  --blue-50:  #e8f3fd;

  --gold:       #c09040;
  --gold-light: #f0e0b8;
  --gold-50:    #fdf5e0;

  --bg:   #f5f9ff;
  --bg-2: #eaf3fc;
  --bg-3: #daeaf8;
  --white: #ffffff;

  --border:      #ccdff5;
  --border-blue: #a8ccee;

  --text-900: #0d1f35;
  --text-700: #1e3a58;
  --text-500: #3d6080;
  --text-300: #6a90b0;
  --text-200: #9ab5cc;

  --sh-s: 0 1px 4px rgba(18,83,164,.05), 0 4px 12px rgba(18,83,164,.07);
  --sh-m: 0 2px 8px rgba(18,83,164,.06), 0 12px 32px rgba(18,83,164,.10);
  --sh-l: 0 4px 16px rgba(18,83,164,.06), 0 24px 56px rgba(18,83,164,.13);

  --r-xs:  8px;
  --r-s:   12px;
  --r-m:   18px;
  --r-l:   26px;
  --r-xl:  38px;
  --r-pill:999px;
}

/* ─── BASE ──────────────────────────────────────── */
html{scroll-behavior:smooth;font-size:16px}
body{
  font-family:'Sarabun',sans-serif;
  background:var(--bg);color:var(--text-700);
  line-height:1.75;overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

/* ─── UTILITIES ─────────────────────────────────── */
.wrap{max-width:1040px;margin:0 auto;padding:0 24px}

.tag{
  display:inline-flex;align-items:center;gap:6px;
  background:var(--gold-50);color:var(--gold);
  font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  padding:5px 14px;border-radius:var(--r-pill);border:1px solid var(--gold-light);
}
.tag--blue{background:var(--blue-50);color:var(--blue-700);border-color:var(--blue-100)}

/* Bilingual helpers */
.en{
  display:block;font-size:.76rem;color:var(--text-300);
  font-weight:400;letter-spacing:.04em;margin-top:3px;line-height:1.4;
  font-style:italic;
}
.section-en{
  display:block;font-size:.88rem;color:var(--text-300);
  font-weight:400;letter-spacing:.03em;margin-top:-8px;margin-bottom:16px;
  font-style:italic;
}
.svc-name-en{
  display:block;font-family:'Sarabun',sans-serif;
  font-size:.76rem;color:var(--text-300);font-weight:400;
  margin-top:2px;letter-spacing:.04em;font-style:italic;
}
.faq-q-en{
  display:block;font-size:.74rem;color:var(--text-300);
  font-weight:400;margin-top:2px;font-style:italic;letter-spacing:.02em;
}
.dr-en{
  display:block;font-size:.80rem;color:var(--text-300);
  font-weight:400;margin-top:2px;font-style:italic;letter-spacing:.03em;
}

.section-eyebrow{margin-bottom:14px}
.section-title{
  font-family:'Noto Serif Thai',serif;
  font-size:clamp(1.65rem,3.5vw,2.2rem);
  font-weight:700;color:var(--text-900);
  line-height:1.3;margin-bottom:10px;
}
.section-lead{font-size:1.02rem;color:var(--text-500);max-width:480px;line-height:1.88}

/* ─── ANIMATIONS ────────────────────────────────── */
.fu  {opacity:0;transform:translateY(28px);transition:opacity .6s ease,transform .6s ease}
.fu-l{opacity:0;transform:translateX(-24px);transition:opacity .6s ease,transform .6s ease}
.fu-r{opacity:0;transform:translateX(24px);transition:opacity .6s ease,transform .6s ease}
.fu.in,.fu-l.in,.fu-r.in{opacity:1;transform:translate(0)}

/* ═══ NAV ════════════════════════════════════════ */
#nav{
  position:fixed;top:0;left:0;right:0;z-index:900;
  height:68px;padding:0 24px;
  display:flex;align-items:center;justify-content:space-between;
  transition:background .3s,box-shadow .3s,border-color .3s;
  border-bottom:1px solid transparent;
}
#nav.solid{
  background:rgba(245,249,255,.96);
  backdrop-filter:blur(16px);
  border-bottom-color:var(--border);
  box-shadow:0 2px 20px rgba(18,83,164,.08);
}
.nav-brand{display:flex;align-items:center;gap:10px}
.nav-logo-img{
  width:44px;height:44px;object-fit:contain;
  flex-shrink:0;border-radius:var(--r-s);
  background:white;
}
.nav-name{font-family:'Noto Serif Thai',serif;font-weight:700;font-size:1.02rem;color:var(--blue-700);line-height:1.1}
.nav-en{font-size:.63rem;font-weight:500;color:var(--text-300);letter-spacing:.06em}
.nav-links{display:flex;align-items:center;gap:2px}
.nav-links a{
  font-size:.88rem;font-weight:500;color:var(--text-500);
  padding:8px 13px;border-radius:var(--r-pill);transition:color .2s,background .2s;
}
.nav-links a:hover{color:var(--blue-600);background:var(--blue-50)}
.nav-cta-btn{
  background:linear-gradient(135deg,var(--blue-700),var(--blue-500));
  color:white;padding:10px 20px;border-radius:var(--r-pill);
  font-size:.87rem;font-weight:700;transition:.2s;
  box-shadow:0 4px 14px rgba(18,83,164,.30);
}
.nav-cta-btn:hover{transform:translateY(-1px);box-shadow:0 6px 22px rgba(18,83,164,.40)}
.nav-ham{display:none;width:36px;height:36px;align-items:center;justify-content:center;border-radius:var(--r-xs);transition:.2s}
.nav-ham:hover{background:var(--blue-50)}
.nav-ham svg{width:22px;height:22px;stroke:var(--text-700);stroke-width:2;fill:none}

@media(max-width:800px){
  .nav-links,.nav-cta-btn{display:none}
  .nav-ham{display:flex}
  .nav-links.open{
    display:flex;flex-direction:column;align-items:stretch;gap:0;
    position:fixed;top:68px;left:0;right:0;
    background:var(--white);border-bottom:1px solid var(--border);
    padding:12px 20px 20px;box-shadow:var(--sh-m);
  }
  .nav-links.open a{padding:13px 16px;border-radius:var(--r-s);font-size:1rem}
  .nav-links.open a:hover{background:var(--blue-50);color:var(--blue-600)}
}

/* ═══ HERO ═══════════════════════════════════════ */
#hero{
  padding-top:68px;min-height:100svh;
  display:flex;align-items:center;
  background:var(--bg);position:relative;overflow:hidden;
}
.hero-blob-1{position:absolute;top:-120px;right:-60px;width:580px;height:580px;border-radius:50%;background:radial-gradient(circle,rgba(36,129,215,.09) 0%,transparent 68%);pointer-events:none}
.hero-blob-2{position:absolute;bottom:-80px;left:-80px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(192,144,64,.08) 0%,transparent 68%);pointer-events:none}
.hero-blob-3{position:absolute;top:55%;right:18%;width:200px;height:200px;border-radius:50%;background:radial-gradient(circle,rgba(36,129,215,.05) 0%,transparent 70%);pointer-events:none}
.hero-inner{
  position:relative;z-index:1;
  display:grid;grid-template-columns:1.1fr 0.9fr;
  gap:52px;align-items:center;padding:76px 0;
}
.hero-clinic-badge{
  display:inline-flex;align-items:center;gap:9px;
  background:var(--white);border:1px solid var(--border);
  border-radius:var(--r-pill);padding:7px 16px 7px 12px;
  font-size:.78rem;font-weight:600;color:var(--text-500);
  margin-bottom:20px;box-shadow:var(--sh-s);letter-spacing:.02em;
}
.hero-badge-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;background:var(--blue-500);box-shadow:0 0 0 3px rgba(36,129,215,.18)}
.hero-h1{
  font-family:'Noto Serif Thai',serif;
  font-size:clamp(2.3rem,5.5vw,3.5rem);
  font-weight:800;color:var(--text-900);
  line-height:1.15;margin-bottom:10px;letter-spacing:-.01em;
}
.hero-h1 em{color:var(--blue-600);font-style:normal}
.hero-rule{width:52px;height:3px;border-radius:2px;margin:16px 0;background:linear-gradient(90deg,var(--gold),var(--blue-400))}
.hero-sub{font-size:1.1rem;color:var(--text-500);font-weight:500;line-height:1.7;margin-bottom:4px}
.hero-sub-en{font-size:.88rem;color:var(--text-300);font-style:italic;line-height:1.5;margin-bottom:14px}
.hero-desc{font-size:.94rem;color:var(--text-500);line-height:1.95;margin-bottom:4px}
.hero-desc-en{font-size:.82rem;color:var(--text-300);font-style:italic;line-height:1.7;margin-bottom:28px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:30px}
.btn-hero-primary{
  display:inline-flex;align-items:center;gap:10px;
  background:linear-gradient(135deg,var(--blue-700) 0%,var(--blue-500) 100%);
  color:white;padding:14px 28px;border-radius:var(--r-pill);
  font-size:.95rem;font-weight:700;letter-spacing:.01em;
  box-shadow:0 6px 24px rgba(18,83,164,.35);transition:.25s;
}
.btn-hero-primary:hover{transform:translateY(-2px);box-shadow:0 10px 32px rgba(18,83,164,.45)}
.btn-hero-primary svg{width:18px;height:18px;fill:white;flex-shrink:0}
.btn-hero-ghost{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--white);color:var(--blue-700);
  padding:13px 22px;border-radius:var(--r-pill);
  font-size:.95rem;font-weight:700;
  border:2px solid var(--blue-200);
  box-shadow:var(--sh-s);transition:.25s;
}
.btn-hero-ghost:hover{background:var(--blue-50);border-color:var(--blue-400);box-shadow:var(--sh-m)}
.btn-hero-ghost svg{width:15px;height:15px;stroke:currentColor;stroke-width:2.5;fill:none}
.hero-trust{display:flex;flex-wrap:wrap;gap:10px}
.trust-chip{
  display:flex;align-items:center;gap:7px;
  background:var(--white);border:1px solid var(--border);
  border-radius:var(--r-pill);padding:7px 13px;
  font-size:.78rem;font-weight:600;color:var(--text-500);
  box-shadow:var(--sh-s);transition:.2s;
}
.trust-chip:hover{border-color:var(--blue-300);color:var(--blue-700);box-shadow:var(--sh-m)}
.trust-chip-icon{width:24px;height:24px;border-radius:var(--r-xs);display:flex;align-items:center;justify-content:center;background:var(--blue-50)}
.trust-chip-icon svg{width:13px;height:13px;fill:var(--blue-600)}

/* Hero panel */
.hero-panel{display:flex;flex-direction:column;gap:14px}
.hero-card{
  background:var(--white);border:1px solid var(--border);
  border-radius:var(--r-l);padding:20px 18px;
  box-shadow:var(--sh-m);position:relative;overflow:hidden;
}
.hero-card::after{content:'';position:absolute;top:-40px;right:-40px;width:120px;height:120px;border-radius:50%;background:var(--blue-50)}
.hero-card-head{display:flex;align-items:center;gap:12px;margin-bottom:10px;position:relative;z-index:1}
.hero-card-icon{width:44px;height:44px;border-radius:var(--r-s);flex-shrink:0;background:linear-gradient(135deg,var(--blue-700),var(--blue-500));display:flex;align-items:center;justify-content:center;box-shadow:0 6px 14px rgba(18,83,164,.28)}
.hero-card-icon svg{width:22px;height:22px;fill:white}
.hero-card-title{font-family:'Noto Serif Thai',serif;font-size:.97rem;font-weight:700;color:var(--text-900)}
.hero-card-sub{font-size:.78rem;color:var(--text-300);font-style:italic}
.hero-card-text{font-size:.86rem;color:var(--text-500);line-height:1.82;position:relative;z-index:1}
.hero-info-chips{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.info-chip{
  background:var(--white);border:1px solid var(--border);
  border-radius:var(--r-m);padding:12px 13px;
  box-shadow:var(--sh-s);transition:.2s;
  display:flex;align-items:center;gap:9px;
}
.info-chip:hover{border-color:var(--blue-200);box-shadow:var(--sh-m)}
.info-chip-icon{width:30px;height:30px;flex-shrink:0;border-radius:var(--r-xs);background:var(--blue-50);display:flex;align-items:center;justify-content:center}
.info-chip-icon svg{width:15px;height:15px;fill:var(--blue-600)}
.info-chip-text{font-size:.78rem;font-weight:700;color:var(--text-700);line-height:1.3}
.info-chip-sub{font-size:.69rem;color:var(--text-300);margin-top:2px;font-style:italic}

@media(max-width:760px){
  .hero-inner{grid-template-columns:1fr;gap:32px;padding:48px 0 56px}
  .hero-panel{display:grid;grid-template-columns:1fr;gap:12px}
  .hero-info-chips{grid-template-columns:1fr 1fr}
}

/* ═══ SERVICES ══════════════════════════════════ */
#services{background:var(--white);padding:80px 0}
.services-header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:44px}
.svc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
/* 7 cards: pin to 3 columns on desktop and center the lone last card */
/* Service grid: 3-col on typical desktop; 4-col on wide screens (≥1280px) */
@media(min-width:1280px){.svc-grid{grid-template-columns:repeat(4,1fr)}}
.svc-card{
  background:var(--bg);border:1px solid var(--border);
  border-radius:var(--r-l);padding:24px 22px;
  transition:.28s;position:relative;overflow:hidden;
  cursor:pointer;display:block;color:inherit;
}
.svc-card::after{
  content:'';position:absolute;bottom:0;left:0;right:0;height:2px;
  background:linear-gradient(90deg,var(--blue-600),var(--blue-400));
  transform:scaleX(0);transform-origin:left;transition:transform .28s;
}
.svc-card:hover{box-shadow:var(--sh-m);transform:translateY(-4px);border-color:var(--blue-200);background:var(--white)}
.svc-card:hover::after{transform:scaleX(1)}
.svc-icon-wrap{width:44px;height:44px;border-radius:var(--r-s);display:flex;align-items:center;justify-content:center;margin-bottom:10px;transition:.28s;background:var(--blue-50)}
.svc-card:hover .svc-icon-wrap{background:linear-gradient(135deg,var(--blue-700),var(--blue-500));box-shadow:0 6px 16px rgba(18,83,164,.26)}
.svc-icon-wrap svg{width:22px;height:22px;fill:none;stroke:var(--blue-600);stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;transition:.28s}
.svc-card:hover .svc-icon-wrap svg{stroke:white;fill:none}
.svc-name{font-family:'Noto Serif Thai',serif;font-size:.95rem;font-weight:700;color:var(--text-900);margin-bottom:5px}
.svc-desc{font-size:.84rem;color:var(--text-500);line-height:1.68}
.svc-desc a{display:inline-flex;align-items:center;gap:4px;margin-top:10px;font-size:.76rem;font-weight:700;color:var(--blue-600);text-decoration:none}
.svc-desc a:hover{text-decoration:underline}

/* ═══ TRUST STRIP ════════════════════════════════ */
#trust-strip{
  background:linear-gradient(135deg,var(--blue-800) 0%,var(--blue-600) 60%,var(--blue-500) 100%);
  padding:42px 0;position:relative;overflow:hidden;
}
#trust-strip::before{content:'';position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='36' stroke='rgba(255,255,255,.04)' stroke-width='1' fill='none'/%3E%3C/svg%3E") repeat}
.trust-strip-inner{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.ts-item{display:flex;flex-direction:column;align-items:center;padding:10px 16px;border-right:1px solid rgba(255,255,255,.14);text-align:center}
.ts-item:last-child{border-right:none}
.ts-icon{width:44px;height:44px;border-radius:var(--r-m);background:rgba(255,255,255,.13);display:flex;align-items:center;justify-content:center;margin-bottom:8px}
.ts-icon svg{width:21px;height:21px;fill:white}
.ts-label{font-size:.86rem;font-weight:700;color:white;line-height:1.3}
.ts-sub{font-size:.72rem;color:rgba(255,255,255,.62);margin-top:2px;font-style:italic}

@media(max-width:640px){
  .trust-strip-inner{grid-template-columns:1fr 1fr}
  .ts-item{border-right:none;border-bottom:1px solid rgba(255,255,255,.14)}
  .ts-item:nth-child(odd){border-right:1px solid rgba(255,255,255,.14)}
  .ts-item:nth-last-child(-n+2){border-bottom:none}
}

/* ═══ WHY US ════════════════════════════════════ */
#why{padding:80px 0;background:var(--bg);position:relative;overflow:hidden}
#why::before{content:'';position:absolute;top:-80px;right:-60px;width:460px;height:460px;border-radius:50%;background:radial-gradient(circle,rgba(192,144,64,.06) 0%,transparent 70%)}
.why-grid{display:grid;grid-template-columns:1fr 1fr;gap:68px;align-items:center}
.why-points{display:flex;flex-direction:column;gap:12px;margin-top:24px}
.why-point{display:flex;align-items:flex-start;gap:13px;background:var(--white);border:1px solid var(--border);border-radius:var(--r-m);padding:14px 16px;box-shadow:var(--sh-s);transition:.22s}
.why-point:hover{border-color:var(--blue-200);box-shadow:var(--sh-m)}
.why-tick{width:26px;height:26px;flex-shrink:0;border-radius:50%;background:linear-gradient(135deg,var(--blue-700),var(--blue-500));display:flex;align-items:center;justify-content:center;margin-top:1px;box-shadow:0 3px 8px rgba(18,83,164,.24)}
.why-tick svg{width:12px;height:12px;stroke:white;stroke-width:2.5;fill:none}
.why-point-text{font-size:.92rem;color:var(--text-700);font-weight:500;line-height:1.6}
.why-panel{background:linear-gradient(155deg,var(--blue-800) 0%,var(--blue-600) 100%);border-radius:var(--r-xl);padding:34px 30px;box-shadow:var(--sh-l);position:relative;overflow:hidden}
.why-panel::before{content:'';position:absolute;top:-60px;right:-60px;width:200px;height:200px;border-radius:50%;background:rgba(255,255,255,.06)}
.why-panel::after{content:'';position:absolute;bottom:-80px;left:-40px;width:240px;height:240px;border-radius:50%;background:rgba(255,255,255,.04)}
.why-panel-title{font-family:'Noto Serif Thai',serif;font-size:1.12rem;font-weight:700;color:white;margin-bottom:3px;position:relative;z-index:1;line-height:1.4}
.why-panel-sub{font-size:.82rem;color:rgba(255,255,255,.6);margin-bottom:22px;position:relative;z-index:1;font-style:italic}
.why-pillars{display:flex;flex-direction:column;gap:10px;position:relative;z-index:1}
.pillar{background:rgba(255,255,255,.1);border-radius:var(--r-m);padding:13px 15px;border:1px solid rgba(255,255,255,.13);display:flex;align-items:center;gap:12px;transition:.2s}
.pillar:hover{background:rgba(255,255,255,.17)}
.pillar-dot{width:32px;height:32px;flex-shrink:0;border-radius:var(--r-xs);background:rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center}
.pillar-dot svg{width:16px;height:16px;fill:rgba(255,255,255,.92)}
.pillar-text{font-size:.85rem;color:rgba(255,255,255,.9);font-weight:600;line-height:1.4}
.pillar-sub{font-size:.73rem;color:rgba(255,255,255,.55);margin-top:2px;font-style:italic}

@media(max-width:720px){.why-grid{grid-template-columns:1fr;gap:36px}}

/* ═══ DOCTOR ════════════════════════════════════ */
#doctor{background:var(--white);padding:80px 0}
.doctor-intro{text-align:center;max-width:580px;margin:0 auto}
.doctor-intro .section-lead{margin:0 auto}
.doctor-intro .section-lead-en{font-size:.9rem;color:var(--text-300);font-style:italic;line-height:1.75;margin-top:8px;text-align:center}
.team-approach{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:46px}
.ta-card{background:var(--bg);border:1px solid var(--border);border-radius:var(--r-l);padding:22px 18px;text-align:center;transition:.25s}
.ta-card:hover{box-shadow:var(--sh-m);border-color:var(--blue-200);transform:translateY(-3px)}
.ta-icon{width:48px;height:48px;border-radius:50%;background:var(--blue-50);border:2px solid var(--blue-100);display:flex;align-items:center;justify-content:center;margin:0 auto 12px}
.ta-icon svg{width:23px;height:23px;fill:var(--blue-600)}
.ta-title{font-family:'Noto Serif Thai',serif;font-size:.94rem;font-weight:700;color:var(--text-900);margin-bottom:4px}
.ta-title-en{font-size:.74rem;color:var(--text-300);font-style:italic;margin-bottom:8px;display:block}
.ta-desc{font-size:.83rem;color:var(--text-500);line-height:1.75}

/* Doctor card — professional single card */
.doctor-card-wrap{max-width:560px;margin:36px auto 0}
.dr-single{
  background:var(--bg);border:1px solid var(--border);
  border-radius:var(--r-l);padding:28px;
  display:flex;align-items:center;gap:22px;
  box-shadow:var(--sh-m);transition:.25s;
}
.dr-single:hover{box-shadow:var(--sh-l);border-color:var(--blue-200)}
.dr-avatar-wrap{position:relative;flex-shrink:0}
.dr-avatar{
  width:90px;height:90px;border-radius:50%;
  background:linear-gradient(135deg,var(--blue-100),var(--blue-50));
  border:3px solid var(--white);
  box-shadow:0 0 0 2px var(--blue-300),var(--sh-s);
  display:flex;align-items:center;justify-content:center;
}
.dr-avatar svg{width:48px;height:48px;fill:var(--blue-400)}
.dr-badge-icon{position:absolute;bottom:0;right:-2px;width:24px;height:24px;border-radius:50%;background:var(--blue-600);border:2px solid var(--white);display:flex;align-items:center;justify-content:center}
.dr-badge-icon svg{width:12px;height:12px;fill:white}
.dr-info{flex:1}
.dr-name{font-family:'Noto Serif Thai',serif;font-size:1.08rem;font-weight:700;color:var(--text-900);margin-bottom:2px}
.dr-name-en{display:block;font-size:.82rem;color:var(--text-500);font-weight:500;margin-bottom:8px;font-style:italic}
.dr-spec{
  display:inline-block;background:var(--blue-50);color:var(--blue-700);
  font-size:.74rem;font-weight:700;padding:4px 12px;border-radius:var(--r-pill);
  border:1px solid var(--blue-100);margin-bottom:3px;letter-spacing:.03em;
}
.dr-spec-en{display:block;font-size:.74rem;color:var(--text-300);font-style:italic;margin-bottom:10px}
.dr-note{font-size:.84rem;color:var(--text-500);line-height:1.72}
.dr-note-en{display:block;font-size:.78rem;color:var(--text-300);font-style:italic;margin-top:5px;line-height:1.6}

@media(max-width:640px){
  .team-approach{grid-template-columns:1fr}
  .dr-single{flex-direction:column;text-align:center;padding:24px 20px;gap:16px}
  .dr-info{width:100%}
}

/* ═══ HOURS ═════════════════════════════════════ */
#hours{padding:80px 0;background:var(--bg-2);position:relative;overflow:hidden}
#hours::after{content:'';position:absolute;bottom:0;right:0;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,rgba(36,129,215,.07) 0%,transparent 70%)}
.hours-grid{display:grid;grid-template-columns:1.1fr 0.9fr;gap:44px;align-items:start;margin-top:40px}
.hours-table-wrap{background:var(--white);border:1px solid var(--border);border-radius:var(--r-l);overflow:hidden;box-shadow:var(--sh-s)}
.hours-row{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;border-bottom:1px solid var(--border);transition:.15s;min-height:52px}
.hours-row:last-child{border-bottom:none}
.hours-row:hover{background:var(--blue-50)}
.hours-day{font-size:.93rem;font-weight:600;color:var(--text-700);line-height:1.35}
.hours-day-en{display:block;font-size:.70rem;color:var(--text-300);font-style:italic;font-weight:400}
.hours-time{font-size:.88rem;font-weight:700;color:var(--blue-700);background:var(--blue-50);padding:4px 12px;border-radius:var(--r-pill);border:1px solid var(--blue-100)}
.hours-time.closed{color:var(--text-300);background:var(--bg-3);border-color:var(--border)}
.hours-note-box{background:var(--white);border:1px solid var(--border);border-radius:var(--r-l);padding:20px;box-shadow:var(--sh-s)}
.hours-note-head{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.hours-note-icon{width:34px;height:34px;border-radius:var(--r-xs);background:var(--gold-50);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.hours-note-icon svg{width:18px;height:18px;fill:var(--gold)}
.hours-note-title{font-size:.92rem;font-weight:700;color:var(--text-900)}
.hours-note-title-en{font-size:.72rem;color:var(--text-300);font-style:italic;display:block}
.hours-note-text{font-size:.86rem;color:var(--text-500);line-height:1.82}
.hours-note-text a{color:var(--blue-600);font-weight:600}
.hours-note-text a:hover{text-decoration:underline}
.hours-emergency{background:linear-gradient(135deg,#fff8f5,#ffece4);border:1px solid #f5c8b4;border-radius:var(--r-l);padding:18px 20px;margin-top:12px}
.hours-emg-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.hours-emg-icon{width:32px;height:32px;border-radius:var(--r-xs);background:#fee0d0;display:flex;align-items:center;justify-content:center}
.hours-emg-icon svg{width:16px;height:16px;fill:#c04020}
.hours-emg-title{font-size:.88rem;font-weight:700;color:#8b3010}
.hours-emg-text{font-size:.83rem;color:#7a4030;line-height:1.82}
.hours-emg-text strong{color:#c04020}

@media(max-width:680px){.hours-grid{grid-template-columns:1fr}}

/* ═══ CONTACT ═══════════════════════════════════ */
#contact{background:var(--white);padding:80px 0}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:40px}
.contact-info-card{background:var(--bg);border:1px solid var(--border);border-radius:var(--r-l);padding:26px;box-shadow:var(--sh-s)}
.contact-info-title{font-family:'Noto Serif Thai',serif;font-size:.98rem;font-weight:700;color:var(--text-900);margin-bottom:18px}
.contact-info-title-en{display:block;font-size:.72rem;color:var(--text-300);font-style:italic;font-weight:400;margin-top:1px}
.contact-items{display:flex;flex-direction:column;gap:14px}
.ci{display:flex;align-items:flex-start;gap:12px}
.ci-icon{width:38px;height:38px;flex-shrink:0;border-radius:var(--r-s);display:flex;align-items:center;justify-content:center}
.ci-icon svg{width:18px;height:18px}
.ci-icon.phone{background:#e6f7ee}.ci-icon.phone svg{fill:#1ea055}
.ci-icon.line{background:#e4f7e4}.ci-icon.line svg{fill:#00a800}
.ci-icon.fb{background:#e5edf9}.ci-icon.fb svg{fill:#1877f2}
.ci-icon.map{background:var(--blue-50)}.ci-icon.map svg{fill:var(--blue-600)}
.ci-icon.email{background:#fff3e5}.ci-icon.email svg{fill:#d07820}
.ci-label{font-size:.68rem;font-weight:700;color:var(--text-300);text-transform:uppercase;letter-spacing:.08em;margin-bottom:1px}
.ci-label-en{font-size:.64rem;color:var(--text-200);font-style:italic;display:block;margin-bottom:2px}
.ci-val{font-size:.92rem;color:var(--text-700);font-weight:500}
.ci-val a{color:var(--blue-600);font-weight:600}
.ci-val a:hover{text-decoration:underline}
.ci-landmark{font-size:.80rem;color:var(--text-400,var(--text-500));margin-top:3px;line-height:1.65}
.ci-landmark-en{font-size:.76rem;color:var(--text-300);font-style:italic;margin-top:2px;line-height:1.55;display:block}

.contact-right{display:flex;flex-direction:column;gap:14px}
.cta-block{background:var(--bg);border:1px solid var(--border);border-radius:var(--r-l);padding:22px;box-shadow:var(--sh-s)}
.cta-block-title{font-family:'Noto Serif Thai',serif;font-size:.96rem;font-weight:700;color:var(--text-900);margin-bottom:3px}
.cta-block-title-en{font-size:.72rem;color:var(--text-300);font-style:italic;margin-bottom:12px;display:block}
.cta-btns{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.cbtn{
  display:flex;align-items:center;justify-content:center;gap:7px;
  padding:11px 12px;min-height:48px;
  border-radius:var(--r-m);font-size:.86rem;font-weight:700;
  font-family:'Sarabun',sans-serif;transition:.2s;
}
.cbtn svg{width:16px;height:16px;flex-shrink:0}
.cbtn:hover{transform:translateY(-2px)}
.cbtn-call{background:linear-gradient(135deg,#1ea055,#17883f);color:white;box-shadow:0 4px 14px rgba(30,160,85,.28)}.cbtn-call:hover{box-shadow:0 6px 20px rgba(30,160,85,.40)}.cbtn-call svg{fill:white}
.cbtn-line{background:linear-gradient(135deg,#00b900,#009200);color:white;box-shadow:0 4px 14px rgba(0,185,0,.22)}.cbtn-line:hover{box-shadow:0 6px 20px rgba(0,185,0,.35)}.cbtn-line svg{fill:white}
.cbtn-map{background:linear-gradient(135deg,var(--blue-700),var(--blue-500));color:white;box-shadow:0 4px 14px rgba(18,83,164,.28)}.cbtn-map:hover{box-shadow:0 6px 20px rgba(18,83,164,.40)}.cbtn-map svg{fill:white}
.cbtn-fb{background:linear-gradient(135deg,#1877f2,#1060cc);color:white;box-shadow:0 4px 14px rgba(24,119,242,.24)}.cbtn-fb:hover{box-shadow:0 6px 20px rgba(24,119,242,.38)}.cbtn-fb svg{fill:white}

/* Map card */
.map-card{background:linear-gradient(135deg,var(--blue-50) 0%,var(--white) 100%);border:1px solid var(--border);border-radius:var(--r-l);padding:20px;box-shadow:var(--sh-s);display:flex;flex-direction:column;gap:12px}
.map-card-head{display:flex;align-items:center;gap:11px}
.map-card-pin{width:38px;height:38px;border-radius:var(--r-s);flex-shrink:0;background:linear-gradient(135deg,var(--blue-700),var(--blue-500));display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(18,83,164,.24)}
.map-card-pin svg{width:19px;height:19px;fill:white}
.map-card-title{font-family:'Noto Serif Thai',serif;font-size:.93rem;font-weight:700;color:var(--text-900)}
.map-card-sub{font-size:.74rem;color:var(--text-300);font-style:italic}
.map-card-desc{font-size:.82rem;color:var(--text-500);line-height:1.75}
.map-card-btn{
  display:flex;align-items:center;justify-content:center;gap:8px;
  background:linear-gradient(135deg,var(--blue-700),var(--blue-500));
  color:white;padding:11px 18px;border-radius:var(--r-m);
  font-size:.88rem;font-weight:700;font-family:'Sarabun',sans-serif;
  box-shadow:0 4px 16px rgba(18,83,164,.30);transition:.2s;
}
.map-card-btn:hover{transform:translateY(-2px);box-shadow:0 6px 22px rgba(18,83,164,.42)}
.map-card-btn svg{width:16px;height:16px;fill:white;flex-shrink:0}

.contact-hint{background:var(--blue-50);border:1px solid var(--blue-100);border-radius:var(--r-m);padding:13px 16px}
.contact-hint p{font-size:.83rem;color:var(--text-500);line-height:1.8}
.contact-hint strong{color:var(--blue-700)}

@media(max-width:680px){.contact-grid{grid-template-columns:1fr}}

/* ═══ FAQ ════════════════════════════════════════ */
#faq{background:var(--bg);padding:80px 0}
.faq-grid{display:grid;grid-template-columns:0.9fr 1.1fr;gap:60px;align-items:start;margin-top:40px}
.faq-aside{position:sticky;top:88px}
.faq-aside-desc{font-size:.93rem;color:var(--text-500);line-height:1.88;margin:12px 0 8px}
.faq-aside-desc-en{font-size:.80rem;color:var(--text-300);font-style:italic;line-height:1.65;margin-bottom:20px}
.faq-contact-link{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg,var(--blue-700),var(--blue-500));color:white;padding:11px 20px;border-radius:var(--r-pill);font-size:.86rem;font-weight:700;box-shadow:0 4px 16px rgba(18,83,164,.28);transition:.2s}
.faq-contact-link:hover{transform:translateY(-2px);box-shadow:0 6px 22px rgba(18,83,164,.38)}
.faq-contact-link svg{width:15px;height:15px;fill:white}
.faq-list{display:flex;flex-direction:column;gap:9px}
.faq-item{background:var(--white);border:1px solid var(--border);border-radius:var(--r-m);overflow:hidden;box-shadow:var(--sh-s);transition:.25s}
.faq-item.open{border-color:var(--blue-200);box-shadow:var(--sh-m)}
.faq-q{display:flex;justify-content:space-between;align-items:flex-start;padding:15px 18px;cursor:pointer;user-select:none;gap:12px;transition:.2s}
.faq-q:hover .faq-q-main{color:var(--blue-600)}
.faq-item.open .faq-q-main{color:var(--blue-700)}
.faq-q-main{font-weight:600;font-size:.95rem;color:var(--text-900);line-height:1.42;flex:1}
.faq-q-toggle{width:26px;height:26px;flex-shrink:0;border-radius:50%;background:var(--blue-50);border:1.5px solid var(--blue-100);display:flex;align-items:center;justify-content:center;transition:.3s;margin-top:2px}
.faq-q-toggle svg{width:11px;height:11px;stroke:var(--blue-600);stroke-width:2.5;fill:none;transition:.3s}
.faq-item.open .faq-q-toggle{background:var(--blue-600);border-color:var(--blue-600);transform:rotate(45deg)}
.faq-item.open .faq-q-toggle svg{stroke:white}
.faq-a{max-height:0;overflow:hidden;transition:max-height .38s cubic-bezier(.4,0,.2,1),padding .3s;font-size:.92rem;color:var(--text-500);line-height:1.82;padding:0 18px}
.faq-item.open .faq-a{max-height:260px;padding:0 18px 16px}
.faq-a-en{display:block;font-size:.78rem;color:var(--text-300);font-style:italic;margin-top:5px;line-height:1.65}

@media(max-width:700px){.faq-grid{grid-template-columns:1fr;gap:26px}.faq-aside{position:static}}

/* ═══ DISCLAIMER + FOOTER ════════════════════════ */
#disclaimer{background:var(--bg-3);border-top:1px solid var(--border);padding:26px 0}
.disclaimer-inner{display:flex;align-items:flex-start;gap:12px;max-width:780px;margin:0 auto;padding:0 24px}
.disclaimer-icon{width:32px;height:32px;flex-shrink:0;border-radius:var(--r-xs);background:var(--gold-50);border:1px solid var(--gold-light);display:flex;align-items:center;justify-content:center}
.disclaimer-icon svg{width:16px;height:16px;fill:var(--gold)}
.disclaimer-text{font-size:.81rem;color:var(--text-500);line-height:1.9}
.disclaimer-text strong{color:var(--text-700);font-weight:700}
.disclaimer-text .en{margin-top:3px;font-size:.76rem}

footer{background:var(--blue-900);padding:36px 24px 26px;text-align:center}
.footer-logo-img{width:68px;height:68px;object-fit:contain;margin:0 auto 10px;display:block;border-radius:var(--r-m);background:white}
.footer-clinic-name{font-family:'Noto Serif Thai',serif;font-size:1.05rem;font-weight:700;color:white;margin-bottom:2px}
.footer-en-name{font-size:.72rem;color:var(--blue-300);letter-spacing:.08em;margin-bottom:14px}
.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 14px;margin-bottom:14px}
.footer-links a{font-size:.80rem;color:rgba(255,255,255,.44);transition:.2s}
.footer-links a:hover{color:var(--blue-300)}
.footer-copy{font-size:.72rem;color:rgba(255,255,255,.24);line-height:1.7}

/* ═══ FLOATING + SCROLL TOP ══════════════════════ */
.floats{position:fixed;bottom:26px;right:20px;z-index:800;display:flex;flex-direction:column;gap:10px;align-items:flex-end}
.float-pill{display:flex;align-items:center;gap:9px;padding:10px 17px 10px 12px;border-radius:var(--r-pill);color:white;font-size:.84rem;font-weight:700;font-family:'Sarabun',sans-serif;box-shadow:0 5px 20px rgba(0,0,0,.22);transition:.25s;white-space:nowrap}
.float-pill:hover{transform:translateX(-4px) scale(1.02);box-shadow:0 8px 28px rgba(0,0,0,.30)}
.float-pill-icon{width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.float-pill-icon svg{width:15px;height:15px;fill:white}
.float-line{background:linear-gradient(135deg,#00c300,#009a00)}
.float-fb{background:linear-gradient(135deg,#2196f3,#1565c0)}

#scrollTop{position:fixed;bottom:100px;right:22px;z-index:799;width:40px;height:40px;border-radius:50%;background:var(--white);border:1.5px solid var(--border);box-shadow:var(--sh-m);cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;transform:translateY(10px);transition:opacity .3s,transform .3s}
#scrollTop.visible{opacity:1;transform:translateY(0)}
#scrollTop svg{width:17px;height:17px;stroke:var(--blue-600);stroke-width:2.5;fill:none}

/* ═══ MOBILE ════════════════════════════════════ */
@media(max-width:640px){
  #services,#why,#doctor,#hours,#contact,#faq,#articles{padding:52px 0}
  #trust-strip{padding:30px 0}
  .svc-grid{grid-template-columns:1fr}
  .svc-card{padding:18px 16px}
  .hero-inner{padding:44px 0 50px}
  .hero-info-chips{grid-template-columns:1fr 1fr;gap:8px}
  .info-chip{padding:10px 11px}
  .why-panel{border-radius:20px;padding:26px 22px}
  .hours-table-wrap,.hours-note-box,.hours-emergency{border-radius:var(--r-m)}
  .cta-btns{gap:8px}
  .cbtn{padding:11px 10px;font-size:.84rem;min-height:52px}
  .map-card{padding:16px}
  .faq-aside{position:static}
  .float-pill{width:50px;height:50px;border-radius:50%;padding:0;justify-content:center}
  .float-pill-text{display:none}
  .float-pill-icon{width:50px;height:50px;background:none;border-radius:50%}
  .float-pill-icon svg{width:22px;height:22px}
  .floats{gap:9px}
  #scrollTop{bottom:112px;right:12px}
  .nav-logo-img{width:36px;height:36px}
}

/* ═══ ARTICLES PREVIEW ══════════════════════════════════════ */
#articles{background:var(--white);padding:80px 0}
.art-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:44px}
.art-card{
  background:var(--bg);border:1px solid var(--border);
  border-radius:var(--r-l);overflow:hidden;display:flex;flex-direction:column;
  text-decoration:none;color:inherit;transition:.28s;
}
.art-card:hover{box-shadow:var(--sh-m);transform:translateY(-4px);border-color:var(--blue-200);background:var(--white)}
.art-img{height:108px;display:flex;align-items:center;justify-content:center}
.art-img svg{width:44px;height:44px}
.art-img--blood{background:linear-gradient(135deg,var(--blue-50),var(--blue-100))}
.art-img--anemia{background:linear-gradient(135deg,#fdf4f4,#fde0e0)}
.art-img--pep{background:linear-gradient(135deg,#f0f8f4,#d4edd8)}
.art-body{padding:18px 20px;flex:1;display:flex;flex-direction:column;gap:5px}
.art-cat{font-size:.70rem;font-weight:700;color:var(--blue-600);text-transform:uppercase;letter-spacing:.08em}
.art-title{font-family:'Noto Serif Thai',serif;font-size:.97rem;font-weight:700;color:var(--text-900);line-height:1.4}
.art-en{font-size:.76rem;color:var(--text-300);font-style:italic}
.art-read{margin-top:auto;padding-top:10px;font-size:.80rem;font-weight:700;color:var(--blue-600);display:flex;align-items:center;gap:5px}
.art-read svg{width:13px;height:13px;stroke:currentColor;stroke-width:2.5;fill:none;transition:transform .2s}
.art-card:hover .art-read svg{transform:translateX(3px)}
.art-view-all{text-align:center;margin-top:32px}
.btn-view-all{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--white);color:var(--blue-700);
  padding:11px 26px;border-radius:var(--r-pill);
  font-size:.9rem;font-weight:700;
  border:2px solid var(--blue-200);transition:.22s;text-decoration:none;
}
.btn-view-all:hover{background:var(--blue-50);border-color:var(--blue-400);box-shadow:var(--sh-m)}
.btn-view-all svg{width:14px;height:14px;stroke:currentColor;stroke-width:2.5;fill:none}
@media(max-width:720px){.art-grid{grid-template-columns:1fr;gap:12px}}
@media(max-width:640px){#articles{padding:60px 0}}

/* ── Service card div links (replaces nested <a> pattern) ─────── */
.svc-card{cursor:pointer}
.svc-card:hover{box-shadow:var(--sh-m);transform:translateY(-4px);border-color:var(--blue-200)}
.svc-detail-link:hover,.svc-art-link:hover{text-decoration:underline}
