/*
 Theme Name:   Flatsome Child - Dr. Hữu
 Template:     flatsome
 Version:      1.0.0
 Description:  Custom child theme for Thẩm Mỹ Dr. Hữu
*/

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

/* ====== CSS VARIABLES ====== */
:root {
  --primary: #1a5276;
  --primary-light: #2980b9;
  --primary-dark: #0e2f44;
  --accent: #c9a96e;
  --accent-light: #d4bc8a;
  --accent-dark: #a88a4e;
  --dark: #1a1a2e;
  --dark-light: #2d2d44;
  --text: #333333;
  --text-light: #666666;
  --bg: #ffffff;
  --bg-warm: #faf8f5;
  --bg-section: #f5f3ef;
  --font-heading: 'Montserrat', 'Be Vietnam Pro', -apple-system, sans-serif;
  --font-body: 'Be Vietnam Pro', -apple-system, sans-serif;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ====== GLOBAL TYPOGRAPHY ====== */
body {
  font-family: var(--font-body) !important;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .section-title {
  font-family: var(--font-heading) !important;
  color: var(--primary-dark);
}

/* ====== BRAND LOGO TEXT ====== */
#logo a {
  display: inline-flex;
  min-width: 190px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-decoration: none;
  line-height: 1.05;
}
#logo img {
  display: none !important;
}
#logo a::before {
  content: "Thẩm Mỹ Dr. Hữu";
  color: var(--primary-dark);
  font-family: var(--font-heading) !important;
  font-size: 1.55rem;
  font-weight: 700;
  white-space: nowrap;
}
#logo a::after {
  content: "Beauty Clinic";
  margin-top: 4px;
  color: var(--accent-dark);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.transparent #logo a::before {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.28);
}
.transparent #logo a::after {
  color: var(--accent-light);
}

/* ====== HERO VIDEO SECTION ====== */
.hero-video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
.hero-photo-section {
  background: var(--primary-dark);
}
.hero-photo-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero-video-section video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}
.hero-video-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 0 20px;
  color: #fff;
}
.hero-video-content h1 {
  font-family: var(--font-heading) !important;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: 0.5em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  letter-spacing: 0;
}
.hero-video-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 600px;
  margin: 0 auto 2em;
  opacity: 0.95;
}
.hero-cta-group {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
}
.hero-cta-group a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: 0;
}
.btn-primary-cta {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(201,169,110,0.4);
}
.btn-primary-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(201,169,110,0.5);
}
.btn-outline-cta {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}
.btn-outline-cta:hover {
  background: #fff;
  color: var(--primary-dark);
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(-1%, 0, 0); }
  to { transform: scale(1.1) translate3d(1%, -1%, 0); }
}

/* ====== STATS COUNTERS ====== */
.stats-section {
  background: var(--primary-dark);
  padding: 60px 0;
}
.stat-item {
  text-align: center;
  color: #fff;
}
.stat-number {
  font-family: var(--font-heading) !important;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}
.stat-label {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-top: 5px;
}

/* ====== SERVICE CARDS ====== */
.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: #fff;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover img {
  transform: scale(1.05);
}
.service-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 30px 20px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
}
.service-card-overlay h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.service-index-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(14,47,68,0.94), rgba(26,82,118,0.82)),
    radial-gradient(circle at 78% 18%, rgba(201,169,110,0.48), transparent 30%);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.service-index-card:hover {
  color: #fff;
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-index-card span {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--accent-light);
  font-weight: 700;
}
.service-index-card strong {
  display: block;
  color: #fff;
  font-family: var(--font-heading) !important;
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.service-index-card em {
  color: rgba(255,255,255,0.78);
  font-style: normal;
  line-height: 1.55;
}
.service-detail-hero {
  overflow: hidden;
}
.service-hero-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 22%, rgba(201,169,110,0.55), transparent 22%),
    linear-gradient(150deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
  box-shadow: 0 24px 70px rgba(0,0,0,0.25);
}
.service-hero-visual::before,
.service-hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
}
.service-hero-visual::before {
  width: 260px;
  height: 260px;
  right: -82px;
  top: -72px;
}
.service-hero-visual::after {
  width: 180px;
  height: 180px;
  left: -54px;
  bottom: -62px;
}
.service-hero-visual span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 84px;
  height: 84px;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
}
.service-hero-visual strong,
.service-hero-visual em {
  position: relative;
  z-index: 1;
  display: block;
}
.service-hero-visual strong {
  margin-top: 96px;
  color: #fff;
  font-family: var(--font-heading) !important;
  font-size: 2rem;
}
.service-hero-visual em {
  margin-top: 8px;
  color: rgba(255,255,255,0.78);
  font-style: normal;
}
.method-list {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}
.method-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid #eee;
  color: var(--text-light);
  line-height: 1.65;
}
.method-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.service-side-card {
  position: sticky;
  top: 96px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-warm);
  box-shadow: var(--shadow);
}
.service-side-card dl {
  margin: 18px 0 22px;
}
.service-side-card dt {
  color: var(--primary-dark);
  font-weight: 700;
}
.service-side-card dd {
  margin: 4px 0 14px;
  color: var(--text-light);
  line-height: 1.55;
}
.service-side-card .btn-primary-cta {
  display: inline-flex;
  width: 100%;
  justify-content: center;
}
.service-step-number {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
}

/* ====== DOCTOR PROFILE ====== */
.doctor-section {
  background: var(--bg-warm);
  padding: 80px 0;
}
.doctor-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.doctor-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top;
}
.doctor-info {
  padding: 40px;
}
.doctor-info h2 {
  font-size: 2rem;
  margin-bottom: 5px;
}
.doctor-info .specialty {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.doctor-placeholder {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 24% 18%, rgba(201,169,110,0.42), transparent 26%),
    linear-gradient(145deg, rgba(14,47,68,0.95), rgba(26,82,118,0.82));
  box-shadow: var(--shadow-lg);
}
.doctor-placeholder::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.doctor-placeholder::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 32%;
  height: 1px;
  background: rgba(255,255,255,0.22);
}
.doctor-placeholder span,
.doctor-placeholder strong,
.doctor-placeholder em {
  position: relative;
  z-index: 1;
}
.doctor-placeholder span {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  border-radius: 28px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
}
.doctor-placeholder strong {
  color: #fff;
  font-family: var(--font-heading) !important;
  font-size: 2rem;
}
.doctor-placeholder em {
  margin-top: 8px;
  color: rgba(255,255,255,0.76);
  font-style: normal;
}
.doctor-placeholder-dark {
  min-height: 520px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.consult-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(14,47,68,0.92), rgba(26,82,118,0.76)),
    linear-gradient(90deg, rgba(255,255,255,0.11) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.11) 1px, transparent 1px);
  background-size: auto, 38px 38px, 38px 38px;
  box-shadow: var(--shadow-lg);
}
.consult-visual::before {
  content: "";
  position: absolute;
  right: -58px;
  top: -58px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(201,169,110,0.32);
}
.consult-visual::after {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 118px;
  height: 1px;
  background: rgba(255,255,255,0.2);
}
.consult-visual span,
.consult-visual strong,
.consult-visual em {
  position: relative;
  z-index: 1;
}
.consult-visual span {
  width: 92px;
  height: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  border-radius: 22px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}
