/* =========================================================
   Omni Dental — Main Stylesheet
   ========================================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* --- CSS Variables --- */
:root {
  --black:      #090909;
  --dark:       #111111;
  --dark-card:  #1a1a1a;
  --dark-alt:   #141414;
  --blue:       #0ca7e9;
  --blue-light: #5dd4f8;
  --blue-dark:  #0878b8;
  --blue-grad:  linear-gradient(135deg, #5dd4f8 0%, #0ca7e9 55%, #0878b8 100%);
  --white:      #ffffff;
  --off-white:  #e8f6fd;
  --gray:       #777777;
  --light-gray: #bbbbbb;
  --border:     rgba(12, 167, 233, 0.22);
  --shadow:     0 8px 40px rgba(0,0,0,0.6);
  --radius:     4px;
  --transition: all 0.35s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--black);
  color: var(--light-gray);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--blue-light); }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }

/* --- Layout Utilities --- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 70px 0; }

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.section-title {
  margin-bottom: 1.2rem;
}
.section-divider {
  width: 60px;
  height: 2px;
  background: var(--blue);
  margin: 1.4rem 0 2rem;
}
.section-divider.center { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-blue   { color: var(--blue); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
/* btn-gold kept as class name; uses logo-inspired gradient */
.btn-gold, .btn-primary {
  background: linear-gradient(135deg, #5dd4f8 0%, #0ca7e9 55%, #0878b8 100%);
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
  box-shadow: 0 4px 18px rgba(12,167,233,0.3);
}
.btn-gold:hover, .btn-primary:hover {
  background: linear-gradient(135deg, #7ddffb 0%, #2bbef5 55%, #0993d4 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(12,167,233,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover {
  background: linear-gradient(135deg, #5dd4f8 0%, #0ca7e9 55%, #0878b8 100%);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(12,167,233,0.35);
}
.btn-white {
  background: var(--white);
  color: var(--black);
}
.btn-white:hover {
  background: var(--off-white);
  color: var(--black);
  transform: translateY(-2px);
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
#site-header.transparent {
  background: transparent;
}
#site-header.scrolled {
  background: rgba(9,9,9,0.97);
  box-shadow: 0 2px 30px rgba(0,0,0,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 2rem;
}

.header-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: 2.2rem; }
.main-nav a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--blue);
  transition: width 0.3s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--blue); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
}
.header-phone svg { color: var(--blue); }
.header-phone:hover { color: var(--blue); }

/* Mobile Nav — hidden by default, revealed only on mobile */
.mobile-nav {
  display: none;
}

/* Mobile Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO — VIDEO
   ========================================================= */
#hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-video-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1510 50%, #0a0a0a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(9,9,9,0.4) 0%,
    rgba(9,9,9,0.55) 50%,
    rgba(9,9,9,0.8) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 900px;
}
.hero-content .section-label { font-size: 0.75rem; }
.hero-content h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-content h1 em {
  font-style: italic;
  color: var(--blue);
}
.hero-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}
.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(12,167,233,0.8), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.4; transform: scaleY(0.7); }
}

/* =========================================================
   HERO — PAGE BANNER (non-home pages)
   ========================================================= */
.page-banner {
  position: relative;
  height: 55vh;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-banner-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-banner-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-banner-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #0f0f0f 0%, #1e170a 100%);
}
.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9,9,9,0.65);
  z-index: 1;
}
.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
}
.page-banner-content h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.breadcrumb {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: var(--blue); }
.breadcrumb span { margin: 0 0.5rem; }

/* =========================================================
   MEET THE DOCTOR
   ========================================================= */
#meet-doctor {
  background: var(--dark);
}
.meet-doctor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.doctor-img-wrap {
  position: relative;
}
.doctor-img-wrap::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  right: 20px; bottom: 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  z-index: 0;
}
.doctor-img-wrap img,
.doctor-img-placeholder {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
}
.doctor-img-placeholder {
  background: var(--dark-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.doctor-credentials {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  align-items: center;
}
.credential-badge {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
.ada-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
}
.ada-badge img { height: 36px; width: auto; }
.ada-badge span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light-gray);
}

/* =========================================================
   SAME-DAY TREATMENT
   ========================================================= */
#same-day {
  background: var(--black);
}
.same-day-intro {
  max-width: 680px;
  margin-bottom: 60px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 50px;
}
.service-item {
  background: var(--dark);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}
.service-item:hover {
  background: var(--dark-card);
  transform: translateY(-3px);
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(12,167,233,0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--blue);
}
.service-icon svg { width: 24px; height: 24px; }
.service-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

/* =========================================================
   TECHNOLOGY
   ========================================================= */
#technology {
  background: var(--dark-alt);
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}
.tech-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.tech-card:hover {
  border-color: var(--blue);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.tech-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.tech-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.tech-card:hover .tech-card-img img { transform: scale(1.05); }
.tech-card-body { padding: 28px; }
.tech-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  color: var(--blue-light);
}
.tech-card-body p { font-size: 0.9rem; margin: 0; color: var(--light-gray); }

