@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ============================================
   THANH THUY CLINIC - Global Stylesheet
   ============================================ */

:root {
  --primary: #1a6b8a;
  --primary-dark: #124e66;
  --primary-light: #2d9cdb;
  --accent: #e8f4f8;
  --teal: #0f8a8a;
  --gold: #c9a84c;
  --text-dark: #1a2332;
  --text-mid: #4a5568;
  --text-light: #718096;
  --bg-light: #f7fbfd;
  --bg-white: #ffffff;
  --border: #d6e8f0;
  --shadow-sm: 0 2px 8px rgba(26,107,138,0.08);
  --shadow-md: 0 8px 30px rgba(26,107,138,0.12);
  --shadow-lg: 0 20px 60px rgba(26,107,138,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Be Vietnam Pro', 'Segoe UI', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
h1,h2,h3,h4,h5 { font-weight: 700; line-height: 1.3; color: var(--text-dark); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p { color: var(--text-mid); margin-bottom: 1rem; }

.section-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.6rem,3.5vw,2.4rem); color: var(--text-dark); margin-bottom: 0.75rem; }
.section-title span { color: var(--primary); }
.section-subtitle { color: var(--text-light); font-size: 1.05rem; max-width: 580px; }
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px; font-weight: 600;
  font-size: 0.95rem; border: none; cursor: pointer; transition: var(--transition); text-decoration: none;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); color: white; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(26,107,138,.35); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; transform: translateY(-2px); }
.btn-white { background: white; color: var(--primary); }
.btn-white:hover { background: var(--accent); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* TOPBAR */
.topbar { background: var(--primary-dark); color: rgba(255,255,255,.85); font-size: .82rem; padding: 7px 0; }
.topbar-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: white; }
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-left,.topbar-right { display: flex; gap: 20px; flex-wrap: wrap; }

/* NAVBAR */
.navbar { position: sticky; top: 0; z-index: 1000; background: white; box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--border); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: 1180px; margin: 0 auto; }
.navbar-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon { width: 44px; height: 44px; background: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.4rem; }
.logo-text { line-height: 1.2; }
.logo-text strong { display: block; font-size: 1.05rem; color: var(--primary); font-weight: 700; }
.logo-text small { font-size: .72rem; color: var(--text-light); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 8px; font-size: .9rem; color: var(--text-mid); font-weight: 500; transition: var(--transition); }
.nav-links a:hover,.nav-links a.active { background: var(--accent); color: var(--primary); }
.nav-cta { margin-left: 12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 2.5px; background: var(--primary); border-radius: 2px; transition: var(--transition); }

/* HERO */
.hero { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--teal) 100%); color: white; padding: 100px 0 80px; position: relative; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.2); color: white; font-size: .82rem; font-weight: 600; letter-spacing: 1px; padding: 7px 16px; border-radius: 50px; margin-bottom: 1.5rem; }
.hero h1 { color: white; margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: #a8dadc; }
.hero-desc { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 2.5rem; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 2rem; font-weight: 800; color: white; }
.hero-stat small { font-size: .8rem; color: rgba(255,255,255,.7); }
.hero-image-wrap { display: flex; justify-content: center; align-items: center; }
.hero-card { background: rgba(255,255,255,.1); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-lg); padding: 40px; text-align: center; width: 100%; max-width: 380px; }
.hero-card-avatar { width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.2); margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; border: 3px solid rgba(255,255,255,.4); }
.hero-card h3 { color: white; font-size: 1.2rem; margin-bottom: 4px; }
.hero-card p { color: rgba(255,255,255,.75); font-size: .88rem; margin-bottom: 16px; }
.hero-card-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hero-card-tag { background: rgba(255,255,255,.15); color: white; font-size: .75rem; padding: 4px 12px; border-radius: 50px; border: 1px solid rgba(255,255,255,.2); }

/* CARDS */
.card { background: white; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition); overflow: hidden; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-icon { width: 56px; height: 56px; border-radius: 12px; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 1rem; }
.card-body { padding: 28px; }

/* GRIDS */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* TESTIMONIAL */
.testimonial-card { background: white; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.testimonial-stars { color: #f6ad55; font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-text { font-size: .95rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.testimonial-author-name { font-weight: 600; font-size: .9rem; color: var(--text-dark); }
.testimonial-author-role { font-size: .78rem; color: var(--text-light); }

/* FORM */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; font-size: .88rem; color: var(--text-dark); margin-bottom: 6px; }
.form-label span { color: #e53e3e; margin-left: 2px; }
.form-control { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 10px; font-size: .95rem; color: var(--text-dark); background: white; transition: var(--transition); font-family: inherit; }
.form-control:focus { outline: none; border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(45,156,219,.12); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-hint { font-size: .78rem; color: var(--text-light); margin-top: 4px; }

/* FAQ */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; }
.faq-question { padding: 18px 24px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: white; transition: var(--transition); user-select: none; }
.faq-question:hover { background: var(--accent); color: var(--primary); }
.faq-question.open { background: var(--primary); color: white; }
.faq-question .icon { font-size: 1.2rem; transition: var(--transition); flex-shrink: 0; }
.faq-question.open .icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; background: var(--bg-light); }
.faq-answer.open { max-height: 400px; }
.faq-answer-inner { padding: 16px 24px; color: var(--text-mid); font-size: .95rem; line-height: 1.7; }

/* TAG */
.tag { display: inline-block; padding: 4px 12px; border-radius: 50px; font-size: .75rem; font-weight: 600; }
.tag-blue { background: var(--accent); color: var(--primary); }
.tag-green { background: #e6f4ea; color: #2d7a3a; }
.tag-orange { background: #fff3e0; color: #c05600; }
.tag-pink { background: #fce4ec; color: #b83280; }

/* PAGE HEADER */
.page-header { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: white; padding: 60px 0 50px; position: relative; overflow: hidden; }
.page-header::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 40px; background: var(--bg-white); clip-path: ellipse(55% 100% at 50% 100%); }
.page-header h1 { color: white; margin-bottom: 10px; }
.page-header p { color: rgba(255,255,255,.8); font-size: 1.05rem; margin: 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: white; }

/* FOOTER */
.footer { background: var(--text-dark); color: rgba(255,255,255,.75); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo .logo-icon { background: var(--primary); }
.footer-logo .logo-text strong { color: white; }
.footer-logo .logo-text small { color: rgba(255,255,255,.5); }
.footer-desc { font-size: .9rem; line-height: 1.8; margin-bottom: 20px; color: rgba(255,255,255,.6); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); font-size: 1rem; transition: var(--transition); }
.footer-social a:hover { background: var(--primary); color: white; }
.footer-col h4 { color: white; font-size: .95rem; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { color: rgba(255,255,255,.6); font-size: .88rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; font-size: .88rem; color: rgba(255,255,255,.65); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: rgba(255,255,255,.4); }

/* FAB */
.fab-wrap { position: fixed; bottom: 28px; right: 28px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; z-index: 999; }
.fab { width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; box-shadow: 0 4px 16px rgba(0,0,0,.2); transition: var(--transition); text-decoration: none; }
.fab:hover { transform: scale(1.1); }
.fab-phone { background: #25d366; color: white; }
.fab-call { background: var(--primary); color: white; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 56px 0; }
  .hero { padding: 70px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-image-wrap { display: none; }
  .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; }
  .nav-links,.nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: white; padding: 16px 24px; box-shadow: var(--shadow-md); z-index: 999; align-items: flex-start; gap: 4px; border-top: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .fab-wrap { bottom: 16px; right: 16px; }
}

/* BS Avatar with real photo */
.bs-avatar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}
.bs-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
