/* ═══════════════════════════════════════════════════
   GOOD TOOTH DENTAL CLINIC — Landing Page Styles
   Mint-forward palette inspired by brand rich menu
   ═══════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* ── Primary: Bright mint / teal (from rich menu) ── */
  --mint:      #52BCB6;
  --mint-light:#7DD4CF;
  --mint-pale: #B5E8E4;
  --mint-wash: #E2F6F4;
  --mint-bg:   #F2FBFA;
  --mint-deep: #3EA8A2;
  --mint-dark: #2D8F8A;

  /* ── Accent: Warm coral-peach (complements mint beautifully) ── */
  --coral:     #F28B82;
  --coral-soft:#F5A89F;
  --coral-pale:#FDDDD9;

  /* ── Neutrals ── */
  --white:     #ffffff;
  --off-white: #FAFCFB;
  --gray-50:   #f5f7f6;
  --gray-100:  #e8eceb;
  --gray-200:  #d3d9d8;
  --text:      #2c3e3c;
  --text-mid:  #4a6360;
  --text-light:#6b8683;
  --text-muted:#9cb3b0;
  --charcoal:  var(--text);
  --muted:     var(--text-light);
  --font-display: "Noto Sans Thai", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* ── Radii & shadows ── */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.07);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.09);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: "Noto Sans Thai", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── TYPOGRAPHY ─────────────────────────────── */

h1, h2, h3, h4 { line-height: 1.3; }

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.section-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--mint);
  margin-bottom: 12px;
}

.section-header.center { text-align: center; margin-bottom: 56px; }

.section-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 12px auto 0;
}

/* ─── SCROLL PROGRESS BAR ─────────────────── */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--mint), var(--coral));
  z-index: 1001;
  transition: width 0.1s linear;
}

/* ─── BUTTONS ────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--mint);
  color: var(--white);
  border-color: var(--mint);
}
.btn-primary:hover {
  background: var(--mint-deep);
  border-color: var(--mint-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(82,188,182,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--mint-dark);
  border-color: var(--mint);
}
.btn-outline:hover {
  background: var(--mint);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 22px; font-size: 0.88rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; width: 100%; }


/* ═══════════════════ NAVBAR ═══════════════════ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(82,188,182,0.12);
}

.navbar.menu-open,
.navbar.menu-open.scrolled {
  background: rgba(45,143,138,0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: none;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  z-index: 10;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--mint);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  font-family: "Playfair Display", serif;
}

.logo-img {
  width: clamp(44px, 4vw, 54px);
  height: clamp(44px, 4vw, 54px);
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(82,188,182,0.25);
  transition: transform 0.3s var(--ease);
}
.nav-logo:hover .logo-img {
  transform: scale(1.08) rotate(-5deg);
}

.logo-text strong {
  display: block;
  font-size: clamp(0.92rem, 1.1vw, 1.08rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1.2;
  transition: color 0.3s;
}
.logo-text small {
  font-size: clamp(0.58rem, 0.72vw, 0.7rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.75);
  transition: color 0.3s;
}
.navbar.scrolled .logo-text strong { color: var(--text); }
.navbar.scrolled .logo-text small { color: var(--text-light); }
.navbar.menu-open .logo-text strong { color: var(--white); }
.navbar.menu-open .logo-text small { color: rgba(255,255,255,0.78); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  border-radius: 50px;
  transition: all 0.3s var(--ease);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.15); }
.navbar.scrolled .nav-links a { color: var(--text-mid); }
.navbar.scrolled .nav-links a:hover { color: var(--mint-dark); background: var(--mint-wash); }

.nav-cta {
  background: var(--white) !important;
  color: var(--mint-dark) !important;
  font-weight: 600 !important;
  padding: 8px 24px !important;
}
.nav-cta:hover { background: var(--mint-wash) !important; }
.navbar.scrolled .nav-cta {
  background: var(--mint) !important;
  color: var(--white) !important;
}
.navbar.scrolled .nav-cta:hover { background: var(--mint-deep) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 10;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.navbar.scrolled .nav-toggle span { background: var(--text); }
.navbar.menu-open .nav-toggle span { background: var(--white); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }


/* ═══════════════════ HERO ═══════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
  transition: transform 0.1s linear;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(62, 168, 162, 0.88) 0%,
    rgba(82, 188, 182, 0.72) 45%,
    rgba(45, 143, 138, 0.85) 100%
  );
}

/* Floating shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.shape {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  animation: floatShape 20s ease-in-out infinite;
}
.shape-1 { width: 300px; height: 300px; top: 10%; left: -5%; animation-delay: 0s; }
.shape-2 { width: 200px; height: 200px; top: 60%; right: -3%; animation-delay: -4s; animation-duration: 25s; }
.shape-3 { width: 150px; height: 150px; top: 20%; right: 15%; animation-delay: -8s; border-color: rgba(255,255,255,0.1); }
.shape-4 { width: 100px; height: 100px; bottom: 20%; left: 15%; animation-delay: -12s; animation-duration: 18s; }
.shape-5 { width: 250px; height: 250px; bottom: -5%; left: 40%; animation-delay: -6s; animation-duration: 22s; border-color: rgba(255,255,255,0.08); }

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -30px) rotate(90deg); }
  50% { transform: translate(-20px, 20px) rotate(180deg); }
  75% { transform: translate(15px, -10px) rotate(270deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 800px;
}

/* Hero entrance animation */
.hero-content .hero-logo,
.hero-content .hero-eyebrow,
.hero-content h1,
.hero-content .hero-subtitle,
.hero-content .hero-actions {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.hero-content.hero-animate .hero-logo      { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.hero-content.hero-animate .hero-eyebrow   { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.hero-content.hero-animate h1              { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
.hero-content.hero-animate .hero-subtitle   { opacity: 1; transform: translateY(0); transition-delay: 0.7s; }
.hero-content.hero-animate .hero-actions    { opacity: 1; transform: translateY(0); transition-delay: 0.9s; }

/* Hero logo */
.hero-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  border: 3px solid rgba(255,255,255,0.4);
  animation: heroLogoPulse 3s ease-in-out infinite;
}
@keyframes heroLogoPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
  50% { box-shadow: 0 8px 45px rgba(255,255,255,0.3); }
}

.hero-eyebrow {
  font-family: "Inter", "Noto Sans Thai", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(0.95rem, 1.45vw, 1.15rem);
  font-weight: 700;
  font-style: normal;
  color: var(--white);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 22px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
}
.hero h1 span {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.hero h1 .hero-accent {
  color: #FFE6D5;
  font-family: "Mitr", "Noto Sans Thai", sans-serif;
  font-weight: 500;
  font-style: normal;
  text-shadow: 0 2px 22px rgba(245, 168, 159, 0.32), 0 0 32px rgba(255, 230, 213, 0.18);
  position: relative;
  display: inline-block;
  padding: 0 14px;
}
.hero h1 .hero-accent::after {
  content: '';
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -10px;
  height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'><path d='M4 9 Q 50 1 100 7 T 196 6' stroke='%23F5A89F' stroke-width='2.6' fill='none' stroke-linecap='round' opacity='0.85'/></svg>") no-repeat center / 100% 100%;
  pointer-events: none;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero .btn-primary {
  background: var(--white);
  border-color: var(--white);
  color: var(--mint-dark);
  font-weight: 700;
}
.hero .btn-primary:hover {
  background: var(--mint-wash);
  border-color: var(--mint-wash);
  box-shadow: 0 8px 25px rgba(255,255,255,0.25);
}
.hero .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.hero .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  width: 100%;
  height: 100%;
  background: var(--white);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -100%; }
  100% { top: 100%; }
}


/* ═══════════════════ MARQUEE TICKER ═══════════════════ */

.marquee {
  background: var(--mint);
  color: var(--white);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 0;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track span {
  padding: 0 16px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.marquee-dot {
  color: rgba(255,255,255,0.45) !important;
  font-size: 0.7rem !important;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ═══════════════════ ABOUT ═══════════════════ */

.about {
  padding: 120px 0;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-img-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--off-white);
}
.about-img-accent img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-text h2 { margin-bottom: 24px; }
.about-text p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-100);
}

.stat-item { text-align: center; }
.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--mint);
  line-height: 1.2;
}
.stat-suffix {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--mint-deep);
  margin-left: 2px;
}
.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}


