/* ══ KIDSMILE — NHA KHOA TRẺ EM — SOFT-PASTEL Identity ══ */
/* Font: DM Sans (heading italic weight 300) | Tone: light pastel, vui tươi | Identity: SOFT-PASTEL */
/* Accent: Lilac/Lavender #9b7ef0 | Nav: Centered Logo + Links Below (Nav-5) | Hero: Asymmetric Offset (H6) */
/* Prefix: ks- (kidsmile) */

:root {
  /* ── Nền & bề mặt ── */
  --bg:           #faf8ff;   /* Nền tổng thể — trắng ánh lilac */
  --surface:      #ffffff;   /* Card, panel, nav */
  --mint:         #eafcf4;   /* Nền mint pastel nhạt */
  --mint-b:       #cdf3e0;   /* Border/accent mint */
  --lilac:        #f2edfd;   /* Nền lilac pastel nhạt */
  --lilac-b:      #e2d4fb;   /* Border/accent lilac */
  --dark:         #2b2350;   /* Dùng cho text nhấn tối, không phải nền footer */
  --dark2:        #372c63;

  /* ── Border ── */
  --border:       #ece6f8;
  --border-light: #f4f1fb;

  /* ── Chữ ── */
  --text:         #2e2a3d;
  --text-2:       #6c6482;
  --text-3:       #a59db8;

  /* ── Accent chính: Lilac/Lavender ── */
  --accent:       #9b7ef0;
  --accent-h:     #8467dc;
  --accent-light: #f1ecfd;
  --accent-mid:   #b39ff5;

  /* ── Accent phụ: Mint xanh lá vui tươi ── */
  --mint-accent:   #34c98e;
  --mint-accent-h: #23a877;

  /* ── Điểm nhấn phụ ── */
  --sun:    #ffcb5c;  /* vàng nắng dịu — dùng cho sao đánh giá / badge nhỏ */
  --sky:    #6fc9f2;  /* xanh da trời dịu — icon phụ */
  --danger: #ff6b7f;  /* validation form */

  --sans: 'DM Sans', sans-serif;
  --bs-body-font-family: var(--sans);
  --bs-body-bg: var(--bg);
  --bs-body-color: var(--text);
  --bs-border-color: var(--border);
}

/* ── Reset & Base ── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after { box-sizing: border-box; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: var(--sans); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--lilac); }
::-webkit-scrollbar-thumb { background: var(--accent-mid); border-radius: 8px; }

/* ── Layout ── */
.wd-container { max-width: 1100px; margin: 0 auto; padding: 0 clamp(20px,5vw,80px); }
.ks-sec-pad { padding: clamp(64px,9vw,112px) 0; }
.ks-sec-pad-sm { padding: clamp(48px,6vw,72px) 0; }

/* ── Reveal animation — data-reveal attribute ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1);
}
[data-reveal].visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .4s; }

/* ── Headings — italic weight 300, strong = nhấn màu accent không nghiêng ── */
h1, h2, h3, .ks-heading {
  font-family: var(--sans);
  font-style: italic;
  font-weight: 300;
  color: var(--text);
  margin: 0;
  line-height: 1.15;
}
h1 strong, h2 strong, h3 strong, .ks-heading strong {
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
}
h1 em, h2 em, h3 em, .ks-heading em {
  font-style: italic;
  font-weight: 300;
  color: var(--mint-accent);
}

