/* ============================================================
   MUNENI BRAIN & SPINE INSTITUTE — style.css
   Theme: Dark Navy · White · Gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Jost:wght@200;300;400;500;600&display=swap');

/* ─── CSS VARIABLES ─── */
:root {
  --navy-950:   #030d1a;
  --navy-900:   #061428;
  --navy-800:   #0a1f3d;
  --navy-700:   #0e2d58;
  --navy-600:   #133570;
  --navy-500:   #1a4490;
  --navy-400:   #2558b8;
  --navy-300:   #4a7dd4;
  --navy-200:   #8ab0e8;
  --navy-100:   #ccdaf5;

  --gold-900:   #7a4800;
  --gold-700:   #b8700a;
  --gold-500:   #d4a017;
  --gold-400:   #e8b830;
  --gold-300:   #f0cb60;
  --gold-200:   #f8e0a0;
  --gold-100:   #fdf3d8;

  --white:      #ffffff;
  --off-white:  #f7f9fc;
  --soft-white: #eef2f9;

  --text-dark:  #07111f;
  --text-body:  #1d3050;
  --text-muted: #5a7298;

  --shadow-sm:  0 4px 16px rgba(3,13,26,0.10);
  --shadow-md:  0 12px 40px rgba(3,13,26,0.18);
  --shadow-lg:  0 30px 80px rgba(3,13,26,0.28);
  --shadow-xl:  0 50px 120px rgba(3,13,26,0.45);

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  24px;
  --radius-xl:  40px;
  --radius-full: 9999px;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── CANVAS ─── */
#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  left: 20px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}




.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
  background: rgba(3, 13, 26, 0.90);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(212, 160, 23, 0.15);
  transition: padding 0.4s ease, background 0.4s ease;
}
.nav.scrolled {
  padding: 0.65rem 5%;
  background: rgba(3, 13, 26, 0.98);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo-img {
  width: 70px;
  height: 46px;
  /*border-radius: 50%;*/
  object-fit: cover;
  border: 1px solid var(--gold-500);
  box-shadow: 0 0 16px rgba(212,160,23,0.35);
  transition: box-shadow 0.3s;
}
.nav-logo:hover .nav-logo-img {
  box-shadow: 0 0 28px rgba(212,160,23,0.6);
}
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-text .logo-main {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.nav-logo-text .logo-sub {
  color: var(--gold-400);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-links a {
  color: var(--navy-100);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold-400);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold-300); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300)) !important;
  color: var(--navy-950) !important;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 600 !important;
  box-shadow: 0 4px 18px rgba(212,160,23,0.35);
  transition: transform 0.3s, box-shadow 0.3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212,160,23,0.5) !important;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
  overflow: hidden;
  z-index: 1;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(212,160,23,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 15% 80%, rgba(26,68,144,0.35) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(10,31,61,0.6) 0%, transparent 70%);
  animation: meshShift 12s ease-in-out infinite alternate;
}
@keyframes meshShift {
  from { opacity: 0.8; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.06); }
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,160,23,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,160,23,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  animation: floatOrb ease-in-out infinite;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,68,144,0.45), transparent 70%);
  top: -15%; right: -5%;
  animation-duration: 9s;
}
.orb-2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(212,160,23,0.18), transparent 70%);
  bottom: 5%; right: 15%;
  animation-duration: 11s;
  animation-delay: -4s;
}
.orb-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(10,31,61,0.7), transparent 70%);
  top: 45%; left: -8%;
  animation-duration: 7s;
  animation-delay: -2s;
}
@keyframes floatOrb {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

/* Gold diagonal accent line */
.hero-accent-line {
  position: absolute;
  bottom: 0; left: 0;
  width: 50%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: 0.5;
}

/* Content layout */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 9rem 5% 5rem;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
}