/* ═══════════════════ SERVICES ═══════════════════ */

.services {
  padding: 120px 0;
  background: var(--white);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-100);
  transition: all 0.4s var(--ease);
  will-change: transform;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--mint-pale);
}

.service-icon {
  margin-bottom: 20px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mint-wash);
  border-radius: var(--radius-md);
  color: var(--mint);
  transition: all 0.4s var(--ease);
}
.service-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.75;
  transition: transform 0.4s var(--ease);
}
.service-card:hover .service-icon {
  background: var(--mint);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(82,188,182,0.3);
}
.service-card:hover .service-icon svg {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}


/* ═══════════════════ WAVE DIVIDER ═══════════════════ */
.services::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--off-white);
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 1;
}


/* ═══════════════════ TEAM / DENTISTS ═══════════════════ */

.team {
  padding: 120px 0;
  background:
    radial-gradient(circle at top left, rgba(125, 212, 207, 0.34) 0%, rgba(255,255,255,0) 36%),
    radial-gradient(circle at top right, rgba(255, 198, 126, 0.18) 0%, rgba(255,255,255,0) 32%),
    linear-gradient(180deg, var(--off-white) 0%, var(--mint-bg) 52%, rgba(181, 232, 228, 0.48) 100%);
  position: relative;
  overflow: hidden;
}
.team::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 88px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 1;
}
.team::after {
  content: '';
  position: absolute;
  inset: auto -12% 12% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82, 188, 182, 0.2) 0%, rgba(82,188,182,0) 72%);
  pointer-events: none;
}

.team-shell {
  position: relative;
  z-index: 2;
}

.team .section-eyebrow { color: var(--mint-dark); }
.team .section-header h2 { color: var(--text); }
.team-header {
  margin-bottom: 12px;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.team-header h2 {
  margin: 0;
  max-width: 12ch;
  text-wrap: balance;
  line-height: 1.16;
}

.team-header .section-desc {
  max-width: 760px;
  margin-top: 0;
  text-wrap: pretty;
}

.doctor-branches {
  display: grid;
  gap: 30px;
}

.doctor-branch {
  position: relative;
  padding: 38px clamp(20px, 3vw, 32px) 34px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 0%, rgba(82, 188, 182, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(244,251,250,0.98) 100%);
  border: 1px solid rgba(82, 188, 182, 0.18);
  box-shadow: 0 24px 56px rgba(33, 87, 84, 0.08);
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.doctor-branch::before {
  content: '';
  position: absolute;
  inset: 0 50% auto;
  width: min(168px, 42%);
  height: 6px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint) 0%, var(--mint-deep) 100%);
}