/* ══════════════════════════════════════
   BUTTONS — Pill shape, pastel bg, hover glow
══════════════════════════════════════ */
.ks-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 9999px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform .22s, box-shadow .22s, background .22s;
  white-space: nowrap;
}
.ks-btn-lg { padding: 16px 38px; font-size: 15.5px; }
.ks-btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(155,126,240,.32); }
.ks-btn-primary:hover { background: var(--accent-h); box-shadow: 0 14px 36px rgba(155,126,240,.48); transform: translateY(-2px); }
.ks-btn-mint { background: var(--mint-accent); color: #fff; box-shadow: 0 8px 24px rgba(52,201,142,.32); }
.ks-btn-mint:hover { background: var(--mint-accent-h); box-shadow: 0 14px 36px rgba(52,201,142,.48); transform: translateY(-2px); }
.ks-btn-ghost { background: #fff; color: var(--accent); border: 2px solid var(--accent-light); }
.ks-btn-ghost:hover { background: var(--accent-light); box-shadow: 0 8px 22px rgba(155,126,240,.2); transform: translateY(-2px); }
.ks-btn-outline-light { background: rgba(255,255,255,.55); color: var(--accent-h); border: 2px solid rgba(155,126,240,.3); backdrop-filter: blur(6px); }
.ks-btn-outline-light:hover { background: #fff; box-shadow: 0 10px 26px rgba(155,126,240,.25); }
.ks-btn-block { width: 100%; justify-content: center; }

/* ══════════════════════════════════════
   NAV-5 — Centered Logo + Links Below
══════════════════════════════════════ */
#nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(155,126,240,.1);
}
.ks-nav-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0 0;
}
.ks-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: .2px;
  color: var(--text);
}
.ks-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--mint-accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 6px 16px rgba(155,126,240,.35);
}
.ks-logo em { font-style: italic; font-weight: 300; color: var(--accent); }
.ks-nav-row {
  width: 100%;
  border-top: 1px solid var(--border);
  margin-top: 14px;
  padding: 12px 0;
}
.ks-nav-row-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px,5vw,80px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  position: relative;
}
.ks-nav-links { display: flex; align-items: center; gap: 30px; }
.ks-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  padding: 4px 2px;
  position: relative;
  transition: color .2s;
}
.ks-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .25s;
}
.ks-nav-links a:hover { color: var(--accent); }
.ks-nav-links a:hover::after,
.ks-nav-links a.active::after { transform: scaleX(1); }
.ks-nav-links a.active { color: var(--accent); }
.ks-nav-cta {
  position: absolute;
  right: clamp(20px,5vw,80px);
  top: 50%;
  transform: translateY(-50%);
}
.ks-burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--lilac);
  border: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  position: absolute;
  right: clamp(20px,5vw,80px);
  top: 16px;
}
.ks-burger span { width: 20px; height: 2px; background: var(--accent); border-radius: 2px; transition: .25s; }
.ks-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ks-burger.open span:nth-child(2) { opacity: 0; }
.ks-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.ks-nav-mob {
  position: fixed;
  inset: 0;
  top: 0;
  background: var(--surface);
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  transform: translateY(-100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.ks-nav-mob.open { transform: translateY(0); }
.ks-nav-mob a { font-size: 20px; font-weight: 500; color: var(--text); font-style: italic; }
.ks-nav-mob a.active { color: var(--accent); }
.ks-nm-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--lilac);
  border: none;
  font-size: 18px;
  color: var(--accent);
  cursor: pointer;
}

@media (max-width: 991px) {
  .ks-nav-row { display: none; }
  .ks-burger { display: flex; }
  .ks-nav-inner { padding: 14px 0; align-items: flex-start; padding-left: clamp(20px,5vw,80px); }
}

/* ══════════════════════════════════════
   HERO — H6 Asymmetric Offset
   Heading chiếm ~70% width, ảnh absolute lệch phải chồng lên
══════════════════════════════════════ */
.ks-hero {
  position: relative;
  padding: 56px 0 120px;
  background: linear-gradient(180deg, var(--lilac) 0%, var(--bg) 78%);
  overflow: hidden;
}
.ks-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .55;
  z-index: 0;
}
.ks-hero-blob-1 { width: 220px; height: 220px; background: var(--mint-b); top: -60px; left: -60px; }
.ks-hero-blob-2 { width: 140px; height: 140px; background: var(--sun); opacity: .28; top: 60%; left: 6%; }
.ks-hero-blob-3 { width: 90px; height: 90px; background: var(--sky); opacity: .3; bottom: 6%; left: 40%; }
.ks-hero-inner { position: relative; z-index: 1; }
.ks-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: #fff;
  color: var(--accent-h);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .3px;
  box-shadow: 0 6px 18px rgba(155,126,240,.18);
  margin-bottom: 22px;
}
.ks-hero-text { width: 100%; max-width: 640px; }
.ks-hero-title {
  font-size: clamp(36px, 5.2vw, 58px);
  margin-bottom: 20px;
}
.ks-hero-sub {
  font-size: 16.5px;
  font-weight: 300;
  color: var(--text-2);
  max-width: 480px;
  margin-bottom: 30px;
  line-height: 1.65;
}
.ks-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.ks-hero-badges { display: flex; gap: 22px; flex-wrap: wrap; }
.ks-hero-badge { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.ks-hero-badge-dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--mint); display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.ks-hero-media {
  position: absolute;
  right: -8%;
  top: 30px;
  width: 46%;
  max-width: 460px;
  z-index: 1;
}
.ks-hero-media-shape {
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(155,126,240,.3);
  transform: rotate(3deg);
  border: 8px solid #fff;
}
.ks-hero-media-shape img { width: 100%; height: 380px; object-fit: cover; }
.ks-hero-float-card {
  position: absolute;
  background: #fff;
  border-radius: 20px;
  padding: 14px 18px;
  box-shadow: 0 16px 40px rgba(155,126,240,.24);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.ks-hero-float-card-1 { bottom: -22px; left: -30px; }
.ks-hero-float-card-2 { top: -18px; right: 10%; }
.ks-hero-float-emoji { font-size: 22px; }

@media (max-width: 991px) {
  .ks-hero { padding: 40px 0 70px; }
  .ks-hero-text { max-width: 100%; }
  .ks-hero-media { position: relative; right: auto; top: auto; width: 100%; max-width: 420px; margin: 40px auto 0; }
  .ks-hero-media-shape img { height: 300px; }
}

/* ══════════════════════════════════════
   SECTION HEADER
══════════════════════════════════════ */
.ks-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .4px;
  color: var(--mint-accent-h);
  background: var(--mint);
  padding: 7px 16px;
  border-radius: 9999px;
  margin-bottom: 16px;
}
.ks-eyebrow.is-lilac { color: var(--accent-h); background: var(--accent-light); }
.ks-title { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; }
.ks-sub { font-size: 15.5px; font-weight: 300; color: var(--text-2); max-width: 540px; line-height: 1.65; }