.consult-visual strong {
  color: #fff;
  font-family: var(--font-heading) !important;
  font-size: 1.9rem;
  line-height: 1.2;
}
.consult-visual em {
  margin-top: 10px;
  color: rgba(255,255,255,0.78);
  font-style: normal;
  line-height: 1.65;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.trust-item,
.info-card,
.service-note,
.media-placeholder,
.contact-card {
  background: #fff;
  border: 1px solid rgba(14,47,68,0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.trust-item {
  padding: 22px 18px;
  text-align: center;
}
.trust-item strong {
  display: block;
  color: var(--primary-dark);
  font-family: var(--font-heading) !important;
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.trust-item span {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.55;
}
.service-note {
  padding: 24px;
  background: var(--bg-warm);
  color: var(--primary-dark);
}
.info-card {
  padding: 28px;
  height: 100%;
}
.info-card h3 {
  margin-bottom: 12px;
}
.info-card p,
.info-card li {
  color: var(--text-light);
  line-height: 1.75;
}

/* ====== TIMELINE ====== */
.timeline {
  position: relative;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--accent);
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
  width: 50%;
}
.timeline-item:nth-child(odd) { padding-right: 40px; text-align: right; }
.timeline-item:nth-child(even) { padding-left: 40px; margin-left: 50%; }
.timeline-dot {
  position: absolute;
  width: 20px; height: 20px;
  background: var(--accent);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--accent);
  top: 0;
}
.timeline-item:nth-child(odd) .timeline-dot { right: -10px; }
.timeline-item:nth-child(even) .timeline-dot { left: -10px; }
.timeline-year {
  font-family: var(--font-heading) !important;
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
}
.doctor-safe-timeline .timeline-item p {
  color: var(--text-light);
  line-height: 1.75;
}
.doctor-safe-timeline .timeline-item strong {
  color: var(--primary-dark);
}

/* ====== PROCESS INFOGRAPHIC ====== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.process-card {
  position: relative;
  min-height: 250px;
  padding: 26px 22px;
  overflow: hidden;
  border: 1px solid rgba(14,47,68,0.08);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.process-card::before {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: rgba(201,169,110,0.14);
}
.process-step-badge {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
}
.process-card h3,
.process-card p {
  position: relative;
  z-index: 1;
}
.process-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}
.process-card p {
  color: var(--text-light);
  line-height: 1.65;
  font-size: 0.94rem;
}

/* ====== BEFORE/AFTER GALLERY ====== */
.ba-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.ba-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.ba-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.ba-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.ba-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.ba-placeholder-frame {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(14,47,68,0.9), rgba(26,82,118,0.78)),
    linear-gradient(90deg, rgba(255,255,255,0.11) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.11) 1px, transparent 1px);
  background-size: auto, 30px 30px, 30px 30px;
  color: #fff;
}
.ba-placeholder-frame.after {
  background:
    linear-gradient(135deg, rgba(201,169,110,0.92), rgba(168,138,78,0.84)),
    linear-gradient(90deg, rgba(255,255,255,0.14) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: auto, 30px 30px, 30px 30px;
}
.ba-placeholder-frame strong {
  color: #fff;
  font-family: var(--font-heading) !important;
  font-size: 1.2rem;
}
.ba-placeholder-frame span {
  margin-top: 6px;
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
}
.ba-label {
  text-align: center;
  padding: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--bg-warm);
}
.ba-copy {
  padding: 18px;
  color: var(--text-light);
  line-height: 1.65;
}
.media-placeholder {
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(14,47,68,0.88), rgba(26,82,118,0.84)),
    radial-gradient(circle at top left, rgba(201,169,110,0.35), transparent 42%);
  color: #fff;
}
.media-placeholder strong {
  color: #fff;
  font-family: var(--font-heading) !important;
  font-size: 1.25rem;
}
.media-placeholder span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
}