.doctor-branch-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
  text-align: center;
}

.doctor-branch-copy {
  display: grid;
  gap: 8px;
  justify-items: center;
  max-width: 680px;
}

.doctor-branch-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint-dark);
}

.doctor-branch-copy h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: 0;
  color: var(--text);
}

.doctor-branch-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doctor-branch-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 19px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(238,252,249,0.96), rgba(255,255,255,0.88));
  border: 1px solid rgba(82, 188, 182, 0.22);
  color: var(--mint-dark);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(45, 143, 138, 0.08);
}

.doctor-branch-badge svg {
  width: 18px;
  height: 18px;
}

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 28px;
  align-items: stretch;
  padding-top: 28px;
  padding-bottom: 12px;
}

.doctor-card {
  position: relative;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  align-items: stretch;
  gap: 22px;
  padding: 22px 24px 22px 22px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(82, 188, 182, 0.14);
  box-shadow:
    0 2px 6px rgba(33, 87, 84, 0.04),
    0 18px 36px rgba(33, 87, 84, 0.07);
  overflow: visible;
}

.doctor-portrait {
  position: relative;
  align-self: center;
  width: 100%;
  padding-top: 14px;
  padding-bottom: 18px;
}

.doctor-portrait-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background: linear-gradient(155deg, #5cc4be 0%, #3fa89f 100%);
  box-shadow:
    inset 0 -4px 14px rgba(33, 87, 84, 0.10),
    0 8px 18px rgba(33, 87, 84, 0.12);
  overflow: visible;
}

.doctor-photo-mask {
  position: absolute;
  inset: 0;
  clip-path: inset(-40% 0 0 0 round 0 0 20px 20px);
  pointer-events: none;
  z-index: 1;
}

.doctor-photo {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: var(--photo-h, 110%);
  display: block;
  object-fit: cover;
  object-position: 50% 0;
  transform: scale(var(--photo-scale, 1.15)) translate(var(--photo-x, 0%), var(--photo-y, 0%));
  transform-origin: center bottom;
  pointer-events: none;
}

.doctor-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  text-align: center;
  color: #ffffff;
  border-radius: 18px;
}

.doctor-placeholder-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.doctor-placeholder-copy {
  font-size: 0.74rem;
  line-height: 1.45;
  font-weight: 600;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.doctor-specialty-badge {
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% + 32px);
  min-height: 32px;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea7c1d 100%);
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  letter-spacing: 0.01em;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  box-shadow:
    0 6px 14px rgba(234, 124, 29, 0.32),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
  z-index: 3;
}

.doctor-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 8px;
  padding-top: 6px;
}

.doctor-name {
  margin: 0 0 2px 0;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--mint-dark);
  letter-spacing: 0;
}

.doctor-credentials {
  list-style: none;
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
}

.doctor-credentials li {
  position: relative;
  padding-left: 14px;
  color: var(--text-mid);
  font-size: 0.78rem;
  line-height: 1.5;
}

.doctor-credentials li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-mid);
}


/* ═══════════════════ CLINIC GALLERY ═══════════════════ */

.clinic {
  padding: 120px 0;
  background: var(--mint-deep);
  color: var(--white);
  position: relative;
}
.clinic::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--mint-deep);
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 1;
}
.clinic .section-eyebrow { color: var(--mint-pale); }
.clinic h2 { color: var(--white); }
.clinic .section-desc { color: rgba(255,255,255,0.75); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}
.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}
.gallery-caption h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.gallery-caption p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}


/* ═══════════════════ BRANCHES ═══════════════════ */

.branches {
  padding: 120px 0;
  background: var(--off-white);
  position: relative;
}
.branches::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--mint-deep);
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 1;
}

/* Live pulsing dot */
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--mint);
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  position: relative;
}
.live-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--mint);
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.8); }
}

/* ─── Branch Highlights ─────────────────────── */

.branch-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  border: 1px solid var(--gray-100);
  transition: all 0.3s var(--ease);
}
.highlight-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--mint-pale);
}

.highlight-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.highlight-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.4;
}

.highlight-item p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.branches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.branch-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all 0.4s var(--ease);
}
.branch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--mint-pale);
}

.branch-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--mint);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
}

.branch-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.branch-sub {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-100);
}

.branch-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.info-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.info-row p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
}
.info-row a {
  color: var(--mint-dark);
  font-weight: 600;
  transition: color 0.2s;
}
.info-row a:hover { color: var(--mint); }

.branch-actions {
  display: flex;
  gap: 12px;
}


/* ═══════════════════ CONTACT ═══════════════════ */

.contact {
  padding: 120px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 16px;
}
.contact-info > p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.channel {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.channel-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.channel strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.channel a, .channel span {
  font-size: 0.95rem;
  color: var(--text-light);
}
.channel a:hover { color: var(--mint); }

.contact-cta-card {
  background: var(--mint);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  color: var(--white);
  text-align: center;
}
.contact-cta-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.contact-cta-card > p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  font-size: 0.95rem;
}
.contact-cta-card .btn-primary {
  background: var(--white);
  border-color: var(--white);
  color: var(--mint-dark);
  font-weight: 700;
  width: 100%;
  margin-bottom: 12px;
}
.contact-cta-card .btn-primary:hover {
  background: var(--mint-wash);
  border-color: var(--mint-wash);
}
.cta-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.cta-social .btn-outline {
  flex: 1;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  padding: 10px 16px;
}
.cta-social .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}


