/* =========================================================
   Dr. Yosan Medium Dental Clinic: design system
   Sky-blue + deep navy + gold, elegant & sharp
   ========================================================= */

:root {
  --navy-950: #061224;
  --navy-900: #0a1c33;
  --navy-800: #0e2846;
  --navy-700: #133561;
  --sky-600: #0d8fd6;
  --sky-500: #14a3e8;
  --sky-400: #37b9f5;
  --sky-300: #7cd3fb;
  --sky-100: #e5f6fd;
  --sky-50: #f3fbfe;
  --gold-500: #f0b429;
  --gold-600: #d99a12;
  --gold-100: #fdf1d6;
  --ink: #0b1f3a;
  --muted: #5c6c81;
  --muted-light: #8b9bb0;
  --white: #ffffff;
  --line: #e3edf5;
  --shadow-sm: 0 2px 10px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 31, 58, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, 0.18);
  --shadow-gold: 0 10px 26px rgba(217, 154, 18, 0.35);
  --radius: 18px;
  --radius-sm: 10px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy-950);
}

p { margin: 0; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}

.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
@media (max-width: 780px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 44px 0; }
}

.section-head {
  max-width: 620px;
  margin-bottom: 52px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(217,154,18,.45); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.55);
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-3px); }

.btn-navy {
  background: var(--navy-950);
  color: #fff;
}
.btn-navy:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.btn-sky {
  background: var(--sky-500);
  color: #fff;
  box-shadow: 0 10px 26px rgba(20,163,232,.35);
}
.btn-sky:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20,163,232,.45); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 18px 0;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.site-header.is-scrolled {
  background: rgba(6, 18, 36, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(6,18,36,.25);
  padding: 12px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo-plate {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 5px 12px;
  box-shadow: 0 2px 10px rgba(6,18,36,.2);
  flex-shrink: 0;
}
.brand-logo-plate .brand-logo-img { height: 32px; width: auto; display: block; }
.footer-logo-plate .brand-logo-img { height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text .tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: rgba(255,255,255,.86);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 16px;
  border-radius: 6px;
  transition: background .25s ease, color .25s ease;
}
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,.12); color: #fff; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  padding: 9px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
}
.lang-btn:hover { background: rgba(255,255,255,.2); }
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .2s ease;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.lang-menu a:hover { background: var(--sky-50); color: var(--sky-600); }
.lang-menu a.active { color: var(--sky-600); background: var(--sky-100); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 100px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}
.nav-toggle span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: all .25s ease; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--navy-950);
}
.hero-visual {
  position: relative;
  flex: 1;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 46px), 0 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0;
  filter: saturate(1.08);
  transition: opacity 1.2s ease;
  z-index: 1;
}
.hero-visual.video-mode .hero-bg { opacity: .95; }

.hero-slideshow {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-slideshow .slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.6s ease, transform 6s ease-out;
}
.hero-slideshow .slide.active { opacity: 1; transform: scale(1); }

.hero-scrim {
  position: absolute; inset: 0;
  z-index: 2;
  background:
    linear-gradient(100deg, rgba(4,10,20,.82) 0%, rgba(4,10,20,.58) 42%, rgba(4,10,20,.25) 70%, transparent 100%),
    linear-gradient(0deg, rgba(4,10,20,.6) 0%, transparent 30%, transparent 74%, rgba(4,10,20,.45) 100%);
}