/* ====== PRICING TABLE ====== */
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.price-table thead th {
  background: var(--primary-dark);
  color: #fff;
  padding: 16px 20px;
  font-weight: 600;
  text-align: left;
}
.price-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid #eee;
}
.price-table tbody tr:hover {
  background: var(--bg-warm);
}
.price-highlight {
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ====== POPUP FORM ====== */
.booking-popup .wpcf7,
.booking-form-card .wpcf7 {
  max-width: 400px;
  margin: 0 auto;
}
.booking-popup .wpcf7 input[type="text"],
.booking-popup .wpcf7 input[type="email"],
.booking-popup .wpcf7 input[type="tel"],
.booking-popup .wpcf7 select,
.booking-popup .wpcf7 textarea,
.booking-form-card .wpcf7 input[type="text"],
.booking-form-card .wpcf7 input[type="email"],
.booking-form-card .wpcf7 input[type="tel"],
.booking-form-card .wpcf7 select,
.booking-form-card .wpcf7 textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  margin-bottom: 12px;
}
.booking-popup .wpcf7 input:focus,
.booking-popup .wpcf7 select:focus,
.booking-popup .wpcf7 textarea:focus,
.booking-form-card .wpcf7 input:focus,
.booking-form-card .wpcf7 select:focus,
.booking-form-card .wpcf7 textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
}
.booking-popup .wpcf7 input[type="submit"],
.booking-form-card .wpcf7 input[type="submit"] {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}
.booking-popup .wpcf7 input[type="submit"]:hover,
.booking-form-card .wpcf7 input[type="submit"]:hover {
  background: var(--accent-dark);
}
.booking-form-row {
  margin-bottom: 9px;
}
.booking-form-row label {
  display: block;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.booking-form-note {
  color: var(--text-light);
  font-size: 0.84rem;
  line-height: 1.5;
  margin-bottom: 10px;
}
.booking-open {
  overflow: hidden;
}
.booking-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(4px);
}
.booking-popup {
  position: relative;
  width: min(92vw, 470px);
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  padding: 24px 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: slideUp 0.3s ease;
}
.booking-popup h3 {
  margin: 0 0 6px;
  color: var(--primary-dark);
  font-size: 1.6rem;
  text-align: center;
}
.booking-popup > p {
  margin-bottom: 16px;
  color: var(--text-light);
  text-align: center;
  font-size: 0.95rem;
}
.booking-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f3f3f3;
  color: #666;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.booking-close:hover {
  background: var(--primary-dark);
  color: #fff;
}
#booking-modal textarea {
  min-height: 68px;
}
#booking-modal .wpcf7 input[type="submit"] {
  margin-top: 4px;
}
#booking-modal .wpcf7 input[type="text"],
#booking-modal .wpcf7 input[type="email"],
#booking-modal .wpcf7 input[type="tel"],
#booking-modal .wpcf7 select,
#booking-modal .wpcf7 textarea {
  padding: 10px 14px;
  margin-bottom: 8px;
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ====== FLOATING BUTTONS ====== */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: var(--transition);
  text-decoration: none;
  font-size: 24px;
  cursor: pointer;
  border: none;
}
.float-btn span {
  line-height: 1;
}
.float-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}
.float-btn-booking {
  background: var(--accent);
  color: #fff;
}
.float-btn-phone {
  background: #25D366;
  color: #fff;
  animation: pulse-green 2s infinite;
}
.float-btn-zalo {
  background: #0068FF;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ====== HEADER CUSTOMIZATIONS ====== */
.header-top {
  background: var(--primary-dark) !important;
  color: #fff;
  font-size: 0.85rem;
}
.header-top,
.header-top a {
  color: rgba(255,255,255,0.88) !important;
}
.header-top .flex-col {
  min-height: 30px;
}
#masthead .header-nav-main > li > a {
  font-size: 0.82rem;
  letter-spacing: 0;
  padding-left: 0.55em;
  padding-right: 0.55em;
}
#masthead .nav-dropdown {
  font-size: 0.92rem;
}
#masthead .header-button .button {
  border-radius: 999px;
  font-size: 0.84rem;
  letter-spacing: 0;
}
#header:not(.transparent) .header-main,
.stuck .header-main {
  background: #fff !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
#header.transparent #masthead,
#header.transparent .header-main {
  background: transparent !important;
  box-shadow: none !important;
}
#header.transparent .header-main .nav > li > a,
#header.transparent .header-main .header-button a {
  color: #fff;
}

/* ====== FOOTER ====== */
.footer-wrapper {
  background: var(--dark) !important;
}
.footer-wrapper h3, .footer-wrapper .widget-title {
  color: var(--accent) !important;
  font-family: var(--font-heading) !important;
}

/* ====== SECTION TITLES ====== */
.section-title-wrapper {
  text-align: center;
  margin-bottom: 50px;
}
.section-title-wrapper h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}
.section-title-wrapper h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 15px auto 0;
}
.section-title-wrapper p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ====== CTA SECTION ====== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 80px 0;
  text-align: center;
  color: #fff;
}
.cta-section h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 20px;
}
.cta-section p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 30px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.contact-card {
  padding: 24px;
}
.contact-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.contact-card p {
  margin-bottom: 0;
  color: var(--text-light);
  line-height: 1.7;
}
.contact-card a {
  color: var(--primary);
  font-weight: 700;
}
.map-embed {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}
.map-static {
  position: relative;
  min-height: 430px;
  background:
    linear-gradient(135deg, rgba(14,47,68,0.92), rgba(26,82,118,0.86)),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: auto, 58px 58px, 58px 58px;
}
.map-static::before,
.map-static::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(201,169,110,0.72);
}
.map-static::before {
  width: 76%;
  height: 10px;
  left: -8%;
  top: 42%;
  transform: rotate(-18deg);
}
.map-static::after {
  width: 62%;
  height: 8px;
  right: -10%;
  top: 58%;
  transform: rotate(26deg);
}
.map-static-grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,0.16), transparent 16%),
    radial-gradient(circle at 76% 70%, rgba(255,255,255,0.13), transparent 18%);
}
.map-static-pin {
  position: absolute;
  left: 54%;
  top: 42%;
  z-index: 2;
  transform: translate(-50%, -50%);
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 16px 36px rgba(0,0,0,0.28);
}
.map-static-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  transform: translateX(-50%) rotate(45deg);
}
.map-static-card {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  padding: 22px;
  border-radius: 10px;
  background: rgba(255,255,255,0.94);
  box-shadow: var(--shadow-lg);
}
.map-static-card h3 {
  margin-bottom: 6px;
}
.map-static-card p {
  margin-bottom: 14px;
  color: var(--text-light);
}
.map-static-card a {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--primary-dark);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.facility-card {
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.facility-card h3 {
  padding: 22px 22px 0;
  margin-bottom: 8px;
}
.facility-card p {
  padding: 0 22px 24px;
  color: var(--text-light);
  line-height: 1.7;
}
.facility-visual {
  position: relative;
  min-height: 190px;
  background:
    linear-gradient(135deg, rgba(14,47,68,0.9), rgba(26,82,118,0.78)),
    linear-gradient(90deg, rgba(255,255,255,0.11) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.11) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
}
.facility-visual::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 26px;
  height: 10px;
  border-radius: 999px;
  background: rgba(201,169,110,0.8);
}
.facility-visual span {
  position: absolute;
  right: 22px;
  top: 22px;
  color: rgba(255,255,255,0.86);
  font-family: var(--font-heading) !important;
  font-size: 2.4rem;
  font-weight: 700;
}
.clinical-note {
  padding: 18px 22px;
  border-left: 4px solid var(--accent);
  background: var(--bg-warm);
  color: var(--text-light);
  line-height: 1.7;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  #logo a { min-width: 160px; }
  #logo a::before { font-size: 1.26rem; }
  #logo a::after { font-size: 0.64rem; }
  .hero-video-section { min-height: 500px; }
  .hero-cta-group a { width: min(100%, 320px); justify-content: center; }
  .trust-strip { grid-template-columns: 1fr; }
  .service-hero-visual { min-height: 260px; }
  .service-hero-visual strong { margin-top: 62px; font-size: 1.55rem; }
  .consult-visual { min-height: 300px; padding: 26px; }
  .consult-visual strong { font-size: 1.55rem; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { min-height: auto; }
  .service-side-card { position: static; }
  .timeline::before { left: 20px; }
  .timeline-item { width: 100% !important; padding-left: 50px !important; padding-right: 0 !important; margin-left: 0 !important; text-align: left !important; }
  .timeline-item .timeline-dot { left: 10px !important; right: auto !important; }
  .floating-buttons { bottom: 15px; right: 15px; }
  .float-btn { width: 48px; height: 48px; font-size: 20px; }
  .float-btn-zalo { font-size: 0.7rem; }
  .ba-gallery { grid-template-columns: 1fr; }
  .booking-popup { padding: 30px 22px 24px; }
}

@media (min-width: 769px) and (max-width: 1180px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  #masthead .hide-for-medium {
    display: none !important;
  }
  #masthead .show-for-medium {
    display: flex !important;
  }
  #masthead .header-inner {
    justify-content: space-between;
  }
  #masthead .mobile-nav {
    align-items: center;
  }
}