/* ═══════════════════ FOOTER ═══════════════════ */

.footer {
  background: var(--mint-dark);
  color: rgba(255,255,255,0.8);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand .logo-text strong { color: var(--white); }
.footer-brand .logo-text small { color: rgba(255,255,255,0.6); }
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer-links a {
  display: block;
  font-size: 0.88rem;
  padding: 4px 0;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}


/* ═══════════════════ BACK TO TOP ═══════════════════ */

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(82,188,182,0.35);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease);
  z-index: 999;
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover {
  background: var(--mint-deep);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(82,188,182,0.4);
}
.back-to-top svg { width: 20px; height: 20px; }


/* ═══════════════════ CURSOR GLOW ═══════════════════ */

.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(82,188,182,0.07) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s;
}


/* ═══════════════════ ANIMATIONS ═══════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Directional reveals */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.service-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.service-card.reveal:nth-child(3) { transition-delay: 0.2s; }
.service-card.reveal:nth-child(4) { transition-delay: 0.3s; }
.service-card.reveal:nth-child(5) { transition-delay: 0.4s; }
.service-card.reveal:nth-child(6) { transition-delay: 0.5s; }
.service-card.reveal:nth-child(7) { transition-delay: 0.6s; }
.service-card.reveal:nth-child(8) { transition-delay: 0.7s; }

.team-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.team-card.reveal:nth-child(3) { transition-delay: 0.2s; }
.team-card.reveal:nth-child(4) { transition-delay: 0.3s; }
.team-card.reveal:nth-child(5) { transition-delay: 0.4s; }

.gallery-item.reveal:nth-child(2) { transition-delay: 0.1s; }
.gallery-item.reveal:nth-child(3) { transition-delay: 0.2s; }
.gallery-item.reveal:nth-child(4) { transition-delay: 0.3s; }
.gallery-item.reveal:nth-child(5) { transition-delay: 0.4s; }

.stat-item.reveal:nth-child(2) { transition-delay: 0.15s; }
.stat-item.reveal:nth-child(3) { transition-delay: 0.3s; }

/* ═══════════════════ PROMOTIONS PAGE ═══════════════════ */

.promotions-hero {
  padding: 132px 0 76px;
  background:
    radial-gradient(circle at 18% 18%, rgba(77, 199, 190, 0.16), transparent 32%),
    radial-gradient(circle at 86% 28%, rgba(255, 218, 146, 0.26), transparent 30%),
    linear-gradient(180deg, #f4fffc 0%, #ffffff 100%);
  text-align: center;
}

.pricing-hero-logo {
  width: clamp(112px, 13vw, 178px);
  height: auto;
  margin: 0 auto 22px;
  object-fit: contain;
  filter: drop-shadow(0 16px 30px rgba(62, 168, 162, 0.16));
}

.promotions-hero h1 {
  margin: 12px 0;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5.4vw, 4.6rem);
  line-height: 1.02;
  color: var(--charcoal);
}

.promotions-section {
  padding: 64px 0 110px;
  background: linear-gradient(180deg, #ffffff, #f5fbfa);
}

.promotion-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 34px;
}

.promotion-filter {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid rgba(62, 168, 162, 0.22);
  box-shadow: 0 8px 24px rgba(31, 65, 62, 0.06);
  font-weight: 700;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.promotion-filter:hover,
.promotion-filter.active {
  background: linear-gradient(135deg, var(--mint), var(--mint-dark));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(62, 168, 162, 0.22);
}

.promotion-state {
  max-width: 620px;
  margin: 0 auto 28px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(62, 168, 162, 0.16);
  box-shadow: 0 16px 44px rgba(31, 65, 62, 0.07);
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  color: var(--muted);
}

.promotion-state[hidden] {
  display: none;
}

.promotion-state svg {
  width: 30px;
  height: 30px;
  color: var(--mint-dark);
}

.promotion-state-loading svg {
  animation: spin 1s linear infinite;
}

.promotion-state strong {
  color: var(--charcoal);
  font-size: 1.1rem;
}

.promotions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.promotion-card {
  overflow: hidden;
  border-radius: 32px;
  background: var(--white);
  border: 1px solid rgba(62, 168, 162, 0.12);
  box-shadow: 0 18px 50px rgba(31, 65, 62, 0.08);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.promotion-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(31, 65, 62, 0.13);
}

.promotion-image-button {
  width: 100%;
  display: block;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: linear-gradient(135deg, #effbf9, #ffffff);
  cursor: zoom-in;
}

.promotion-image-button img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  clip-path: inset(3px round 24px 24px 0 0);
  transform: scale(1.014);
  transition: transform 0.45s var(--ease), filter 0.45s var(--ease);
}

.promotion-card:hover .promotion-image-button img {
  transform: scale(1.045);
  filter: saturate(1.03);
}

.promotion-card-body {
  padding: 20px 22px 24px;
}

.promotion-branch {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--mint-wash);
  color: var(--mint-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.promotion-card h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--charcoal);
}

.promotion-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.promotion-lightbox {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.promotion-lightbox[hidden] {
  display: none;
}

.promotion-lightbox img {
  max-width: min(92vw, 820px);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 26px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.promotion-lightbox p {
  margin: 16px 0 0;
  color: var(--white);
  font-weight: 700;
  text-align: center;
}

.promotion-lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--charcoal);
}