/* Left */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(212,160,23,0.3);
  background: rgba(212,160,23,0.07);
  border-radius: var(--radius-full);
  padding: 0.35rem 1rem 0.35rem 0.5rem;
  margin-bottom: 1.6rem;
  animation: fadeUp 0.8s ease both;
}
.eyebrow-dot {
  width: 8px; height: 8px;
  background: var(--gold-400);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-400);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.85); }
}
.hero-eyebrow span {
  color: var(--gold-200);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  animation: fadeUp 0.8s 0.15s ease both;
}
.hero-title .accent {
  font-style: italic;
  color: transparent;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-200));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-tagline {
  color: var(--navy-200);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.9;
  max-width: 500px;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.45s ease both;
}
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  color: var(--navy-950);
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 28px rgba(212,160,23,0.35);
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(212,160,23,0.55);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  color: var(--navy-100);
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(170,195,230,0.3);
  transition: all 0.3s;
}
.btn-outline:hover {
  border-color: var(--gold-400);
  color: var(--gold-300);
  background: rgba(212,160,23,0.07);
  transform: translateY(-3px);
}

/* Hero right — doctor card */
.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,160,23,0.18);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  animation: fadeRight 0.9s 0.3s ease both;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}
.hero-card::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,160,23,0.10), transparent 70%);
}

.card-logo-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(212,160,23,0.12);
}
.card-logo-img {
  width: 64px;
  height: 46px;
  /*border-radius: 50%;*/
  object-fit: cover;
  border: 1px solid var(--gold-500);
  box-shadow: 0 0 20px rgba(212,160,23,0.4);
}
.card-logo-text .card-name {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}
.card-logo-text .card-role {
  color: var(--gold-300);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.qual-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}
.qual-tag {
  background: rgba(26,68,144,0.4);
  border: 1px solid rgba(74,125,212,0.3);
  color: var(--navy-100);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.card-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(212,160,23,0.12);
}
.c-stat .c-stat-num {
  font-family: 'Playfair Display', serif;
  color: var(--gold-300);
  font-size: 2rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}
.c-stat .c-stat-label {
  color: var(--navy-200);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(35px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(35px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.section-tag {
  display: inline-block;
  color: var(--gold-500);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.18;
  margin-bottom: 0.9rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.85;
  font-weight: 300;
  max-width: 580px;
}

/* Gold divider rule */
.gold-rule {
  width: 54px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-200));
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 8rem 5%;
  background: var(--off-white);
  position: relative;
  z-index: 1;
}
.about-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 6rem;
  align-items: center;
}

/* Visual sphere */
.about-visual { position: relative; }
.visual-sphere-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  margin: 0 auto;
}
.visual-sphere {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(212,160,23,0.15);
}
.visual-sphere::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 25%, rgba(37,88,184,0.5), transparent 60%);
}
.visual-sphere::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, rgba(3,13,26,0.6));
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212,160,23,0.15);
  animation: spin linear infinite;
}
.ring-a { inset: -22px; animation-duration: 22s; }
.ring-b { inset: -44px; animation-duration: 36s; animation-direction: reverse; }
.ring-a::before, .ring-b::before {
  content: '';
  position: absolute;
  top: 12px; left: 50%;
  width: 10px; height: 10px;
  background: var(--gold-400);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px var(--gold-400);
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Float chips */
.float-chip {
  position: absolute;
  background: var(--white);
  border: 1px solid rgba(212,160,23,0.2);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.2rem;
  box-shadow: var(--shadow-md);
}
.float-chip.chip-a {
  bottom: 4%; right: -8%;
  animation: chipFloat 5.5s ease-in-out infinite;
}
.float-chip.chip-b {
  top: 8%; left: -10%;
  animation: chipFloat 7s 2.5s ease-in-out infinite;
}
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.chip-label {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}
.chip-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy-700);
}

/* Text side */
.about-text .section-sub { max-width: 100%; margin-bottom: 2rem; }