/* ====== DOCTOR PAGE - Anh Skin Clinic Style ====== */
.dr-hero {
  position: relative;
  min-height: 85vh;
  background: linear-gradient(135deg, #faf6f0 60%, #f0ebe3 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.dr-hero-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}
.dr-hero-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 16px;
}
.dr-hero h1 {
  font-family: var(--font-heading) !important;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.1;
  margin-bottom: 8px;
}
.dr-hero-title-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
  margin-bottom: 20px;
}
.dr-hero-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 30px;
}
.dr-hero-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.dr-hero-cta .btn-filled {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--primary-dark);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 4px;
  text-decoration: none;
  transition: var(--transition);
}
.dr-hero-cta .btn-filled:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14,47,68,0.3);
}
.dr-hero-cta .btn-text {
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.dr-hero-cta .btn-text:hover {
  color: var(--accent-dark);
  gap: 12px;
}
.dr-hero-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 45%;
  height: 100%;
  overflow: hidden;
}
.dr-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.dr-hero-leaf {
  position: absolute;
  right: 38%;
  top: 15%;
  width: 120px;
  opacity: 0.3;
  transform: rotate(-15deg);
}

/* About Section */
.dr-about {
  padding: 100px 0;
}
.dr-about-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
}
.dr-about h2 {
  font-family: var(--font-heading) !important;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-style: italic;
  color: var(--primary-dark);
  line-height: 1.3;
  margin-bottom: 24px;
}
.dr-about-quote {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 20px;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}
.dr-about-sig {
  font-family: var(--font-heading) !important;
  font-style: italic;
  color: var(--primary-dark);
  font-size: 1.1rem;
}
.dr-about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dr-about-photos img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Timeline */
.dr-timeline {
  padding: 80px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.dr-timeline-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 40px;
}
.dr-timeline-track {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding-top: 30px;
}
.dr-timeline-track::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #ddd;
}
.dr-timeline-item {
  text-align: center;
  position: relative;
  flex: 1;
}
.dr-timeline-item::before {
  content: '';
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--accent);
}
.dr-timeline-year {
  font-family: var(--font-heading) !important;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.dr-timeline-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
  max-width: 140px;
  margin: 0 auto;
}

/* Expertise */
.dr-expertise {
  padding: 80px 0;
}
.dr-expertise-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 40px;
}
.dr-expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.dr-expertise-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.dr-expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.dr-expertise-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.dr-expertise-card-body {
  padding: 20px;
}
.dr-expertise-card h4 {
  font-family: var(--font-body) !important;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.dr-expertise-card p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Results Carousel */
.dr-results {
  padding: 80px 0;
  background: var(--bg-warm);
}
.dr-results-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 30px;
}
.dr-results-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
}
.dr-results-track::-webkit-scrollbar {
  height: 4px;
}
.dr-results-track::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 2px;
}
.dr-results-card {
  min-width: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.dr-results-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.dr-results-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-weight: 600;
  color: var(--primary-dark);
  text-decoration: none;
  font-size: 0.9rem;
}
.dr-results-link:hover { gap: 12px; }

/* Big Quote */
.dr-quote {
  padding: 80px 0;
  text-align: center;
}
.dr-quote-mark {
  font-size: 5rem;
  color: var(--accent);
  line-height: 0.5;
  font-family: Georgia, serif;
}
.dr-quote p {
  font-family: var(--font-heading) !important;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: var(--primary-dark);
  max-width: 700px;
  margin: 20px auto 0;
  line-height: 1.6;
}

/* Bottom CTA Bar */
.dr-cta-bar {
  display: flex;
  align-items: center;
  background: var(--bg-warm);
  border-top: 1px solid #eee;
  padding: 0;
}
.dr-cta-bar-items {
  display: flex;
  flex: 1;
}
.dr-cta-bar-item {
  flex: 1;
  padding: 20px 24px;
  border-right: 1px solid #eee;
}
.dr-cta-bar-item h5 {
  font-family: var(--font-body) !important;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.dr-cta-bar-item p {
  font-size: 0.75rem;
  color: var(--text-light);
  margin: 0;
}
.dr-cta-bar-btn {
  padding: 20px 36px;
  background: var(--primary-dark);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: var(--transition);
}
.dr-cta-bar-btn:hover {
  background: var(--primary);
}

/* ====== STATS COUNTERS ====== */
.stats-section {
  padding: 60px 0;
  background: var(--primary-dark);
  color: #fff;
}
.stats-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  text-align: center;
}
.stat-item .stat-number {
  font-family: var(--font-heading) !important;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-item .stat-label {
  font-size: 0.85rem;
  margin-top: 8px;
  opacity: 0.8;
}

/* ====== VIDEO HERO ====== */
.video-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
.video-hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
.video-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}
.video-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #fff;
  text-align: center;
  padding: 0 20px;
}
.video-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: #fff;
  margin-bottom: 16px;
}
.video-hero-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin-bottom: 30px;
}