.lightbox-open {
  overflow: hidden;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* ═══════════════════ PUBLIC INTEREST FORM ═══════════════════ */

.interest-hero,
.pdpa-hero {
  padding: 132px 0 72px;
  background:
    radial-gradient(circle at 12% 14%, rgba(82, 188, 182, 0.16), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(255, 221, 179, 0.24), transparent 24%),
    linear-gradient(180deg, #f4fffd 0%, #ffffff 100%);
}

.interest-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.interest-hero-copy h1,
.pdpa-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.interest-hero-desc,
.pdpa-hero-desc {
  max-width: 720px;
  font-size: 1.06rem;
  color: var(--text-light);
}

.interest-hero-points {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.interest-point {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(82, 188, 182, 0.14);
  box-shadow: 0 10px 28px rgba(31, 65, 62, 0.05);
  color: var(--text);
  font-weight: 600;
}

.interest-point svg {
  width: 20px;
  height: 20px;
  color: var(--mint-dark);
  flex-shrink: 0;
}

.interest-note-card,
.interest-sidebar-card {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(82, 188, 182, 0.15);
  box-shadow: 0 18px 48px rgba(31, 65, 62, 0.08);
}

.interest-note-card {
  padding: 28px;
}

.interest-note-badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--mint-wash);
  color: var(--mint-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.interest-note-list {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  color: var(--text);
}

.interest-note-list li {
  line-height: 1.75;
}

.interest-note-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-100);
  display: grid;
  gap: 4px;
  color: var(--text-light);
}

.interest-page {
  padding: 0 0 110px;
  background: linear-gradient(180deg, #ffffff 0%, #f5fbfa 100%);
}

.interest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.interest-form-card,
.pdpa-paper {
  background: var(--white);
  border-radius: 30px;
  border: 1px solid rgba(82, 188, 182, 0.12);
  box-shadow: 0 20px 54px rgba(31, 65, 62, 0.08);
}

.interest-form-card {
  padding: 34px;
}

.interest-section-head {
  margin-bottom: 24px;
}

.interest-section-head h2,
.pdpa-paper-head h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  color: var(--charcoal);
  margin-bottom: 6px;
}

.interest-section-head p,
.pdpa-paper-head p {
  color: var(--text-light);
}

.required-mark {
  color: #d96060;
}

.interest-urgent-alert {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  margin-bottom: 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(82, 188, 182, 0.1), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(82, 188, 182, 0.16);
  box-shadow: 0 14px 34px rgba(31, 65, 62, 0.06);
}

.interest-urgent-alert svg {
  width: 20px;
  height: 20px;
  color: var(--mint-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.interest-urgent-alert strong,
.interest-urgent-alert span {
  display: block;
}

.interest-urgent-alert strong {
  color: var(--charcoal);
  margin-bottom: 4px;
}

.interest-urgent-alert span {
  color: var(--text-light);
  line-height: 1.7;
}

.interest-form {
  display: grid;
  gap: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-control {
  display: grid;
  gap: 10px;
}

.form-control-full {
  grid-column: 1 / -1;
}

.form-control > span {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}

.form-control input,
.form-control select,
.form-control textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(82, 188, 182, 0.2);
  background: #fbfffe;
  padding: 14px 16px;
  font: inherit;
  color: var(--charcoal);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.form-control textarea {
  resize: vertical;
  min-height: 124px;
}

.interest-treatment-group {
  margin: 0;
  padding: 0;
  border: none;
}

.interest-treatment-group legend {
  width: 100%;
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}

.interest-treatment-hint {
  margin: 0 0 12px;
  color: var(--text-light);
  font-size: 0.84rem;
}

.interest-treatment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.interest-treatment-option {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fbfffe;
  border: 1px solid rgba(82, 188, 182, 0.18);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
  cursor: pointer;
  overflow: hidden;
}

.interest-treatment-option::before {
  content: '';
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid rgba(62, 168, 162, 0.32);
  background: rgba(255,255,255,0.98);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.interest-treatment-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.interest-treatment-option span {
  width: 100%;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
}

.interest-treatment-option:hover,
.interest-treatment-option:focus-within {
  border-color: rgba(62, 168, 162, 0.45);
  box-shadow: 0 10px 22px rgba(82, 188, 182, 0.12);
  transform: translateY(-1px);
}

.interest-treatment-option.is-active {
  background: linear-gradient(135deg, rgba(82, 188, 182, 0.14), rgba(255, 255, 255, 0.98));
  border-color: rgba(62, 168, 162, 0.52);
  box-shadow: 0 14px 30px rgba(82, 188, 182, 0.14);
}

.interest-treatment-option.is-active::before {
  border-color: rgba(45, 143, 138, 0.95);
  background: linear-gradient(180deg, var(--mint) 0%, var(--mint-deep) 100%);
  box-shadow: 0 6px 14px rgba(45, 143, 138, 0.18);
}

.interest-treatment-option.is-active::after {
  content: '';
  position: absolute;
  left: 25px;
  top: 50%;
  width: 6px;
  height: 11px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-60%) rotate(45deg);
}

.interest-followup-note {
  margin: 0;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px dashed rgba(82, 188, 182, 0.24);
  color: var(--text-light);
  line-height: 1.78;
}

.form-control input:focus,
.form-control select:focus,
.form-control textarea:focus {
  outline: none;
  border-color: rgba(62, 168, 162, 0.55);
  box-shadow: 0 0 0 5px rgba(82, 188, 182, 0.12);
  background: var(--white);
}

.helper-text {
  font-size: 0.82rem;
  color: var(--text-light);
}

.helper-text.is-error {
  color: #c74e4e;
  font-weight: 600;
}

.interest-branch-card {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(82, 188, 182, 0.11), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(82, 188, 182, 0.16);
}

.interest-branch-card strong {
  color: var(--charcoal);
}

.interest-branch-card > span,
.interest-branch-meta span {
  color: var(--text-light);
  font-size: 0.92rem;
}

.interest-branch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 6px;
}

.interest-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 20px;
  background: #f8fcfb;
  border: 1px solid rgba(82, 188, 182, 0.14);
}

.interest-consent input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--mint-dark);
  flex-shrink: 0;
}