/* =========================================================
   SERVICES (Cosmetic)
   ========================================================= */
#services {
  background: var(--black);
}
.services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  cursor: pointer;
}
.service-card img,
.service-card-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card-placeholder {
  background: var(--dark-card);
}
.service-card:hover img,
.service-card:hover .service-card-placeholder { transform: scale(1.07); }
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,9,9,0.9) 0%, rgba(9,9,9,0.2) 60%, transparent 100%);
  z-index: 1;
  transition: var(--transition);
}
.service-card:hover .service-card-overlay {
  background: linear-gradient(to top, rgba(9,9,9,0.95) 0%, rgba(9,9,9,0.4) 60%, transparent 100%);
}
.service-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 30px 24px;
}
.service-card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.service-card-content p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
  transform: translateY(10px);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover .service-card-content p {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   INSURANCE
   ========================================================= */
#insurance {
  background: var(--dark);
  text-align: center;
}
.insurance-inner { max-width: 720px; margin: 0 auto; }
.insurance-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}
.insurance-icon {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 30px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-gray);
  min-width: 130px;
  text-align: center;
  transition: var(--transition);
}
.insurance-icon:hover { border-color: var(--blue); color: var(--blue); }
.insurance-note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--gray);
}

/* =========================================================
   CONTACT / FORM SECTION
   ========================================================= */
#contact-form {
  background: var(--dark-alt);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 1 / 1.1;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  filter: grayscale(80%) invert(90%) contrast(85%);
}
.contact-info-block {
  margin-bottom: 2.5rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}
.contact-detail-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(12,167,233,0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail-icon svg { width: 16px; height: 16px; }
.contact-detail strong { display: block; color: var(--white); font-size: 0.8rem; margin-bottom: 2px; }
.contact-detail a { color: var(--light-gray); }
.contact-detail a:hover { color: var(--blue); }

/* Cognito Form placeholder */
.form-wrap { margin-top: 1rem; }
.form-placeholder {
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  color: var(--gray);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

/* =========================================================
   BEFORE & AFTER
   ========================================================= */
.before-after-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}
.ba-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.ba-card:hover { border-color: var(--blue); transform: translateY(-4px); }
.ba-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.ba-half {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}
.ba-half img { width: 100%; height: 100%; object-fit: cover; }
.ba-placeholder { width: 100%; height: 100%; background: #1e1e1e; display: flex; align-items: center; justify-content: center; }
.ba-label {
  position: absolute;
  bottom: 8px; left: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(9,9,9,0.75);
  color: var(--blue);
  padding: 3px 8px;
  border-radius: 2px;
}
.ba-card-body { padding: 20px 22px; }
.ba-card-body h4 { font-family: 'Montserrat', sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--white); }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-wrap img,
.about-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
}
.about-img-placeholder {
  background: var(--dark-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.8rem;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.about-stat { text-align: center; }
.about-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--blue);
  display: block;
}
.about-stat-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray); }

/* =========================================================
   PRIVACY POLICY
   ========================================================= */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 0 80px;
}
.privacy-content h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; color: var(--blue-light); }
.privacy-content p, .privacy-content li { font-size: 0.9rem; color: var(--light-gray); }
.privacy-content ul { padding-left: 1.5rem; list-style: disc; }
.privacy-content li { margin-bottom: 0.5rem; }

/* =========================================================
   FOOTER
   ========================================================= */
#site-footer {
  background: #060606;
  border-top: 1px solid var(--border);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
  padding: 80px 0 60px;
}
.footer-logo img { height: 50px; width: auto; margin-bottom: 1.5rem; }
.footer-tagline {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 300px;
}
.footer-social { display: flex; gap: 0.8rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--blue); color: var(--blue); }

.footer-col h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 1.5px;
  background: var(--blue);
}
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a {
  font-size: 0.85rem;
  color: var(--gray);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--blue); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--gray);
}
.footer-contact-item svg { color: var(--blue); margin-top: 3px; flex-shrink: 0; }
.footer-contact-item a { color: var(--gray); }
.footer-contact-item a:hover { color: var(--blue); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--gray);
}
.footer-bottom a { color: var(--gray); }
.footer-bottom a:hover { color: var(--blue); }

/* =========================================================
   SCROLL ANIMATIONS
   ========================================================= */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 1025px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
  .meet-doctor-grid,
  .about-content-grid { grid-template-columns: 1fr; gap: 50px; }
  .meet-doctor-grid .doctor-img-wrap { max-width: 480px; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .services-cards { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section-pad { padding: 70px 0; }
  .main-nav, .header-phone { display: none; }
  .hamburger { display: flex; }

  /* Mobile nav overlay */
  .mobile-nav {
    position: fixed;
    inset: 0;
    background: rgba(9,9,9,0.98);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .mobile-nav.open { opacity: 1; pointer-events: all; }
  .mobile-nav a {
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
    color: var(--white);
    letter-spacing: 0.05em;
  }
  .mobile-nav a:hover { color: var(--blue); }
  .mobile-nav .btn { margin-top: 1rem; }

  .tech-grid,
  .services-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-btns { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