/* ====== TESTIMONIALS ====== */
.testimonials-section {
  padding: 80px 0;
  background: var(--bg-warm);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.testimonial-card .stars {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.testimonial-card .quote {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-card .author {
  font-weight: 700;
  color: var(--primary-dark);
}
.testimonial-card .role {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ====== SERVICE GRID CARDS (Kangnam style) ====== */
.service-grid-kn {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card-kn {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 350px;
  cursor: pointer;
  transition: var(--transition);
}
.service-card-kn:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-card-kn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card-kn:hover img {
  transform: scale(1.08);
}
.service-card-kn .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 24px;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: #fff;
}
.service-card-kn .overlay h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.service-card-kn .overlay p {
  font-size: 0.85rem;
  opacity: 0.85;
  margin: 0;
}

/* ====== BOOKING POPUP UPDATE ====== */
.booking-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.65);
}
.booking-popup {
  background: #fff;
  border-radius: 12px;
  padding: 40px 36px 32px;
  max-width: 480px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.booking-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.booking-close:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}
.booking-popup h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.booking-popup .wpcf7 input[type="text"],
.booking-popup .wpcf7 input[type="email"],
.booking-popup .wpcf7 input[type="tel"],
.booking-popup .wpcf7 textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.booking-popup .wpcf7 input:focus,
.booking-popup .wpcf7 textarea:focus {
  border-color: var(--primary);
  outline: none;
}
.booking-popup .wpcf7 textarea {
  min-height: 120px;
  resize: vertical;
}
.booking-popup .wpcf7 input[type="submit"] {
  width: 100%;
  padding: 14px;
  background: var(--primary-dark);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.booking-popup .wpcf7 input[type="submit"]:hover {
  background: var(--primary);
}
html.booking-open { overflow: hidden; }

/* ====== RESPONSIVE - DOCTOR PAGE ====== */
@media (max-width: 768px) {
  .dr-hero { min-height: auto; padding: 120px 20px 60px; }
  .dr-hero-img { position: relative; width: 100%; height: 350px; margin-top: 30px; }
  .dr-hero-content { max-width: 100%; }
  .dr-about-photos { grid-template-columns: 1fr; }
  .dr-about-photos img { height: 220px; }
  .dr-timeline-track { flex-direction: column; gap: 24px; padding-top: 0; }
  .dr-timeline-track::before { display: none; }
  .dr-timeline-item::before { display: none; }
  .dr-expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .dr-cta-bar { flex-direction: column; }
  .dr-cta-bar-items { flex-direction: column; width: 100%; }
  .dr-cta-bar-item { border-right: none; border-bottom: 1px solid #eee; }
  .dr-cta-bar-btn { width: 100%; text-align: center; padding: 18px; }
  .stats-grid { flex-wrap: wrap; gap: 30px; }
  .stat-item { min-width: 120px; }
  .video-hero { height: 70vh; min-height: 450px; }
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   KANGNAM STYLE PARITY - CUSTOM HEADER, FOOTER, AND HOMEPAGE SECTIONS
   ========================================================================= */

:root {
  --kn-navy: #1a5276;
  --kn-navy-dark: #123c57;
  --kn-navy-light: #294573;
  --kn-gold: #c9a96e;
  --kn-gold-dark: #c4a376;
  --kn-gold-gradient: linear-gradient(90deg, #fec465 0%, #c28710 100%);
  --kn-bg-light: #fffcfa;
  --kn-bg-gray: #f1f1ef;
  --kn-text: #212529;
  --kn-text-light: #555555;
  --kn-shadow: 0 4px 15px rgba(0,0,0,0.06);
  --kn-shadow-hover: 0 10px 30px rgba(0,0,0,0.12);
  --kn-border-radius: 12px;
}

/* --- HEADER STYLING (header_kn_3_0_0) --- */
.header_kn_3_0_0 {
  width: 100%;
  position: relative;
  z-index: 999;
  background: #fff;
  font-family: var(--font-body);
}
@media (max-width: 991px) {
  .header_kn_3_0_0 {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin: 0 !important;
  }
  .admin-bar .header_kn_3_0_0 {
    top: 46px !important;
  }
  /* Offset body content so it doesn't hide behind the fixed header */
  body {
    padding-top: 70px !important;
  }
  .admin-bar body {
    padding-top: 116px !important;
  }
}
.header_kn_3_0_0.stuck {
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  animation: fadeInDown 0.3s ease-out;
}
.admin-bar .header_kn_3_0_0.stuck {
  top: 32px !important;
}
@media (max-width: 782px) {
  .admin-bar .header_kn_3_0_0.stuck {
    top: 46px !important;
  }
}
.header_kn_3_0_0__top {
  background: #fff;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.header_kn_3_0_0__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
}
.header_kn_3_0_0__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header_kn_3_0_0__brand-box {
  display: flex;
  align-items: center;
  gap: 15px;
}
.header_kn_3_0_0__brand-sub {
  height: 28px;
  opacity: 0.7;
}
.header_kn_3_0_0__divider {
  width: 1px;
  height: 25px;
  background: #e0e0e0;
}
.header_kn_3_0_0__eco-icons {
  display: flex;
  gap: 8px;
}
.header_kn_3_0_0__eco-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #666;
  font-size: 0.9rem;
  transition: all 0.2s;
  text-decoration: none;
}
.header_kn_3_0_0__eco-icon:hover {
  background: var(--kn-navy);
  color: #fff;
}
.header_kn_3_0_0__logo-main {
  text-align: center;
  text-decoration: none;
  display: block;
}
.header_kn_3_0_0__logo-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--kn-navy);
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0.5px;
}
.header_kn_3_0_0__logo-subtitle {
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--kn-gold);
  text-transform: uppercase;
  margin-top: 2px;
  font-weight: 600;
}
.header_kn_3_0_0__actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.header_kn_3_0_0__phone-info {
  display: flex;
  flex-direction: column;
  text-align: right;
}
.header_kn_3_0_0__phone-label {
  font-size: 0.75rem;
  color: #888;
  text-transform: uppercase;
}
.header_kn_3_0_0__phone-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--kn-navy);
  text-decoration: none;
}
.header_kn_3_0_0__btn-cta {
  background: var(--kn-gold-gradient);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  box-shadow: 0 4px 10px rgba(194,135,16,0.3);
  cursor: pointer;
  display: inline-block;
}
.header_kn_3_0_0__btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(194,135,16,0.45);
}
.header_kn_3_0_0__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.header_kn_3_0_0__hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--kn-navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Navigation bar */
.header_kn_3_0_0__nav {
  background: var(--kn-navy-light);
}
.header_kn_3_0_0__menu {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.header_kn_3_0_0__menu li {
  position: relative;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.header_kn_3_0_0__menu > li > a {
  display: block;
  padding: 14px 12px;
  color: #fff !important;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  text-transform: none;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}
@media (min-width: 992px) {
  .header_kn_3_0_0__menu > li:not(:last-child)::after {
    content: "|";
    color: rgba(255, 255, 255, 0.25);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    pointer-events: none;
  }
}
.header_kn_3_0_0__menu > li:hover > a {
  color: var(--kn-gold) !important;
  border-bottom-color: var(--kn-gold);
}

/* Submenu dropdown */
.header_kn_3_0_0__menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: #fff;
  list-style: none !important;
  margin: 0 !important;
  padding: 10px 0 !important;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 9999;
}
.header_kn_3_0_0__menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.header_kn_3_0_0__menu .sub-menu li a {
  display: block;
  padding: 10px 20px;
  color: #333 !important;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
  border: none !important;
  text-transform: none !important;
}
.header_kn_3_0_0__menu .sub-menu li a:hover {
  background: #fcf8f2;
  color: var(--kn-navy) !important;
  padding-left: 25px;
}

/* Mobile Navigation drawer */
.header_kn_3_0_0__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.header_kn_3_0_0__overlay.active {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 991px) {
  .header_kn_3_0_0__top { padding: 10px 0; }
  .header_kn_3_0_0__partners, .header_kn_3_0_0__actions { display: none; }
  .header_kn_3_0_0__hamburger { display: flex; }
  .header_kn_3_0_0__logo-main { text-align: left; }
  .header_kn_3_0_0__logo-title { font-size: 1.4rem; }
  .header_kn_3_0_0__nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    z-index: 999;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    padding: 30px 20px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .header_kn_3_0_0__nav.active {
    right: 0;
  }
  .header_kn_3_0_0__menu {
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    overflow: hidden;
  }
  .header_kn_3_0_0__menu > li {
    width: 100%;
    overflow: hidden;
  }
  .header_kn_3_0_0__menu > li > a {
    color: #333 !important;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .header_kn_3_0_0__menu > li:hover > a {
    border-bottom-color: #f0f0f0;
  }
  .header_kn_3_0_0__menu .sub-menu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none;
    background: #fbfbfb;
    padding: 5px 0 5px 15px !important;
    display: none;
    min-width: unset;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .header_kn_3_0_0__menu .sub-menu li {
    width: 100%;
    overflow: hidden;
  }
  .header_kn_3_0_0__menu .sub-menu li a {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100%;
    box-sizing: border-box;
  }
  .header_kn_3_0_0__menu li.active > .sub-menu {
    display: block;
  }
}

/* --- FOOTER STYLING (footer_kn_3_0_0) --- */
.footer_kn_3_0_0 {
  background-color: var(--kn-bg-gray);
  padding: 70px 0 60px;
  color: var(--kn-text);
  font-family: var(--font-body);
  border-top: 1px solid #e2e2e0;
}
.footer_kn_3_0_0__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .footer_kn_3_0_0__container {
    padding: 0 25px;
  }
}
.footer_kn_3_0_0__columns {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 1024px) {
  .footer_kn_3_0_0__columns {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer_kn_3_0_0__columns > .footer_kn_3_0_0__column:nth-child(3) {
    grid-column: span 2;
  }
}
@media (max-width: 768px) {
  .footer_kn_3_0_0__columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer_kn_3_0_0__columns > .footer_kn_3_0_0__column:nth-child(3) {
    grid-column: span 1;
  }
}
.footer_kn_3_0_0__logo-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--kn-navy);
  margin: 0 0 5px;
}
.footer_kn_3_0_0__logo-subtitle {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--kn-gold);
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 600;
}
.footer_kn_3_0_0__license {
  font-size: 0.85rem;
  color: var(--kn-text-light);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}
