/*
Theme Name: Dr Dũng Aesthetic
Theme URI: https://drdung.com
Author: Thẩm mỹ viện Dr Dũng
Author URI: https://drdung.com
Description: Theme WordPress cho Thẩm mỹ viện Dr Dũng – chuyển đổi từ landing page tĩnh. Bootstrap 5, Swiper, Google Fonts (Be Vietnam Pro, Playfair Display, Dancing Script). Hỗ trợ Case study & Dịch vụ (custom post type), Customizer cho thông tin liên hệ, trang Liên hệ có form.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: drdung
Tags: one-column, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* =============================================================
   STATIC ASSETS
   Đường dẫn ảnh trong file này là tương đối với thư mục theme
   (img/…, images/…) – giữ nguyên cấu trúc của HTML gốc.
   ============================================================= */

/* =============================================================
   PHẦN 1 – CSS GỐC TỪ LANDING PAGE (giữ nguyên)
   ============================================================= */

/* ############################################################
   1. HEADER + HERO
   ############################################################ */

/* =========================================================
   BASE
   ========================================================= */
html { scroll-behavior: smooth; }

body {
  background: #eceef1;
  font-family: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
  color: #2b2b2b;
  -webkit-font-smoothing: antialiased;
  animation: pageIn-s1 .9s ease both;             /* Page transition */
}
@keyframes pageIn-s1 { from { opacity: 0; } to { opacity: 1; } }

a { text-decoration: none; }

/* =========================================================
   HEADER / NAVBAR  (sticky, glassmorphism, CSS-only toggle)
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
          backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 6px 24px rgba(90, 65, 40, .06);
  animation: headerIn-s1 .8s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes headerIn-s1 {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll Progress Bar – CSS scroll-driven animation */
.scroll-progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 3px; width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, #8C6A3E, #D4B07A);
  animation: progress-s1 linear both;
  animation-timeline: scroll(root);
}
@keyframes progress-s1 { to { transform: scaleX(1); } }

.navbar-site { height: 72px; }

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.3px;
  color: #5C3B20;
  white-space: nowrap;
}
.brand:hover { color: #5C3B20; }
.brand-dot {
  width: 8px; height: 8px;
  margin: 10px 0 0 2px;
  border-radius: 50%;
  background: #ED7A2A;
  animation: pulse-s1 2.4s ease-in-out infinite;
}
@keyframes pulse-s1 {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.5); opacity: .55; }
}

.nav-list { gap: 34px; }
.nav-list a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  color: #3a3a3a;
  transition: color .3s ease;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #8C6A3E, #D4B07A);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.nav-list a:hover, .nav-list a.active { color: #5C3B20; }
.nav-list a:hover::after, .nav-list a.active::after { transform: scaleX(1); transform-origin: left; }

.nav-phone {
  font-size: 13.5px;
  font-weight: 600;
  color: #2b2b2b;
  white-space: nowrap;
}
.nav-phone i { color: #5C3B20; font-size: 16px; }

.btn-cta-s1 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(100deg, #E96B14 0%, #F08A2E 55%, #F6A64E 100%);
  background-size: 200% 100%;
  box-shadow: 0 10px 24px rgba(92, 59, 32, .32);
  overflow: hidden;
  white-space: nowrap;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, background-position .6s ease;
}
.btn-cta-s1:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(92, 59, 32, .4);
  background-position: 100% 50%;
}
.btn-cta-s1::after {
  content: "";
  position: absolute;
  top: -40%; left: -60%;
  width: 40%; height: 180%;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.35), rgba(255,255,255,0));
  transform: skewX(-20deg);
  animation: sweep-s1 4s ease-in-out 2s infinite;
}