.hero-watermark {
  position: absolute;
  right: -4%;
  bottom: -6%;
  width: min(62%, 780px);
  height: auto;
  z-index: 2;
  opacity: .1;
  filter: brightness(0) invert(1);
  pointer-events: none;
  user-select: none;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  padding-left: max(24px, calc((100vw - var(--container)) / 2));
  padding-right: 24px;
}
.hero-eyebrow { color: var(--gold-500); }
.hero-eyebrow::before { background: var(--sky-500); }
.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6.2vw, 74px);
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 8px 34px rgba(0,0,0,.5);
  margin-bottom: 20px;
}
.hero-title span { display: block; }
.hero-title .accent {
  background: linear-gradient(135deg, var(--gold-500), #ffdd8a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle {
  font-size: 17.5px;
  color: rgba(255,255,255,.9);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 34px;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 780px) {
  .hero-content { padding-top: 70px; }
  .hero-watermark { width: 85%; opacity: .08; }
}

.hero-stats {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  background: rgba(6,15,28,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-stats .container {
  padding-top: 28px;
  padding-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hero-stat { display: flex; align-items: center; gap: 14px; }
.hero-stat .ic {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--sky-300);
}
.hero-stat .tt { color: #fff; font-weight: 700; font-size: 15px; }
.hero-stat .ss { color: rgba(255,255,255,.6); font-size: 13px; }

/* ---------- Services grid: full-bleed art cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 26px;
}
.service-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s cubic-bezier(.22,1,.36,1);
}
.service-card:hover, .service-card:focus-visible { transform: translateY(-8px); box-shadow: var(--shadow-lg); outline: none; }

.service-card .card-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  filter: saturate(1.05);
  transition: transform .9s cubic-bezier(.22,1,.36,1);
}
.service-card:hover .card-bg, .service-card:focus-visible .card-bg { transform: scale(1.16); }

.service-card .card-accent {
  position: absolute;
  top: -50px; right: -50px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,180,41,.6), transparent 70%);
  filter: blur(20px);
  opacity: 0;
  transform: scale(.7);
  transition: opacity .5s ease, transform .5s ease;
  z-index: 1;
  pointer-events: none;
}
.service-card:nth-child(3n+2) .card-accent { background: radial-gradient(circle, rgba(20,163,232,.6), transparent 70%); }
.service-card:nth-child(3n) .card-accent { background: radial-gradient(circle, rgba(124,211,251,.6), transparent 70%); }
.service-card:hover .card-accent, .service-card:focus-visible .card-accent { opacity: .85; transform: scale(1); }

.service-card .card-scrim {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(6,15,28,.92) 0%, rgba(6,15,28,.5) 45%, rgba(6,15,28,.05) 70%, transparent 88%),
    linear-gradient(180deg, rgba(6,15,28,.4) 0%, transparent 24%);
  transition: background .4s ease;
}
.service-card:hover .card-scrim, .service-card:focus-visible .card-scrim {
  background: linear-gradient(0deg, rgba(6,15,28,.95) 0%, rgba(6,15,28,.68) 55%, rgba(6,15,28,.2) 82%, transparent 100%);
}

.service-card .card-num {
  position: absolute; top: 20px; left: 22px;
  z-index: 2;
  display: flex; align-items: center; gap: 9px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .05em;
  color: rgba(255,255,255,.9);
}
.service-card .card-num::before { content: ''; width: 18px; height: 2px; background: var(--gold-500); border-radius: 2px; }

.service-card .card-content {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 22px 22px 24px;
}
.service-card .card-content h3 { color: #fff; font-size: 20px; }
.service-card .card-content p {
  margin-top: 8px;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease;
}
.service-card:hover .card-content p, .service-card:focus-visible .card-content p { opacity: 1; transform: translateY(0); }
.service-card .more {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--gold-500);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease .05s, transform .35s ease .05s;
}
.service-card:hover .more, .service-card:focus-visible .more { opacity: 1; transform: translateY(0); }
.service-card .more svg { transition: transform .25s ease; }
.service-card:hover .more svg { transform: translateX(4px); }

[data-reveal].service-card {
  transform: translateY(32px) scale(.95);
  transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1), box-shadow .5s cubic-bezier(.22,1,.36,1);
}
[data-reveal].service-card.in-view { transform: translateY(0) scale(1); }
[data-reveal].service-card:hover, [data-reveal].service-card.in-view:hover { transform: translateY(-8px) scale(1); }

/* ---------- Why us ---------- */
.why-section { background: var(--navy-950); position: relative; overflow: hidden; }
.why-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 85% 20%, rgba(20,163,232,.25), transparent 60%);
}
.why-section .eyebrow { color: var(--sky-300); }
.why-section .eyebrow::before { background: var(--gold-500); }
.why-section .section-head h2 { color: #fff; }
.why-section .section-head p { color: rgba(255,255,255,.65); }
.why-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.why-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: background .3s ease, transform .3s ease;
}
.why-card:hover { background: rgba(255,255,255,.09); transform: translateY(-6px); }
.why-card .ic {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sky-500), var(--sky-600));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: #fff;
}
.why-card h3 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,.62); font-size: 14.5px; line-height: 1.65; }