.highlights { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 2rem; }
.hl-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold-500);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.hl-row:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}
.hl-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hl-info strong {
  display: block;
  color: var(--text-dark);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.hl-info p { color: var(--text-muted); font-size: 0.78rem; font-weight: 300; line-height: 1.5; }

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 8rem 5%;
  background: var(--white);
  position: relative;
  z-index: 1;
}
.services-inner { max-width: 1240px; margin: 0 auto; }
.services-header { text-align: center; margin-bottom: 4rem; }
.services-header .section-sub { margin: 0 auto; }
.services-header .gold-rule { margin: 0 auto 1.5rem; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.svc-card {
  background: var(--off-white);
  border: 1px solid rgba(10,31,61,0.07);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
  cursor: default;
}
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,68,144,0.05), rgba(212,160,23,0.03));
  opacity: 0;
  transition: opacity 0.4s;
}
.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212,160,23,0.3);
}
.svc-card:hover::before { opacity: 1; }

/* Featured card */
.svc-card.featured {
  background: linear-gradient(145deg, var(--navy-800), var(--navy-900));
  border-color: rgba(212,160,23,0.3);
}
.svc-card.featured::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}
.svc-card.featured .svc-title { color: var(--white); }
.svc-card.featured .svc-desc  { color: rgba(170,195,230,0.8); }
.svc-card.featured .svc-link  { color: var(--gold-300); }
.svc-card.featured .svc-icon-box { background: rgba(255,255,255,0.1); }

.svc-icon-box {
  width: 54px; height: 54px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s;
  position: relative;
  z-index: 1;
}
.svc-card:hover .svc-icon-box { transform: scale(1.1) rotate(-6deg); }

.svc-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.55rem;
  position: relative;
  z-index: 1;
}
.svc-desc {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.75;
  font-weight: 300;
  position: relative;
  z-index: 1;
}
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--navy-500);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-top: 1.1rem;
  position: relative;
  z-index: 1;
  transition: gap 0.3s, color 0.3s;
}
.svc-link:hover { gap: 0.6rem; color: var(--gold-500); }

/* ============================================================
   DOCTOR PROFILE
   ============================================================ */
.doctor {
  padding: 8rem 5%;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-900) 60%, var(--navy-800));
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.doctor::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 75% 50%, rgba(26,68,144,0.25), transparent 60%),
    radial-gradient(ellipse 40% 40% at 15% 80%, rgba(212,160,23,0.08), transparent 50%);
}
.doctor::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.doctor-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Image frame */
.doc-frame-wrap { position: relative; }
.doc-frame {
  width: 100%;
  max-width: 430px;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-800));
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212,160,23,0.2);
  box-shadow: var(--shadow-xl);
}
.doc-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(3,13,26,0.75) 100%);
}
.doc-corner-box {
  position: absolute;
  bottom: -18px; right: -18px;
  width: 120px; height: 120px;
  border: 2px solid rgba(212,160,23,0.4);
  border-radius: 16px;
}
.doc-corner-line {
  position: absolute;
  top: 36px; left: -36px;
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400));
}

/* Doctor text */
.doc-info .section-title { color: var(--white); }
.doc-info .section-sub { color: var(--navy-200); max-width: 100%; margin-bottom: 2rem; }
.doc-info .gold-rule { background: linear-gradient(90deg, var(--gold-400), var(--gold-700)); }

.cred-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}
.cred-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,160,23,0.12);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  transition: background 0.3s, border-color 0.3s;
}
.cred-box:hover {
  background: rgba(26,68,144,0.25);
  border-color: rgba(212,160,23,0.28);
}
.cred-abbr {
  font-family: 'Playfair Display', serif;
  color: var(--gold-200);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.cred-full { color: rgba(170,195,230,0.65); font-size: 0.7rem; font-weight: 300; line-height: 1.4; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 8rem 5%;
  background: var(--soft-white);
  position: relative;
  z-index: 1;
}
.contact-inner { max-width: 1240px; margin: 0 auto; }
.contact-header { text-align: center; margin-bottom: 4.5rem; }
.contact-header .section-sub { margin: 0 auto; }
.contact-header .gold-rule { margin: 0 auto 1.5rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

/* Info cards */
.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }
.ci-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.4rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(10,31,61,0.07);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.ci-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212,160,23,0.25);
}
.ci-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(10,31,61,0.25);
}
.ci-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.3rem;
}
.ci-value {
  color: var(--text-dark);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.55;
}
.ci-value a { color: inherit; transition: color 0.3s; }
.ci-value a:hover { color: var(--navy-500); }