.footer_kn_3_0_0__nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer_kn_3_0_0__nav a {
  color: var(--kn-text) !important;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer_kn_3_0_0__nav a:hover {
  color: var(--kn-navy) !important;
  text-decoration: underline;
}

/* Hotline & network */
.footer_kn_3_0_0__phone {
  background: var(--kn-gold-gradient);
  border-radius: 50px;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 8px 20px;
  text-decoration: none;
  max-width: 280px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(194,135,16,0.3);
  transition: all 0.3s;
}
.footer_kn_3_0_0__phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(194,135,16,0.4);
}
.footer_kn_3_0_0__phone-icon-wrap {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.footer_kn_3_0_0__phone-number-val {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.1;
}
.footer_kn_3_0_0__phone-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  opacity: 0.95;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.footer_kn_3_0_0__branches-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--kn-navy);
  margin-bottom: 10px;
}
.footer_kn_3_0_0__branches-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--kn-text-light);
  margin-bottom: 25px;
}
.footer_kn_3_0_0__socials {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer_kn_3_0_0__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  color: var(--kn-navy);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.2s;
  font-weight: bold;
}
.footer_kn_3_0_0__social-link:hover {
  background: var(--kn-navy);
  color: #fff;
  transform: scale(1.1);
}
.footer_kn_3_0_0__bct {
  margin-top: 15px;
  display: block;
}
.footer_kn_3_0_0__bct-badge {
  background: #dcdccb;
  color: #7b7b75;
  font-size: 0.65rem;
  font-weight: 700;
  border: 1px dashed #7b7b75;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  text-transform: uppercase;
}