/* ---------- Doctor spotlight ---------- */
.doctor-section .container {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.doctor-media { position: relative; }
.doctor-media .frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.doctor-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.doctor-media .badge-float {
  position: absolute;
  bottom: -22px; left: -22px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
  display: flex; align-items: center; gap: 14px;
}
.doctor-media .badge-float .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gold-100);
  color: var(--gold-600);
  display: flex; align-items: center; justify-content: center;
}
.doctor-media .badge-float b { display: block; font-size: 17px; color: var(--navy-950); }
.doctor-media .badge-float span { font-size: 12.5px; color: var(--muted); }

.doctor-copy h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 20px; }
.doctor-copy p { color: var(--muted); font-size: 17px; line-height: 1.75; margin-bottom: 30px; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 200px 200px;
  gap: 18px;
}
.gallery-grid button {
  border-radius: 16px; overflow: hidden; position: relative;
  border: none; padding: 0; margin: 0; cursor: pointer; display: block; width: 100%; height: 100%;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.gallery-grid button:hover img { transform: scale(1.08); }
.gallery-grid button:focus-visible { outline: 2px solid var(--sky-500); outline-offset: 2px; }
.gallery-grid .g1 { grid-column: span 2; grid-row: span 2; }
.gallery-grid .g2 { grid-column: span 2; grid-row: span 1; }
.gallery-grid .g3 { grid-column: span 1; grid-row: span 1; }
.gallery-grid .g4 { grid-column: span 1; grid-row: span 1; }
@media (max-width: 780px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 160px 160px 160px; }
  .gallery-grid .g1 { grid-column: span 2; grid-row: span 1; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  background: linear-gradient(120deg, var(--navy-950), var(--sky-700, #0d4d78) 130%);
  border-radius: 28px;
  padding: 64px 56px;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(50% 90% at 90% 0%, rgba(240,180,41,.22), transparent 60%);
}
.cta-banner * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; font-size: clamp(26px, 4vw, 38px); }
.cta-banner p { color: rgba(255,255,255,.72); margin-top: 14px; font-size: 16.5px; }
.cta-banner .btn { margin-top: 30px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,.65);
  padding-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p { margin-top: 18px; font-size: 14.5px; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 100px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, transform .25s ease;
}
.footer-social a:hover { background: var(--sky-500); transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 14.5px; transition: color .2s ease; }
.footer-col a:hover { color: var(--sky-300); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.footer-contact .ic { color: var(--sky-400); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255,255,255,.6);
}
.footer-legal-links { display: flex; gap: 22px; }
.footer-legal-links a { color: rgba(255,255,255,.6); }
.footer-legal-links a:hover { color: var(--sky-300); }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: var(--navy-950);
  padding: 168px 0 90px;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .38;
  z-index: 0;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(20,163,232,.3), transparent 60%),
    radial-gradient(50% 50% at 10% 100%, rgba(240,180,41,.12), transparent 60%),
    linear-gradient(100deg, rgba(6,18,36,.92) 0%, rgba(6,18,36,.8) 55%, rgba(6,18,36,.62) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--sky-300); }