/* Mobile toggle – checkbox hack, no JavaScript */
.nav-toggle-input { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle {
  display: none;
  position: relative;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(92,59,32,.12);
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: #5C3B20;
  transition: transform .35s ease, top .35s ease;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { left: 0; top: -6px; }
.nav-toggle span::after  { left: 0; top: 6px; }
.nav-toggle-input:checked ~ .navbar-site .nav-toggle span { background: transparent; }
.nav-toggle-input:checked ~ .navbar-site .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-toggle-input:checked ~ .navbar-site .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

/* =========================================================
   HERO
   Layers:  .hero-bg (photo)  →  .hero-overlay (gradient)  →  .container (content)
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  display: flex;
  flex-direction: column;
  background: #eceef1;
}

/* Layer 0 – studio background (soft grey gradient) */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(45% 55% at 55% 85%, #ffffff 0%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #f4f5f7 0%, #eceef1 55%, #e4e7eb 100%);
}

/* Layer 0 – the 800x800 photo, used as a BACKGROUND image.
   Desktop: covers the whole hero, image kept at its square ratio (height = hero height)
            and pushed to the right of centre so it runs under the creds column.
   Mobile:  a square block in the flow between the headline and the creds, with
            gradient fades at its top and bottom so it blends into the page. */
.hero-photo {
  z-index: 0;
  background-image: url("img/hero1.jpg");
  background-repeat: no-repeat;
  animation: photoIn-s1 1.4s cubic-bezier(.2,.7,.2,1) both;   /* Image zoom-in on load */
}
@keyframes photoIn-s1 {
  from { opacity: 0; scale: 1.06; }
  to   { opacity: 1; scale: 1; }
}
@keyframes parallax-s1 {
  to { translate: 0 90px; }
}
@media (min-width: 992px) {
  .hero-photo {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;                       /* span the full hero, not just the container */
    transform: translateX(-50%);
    transform-origin: 50% 50%;
    background-size: auto 100%;         /* square image, height = hero height */
    background-position: calc(50% + 140px) 50%;   /* offset to the right of centre */
    /* Fade the photo on the left, right and bottom so it melts into the page.
       Horizontal stops follow the photo's edges: centre ± 330px (image is 660px wide). */
    -webkit-mask-image:
      linear-gradient(90deg,
        rgba(0,0,0,0) calc(50% + 140px - 330px),
        #000          calc(50% + 140px - 150px),
        #000          calc(50% + 140px + 150px),
        rgba(0,0,0,0) calc(50% + 140px + 330px)),
      linear-gradient(180deg, #000 68%, rgba(0,0,0,0) 100%);
    -webkit-mask-composite: source-in;
            mask-image:
      linear-gradient(90deg,
        rgba(0,0,0,0) calc(50% + 140px - 330px),
        #000          calc(50% + 140px - 150px),
        #000          calc(50% + 140px + 150px),
        rgba(0,0,0,0) calc(50% + 140px + 330px)),
      linear-gradient(180deg, #000 68%, rgba(0,0,0,0) 100%);
            mask-composite: intersect;
    /* Parallax on scroll (CSS only) */
    animation:
      photoIn-s1 1.4s cubic-bezier(.2,.7,.2,1) both,
      parallax-s1 linear both;
    animation-timeline: auto, scroll(root);
    animation-range: normal, 0 100vh;
  }
}
@media (min-width: 1200px) {
  .hero-photo {
    background-position: calc(50% + 180px) 50%;
    -webkit-mask-image:
      linear-gradient(90deg,
        rgba(0,0,0,0) calc(50% + 180px - 330px),
        #000          calc(50% + 180px - 150px),
        #000          calc(50% + 180px + 150px),
        rgba(0,0,0,0) calc(50% + 180px + 330px)),
      linear-gradient(180deg, #000 68%, rgba(0,0,0,0) 100%);
            mask-image:
      linear-gradient(90deg,
        rgba(0,0,0,0) calc(50% + 180px - 330px),
        #000          calc(50% + 180px - 150px),
        #000          calc(50% + 180px + 150px),
        rgba(0,0,0,0) calc(50% + 180px + 330px)),
      linear-gradient(180deg, #000 68%, rgba(0,0,0,0) 100%);
  }
}
@media (min-width: 1400px) {
  .hero-photo {
    background-position: calc(50% + 230px) 50%;
    -webkit-mask-image:
      linear-gradient(90deg,
        rgba(0,0,0,0) calc(50% + 230px - 330px),
        #000          calc(50% + 230px - 150px),
        #000          calc(50% + 230px + 150px),
        rgba(0,0,0,0) calc(50% + 230px + 330px)),
      linear-gradient(180deg, #000 68%, rgba(0,0,0,0) 100%);
            mask-image:
      linear-gradient(90deg,
        rgba(0,0,0,0) calc(50% + 230px - 330px),
        #000          calc(50% + 230px - 150px),
        #000          calc(50% + 230px + 150px),
        rgba(0,0,0,0) calc(50% + 230px + 330px)),
      linear-gradient(180deg, #000 68%, rgba(0,0,0,0) 100%);
  }
}

@media (max-width: 991.98px) {
  .hero-photo {
    position: relative;
    z-index: 2;
    width: calc(100% + 24px);          /* bleed past the container padding */
    margin: 0 -12px 8px;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
  }
  /* gradient fades: top (headline → photo) and bottom (photo → creds) */
  .hero-photo::before,
  .hero-photo::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 34%;
    pointer-events: none;
  }
  .hero-photo::before {
    top: 0;
    background: linear-gradient(180deg, #faf7f2 0%, rgba(250,247,242,.7) 45%, rgba(250,247,242,0) 100%);
  }
  .hero-photo::after {
    bottom: 0;
    background: linear-gradient(0deg, #faf7f2 0%, rgba(250,247,242,.7) 45%, rgba(250,247,242,0) 100%);
  }
}

/* Surgery lamp glow (top-right) */
.hero-bg::before {
  content: "";
  position: absolute;
  right: 6%; top: -90px;
  width: 320px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,1), rgba(255,255,255,0));
}

/* Layer 1 – gradient overlay: solid on the left, fades out toward the photo,
   plus a soft wash at the bottom so the quote / stats cards sit cleanly */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
      #f1f2f4 0%,
      #f1f2f4 24%,
      rgba(241,242,244,.92) 34%,
      rgba(241,242,244,.55) 44%,
      rgba(241,242,244,0) 58%),
    linear-gradient(180deg,
      rgba(236,238,241,0) 55%,
      rgba(236,238,241,.75) 82%,
      rgba(236,238,241,.9) 100%);
}

/* Morphing blob – very soft warm accent behind the headline */
.hero-blob {
  position: absolute;
  left: -200px; top: 120px;
  width: 520px; height: 520px;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(237,122,42,.20), rgba(237,122,42,0));
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morph-s1 14s ease-in-out infinite;
}
@keyframes morph-s1 {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: translate(0,0) rotate(0deg); }
  50%      { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: translate(30px,-20px) rotate(12deg); }
}

/* Layer 2 – content (columns get z-index 2; the photo inside stays at 0,
   so the overlay (z-index 1) sits between photo and text) */
.hero .container {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding-top: 50px;
  padding-bottom: 24px;
}
.hero-main { flex: 1 1 auto; }
.hero-content-col { position: relative; z-index: 2; }

/* ---------- Left copy ---------- */
.hero-copy { padding-top: 28px; }

.eyebrow-s1 {
  margin: 0 0 18px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: #6b6b6b;
  display: inline-block;              /* Text typing effect */
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #ED7A2A;
  max-width: 0;
  animation:
    typing-s1 1.6s steps(24, end) .6s forwards,
    caret-s1 .7s step-end 2.2s 4,
    caretOff-s1 .1s linear 5s forwards;
}
@keyframes typing-s1   { to { max-width: 260px; } }
@keyframes caret-s1    { 50% { border-color: transparent; } }
@keyframes caretOff-s1 { to { border-color: transparent; } }

.title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  line-height: .92;
  letter-spacing: -1px;
}
.title .line-1 {
  display: inline-block;   /* gradient spans the text, not the column */
  font-size: 79px;
  background: linear-gradient(90deg, #262626 0%, #4a4a4a 60%, #9b9b9b 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: riseIn-s1 .9s cubic-bezier(.2,.7,.2,1) .25s both;
}
.title .line-2 {
  position: relative;
  display: inline-block;
  font-size: 68px;
  letter-spacing: -2px;
  background: linear-gradient(90deg, #5C3B20 0%, #8C6A3E 35%, #D4B07A 55%, #8C6A3E 75%, #5C3B20 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation:
    riseIn-s1 .9s cubic-bezier(.2,.7,.2,1) .45s both,
    gradientShift-s1 6s ease-in-out 1.4s infinite;      /* Gradient animation on text */
}
@keyframes riseIn-s1 {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes gradientShift-s1 {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}


.lead-copy {
  margin: 39px 0 0;
  font-size: 45px;
  font-weight: 600;
  line-height: 1.2;
  color: #ED7A2A;
  letter-spacing: -.2px;
  animation: riseIn-s1 .9s cubic-bezier(.2,.7,.2,1) .7s both;
  font-family: "Dancing Script", cursive;
}

/* ---------- Credential cards (right, over the photo) ---------- */
.creds {
  max-width: 200px;
  margin-left: auto;
  perspective: 900px;
}
.cred {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px 8px 9px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);          /* Glassmorphism */
  -webkit-backdrop-filter: blur(14px) saturate(140%);
          backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 10px 30px rgba(90, 65, 40, .10);
  transform-style: preserve-3d;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease, background .45s ease;
  animation: slideLeft-s1 .8s cubic-bezier(.2,.7,.2,1) both;
}
.cred + .cred { margin-top: 15px; }
.cred:nth-child(1) { animation-delay: .5s; }
.cred:nth-child(2) { animation-delay: .65s; }
.cred:nth-child(3) { animation-delay: .8s; }
.cred:nth-child(4) { animation-delay: .95s; }
@keyframes slideLeft-s1 {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
.cred:hover {                                     /* Hover card + 3D tilt */
  background: rgba(255,255,255,.96);
  box-shadow: 0 22px 44px rgba(92, 59, 32, .18), 0 6px 14px rgba(90,65,40,.08);
  transform: translateY(-4px) rotateX(5deg) rotateY(-5deg);
}
.cred:hover .cred-icon {
  transform: translateZ(28px) scale(1.06);
  box-shadow: 0 10px 22px rgba(92, 59, 32, .25);
}
.cred:hover .cred-icon i { animation: iconPop-s1 .5s ease; }
@keyframes iconPop-s1 {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.2) rotate(-6deg); }
}

.cred-icon {
  flex: 0 0 54px;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  background: linear-gradient(145deg, #FBF2E6 0%, #F3DEC3 100%);
  color: #5C3B20;
  font-size: 26px;
  overflow: hidden;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease;
}
.cred-icon.is-photo { flex-basis: 54px; width: 54px; height: 54px; background: transparent; }
.cred-icon.is-photo img {
  display: block;
  width: 100%; height: 100%;
}
.cred:hover .cred-icon.is-photo span { transform: scale(1.18); }  /* Image zoom hover */

.cred-text { min-width: 0; }
.cred-text h3 {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  color: #222;
  white-space: nowrap;
}
.cred-text p {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: #6a6a6a;
  white-space: nowrap;
  letter-spacing: -.1px;
}
.cred-text p.wrap { white-space: normal; }
.cred-text .dot-s1 { display: inline-block; margin: 0 3px; color: #ED7A2A; font-weight: 700; }

/* ---------- Quote card ---------- */
.quote {
  position: relative;
  min-height: 92px;
  margin: 0;
  padding: 12px 12px 12px 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(90, 65, 40, .10);
  animation: riseIn-s1 .9s cubic-bezier(.2,.7,.2,1) 1s both;
}
.quote-mark-s1 {
  position: absolute;
  left: 10px; top: 5px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 42px;
  line-height: 1;
  color: #ED7A2A;
}
.quote-text-s1 {
  margin: 5px 0 0;
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 1.5;
  color: #4a4a4a;
  letter-spacing: -.1px;
}
.quote-text-s1 strong { color: #2a2a2a; font-weight: 700; }
.signature-s1 {
  flex: 0 0 auto;
  font-family: "Dancing Script", cursive;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  color: #ED7A2A;
  transform: rotate(-6deg);
  padding-right: 6px;
  opacity: .9;
}

/* ---------- Stats bar ---------- */
.stats {
  position: relative;
  min-height: 92px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(100deg, #3F2612 0%, #5C3B20 35%, #8C6A3E 65%, #5C3B20 100%);
  background-size: 220% 100%;
  box-shadow: 0 18px 40px rgba(92, 59, 32, .32);
  overflow: hidden;
  animation:
    riseIn-s1 .9s cubic-bezier(.2,.7,.2,1) 1.1s both,
    gradientShift-s1 8s ease-in-out 2s infinite;
}
.stats::after {
  content: "";
  position: absolute;
  top: -40%; left: -30%;
  width: 40%; height: 180%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.22) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  animation: sweep-s1 5s ease-in-out 2.5s infinite;
  pointer-events: none;
}
@keyframes sweep-s1 {
  0%, 60% { left: -40%; }
  100%    { left: 130%; }
}
.stats .row { min-height: 92px; }
.stat {
  text-align: center;
  animation: statIn-s1 .7s cubic-bezier(.2,.7,.2,1) both;
}
.stat:nth-child(1) { animation-delay: 1.3s; }
.stat:nth-child(2) { animation-delay: 1.42s; }
.stat:nth-child(3) { animation-delay: 1.54s; }
.stat:nth-child(4) { animation-delay: 1.66s; }
@keyframes statIn-s1 {
  from { opacity: 0; transform: scale(.7) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.stat-num {
  display: block;
  font-size: 29px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.5px;
  color: #F2B46A;                     /* warm gold on the walnut bar */
}
.stat-num .star { font-size: 22px; vertical-align: 3px; margin-left: 2px; }
.stat-label {
  display: block;
  margin-top: 7px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.35;
  opacity: .92;
  white-space: nowrap;
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .eyebrow-s1 { max-width: none; border-right: 0; }
  .scroll-progress, .hero-photo { animation: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1399.98px) {
  .nav-list { gap: 26px; }
}

@media (max-width: 1199.98px) {
  .nav-phone { display: none !important; }
  .title .line-1 { font-size: 66px; }
  .title .line-2 { font-size: 92px; }
  .lead-copy { font-size: 22px; }
}

/* Navbar collapses below lg (CSS only) */
@media (max-width: 991.98px) {
  .nav-toggle { display: block; }
  .nav-list {
    position: absolute;
    left: 0; right: 0; top: 72px;
    flex-direction: column;
    align-items: stretch !important;
    gap: 0;
    padding: 10px 20px 16px;
    background: rgba(255,255,255,.96);
    -webkit-backdrop-filter: blur(16px);
            backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 18px 40px rgba(90,65,40,.12);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .3s ease;
  }
  .nav-list li a {
    display: block;
    padding: 12px 4px;
    font-size: 15px;
    border-bottom: 1px solid rgba(0,0,0,.05);
  }
  .nav-list li:last-child a { border-bottom: 0; }
  .nav-list a::after { display: none; }
  .nav-toggle-input:checked ~ .navbar-site .nav-list { transform: scaleY(1); opacity: 1; }
  .nav-list li.nav-cta-mobile { margin-top: 10px; }
  .nav-list li.nav-cta-mobile a {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    padding: 13px 22px;
    font-size: 14px;
    color: #fff;
    border-bottom: 0;
  }

  /* Hero: stack. Overlay becomes vertical so the copy at the top stays readable
     while the photo shows through behind the creds. */
  .hero { min-height: 0; }
  .hero .container { padding-top: 36px; padding-bottom: 28px; }
  .hero-overlay, .hero-blob { display: none; }
  .hero-bg { background: #faf7f2; }

  /* Mobile order: headline → photo → creds → quote/stats.
     The top row is flattened (display: contents) so its columns and the photo
     become direct flex items of .container and can be ordered. */
  .hero-main { display: contents; }
  .hero-main > [class*="col-"] { padding-left: 0; padding-right: 0; margin-top: 0; }
  .hero-copy-col  { order: 1; }
  .hero-photo     { order: 2; }
  .hero-creds-col { order: 3; }
  .hero-bottom    { order: 4; }

  .hero-copy { padding-top: 0; padding-bottom: 12px; }
  .creds {
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .cred + .cred { margin-top: 0; }
  .cred { height: auto; padding: 5px; }
  .cred-text h3, .cred-text p { white-space: normal; }
  .cred-icon { flex-basis: 46px; width: 46px; height: 46px; font-size: 22px; }
  .cred:hover { transform: translateY(-3px); }
  .quote { margin-top: 0; }
}
@media (max-width: 575.98px) {
  .nav-right .btn-cta-s1 { display: none; }
  .title .line-1 { font-size: 52px; }
  .title .line-2 { font-size: 63px; margin-top: -10px }
  .lead-copy { font-size: 37px; margin-top: 35px; }
  .stats { padding: 16px 8px; }
  .stat-label { white-space: normal; }
  .stat { padding-top: 8px; padding-bottom: 8px; }
}

/* ############################################################
   2. CASE STUDY – NÂNG MŨI CẤU TRÚC
   ############################################################ */

/* =========================================================
   BASE
   ========================================================= */
@keyframes pageIn-s2 { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================
   SECTION
   ========================================================= */
.case-study {
  position: relative;
  overflow: hidden;
  padding: 28px 0 26px;
  background:
    radial-gradient(60% 50% at 50% 0%, #fcf7ef 0%, rgba(253,249,244,0) 70%),
    linear-gradient(180deg, #faf3ea 0%, #f7ece0 100%);
}

/* Fine diagonal hatch on the far left / right edges, like the design */
.case-study::before,
.case-study::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  pointer-events: none;
  background: repeating-linear-gradient(
    -55deg,
    rgba(92,59,32,.08) 0 1px,
    rgba(92,59,32,0) 1px 9px);
  -webkit-mask-image: linear-gradient(90deg, #000, rgba(0,0,0,0));
          mask-image: linear-gradient(90deg, #000, rgba(0,0,0,0));
}
.case-study::before { left: 0; }
.case-study::after {
  right: 0;
  -webkit-mask-image: linear-gradient(270deg, #000, rgba(0,0,0,0));
          mask-image: linear-gradient(270deg, #000, rgba(0,0,0,0));
}

/* Morphing blob behind the heading */
.case-blob {
  position: absolute;
  left: 50%;
  top: -140px;
  width: 560px;
  height: 360px;
  margin-left: -280px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(237,122,42,.18), rgba(237,122,42,0));
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morph-s2 14s ease-in-out infinite;
}
@keyframes morph-s2 {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: translate(0,0); }
  50%      { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: translate(30px,10px); }
}

/* =========================================================
   HEADING
   ========================================================= */
.case-head { position: relative; text-align: center; }

.eyebrow-s2 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #5C3B20;
  display: inline-block;                       /* Text typing effect */
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #ED7A2A;
  max-width: 0;
  animation:
    typing-s2 1.4s steps(22, end) .4s forwards,
    caret-s2 .7s step-end 1.8s 4,
    caretOff-s2 .1s linear 4.6s forwards;
}
@keyframes typing-s2   { to { max-width: 300px; } }
@keyframes caret-s2    { 50% { border-color: transparent; } }
@keyframes caretOff-s2 { to { border-color: transparent; } }

.case-title {
  margin: 0 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -.5px;
  color: #2b2b2b;
  animation: riseIn-s2 .9s cubic-bezier(.2,.7,.2,1) .2s both;
}
@keyframes riseIn-s2 {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.case-pill {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #5C3B20;
  background: linear-gradient(90deg, #F7E5D0, #F2D9BC, #F7E5D0);
  background-size: 200% 100%;
  animation:
    riseIn-s2 .9s cubic-bezier(.2,.7,.2,1) .35s both,
    gradientShift-s2 6s ease-in-out 1.5s infinite;        /* Gradient animation */
}
@keyframes gradientShift-s2 {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* =========================================================
   MAIN CARD
   ========================================================= */
.case-card {
  position: relative;
  margin-top: 22px;
  padding: 18px 16px 18px 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(92, 59, 32, .10), 0 2px 6px rgba(92,59,32,.04);
  animation: riseIn-s2 .9s cubic-bezier(.2,.7,.2,1) .5s both;
}

/* ---------- Before / after gallery (Swiper) ---------- */
.ba-gallery-s2 { position: relative; }

.ba-swiper-s2 { overflow: hidden; border-radius: 14px; }

.ba-slide-s2 {
  position: relative;
  aspect-ratio: 6 / 7;
  border-radius: 14px;
  overflow: hidden;
  background: #e9e4de;
  isolation: isolate;
}
.ba-slide-s2 img {
  display: block;
  pointer-events: none;            /* let Swiper receive the drag, not the native image drag */
  user-select: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.ba-slide-s2:hover img { transform: scale(1.06); }            /* Image zoom hover */

/* Skeleton shimmer behind the image while it loads */
.ba-slide-s2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, #ece7e1 30%, #f6f2ed 50%, #ece7e1 70%);
  background-size: 200% 100%;
  animation: shimmer-s2 1.6s linear infinite;
}
@keyframes shimmer-s2 { to { background-position: -200% 0; } }

.ba-label-s2 {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 14px 0 12px 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(43,43,43,.88);                         /* Glassmorphism */
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.ba-label-s2.is-after-s2 {
  background: rgba(92,59,32,.92);
}

/* Nav buttons: round arrows on both edges of the gallery */
.ba-nav-s2 {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #5C3B20;
  font-size: 18px;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(92,59,32,.22);
  cursor: pointer;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, opacity .3s ease;
}
.ba-nav-s2::after { display: none; }                          /* hide Swiper's default glyph */
.ba-nav-s2:hover {
  transform: translate(0, -50%) scale(1.08);
  box-shadow: 0 12px 28px rgba(92,59,32,.3);
}
.ba-nav-s2.swiper-button-disabled { opacity: 0; pointer-events: none; }
.ba-next-s2 { right: 14px; transform: translate(0, -50%); }
.ba-prev-s2 { left: 14px; transform: translate(0, -50%); }

/* ---------- Info list ---------- */
.case-info {
  height: 100%;
  /*padding: 10px 0 0 10px;*/
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 8px 10px 8px 0;
  border-radius: 14px;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), background .4s ease;
  animation: slideLeft-s2 .8s cubic-bezier(.2,.7,.2,1) both;
}
.info-item:nth-child(1) { animation-delay: .7s; }
.info-item:nth-child(2) { animation-delay: .82s; }
.info-item:nth-child(3) { animation-delay: .94s; }
.info-item:nth-child(4) { animation-delay: 1.06s; }
@keyframes slideLeft-s2 {
  from { opacity: 0; transform: translateX(34px); }
  to   { opacity: 1; transform: translateX(0); }
}
.info-item:hover { transform: translateX(6px); }           /* Hover effect */
.info-item:hover .info-icon {
  background: linear-gradient(145deg, #5C3B20, #8C6A3E);
  color: #fff;
  box-shadow: 0 10px 22px rgba(92,59,32,.3);
}

.info-icon {
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 24px;
  color: #5C3B20;
  background: linear-gradient(145deg, #FBF2E6 0%, #F3DEC3 100%);
  transition: background .4s ease, color .4s ease, box-shadow .4s ease;
}
.info-text h3 {
  margin: 2px 0 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #222;
}
.info-text p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #5c5c5c;
}

/* =========================================================
   COMMITMENT BAR
   ========================================================= */
.case-cta {
  margin-top: 14px;
  padding: 14px 28px 14px 28px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(92, 59, 32, .08);
  animation: riseIn-s2 .9s cubic-bezier(.2,.7,.2,1) .9s both;
}
.cta-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 24px;
  color: #5C3B20;
  background: linear-gradient(145deg, #FBF2E6 0%, #F3DEC3 100%);
}
.cta-text h3 {
  margin: 0 0 5px;
  font-size: 14px;
  font-weight: 700;
  color: #222;
}
.cta-text p {
  margin: 0;
  font-size: 12.5px;
  color: #5c5c5c;
}

.btn-cta-s2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(100deg, #E96B14 0%, #F08A2E 55%, #F6A64E 100%);
  background-size: 200% 100%;
  box-shadow: 0 12px 26px rgba(92, 59, 32, .32);
  overflow: hidden;
  white-space: nowrap;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, background-position .6s ease;
}
.btn-cta-s2:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(92, 59, 32, .4);
  background-position: 100% 50%;
}
.btn-cta-s2 i { font-size: 14px; transition: transform .3s ease; }
.btn-cta-s2:hover i { transform: translateX(4px); }
.btn-cta-s2::after {
  content: "";
  position: absolute;
  top: -40%; left: -60%;
  width: 40%; height: 180%;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.35), rgba(255,255,255,0));
  transform: skewX(-20deg);
  animation: sweep-s2 4s ease-in-out 2s infinite;
}
@keyframes sweep-s2 {
  0%, 60% { left: -60%; }
  100%    { left: 130%; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .eyebrow-s2 { max-width: none; border-right: 0; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px) {
  .case-info { padding: 22px 4px 4px; gap: 6px; }
}
@media (max-width: 767.98px) {
  .case-study { padding: 26px 0 24px; }
  .case-title { font-size: 36px; }
  .case-card { padding: 12px; }
  .ba-slide-s2 { aspect-ratio: 4 / 5; }
  .ba-next-s2 { right: 10px; }
  .ba-prev-s2 { left: 10px; }
  .case-cta { padding: 16px 18px; }
  .btn-cta-s2 { width: 100%; justify-content: center; }
}

/* ############################################################
   3. CASE STUDY – KẾT QUẢ THẬT, GIÁ TRỊ THẬT
   ############################################################ */

/* =========================================================
   BASE
   ========================================================= */
@keyframes pageIn-s3 { from { opacity: 0; } to { opacity: 1; } }

@keyframes riseIn-s3 {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideLeft-s3 {
  from { opacity: 0; transform: translateX(34px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes gradientShift-s3 {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* =========================================================
   SECTION
   ========================================================= */
.case2 {
  position: relative;
  overflow: hidden;
  padding: 20px 0 18px;
  background:
    radial-gradient(40% 45% at 8% 12%, rgba(243,222,195,.75) 0%, rgba(243,222,195,0) 70%),
    radial-gradient(55% 45% at 50% 100%, rgba(243,222,195,.6) 0%, rgba(243,222,195,0) 70%),
    linear-gradient(180deg, #faf3ea 0%, #f6eadc 100%);
}

/* Morphing blobs */
.blob-s3 {
  position: absolute;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(237,122,42,.12), rgba(237,122,42,0));
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morph-s3 16s ease-in-out infinite;
}
.blob-1-s3 { left: -180px; top: -120px; width: 520px; height: 520px; }
.blob-2-s3 { right: -160px; bottom: -220px; width: 560px; height: 560px; animation-delay: -8s; }
@keyframes morph-s3 {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: translate(0,0) rotate(0deg); }
  50%      { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: translate(24px,-16px) rotate(10deg); }
}

.case2 .container { position: relative; }

/* =========================================================
   LEFT COPY
   ========================================================= */
.intro { padding: 36px 24px 0 0; }

.eyebrow-s3 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #5C3B20;
  display: inline-block;                            /* Text typing effect */
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #ED7A2A;
  max-width: 0;
  animation:
    typing-s3 1.4s steps(22, end) .4s forwards,
    caret-s3 .7s step-end 1.8s 4,
    caretOff-s3 .1s linear 4.6s forwards;
}
@keyframes typing-s3   { to { max-width: 320px; } }
@keyframes caret-s3    { 50% { border-color: transparent; } }
@keyframes caretOff-s3 { to { border-color: transparent; } }

.intro-title {
  margin: 0 0 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: 52px;
  line-height: 1.12;
  letter-spacing: -.8px;
  color: #2b2b2b;
  animation: riseIn-s3 .9s cubic-bezier(.2,.7,.2,1) .2s both;
}
.intro-bar {
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #8C6A3E, #D4B07A);
  background-size: 200% 100%;
  transform-origin: left;
  animation:
    grow-s3 .8s cubic-bezier(.2,.7,.2,1) .5s both,
    gradientShift-s3 5s ease-in-out 1.5s infinite;      /* Gradient animation */
}
@keyframes grow-s3 { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.intro-text {
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: #5c5c5c;
  animation: riseIn-s3 .9s cubic-bezier(.2,.7,.2,1) .4s both;
}

/* ---------- Quote card ---------- */
.quote-card {
  position: relative;
  margin-top: 36px;
  padding: 34px 28px 30px;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(248,235,222,.92) 0%, rgba(243,226,208,.95) 100%),
    url("images/facility.jpg") center / cover no-repeat;
  box-shadow: 0 16px 40px rgba(92,59,32,.10);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease;
  animation: riseIn-s3 .9s cubic-bezier(.2,.7,.2,1) .6s both;
}
.quote-card:hover {                                  /* Hover card effect */
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(92,59,32,.16);
}
/* soft white light wash like the clinic photo behind */
.quote-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 70% 20%, rgba(255,255,255,.75), rgba(255,255,255,0)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0) 0 60px, rgba(255,255,255,.18) 60px 61px);
  pointer-events: none;
}
.quote-card > * { position: relative; }
.quote-mark-s3 {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 54px;
  line-height: .6;
  color: #5C3B20;
  margin-bottom: 18px;
}
.quote-text-s3 {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #3a3a3a;
  max-width: 240px;
}
.signature-s3 {
  display: block;
  margin-top: 14px;
  text-align: right;
  font-family: "Dancing Script", cursive;
  font-size: 32px;
  font-weight: 600;
  color: #ED7A2A;
  transform: rotate(-4deg);
  padding-right: 10px;
}

/* =========================================================
   RIGHT CARD
   ========================================================= */
.result-card {
  position: relative;
  padding: 18px 20px 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(92,59,32,.10), 0 2px 6px rgba(92,59,32,.04);
  animation: riseIn-s3 .9s cubic-bezier(.2,.7,.2,1) .3s both;
}

/* ---------- Before / after (Swiper) ---------- */
.ba-gallery-s3 { position: relative; }
.ba-swiper-s3 { overflow: hidden; border-radius: 12px; }
.ba-slide-s3 {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #e9e4de;
  isolation: isolate;
}
.ba-slide-s3 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  user-select: none;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.ba-slide-s3:hover img { transform: scale(1.06); }      /* Image zoom hover */
.ba-slide-s3::before {                                  /* Skeleton shimmer */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, #ece7e1 30%, #f6f2ed 50%, #ece7e1 70%);
  background-size: 200% 100%;
  animation: shimmer-s3 1.6s linear infinite;
}
@keyframes shimmer-s3 { to { background-position: -200% 0; } }

.ba-label-s3 {
  position: absolute;
  top: 0;
  z-index: 2;
  padding: 7px 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(43,43,43,.88);                    /* Glassmorphism */
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.ba-label-s3.is-before-s3 { left: 0; border-radius: 12px 0 10px 0; }
.ba-label-s3.is-after-s3  { right: 0; border-radius: 0 12px 0 10px; background: rgba(92,59,32,.94); }

.ba-nav-s3 {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #2b2b2b;
  font-size: 16px;
  background: rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(92,59,32,.22);
  cursor: pointer;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, opacity .3s ease, color .3s ease;
}
.ba-nav-s3::after { display: none; }
.ba-nav-s3:hover { color: #5C3B20; box-shadow: 0 12px 28px rgba(92,59,32,.3); }
.ba-nav-s3.swiper-button-disabled { opacity: 0; pointer-events: none; }
.ba-next-s3 { right: 14px; transform: translate(0, -50%); }
.ba-next-s3:hover { transform: translate(0, -50%) scale(1.08); }
.ba-prev-s3 { left: 14px; transform: translate(0, -50%); }
.ba-prev-s3:hover { transform: translate(0, -50%) scale(1.08); }

/* ---------- Procedure name + spec rows ---------- */
.proc-head {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.proc-name {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #2b2b2b;
}
.proc-pill {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #5C3B20;
  background: linear-gradient(90deg, #F7E5D0, #F2D9BC, #F7E5D0);
  background-size: 200% 100%;
  animation: gradientShift-s3 6s ease-in-out infinite;
}

.spec-list { margin-top: 10px; }
.spec-row {
  display: grid;
  grid-template-columns: 30px 150px 1fr;
  column-gap: 10px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid #ece7e1;
  transition: background .3s ease, padding-left .3s ease;
  animation: slideLeft-s3 .8s cubic-bezier(.2,.7,.2,1) both;
}
.spec-row:nth-child(1) { animation-delay: .6s; }
.spec-row:nth-child(2) { animation-delay: .72s; }
.spec-row:nth-child(3) { animation-delay: .84s; }
.spec-row:nth-child(4) { animation-delay: .96s; border-bottom: 0; }
.spec-row:hover { background: #fbf5ec; padding-left: 6px; }
.spec-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: -1px;
  font-size: 18px;
  color: #5C3B20;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.spec-row:hover .spec-icon { transform: scale(1.18) rotate(-6deg); }
.spec-label { font-size: 13px; color: #6a6a6a; line-height: 1.5; }
.spec-value { font-size: 13px; color: #2b2b2b; line-height: 1.6; }
.spec-value strong { font-weight: 600; }

/* =========================================================
   BOTTOM: features bar + CTA
   ========================================================= */
.features {
  height: 100%;
  min-height: 92px;
  padding: 16px 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(92,59,32,.08);
  display: flex;
  align-items: center;
  animation: riseIn-s3 .9s cubic-bezier(.2,.7,.2,1) .8s both;
}
.feature {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  border-left: 1px solid #ece7e1;
}
.feature:first-child { border-left: 0; padding-left: 20px; }
.feature-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 28px;
  color: #5C3B20;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), color .3s ease;
}
.feature:hover .feature-icon { transform: translateY(-3px) scale(1.1); color: #ED7A2A; }
.feature h3 { margin: 0 0 3px; font-size: 13px; font-weight: 700; color: #222; }
.feature p  { margin: 0; font-size: 11.5px; line-height: 1.45; color: #6a6a6a; }

.cta-block {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 92px;
  padding: 16px 24px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #E96B14 0%, #F08A2E 55%, #F6A64E 100%);
  background-size: 200% 200%;
  box-shadow: 0 14px 34px rgba(92,59,32,.34);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
  animation:
    riseIn-s3 .9s cubic-bezier(.2,.7,.2,1) .9s both,
    gradientShift-s3 7s ease-in-out 2s infinite;
}
.cta-block:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(92,59,32,.42);
}
.cta-block::after {                                  /* glossy sweep */
  content: "";
  position: absolute;
  top: -40%; left: -60%;
  width: 40%; height: 180%;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.28), rgba(255,255,255,0));
  transform: skewX(-20deg);
  animation: sweep-s3 4.5s ease-in-out 2.5s infinite;
}
@keyframes sweep-s3 { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.cta-block strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.cta-block span {
  font-size: 11.5px;
  line-height: 1.45;
  opacity: .92;
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .eyebrow-s3 { max-width: none; border-right: 0; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1199.98px) {
  .intro-title { font-size: 44px; }
  .spec-row { grid-template-columns: 30px 130px 1fr; }
}
@media (max-width: 991.98px) {
  .intro { padding: 10px 0 0; text-align: center; }
  .intro-bar { margin: 0 auto; }
  .quote-card { margin-top: 24px; text-align: left; }
  .features { flex-wrap: wrap; row-gap: 14px; }
  .feature { flex: 1 1 100%; border-left: 0; padding: 0; }
  .feature:first-child { padding-left: 0; }
}
@media (max-width: 767.98px) {
  .case2 { padding: 22px 0; }
  .intro-title { font-size: 38px; }
  .result-card { padding: 12px 12px 18px; }
  .ba-slide-s3 { aspect-ratio: 4 / 5; }
  .ba-next-s3 { right: 10px; }
  .ba-prev-s3 { left: 10px; }
  .proc-head { flex-wrap: wrap; }
  .spec-row { grid-template-columns: 26px 1fr; }
  .spec-value { grid-column: 2; margin-top: 4px; }
  .cta-block { text-align: center; }
}

/* ############################################################
   3B. CASE STUDY KHÁC – LƯỚI 2 CỘT (NỀN TRẮNG)
   ############################################################ */

@keyframes riseIn-s3b {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   SECTION
   ========================================================= */
.cases-more {
  position: relative;
  overflow: hidden;
  padding: 76px 0 80px;
  background: #fff;
}
/* subtle dotted grid so the white block still feels crafted */
.cases-more::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(92,59,32,.10) 1px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 0%, transparent 100%);
          mask-image: radial-gradient(70% 60% at 50% 0%, #000 0%, transparent 100%);
}
.cases-more .container { position: relative; }

/* ---------- Section head ---------- */
.cases-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.eyebrow-s3b {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #5C3B20;
}
.eyebrow-s3b::before,
.eyebrow-s3b::after {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #8C6A3E, #D4B07A);
}
.cases-title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: -.8px;
  color: #2b2b2b;
}
.cases-title em {
  font-style: italic;
  background: linear-gradient(90deg, #5C3B20 0%, #8C6A3E 35%, #D4B07A 55%, #8C6A3E 75%, #5C3B20 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: gradientShift-s3 6s ease-in-out 1s infinite;
}
.cases-text {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: #6a6a6a;
}

/* =========================================================
   CASE CARD (one per col-lg-6)
   ========================================================= */
.case-item {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ece7e1;
  box-shadow: 0 14px 40px rgba(92,59,32,.08), 0 2px 6px rgba(92,59,32,.04);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease, border-color .4s ease;
  animation: riseIn-s3b .9s cubic-bezier(.2,.7,.2,1) both;
}
.case-item:hover {                                     /* Hover card effect */
  transform: translateY(-6px);
  border-color: #e4d6c3;
  box-shadow: 0 26px 60px rgba(92,59,32,.16), 0 4px 10px rgba(92,59,32,.05);
}
/* stagger: load-time fallback */
.cases-more .col-lg-6:nth-child(1) .case-item { animation-delay: .15s; }
.cases-more .col-lg-6:nth-child(2) .case-item { animation-delay: .30s; }
.cases-more .col-lg-6:nth-child(3) .case-item { animation-delay: .45s; }
.cases-more .col-lg-6:nth-child(4) .case-item { animation-delay: .60s; }
/* scroll-driven reveal when supported (same technique as the progress bar) */
@supports (animation-timeline: view()) {
  .case-item {
    animation-delay: 0s !important;
    animation-timeline: view();
    animation-range: entry 0% entry 45%;
  }
}

/* ---------- Case number badge ---------- */
.case-no {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #5C3B20;
  background: rgba(255,255,255,.92);                   /* Glassmorphism */
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(92,59,32,.18);
}
.case-no i { font-size: 12px; color: #ED7A2A; }

/* ---------- Before / after pair ---------- */
.case-pair {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: #ece7e1;
}
.case-shot {
  position: relative;
  margin: 0;
  /*aspect-ratio: 4 / 5;*/
  overflow: hidden;
  background: #e9e4de;
  isolation: isolate;
}
.case-shot::before {                                   /* Skeleton shimmer */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, #ece7e1 30%, #f6f2ed 50%, #ece7e1 70%);
  background-size: 200% 100%;
  animation: shimmer-s3 1.6s linear infinite;
}
.case-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .6s ease;
}
.case-shot.is-before img { filter: saturate(.85); }
.case-item:hover .case-shot img { transform: scale(1.06); }   /* Image zoom hover */
.case-item:hover .case-shot.is-before img { filter: saturate(1); }

.case-tag {
  position: absolute;
  bottom: 0;
  z-index: 2;
  padding: 7px 13px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(43,43,43,.88);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.case-shot.is-before .case-tag { left: 0;  border-radius: 0 10px 0 0; }
.case-shot.is-after  .case-tag { right: 0; border-radius: 10px 0 0 0; background: rgba(92,59,32,.94); }

/* arrow pin between the two shots */
.case-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(135deg, #E96B14 0%, #F08A2E 55%, #F6A64E 100%);
  box-shadow: 0 10px 24px rgba(237,122,42,.4), 0 0 0 4px rgba(255,255,255,.9);
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.case-item:hover .case-arrow { transform: translate(-50%, -50%) scale(1.1) rotate(-8deg); }

/* ---------- Body ---------- */
.case-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 20px;
}
.case-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.case-name {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  line-height: 1.3;
  color: #2b2b2b;
}
.case-sub {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: #8C6A3E;
  font-weight: 600;
}
.case-time {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .5px;
  white-space: nowrap;
  color: #5C3B20;
  background: linear-gradient(90deg, #F7E5D0, #F2D9BC, #F7E5D0);
  background-size: 200% 100%;
  animation: gradientShift-s3 6s ease-in-out infinite;
}
.case-time i { font-size: 13px; }

.case-specs {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.case-specs li {
  display: grid;
  grid-template-columns: 24px 118px 1fr;
  column-gap: 10px;
  align-items: start;
  padding: 11px 0;
  border-top: 1px solid #f0ebe4;
  transition: background .3s ease, padding-left .3s ease;
}
.case-specs li:hover { background: #fbf5ec; padding-left: 6px; }
.case-specs i {
  font-size: 15px;
  line-height: 1.4;
  color: #5C3B20;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.case-specs li:hover i { transform: scale(1.18) rotate(-6deg); }
.case-specs .k { font-size: 12.5px; color: #6a6a6a; line-height: 1.5; }
.case-specs .v { font-size: 12.5px; color: #2b2b2b; line-height: 1.6; }
.case-specs .v strong { font-weight: 600; }

.case-foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px dashed #e4d6c3;
}
.case-quote {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #6a6a6a;
  font-style: italic;
}
.case-quote::before { content: "\201C"; font-family: "Playfair Display", Georgia, serif; color: #ED7A2A; margin-right: 2px; }
.case-quote::after  { content: "\201D"; font-family: "Playfair Display", Georgia, serif; color: #ED7A2A; margin-left: 2px; }
.case-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #5C3B20;
  white-space: nowrap;
  transition: color .3s ease, gap .3s ease;
}
.case-link i { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.case-link:hover { color: #ED7A2A; gap: 10px; }
.case-link:hover i { transform: translateX(2px); }

/* ---------- Bottom CTA line ---------- */
.cases-cta {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: #6a6a6a;
}
.cases-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #5C3B20 0%, #8C6A3E 100%);
  box-shadow: 0 12px 28px rgba(92,59,32,.26);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.cases-cta a:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 18px 36px rgba(92,59,32,.34); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1199.98px) {
  .cases-title { font-size: 42px; }
  .case-specs li { grid-template-columns: 24px 108px 1fr; }
}
@media (max-width: 767.98px) {
  .cases-more { padding: 56px 0 60px; }
  .cases-head { margin-bottom: 30px; }
  .cases-title { font-size: 34px; }
  .case-body { padding: 18px 16px 16px; }
  .case-top { flex-wrap: wrap; }
  .case-specs li { grid-template-columns: 22px 1fr; }
  .case-specs .v { grid-column: 2; margin-top: 3px; }
  .case-foot { flex-wrap: wrap; }
  .cases-cta a { margin: 12px 0 0; }
}

/* ############################################################
   4. VỀ BÁC SĨ
   ############################################################ */

/* =========================================================
   BASE
   ========================================================= */
@keyframes pageIn-s4 { from { opacity: 0; } to { opacity: 1; } }

@keyframes riseIn-s4 {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideLeft-s4 {
  from { opacity: 0; transform: translateX(-26px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes gradientShift-s4 {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* =========================================================
   SECTION
   ========================================================= */
.doctor {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
  background:
    radial-gradient(45% 40% at 90% 8%, rgba(243,222,195,.7) 0%, rgba(243,222,195,0) 70%),
    linear-gradient(180deg, #fcfaf7 0%, #f3ede5 100%);
}
.blob-s4 {
  position: absolute;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(237,122,42,.14), rgba(237,122,42,0));
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morph-s4 16s ease-in-out infinite;
}
.blob-1-s4 { left: -200px; bottom: -200px; width: 560px; height: 560px; }
.blob-2-s4 { right: -180px; top: -160px; width: 520px; height: 520px; animation-delay: -8s; }
@keyframes morph-s4 {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: translate(0,0) rotate(0deg); }
  50%      { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: translate(24px,-16px) rotate(10deg); }
}
.doctor .container { position: relative; }

/* =========================================================
   LEFT – bio
   ========================================================= */
.eyebrow-s4 {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #5C3B20;
  display: inline-block;                            /* Text typing effect */
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #ED7A2A;
  max-width: 0;
  animation:
    typing-s4 1.2s steps(18, end) .4s forwards,
    caret-s4 .7s step-end 1.6s 4,
    caretOff-s4 .1s linear 4.4s forwards;
}
@keyframes typing-s4   { to { max-width: 260px; } }
@keyframes caret-s4    { 50% { border-color: transparent; } }
@keyframes caretOff-s4 { to { border-color: transparent; } }

.doctor-title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: 50px;
  line-height: 1.08;
  letter-spacing: -.8px;
  color: #2b2b2b;
  animation: riseIn-s4 .9s cubic-bezier(.2,.7,.2,1) .2s both;
}
.doctor-title em {
  font-style: italic;
  background: linear-gradient(90deg, #5C3B20 0%, #8C6A3E 35%, #D4B07A 55%, #8C6A3E 75%, #5C3B20 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: gradientShift-s4 6s ease-in-out 1.2s infinite;   /* Gradient animation */
}
.doctor-role {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: #5C3B20;
  animation: riseIn-s4 .9s cubic-bezier(.2,.7,.2,1) .3s both;
}
.doctor-bio {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: #5c5c5c;
  animation: riseIn-s4 .9s cubic-bezier(.2,.7,.2,1) .4s both;
}

/* ---------- Photo card ---------- */
.doctor-photo {
  position: relative;
  margin-top: 28px;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 5 / 3.4;
  background: linear-gradient(180deg, #f1ebe3, #e6ddd2);   /* fallback while image loads */
  box-shadow: 0 22px 50px rgba(92,59,32,.14);
  animation: riseIn-s4 .9s cubic-bezier(.2,.7,.2,1) .55s both;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .6s ease;
}
.doctor-photo:hover { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(92,59,32,.2); }
.doctor-photo img {                                  /* Ảnh bác sĩ phủ kín khung */
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center 20%;
  display: block;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);   /* Ken-Burns zoom on hover */
}
.doctor-photo:hover img { transform: scale(1.06); }
.doctor-photo::after {                               /* Lớp phủ tối phía dưới để badge/chữ ký nổi bật */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(43,43,43,0) 50%, rgba(43,43,43,.55) 100%);
}
.photo-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 12px;
  border-radius: 14px;
  color: #fff;
  background: rgba(255,255,255,.16);                /* Glassmorphism */
  -webkit-backdrop-filter: blur(14px) saturate(160%);
          backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,.35);
}
.photo-badge strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  color: #ED7A2A;
}
.photo-badge span { font-size: 11px; letter-spacing: .6px; text-transform: uppercase; opacity: .9; }
.photo-sign {
  position: absolute;
  right: 22px;
  bottom: 14px;
  z-index: 2;
  font-family: "Dancing Script", cursive;
  font-size: 30px;
  font-weight: 600;
  color: #fff;
  transform: rotate(-5deg);
  opacity: .95;
}

/* ---------- Credential list ---------- */
.cred-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.cred-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.78);                /* Glassmorphism */
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 8px 24px rgba(90,65,40,.06);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
  animation: slideLeft-s4 .8s cubic-bezier(.2,.7,.2,1) both;
}
.cred-list li:nth-child(1) { animation-delay: .7s; }
.cred-list li:nth-child(2) { animation-delay: .8s; }
.cred-list li:nth-child(3) { animation-delay: .9s; }
.cred-list li:nth-child(4) { animation-delay: 1s; }
.cred-list li:nth-child(5) { animation-delay: 1.1s; }
.cred-list li:hover {                                /* Hover card effect */
  transform: translateX(6px);
  box-shadow: 0 14px 30px rgba(92,59,32,.14);
}
.cred-list li:hover .cred-ico {
  background: linear-gradient(145deg, #5C3B20, #8C6A3E);
  color: #fff;
}
.cred-ico {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 17px;
  color: #5C3B20;
  background: linear-gradient(145deg, #FBF2E6 0%, #F3DEC3 100%);
  transition: background .4s ease, color .4s ease;
}
.cred-list h3 { margin: 2px 0 3px; font-size: 13.5px; font-weight: 700; color: #222; }
.cred-list p  { margin: 0; font-size: 12.5px; line-height: 1.5; color: #6a6a6a; }
.cred-list .dot-s4 { color: #ED7A2A; font-weight: 700; margin: 0 4px; }

/* =========================================================
   RIGHT – masonry of certificate photos (CSS columns, no JS)
   ========================================================= */
.masonry-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  animation: riseIn-s4 .9s cubic-bezier(.2,.7,.2,1) .3s both;
}
.masonry-head h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: 26px;
  color: #2b2b2b;
}
.masonry-head p { margin: 4px 0 0; font-size: 13px; color: #6a6a6a; }
.masonry-count {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  color: #5C3B20;
  background: linear-gradient(90deg, #F7E5D0, #F2D9BC, #F7E5D0);
  background-size: 200% 100%;
  animation: gradientShift-s4 6s ease-in-out infinite;
}

.masonry {
  column-count: 3;
  column-gap: 14px;
}
.masonry-item {
  position: relative;
  display: block;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin: 0 0 14px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(90,65,40,.08);
  perspective: 800px;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease;
  animation: riseIn-s4 .9s cubic-bezier(.2,.7,.2,1) both;
}
.masonry-item:nth-child(1) { animation-delay: .45s; }
.masonry-item:nth-child(2) { animation-delay: .55s; }
.masonry-item:nth-child(3) { animation-delay: .65s; }
.masonry-item:nth-child(4) { animation-delay: .75s; }
.masonry-item:nth-child(5) { animation-delay: .85s; }
.masonry-item:nth-child(6) { animation-delay: .95s; }
.masonry-item:nth-child(7) { animation-delay: 1.05s; }
.masonry-item:nth-child(8) { animation-delay: 1.15s; }

.masonry-item:hover {                                /* Hover card + 3D tilt */
  transform: translateY(-6px) rotateX(3deg) rotateY(-3deg);
  box-shadow: 0 24px 50px rgba(92,59,32,.22);
  z-index: 2;
}
.masonry-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.masonry-item:hover img { transform: scale(1.06); } /* Image zoom hover */

/* Skeleton shimmer behind each image while loading */
.masonry-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, #ece7e1 30%, #f6f2ed 50%, #ece7e1 70%);
  background-size: 200% 100%;
  animation: shimmer-s4 1.6s linear infinite;
}
@keyframes shimmer-s4 { to { background-position: -200% 0; } }

.masonry-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, rgba(43,43,43,0), rgba(43,43,43,.75));
  transform: translateY(100%);
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.masonry-cap small { display: block; font-weight: 400; font-size: 11px; opacity: .85; margin-top: 2px; }
.masonry-item:hover .masonry-cap { transform: translateY(0); }

.masonry-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(92,59,32,.92);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .eyebrow-s4 { max-width: none; border-right: 0; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1199.98px) {
  .doctor-title { font-size: 42px; }
  .masonry { column-count: 2; }
}
@media (max-width: 991.98px) {
  .doctor { padding: 56px 0 60px; }
  .masonry-head { margin-top: 36px; }
  .masonry { column-count: 3; }
}
@media (max-width: 767.98px) {
  .doctor { padding: 44px 0 48px; }
  .doctor-title { font-size: 36px; }
  .masonry { column-count: 2; column-gap: 10px; }
  .masonry-item { margin-bottom: 10px; }
  .masonry-cap { display: none; }   /* tags only on small screens */
}

/* ############################################################
   5. KHÁCH HÀNG – TRÁI TIM ẢNH
   ############################################################ */

/* =========================================================
   BASE
   ========================================================= */
@keyframes pageIn-s5 { from { opacity: 0; } to { opacity: 1; } }

@keyframes riseIn-s5 {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes gradientShift-s5 {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* =========================================================
   SECTION
   ========================================================= */
.love {
  position: relative;
  overflow: hidden;
  padding: 72px 0 76px;
  text-align: center;
  background:
    radial-gradient(50% 45% at 50% 60%, rgba(243,222,195,.75) 0%, rgba(243,222,195,0) 70%),
    linear-gradient(180deg, #fcfaf7 0%, #f3ede5 100%);
}
.blob-s5 {
  position: absolute;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(237,122,42,.14), rgba(237,122,42,0));
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morph-s5 16s ease-in-out infinite;
}
.blob-1-s5 { left: -220px; top: -160px; width: 560px; height: 560px; }
.blob-2-s5 { right: -220px; bottom: -200px; width: 600px; height: 600px; animation-delay: -8s; }
@keyframes morph-s5 {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: translate(0,0) rotate(0deg); }
  50%      { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: translate(24px,-16px) rotate(10deg); }
}
.love .container { position: relative; }

/* ---------- Heading (centred) ---------- */
.eyebrow-s5 {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #5C3B20;
  display: inline-block;                            /* Text typing effect */
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #ED7A2A;
  max-width: 0;
  animation:
    typing-s5 1.2s steps(20, end) .3s forwards,
    caret-s5 .7s step-end 1.5s 4,
    caretOff-s5 .1s linear 4.3s forwards;
}
@keyframes typing-s5   { to { max-width: 320px; } }
@keyframes caret-s5    { 50% { border-color: transparent; } }
@keyframes caretOff-s5 { to { border-color: transparent; } }

.love-title {
  max-width: 840px;
  margin: 0 auto;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: 44px;
  line-height: 1.18;
  letter-spacing: -.6px;
  color: #2b2b2b;
  animation: riseIn-s5 .9s cubic-bezier(.2,.7,.2,1) .2s both;
}
.love-title em {
  font-style: italic;
  background: linear-gradient(90deg, #5C3B20 0%, #8C6A3E 35%, #D4B07A 55%, #8C6A3E 75%, #5C3B20 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: gradientShift-s5 6s ease-in-out 1.2s infinite;   /* Gradient animation */
}
.love-sub {
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 14px;
  line-height: 1.7;
  color: #5c5c5c;
  animation: riseIn-s5 .9s cubic-bezier(.2,.7,.2,1) .35s both;
}

/* ---------- Heart mosaic (CSS grid, 7 x 6 cells) ---------- */
.heart-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 64px auto 36px;
  animation: heartbeat-s5 3.2s ease-in-out 2.2s infinite;
}
@keyframes heartbeat-s5 {
  0%, 100% { transform: scale(1); }
  14%      { transform: scale(1.025); }
  28%      { transform: scale(1); }
  42%      { transform: scale(1.018); }
  60%      { transform: scale(1); }
}
/* soft glow behind the heart */
.heart-wrap::before {
  content: "";
  position: absolute;
  inset: 6% 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(237,122,42,.28), rgba(237,122,42,0));
  filter: blur(30px);
  animation: glow-s5 3.2s ease-in-out 2.2s infinite;
}
@keyframes glow-s5 {
  0%, 100% { opacity: .7; }
  14%      { opacity: 1; }
}

/* ---------- Art outline: hand-drawn double heart stroke behind the tiles ---------- */
.heart-art {
  position: absolute;
  inset: -13% -11% -9%;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}
.heart-art .fill {
  fill: url(#heartFill);
  opacity: 0;
  animation: fadeIn-s5 1.4s ease 1.2s forwards;
}
@keyframes fadeIn-s5 { to { opacity: 1; } }
/* main stroke draws itself in */
.heart-art .line {
  fill: none;
  stroke: url(#heartStroke);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 330;
  stroke-dashoffset: 330;
  animation: draw-s5 2.2s cubic-bezier(.4,0,.2,1) .4s forwards;
}
@keyframes draw-s5 { to { stroke-dashoffset: 0; } }
/* second, offset sketch stroke – dashed, keeps drifting (infinite scroll along the path) */
.heart-art .sketch {
  fill: none;
  stroke: #ED7A2A;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-dasharray: 7 9;
  opacity: 0;
  transform-origin: 50% 50%;
  transform: rotate(-5deg) scale(1.045) translate(-1px, 1px);
  animation:
    fadeIn-s5 1s ease 2.2s forwards,
    dashDrift-s5 14s linear 2.2s infinite;
}
@keyframes dashDrift-s5 { to { stroke-dashoffset: -320; } }
/* a loose, thicker brush stroke on the left lobe – the "phá cách" accent */
.heart-art .brush {
  fill: none;
  stroke: #5C3B20;
  stroke-width: 3.5;
  stroke-linecap: round;
  opacity: 0;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: brushIn-s5 1.2s cubic-bezier(.4,0,.2,1) 2.4s forwards;
}
@keyframes brushIn-s5 { to { opacity: .22; stroke-dashoffset: 0; } }

/* floating mini hearts around the artwork */
.mini {
  position: absolute;
  z-index: 2;
  color: #ED7A2A;
  opacity: 0;
  animation: floatIn-s5 .8s ease forwards, floaty-s5 5s ease-in-out infinite;
}
.mini-1 { left: -4%;  top: 8%;  font-size: 22px; animation-delay: 2.6s, 2.6s; }
.mini-2 { right: -3%; top: 2%;  font-size: 14px; color: #5C3B20; animation-delay: 2.9s, 2.9s; }
.mini-3 { right: 6%;  bottom: 18%; font-size: 18px; animation-delay: 3.2s, 3.2s; }
.mini-4 { left: 10%;  bottom: 10%; font-size: 12px; color: #5C3B20; animation-delay: 3.5s, 3.5s; }
@keyframes floatIn-s5 { to { opacity: .9; } }
@keyframes floaty-s5 {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50%      { transform: translateY(-10px) rotate(6deg); }
}

.heart {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 14px;
  aspect-ratio: 7 / 6;
}
.tile {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #e9e4de;
  box-shadow: 0 2px 6px rgba(90,65,40,.08);
  transform: scale(0);
  animation: pop-s5 .6s cubic-bezier(.2,.9,.3,1.4) both;   /* staggered reveal from the centre */
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, z-index 0s;
}
@keyframes pop-s5 {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter .5s ease, transform .5s cubic-bezier(.2,.7,.2,1);
}
/* Tất cả ảnh trong trái tim luôn hiển thị đầy đủ màu sắc. */
.tile.is-before-s5 img { filter: none; }
.tile:hover { transform: scale(1.12) rotate(-2deg); z-index: 5; box-shadow: 0 14px 30px rgba(92,59,32,.3); }
.tile:hover img { filter: none; transform: scale(1.1); }  /* Image zoom hover */

/* skeleton shimmer while images load */
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #ece7e1 30%, #f6f2ed 50%, #ece7e1 70%);
  background-size: 200% 100%;
  animation: shimmer-s5 1.6s linear infinite;
}
@keyframes shimmer-s5 { to { background-position: -200% 0; } }
.tile img { position: relative; }

/* ---------- Stats under the heart ---------- */
.love-stats {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);                /* Glassmorphism */
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 14px 40px rgba(90,65,40,.08);
  animation: riseIn-s5 .9s cubic-bezier(.2,.7,.2,1) 1.6s both;
}
.love-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 999px;
  transition: background .3s ease;
}
.love-stat:hover { background: #FBF2E6; }
.love-stat i { font-size: 18px; color: #5C3B20; }
.love-stat strong { font-size: 20px; font-weight: 800; color: #5C3B20; line-height: 1; }
.love-stat span { font-size: 12px; color: #6a6a6a; }
.love-stat + .love-stat { border-left: 1px solid rgba(92,59,32,.14); }

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .eyebrow-s5 { max-width: none; border-right: 0; }
  .tile { transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px) {
  .love { padding: 56px 0 60px; }
  .love-title { font-size: 36px; }
  .heart { gap: 12px; }
  .tile { border-radius: 12px; }
}
@media (max-width: 575.98px) {
  .love { padding: 44px 0 48px; }
  .love-title { font-size: 28px; }
  .heart { gap: 8px; }
  .tile { border-radius: 10px; }
  .tile:hover { transform: none; }
  .love-stats { border-radius: 20px; flex-direction: column; align-items: stretch; gap: 4px; }
  .love-stat { padding: 6px 12px; justify-content: center; }
  .love-stat + .love-stat { border-left: 0; }
}

/* ############################################################
   6. FOOTER
   ############################################################ */

/* =========================================================
   BASE
   ========================================================= */
@keyframes pageIn-s6 { from { opacity: 0; } to { opacity: 1; } }

@keyframes riseIn-s6 {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes gradientShift-s6 {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* =========================================================
   MARQUEE – associations / partners (pure CSS infinite scroll)
   ========================================================= */
.partners {
  position: relative;
  padding: 26px 0;
  background: #fcfaf7;
  border-top: 1px solid rgba(92,59,32,.10);
  overflow: hidden;
}
.partners-label {
  text-align: center;
  margin: 0 0 16px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #5C3B20;
}
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0), #000 12%, #000 88%, rgba(0,0,0,0));
          mask-image: linear-gradient(90deg, rgba(0,0,0,0), #000 12%, #000 88%, rgba(0,0,0,0));
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: marquee-s6 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-s6 { to { transform: translateX(-50%); } }
.partner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  margin-right: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.85);                /* Glassmorphism */
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 8px 22px rgba(90,65,40,.06);
  color: #2b2b2b;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.partner:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(92,59,32,.16); }
.partner i { font-size: 18px; color: #5C3B20; }
.partner small { font-weight: 400; color: #6a6a6a; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 70px 0 0;
  color: rgba(255,255,255,.78);
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(237,122,42,.14) 0%, rgba(237,122,42,0) 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(92,59,32,.35) 0%, rgba(92,59,32,0) 70%),
    linear-gradient(180deg, #3a2314 0%, #2a1a0f 100%);
}
/* Morphing blob */
.footer-blob {
  position: absolute;
  right: -200px;
  top: -220px;
  width: 620px;
  height: 620px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(237,122,42,.16), rgba(237,122,42,0));
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morph-s6 18s ease-in-out infinite;
}
@keyframes morph-s6 {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: translate(0,0) rotate(0deg); }
  50%      { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: translate(-30px,20px) rotate(12deg); }
}
.site-footer .container { position: relative; }

/* ---- column reveal ---- */
.f-col { animation: riseIn-s6 .9s cubic-bezier(.2,.7,.2,1) both; }
.f-col:nth-child(1) { animation-delay: .15s; }
.f-col:nth-child(2) { animation-delay: .3s; }
.f-col:nth-child(3) { animation-delay: .45s; }
.f-col:nth-child(4) { animation-delay: .6s; }

/* ---- brand column ---- */
.f-brand {
  display: inline-flex;
  align-items: center;
}
.f-brand img {
  display: block;
  width: 178px;
  height: auto;
  filter: brightness(0) invert(1);
}
.f-tagline {
  margin: 14px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: #fff;
}
.f-desc {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.66);
}
.f-socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.f-socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 17px;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background .35s ease, color .35s ease, box-shadow .35s ease;
}
.f-socials a:hover {
  transform: translateY(-4px) rotate(-6deg);
  color: #2b2b2b;
  background: #ED7A2A;
  box-shadow: 0 12px 24px rgba(237,122,42,.3);
}

/* ---- link columns ---- */
.f-heading {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}
.f-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #8C6A3E, #D4B07A);
  background-size: 200% 100%;
  animation: gradientShift-s6 5s ease-in-out infinite;  /* Gradient animation */
}
.f-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.f-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255,255,255,.72);
  transition: color .3s ease, transform .3s cubic-bezier(.2,.7,.2,1);
}
.f-links a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5C3B20;
  transition: background .3s ease, transform .3s ease;
}
.f-links a:hover { color: #fff; transform: translateX(4px); }
.f-links a:hover::before { background: #ED7A2A; transform: scale(1.3); }

/* ---- contact column ---- */
.f-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.f-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.72);
}
.f-contact li a { color: #fff; font-weight: 600; }
.f-contact li a:hover { color: #ED7A2A; }
.f-contact i {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 15px;
  color: #ED7A2A;
  background: rgba(237,122,42,.12);
  border: 1px solid rgba(237,122,42,.2);
}
.f-contact small { display: block; font-size: 11px; letter-spacing: .6px; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 2px; }

/* ---- newsletter / CTA ---- */
.f-news {
  padding: 22px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);                 /* Glassmorphism */
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.10);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .4s ease;
}
.f-news:hover { transform: translateY(-3px); border-color: rgba(237,122,42,.35); }
.f-news p { margin: 0 0 14px; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.66); }
.f-news .form-control {
  height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 13px;
  box-shadow: none;
}
.f-news .form-control::placeholder { color: rgba(255,255,255,.4); }
.f-news .form-control:focus {
  border-color: #ED7A2A;
  background: rgba(255,255,255,.08);
  box-shadow: 0 0 0 3px rgba(237,122,42,.18);
}
.btn-cta-s6 {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 46px;
  margin-top: 10px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(100deg, #E96B14 0%, #F08A2E 55%, #F6A64E 100%);
  background-size: 200% 100%;
  box-shadow: 0 12px 26px rgba(92,59,32,.4);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, background-position .6s ease;
}
.btn-cta-s6:hover { transform: translateY(-2px); background-position: 100% 50%; box-shadow: 0 18px 34px rgba(237,122,42,.3); }
.btn-cta-s6::after {
  content: "";
  position: absolute;
  top: -40%; left: -60%;
  width: 40%; height: 180%;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.32), rgba(255,255,255,0));
  transform: skewX(-20deg);
  animation: sweep-s6 4.5s ease-in-out 2s infinite;
}
@keyframes sweep-s6 { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.f-hours {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 12.5px;
  color: rgba(255,255,255,.66);
}
.f-hours i { color: #ED7A2A; }

/* ---- big signature watermark ---- */
.f-sign {
  position: absolute;
  right: 12px;
  bottom: 70px;
  font-family: "Dancing Script", cursive;
  font-size: 120px;
  line-height: 1;
  color: rgba(255,255,255,.04);
  pointer-events: none;
  user-select: none;
  transform: rotate(-6deg);
}

/* ---- bottom bar ---- */
.f-bottom {
  margin-top: 54px;
  padding: 20px 0 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
}
.f-bottom a { color: rgba(255,255,255,.7); transition: color .3s ease; }
.f-bottom a:hover { color: #ED7A2A; }
.f-bottom .sep { opacity: .35; margin: 0 10px; }

.to-top {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background .35s ease, color .35s ease;
}
.to-top:hover { transform: translateY(-4px); background: #ED7A2A; color: #2b2b2b; }
.to-top i { animation: bob-s6 1.8s ease-in-out infinite; }
@keyframes bob-s6 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px) {
  .site-footer { padding-top: 56px; }
  .f-sign { font-size: 90px; bottom: 90px; }
}
@media (max-width: 767.98px) {
  .partners { padding: 22px 0; }
  .site-footer { padding-top: 48px; }
  .f-bottom { margin-top: 40px; text-align: center; }
  .f-bottom .row > * { justify-content: center !important; }
  .f-sign { display: none; }
}

/* =========================================================
   SECTION COLOUR ALTERNATION
   1 hero: light grey · 2 case study: cream · 3 case study: deep brown
   3B more cases: white · 4 doctor: light grey · 5 heart: cream · 6 footer: deep brown
   ========================================================= */
.case2 {
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(237,122,42,.16) 0%, rgba(237,122,42,0) 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(92,59,32,.35) 0%, rgba(92,59,32,0) 70%),
    linear-gradient(180deg, #825e41 100%, #c09e7f 0%);
  padding: 64px 0 60px;
}
.case2 .eyebrow-s3 { color: #ED7A2A; border-right-color: #ED7A2A; }
.case2 .intro-title { color: #fff; }
.case2 .intro-text { color: rgba(255,255,255,.7); }
.case2 .blob-s3 { background: radial-gradient(closest-side, rgba(237,122,42,.18), rgba(237,122,42,0)); }
.case2 .result-card,
.case2 .features { box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.case2 .quote-card { box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.case2 .cta-block {
  background: linear-gradient(135deg, #F6A64E 0%, #F08A2E 55%, #E96B14 100%);
  background-size: 200% 200%;
  color: #2b2b2b;
  box-shadow: 0 16px 36px rgba(237,122,42,.3);
}
.case2 .cta-block:hover { color: #2b2b2b; }

.love {
  background:
    radial-gradient(50% 45% at 50% 60%, rgba(243,222,195,.9) 0%, rgba(243,222,195,0) 70%),
    linear-gradient(180deg, #faf3ea 0%, #f6eadc 100%);
}
/* section spacing rhythm */
.case-study { padding: 64px 0 60px; }
.doctor { padding: 80px 0 84px; }
.love { padding: 80px 0 84px; }


/* =============================================================
   PHẦN 2 – CSS BỔ SUNG CHO WORDPRESS
   (header/menu WP, trang trong, blog, case study, dịch vụ,
    liên hệ, 404, tìm kiếm, bình luận, widget, admin bar)
   Dùng chung bảng màu & font của landing page.
   ============================================================= */
:root {
  --dd-brown:       #5C3B20;
  --dd-brown-deep:  #2a1a0f;
  --dd-gold:        #8C6A3E;
  --dd-gold-light:  #D4B07A;
  --dd-orange:      #ED7A2A;
  --dd-orange-deep: #E96B14;
  --dd-cream:       #faf3ea;
  --dd-cream-2:     #f7ece0;
  --dd-grey:        #eceef1;
  --dd-ink:         #2b2b2b;
  --dd-muted:       #6a6a6a;
  --dd-line:        #ece7e1;
  --dd-font-body:   "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
  --dd-font-display:"Playfair Display", Georgia, serif;
  --dd-font-sign:   "Dancing Script", cursive;
  --dd-shadow:      0 14px 40px rgba(92,59,32,.08), 0 2px 6px rgba(92,59,32,.04);
  --dd-gradient:    linear-gradient(90deg, #8C6A3E, #D4B07A);
  --dd-cta:         linear-gradient(100deg, #E96B14 0%, #F08A2E 55%, #F6A64E 100%);
}

/* Skip link */
.skip-link:focus { position: fixed; left: 12px; top: 12px; z-index: 100000; }

/* ---------- Admin bar (khi đăng nhập) ---------- */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 991.98px) { .admin-bar .nav-list { top: 72px; } }

/* ---------- Header: logo / menu WordPress ---------- */
.brand img { height: 68px; width: auto; display: block; }
.brand .custom-logo { height: 68px; width: auto; }
.brand-text { display: inline-flex; align-items: center; }
.nav-list li.menu-item-has-children > a::before { content: none; }
.nav-list .sub-menu {
  position: absolute; left: 0; top: calc(100% + 8px);
  min-width: 220px; margin: 0; padding: 10px 0; list-style: none;
  background: rgba(255,255,255,.98);
  border: 1px solid var(--dd-line); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(90,65,40,.12);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.nav-list li { position: relative; }
.nav-list li:hover > .sub-menu, .nav-list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-list .sub-menu a { display: block; padding: 8px 18px; font-size: 13.5px; }
.nav-list .sub-menu a::after { display: none; }
@media (max-width: 991.98px) {
  .nav-list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; background: transparent; }
}

/* ---------- Page header (trang trong) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 64px 0 54px;
  background:
    radial-gradient(60% 50% at 50% 0%, #fcf7ef 0%, rgba(253,249,244,0) 70%),
    linear-gradient(180deg, #faf3ea 0%, #f7ece0 100%);
}
.page-hero::before, .page-hero::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 150px; pointer-events: none;
  background: repeating-linear-gradient(-55deg, rgba(92,59,32,.08) 0 1px, transparent 1px 9px);
}
.page-hero::before { left: 0; -webkit-mask-image: linear-gradient(90deg,#000,transparent); mask-image: linear-gradient(90deg,#000,transparent); }
.page-hero::after  { right: 0; -webkit-mask-image: linear-gradient(270deg,#000,transparent); mask-image: linear-gradient(270deg,#000,transparent); }
.page-hero .container { position: relative; }
.page-hero-blob {
  position: absolute; right: -160px; top: -200px; width: 520px; height: 520px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(237,122,42,.16), rgba(237,122,42,0));
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morph-s6 18s ease-in-out infinite;
}
.page-hero .eyebrow-s3b { margin-bottom: 12px; }
.page-title {
  margin: 0; font-family: var(--dd-font-display); font-weight: 400;
  font-size: 46px; line-height: 1.1; letter-spacing: -.6px; color: var(--dd-ink);
  animation: riseIn-s2 .9s cubic-bezier(.2,.7,.2,1) .15s both;
}
.page-title em { font-style: italic; color: var(--dd-brown); }
.page-lead { max-width: 640px; margin: 14px 0 0; font-size: 15.5px; line-height: 1.7; color: var(--dd-muted); }
.breadcrumb-dd {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 0 0 14px; padding: 0; list-style: none; font-size: 13px; color: var(--dd-muted);
}
.breadcrumb-dd a { color: var(--dd-brown); font-weight: 500; }
.breadcrumb-dd a:hover { color: var(--dd-orange); }
.breadcrumb-dd li + li::before { content: "›"; margin-right: 8px; color: #b8a994; }
@media (max-width: 767.98px) {
  .page-hero { padding: 40px 0 36px; }
  .page-title { font-size: 34px; }
}

/* ---------- Nội dung chính ---------- */
.site-main { padding: 56px 0 72px; background: #fff; }
.site-main.is-cream { background: var(--dd-cream); }
.site-main .container { position: relative; }
@media (max-width: 767.98px) { .site-main { padding: 36px 0 48px; } }

/* ---------- Nội dung bài viết / trang (prose) ---------- */
.entry-content { font-size: 16px; line-height: 1.8; color: #3a3a3a; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 {
  font-family: var(--dd-font-display); font-weight: 400; color: var(--dd-ink); line-height: 1.2; margin-top: 1.6em;
}
.entry-content h2 { font-size: 32px; letter-spacing: -.4px; }
.entry-content h3 { font-size: 24px; }
.entry-content h4 { font-size: 19px; font-family: var(--dd-font-body); font-weight: 700; }
.entry-content a { color: var(--dd-brown); text-decoration: underline; text-decoration-color: rgba(92,59,32,.3); text-underline-offset: 3px; transition: color .3s; }
.entry-content a:hover { color: var(--dd-orange); text-decoration-color: currentColor; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .4em; }
.entry-content img { max-width: 100%; height: auto; border-radius: 14px; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption, .wp-caption-text { margin-top: 8px; font-size: 13px; color: var(--dd-muted); text-align: center; }
.entry-content blockquote {
  position: relative; margin: 1.6em 0; padding: 22px 26px 22px 30px;
  border-left: 3px solid var(--dd-orange); border-radius: 0 16px 16px 0;
  background: var(--dd-cream); font-family: var(--dd-font-display); font-style: italic; font-size: 19px; line-height: 1.6; color: var(--dd-brown);
}
.entry-content blockquote p { margin: 0; }
.entry-content blockquote cite { display: block; margin-top: 10px; font-family: var(--dd-font-sign); font-style: normal; font-size: 22px; color: var(--dd-orange); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { padding: 10px 14px; border: 1px solid var(--dd-line); text-align: left; }
.entry-content th { background: var(--dd-cream); color: var(--dd-brown); font-weight: 600; }
.entry-content pre { padding: 18px; border-radius: 14px; background: var(--dd-brown-deep); color: #f3ede5; overflow-x: auto; font-size: 13.5px; }
.entry-content code { font-size: .92em; padding: 2px 6px; border-radius: 6px; background: var(--dd-cream-2); color: var(--dd-brown); }
.entry-content pre code { padding: 0; background: none; color: inherit; }
.entry-content hr { border: 0; height: 2px; background: var(--dd-gradient); opacity: .4; }
.entry-content .wp-block-button__link, .entry-content .btn-cta-s2 { text-decoration: none; }
.wp-block-button__link { border-radius: 999px; background: var(--dd-cta); color: #fff; font-weight: 700; }
.wp-block-image img, .wp-block-gallery img { border-radius: 14px; }
.alignleft  { float: left;  margin: .4em 1.6em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.6em; }
.aligncenter { display: block; margin: 1.6em auto; }
.alignwide { margin-left: -6%; margin-right: -6%; max-width: 112%; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.wp-caption { max-width: 100%; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus { clip: auto; clip-path: none; height: auto; width: auto; left: 8px; top: 8px; padding: 12px 18px; background: #fff; color: var(--dd-brown); z-index: 100000; border-radius: 10px; box-shadow: var(--dd-shadow); }
.sticky .post-card { border-color: var(--dd-gold-light); }
.bypostauthor { }

/* Page links & pagination */
.page-links, .post-nav-dd { margin-top: 30px; font-size: 14px; }
.pagination-dd { display: flex; justify-content: center; margin-top: 44px; }
.pagination-dd .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination-dd .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--dd-brown);
  background: #fff; border: 1px solid var(--dd-line);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), background .3s, color .3s, border-color .3s;
}
.pagination-dd .page-numbers:hover { transform: translateY(-2px); border-color: var(--dd-gold-light); }
.pagination-dd .page-numbers.current { color: #fff; background: var(--dd-cta); border-color: transparent; box-shadow: 0 10px 24px rgba(92,59,32,.25); }
.pagination-dd .page-numbers.dots { border: 0; background: transparent; }

/* ---------- Thẻ bài viết (blog) ---------- */
.post-card {
  position: relative; height: 100%; display: flex; flex-direction: column;
  border-radius: 20px; overflow: hidden; background: #fff;
  border: 1px solid var(--dd-line); box-shadow: var(--dd-shadow);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease, border-color .4s ease;
}
.post-card:hover { transform: translateY(-6px); border-color: #e4d6c3; box-shadow: 0 26px 60px rgba(92,59,32,.16), 0 4px 10px rgba(92,59,32,.05); }
.post-card-thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--dd-cream); }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.post-card:hover .post-card-thumb img { transform: scale(1.05); }
.post-card-thumb .placeholder { display: flex; align-items: center; justify-content: center; height: 100%; font-family: var(--dd-font-sign); font-size: 34px; color: var(--dd-gold); }
.post-card-cat {
  position: absolute; left: 14px; top: 14px; z-index: 1;
  padding: 6px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  color: var(--dd-brown); background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
}
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.post-card-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 10px; font-size: 12.5px; color: var(--dd-muted); }
.post-card-meta i { color: var(--dd-orange); margin-right: 5px; }
.post-card-title { margin: 0 0 10px; font-family: var(--dd-font-display); font-weight: 500; font-size: 21px; line-height: 1.3; }
.post-card-title a { color: var(--dd-ink); transition: color .3s; }
.post-card-title a:hover { color: var(--dd-brown); }
.post-card-excerpt { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--dd-muted); }
.post-card-foot { margin-top: auto; padding-top: 16px; }
.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--dd-brown);
  transition: gap .3s ease, color .3s;
}
.link-more:hover { gap: 12px; color: var(--dd-orange); }

/* ---------- Bài viết đơn ---------- */
.single-hero .page-title { font-size: 40px; }
.single-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; font-size: 13.5px; color: var(--dd-muted); }
.single-meta i { color: var(--dd-orange); margin-right: 6px; }
.single-thumb { margin: 0 0 34px; border-radius: 22px; overflow: hidden; box-shadow: var(--dd-shadow); }
.single-thumb img { width: 100%; height: auto; display: block; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.entry-tags a {
  padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--dd-brown);
  background: linear-gradient(90deg, #F7E5D0, #F2D9BC, #F7E5D0); transition: transform .3s;
}
.entry-tags a:hover { transform: translateY(-2px); }
.author-box {
  display: flex; gap: 18px; align-items: center; margin-top: 40px; padding: 22px 24px;
  border-radius: 20px; background: var(--dd-cream); border: 1px solid rgba(92,59,32,.08);
}
.author-box img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: 0 0 64px; }
.author-box h3 { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: var(--dd-brown); }
.author-box p { margin: 0; font-size: 14px; color: var(--dd-muted); }
.post-nav-dd { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.post-nav-dd a {
  display: block; padding: 18px 20px; border-radius: 16px; background: #fff;
  border: 1px solid var(--dd-line); color: var(--dd-ink); transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s;
}
.post-nav-dd a:hover { transform: translateY(-3px); border-color: var(--dd-gold-light); }
.post-nav-dd small { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--dd-orange); }
.post-nav-dd span { font-weight: 600; font-size: 14.5px; }
.post-nav-dd .next { text-align: right; }
@media (max-width: 575.98px) { .post-nav-dd { grid-template-columns: 1fr; } .single-hero .page-title { font-size: 30px; } }

/* ---------- Sidebar / widgets ---------- */
.sidebar-dd { position: sticky; top: 96px; }
.widget-dd {
  padding: 22px 24px; margin-bottom: 22px; border-radius: 20px; background: #fff;
  border: 1px solid var(--dd-line); box-shadow: var(--dd-shadow);
}
.widget-dd .widget-title, .widget-dd h2, .widget-dd h3 {
  position: relative; margin: 0 0 16px; padding-bottom: 10px;
  font-family: var(--dd-font-body); font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--dd-brown);
}
.widget-dd .widget-title::after, .widget-dd h2::after, .widget-dd h3::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; border-radius: 2px; background: var(--dd-gradient);
}
.widget-dd ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.widget-dd li { font-size: 14px; color: var(--dd-muted); }
.widget-dd li a { color: #3a3a3a; transition: color .3s; }
.widget-dd li a:hover { color: var(--dd-orange); }
.widget-dd .wp-block-latest-posts__post-date { font-size: 12px; color: var(--dd-muted); }
.widget-cta {
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(237,122,42,.18) 0%, rgba(237,122,42,0) 70%),
    linear-gradient(180deg, #3a2314 0%, #2a1a0f 100%);
  color: rgba(255,255,255,.78); border: 0;
}
.widget-cta .widget-title { color: #fff; }
.widget-cta p { margin: 0 0 16px; font-size: 14px; line-height: 1.65; }
.widget-cta .hotline { display: block; margin-bottom: 14px; font-family: var(--dd-font-display); font-size: 26px; color: #F6A64E; }

/* ---------- Form (tìm kiếm, liên hệ, bình luận) ---------- */
.form-dd label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--dd-brown); }
.form-dd input[type="text"], .form-dd input[type="email"], .form-dd input[type="tel"], .form-dd input[type="search"],
.form-dd input[type="url"], .form-dd textarea, .form-dd select {
  width: 100%; padding: 12px 16px; border-radius: 14px; font-size: 14.5px; font-family: inherit; color: var(--dd-ink);
  background: #fff; border: 1px solid var(--dd-line); outline: 0;
  transition: border-color .3s, box-shadow .3s;
}
.form-dd input:focus, .form-dd textarea:focus, .form-dd select:focus { border-color: var(--dd-gold-light); box-shadow: 0 0 0 4px rgba(212,176,122,.22); }
.form-dd textarea { min-height: 140px; resize: vertical; }
.form-dd .field { margin-bottom: 16px; }
.form-dd .btn-cta-s2 { border: 0; cursor: pointer; }
.search-form-dd { position: relative; }
.search-form-dd input[type="search"] { padding-right: 52px; }
.search-form-dd button {
  position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; border: 0; border-radius: 999px;
  color: #fff; background: var(--dd-cta); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.form-notice { padding: 14px 18px; margin-bottom: 20px; border-radius: 14px; font-size: 14px; }
.form-notice.is-ok  { background: #eef7ee; color: #2f6b36; border: 1px solid #cfe6d1; }
.form-notice.is-err { background: #fdeeea; color: #9d3b24; border: 1px solid #f4cfc4; }

/* ---------- Trang liên hệ ---------- */
.contact-card { padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--dd-line); box-shadow: var(--dd-shadow); }
.contact-card h2 { margin: 0 0 6px; font-family: var(--dd-font-display); font-weight: 400; font-size: 28px; }
.contact-card > p { margin: 0 0 22px; font-size: 14.5px; color: var(--dd-muted); }
.contact-info { display: grid; gap: 18px; }
.contact-info .item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .ico {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--dd-brown); background: linear-gradient(135deg, #F7E5D0, #F2D9BC); font-size: 18px;
}
.contact-info small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--dd-muted); margin-bottom: 2px; }
.contact-info a, .contact-info span { font-size: 15px; font-weight: 600; color: var(--dd-ink); }
.contact-info a:hover { color: var(--dd-orange); }
.contact-map { margin-top: 22px; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--dd-cream); }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-hours { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--dd-muted); }
.contact-hours li { display: flex; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px dashed var(--dd-line); }
.contact-hours strong { color: var(--dd-ink); font-weight: 600; }

/* ---------- Dịch vụ ---------- */
.service-card {
  position: relative; height: 100%; display: flex; flex-direction: column; padding: 26px 26px 24px;
  border-radius: 20px; background: #fff; border: 1px solid var(--dd-line); box-shadow: var(--dd-shadow);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease, border-color .4s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: #e4d6c3; box-shadow: 0 26px 60px rgba(92,59,32,.16); }
.service-card .ico {
  width: 52px; height: 52px; margin-bottom: 18px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--dd-brown); background: linear-gradient(135deg, #F7E5D0, #F2D9BC);
}
.service-card .thumb { margin: -26px -26px 18px; aspect-ratio: 16 / 10; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.service-card h3 { margin: 0 0 8px; font-family: var(--dd-font-display); font-weight: 500; font-size: 21px; }
.service-card h3 a { color: var(--dd-ink); }
.service-card h3 a:hover { color: var(--dd-brown); }
.service-card p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--dd-muted); }
.service-card .foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.service-card .price { font-size: 13px; font-weight: 700; color: var(--dd-orange); }

/* Thông số dịch vụ / case study ở trang đơn */
.spec-box { padding: 22px 24px; border-radius: 20px; background: var(--dd-cream); border: 1px solid rgba(92,59,32,.08); }
.spec-box h3 { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--dd-brown); }
.spec-box .case-specs { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.spec-box .case-specs li { display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; font-size: 14px; }
.spec-box .case-specs li i { color: var(--dd-orange); font-size: 16px; grid-row: span 2; }
.spec-box .case-specs .k { font-weight: 700; color: var(--dd-brown); font-size: 12.5px; letter-spacing: .4px; text-transform: uppercase; }
.spec-box .case-specs .v { color: #3a3a3a; line-height: 1.6; }

/* Case study đơn: cặp ảnh trước/sau */
.case-single-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 30px; }
.case-single-pair figure { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--dd-cream); box-shadow: var(--dd-shadow); }
.case-single-pair img { width: 100%; height: 100%; object-fit: cover; }
.case-single-pair .case-tag {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--dd-brown); background: rgba(255,255,255,.92);
}
.case-single-pair figure.is-after .case-tag { color: #fff; background: var(--dd-cta); }
@media (max-width: 575.98px) { .case-single-pair { grid-template-columns: 1fr; } }

/* ---------- Bình luận ---------- */
.comments-dd { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--dd-line); }
.comments-dd .comments-title, .comments-dd .comment-reply-title { margin: 0 0 22px; font-family: var(--dd-font-display); font-weight: 400; font-size: 26px; }
.comment-list { list-style: none; margin: 0 0 30px; padding: 0; }
.comment-list .children { list-style: none; margin: 16px 0 0 0; padding-left: 28px; }
.comment-body { position: relative; padding: 18px 0 18px 62px; border-bottom: 1px solid var(--dd-line); min-height: 84px; }
.comment-body .avatar { position: absolute; left: 0; top: 18px; width: 48px; height: 48px; border-radius: 50%; }
.comment-list .pingback .comment-body, .comment-list .trackback .comment-body { padding-left: 0; }
.comment-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; margin-bottom: 6px; }
.comment-author { display: inline; }
.comment-author .fn { font-weight: 700; color: var(--dd-brown); font-style: normal; font-size: 14.5px; }
.comment-metadata, .comment-metadata a { font-size: 12.5px; color: var(--dd-muted); }
.comment-content { font-size: 14.5px; line-height: 1.7; color: #3a3a3a; }
.comment-content p { margin: 0 0 .5em; }
.comment-content p:last-child { margin: 0; }
.reply a, .comment-edit-link { display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--dd-orange); }
.comment-respond .comment-form { display: grid; gap: 14px; }
.comment-form .comment-form-comment, .comment-form .form-submit, .comment-form-cookies-consent { grid-column: 1 / -1; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--dd-muted); }
.comment-form-cookies-consent label { margin: 0; font-weight: 400; }
.comment-form .submit {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border: 0; border-radius: 999px; cursor: pointer;
  font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #fff; background: var(--dd-cta);
  box-shadow: 0 12px 26px rgba(92,59,32,.32); transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.comment-form .submit:hover { transform: translateY(-2px); }
.comment-notes, .logged-in-as { grid-column: 1 / -1; font-size: 13px; color: var(--dd-muted); margin: 0; }
@media (min-width: 768px) { .comment-respond .comment-form { grid-template-columns: 1fr 1fr; } .comment-form-url { grid-column: 1 / -1; } }

/* ---------- 404 & không có kết quả ---------- */
.empty-state { text-align: center; max-width: 560px; margin: 0 auto; padding: 20px 0 10px; }
.empty-state .big {
  display: block; font-family: var(--dd-font-display); font-size: 120px; line-height: 1; letter-spacing: -4px;
  background: linear-gradient(90deg, #5C3B20 0%, #8C6A3E 35%, #D4B07A 55%, #8C6A3E 75%, #5C3B20 100%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradientShift-s3 6s ease-in-out 1s infinite;
}
.empty-state .sign { display: block; margin: -12px 0 14px; font-family: var(--dd-font-sign); font-size: 30px; color: var(--dd-orange); }
.empty-state h2 { margin: 0 0 12px; font-family: var(--dd-font-display); font-weight: 400; font-size: 32px; }
.empty-state p { margin: 0 0 24px; font-size: 15px; line-height: 1.7; color: var(--dd-muted); }
.empty-state .search-form-dd { max-width: 420px; margin: 0 auto 24px; }
@media (max-width: 575.98px) { .empty-state .big { font-size: 84px; } }

/* ---------- CTA cuối trang trong ---------- */
.inner-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  margin-top: 56px; padding: 26px 30px; border-radius: 22px; color: #fff;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(237,122,42,.22) 0%, rgba(237,122,42,0) 70%),
    linear-gradient(180deg, #3a2314 0%, #2a1a0f 100%);
  box-shadow: 0 24px 60px rgba(42,26,15,.28);
}
.inner-cta h3 { margin: 0 0 4px; font-family: var(--dd-font-display); font-weight: 400; font-size: 26px; color: #fff; }
.inner-cta p { margin: 0; font-size: 14px; color: rgba(255,255,255,.72); }
.inner-cta .btn-cta-s2 { flex-shrink: 0; }

/* ---------- Giảm chuyển động ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
}

/* Mạng xã hội trên nền sáng (trang liên hệ) */
.contact-card .f-socials a { color: var(--dd-brown); background: linear-gradient(135deg, #F7E5D0, #F2D9BC); border-color: transparent; }
.contact-card .f-socials a:hover { color: #fff; }


/* Giữ marquee chứng nhận hoạt động trong chế độ giảm chuyển động. */
@media (prefers-reduced-motion: reduce) {
  .partners .marquee-track {
    animation-duration: 32s !important;
    animation-iteration-count: infinite !important;
  }
}
/* =====================================================
   ABOUT PAGE – /gioi-thieu/
   ===================================================== */
.drd-about-main{padding:0!important;overflow:hidden;background:#fcfaf7}.drd-about{--about-ink:#352318;--about-brown:#6f4a2d;--about-gold:#b88a52;--about-orange:#ed7a2a;--about-cream:#fbf3e8;--about-sand:#f1e5d5;color:var(--about-ink);font-family:inherit}.drd-about *{box-sizing:border-box}.drd-about-shell{width:min(1180px,calc(100% - 40px));margin-inline:auto}.drd-about h1,.drd-about h2,.drd-about h3,.drd-about p{margin-top:0}.drd-about h1,.drd-about h2{font-family:"Cormorant Garamond",Georgia,serif;letter-spacing:-.035em;color:var(--about-ink)}.drd-about h2{font-size:clamp(2.4rem,4.7vw,4.4rem);line-height:.98}.drd-about-eyebrow{display:inline-flex;align-items:center;gap:10px;color:#8b6039;font-size:.76rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.drd-about-eyebrow:before{content:"";width:34px;height:2px;background:var(--about-orange);border-radius:2px}.drd-about-hero{position:relative;isolation:isolate;min-height:760px;display:flex;align-items:center;padding:100px 0 80px;background:radial-gradient(45% 55% at 78% 46%,rgba(243,222,195,.82),rgba(243,222,195,0) 72%),linear-gradient(135deg,#fcfaf7 0%,#f6eee4 55%,#efe2d2 100%)}.drd-about-orb{position:absolute;border-radius:50%;filter:blur(2px);z-index:-1}.drd-about-orb-one{width:320px;height:320px;right:-100px;top:60px;background:rgba(237,122,42,.08)}.drd-about-orb-two{width:230px;height:230px;left:-80px;bottom:40px;background:rgba(184,138,82,.09)}.drd-about-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:center}.drd-about-hero-copy h1{font-size:clamp(3.4rem,6.2vw,6.5rem);line-height:.88;margin:28px 0 28px;max-width:760px}.drd-about-hero-copy h1 em{font-weight:500;color:var(--about-gold)}.drd-about-lead{font-size:1.08rem;line-height:1.8;color:#69594d;max-width:670px}.drd-about-actions{display:flex;flex-wrap:wrap;gap:14px;margin:34px 0}.drd-about-btn{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:54px;padding:0 26px;border-radius:999px;font-weight:800;text-decoration:none!important;transition:.25s ease}.drd-about-btn-primary{background:linear-gradient(120deg,#d9651f,#f39543);color:#fff!important;box-shadow:0 14px 34px rgba(215,101,31,.24)}.drd-about-btn-primary:hover{transform:translateY(-2px);box-shadow:0 18px 40px rgba(215,101,31,.32)}.drd-about-btn-ghost{border:1px solid rgba(111,74,45,.28);color:var(--about-brown)!important;background:rgba(255,255,255,.55)}.drd-about-trust{display:flex;flex-wrap:wrap;gap:8px 24px;padding-top:24px;border-top:1px solid rgba(111,74,45,.14);color:#746254;font-size:.86rem}.drd-about-trust span{display:flex;flex-direction:column}.drd-about-trust b{font-family:"Cormorant Garamond",Georgia,serif;font-size:1.7rem;line-height:1;color:var(--about-brown)}.drd-about-portrait-wrap{position:relative;min-height:560px;display:grid;place-items:center}.drd-about-portrait-ring{position:absolute;width:500px;height:500px;border:1px solid rgba(111,74,45,.28);border-radius:50%}.drd-about-portrait-ring:before,.drd-about-portrait-ring:after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(237,122,42,.22)}.drd-about-portrait-ring:before{inset:20px}.drd-about-portrait-ring:after{inset:55px}.drd-about-portrait-card{position:relative;width:min(430px,92%);height:540px;border-radius:230px 230px 36px 36px;overflow:hidden;background:linear-gradient(160deg,#ead9c4,#f7eee3);box-shadow:0 28px 80px rgba(76,49,27,.18)}.drd-about-portrait-card:after{content:"";position:absolute;inset:auto 0 0;height:34%;background:linear-gradient(transparent,rgba(58,37,21,.12))}.drd-about-portrait-card img{width:100%;height:100%;object-fit:contain;object-position:50% 100%;filter:none}.drd-about-float{position:absolute;z-index:2;display:flex;align-items:center;gap:13px;padding:14px 18px;border:1px solid rgba(255,255,255,.72);background:rgba(255,255,255,.86);backdrop-filter:blur(14px);box-shadow:0 16px 38px rgba(64,42,24,.12)}.drd-about-float-top{top:70px;right:-24px;border-radius:18px}.drd-about-float-top>span{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#f7e7d5;color:var(--about-orange);font-weight:900}.drd-about-float-top div{display:flex;flex-direction:column}.drd-about-float-top small{color:#7c6b5e}.drd-about-float-bottom{left:-24px;bottom:76px;border-radius:18px}.drd-about-float-bottom strong{font:700 2.1rem/1 "Cormorant Garamond",Georgia,serif;color:var(--about-orange)}.drd-about-float-bottom span{font-size:.78rem;font-weight:700;line-height:1.35;color:#6d5b4e}.drd-about-story{padding:120px 0;background:#fff}.drd-about-story-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:90px;align-items:center}.drd-about-quote-card{position:relative;padding:64px 54px;border-radius:32px;background:linear-gradient(145deg,#5e3c24,#8b6039);color:#fff;box-shadow:0 28px 70px rgba(73,46,26,.2)}.drd-about-quote-card:after{content:"";position:absolute;inset:14px;border:1px solid rgba(255,255,255,.18);border-radius:24px}.drd-about-quote-mark{font:700 7rem/.65 Georgia,serif;color:#f0a15a}.drd-about-quote-card blockquote{position:relative;z-index:1;margin:30px 0;font:500 2.2rem/1.15 "Cormorant Garamond",Georgia,serif}.drd-about-quote-card p{position:relative;z-index:1;margin:0;color:#f2d9c3;font-weight:700}.drd-about-story-copy h2{margin:24px 0 28px}.drd-about-story-copy>p{color:#705f52;font-size:1.03rem;line-height:1.85}.drd-about-signature{margin-top:28px;color:var(--about-brown);font:italic 2.4rem/1 "Cormorant Garamond",Georgia,serif}.drd-about-signature small{display:block;margin-left:65px;color:var(--about-gold);font-size:.9rem;letter-spacing:.16em;text-transform:uppercase}.drd-about-numbers{padding:42px 0;background:linear-gradient(100deg,#4c2f1c,#795033 55%,#9b7045);color:#fff}.drd-about-number-grid{display:grid;grid-template-columns:repeat(4,1fr)}.drd-about-number-grid article{padding:20px 34px;border-right:1px solid rgba(255,255,255,.18);text-align:center}.drd-about-number-grid article:last-child{border:0}.drd-about-number-grid strong{display:block;font:700 3.2rem/1 "Cormorant Garamond",Georgia,serif;color:#f7c18e}.drd-about-number-grid span{display:block;margin-top:9px;color:#f5e8dc;font-size:.88rem}.drd-about-values{padding:120px 0;background:linear-gradient(#fcfaf7,#f7efe6)}.drd-about-heading-center{max-width:820px;margin:0 auto 58px;text-align:center}.drd-about-heading-center .drd-about-eyebrow:before{display:none}.drd-about-heading-center h2{margin:22px 0}.drd-about-heading-center>p{color:#776659;font-size:1.04rem;line-height:1.75}.drd-about-value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.drd-about-value-grid article{position:relative;min-height:310px;padding:38px;border:1px solid rgba(111,74,45,.12);border-radius:28px;background:rgba(255,255,255,.76);box-shadow:0 14px 40px rgba(76,49,27,.06);transition:.25s ease}.drd-about-value-grid article:hover{transform:translateY(-7px);box-shadow:0 24px 55px rgba(76,49,27,.11)}.drd-about-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:linear-gradient(145deg,#fae8d5,#f4d0aa);color:var(--about-orange);font-size:1.45rem}.drd-about-index{position:absolute;right:30px;top:30px;color:rgba(111,74,45,.16);font:700 2rem/1 "Cormorant Garamond",Georgia,serif}.drd-about-value-grid h3{margin:36px 0 16px;font:700 1.9rem/1 "Cormorant Garamond",Georgia,serif;color:var(--about-brown)}.drd-about-value-grid p{color:#756458;line-height:1.75}.drd-about-journey{padding:120px 0;background:#fff}.drd-about-journey-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:100px;align-items:start}.drd-about-journey-copy{position:sticky;top:120px}.drd-about-journey-copy h2{margin:24px 0}.drd-about-journey-copy>p{color:#746356;line-height:1.8}.drd-about-text-link{display:inline-flex;gap:10px;margin-top:18px;color:var(--about-orange)!important;font-weight:800;text-decoration:none!important}.drd-about-timeline{position:relative}.drd-about-timeline:before{content:"";position:absolute;left:19px;top:20px;bottom:20px;width:1px;background:linear-gradient(var(--about-orange),rgba(184,138,82,.22))}.drd-about-timeline article{position:relative;display:grid;grid-template-columns:40px 1fr;gap:24px;padding:0 0 42px}.drd-about-timeline article>span{position:relative;z-index:1;width:40px;height:40px;border:9px solid #fff;border-radius:50%;background:var(--about-orange);box-shadow:0 0 0 1px rgba(237,122,42,.35)}.drd-about-timeline b{font:700 1.7rem/1.1 "Cormorant Garamond",Georgia,serif;color:var(--about-brown)}.drd-about-timeline p{margin:8px 0 0;color:#746356;line-height:1.65}.drd-about-credentials{padding:120px 0;background:radial-gradient(45% 40% at 100% 0,rgba(243,222,195,.7),transparent 72%),linear-gradient(#f8f2eb,#eee3d6)}.drd-about-credential-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.drd-about-credential-grid article{display:grid;grid-template-columns:50px 1fr;gap:18px;padding:25px 28px;border:1px solid rgba(111,74,45,.1);border-radius:22px;background:rgba(255,255,255,.72)}.drd-about-credential-grid article>span{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#f7e6d2;color:var(--about-orange);font-weight:900}.drd-about-credential-grid h3{margin:1px 0 7px;font:700 1.35rem/1.1 "Cormorant Garamond",Georgia,serif;color:var(--about-brown)}.drd-about-credential-grid p{margin:0;color:#746356;font-size:.9rem;line-height:1.55}.drd-about-cert-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:50px}.drd-about-cert-gallery a{display:block;aspect-ratio:1.28;overflow:hidden;border:8px solid #fff;border-radius:18px;background:#fff;box-shadow:0 14px 32px rgba(76,49,27,.1)}.drd-about-cert-gallery img{width:100%;height:100%;object-fit:cover;filter:none;transition:.3s ease}.drd-about-cert-gallery a:hover img{transform:scale(1.04)}.drd-about-cta{padding:100px 0;background:linear-gradient(115deg,#4d301d 0%,#765033 58%,#9a6d43 100%);color:#fff}.drd-about-cta-inner{display:grid;grid-template-columns:1.2fr .8fr;gap:90px;align-items:end}.drd-about-cta .drd-about-eyebrow{color:#f3bd86}.drd-about-cta h2{margin:22px 0 0;color:#fff}.drd-about-cta p{color:#f1dfd0;font-size:1.05rem;line-height:1.7}.drd-about-btn-light{margin-top:18px;background:#fff;color:#69452d!important;box-shadow:0 14px 36px rgba(0,0,0,.16)}
@media(max-width:991px){.drd-about-hero{min-height:auto;padding:80px 0}.drd-about-hero-grid,.drd-about-story-grid,.drd-about-journey-grid,.drd-about-cta-inner{grid-template-columns:1fr;gap:60px}.drd-about-hero-copy{text-align:center}.drd-about-eyebrow{justify-content:center}.drd-about-lead{margin-inline:auto}.drd-about-actions,.drd-about-trust{justify-content:center}.drd-about-portrait-wrap{min-height:520px}.drd-about-journey-copy{position:static;text-align:center}.drd-about-value-grid{grid-template-columns:1fr}.drd-about-number-grid{grid-template-columns:repeat(2,1fr)}.drd-about-number-grid article:nth-child(2){border-right:0}.drd-about-number-grid article:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.18)}.drd-about-cta-inner{text-align:center}.drd-about-cta .drd-about-eyebrow{justify-content:center}}@media(max-width:767px){.drd-about-shell{width:min(100% - 28px,1180px)}.drd-about-hero{padding:66px 0}.drd-about-hero-copy h1{font-size:3.25rem}.drd-about-portrait-wrap{min-height:450px}.drd-about-portrait-card{height:430px}.drd-about-portrait-ring{width:390px;height:390px}.drd-about-float-top{right:0;top:35px}.drd-about-float-bottom{left:0;bottom:42px}.drd-about-story,.drd-about-values,.drd-about-journey,.drd-about-credentials{padding:82px 0}.drd-about-quote-card{padding:48px 32px}.drd-about-quote-card blockquote{font-size:1.8rem}.drd-about-number-grid article{padding:18px 10px}.drd-about-number-grid strong{font-size:2.6rem}.drd-about-credential-grid{grid-template-columns:1fr}.drd-about-cert-gallery{grid-template-columns:repeat(2,1fr)}.drd-about-cta{padding:76px 0}}@media(max-width:480px){.drd-about-portrait-wrap{min-height:410px}.drd-about-portrait-card{height:390px;width:96%}.drd-about-portrait-ring{width:330px;height:330px}.drd-about-float{padding:10px 12px}.drd-about-float-top{top:22px}.drd-about-float-bottom{bottom:20px}.drd-about-trust{gap:14px}.drd-about-trust span{width:calc(50% - 8px)}.drd-about-number-grid{grid-template-columns:1fr 1fr}.drd-about-number-grid span{font-size:.76rem}.drd-about-cert-gallery{grid-template-columns:1fr 1fr;gap:10px}.drd-about-value-grid article{padding:30px}}


/* =====================================================
   ABOUT TYPOGRAPHY SYNC – theo chuẩn trang chủ
   ===================================================== */
.drd-about h1,
.drd-about h2{
  font-family:var(--dd-font-display);
  font-weight:400;
  letter-spacing:-.02em;
}
.drd-about-hero-copy h1{
  font-size:clamp(3rem,4.4vw,3.5rem);
  line-height:1.06;
  margin:26px 0 24px;
}
.drd-about h2{
  font-size:clamp(2.5rem,3.8vw,3.25rem);
  line-height:1.1;
}
.drd-about-eyebrow{
  font-size:12.5px;
  line-height:1.5;
  font-weight:500;
  letter-spacing:2.6px;
}
.drd-about-lead{
  font-size:16px;
  line-height:1.75;
}
.drd-about-story-copy>p,
.drd-about-heading-center>p,
.drd-about-journey-copy>p,
.drd-about-cta p{
  font-size:16px;
  line-height:1.75;
}
.drd-about-value-grid p,
.drd-about-timeline p{
  font-size:15.5px;
  line-height:1.7;
}
.drd-about-credential-grid p{
  font-size:14.5px;
  line-height:1.6;
}
.drd-about-value-grid h3{
  font:700 18px/1.35 var(--dd-font-body);
  letter-spacing:0;
}
.drd-about-credential-grid h3{
  font:700 15px/1.4 var(--dd-font-body);
  letter-spacing:0;
}
.drd-about-timeline b{
  font:700 17px/1.4 var(--dd-font-body);
}
.drd-about-quote-card blockquote{
  font:400 32px/1.35 var(--dd-font-display);
}
.drd-about-signature{
  font:600 38px/1 var(--dd-font-sign);
}
.drd-about-trust b,
.drd-about-float-bottom strong,
.drd-about-number-grid strong,
.drd-about-index{
  font-family:var(--dd-font-display);
}
.drd-about-trust b{font-size:27px;font-weight:400}
.drd-about-float-bottom strong{font-size:32px;font-weight:600}
.drd-about-number-grid strong{font-size:48px;font-weight:600}
.drd-about-index{font-size:28px;font-weight:400}
@media(max-width:991px){
  .drd-about-hero-copy h1{font-size:52px}
  .drd-about h2{font-size:46px}
}
@media(max-width:767px){
  .drd-about-hero-copy h1{font-size:44px;line-height:1.08}
  .drd-about h2{font-size:40px;line-height:1.12}
  .drd-about-lead,
  .drd-about-story-copy>p,
  .drd-about-heading-center>p,
  .drd-about-journey-copy>p,
  .drd-about-cta p{font-size:15.5px;line-height:1.7}
  .drd-about-quote-card blockquote{font-size:28px}
}
@media(max-width:480px){
  .drd-about-hero-copy h1{font-size:38px}
  .drd-about h2{font-size:34px}
}

/* =====================================================
   CONTACT PAGE /lien-he
   ===================================================== */
.drd-contact-main {
  padding: 0 !important;
  overflow: hidden;
  background: #fff;
}

.drd-contact {
  --contact-brown: #5c3b20;
  --contact-brown-deep: #3c2515;
  --contact-gold: #8c6a3e;
  --contact-gold-light: #d4b07a;
  --contact-orange: #ed7a2a;
  --contact-cream: #faf3ea;
  --contact-ink: #2b2b2b;
  --contact-muted: #6f665f;
  color: var(--contact-ink);
  font-family: var(--dd-font-sans, "Be Vietnam Pro", sans-serif);
  font-size: 16px;
  line-height: 1.75;
}

.drd-contact *,
.drd-contact *::before,
.drd-contact *::after {
  box-sizing: border-box;
}

.drd-contact a {
  text-decoration: none;
}

.drd-contact-shell {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.drd-contact h1,
.drd-contact h2 {
  margin: 0;
  color: var(--contact-brown-deep);
  font-family: var(--dd-font-serif, "Playfair Display", serif);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.drd-contact h1 {
  max-width: 790px;
  font-size: clamp(46px, 5vw, 56px);
  line-height: 1.12;
}

.drd-contact h2 {
  font-size: clamp(38px, 4.2vw, 48.64px);
  line-height: 1.16;
}

.drd-contact p {
  margin: 0;
}

.drd-contact .breadcrumb-dd {
  margin: 0 0 42px;
}

.drd-contact .breadcrumb-dd,
.drd-contact .breadcrumb-dd a {
  color: rgba(60, 37, 21, 0.62);
}

.drd-contact-eyebrow {
  margin-bottom: 18px !important;
  color: var(--contact-gold);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

.drd-contact-hero {
  position: relative;
  padding: 70px 0 105px;
  background:
    radial-gradient(circle at 86% 12%, rgba(212, 176, 122, 0.24), transparent 32%),
    linear-gradient(135deg, #fff 0%, var(--contact-cream) 54%, #f6eadc 100%);
}

.drd-contact-orb {
  position: absolute;
  border: 1px solid rgba(140, 106, 62, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.drd-contact-orb-one {
  top: -170px;
  right: -160px;
  width: 480px;
  height: 480px;
}

.drd-contact-orb-two {
  bottom: -190px;
  left: -150px;
  width: 360px;
  height: 360px;
}

.drd-contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: center;
}

.drd-contact-lead {
  max-width: 690px;
  margin-top: 26px !important;
  color: var(--contact-muted);
  font-size: 17px;
  line-height: 1.8;
}

.drd-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 34px;
}

.drd-contact-btn {
  display: inline-flex;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.drd-contact-btn:hover {
  transform: translateY(-2px);
}

.drd-contact-btn-primary {
  color: #fff;
  background: var(--contact-orange);
  box-shadow: 0 14px 30px rgba(237, 122, 42, 0.24);
}

.drd-contact-btn-light {
  color: var(--contact-brown);
  background: #fff;
  box-shadow: 0 12px 28px rgba(92, 59, 32, 0.1);
}

.drd-contact-btn-outline {
  color: var(--contact-brown);
  border-color: rgba(92, 59, 32, 0.22);
  background: transparent;
}

.drd-contact-text-link {
  display: inline-flex;
  padding: 10px 4px;
  color: var(--contact-brown);
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.drd-contact-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 30px 0 0;
  padding: 0;
  color: #655b54;
  font-size: 13px;
  list-style: none;
}

.drd-contact-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.drd-contact-trust i {
  color: var(--contact-gold);
}

.drd-contact-summary {
  position: relative;
  padding: 38px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(145deg, var(--contact-brown-deep), #6f4628);
  box-shadow: 0 28px 70px rgba(60, 37, 21, 0.22);
}

.drd-contact-summary::after {
  position: absolute;
  right: -65px;
  bottom: -70px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.drd-contact-summary-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 28px;
  border-radius: 16px;
  color: #fff;
  background: var(--contact-orange);
  place-items: center;
  font-size: 22px;
}

.drd-contact-summary-kicker {
  margin-bottom: 8px !important;
  color: var(--contact-gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.drd-contact-summary h2 {
  margin-bottom: 28px;
  color: #fff;
  font-size: 31px;
  letter-spacing: -0.02em;
}

.drd-contact-summary-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.65;
}

.drd-contact-summary-row i {
  margin-top: 2px;
  color: var(--contact-gold-light);
}

.drd-contact-summary-row a {
  color: #fff;
  font-weight: 700;
}

.drd-contact-hours-mini {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.drd-contact-hours-mini p {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.drd-contact-hours-mini strong {
  color: #fff;
  font-weight: 600;
}

.drd-contact-map {
  margin-top: 40px;
  scroll-margin-top: 120px;
}

.drd-contact-map-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.drd-contact-map-wrap {
  position: relative;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(92, 59, 32, 0.1);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(60, 37, 21, 0.12);
}

.drd-contact-map-wrap iframe {
  display: block;
  width: 100%;
  height: 510px;
  border: 0;
  border-radius: 21px;
}

@media (max-width: 991px) {
  .drd-contact-hero-grid {
    grid-template-columns: 1fr;
  }

  .drd-contact-summary {
    max-width: 650px;
  }
}

@media (max-width: 767px) {
  .drd-contact-shell {
    width: min(100% - 32px, 1180px);
  }

  .drd-contact h1 {
    font-size: 42px;
  }

  .drd-contact h2 {
    font-size: 37px;
  }

  .drd-contact-hero {
    padding: 48px 0 76px;
  }

  .drd-contact .breadcrumb-dd {
    margin-bottom: 30px;
  }

  .drd-contact-lead {
    font-size: 16px;
  }

  .drd-contact-summary {
    padding: 30px 25px;
    border-radius: 24px;
  }

  .drd-contact-map-wrap iframe {
    height: 420px;
  }
}

@media (max-width: 480px) {
  .drd-contact h1 {
    font-size: 37px;
  }

  .drd-contact h2 {
    font-size: 33px;
  }

  .drd-contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .drd-contact-btn,
  .drd-contact-text-link {
    width: 100%;
    justify-content: center;
  }

  .drd-contact-trust {
    align-items: flex-start;
    flex-direction: column;
  }

  .drd-contact-map-wrap iframe {
    height: 360px;
  }
}

/* Medical result notice */
.site-footer .f-medical-note {
  display: inline-block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10.5px;
  font-style: italic;
  line-height: 1.55;
}


/* Case study 1 diagonal tiled watermark */
.ba-gallery-s2 .ba-slide-s2 {
  position: relative;
  overflow: hidden;
}

.ba-gallery-s2 .ba-slide-s2::after {
  position: absolute;
  inset: -24%;
  z-index: 1;
  background-image: url("img/logo.png");
  background-repeat: repeat;
  background-position: center;
  background-size: 118px auto;
  content: "";
  filter: brightness(0) invert(1);
  opacity: 0.085;
  pointer-events: none;
  transform: rotate(-14deg);
  transform-origin: center;
}

.ba-gallery-s2 .ba-label-s2 {
  position: relative;
  z-index: 2;
}
/* Watermark opacity refinement — case study 1 */.ba-gallery-s2 .ba-slide-s2::after { opacity: 0.05; }


/* Diagonal tiled watermark — case studies 2, 3 and 4 */
.ba-gallery-s3 .ba-slide-s3::after,
.cases-more .case-shot::after {
  position: absolute;
  inset: -24%;
  z-index: 1;
  background-image: url("img/logo.png");
  background-repeat: repeat;
  background-position: center;
  background-size: 118px auto;
  content: "";
  filter: brightness(0) invert(1);
  opacity: 0.05;
  pointer-events: none;
  transform: rotate(-14deg);
  transform-origin: center;
}


/* Homepage case studies 3-4: background photos with existing watermark overlay */
.cases-more .case-shot.uses-background {
  aspect-ratio: 385 / 434;
}

.cases-more .case-shot .case-photo {
  display: block;
  width: 100%;
  height: 100%;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
  user-select: none;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .6s ease;
}

.cases-more .case-shot.is-before .case-photo {
  filter: saturate(.85);
}

.cases-more .case-item:hover .case-shot .case-photo {
  transform: scale(1.06);
}

.cases-more .case-item:hover .case-shot.is-before .case-photo {
  filter: saturate(1);
}