/* Form panel */
.form-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  border: 1px solid rgba(10,31,61,0.07);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.form-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-700), var(--gold-400), var(--navy-700));
}
.form-head { margin-bottom: 2rem; }
.form-head h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}
.form-head p { color: var(--text-muted); font-size: 0.82rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.f-group { margin-bottom: 1.15rem; }
.f-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.f-group input,
.f-group textarea,
.f-group select {
  width: 100%;
  padding: 0.82rem 1.1rem;
  border: 1px solid rgba(10,31,61,0.14);
  border-radius: var(--radius-sm);
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  color: var(--text-dark);
  background: var(--off-white);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  -webkit-appearance: none;
}
.f-group input:focus,
.f-group textarea:focus,
.f-group select:focus {
  border-color: var(--navy-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,68,144,0.1);
}
.f-group textarea { height: 110px; resize: none; }

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s;
  margin-top: 0.4rem;
  box-shadow: 0 8px 24px rgba(10,31,61,0.3);
  position: relative;
  overflow: hidden;
}
.submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  opacity: 0;
  transition: opacity 0.35s;
}
.submit-btn:hover { color: var(--navy-950); box-shadow: 0 14px 36px rgba(212,160,23,0.4); }
.submit-btn:hover::before { opacity: 1; }
.submit-btn span { position: relative; z-index: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-950);
  padding: 5rem 5% 2.5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.footer-inner { max-width: 1240px; margin: 0 auto; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

/* Brand col */
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}
.footer-logo-img {
  width: 70px; height: 48px;
  /*border-radius: 50%;*/
  object-fit: cover;
  border: 1px solid var(--gold-500);
  box-shadow: 0 0 16px rgba(212,160,23,0.3);
}
.footer-logo-name {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}
.footer-logo-name small {
  display: block;
  font-family: 'Jost', sans-serif;
  color: var(--gold-400);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.1rem;
}
.footer-desc {
  color: rgba(170,195,230,0.55);
  font-size: 0.82rem;
  line-height: 1.85;
  font-weight: 300;
  max-width: 300px;
  margin-bottom: 1.5rem;
}
.footer-socials { display: flex; gap: 0.7rem; }
.soc-btn {
  width: 38px; height: 38px;
  background: rgba(26,68,144,0.3);
  border: 1px solid rgba(74,125,212,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s;
  color: var(--navy-200);
}
.soc-btn:hover {
  background: var(--navy-500);
  border-color: var(--navy-400);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(26,68,144,0.4);
}

/* Col titles */
.footer-col-title {
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(212,160,23,0.15);
}
.footer-links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a {
  color: rgba(170,195,230,0.55);
  font-size: 0.82rem;
  font-weight: 300;
  transition: color 0.3s, padding-left 0.3s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-links a:hover { color: var(--gold-300); padding-left: 4px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(170,195,230,0.08);
}
.footer-copy { color: rgba(170,195,230,0.35); font-size: 0.75rem; font-weight: 300; }
.footer-motto {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-400);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-content { grid-template-columns: 1fr; padding-top: 7rem; gap: 3rem; }
  .about-inner  { grid-template-columns: 1fr; gap: 3.5rem; }
  .svc-grid     { grid-template-columns: 1fr 1fr; }
  .doctor-inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; gap: 2.5rem; }
  .cred-grid    { grid-template-columns: 1fr; }
  .form-row     { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .card-stats { grid-template-columns: 1fr 1fr; }
  .form-panel { padding: 1.8rem; }
}
