/* ============================================================
   NHA KHOA SÀI GÒN SMILE — Răng đẹp chuẩn quốc tế
   Xanh dương y khoa + vàng nắng, nền trắng xanh nhạt, Be Vietnam Pro.
   ============================================================ */
:root {
  --blue: #0556c4;
  --blue-2: #0a6ae0;
  --blue-deep: #0a3f8c;
  --navy: #0b2e6e;
  --band: #004e92;
  --band-2: #0a5aa8;
  --yellow: #fdd35a;
  --yellow-2: #f8bf36;
  --sky: #e1effc;
  --sky-2: #f1f7fe;
  --ink: #16233b;
  --text: #445268;
  --muted: #637189;
  --line: #dde8f4;
  --check: #0a7cf5;
  --bg: #fbfdff;

  --f-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Noto Serif", Georgia, serif;

  --wrap: 1280px;
  --gut: 24px;
  --head-h: 84px;
  --r: 14px;
  --shadow: 0 12px 32px rgba(18, 72, 140, .09);
  --shadow-sm: 0 6px 18px rgba(18, 72, 140, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
address { font-style: normal; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { display: block; flex: none; }
template { display: none; }

.sg-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.sg-wrap--narrow { max-width: calc(1190px + var(--gut) * 2); }
.sg-wrap--wide { max-width: calc(1336px + var(--gut) * 2); }
.sg-sr {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.sg-skip {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--blue); color: #fff; padding: 10px 18px; border-radius: 8px;
}
.sg-skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; }
section[id], footer[id], li[id] { scroll-margin-top: calc(var(--head-h) + 12px); }

/* ---------- tiêu đề section ---------- */
.sg-head { text-align: center; margin-bottom: 30px; }
.sg-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 8px;
  color: var(--blue-2);
  font: 600 17px/1.3 var(--f-body); text-transform: uppercase; letter-spacing: .01em;
}
.sg-eyebrow::before, .sg-eyebrow::after { content: ""; width: 40px; height: 2px; border-radius: 2px; background: currentColor; }
.sg-title {
  font: 800 28px/1.24 var(--f-body);
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.sg-title--navy { color: var(--blue-deep); }
.sg-lead { margin: 10px auto 0; max-width: 820px; font-size: 16.5px; line-height: 1.6; color: var(--text); }
.sg-lead--strong { font-weight: 600; color: #53627a; }

/* ---------- nút ---------- */
.sg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 48px; padding: 0 30px;
  border: 0; border-radius: 999px;
  background: linear-gradient(180deg, var(--yellow) 0%, var(--yellow-2) 100%);
  color: var(--navy);
  font: 800 14px/1 var(--f-body); text-transform: uppercase; letter-spacing: .01em;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(240, 180, 40, .32);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.sg-btn svg { width: 18px; height: 18px; transition: transform .2s; }
.sg-btn:hover { transform: translateY(-2px); filter: saturate(1.08) brightness(1.02); box-shadow: 0 12px 24px rgba(240, 180, 40, .4); }
.sg-btn:hover svg { transform: translateX(3px); }
.sg-btn--lg { height: 56px; padding: 0 40px; font-size: 16px; }
.sg-btn--xl { height: 62px; padding: 0 42px; font-size: 17px; gap: 14px; }
.sg-btn--xl svg { width: 24px; height: 24px; }
.sg-btn--xl:hover svg { transform: rotate(-12deg); }
.sg-btn--sm { height: 32px; padding: 0 20px; font-size: 13px; text-transform: none; font-weight: 700; gap: 10px; }
.sg-btn--sm svg { width: 15px; height: 15px; }
.sg-btn-line {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  height: 48px; width: 100%;
  border: 1.5px solid #a8c9ee; border-radius: 999px; background: #fff;
  color: #0a4fb0; font: 700 15.5px/1 var(--f-body); text-transform: uppercase;
  transition: background .2s, border-color .2s, color .2s;
}
.sg-btn-line svg { width: 18px; height: 18px; transition: transform .2s; }
.sg-btn-line:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.sg-btn-line:hover svg { transform: translateX(3px); }
.sg-btn-soft {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 50px; min-width: 56%; padding: 0 28px;
  border-radius: 999px; background: #dff0fc;
  color: #0a4fb0; font: 700 16px/1 var(--f-body); text-transform: uppercase;
  transition: background .2s, color .2s;
}
.sg-btn-soft svg { width: 20px; height: 20px; transition: transform .2s; }
.sg-btn-soft:hover { background: var(--blue); color: #fff; }
.sg-btn-soft:hover svg { transform: translateX(3px); }

/* ============================================================
   HEADER
   ============================================================ */
.sg-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 #e7eff7; transition: box-shadow .25s; }
.sg-header.is-stuck { box-shadow: 0 8px 24px rgba(10, 60, 120, .1); }
.sg-header__inner { display: flex; align-items: center; gap: 16px; height: var(--head-h); }
.sg-brand { flex: none; }
.sg-brand img { width: 206px; }
.sg-nav { margin-left: auto; align-self: stretch; }
.sg-nav__list { display: flex; height: 100%; gap: 2px; }
.sg-nav__list > li { position: relative; display: flex; align-items: center; }
.sg-nav__list > li > a {
  position: relative; display: flex; align-items: center; gap: 4px; height: 100%;
  padding: 0 8px;
  font: 500 13.5px/1.2 var(--f-body); color: #1d2a40;
  white-space: nowrap;
  transition: color .2s;
}
.sg-nav__list > li > a svg { width: 13px; height: 13px; }
.sg-nav__list > li > a::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 0; height: 3px;
  border-radius: 3px 3px 0 0; background: var(--blue);
  transform: scaleX(0); transition: transform .25s;
}
.sg-nav__list > li > a:hover, .sg-nav__list > li > a[aria-current="page"] { color: var(--blue); }
.sg-nav__list > li > a[aria-current="page"]::after, .sg-nav__list > li > a:hover::after { transform: scaleX(1); }
.sg-nav__toggle { display: none; }
.sg-sub {
  position: absolute; top: calc(100% - 6px); left: 0; z-index: 5;
  min-width: 250px; padding: 10px;
  border-radius: 14px; background: #fff; box-shadow: 0 18px 40px rgba(10, 50, 110, .16);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.sg-sub a { display: block; padding: 9px 14px; border-radius: 9px; font-size: 14.5px; color: #1d2a40; transition: background .15s, color .15s; }
.sg-sub a:hover { background: var(--sky-2); color: var(--blue); }
.sg-nav__has-sub:hover .sg-sub, .sg-nav__has-sub:focus-within .sg-sub { opacity: 1; visibility: visible; transform: none; }
.sg-lang { flex: none; }
.sg-hotline-top { flex: none; display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.sg-hotline-top__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-deep); color: #fff; }
.sg-hotline-top__icon svg { width: 20px; height: 20px; }
.sg-hotline-top__text { display: flex; flex-direction: column; line-height: 1.2; }
.sg-hotline-top__text strong { font-size: 17px; font-weight: 700; color: var(--blue-deep); letter-spacing: .01em; }
.sg-hotline-top__text small { font-size: 12.5px; color: #3c6fb4; }
.sg-btn--head { height: 48px; padding: 0 22px; border-radius: 9px; font-size: 14.5px; box-shadow: 0 6px 14px rgba(240, 180, 40, .28); }
.sg-burger {
  display: none; flex: none;
  width: 44px; height: 44px; padding: 12px 10px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  flex-direction: column; justify-content: space-between;
}
.sg-burger span { display: block; height: 2px; border-radius: 2px; background: var(--blue-deep); transition: transform .25s, opacity .2s; }
.sg-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.sg-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sg-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.sg-hero { position: relative; overflow: hidden; background: #e9f3fd; }
.sg-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 28% 40%; }
.sg-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(233, 243, 253, 0) 42%, rgba(233, 243, 253, .5) 56%, rgba(233, 243, 253, .28) 100%),
              linear-gradient(0deg, rgba(251, 253, 255, .85) 0, rgba(251, 253, 255, 0) 90px);
}
/* banner = màn hình trừ header; không cao hơn tỉ lệ gốc của ảnh (1880×836) để ảnh không bị phóng to */
.sg-hero__inner {
  position: relative; z-index: 1; display: flex; align-items: center;
  min-height: 600px;
  min-height: clamp(460px, calc(100vh - var(--head-h)), 44.47vw);
  min-height: clamp(460px, calc(100svh - var(--head-h)), 44.47vw);
}
/* chừa 60px đáy cho thẻ tư vấn nhanh đè lên */
.sg-hero__copy { width: 46.5%; margin-left: auto; padding: 32px 0 92px; }
.sg-hero__eyebrow { font: 500 17px/1.3 var(--f-body); color: #1c4f96; text-transform: uppercase; letter-spacing: .01em; }
.sg-hero__title {
  margin: 12px 0 16px;
  font: 800 40px/1.16 var(--f-body);
  color: #0558c9;
  text-transform: uppercase;
  letter-spacing: -.012em;
}
.sg-hero__title span { display: block; }
@media (min-width: 768px) { .sg-hero__title span { white-space: nowrap; } }
.sg-hero__lead { max-width: 530px; font-size: 17px; line-height: 1.6; color: #1f2f4a; }
.sg-hero__feats { display: flex; margin: 28px 0 32px; }
.sg-hero__feats li {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 0 24px; text-align: center;
  font: 700 15px/1.4 var(--f-body); color: #0a4fb0; text-transform: uppercase;
}
.sg-hero__feats li:first-child { padding-left: 0; }
.sg-hero__feats li + li { border-left: 1px solid rgba(90, 140, 200, .28); }
.sg-hero__ico {
  display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%;
  background: rgba(255, 255, 255, .85); color: var(--blue-2);
  box-shadow: 0 0 0 1px #cfe2f7, 0 8px 20px rgba(20, 90, 170, .12);
}
.sg-hero__ico svg { width: 34px; height: 34px; }

/* ============================================================
   TƯ VẤN NHANH
   ============================================================ */
.sg-quick { position: relative; z-index: 3; margin-top: -60px; }
.sg-quick__card {
  display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: center;
  padding: 30px 40px 28px;
  border: 2px solid #fff; border-radius: 22px;
  background: linear-gradient(180deg, rgba(221, 238, 253, .94), rgba(229, 242, 254, .96));
  box-shadow: 0 18px 44px rgba(20, 80, 160, .12);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.sg-quick__intro h2 { font: 800 23px/1.3 var(--f-body); color: var(--blue-deep); text-transform: uppercase; }
.sg-quick__intro p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: #3c5373; }
.sg-quick__fields { display: grid; grid-template-columns: 1.08fr 1fr 1fr auto; gap: 14px; }
.sg-quick__perks { display: grid; grid-template-columns: 1.08fr 1fr 1fr auto; gap: 14px; margin-top: 16px; }
.sg-quick__perks li { display: flex; align-items: center; gap: 12px; padding-left: 4px; font-size: 14.5px; font-weight: 500; color: #0e3f84; }
.sg-quick__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #1a5fba; box-shadow: 0 4px 12px rgba(20, 80, 160, .08); }
.sg-quick__ico svg { width: 26px; height: 26px; }
.sg-btn--field { height: 52px; padding: 0 30px; font-size: 15px; }

/* ---------- ô nhập ---------- */
.sg-field { position: relative; }
.sg-field input, .sg-field select {
  width: 100%; height: 58px; padding: 0 20px 0 56px;
  border: 1.5px solid #cfe0f3; border-radius: 12px; background: #fff;
  font-size: 15.5px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.sg-field select { appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer; }
.sg-field select.is-empty { color: #7a879a; }
.sg-field select option { color: var(--ink); }
.sg-field input::placeholder { color: #7a879a; }
.sg-field input:focus, .sg-field select:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(10, 106, 224, .12); }
.sg-field__icon { position: absolute; left: 20px; top: 50%; translate: 0 -50%; width: 24px; height: 24px; color: var(--blue); pointer-events: none; }
.sg-field__caret { position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; color: var(--blue-deep); pointer-events: none; }
.sg-field--pill input, .sg-field--pill select { height: 52px; padding-left: 24px; font-size: 14.5px; border-color: #fff; border-radius: 999px; box-shadow: 0 4px 14px rgba(20, 80, 160, .06); }
.sg-field.is-error input, .sg-field.is-error select { border-color: #e0483e; box-shadow: 0 0 0 3px rgba(224, 72, 62, .12); }
.sg-field--date input { padding-right: 52px; color: var(--ink); }
.sg-field--date input::-webkit-calendar-picker-indicator { position: absolute; right: 12px; width: 32px; height: 32px; opacity: 0; cursor: pointer; }
.sg-field--date.is-empty input::-webkit-datetime-edit { color: transparent; }
.sg-field--date.is-empty input:focus::-webkit-datetime-edit { color: var(--ink); }
.sg-field__ph { position: absolute; left: 56px; top: 50%; translate: 0 -50%; font-size: 15.5px; color: #7a879a; pointer-events: none; }
.sg-field--date:not(.is-empty) .sg-field__ph, .sg-field--date input:focus + .sg-field__ph { display: none; }
.sg-field--date input:focus ~ .sg-field__ph { display: none; }
.sg-field__cal { position: absolute; right: 20px; top: 50%; translate: 0 -50%; width: 22px; height: 22px; color: var(--blue); pointer-events: none; }
.sg-form-msg { font-size: 14px; font-weight: 600; color: #11845b; }
.sg-form-msg:empty { display: none; }
.sg-form-msg.is-error { color: #d23b31; }
.sg-quick .sg-form-msg { margin-top: 12px; }

/* ============================================================
   VỀ CHÚNG TÔI
   ============================================================ */
.sg-about { padding: 52px 0 42px; }
.sg-about .sg-head { margin-bottom: 30px; }
.sg-about__grid { display: grid; grid-template-columns: 1fr 520px; gap: 50px; align-items: center; }
.sg-about__text { font-size: 17.5px; line-height: 1.9; color: #3b4960; }
.sg-about__img { border-radius: 14px; overflow: hidden; box-shadow: 0 16px 36px rgba(20, 70, 140, .14); }
.sg-about__img img { width: 100%; aspect-ratio: 1000 / 395; object-fit: cover; transition: transform .6s; }
.sg-about__img:hover img { transform: scale(1.03); }

/* ============================================================
   CON SỐ
   ============================================================ */
.sg-stats {
  position: relative;
  padding: 38px 0 40px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 7px),
    linear-gradient(100deg, #004a8e 0%, var(--band) 45%, #0a57a3 100%);
  color: #fff;
}
.sg-stats__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.sg-stats__list li { display: flex; flex-direction: column; align-items: center; padding: 0 20px; text-align: center; }
.sg-stats__list li + li { border-left: 1px solid rgba(255, 255, 255, .22); }
.sg-stats__list svg { width: 46px; height: 46px; color: #fcc93c; }
.sg-stats__list strong { margin-top: 10px; font: 800 40px/1.1 var(--f-body); color: #fcc93c; text-transform: uppercase; letter-spacing: -.01em; }
.sg-stats__list span { margin-top: 6px; font: 700 19px/1.3 var(--f-body); text-transform: uppercase; }
.sg-stats__list p { margin-top: 10px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .84); }

/* ============================================================
   DỊCH VỤ
   ============================================================ */
.sg-services { padding: 58px 0 44px; }
.sg-services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sg-svc {
  display: flex; flex-direction: column;
  border-radius: var(--r); background: #fff; overflow: hidden;
  box-shadow: 0 0 0 1px #e8eff7, var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.sg-svc:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px #d6e5f5, 0 22px 40px rgba(18, 72, 140, .14); }
.sg-svc__img { overflow: hidden; }
.sg-svc__img img { width: 100%; aspect-ratio: 660 / 480; object-fit: cover; transition: transform .6s; }
.sg-svc:hover .sg-svc__img img { transform: scale(1.05); }
.sg-svc__body {
  position: relative; flex: 1; display: flex; flex-direction: column;
  margin-top: -16px; padding: 52px 20px 22px;
  border-radius: 18px 18px 0 0; background: #fff;
}
.sg-svc__icon {
  position: absolute; top: -40px; left: 20px;
  width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: #fff;
  box-shadow: 0 8px 18px rgba(20, 80, 160, .16);
}
.sg-svc__icon img { width: 100%; height: 100%; }
.sg-svc h3 { font: 800 17.5px/1.3 var(--f-body); color: var(--blue); text-transform: uppercase; letter-spacing: -.012em; }
.sg-svc p { flex: 1; margin: 12px 0 22px; font-size: 16.5px; line-height: 1.55; color: #4a5568; }

/* ============================================================
   TƯ VẤN MIỄN PHÍ 24/7
   ============================================================ */
.sg-hotline { padding: 34px 0 20px; }
.sg-hotline__card {
  position: relative;
  display: grid; grid-template-columns: 350px 1fr auto; gap: 30px; align-items: center;
  min-height: 176px; padding-right: 52px;
  border-radius: 22px;
  background: linear-gradient(90deg, #d7eafc 0%, #e6f2fe 45%, #eef6ff 100%);
}
.sg-hotline__visual { position: relative; align-self: stretch; clip-path: inset(-90px -30px 0 0 round 0 0 0 22px); }
.sg-hotline__visual picture { position: absolute; left: 64px; bottom: 0; width: 236px; }
.sg-hotline__visual img { width: 100%; }
.sg-bubble { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .8), rgba(170, 210, 246, .55)); }
.sg-bubble--1 { width: 150px; height: 150px; left: 150px; bottom: -60px; }
.sg-bubble--2 { width: 56px; height: 56px; left: 244px; top: 36px; }
.sg-bubble--3 { width: 36px; height: 36px; left: 14px; top: 64px; }
.sg-bubble--4 { width: 18px; height: 18px; left: 290px; top: 108px; }
.sg-hotline__text h2 { font: 800 31px/1.2 var(--f-body); color: #0a4aa8; text-transform: uppercase; }
.sg-hotline__text p { margin-top: 10px; font-size: 17px; line-height: 1.6; color: #2b3c58; }
.sg-hotline__act { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.sg-hotline__alt { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #28508a; transition: color .2s; }
.sg-hotline__alt svg { width: 26px; height: 26px; color: var(--blue-2); }
.sg-hotline__alt:hover { color: var(--blue); }

/* ============================================================
   ĐỘI NGŨ BÁC SĨ
   ============================================================ */
.sg-team { position: relative; z-index: 0; padding: 40px 0 48px; overflow: hidden; }
.sg-team .sg-head { margin-bottom: 18px; }
.sg-team::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(1000px 420px at 12% 18%, rgba(205, 228, 250, .6), transparent 70%),
              radial-gradient(900px 480px at 92% 70%, rgba(205, 228, 250, .55), transparent 70%),
              linear-gradient(180deg, rgba(246, 250, 255, .8) 0%, rgba(238, 245, 253, .88) 100%),
              url("./images/team-bg.webp") center / cover no-repeat;
}
.sg-doc {
  position: relative; display: grid; min-height: 480px;
  border: 2px solid #fff; border-radius: 28px;
  background: linear-gradient(90deg, #fff 0%, #fff 40%, #f3f8fe 100%);
  box-shadow: 0 0 0 1px #dbe8f6, 0 24px 56px rgba(20, 70, 140, .12);
  overflow: hidden;
  transition: opacity .26s;
}
.sg-doc.is-swapping .sg-doc__profile, .sg-doc.is-swapping .sg-doc__photo { opacity: 0; }
.sg-doc__photo {
  position: absolute; top: 0; right: 0; bottom: 0; width: 53%;
  clip-path: ellipse(98% 118% at 100% 50%);
  transition: opacity .26s;
}
.sg-doc__photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(214, 233, 252, .7) 0, rgba(214, 233, 252, 0) 18%);
}
.sg-doc__blur { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); max-width: none; object-fit: cover; filter: blur(14px) saturate(1.05); opacity: .9; }
.sg-doc__photo picture {
  position: absolute; top: 0; bottom: 0; left: 2%; aspect-ratio: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
}
.sg-doc__photo picture img { width: 100%; height: 100%; object-fit: cover; }
.sg-doc__profile { position: relative; z-index: 2; min-height: 100%; transition: opacity .26s; }
.sg-doc__copy { width: 51%; padding: 28px 0 26px 40px; }
.sg-doc__name { font: 800 26px/1.2 var(--f-body); color: #0a52c8; text-transform: uppercase; letter-spacing: -.005em; }
.sg-doc__role { margin-top: 4px; font-size: 19px; line-height: 1.4; color: #1d4d8f; }
.sg-doc__checks { display: grid; gap: 12px; margin-top: 18px; }
.sg-doc__checks li { display: flex; gap: 14px; font-size: 15.5px; line-height: 1.5; color: #1c355e; }
.sg-doc__checks svg { width: 24px; height: 24px; color: var(--check); }
.sg-certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.sg-cert {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  aspect-ratio: 1.66; padding: 10px 10px 18px;
  border: 5px solid transparent; border-radius: 3px;
  background:
    linear-gradient(#fffdf6, #fbf6e8) padding-box,
    linear-gradient(135deg, #b98a2e, #f3d98b 30%, #a8761f 55%, #f0d27f 80%, #b58328) border-box;
  box-shadow: 0 6px 14px rgba(120, 90, 30, .22), inset 0 0 0 1px rgba(185, 140, 60, .45);
  text-align: center; overflow: hidden;
}
.sg-cert::before { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(185, 140, 60, .4); pointer-events: none; }
.sg-cert strong { font: 700 11px/1.2 var(--f-serif); color: #1e2d52; text-transform: uppercase; letter-spacing: .02em; }
.sg-cert small { margin-top: 2px; font: 600 7.5px/1.25 var(--f-body); color: #4a5570; text-transform: uppercase; letter-spacing: .02em; }
.sg-cert__crest { order: 3; width: 26px; height: 28px; margin-top: 6px; }
.sg-cert__crest--red { color: #a51c30; }
.sg-cert__crest--blue { color: #1a3f8f; }
.sg-cert__crest--sky { color: #1569b8; }
.sg-cert i {
  position: absolute; left: 12px; right: 12px; bottom: 8px; height: 8px;
  background:
    linear-gradient(#8a93a8, #8a93a8) left bottom / 32% 1px no-repeat,
    linear-gradient(#8a93a8, #8a93a8) right bottom / 32% 1px no-repeat;
}
.sg-cert i::before, .sg-cert i::after {
  content: ""; position: absolute; bottom: 2px; width: 22%; height: 7px;
  border-top: 1.5px solid #2a3f7a; border-radius: 60% 40% 0 0; transform: skewX(-24deg);
}
.sg-cert i::before { left: 5%; }
.sg-cert i::after { right: 5%; }
.sg-btn--doc { margin: 20px 0 0 calc(50% - 124px); height: 50px; padding: 0 36px; font-size: 15.5px; }
.sg-doc__skills {
  position: absolute; right: 16px; top: 50%; translate: 0 -50%; z-index: 3;
  width: 258px; padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .9); border-radius: 20px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 36px rgba(20, 70, 140, .14);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.sg-doc__skills li { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 14.5px; color: #0e3f84; }
.sg-doc__skills li > span:first-child { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #e7f1fd; color: var(--blue-2); flex: none; }
.sg-doc__skills svg { width: 26px; height: 26px; }

.sg-docs { position: relative; display: flex; align-items: center; gap: 18px; margin-top: 10px; }
@media (min-width: 1440px) {
  .sg-docs__arrow { position: absolute; top: 44px; z-index: 2; }
  .sg-docs__arrow[data-dir="-1"] { left: -64px; }
  .sg-docs__arrow[data-dir="1"] { right: -64px; }
}
.sg-docs__arrow {
  flex: none; display: grid; place-items: center; width: 50px; height: 50px;
  border: 0; border-radius: 50%; background: #fff; color: var(--blue);
  box-shadow: 0 8px 20px rgba(20, 70, 140, .14);
  transition: background .2s, color .2s, transform .2s;
}
.sg-docs__arrow svg { width: 22px; height: 22px; }
.sg-docs__arrow:hover { background: var(--blue); color: #fff; transform: scale(1.05); }
.sg-docs__list {
  flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 20px) / 6); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px 2px 10px;
}
.sg-docs__list::-webkit-scrollbar { display: none; }
.sg-docs__item { scroll-snap-align: start; }
.sg-docs__btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: center; }
.sg-docs__btn picture { border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 2px transparent, 0 6px 16px rgba(20, 70, 140, .1); transition: box-shadow .2s, transform .2s; }
.sg-docs__btn img { width: 100%; aspect-ratio: 480 / 310; object-fit: cover; }
.sg-docs__btn > span { position: relative; display: block; margin-top: 10px; padding-bottom: 10px; font-size: 14.5px; font-weight: 500; color: #0e3f84; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-docs__btn > span::after {
  content: ""; position: absolute; left: 30%; right: 30%; bottom: 0; height: 4px; border-radius: 4px;
  background: var(--blue-2); transform: scaleX(0); transition: transform .25s;
}
.sg-docs__btn:hover picture { transform: translateY(-3px); }
.sg-docs__item.is-active picture { box-shadow: 0 0 0 2px var(--blue-2), 0 8px 20px rgba(20, 90, 200, .2); }
.sg-docs__item.is-active .sg-docs__btn > span::after { transform: scaleX(1); }

/* ============================================================
   CHIA SẺ TỪ CHUYÊN GIA
   ============================================================ */
.sg-videos { padding: 44px 0 50px; background: linear-gradient(180deg, #eaf4fe 0%, #f3f8fe 100%); }
.sg-videos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sg-videos .sg-title, .sg-equip .sg-title { font-size: 26px; }
.sg-videos .sg-lead, .sg-equip .sg-lead { font-size: 15px; }
.sg-video { border-radius: var(--r); background: #fff; overflow: hidden; box-shadow: 0 0 0 1px #e3edf8, var(--shadow); transition: transform .3s, box-shadow .3s; }
.sg-video:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px #d4e3f4, 0 20px 40px rgba(18, 72, 140, .14); }
.sg-video__thumb { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #cfe0f2; overflow: hidden; }
.sg-video__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s; }
.sg-video:hover .sg-video__thumb img { transform: scale(1.05); }
.sg-video__time { position: absolute; top: 12px; right: 12px; padding: 5px 11px; border-radius: 7px; background: #0b3f8c; color: #fff; font: 700 14px/1 var(--f-body); letter-spacing: .02em; }
.sg-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: rgba(70, 105, 150, .55); color: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: transform .25s, background .25s;
}
.sg-play svg { width: 26px; height: 26px; margin-left: 4px; filter: drop-shadow(0 2px 4px rgba(10, 60, 130, .3)); }
.sg-video__thumb:hover .sg-play, .sg-play--ghost:hover { transform: scale(1.1); background: rgba(10, 106, 224, .85); }
.sg-video__body { padding: 20px 22px 24px; }
.sg-video h3 { font: 700 17px/1.45 var(--f-body); color: #0b3a80; }
.sg-video p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: #5b6b80; }

/* ============================================================
   THIẾT BỊ & CÔNG NGHỆ
   ============================================================ */
.sg-equip { padding: 40px 0 36px; }
.sg-equip::after { content: ""; display: block; width: 64px; height: 3px; margin: 26px auto 0; border-radius: 3px; background: #c9d9ea; }
.sg-equip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 22px; }
.sg-tech {
  border-radius: var(--r); background: #fff; overflow: hidden; text-align: center;
  box-shadow: 0 0 0 1px #e3edf8, var(--shadow);
  padding-bottom: 18px;
  transition: transform .3s, box-shadow .3s;
}
.sg-tech:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px #d4e3f4, 0 20px 40px rgba(18, 72, 140, .14); }
.sg-tech picture, .sg-tech__media { position: relative; overflow: hidden; }
.sg-tech img { width: 100%; aspect-ratio: 760 / 400; object-fit: cover; transition: transform .6s; }
.sg-tech:hover img { transform: scale(1.05); }
.sg-play--ghost { border: 0; }
.sg-tech h3 { margin: 14px 16px 0; font: 700 16.5px/1.35 var(--f-body); color: #0b3f8c; }
.sg-tech p { margin: 6px 16px 0; font-size: 14.5px; line-height: 1.5; color: #5b6b80; }

/* ============================================================
   ĐỐI TÁC
   ============================================================ */
.sg-partners { padding: 34px 0 30px; background: linear-gradient(180deg, #e7f2fd, #edf5fe); }
.sg-partners .sg-head { margin-bottom: 22px; }
.sg-partners__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.sg-partners__list li {
  display: grid; place-items: center; height: 88px; padding: 14px 22px;
  border-radius: 16px; background: #fff;
  box-shadow: 0 10px 26px rgba(20, 80, 160, .08);
  transition: transform .25s, box-shadow .25s;
}
.sg-partners__list li:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(20, 80, 160, .14); }
.sg-partners__list img { width: auto; max-width: 100%; max-height: 54px; }

/* ============================================================
   CHỨNG NHẬN & THÀNH TỰU
   ============================================================ */
.sg-awards { position: relative; padding: 28px 0 44px; background: #eaf4fe; overflow: hidden; }
.sg-awards__bg { position: absolute; inset: 0; }
.sg-awards__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.sg-awards__inner { position: relative; display: grid; grid-template-columns: 27% 1fr; }
.sg-awards .sg-head { grid-column: 1 / -1; grid-row: 1; margin-bottom: 16px; }
.sg-awards__cup { grid-column: 1; grid-row: 1 / span 2; align-self: end; justify-self: center; width: 152px; filter: drop-shadow(0 22px 26px rgba(20, 40, 80, .28)); }
.sg-awards__list { grid-column: 2; grid-row: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; padding-right: 70px; }
.sg-award {
  display: block; width: 100%; padding: 7px; border: 0; background: #fff;
  box-shadow: 0 16px 34px rgba(30, 60, 120, .16);
  transition: transform .3s, box-shadow .3s;
}
.sg-award:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: 0 24px 44px rgba(30, 60, 120, .22); }
.sg-award img { width: 100%; aspect-ratio: 620 / 876; object-fit: cover; }

/* ============================================================
   BÁO CHÍ
   ============================================================ */
.sg-press { padding: 50px 0 48px; }
.sg-press .sg-lead { max-width: none; font-size: 15.5px; }
.sg-press__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sg-news-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 10px 12px 14px;
  border-radius: 14px; background: #fff;
  box-shadow: 0 0 0 1px #e3edf8, var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.sg-news-card:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px #d4e3f4, 0 20px 40px rgba(18, 72, 140, .14); }
.sg-news-card picture { width: 100%; border-radius: 8px; overflow: hidden; }
.sg-news-card img { width: 100%; aspect-ratio: 800 / 390; object-fit: cover; transition: transform .6s; }
.sg-news-card:hover img { transform: scale(1.04); }
.sg-news-card h3 { margin-top: 12px; font: 700 16px/1.35 var(--f-body); color: #0a3cb0; }
.sg-news-card p { flex: 1; margin: 6px 0 12px; font-size: 14px; line-height: 1.5; color: #5b6b80; }

/* ============================================================
   KẾT QUẢ ĐIỀU TRỊ
   ============================================================ */
.sg-results { padding: 44px 0 56px; background: linear-gradient(180deg, #f4f9fe 0%, #edf5fd 100%); }
.sg-results__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sg-case { padding: 10px 10px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #e3edf8, var(--shadow); transition: transform .3s, box-shadow .3s; }
.sg-case:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px #d4e3f4, 0 20px 40px rgba(18, 72, 140, .14); }
.sg-case__media { position: relative; }
.sg-case__media img { width: 100%; aspect-ratio: 900 / 412; object-fit: cover; }
.sg-case__tag {
  position: absolute; left: calc(46.7% + 8px); top: 5%;
  padding: 3px 13px; border-radius: 999px; background: #0b46b0; color: #fff;
  font: 700 14px/1.3 var(--f-body);
  box-shadow: 0 4px 10px rgba(10, 50, 130, .25);
}
.sg-case__tag--after { top: 56.5%; }
.sg-case h3 { margin: 10px 4px 0; font: 800 17px/1.35 var(--f-body); color: #0a3cb0; }
.sg-case p { margin: 0 4px; font-size: 15.5px; line-height: 1.4; color: #1d2a3f; }
.sg-case__job { color: #2b7bd0 !important; margin-bottom: 4px !important; }

/* ============================================================
   ĐẶT LỊCH THĂM KHÁM
   ============================================================ */
.sg-book { position: relative; overflow: hidden; background: #e8f2fc; }
.sg-book__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 30%; }
.sg-book::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(234, 244, 253, 0) 40%, rgba(234, 244, 253, .55) 52%, rgba(234, 244, 253, .35) 100%);
}
.sg-book__inner { position: relative; z-index: 2; display: flex; min-height: 560px; }
.sg-book__form { width: 48%; margin-left: auto; padding: 50px 0 40px; }
.sg-book__title { margin-top: 10px; font: 800 44px/1.15 var(--f-body); color: #0558c9; text-transform: uppercase; letter-spacing: -.012em; }
.sg-book__lead { margin-top: 12px; font-size: 18px; line-height: 1.6; color: #1f2f4a; }
.sg-book__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 26px; }
.sg-book__fields .sg-field input, .sg-book__fields .sg-field select { background: rgba(255, 255, 255, .92); }
.sg-btn--book { display: flex; width: 240px; height: 54px; margin: 26px auto 0; font-size: 16px; }
.sg-book .sg-form-msg { margin-top: 12px; text-align: center; }
.sg-book__note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; font-size: 14.5px; color: #1d4d8f; }
.sg-book__note svg { width: 18px; height: 18px; color: var(--blue-deep); }

/* ============================================================
   TIN TỨC
   ============================================================ */
.sg-news { padding: 64px 0 56px; }
.sg-news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sg-post { display: flex; flex-direction: column; border-radius: var(--r); background: #fff; overflow: hidden; box-shadow: 0 0 0 1px #e1ebf6, var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.sg-post:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px #d4e3f4, 0 20px 40px rgba(18, 72, 140, .14); }
.sg-post__media { position: relative; overflow: hidden; }
.sg-post__media img { width: 100%; aspect-ratio: 357 / 232; object-fit: cover; transition: transform .6s; }
.sg-post:hover .sg-post__media img { transform: scale(1.04); }
.sg-post__cat {
  position: absolute; left: 6%; bottom: 0;
  display: flex; align-items: center; height: 38px; padding: 0 20px;
  border-radius: 999px; background: #0b4fa8; color: #fff;
  font: 700 15.5px/1 var(--f-body); text-transform: uppercase;
}
.sg-post__body { flex: 1; display: flex; flex-direction: column; padding: 20px 28px 28px; }
.sg-post__date { display: flex; align-items: center; gap: 10px; font-size: 15.5px; color: #6b7a90; }
.sg-post__date svg { width: 18px; height: 18px; color: #2166c0; }
.sg-post h3 { margin-top: 12px; font: 700 24px/1.36 var(--f-body); color: #0a4fb8; letter-spacing: -.005em; }
.sg-post__body > p:not(.sg-post__date) { flex: 1; margin: 14px 0 26px; font-size: 17px; line-height: 1.75; color: #4a5568; }
.sg-post .sg-btn-soft { align-self: center; }

/* ============================================================
   HỆ THỐNG CƠ SỞ
   ============================================================ */
.sg-branches { padding: 30px 0 72px; }
.sg-branches__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sg-branch { display: flex; flex-direction: column; border-radius: var(--r); background: #fff; overflow: hidden; box-shadow: 0 0 0 1px #e1ebf6, var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.sg-branch:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px #d4e3f4, 0 20px 40px rgba(18, 72, 140, .14); }
.sg-branch picture { overflow: hidden; }
.sg-branch img { width: 100%; aspect-ratio: 720 / 576; object-fit: cover; transition: transform .6s; }
.sg-branch:hover img { transform: scale(1.04); }
.sg-branch__body { flex: 1; display: flex; flex-direction: column; padding: 24px 30px 30px; }
.sg-branch h3 { font: 800 22px/1.3 var(--f-body); color: #0a4fb0; text-transform: uppercase; }
.sg-branch__addr { display: flex; gap: 14px; margin-top: 14px; font-size: 18px; line-height: 1.6; color: #1d3f75; }
.sg-branch__addr svg { width: 26px; height: 26px; margin-top: 2px; color: #0a5bd0; }
.sg-branch__body > p:not(.sg-branch__addr) { flex: 1; margin: 14px 0 26px; font-size: 17px; line-height: 1.7; color: #4a5568; }
.sg-branch .sg-btn { align-self: center; min-width: 56%; }

/* ============================================================
   FOOTER
   ============================================================ */
.sg-footer {
  position: relative; color: #fff;
  background:
    radial-gradient(900px 380px at 15% 0%, rgba(255, 255, 255, .06), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 9px),
    var(--band);
}
.sg-footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1.15fr 1.1fr; padding-top: 44px; padding-bottom: 34px; }
.sg-footer__brand { padding-right: 56px; }
.sg-footer__logo img { width: 280px; }
.sg-footer__brand > p { margin-top: 16px; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .9); }
.sg-social { display: flex; gap: 14px; margin-top: 22px; }
.sg-social a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; color: var(--band);
  transition: transform .2s, background .2s, color .2s;
}
.sg-social a:hover { transform: translateY(-3px); background: var(--yellow); color: var(--navy); }
.sg-social svg { width: 22px; height: 22px; }
.sg-social__zalo { font: 800 11px/1 var(--f-body); letter-spacing: -.01em; }
.sg-btn--foot { margin-top: 22px; height: 50px; padding: 0 30px; }
.sg-footer__h { font: 700 17px/1.3 var(--f-body); text-transform: uppercase; letter-spacing: .01em; }
.sg-footer__brand .sg-footer__h { margin-top: 26px; }
.sg-pay { display: flex; align-items: center; gap: 22px; margin-top: 14px; }
.sg-pay__visa { font: italic 900 31px/1 var(--f-body); letter-spacing: -.02em; }
.sg-pay svg { width: auto; height: 32px; }
.sg-pay__napas svg { height: 14px; }
.sg-pay__napas { display: flex; align-items: flex-start; gap: 2px; font: italic 700 23px/1 var(--f-body); }
.sg-footer__col { padding-left: 36px; border-left: 1px solid rgba(255, 255, 255, .16); }
.sg-footer__links { display: grid; gap: 11px; margin-top: 18px; }
.sg-footer__links--tight { gap: 9px; }
.sg-footer__links a { font-size: 16px; color: rgba(255, 255, 255, .9); transition: color .2s, padding .2s; }
.sg-footer__links a:hover { color: var(--yellow); padding-left: 4px; }
.sg-footer__h--contact { margin-top: 26px; }
.sg-footer__contact { display: grid; gap: 12px; margin-top: 16px; }
.sg-footer__contact li { display: flex; gap: 14px; font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.sg-footer__contact svg { width: 22px; height: 22px; margin-top: 1px; }
.sg-footer__contact small { display: block; font-size: 15px; color: rgba(255, 255, 255, .86); }
.sg-footer__phone { font-weight: 700; font-size: 17px; }
.sg-footer__contact a:hover { color: var(--yellow); }
.sg-copy { border-top: 1px solid rgba(255, 255, 255, .16); font-size: 14.5px; color: rgba(255, 255, 255, .88); }
.sg-copy__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; }
.sg-copy ul { display: flex; }
.sg-copy li + li::before { content: "|"; margin: 0 12px; opacity: .6; }
.sg-copy a:hover { color: var(--yellow); }

/* ============================================================
   MODAL (video / chứng nhận)
   ============================================================ */
.sg-modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 24px; background: rgba(6, 22, 50, .82); }
.sg-modal[hidden] { display: none; }
.sg-modal__frame { width: min(980px, 100%); }
.sg-modal__frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: #000; }
.sg-modal__frame.is-image { width: auto; }
.sg-modal__frame.is-image img { max-width: min(560px, 90vw); max-height: 86vh; width: auto; margin: 0 auto; padding: 8px; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.sg-modal__close {
  position: absolute; top: 18px; right: 18px; display: grid; place-items: center;
  width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: var(--blue-deep);
}
.sg-modal__close svg { width: 22px; height: 22px; }

/* ---------- hiện dần khi cuộn ---------- */
.sg-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.sg-reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1399px) {
  .sg-hotline-top { display: none; }
}

@media (max-width: 1279px) {
  .sg-nav__list > li > a { padding: 0 6px; font-size: 13px; }
  .sg-nav__list > li > a::after { left: 6px; right: 6px; }
  .sg-brand img { width: 184px; }
  .sg-hero__title { font-size: 36px; }
  .sg-hero__copy { width: 50%; }
  .sg-doc__copy { width: 56%; }
  .sg-doc__skills { width: 230px; }
}

@media (max-width: 1199px) {
  :root { --head-h: 76px; }
  .sg-hotline-top { display: none; }
  .sg-hero__copy { width: 54%; }
  .sg-quick__card { grid-template-columns: 1fr; gap: 18px; }
  .sg-about__grid { grid-template-columns: 1fr 420px; gap: 40px; }
  .sg-services__grid { grid-template-columns: repeat(3, 1fr); }
  .sg-hotline__card { grid-template-columns: 280px 1fr; padding: 24px 32px 24px 0; }
  .sg-hotline__act { grid-column: 2; align-items: flex-start; }
  .sg-doc__photo { width: 48%; }
  .sg-doc__skills { top: auto; bottom: 18px; translate: none; }
  .sg-partners__list { grid-template-columns: repeat(3, 1fr); }
  .sg-awards__list { gap: 26px; padding-right: 0; }
  .sg-footer__grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .sg-footer__brand { grid-column: 1 / -1; padding-right: 0; }
  .sg-footer__col:nth-of-type(2) { padding-left: 0; border-left: 0; }
  .sg-footer__col:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
}

/* menu dạng burger từ 1199px trở xuống */
@media (max-width: 1199px) {
  .sg-burger { display: flex; }
  .sg-lang { margin-left: auto; }
  .sg-nav {
    position: fixed; left: 0; right: 0; top: var(--head-h); bottom: 0; z-index: 90;
    margin: 0; padding: 12px var(--gut) 40px; overflow-y: auto;
    background: #fff; box-shadow: 0 20px 30px rgba(10, 50, 110, .12);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .sg-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .sg-nav__list { flex-direction: column; height: auto; gap: 0; }
  .sg-nav__list > li { display: block; border-bottom: 1px solid var(--line); }
  .sg-nav__list > li > a { height: auto; padding: 15px 4px; font-size: 16px; }
  .sg-nav__list > li > a svg { display: none; }
  .sg-nav__list > li > a::after { display: none; }
  .sg-nav__toggle {
    position: absolute; right: 0; top: 6px; display: grid; place-items: center;
    width: 42px; height: 42px; border: 0; border-radius: 10px; background: var(--sky-2); color: var(--blue);
  }
  .sg-nav__toggle svg { width: 18px; height: 18px; transition: transform .25s; }
  .sg-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sg-sub { position: static; display: none; min-width: 0; padding: 0 0 12px 10px; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .sg-sub.is-open { display: block; }
  .sg-nav__has-sub:hover .sg-sub:not(.is-open) { display: none; }
}

@media (max-width: 991px) {
  .sg-hero__copy { width: 62%; }
  .sg-hero::after { background: linear-gradient(90deg, rgba(233, 243, 253, 0) 20%, rgba(233, 243, 253, .8) 40%, rgba(233, 243, 253, .6) 100%); }
  .sg-quick__fields, .sg-quick__perks { grid-template-columns: 1fr 1fr; }
  .sg-quick__perks li:last-child { grid-column: 1 / -1; }
  .sg-about__grid { grid-template-columns: 1fr; }
  .sg-about__img { max-width: 640px; }
  .sg-stats__list { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .sg-stats__list li:nth-child(3) { border-left: 0; }
  .sg-services__grid { grid-template-columns: repeat(2, 1fr); }
  .sg-hotline__card { grid-template-columns: 220px 1fr; }
  .sg-hotline__visual picture { left: 20px; width: 190px; }
  .sg-doc { display: block; min-height: 0; }
  .sg-doc__photo { position: relative; width: 100%; height: 420px; clip-path: none; }
  .sg-doc__photo picture { left: 50%; translate: -50% 0; }
  .sg-doc__photo::before { background: linear-gradient(0deg, #fff 0, rgba(255, 255, 255, 0) 30%); }
  .sg-doc__copy { width: 100%; padding: 8px 28px 30px; }
  .sg-doc__skills { position: absolute; top: -410px; right: 16px; bottom: auto; width: 230px; padding: 10px 16px; }
  .sg-doc__skills li { padding: 8px 0; font-size: 15px; }
  .sg-btn--doc { margin-left: 0; }
  .sg-docs__list { grid-auto-columns: calc((100% - 2 * 16px) / 3.3); gap: 16px; }
  .sg-videos__grid, .sg-equip__grid, .sg-press__grid, .sg-results__grid, .sg-news__grid, .sg-branches__grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .sg-awards__inner { grid-template-columns: 1fr; }
  .sg-awards__cup { display: none; }
  .sg-awards__list { grid-column: 1; }
  .sg-book__bg img { object-position: 20% 30%; }
  .sg-book::before { background: rgba(234, 244, 253, .82); }
  .sg-book__form { width: 100%; max-width: 680px; margin: 0 auto; }
}

/* màn hình thấp (laptop): thu gọn nội dung banner để vừa màn hình đầu */
@media (min-width: 768px) and (max-height: 820px) {
  .sg-hero__copy { padding: 24px 0 84px; }
  .sg-hero__eyebrow { font-size: 15px; }
  .sg-hero__title { margin: 8px 0 12px; font-size: 36px; }
  .sg-hero__lead { font-size: 16px; }
  .sg-hero__feats { margin: 20px 0 24px; }
  .sg-hero__feats li { gap: 8px; font-size: 13.5px; }
  .sg-hero__ico { width: 60px; height: 60px; }
  .sg-hero__ico svg { width: 28px; height: 28px; }
}
@media (min-width: 768px) and (max-height: 680px) {
  .sg-hero__copy { padding: 18px 0 78px; }
  .sg-hero__title { font-size: 32px; }
  .sg-hero__lead { font-size: 15px; line-height: 1.5; }
  .sg-hero__feats { margin: 14px 0 18px; }
  .sg-hero__feats li { font-size: 12.5px; }
  .sg-hero__ico { width: 50px; height: 50px; }
  .sg-hero__ico svg { width: 24px; height: 24px; }
  .sg-hero .sg-btn--lg { height: 48px; font-size: 15px; }
}

@media (max-width: 767px) {
  :root { --gut: 16px; --head-h: 68px; }
  body { font-size: 15px; }
  .sg-brand img { width: 150px; }
  .sg-btn--head { display: none; }
  .sg-title { font-size: 25px; }
  .sg-lead { font-size: 15px; }
  .sg-lead br, .sg-hotline__text br, .sg-tech p br, .sg-video h3 br, .sg-doc__checks br { display: none; }
  .sg-eyebrow { font-size: 13px; }
  .sg-eyebrow::before, .sg-eyebrow::after { width: 22px; }

  .sg-hero__inner { display: block; min-height: 0; }
  .sg-hero__bg { position: relative; }
  .sg-hero__bg img { position: static; width: 100%; height: auto; aspect-ratio: 900 / 752; object-position: 50% 30%; }
  .sg-hero::after { display: none; }
  .sg-hero__copy { width: 100%; padding: 26px 0 86px; text-align: center; }
  .sg-hero__eyebrow { font-size: 14px; }
  .sg-hero__title { font-size: 24px; text-wrap: balance; }
  .sg-hero__lead { font-size: 16px; margin: 0 auto; }
  .sg-hero__feats { justify-content: center; margin: 22px 0 26px; }
  .sg-hero__feats li { padding: 0 12px; font-size: 12px; }
  .sg-hero__ico { width: 54px; height: 54px; }
  .sg-hero__ico svg { width: 26px; height: 26px; }
  .sg-btn--lg { height: 52px; padding: 0 28px; font-size: 15px; }

  .sg-quick { margin-top: -54px; }
  .sg-quick__card { padding: 22px 18px; border-radius: 18px; }
  .sg-quick__intro { text-align: center; }
  .sg-quick__intro h2 { font-size: 19px; }
  .sg-quick__fields, .sg-quick__perks { grid-template-columns: 1fr; }
  .sg-quick__perks { gap: 10px; }
  .sg-quick__perks li:last-child { grid-column: auto; }
  .sg-btn--field { width: 100%; }

  .sg-about { padding: 48px 0; }
  .sg-about__text { font-size: 16px; line-height: 1.8; }
  .sg-stats { padding: 30px 0; }
  .sg-stats__list li { padding: 0 8px; }
  .sg-stats__list svg { width: 34px; height: 34px; }
  .sg-stats__list strong { font-size: 32px; }
  .sg-stats__list span { font-size: 14px; }
  .sg-stats__list p { font-size: 13px; }
  .sg-stats__list p br { display: none; }

  .sg-services, .sg-videos, .sg-equip, .sg-press, .sg-results, .sg-news { padding: 46px 0; }
  .sg-services__grid { gap: 16px; }
  .sg-svc__body { padding: 46px 16px 18px; }
  .sg-svc__icon { width: 64px; height: 64px; top: -34px; left: 14px; }
  .sg-svc h3 { font-size: 15.5px; }
  .sg-svc p { font-size: 14px; margin: 8px 0 16px; }
  .sg-btn-line { height: 42px; font-size: 13px; gap: 8px; }

  .sg-hotline__card { grid-template-columns: 1fr; padding: 0 20px 26px; text-align: center; margin-top: 60px; }
  .sg-hotline__visual { height: 170px; margin-top: -60px; }
  .sg-hotline__visual picture { left: 50%; translate: -50% 0; width: 190px; }
  .sg-bubble--1 { left: calc(50% - 10px); }
  .sg-bubble--2 { left: calc(50% + 70px); }
  .sg-bubble--3 { left: calc(50% - 130px); }
  .sg-bubble--4 { left: calc(50% + 110px); }
  .sg-hotline__text h2 { font-size: 24px; }
  .sg-hotline__text p { font-size: 15px; }
  .sg-hotline__act { grid-column: auto; align-items: center; }
  .sg-btn--xl { width: 100%; height: 56px; padding: 0 20px; font-size: 15.5px; }

  .sg-team { padding: 46px 0; }
  .sg-doc { border-radius: 20px; }
  .sg-doc__photo { height: 340px; }
  .sg-doc__skills { position: static; width: auto; margin: 0 16px 20px; padding: 6px 16px; box-shadow: none; border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .sg-doc__skills li { font-size: 14px; gap: 10px; }
  .sg-doc__skills li > span:first-child { width: 38px; height: 38px; }
  .sg-doc__skills svg { width: 22px; height: 22px; }
  .sg-doc__copy { padding: 4px 18px 26px; }
  .sg-doc__name { font-size: 24px; }
  .sg-doc__role { font-size: 16.5px; }
  .sg-doc__checks li { font-size: 15px; gap: 10px; }
  .sg-doc__checks svg { width: 22px; height: 22px; }
  .sg-certs { gap: 8px; }
  .sg-cert { padding: 6px 4px 14px; border-width: 4px; }
  .sg-cert strong { font-size: 8.5px; }
  .sg-cert small { font-size: 6px; }
  .sg-cert__crest { width: 20px; height: 22px; margin-top: 3px; }
  .sg-btn--doc { width: 100%; }
  .sg-docs { gap: 8px; }
  .sg-docs__arrow { width: 38px; height: 38px; }
  .sg-docs__list { grid-auto-columns: calc((100% - 12px) / 2.2); gap: 12px; }
  .sg-docs__btn > span { font-size: 13.5px; }

  .sg-videos__grid, .sg-equip__grid, .sg-press__grid, .sg-results__grid, .sg-news__grid, .sg-branches__grid { grid-template-columns: 1fr; gap: 18px; }
  .sg-video__body { padding: 18px 20px 22px; }
  .sg-partners { padding: 40px 0; }
  .sg-partners__list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sg-partners__list li { height: 80px; padding: 12px 14px; }
  .sg-partners__list li:last-child { grid-column: 1 / -1; width: calc(50% - 6px); justify-self: center; }
  .sg-awards { padding: 44px 0; }
  .sg-awards__list { gap: 12px; }
  .sg-award { padding: 4px; }

  .sg-book__inner { min-height: 0; }
  .sg-book__form { padding: 40px 0 34px; }
  .sg-book__title { font-size: 26px; }
  .sg-book__form > .sg-hero__eyebrow, .sg-book__title, .sg-book__lead { text-align: center; }
  .sg-book__lead { font-size: 15.5px; }
  .sg-book__fields { grid-template-columns: 1fr; }
  .sg-field input, .sg-field select { height: 54px; }
  .sg-btn--book { width: 100%; }

  .sg-post__body { padding: 18px 20px 24px; }
  .sg-post h3 { font-size: 19px; }
  .sg-post__cat { height: 32px; font-size: 12.5px; }
  .sg-branches { padding: 10px 0 50px; }
  .sg-branch__body { padding: 20px 20px 24px; }
  .sg-branch h3 { font-size: 18.5px; }
  .sg-branch__addr { font-size: 15.5px; }

  .sg-footer__grid { grid-template-columns: 1fr; padding-top: 40px; }
  .sg-footer__col { grid-column: auto !important; padding-left: 0; border-left: 0; }
  .sg-footer__links { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .sg-pay { flex-wrap: wrap; }
  .sg-copy__inner { flex-direction: column; justify-content: center; padding: 16px 0 90px; text-align: center; }
  .sg-copy ul { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 420px) {
  .sg-hero__title { font-size: 21px; }
  .sg-hero__feats li { padding: 0 8px; font-size: 11px; }
  .sg-services__grid { grid-template-columns: 1fr; }
  .sg-svc__img img { aspect-ratio: 16 / 10; }
  .sg-stats__list strong { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