.interest-consent span {
  color: var(--text-light);
  line-height: 1.75;
}

.interest-consent a {
  color: var(--mint-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.interest-inline-error {
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff3f2;
  border: 1px solid rgba(217, 96, 96, 0.22);
  color: #b44d4d;
  font-weight: 600;
}

.interest-submit {
  width: 100%;
}

.interest-submit:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none !important;
  box-shadow: none !important;
}

.interest-state {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  padding: 26px;
  border-radius: 22px;
  background: var(--mint-bg);
  border: 1px solid rgba(82, 188, 182, 0.18);
  color: var(--text-light);
}

.interest-state[hidden] {
  display: none;
}

.interest-state svg {
  width: 28px;
  height: 28px;
}

.interest-state-loading svg {
  color: var(--mint-dark);
  animation: spin 1s linear infinite;
}

.interest-state-error {
  background: #fff7f5;
  border-color: rgba(217, 96, 96, 0.18);
}

.interest-state-error svg {
  color: #d96060;
}

.interest-state strong {
  color: var(--charcoal);
}

.interest-success-card {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: 34px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(82, 188, 182, 0.12), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(82, 188, 182, 0.2);
}

.interest-success-card[hidden] {
  display: none;
}

.interest-success-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(82, 188, 182, 0.12);
}

.interest-success-icon svg {
  width: 34px;
  height: 34px;
  color: var(--mint-dark);
}

.interest-success-card p {
  color: var(--text-light);
}

.interest-success-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.interest-success-meta span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(82, 188, 182, 0.12);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.interest-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.interest-sidebar {
  display: grid;
  gap: 22px;
}

.interest-sidebar-card {
  padding: 26px;
}

.interest-sidebar-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--charcoal);
}

.interest-sidebar-card p {
  color: var(--text-light);
}