/* Footer form */
.footer_kn_3_0_0__cta-text {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--kn-navy);
  margin-bottom: 20px;
  line-height: 1.5;
  text-transform: none;
}
.footer_kn_3_0_0__form {
  max-width: 450px;
}
.footer_kn_3_0_0__form p {
  margin: 0 !important;
  padding: 0 !important;
}
.footer_kn_3_0_0__form p br {
  display: none !important;
}
.footer_kn_3_0_0__form .wpcf7-form-control-wrap {
  display: block;
}
.footer_kn_3_0_0__form label {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--kn-navy);
  margin: 0 0 12px 0 !important;
  text-transform: none !important;
}
.footer_kn_3_0_0__form label br {
  display: none !important;
}
.footer_kn_3_0_0__form input[type="text"],
.footer_kn_3_0_0__form input[type="email"],
.footer_kn_3_0_0__form input[type="tel"],
.footer_kn_3_0_0__form select,
.footer_kn_3_0_0__form textarea {
  width: 100% !important;
  height: 42px !important;
  border: 1px solid #ccc !important;
  background-color: #f5f5f5 !important;
  border-radius: 6px !important;
  padding: 0 14px !important;
  outline: none !important;
  font-size: 0.9rem !important;
  color: #333 !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
  transition: all 0.2s !important;
  box-shadow: none !important;
}
.footer_kn_3_0_0__form textarea {
  height: auto !important;
  padding: 10px 14px !important;
}
.footer_kn_3_0_0__form input:focus,
.footer_kn_3_0_0__form select:focus,
.footer_kn_3_0_0__form textarea:focus {
  border-color: var(--kn-navy) !important;
  background-color: #fff !important;
}
.footer_kn_3_0_0__form input::placeholder,
.footer_kn_3_0_0__form textarea::placeholder {
  color: transparent !important;
}
.footer_kn_3_0_0__form input[type="submit"] {
  width: 100% !important;
  background-color: var(--kn-navy) !important;
  color: #fff !important;
  border: none !important;
  height: 46px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  font-size: 0.95rem !important;
  text-transform: uppercase !important;
  margin-top: 10px !important;
  box-shadow: none !important;
}
.footer_kn_3_0_0__form input[type="submit"]:hover {
  background-color: var(--kn-navy-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(26,82,118,0.2) !important;
}
/* Hide extra fields in the footer form for minimalist layout matching Kangnam */
.footer_kn_3_0_0__form div.booking-form-row:nth-of-type(3),
.footer_kn_3_0_0__form div.booking-form-row:nth-of-type(4),
.footer_kn_3_0_0__form div.booking-form-row:nth-of-type(5),
.footer_kn_3_0_0__form .booking-form-note {
  display: none !important;
}
.footer_kn_3_0_0__copyright {
  border-top: 1px solid #e0e0de;
  padding-top: 20px;
  margin-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #888;
}

/* --- 12 HOMEPAGE SECTIONS STYLE PARITY --- */

/* Section Utility Wrapper */
.kn-section {
  padding: 80px 0;
}
@media(max-width:768px) {
  .kn-section { padding: 45px 0; }
}
.kn-section-title {
  text-align: center;
  margin-bottom: 50px;
}
.kn-section-title h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--kn-navy);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.kn-section-title p {
  font-size: 1rem;
  color: var(--kn-text-light);
}

/* Section 1: Video Hero (Nam An style) - styled previously */

/* Section 2: Stats Counters */
.kn-stats {
  background: var(--kn-navy);
  padding: 30px 0;
  color: #fff;
}
.kn-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
@media (max-width: 768px) {
  .kn-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
.kn-stats__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--kn-gold);
  margin-bottom: 5px;
}
.kn-stats__label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

/* Section 3: Ecosystem Tiles (system_kn_3_0_0-services) */
.kn-eco {
  background: var(--kn-bg-light);
}
.kn-eco__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 991px) {
  .kn-eco__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .kn-eco__grid { grid-template-columns: 1fr; }
}
.kn-eco__item {
  position: relative;
  height: 400px;
  border-radius: var(--kn-border-radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--kn-shadow);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.kn-eco__item-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s;
}
.kn-eco__item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(18,60,87,0.9) 20%, rgba(18,60,87,0.4) 100%);
  transition: opacity 0.4s;
  z-index: 2;
}
.kn-eco__item:hover .kn-eco__item-overlay {
  background: linear-gradient(to top, rgba(196,163,118,0.95) 20%, rgba(196,163,118,0.6) 100%);
}
.kn-eco__item:hover .kn-eco__item-bg {
  transform: scale(1.1);
}
.kn-eco__item-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 3;
  text-align: center;
  color: #fff;
}
.kn-eco__item-icon {
  font-size: 2.2rem;
  color: var(--kn-gold);
  margin-bottom: 15px;
  transition: transform 0.3s;
}
.kn-eco__item:hover .kn-eco__item-icon {
  color: #fff;
  transform: translateY(-5px);
}
.kn-eco__item-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: #fff;
}
.kn-eco__item-desc {
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.3s 0.1s;
  line-height: 1.5;
}
.kn-eco__item:hover .kn-eco__item-desc {
  opacity: 1;
  transform: translateY(0);
}

/* Section 4: Dịch vụ nổi bật */
.kn-services {
  background: #fff;
}
.kn-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
@media (max-width: 991px) {
  .kn-services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .kn-services__grid { grid-template-columns: 1fr; }
}
.kn-services__card {
  position: relative;
  height: 350px;
  border-radius: var(--kn-border-radius);
  overflow: hidden;
  box-shadow: var(--kn-shadow);
  text-decoration: none;
  display: block;
}
.kn-services__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.kn-services__card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 20px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  color: #fff;
  z-index: 2;
  transition: all 0.3s;
}
.kn-services__card:hover .kn-services__card-img {
  transform: scale(1.08);
}
.kn-services__card:hover .kn-services__card-overlay {
  background: linear-gradient(to top, var(--kn-navy) 0%, rgba(26,82,118,0.8) 100%);
}
.kn-services__card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
}
.kn-services__card-desc {
  font-size: 0.85rem;
  opacity: 0.9;
  line-height: 1.4;
}

/* Section 5: Trước - Sau (interest_kn_3_0_0) */
.kn-interest {
  background: var(--kn-bg-light);
}
.kn-interest__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 991px) {
  .kn-interest__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .kn-interest__grid { grid-template-columns: 1fr; }
}
.kn-interest__item {
  border-radius: var(--kn-border-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--kn-shadow);
  transition: all 0.3s;
}
.kn-interest__item:hover {
  transform: translateY(-5px);
  box-shadow: var(--kn-shadow-hover);
}
.kn-interest__frame {
  position: relative;
  height: 250px;
  overflow: hidden;
}
.kn-interest__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kn-interest__badge-before, .kn-interest__badge-after {
  position: absolute;
  bottom: 12px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  color: #fff;
  text-transform: uppercase;
}
.kn-interest__badge-before {
  left: 12px;
  background: rgba(0,0,0,0.6);
}
.kn-interest__badge-after {
  right: 12px;
  background: var(--kn-navy);
}
.kn-interest__meta {
  padding: 15px;
  text-align: center;
}
.kn-interest__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  color: var(--kn-navy);
}