.page-hero .eyebrow::before { background: var(--gold-500); }
.page-hero h1 { color: #fff; font-size: clamp(34px, 5.5vw, 54px); max-width: 700px; }
.page-hero p { color: rgba(255,255,255,.7); margin-top: 18px; font-size: 17px; max-width: 560px; }
.page-hero-legal { padding: 150px 0 60px; }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 760px; }
.legal-content .legal-intro { font-size: 18px; color: var(--ink); line-height: 1.7; margin-bottom: 8px; }
.legal-content h2 { font-size: 21px; margin-top: 40px; margin-bottom: 12px; color: var(--ink); }
.legal-content p { font-size: 16px; line-height: 1.75; color: var(--muted); }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: rgba(255,255,255,.5); font-size: 13.5px; margin-top: 24px; }
.breadcrumb a { color: rgba(255,255,255,.75); font-weight: 600; }

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-media { position: relative; }
.about-media .stack { position: relative; height: 460px; }
.about-media img {
  position: absolute;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
.about-media .img-a { width: 72%; height: 82%; top: 0; left: 0; z-index: 2; }
.about-media .img-b { width: 55%; height: 55%; bottom: 0; right: 0; z-index: 1; border: 6px solid #fff; }
.about-copy p { color: var(--muted); font-size: 16.5px; line-height: 1.8; margin-bottom: 18px; }
.stat-row { display: flex; gap: 36px; margin-top: 36px; flex-wrap: wrap; }
.stat-row .n { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 34px; color: var(--sky-600); }
.stat-row .l { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.facility-grid .ph {
  border-radius: 18px; overflow: hidden; aspect-ratio: 4/3;
  border: none; padding: 0; margin: 0; cursor: pointer; display: block; width: 100%;
}
.facility-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.facility-grid .ph:hover img { transform: scale(1.07); }
.facility-grid .ph:focus-visible { outline: 2px solid var(--sky-500); outline-offset: 2px; }

/* ---------- Contact page ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 64px;
}
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  text-align: left;
  transition: box-shadow .3s ease, transform .3s ease;
}
.info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.info-card .ic {
  width: 50px; height: 50px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--sky-500), var(--sky-600));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.info-card h4 { font-size: 16px; margin-bottom: 8px; }
.info-card p, .info-card a { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.info-card a.link { color: var(--sky-600); font-weight: 700; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h3 { font-size: 22px; margin-bottom: 26px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy-900); margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
  background: var(--sky-50);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--sky-500);
  box-shadow: 0 0 0 4px rgba(20,163,232,.14);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-status { margin-top: 16px; font-size: 14px; font-weight: 600; padding: 12px 16px; border-radius: 10px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #e8f8ef; color: #1a7f4b; }
.form-status.err { background: #fdeceb; color: #b3261e; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  height: 100%;
  min-height: 460px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; min-height: 460px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 10, 20, .94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
  padding: 80px 90px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-figure { max-width: 100%; max-height: 100%; margin: 0; text-align: center; }
.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 180px);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: scale(.97);
  transition: opacity .2s ease, transform .2s ease;
}
.lightbox.open .lightbox-figure img { opacity: 1; transform: scale(1); }
.lightbox-figure figcaption {
  margin-top: 16px;
  color: rgba(255,255,255,.75);
  font-size: 14.5px;
  font-weight: 600;
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 100px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.22); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-nav[hidden], .lightbox-count[hidden] { display: none; }
.lightbox-count {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .04em;
}
@media (max-width: 640px) {
  .lightbox { padding: 70px 20px; }
  .lightbox-close { top: 16px; right: 16px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-nav { width: 40px; height: 40px; }
}

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .lang-switch { display: none; }
  .header-call-btn { display: none; }
  .nav-toggle { display: flex; }
  .hero-stats .container { grid-template-columns: 1fr; gap: 16px; }
  .doctor-section .container { grid-template-columns: 1fr; gap: 40px; }
  .doctor-media { max-width: 420px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media .stack { height: 380px; margin-bottom: 20px; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .facility-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { padding-bottom: 40px; }
}

@media (max-width: 640px) {
  .cta-banner { padding: 46px 26px; border-radius: 20px; }
  .facility-grid { grid-template-columns: 1fr; }
}

/* ---------- Mobile nav drawer ---------- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--navy-950);
  display: flex;
  flex-direction: column;
  padding: 26px 26px 40px;
  transform: translateX(100%);
  transition: transform .35s ease;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer .drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 50px; }
.mobile-drawer nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-drawer nav a {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-drawer .drawer-footer { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
.mobile-drawer .drawer-lang { display: flex; gap: 10px; }
.mobile-drawer .drawer-lang a {
  flex: 1; text-align: center;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
}
.mobile-drawer .drawer-lang a.active { background: var(--sky-500); }
.drawer-close {
  width: 44px; height: 44px;
  border-radius: 100px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