.interest-contact-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.interest-contact-links a {
  color: var(--mint-dark);
  font-weight: 700;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ═══════════════════ PDPA PAGE ═══════════════════ */

.pdpa-page {
  padding: 0 0 110px;
  background: linear-gradient(180deg, #f4f7f7 0%, #eef5f4 100%);
}

.pdpa-paper {
  padding: 34px;
}

.pdpa-paper-head {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(82, 188, 182, 0.14);
}

.pdpa-paper-body {
  margin: 0;
  white-space: pre-wrap;
  font: inherit;
  font-size: 0.98rem;
  line-height: 1.96;
  color: var(--text);
}


/* ═══════════════════ RESPONSIVE ═══════════════════ */

@media (max-width: 1360px) {
  .doctor-card {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
    padding: 20px 22px 20px 20px;
  }
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .doctor-branch {
    padding: 34px 24px 30px;
    border-radius: 26px;
  }
  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 24px;
  }
  .doctor-card {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
    padding: 22px 26px 22px 22px;
    border-radius: 22px;
  }
  .doctor-info {
    gap: 10px;
  }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.large { grid-column: span 2; grid-row: span 1; }
  .branch-highlights { grid-template-columns: repeat(2, 1fr); }
  .promotions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .interest-hero-grid,
  .interest-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; z-index: 10001; }
  .nav-links {
    position: fixed;
    top: var(--mobile-nav-offset, 84px);
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100dvh - var(--mobile-nav-offset, 84px));
    background: linear-gradient(180deg, rgba(62,168,162,0.985) 0%, rgba(45,143,138,0.965) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 14px;
    padding: 20px 24px calc(32px + env(safe-area-inset-bottom));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-10px);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s var(--ease);
    z-index: 10000;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
  }
  .nav-links li {
    width: min(100%, 320px);
    list-style: none;
  }
  .nav-links a { 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: var(--white) !important; 
    font-size: 1.1rem !important; 
    font-weight: 600 !important;
    line-height: 1.35;
    padding: 12px 24px !important;
    background: rgba(255,255,255,0.12) !important;
    border-radius: 50px !important;
    min-width: 0;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07);
  }
  .nav-links a:hover {
    background: rgba(255,255,255,0.2) !important;
  }
  .nav-toggle.active span { background: var(--white) !important; }
  .services::before, .team::before, .clinic::before, .branches::before { height: 40px; }
  .cursor-glow { display: none; }
  /* Show floating shapes on mobile but smaller */
  .hero-shapes { display: block; }
  .shape-1 { width: 120px; height: 120px; top: 5%; left: -8%; }
  .shape-2 { width: 80px; height: 80px; top: 55%; right: -5%; }
  .shape-3 { width: 60px; height: 60px; top: 15%; right: 5%; }
  .shape-4 { width: 50px; height: 50px; bottom: 15%; left: 8%; }
  .shape-5 { width: 100px; height: 100px; bottom: -3%; left: 30%; }

  .hero h1 { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-img-accent {
    position: relative;
    bottom: auto; right: auto;
    width: 70%;
    margin-top: -40px;
    margin-left: auto;
  }
  .about-stats { gap: 24px; }

  .services-grid { grid-template-columns: 1fr; }
  .team { padding: 96px 0; }
  .team-header h2 {
    font-size: clamp(1.9rem, 7vw, 2.4rem);
    max-width: 10ch;
  }
  .team-header .section-desc {
    font-size: 0.98rem;
    max-width: 31rem;
  }
  .doctor-branches { gap: 24px; }
  .doctor-branch {
    padding: 28px 18px 24px;
    border-radius: 24px;
  }
  .doctor-branch-head {
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
  }
  .doctor-branch-meta {
    justify-content: center;
  }
  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 22px;
  }
  .doctor-card {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 18px;
    padding: 18px 20px 18px 18px;
    border-radius: 18px;
  }
  .doctor-portrait {
    padding-top: 10px;
    padding-bottom: 16px;
  }
  .doctor-portrait-frame {
    border-radius: 18px;
  }
  .doctor-photo-mask {
    clip-path: inset(-40% 0 0 0 round 0 0 18px 18px);
  }
  .doctor-info {
    gap: 7px;
  }
  .doctor-specialty-badge {
    font-size: 0.6rem;
    padding: 5px 14px;
    bottom: -14px;
    min-height: 28px;
    width: calc(100% + 24px);
  }
  .doctor-name {
    font-size: 0.95rem;
  }
  .doctor-credentials li {
    font-size: 0.74rem;
    line-height: 1.5;
    padding-left: 13px;
  }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: span 1; }

  .branches-grid { grid-template-columns: 1fr; }
  .branch-highlights { grid-template-columns: 1fr; }
  .branch-card { padding: 32px 24px; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .cta-social { flex-direction: column; }
  .promotions-hero { padding: 112px 0 54px; }
  .pricing-hero-logo {
    width: clamp(96px, 29vw, 128px);
    margin-bottom: 18px;
  }
  .promotions-hero h1 {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  .promotions-grid { grid-template-columns: 1fr; gap: 18px; }
  .promotion-card { border-radius: 26px; }
  .promotion-image-button img {
    clip-path: inset(2px round 20px 20px 0 0);
  }
  .interest-hero,
  .pdpa-hero {
    padding: 112px 0 56px;
  }
  .interest-form-card,
  .pdpa-paper,
  .interest-note-card,
  .interest-sidebar-card {
    padding: 26px;
    border-radius: 24px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .interest-success-actions,
  .pdpa-paper-head {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .nav-container { padding: 0 18px; }
  .nav-logo { gap: 9px; }
  .logo-img {
    width: 42px;
    height: 42px;
  }
  .logo-text strong {
    font-size: 0.86rem;
    letter-spacing: 0.045em;
  }
  .logo-text small {
    font-size: 0.54rem;
    letter-spacing: 0.15em;
  }
  .promotions-hero { padding-top: 104px; }
  .promotions-hero .container { padding: 0 20px; }
  .promotions-hero h1 { font-size: 2.25rem; }
  .interest-hero .container,
  .pdpa-hero .container,
  .interest-page .container,
  .pdpa-page .container {
    padding: 0 18px;
  }
  .interest-hero-copy h1,
  .pdpa-hero h1 {
    font-size: 2rem;
  }
  .interest-success-card,
  .interest-form-card,
  .pdpa-paper {
    padding: 22px;
  }
  .interest-consent {
    padding: 16px;
  }
  .pdpa-paper-body {
    font-size: 0.94rem;
    line-height: 1.9;
  }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; }
  .about-stats {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: stretch;
    justify-content: center;
  }
  .stat-item {
    flex: 1;
    text-align: center;
    background: var(--mint-wash);
    border-radius: var(--radius-md);
    padding: 20px 8px;
    border: 1px solid var(--mint-pale);
  }
  .stat-number { font-size: 1.6rem; }
  .stat-suffix { font-size: 1.1rem; }
  .stat-label { font-size: 0.75rem; }
  .branch-actions { flex-direction: column; }
  .branch-actions .btn { width: 100%; }
  .doctor-card {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 16px 14px 14px;
    border-radius: 16px;
  }
  .doctor-portrait {
    padding-top: 8px;
    padding-bottom: 14px;
  }
  .doctor-portrait-frame {
    border-radius: 16px;
  }
  .doctor-photo-mask {
    clip-path: inset(-40% 0 0 0 round 0 0 16px 16px);
  }
  .doctor-info {
    gap: 6px;
    padding-top: 4px;
  }
  .doctor-name {
    font-size: 0.9rem;
    line-height: 1.3;
  }
  .doctor-credentials li {
    font-size: 0.7rem;
    padding-left: 12px;
    line-height: 1.5;
  }
  .doctor-credentials li::before {
    width: 4px;
    height: 4px;
  }
  .doctor-specialty-badge {
    font-size: 0.56rem;
    padding: 4px 10px;
    bottom: -12px;
    min-height: 24px;
    width: calc(100% + 16px);
  }
  .doctor-placeholder-mark {
    width: 44px;
    height: 44px;
    font-size: 0.85rem;
  }
  .doctor-placeholder-copy {
    font-size: 0.66rem;
  }
  .doctor-branch {
    padding: 24px 14px 22px;
    border-radius: 22px;
  }
  .team-header {
    gap: 8px;
  }
  .team-header h2 {
    font-size: 1.78rem;
    max-width: 100%;
    line-height: 1.18;
  }
  .team-header .section-desc {
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 100%;
  }
  .doctor-branch-copy h3 {
    font-size: 1.3rem;
  }
  .doctor-branch-badge {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
  .doctor-grid {
    gap: 24px;
  }
  .interest-treatment-option {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 16px;
    min-height: 58px;
  }
  .interest-treatment-option::before {
    width: 20px;
    height: 20px;
  }
  .interest-treatment-option.is-active::after {
    left: 22px;
  }
}


/* ═══════════════════ ABOUT — TEAM PHOTO BLOCK ═══════════════════ */

.about-team-block {
  margin-top: 80px;
  display: flex;
  justify-content: center;
}

.about-team-photo {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 1080px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--mint-pale);
  box-shadow: 0 30px 80px rgba(45, 143, 138, 0.16), 0 12px 30px rgba(31, 65, 62, 0.08);
}

.about-team-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease);
}