/* Section 6: Tiện ích / Ưu việt (utilities_kn_3_0_0) */
.kn-utils {
  background: #fff;
}
.kn-utils__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 768px) {
  .kn-utils__grid { grid-template-columns: 1fr; }
}
.kn-utils__card {
  text-align: center;
  padding: 40px 20px;
  background: var(--kn-bg-light);
  border-radius: var(--kn-border-radius);
  box-shadow: var(--kn-shadow);
  border-top: 3px solid var(--kn-gold);
  transition: all 0.3s;
}
.kn-utils__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--kn-shadow-hover);
}
.kn-utils__icon {
  font-size: 2.5rem;
  color: var(--kn-navy);
  margin-bottom: 20px;
}
.kn-utils__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--kn-navy);
}
.kn-utils__desc {
  font-size: 0.9rem;
  color: var(--kn-text-light);
  line-height: 1.6;
}

/* Section 7: Không gian / CSVC (space_knspa_1_0_0) */
.kn-space {
  background: var(--kn-bg-light);
}
.kn-space__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 15px;
}
@media (max-width: 768px) {
  .kn-space__grid { grid-template-columns: 1fr; grid-template-rows: auto; }
}
.kn-space__item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--kn-shadow);
}
.kn-space__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.kn-space__item:hover img {
  transform: scale(1.08);
}
.kn-space__item--large {
  grid-row: span 2;
}
@media (max-width: 768px) {
  .kn-space__item--large { grid-row: span 1; height: 250px; }
  .kn-space__item { height: 180px; }
}
.kn-space__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Section 8: Đội ngũ Bác sĩ (doctor_kn_3_0_0) */
.kn-doctor {
  background: #fff;
}
.kn-doctor__avatar-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  border-radius: var(--kn-border-radius);
  overflow: hidden;
  box-shadow: var(--kn-shadow-hover);
}
.kn-doctor__avatar-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Section 9: Quy trình 5 bước / Infographic (quality_kn_3_0_0) */
.kn-quality {
  background: var(--kn-bg-light);
}
.kn-quality__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  position: relative;
}
@media (max-width: 768px) {
  .kn-quality__grid { grid-template-columns: 1fr; gap: 30px; }
}
.kn-quality__card {
  background: #fff;
  padding: 30px 20px;
  border-radius: var(--kn-border-radius);
  box-shadow: var(--kn-shadow);
  text-align: center;
  position: relative;
  transition: all 0.3s;
}
.kn-quality__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--kn-shadow-hover);
}
.kn-quality__step {
  width: 50px;
  height: 50px;
  background: var(--kn-gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 15px;
  box-shadow: 0 4px 8px rgba(194,135,16,0.25);
}
.kn-quality__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--kn-navy);
  margin-bottom: 8px;
}
.kn-quality__desc {
  font-size: 0.85rem;
  color: var(--kn-text-light);
  line-height: 1.5;
}

/* Section 10: Hành trình thay đổi diện mạo (htlx_kn_3_0_0) */
.kn-journey {
  background: #fff;
}
.kn-journey__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 768px) {
  .kn-journey__grid { grid-template-columns: 1fr; }
}
.kn-journey__card {
  background: var(--kn-bg-light);
  border-radius: var(--kn-border-radius);
  overflow: hidden;
  box-shadow: var(--kn-shadow);
  transition: all 0.3s;
}
.kn-journey__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--kn-shadow-hover);
}
.kn-journey__image {
  height: 220px;
  overflow: hidden;
}
.kn-journey__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kn-journey__content {
  padding: 20px;
}
.kn-journey__tag {
  display: inline-block;
  padding: 3px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--kn-navy);
  color: #fff;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.kn-journey__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--kn-navy);
}
.kn-journey__desc {
  font-size: 0.85rem;
  color: var(--kn-text-light);
  line-height: 1.6;
}

/* Section 11: Feedback khách hàng (feedback_kn_3_0_0) */
.kn-feedback {
  background: var(--kn-bg-light);
}
.kn-feedback__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
@media (max-width: 991px) {
  .kn-feedback__grid { grid-template-columns: 1fr; }
}
.kn-feedback__card {
  background: #fff;
  padding: 30px;
  border-radius: var(--kn-border-radius);
  box-shadow: var(--kn-shadow);
  position: relative;
}
.kn-feedback__stars {
  color: #ffb400;
  font-size: 1.1rem;
  margin-bottom: 15px;
}
.kn-feedback__quote {
  font-size: 0.95rem;
  color: var(--kn-text);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
}
.kn-feedback__author {
  font-weight: 700;
  color: var(--kn-navy);
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.kn-feedback__role {
  font-size: 0.8rem;
  color: var(--kn-text-light);
}

/* Section 12: Tin tức (news_kn_3_0_0) */
.kn-news {
  background: #fff;
}
.kn-news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 991px) {
  .kn-news__grid { grid-template-columns: 1fr; }
}
.kn-news__column {
  background: var(--kn-bg-light);
  border-radius: var(--kn-border-radius);
  overflow: hidden;
  box-shadow: var(--kn-shadow);
  display: flex;
  flex-direction: column;
}
.kn-news__col-header {
  background-color: var(--kn-navy);
  color: #fff;
  text-align: center;
  padding: 15px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}
.kn-news__list {
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.kn-news__item {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 12px;
}
.kn-news__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.kn-news__item-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 5px;
  line-height: 1.4;
}
.kn-news__item-title a {
  color: var(--kn-text) !important;
  text-decoration: none;
  transition: color 0.2s;
}
.kn-news__item-title a:hover {
  color: var(--kn-navy) !important;
}
.kn-news__item-desc {
  font-size: 0.8rem;
  color: var(--kn-text-light);
  line-height: 1.5;
  margin: 0;
}

/* Common CTA Button Gold/Navy */
.kn-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}
.kn-btn--gold {
  background: var(--kn-gold-gradient);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(194,135,16,0.3);
}
.kn-btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(194,135,16,0.45);
}
.kn-btn--navy {
  background: var(--kn-navy);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(26,82,118,0.2);
}
.kn-btn--navy:hover {
  background: var(--kn-navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(26,82,118,0.35);
}