/* ══════════════════════════════════════
   FEATURE-ICON-ROW — USP "Vì sao chọn KidSmile"
══════════════════════════════════════ */
.ks-usp-bg { background: var(--bg); }
.ks-usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.ks-usp-item { text-align: center; }
.ks-usp-icon {
  width: 76px;
  height: 76px;
  border-radius: 26px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  background: var(--lilac);
  box-shadow: 0 10px 26px rgba(155,126,240,.16);
  transition: transform .3s, box-shadow .3s;
}
.ks-usp-item:nth-child(2n) .ks-usp-icon { background: var(--mint); }
.ks-usp-item:hover .ks-usp-icon { transform: translateY(-6px) rotate(-4deg); box-shadow: 0 16px 36px rgba(155,126,240,.28); }
.ks-usp-title { font-size: 17px; font-weight: 600; font-style: normal; margin-bottom: 8px; color: var(--text); }
.ks-usp-text { font-size: 13.5px; font-weight: 300; color: var(--text-2); line-height: 1.6; }

@media (max-width: 767px) {
  .ks-usp-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}

/* ══════════════════════════════════════
   GRID-CARDS — Dịch vụ nổi bật / Đánh giá phụ huynh
══════════════════════════════════════ */
.ks-svc-bg { background: var(--lilac); position: relative; }
.ks-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 48px; }
.ks-card {
  background: #fff;
  border-radius: 24px;
  padding: 30px 26px;
  box-shadow: 0 10px 30px rgba(155,126,240,.1);
  transition: transform .3s, box-shadow .3s;
  height: 100%;
}
.ks-card:hover { transform: translateY(-8px); box-shadow: 0 22px 50px rgba(155,126,240,.28); }
.ks-svc-icon {
  width: 58px; height: 58px; border-radius: 18px;
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px;
}
.ks-svc-name { font-size: 18px; font-weight: 600; font-style: normal; margin-bottom: 10px; }
.ks-svc-desc { font-size: 13.5px; font-weight: 300; color: var(--text-2); line-height: 1.6; margin-bottom: 18px; }
.ks-svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ks-svc-tag { font-size: 11.5px; font-weight: 500; color: var(--mint-accent-h); background: var(--mint); padding: 4px 12px; border-radius: 9999px; }
.ks-svc-price { font-size: 13.5px; font-weight: 600; color: var(--accent); }
.ks-svc-link { font-size: 13px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 991px) { .ks-svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .ks-svc-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════
   STAT-BAR
══════════════════════════════════════ */
.ks-stat-bg {
  background: linear-gradient(120deg, var(--accent) 0%, var(--mint-accent) 100%);
}
.ks-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.ks-stat-num { font-size: clamp(32px, 4vw, 46px); font-weight: 700; font-style: normal; color: #fff; margin-bottom: 6px; }
.ks-stat-label { font-size: 13px; font-weight: 400; color: rgba(255,255,255,.88); }
@media (max-width: 767px) { .ks-stat-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; } }

/* ══════════════════════════════════════
   HORIZONTAL-SCROLL — Gallery ảnh trẻ em
══════════════════════════════════════ */
.ks-gallery-bg { background: var(--bg); }
.ks-gallery-scroll {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 10px 0 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.ks-gallery-scroll::-webkit-scrollbar { height: 6px; }
.ks-gallery-item {
  flex: 0 0 auto;
  width: 260px;
  scroll-snap-align: start;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 26px rgba(155,126,240,.14);
}
.ks-gallery-item img { width: 100%; height: 320px; object-fit: cover; transition: transform .5s; }
.ks-gallery-item:hover img { transform: scale(1.06); }
.ks-gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(0deg, rgba(43,35,80,.75) 0%, transparent 100%);
  color: #fff; font-size: 13px; font-weight: 500;
}
.ks-gallery-hint { text-align: center; font-size: 12.5px; color: var(--text-3); margin-top: 4px; }

/* ══════════════════════════════════════
   ALTERNATING-STRIPS — Đội ngũ bác sĩ preview
══════════════════════════════════════ */
.ks-team-bg { background: var(--mint); }
.ks-team-strip {
  display: flex;
  align-items: center;
  gap: 56px;
  margin-bottom: 56px;
}
.ks-team-strip:last-child { margin-bottom: 0; }
.ks-team-strip.ks-team-reverse { flex-direction: row-reverse; }
.ks-team-media { flex: 0 0 38%; }
.ks-team-photo {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(155,126,240,.2);
  border: 6px solid #fff;
}
.ks-team-photo img { width: 100%; height: 320px; object-fit: cover; }
.ks-team-content { flex: 1; }
.ks-team-role { font-size: 12.5px; font-weight: 600; color: var(--accent); letter-spacing: .3px; margin-bottom: 8px; text-transform: uppercase; font-style: normal; }
.ks-team-name { font-size: 26px; margin-bottom: 14px; }
.ks-team-desc { font-size: 14.5px; font-weight: 300; color: var(--text-2); line-height: 1.7; margin-bottom: 16px; }
.ks-team-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ks-team-tag { font-size: 12px; font-weight: 500; background: #fff; color: var(--text-2); padding: 6px 14px; border-radius: 9999px; }

@media (max-width: 767px) {
  .ks-team-strip, .ks-team-strip.ks-team-reverse { flex-direction: column; gap: 26px; }
  .ks-team-media { flex: 0 0 auto; width: 100%; }
}

/* ══════════════════════════════════════
   REVIEWS — GRID-CARDS
══════════════════════════════════════ */
.ks-rv-bg { background: var(--lilac); }
.ks-rv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.ks-rv-card { background: #fff; border-radius: 24px; padding: 28px 24px; box-shadow: 0 10px 28px rgba(155,126,240,.1); transition: box-shadow .3s, transform .3s; }
.ks-rv-card:hover { box-shadow: 0 20px 46px rgba(155,126,240,.24); transform: translateY(-6px); }
.ks-rv-stars { color: var(--sun); font-size: 15px; margin-bottom: 12px; letter-spacing: 2px; }
.ks-rv-text { font-size: 13.5px; font-weight: 300; color: var(--text-2); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.ks-rv-foot { display: flex; align-items: center; gap: 12px; }
.ks-rv-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.ks-rv-name { font-size: 13.5px; font-weight: 600; font-style: normal; color: var(--text); }
.ks-rv-meta { font-size: 12px; color: var(--text-3); }

@media (max-width: 991px) { .ks-rv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .ks-rv-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════
   CTA ĐẶT LỊCH
══════════════════════════════════════ */
.ks-cta-sec {
  position: relative;
  background: linear-gradient(135deg, var(--accent) 0%, #7c5ee0 100%);
  border-radius: 40px;
  overflow: hidden;
  padding: clamp(48px,7vw,84px) clamp(24px,6vw,80px);
  margin: 0 clamp(16px,4vw,40px);
  text-align: center;
}
.ks-cta-blob { position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); }
.ks-cta-blob-1 { width: 200px; height: 200px; top: -80px; left: -60px; }
.ks-cta-blob-2 { width: 140px; height: 140px; bottom: -50px; right: 6%; }
.ks-cta-eyebrow { color: #fff; opacity: .85; font-size: 12.5px; font-weight: 600; letter-spacing: .4px; margin-bottom: 16px; display: block; text-transform: uppercase; font-style: normal; }
.ks-cta-title { color: #fff; font-size: clamp(28px,4vw,42px); margin-bottom: 16px; }
.ks-cta-sub { color: rgba(255,255,255,.85); font-size: 15px; font-weight: 300; max-width: 500px; margin: 0 auto 30px; }
.ks-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ══════════════════════════════════════
   FOOTER — Light pastel, 3 cột, social màu vui
══════════════════════════════════════ */
.ks-footer { background: var(--lilac); padding-top: 64px; position: relative; overflow: hidden; }
.ks-ft-logo { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 600; margin-bottom: 14px; }
.ks-ft-desc { font-size: 13.5px; font-weight: 300; color: var(--text-2); line-height: 1.7; margin-bottom: 20px; max-width: 300px; }
.ks-ft-col-title { font-size: 13.5px; font-weight: 600; font-style: normal; color: var(--text); margin-bottom: 18px; }
.ks-ft-links { display: flex; flex-direction: column; gap: 12px; }
.ks-ft-links a, .ks-ft-links span { font-size: 13.5px; font-weight: 300; color: var(--text-2); transition: color .2s; }
.ks-ft-links a:hover { color: var(--accent); }
.ks-ft-socials { display: flex; gap: 10px; }
.ks-ft-soc {
  width: 40px; height: 40px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600; color: #fff;
  transition: transform .25s, box-shadow .25s;
}
.ks-ft-soc:hover { transform: translateY(-4px); }
.ks-ft-soc.fb { background: #4c8bf5; }
.ks-ft-soc.ig { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af); }
.ks-ft-soc.yt { background: #ff5a5f; }
.ks-ft-soc.zl { background: #0068FF; }
.ks-ft-bottom {
  border-top: 1px solid var(--lilac-b);
  margin-top: 40px;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.ks-ft-copy { font-size: 12.5px; color: var(--text-3); }
.ks-ft-made { font-size: 12.5px; color: var(--text-3); }

/* ══════════════════════════════════════
   ZALO FLOAT BUTTON
══════════════════════════════════════ */
.ks-zf { position: fixed; right: 22px; bottom: 22px; z-index: 999; display: flex; align-items: center; gap: 10px; }
.ks-zf-tip {
  background: #fff; color: var(--text); font-size: 12.5px; font-weight: 600;
  padding: 8px 14px; border-radius: 9999px; box-shadow: 0 8px 22px rgba(155,126,240,.22);
  opacity: 0; transform: translateX(8px); transition: .25s; white-space: nowrap;
}
.ks-zf:hover .ks-zf-tip { opacity: 1; transform: translateX(0); }
.ks-zf-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: #0068FF; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(0,104,255,.4);
  animation: ksZfPulse 2.4s infinite;
}
@keyframes ksZfPulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(0,104,255,.4); }
  50% { box-shadow: 0 10px 28px rgba(0,104,255,.4), 0 0 0 10px rgba(0,104,255,.12); }
}

/* ══════════════════════════════════════
   PAGE HEADER (trang con)
══════════════════════════════════════ */
.ks-page-head {
  background: linear-gradient(180deg, var(--lilac) 0%, var(--bg) 100%);
  padding: 56px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ks-crumb { font-size: 12.5px; font-weight: 500; color: var(--text-3); margin-bottom: 16px; }
.ks-crumb a { color: var(--accent); }
.ks-crumb span { margin: 0 6px; }

/* ══════════════════════════════════════
   FORM — dat-lich.html / lien-he.html
══════════════════════════════════════ */
.ks-form-wrap { background: #fff; border-radius: 28px; padding: clamp(28px,4vw,44px); box-shadow: 0 16px 44px rgba(155,126,240,.14); }
.ks-form-group { margin-bottom: 20px; }
.ks-form-label { display: block; font-size: 13px; font-weight: 600; font-style: normal; color: var(--text); margin-bottom: 8px; }
.ks-form-label .req { color: var(--danger); }
.ks-form-control {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
.ks-form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-light);
  background: #fff;
}
textarea.ks-form-control { resize: vertical; min-height: 110px; }
.ks-form-hint { font-size: 12px; color: var(--text-3); margin-top: 6px; }
.ks-form-error { font-size: 12px; color: var(--danger); margin-top: 6px; display: none; }
.ks-form-control.is-invalid { border-color: var(--danger); }
.ks-form-control.is-invalid ~ .ks-form-error { display: block; }
.ks-form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: var(--mint);
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--mint-accent-h);
  margin-bottom: 20px;
}
.ks-form-success.show { display: flex; }

.ks-info-card { background: var(--mint); border-radius: 24px; padding: 30px 26px; margin-bottom: 20px; }
.ks-info-card.is-lilac { background: var(--lilac); }
.ks-info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.ks-info-row:last-child { margin-bottom: 0; }
.ks-info-icon {
  width: 42px; height: 42px; border-radius: 13px; background: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.ks-info-title { font-size: 13.5px; font-weight: 600; font-style: normal; margin-bottom: 3px; }
.ks-info-text { font-size: 13px; font-weight: 300; color: var(--text-2); line-height: 1.6; }

.ks-map-ph {
  border-radius: 24px;
  overflow: hidden;
  height: 320px;
  background: var(--lilac);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--text-3);
  font-size: 13px;
  border: 1.5px dashed var(--lilac-b);
}
.ks-map-ph-icon { font-size: 32px; }

/* ══════════════════════════════════════
   BENTO-GRID — dùng cho cẩm nang cha mẹ (article list)
══════════════════════════════════════ */
.ks-article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ks-article-card { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 10px 28px rgba(155,126,240,.1); transition: transform .3s, box-shadow .3s; }
.ks-article-card:hover { transform: translateY(-8px); box-shadow: 0 22px 48px rgba(155,126,240,.24); }
.ks-article-img { height: 190px; overflow: hidden; }
.ks-article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ks-article-card:hover .ks-article-img img { transform: scale(1.08); }
.ks-article-body { padding: 22px; }
.ks-article-tag { font-size: 11px; font-weight: 600; color: var(--mint-accent-h); background: var(--mint); padding: 4px 12px; border-radius: 9999px; display: inline-block; margin-bottom: 12px; }
.ks-article-title { font-size: 16.5px; font-weight: 600; font-style: normal; margin-bottom: 8px; line-height: 1.4; }
.ks-article-excerpt { font-size: 13px; font-weight: 300; color: var(--text-2); line-height: 1.6; margin-bottom: 14px; }
.ks-article-meta { font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 8px; }

@media (max-width: 991px) { .ks-article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .ks-article-grid { grid-template-columns: 1fr; } }

/* ── Tip list (trong bài cẩm nang chi tiết trên cùng trang) ── */
.ks-tip-list { display: flex; flex-direction: column; gap: 14px; }
.ks-tip-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 18px; padding: 18px 20px; box-shadow: 0 8px 22px rgba(155,126,240,.08); }
.ks-tip-num { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-light); color: var(--accent-h); font-weight: 600; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ks-tip-text { font-size: 13.5px; font-weight: 300; color: var(--text-2); line-height: 1.65; }
.ks-tip-text strong { font-weight: 600; color: var(--text); }

/* ══════════════════════════════════════
   TEAM GRID (trang bac-si.html — full team)
══════════════════════════════════════ */
.ks-doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ks-doc-card { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 10px 28px rgba(155,126,240,.1); transition: transform .3s, box-shadow .3s; }
.ks-doc-card:hover { transform: translateY(-8px); box-shadow: 0 22px 48px rgba(155,126,240,.24); }
.ks-doc-img { height: 260px; overflow: hidden; }
.ks-doc-img img { width: 100%; height: 100%; object-fit: cover; }
.ks-doc-body { padding: 22px; }
.ks-doc-name { font-size: 17px; font-weight: 600; font-style: normal; margin-bottom: 4px; }
.ks-doc-role { font-size: 12.5px; font-weight: 600; color: var(--accent); margin-bottom: 12px; font-style: normal; }
.ks-doc-desc { font-size: 13px; font-weight: 300; color: var(--text-2); line-height: 1.6; margin-bottom: 14px; }
.ks-doc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ks-doc-tag { font-size: 11px; font-weight: 500; color: var(--mint-accent-h); background: var(--mint); padding: 4px 10px; border-radius: 9999px; }

@media (max-width: 991px) { .ks-doc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .ks-doc-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════
   UTILITY
══════════════════════════════════════ */
.ks-mx-auto { margin-left: auto; margin-right: auto; }
.ks-text-center { text-align: center; }