.about-team-photo:hover img {
  transform: scale(1.02);
}

.about-team-photo figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 32px 24px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(45, 143, 138, 0.55) 55%, rgba(45, 143, 138, 0.85) 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

.about-team-eyebrow {
  font-family: "Inter", "Noto Sans Thai", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.about-team-photo figcaption strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--white);
  line-height: 1.3;
}

.about-team-photo figcaption > span:last-child {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .about-team-block { margin-top: 56px; }
  .about-team-photo { border-radius: 24px; }
  .about-team-photo img { aspect-ratio: 4 / 3; }
  .about-team-photo figcaption {
    padding: 22px 20px 18px;
  }
  .about-team-photo figcaption strong { font-size: 1.15rem; }
  .about-team-photo figcaption > span:last-child { font-size: 0.86rem; }
}


/* ═══════════════════ SERVICES v2 ═══════════════════ */

.section-tagline {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-style: italic;
  font-weight: 400;
  color: var(--mint-deep);
  margin-top: 14px;
  letter-spacing: 0.005em;
}

/* Override services-grid to 3 cols and reset old service-card */
.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, var(--white) 0%, #FBFEFE 100%);
  border: 1px solid var(--mint-pale);
  box-shadow: 0 6px 24px rgba(31, 65, 62, 0.05);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(45, 143, 138, 0.16);
  border-color: var(--mint-light);
}

.service-card-wide {
  grid-column: span 2;
  background: linear-gradient(180deg, var(--mint-bg) 0%, var(--white) 60%);
}

.service-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.service-card .service-icon {
  margin-bottom: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--mint-wash);
  color: var(--mint-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}

.service-card .service-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.85;
}

.service-card:hover .service-icon {
  background: var(--mint);
  color: var(--white);
  transform: rotate(-4deg) scale(1.05);
}

.service-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.service-card h3 {
  font-family: "Noto Sans Thai", "Inter", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.005em;
  line-height: 1.35;
  margin: 0;
}

.service-en {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.88rem;
  font-style: italic;
  font-weight: 400;
  color: var(--mint-deep);
  margin: 0;
  letter-spacing: 0.01em;
}

.service-desc {
  font-size: 0.94rem;
  color: var(--text-mid);
  line-height: 1.78;
  margin: 0;
}

/* Expandable details for long-form services */
.service-more {
  margin-top: 6px;
  border-top: 1px dashed var(--mint-pale);
  padding-top: 14px;
}

.service-more > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--mint-pale);
  color: var(--mint-deep);
  font-weight: 700;
  font-size: 0.88rem;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.service-more > summary::-webkit-details-marker { display: none; }

.service-more > summary:hover {
  background: var(--mint-wash);
  color: var(--mint-dark);
  border-color: var(--mint-light);
}

.service-more > summary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}

.service-more[open] > summary svg {
  transform: rotate(180deg);
}

.service-details {
  margin-top: 18px;
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--mint-pale);
  display: grid;
  gap: 22px;
  animation: serviceFadeIn 0.35s var(--ease);
}

@keyframes serviceFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.service-detail-block h4 {
  font-family: "Noto Sans Thai", "Inter", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--mint-dark);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.005em;
}

.service-detail-block h4::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--mint);
  flex-shrink: 0;
}

.service-detail-block ul,
.service-detail-block ol {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 7px;
}

.service-detail-block li {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.service-detail-block ul li::marker {
  color: var(--mint);
}

.service-detail-block ol li::marker {
  color: var(--mint-dark);
  font-weight: 700;
}

.service-option {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--mint-bg);
  border: 1px solid var(--mint-pale);
}

.service-option:first-of-type {
  margin-top: 8px;
}

.service-option-title {
  font-weight: 700;
  color: var(--mint-dark);
  font-size: 0.95rem;
  margin: 0 0 8px;
}

.service-option ul {
  padding-left: 20px;
  margin: 0;
  display: grid;
  gap: 5px;
}

.service-option li {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* Responsive — services */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card-wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card { padding: 26px 22px; }
  .service-card-wide { grid-column: span 1; }
  .service-card .service-icon { width: 50px; height: 50px; }
  .service-card .service-icon svg { width: 24px; height: 24px; }
  .service-card h3 { font-size: 1.1rem; }
  .service-en { font-size: 0.82rem; }
  .service-desc { font-size: 0.92rem; line-height: 1.75; }
  .service-details { padding: 18px 16px; }
  .service-detail-block li { font-size: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .service-details { animation: none; }
  .service-more > summary svg,
  .service-card,
  .service-card .service-icon { transition: none; }
}
