/* =========================================================
   Pattath Dental Clinic
   Design system tokens
   Brand palette derived from the clinic logo: royal blue + red,
   set against a clean white base. Blue carries structure &
   trust (nav, headings, icons, section tints); red is reserved
   for primary call-to-action moments (buttons, highlights) —
   the same combination as the wings-and-tooth logo mark.
   ========================================================= */
:root{
  --navy: #0B2A57;
  --navy-deep: #071B3D;
  --blue: #145CC6;
  --blue-deep: #0D3E85;
  --red: #F71143;
  --red-deep: #C40E36;
  --tint: #EEF4FC;
  --tint-deep: #E1EBFA;
  --paper: #ffffff;
  --ink: #0E2039;
  --muted: #5c6b78;
  --line: #e3e6ec;
  --shadow-sm: 0 2px 10px rgba(11,42,87,.07);
  --shadow-md: 0 12px 32px rgba(11,42,87,.12);
  --shadow-lg: 0 24px 60px rgba(11,42,87,.18);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1180px;
  --ease: cubic-bezier(.22,1,.36,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3{ font-family: var(--font-display); font-weight: 500; margin: 0; color: var(--navy); line-height: 1.12; }
p{ margin: 0; color: var(--muted); line-height: 1.65; }
button{ font-family: inherit; cursor: pointer; }
.icon{ width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

.section-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.section-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-deep);
  font-weight: 700;
  margin-bottom: 16px;
}
.section-eyebrow::before{
  content: "";
  width: 22px; height: 3px; border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  flex-shrink: 0;
}
.section-head{ max-width: 620px; margin-bottom: 56px; }
.section-head h2{ font-size: clamp(1.7rem, 3vw, 2.4rem); }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  white-space: nowrap;
}
.btn-primary{
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(247,17,67,.32);
}
.btn-primary:hover{ background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(247,17,67,.4); }
.btn-outline{
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-outline:hover{ border-color: var(--navy); transform: translateY(-2px); }
.btn-outline-light{
  background: var(--paper);
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-outline-light:hover{ border-color: var(--blue); transform: translateY(-2px); }

.hero-actions{ display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 400;
  padding: 20px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.navbar.scrolled{
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(11,42,87,.06);
}
.nav-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand{ display: flex; align-items: center; gap: 10px; }
.brand-mark{ height: 38px; width: auto; flex-shrink: 0; }
.brand-text{ font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); font-weight: 500; }
.brand-text em{ font-style: normal; color: var(--blue-deep); }

.nav-links{ display: flex; align-items: center; gap: 34px; }
.nav-link{ font-size: .93rem; font-weight: 600; color: var(--navy); position: relative; }
.nav-link::after{
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--blue); transition: width .3s var(--ease);
}
.nav-link:hover::after{ width: 100%; }
.nav-cta{
  background: var(--red); color: #fff; padding: 10px 20px; border-radius: 999px;
  font-size: .88rem; font-weight: 700; transition: background .3s var(--ease), transform .3s var(--ease);
}
.nav-cta:hover{ background: var(--red-deep); transform: translateY(-2px); }

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; padding: 6px;
}
.nav-toggle span{ width: 24px; height: 2px; background: var(--navy); transition: transform .3s var(--ease), opacity .3s var(--ease); }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position: relative;
  padding: 168px 0 110px;
  overflow: hidden;
}
.hero-bg{
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(20,92,198,.14), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(11,42,87,.06), transparent 60%);
  z-index: -1;
}
.hero-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue-deep); font-weight: 700; margin-bottom: 20px;
}
.eyebrow::before{
  content: "";
  width: 22px; height: 3px; border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  flex-shrink: 0;
}
.hero h1{
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  letter-spacing: -.015em;
}
.grad-text{
  background: linear-gradient(120deg, var(--blue) 15%, var(--red) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub{
  margin-top: 22px;
  font-size: 1.08rem;
  max-width: 480px;
}

.hero-visual{ position: relative; }
.hero-image-frame{
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.hero-image-frame img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hero-image-frame:hover img{ transform: scale(1.04); }

.floating-card{
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 20px 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  animation: float 5s ease-in-out infinite;
}
.floating-card::before{
  content: "";
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(247,17,67,.15);
}
.card-two::before{ background: var(--blue); box-shadow: 0 0 0 4px rgba(20,92,198,.15); }
.floating-card > div{ display: flex; flex-direction: column; }
.fc-title{ font-weight: 800; font-size: .88rem; color: var(--navy); }
.fc-sub{ font-size: .78rem; color: var(--muted); margin-top: 2px; }
.card-one{ top: 8%; left: -8%; }
.card-two{ bottom: 8%; right: -6%; animation-delay: 1.4s; }

@keyframes float{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

.scroll-cue{
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(11,42,87,.25); border-radius: 999px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue span{
  width: 4px; height: 8px; border-radius: 999px; background: var(--blue);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue{
  0%{ opacity: 1; transform: translateY(0); }
  100%{ opacity: 0; transform: translateY(14px); }
}

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust-strip{
  background: var(--tint);
  border-top: 1px solid var(--tint-deep);
  border-bottom: 1px solid var(--tint-deep);
  padding: 26px 0;
}
.trust-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.trust-item{
  display: flex; align-items: center; gap: 12px;
  color: var(--navy); font-size: .92rem; font-weight: 600;
  flex: 1 1 200px;
}
.trust-item .icon{ fill: var(--blue); width: 22px; height: 22px; opacity: .95; }

/* =========================================================
   ABOUT
   ========================================================= */
.about{ position: relative; overflow: hidden; padding: 110px 0; }
.about::before{
  content: "";
  position: absolute; z-index: -1;
  width: 480px; height: 480px; border-radius: 50%;
  top: -200px; right: -180px;
  background: radial-gradient(circle, rgba(20,92,198,.08), transparent 70%);
}
.about-grid{
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.about-image-frame{
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
}
.about-image-frame img{ width: 100%; height: 100%; object-fit: cover; }
.about-copy h2{ font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 20px; }
.about-copy p{ margin-bottom: 14px; max-width: 520px; }
.about-points{ margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.about-points li{
  position: relative; padding-left: 26px; font-weight: 600; color: var(--navy); font-size: .95rem;
}
.about-points li::before{
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px;
  border-radius: 50%; background: rgba(20,92,198,.15); border: 2px solid var(--blue);
}

/* =========================================================
   SERVICES (treatments accordion)
   ========================================================= */
.services{ position: relative; overflow: hidden; padding: 100px 0; background: var(--paper); }
.services::before{
  content: "";
  position: absolute; z-index: 0;
  width: 520px; height: 520px; border-radius: 50%;
  bottom: -260px; left: -220px;
  background: radial-gradient(circle, rgba(247,17,67,.05), transparent 70%);
}
.services .section-inner{ position: relative; z-index: 1; }
.section-sub{ margin-top: 14px; font-size: 1rem; max-width: 580px; }

.service-categories{ display: flex; flex-direction: column; gap: 16px; }

.service-cat{
  background: var(--tint);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  overflow: hidden;
  transition: border-color .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
.service-cat.open{ background: var(--paper); border-color: rgba(20,92,198,.18); box-shadow: var(--shadow-sm); }

.service-cat-head{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
}
.sc-icon{
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(20,92,198,.12);
  display: flex; align-items: center; justify-content: center;
  transition: background .35s var(--ease);
}
.sc-icon svg{ width: 24px; height: 24px; fill: none; stroke: var(--blue-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-cat.open .sc-icon{ background: var(--blue); }
.service-cat.open .sc-icon svg{ stroke: #fff; }
.sc-head-text{ flex: 1; }
.sc-head-text h3{ font-size: 1.12rem; margin-bottom: 4px; }
.sc-tagline{ font-size: .86rem; color: var(--muted); font-style: italic; margin: 0; }
.sc-chevron{
  width: 22px; height: 22px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  transition: transform .4s var(--ease), color .35s var(--ease);
}
.sc-chevron svg{ width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-cat.open .sc-chevron{ transform: rotate(180deg); color: var(--red); }

.service-cat-body{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.service-cat.open .service-cat-body{ grid-template-rows: 1fr; }
.service-cat-body-inner{ overflow: hidden; }

.service-list{
  padding: 4px 26px 26px 92px;
  display: flex; flex-direction: column; gap: 16px;
}
.service-list h4{ font-family: var(--font-body); font-size: .98rem; font-weight: 800; color: var(--navy); margin: 0 0 4px; }
.service-list p{ font-size: .9rem; margin: 0; }

/* =========================================================
   DOCTORS
   ========================================================= */
.doctors{ position: relative; overflow: hidden; padding: 110px 0; }
.doctors::before{
  content: "";
  position: absolute; z-index: -1;
  width: 460px; height: 460px; border-radius: 50%;
  top: -180px; right: -160px;
  background: radial-gradient(circle, rgba(20,92,198,.07), transparent 70%);
}
.doctors-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.doctor-card{
  position: relative;
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.doctor-card::before{
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 2;
  background: linear-gradient(90deg, var(--blue), var(--red));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.doctor-card:hover::before{ transform: scaleX(1); }
.doctor-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(20,92,198,.2); }
.doctor-photo{ aspect-ratio: 1/1; overflow: hidden; background: var(--tint); }
.doctor-photo img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.doctor-card:hover .doctor-photo img{ transform: scale(1.06); }
.doctor-info{ padding: 26px 28px 30px; }
.doctor-info h3{ font-size: 1.3rem; margin-bottom: 6px; }
.doctor-qual{ display: block; font-size: .82rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.doctor-role{ display: block; color: var(--blue-deep); font-weight: 700; font-size: .95rem; margin-bottom: 14px; }
.doctor-exp{
  display: inline-block;
  background: rgba(247,17,67,.1);
  color: var(--red-deep);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .03em;
  padding: 6px 14px;
  border-radius: 999px;
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery{ position: relative; overflow: hidden; padding: 110px 0; background: var(--paper); }
.gallery::before{
  content: "";
  position: absolute; z-index: 0;
  width: 480px; height: 480px; border-radius: 50%;
  bottom: -220px; left: -180px;
  background: radial-gradient(circle, rgba(247,17,67,.06), transparent 70%);
}
.gallery .section-inner{ position: relative; z-index: 1; }
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.gallery-item{
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--tint);
  padding: 0;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.gallery-item img{ width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.gallery-item:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gallery-item:hover img{ transform: scale(1.07); }
.gallery-zoom{
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(11,42,87,.55); backdrop-filter: blur(4px);
  opacity: 0; transform: scale(.8);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.gallery-zoom svg{ width: 16px; height: 16px; fill: #fff; }
.gallery-item:hover .gallery-zoom{ opacity: 1; transform: scale(1); }

.lightbox{
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  background: rgba(7,27,61,.92);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.lightbox.open{ opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.lightbox img{
  max-width: 100%; max-height: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transform: scale(.94);
  transition: transform .35s var(--ease);
}
.lightbox.open img{ transform: scale(1); }
.lightbox-close{
  position: absolute; top: 22px; right: 26px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
  font-size: 1.6rem; line-height: 1; border: 1px solid rgba(255,255,255,.25);
  cursor: pointer; transition: background .25s var(--ease), transform .25s var(--ease);
}
.lightbox-close:hover{ background: rgba(255,255,255,.22); transform: rotate(90deg); }

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews{ position: relative; overflow: hidden; padding: 110px 0; background: var(--paper); }
.reviews::before{
  content: "";
  position: absolute; z-index: 0;
  width: 500px; height: 500px; border-radius: 50%;
  top: -220px; right: -160px;
  background: radial-gradient(circle, rgba(11,42,87,.06), transparent 70%);
}
.reviews .section-inner{ position: relative; z-index: 1; }

.rating-banner{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 22px 28px;
  margin-bottom: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--tint);
}
.rating-score{ font-family: var(--font-display); font-size: 2rem; font-weight: 500; color: var(--navy); }
.rating-stars{ display: inline-flex; gap: 2px; }
.rating-stars svg{ width: 20px; height: 20px; fill: #F5A623; }
.rating-meta{ font-size: .92rem; color: var(--muted); font-weight: 600; }
.rating-link{ margin-left: auto; font-size: .88rem; font-weight: 700; color: var(--blue-deep); white-space: nowrap; }
.rating-link:hover{ text-decoration: underline; }

.reviews-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card{
  position: relative;
  padding: 30px 26px 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.review-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.review-quote-icon{ width: 26px; height: 26px; fill: rgba(20,92,198,.18); margin-bottom: 10px; }
.review-text{ font-size: .92rem; line-height: 1.6; margin: 0 0 18px; color: var(--ink); }
.review-author{ display: flex; flex-direction: column; gap: 2px; }
.review-name{ font-weight: 800; color: var(--navy); font-size: .92rem; }
.review-tag{ font-size: .78rem; color: var(--muted); }

/* =========================================================
   WHY CHOOSE
   ========================================================= */
.why{ position: relative; overflow: hidden; padding: 100px 0; background: var(--paper); }
.why::before{
  content: "";
  position: absolute; z-index: 0;
  width: 520px; height: 520px; border-radius: 50%;
  top: -240px; left: 40%;
  background: radial-gradient(circle, rgba(20,92,198,.06), transparent 70%);
}
.why .section-inner{ position: relative; z-index: 1; }
.why-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.why-card{
  position: relative;
  overflow: hidden;
  padding: 30px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}
.why-card::before{
  content: "";
  position: absolute; top: 0; bottom: 0; left: 0; width: 3px;
  background: linear-gradient(180deg, var(--blue), var(--red));
  transform: scaleY(0); transform-origin: top;
  transition: transform .4s var(--ease);
}
.why-card:hover::before{ transform: scaleY(1); }
.why-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); background: var(--tint); }
.why-num{
  display: inline-block;
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 500;
  background: linear-gradient(120deg, var(--blue), var(--red));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .55;
}
.why-card h3{ font-size: 1.05rem; margin: 14px 0 8px; }
.why-card p{ font-size: .9rem; }

/* =========================================================
   CTA
   ========================================================= */
.cta{
  background: linear-gradient(135deg, var(--tint), var(--paper));
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before{
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(20,92,198,.12), transparent 70%),
    radial-gradient(600px 300px at 85% 100%, rgba(247,17,67,.08), transparent 70%);
}
.cta-inner{ position: relative; max-width: 700px; margin: 0 auto; padding: 0 32px; }
.cta h2{ color: var(--navy); font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.cta-sub{ margin: 18px auto 0; max-width: 520px; font-size: 1.02rem; }
.cta .hero-actions{ justify-content: center; }

/* =========================================================
   CONNECT WITH US
   ========================================================= */
.contact{ padding: 110px 0; }
.contact-grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
}
.contact-card{
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}
.contact-card h2{ font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 10px; }
.contact-line{ font-size: 1rem; margin-bottom: 26px; }
.contact-detail{
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 18px; font-size: .95rem; color: var(--ink); font-weight: 600;
}
.contact-detail .icon{ fill: var(--blue-deep); margin-top: 2px; }
.contact-detail a:hover{ color: var(--blue-deep); }
.contact-call-btn{ margin-top: 20px; }

.social-block{ margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.social-label{ display: block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.social-row{ display: flex; gap: 12px; }
.social-link{
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--tint); color: var(--blue-deep);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.social-link svg{ width: 18px; height: 18px; fill: currentColor; }
.social-link:hover{ background: var(--red); color: #fff; transform: translateY(-3px); }
.footer-social{ margin-top: 18px; }
.footer-social .social-link{ background: var(--tint); color: var(--blue-deep); }
.footer-social .social-link:hover{ background: var(--red); color: #fff; }

.map-card{ border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); min-height: 320px; }
.map-link{ position: relative; display: block; width: 100%; height: 100%; min-height: 320px; }
.map-frame{ position: absolute; inset: 0; width: 100%; height: 100%; min-height: 320px; border: 0; pointer-events: none; }
.map-overlay{
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(11,42,87,.92); color: #fff;
  padding: 10px 16px; border-radius: 999px;
  font-size: .85rem; font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: background .3s var(--ease);
}
.map-pin-sm{ width: 16px; height: 16px; fill: var(--paper); flex-shrink: 0; }
.map-link:hover .map-overlay{ background: var(--red); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer{ background: var(--paper); border-top: 1px solid var(--line); padding: 70px 0 0; }
.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}
.footer-brand{ display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-mark{ height: 40px; }
.footer-brand .brand-text{ color: var(--navy); }
.footer-brand .brand-text em{ color: var(--blue-deep); }
.footer-col h4{
  color: var(--navy); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em;
  margin: 0 0 16px; font-family: var(--font-body); font-weight: 800;
}
.footer-loc-head{ margin-top: 22px; }
.footer-col a, .footer-col span{
  display: block; color: var(--muted); font-size: .92rem; margin-bottom: 10px;
  transition: color .3s var(--ease);
}
.footer-col a:hover{ color: var(--blue-deep); }
.footer-bottom{
  max-width: var(--container); margin: 0 auto; padding: 22px 32px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .8rem; color: var(--muted);
}
.footer-credit strong{ color: var(--navy); }

/* =========================================================
   LAUNCH SCREEN
   ========================================================= */
html.launch-lock, html.launch-lock body{ overflow: hidden; height: 100%; }

.launch-screen{
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 120% at 50% 15%, var(--paper) 0%, var(--tint) 45%, var(--tint-deep) 100%);
  background-size: 200% 200%;
  animation: launchDrift 10s ease-in-out infinite;
  overflow: hidden;
  opacity: 1; visibility: visible;
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}
.launch-screen.leaving{ opacity: 0; visibility: hidden; pointer-events: none; }
.launch-screen.skip{ display: none; }

@keyframes launchDrift{
  0%,100%{ background-position: 50% 0%; }
  50%{ background-position: 50% 100%; }
}

.launch-bg{ position: absolute; inset: 0; }
.launch-glow{
  position: absolute; top: 50%; left: 50%;
  width: 60vmax; height: 60vmax;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(20,92,198,.22), transparent 65%);
  animation: launchPulse 4.5s ease-in-out infinite;
}
@keyframes launchPulse{
  0%,100%{ opacity: .6; transform: translate(-50%,-50%) scale(1); }
  50%{ opacity: 1; transform: translate(-50%,-50%) scale(1.12); }
}

.launch-tooth{
  position: absolute; top: 50%; left: 50%;
  width: clamp(220px, 30vw, 380px); height: auto;
  transform: translate(-50%,-58%);
  fill: rgba(11,42,87,.07);
  filter: drop-shadow(0 0 60px rgba(20,92,198,.3));
  animation: toothBreathe 5s ease-in-out infinite;
}
@keyframes toothBreathe{
  0%,100%{ opacity: .55; transform: translate(-50%,-58%) scale(1); }
  50%{ opacity: .85; transform: translate(-50%,-58%) scale(1.04); }
}

.spark{
  position: absolute; bottom: -20px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue);
  opacity: 0;
  animation: rise 7s ease-in infinite;
}
.spark.s1{ left: 12%; background: var(--red); animation-delay: .2s; width: 6px; height: 6px; }
.spark.s2{ left: 26%; animation-delay: 2.1s; width: 10px; height: 10px; }
.spark.s3{ left: 45%; background: var(--red); animation-delay: 1s; width: 5px; height: 5px; }
.spark.s4{ left: 63%; animation-delay: 3.4s; width: 9px; height: 9px; }
.spark.s5{ left: 78%; background: var(--red); animation-delay: 2.8s; width: 7px; height: 7px; }
.spark.s6{ left: 90%; animation-delay: .9s; width: 6px; height: 6px; }
@keyframes rise{
  0%{ opacity: 0; transform: translateY(0) scale(.8); }
  12%{ opacity: .8; }
  85%{ opacity: .5; }
  100%{ opacity: 0; transform: translateY(-100vh) scale(1.3); }
}

.launch-content{
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 10px;
  padding: 0 28px;
  max-width: 560px;
}
.launch-logo{
  height: 56px; width: auto; margin-bottom: 14px;
  opacity: .95;
  animation: launchLogoIn .8s var(--ease) both;
}
@keyframes launchLogoIn{
  from{ opacity: 0; transform: translateY(-10px) scale(.9); }
  to{ opacity: .95; transform: translateY(0) scale(1); }
}
.launch-quote{
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  font-weight: 500;
  line-height: 1.4;
  min-height: 3.2em;
  display: flex; align-items: center;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.launch-quote.fade-out{ opacity: 0; transform: translateY(6px); }
.launch-quote::before{ content: "“"; }
.launch-quote::after{ content: "”"; }
.launch-brand{
  margin-top: 8px;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}
.launch-skip{
  margin-top: 30px;
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(11,42,87,.25);
  padding: 12px 30px;
  border-radius: 999px;
  font-family: inherit; font-weight: 700; font-size: .85rem;
  letter-spacing: .03em;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.launch-skip:hover{ border-color: var(--navy); background: rgba(11,42,87,.06); transform: translateY(-2px); }

@media (max-width: 600px){
  .launch-tooth{ width: clamp(160px, 45vw, 260px); }
  .launch-logo{ height: 44px; }
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal{
  opacity: 0;
  transform: translateY(28px) scale(.98);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view{ opacity: 1; transform: translateY(0) scale(1); }

/* Staggered entrance for grid cards */
.service-categories .service-cat:nth-child(1){ transition-delay: 0s; }
.service-categories .service-cat:nth-child(2){ transition-delay: .06s; }
.service-categories .service-cat:nth-child(3){ transition-delay: .12s; }
.service-categories .service-cat:nth-child(4){ transition-delay: .18s; }
.service-categories .service-cat:nth-child(5){ transition-delay: .24s; }
.service-categories .service-cat:nth-child(6){ transition-delay: .3s; }
.doctors-grid .doctor-card:nth-child(2){ transition-delay: .1s; }
.why-grid .why-card:nth-child(1){ transition-delay: 0s; }
.why-grid .why-card:nth-child(2){ transition-delay: .08s; }
.why-grid .why-card:nth-child(3){ transition-delay: .16s; }
.why-grid .why-card:nth-child(4){ transition-delay: .24s; }
.gallery-grid .gallery-item:nth-child(1){ transition-delay: 0s; }
.gallery-grid .gallery-item:nth-child(2){ transition-delay: .08s; }
.gallery-grid .gallery-item:nth-child(3){ transition-delay: .16s; }
.gallery-grid .gallery-item:nth-child(4){ transition-delay: .24s; }
.gallery-grid .gallery-item:nth-child(5){ transition-delay: .32s; }
.reviews-grid .review-card:nth-child(1){ transition-delay: 0s; }
.reviews-grid .review-card:nth-child(2){ transition-delay: .06s; }
.reviews-grid .review-card:nth-child(3){ transition-delay: .12s; }
.reviews-grid .review-card:nth-child(4){ transition-delay: .18s; }
.reviews-grid .review-card:nth-child(5){ transition-delay: .24s; }
.reviews-grid .review-card:nth-child(6){ transition-delay: .3s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; gap: 56px; }
  .hero-visual{ max-width: 420px; margin: 0 auto; }
  .about-grid{ grid-template-columns: 1fr; gap: 44px; }
  .doctors-grid{ grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .why-grid{ grid-template-columns: repeat(2, 1fr); }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .reviews-grid{ grid-template-columns: repeat(2, 1fr); }
  .contact-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px){
  .nav-links{
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 32px 40px;
    gap: 26px;
    box-shadow: -14px 0 40px rgba(11,42,87,.12);
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    z-index: 401;
  }
  .nav-links.open{ transform: translateX(0); }
  .nav-cta{ width: 100%; text-align: center; }
  .nav-toggle{ display: flex; z-index: 402; }
  .nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2){ opacity: 0; }
  .nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

  .hero{ padding: 130px 0 90px; }
  .card-one{ left: 0; top: -6%; }
  .card-two{ right: 0; bottom: -6%; }
  .trust-inner{ flex-direction: column; align-items: flex-start; }
  .trust-item{ flex: 0 0 auto; width: 100%; }
  .about, .doctors, .services, .why, .gallery, .reviews, .cta, .contact{ padding: 72px 0; }
  .why-grid{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: 1fr 1fr; gap: 14px; }
  .lightbox{ padding: 20px; }
  .lightbox-close{ top: 12px; right: 12px; }
  .reviews-grid{ grid-template-columns: 1fr; }
  .rating-banner{ flex-direction: column; align-items: flex-start; }
  .rating-link{ margin-left: 0; }
  .footer-grid{ grid-template-columns: 1fr; text-align: left; }
  .contact-card{ padding: 32px; }
  .two-col{ grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction: column; text-align: center; }

  .service-cat-head{ padding: 16px 16px; gap: 12px; }
  .sc-icon{ width: 38px; height: 38px; border-radius: 10px; }
  .sc-icon svg{ width: 19px; height: 19px; }
  .sc-head-text h3{ font-size: 1rem; }
  .sc-tagline{ font-size: .82rem; }
  .service-list{ padding: 2px 16px 20px 16px; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
  .reveal{ opacity: 1; transform: none; }
}
