/* ============================================
   RheumaLife Clinic — Design System
   Colors extracted from logo:
   - Primary Green: #4CAF50 → refined #2E8B57
   - Accent Orange: #F57C00 → refined #E8742A  
   - Warm Orange Head: #E8742A
   ============================================ */

:root {
  /* Logo-derived palette */
  --green-50:  #E8F5E9;
  --green-100: #C8E6C9;
  --green-200: #A5D6A7;
  --green-300: #81C784;
  --green-400: #66BB6A;
  --green-500: #4CAF50;
  --green-600: #43A047;
  --green-700: #388E3C;
  --green-800: #2E7D32;
  --green-900: #1B5E20;

  --orange-50:  #FFF3E0;
  --orange-100: #FFE0B2;
  --orange-200: #FFCC80;
  --orange-300: #FFB74D;
  --orange-400: #FFA726;
  --orange-500: #F57C00;
  --orange-600: #EF6C00;
  --orange-700: #E65100;

  /* Core design tokens */
  --primary: #3A9D5C;
  --primary-dark: #2E7D32;
  --primary-light: #66BB6A;
  --accent: #E8742A;
  --accent-light: #FFAB76;
  --accent-dark: #D45A10;

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #FAFBFC;
  --gray-100: #F4F6F8;
  --gray-200: #E8ECF0;
  --gray-300: #D1D8E0;
  --gray-400: #A0AEC0;
  --gray-500: #718096;
  --gray-600: #4A5568;
  --gray-700: #2D3748;
  --gray-800: #1A202C;
  --gray-900: #0F1419;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--green-800) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--orange-400) 100%);
  --gradient-hero: linear-gradient(180deg, #083D26 0%, #0D5C38 40%, #188A52 75%, #1FAF63 100%);
  --gradient-text: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);

  /* Glass effects */
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --section-pad: clamp(60px, 8vw, 120px);
  --container-max: 1200px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease-out);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-800);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* ============================================
   GRADIENT TEXT UTILITY
   ============================================ */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  border: 2px solid transparent;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(58, 157, 92, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(58, 157, 92, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s var(--ease-out);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.nav-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-logo-text {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  transition: color 0.4s var(--ease-out);
}

.navbar.scrolled .nav-logo-text {
  color: var(--gray-800);
}

.nav-logo-text .accent {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 50px;
  transition: all 0.3s var(--ease-out);
  position: relative;
}

.navbar.scrolled .nav-link {
  color: var(--gray-600);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-link:hover {
  color: var(--primary);
  background: var(--green-50);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(232, 116, 42, 0.4);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
}

.hamburger {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  position: relative;
  transition: all 0.3s var(--ease-out);
}

.navbar.scrolled .hamburger,
.navbar.scrolled .hamburger::before,
.navbar.scrolled .hamburger::after {
  background: var(--gray-700);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: all 0.3s var(--ease-out);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -10%;
  right: -10%;
  animation: floatShape 20s ease-in-out infinite;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -5%;
  left: -5%;
  animation: floatShape 15s ease-in-out infinite reverse;
}

.hero-shape-3 {
  width: 300px;
  height: 300px;
  background: var(--green-300);
  top: 40%;
  left: 30%;
  animation: floatShape 25s ease-in-out infinite;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero-pre {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-ctas .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-ctas .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

.hero-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3;
  backdrop-filter: blur(10px);
}

.badge-icon {
  font-size: 1.4rem;
}

/* Hero visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-wrap {
  width: clamp(260px, 24vw, 380px);
  height: clamp(260px, 24vw, 380px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  border: 2px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: pulse-glow 4s ease-in-out infinite;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 8px 40px rgba(0, 0, 0, 0.25),
    0 0 60px rgba(46, 204, 113, 0.12);
}

.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: pulse-glow 4s ease-in-out infinite 0.5s;
}

.hero-logo-wrap::after {
  content: '';
  position: absolute;
  inset: -36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  animation: pulse-glow 4s ease-in-out infinite 1s;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.02); opacity: 0.8; }
}

.hero-logo-img {
  width: 65%;
  height: 65%;
  object-fit: contain;
  filter:
    drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35))
    drop-shadow(0 0 24px rgba(255, 255, 255, 0.10));
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.4; }
  50% { transform: rotate(45deg) translate(5px, 5px); opacity: 1; }
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  background: var(--orange-50);
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  color: var(--gray-800);
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================
   SCROLL REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero animations */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--ease-out) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.section-about {
  background: var(--gray-50);
}

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

.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.about-card:hover::before {
  transform: scaleX(1);
}

.about-card-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.about-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--gray-800);
}

.about-card p {
  color: var(--gray-500);
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.about-card ul {
  margin-top: 8px;
}

.about-card ul li {
  color: var(--gray-500);
  font-size: 0.92rem;
  padding: 6px 0 6px 20px;
  position: relative;
}

.about-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.6;
}

/* ============================================
   DOCTOR SECTION
   ============================================ */
.section-doctor {
  background: var(--white);
}

/* Doctor profile image */
.doctor-profile-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.doctor-profile-img-frame {
  position: relative;
  width: clamp(180px, 24vw, 260px);
  height: clamp(180px, 24vw, 260px);
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(145deg, var(--primary-light), var(--accent));
  box-shadow: 0 16px 48px rgba(46, 204, 113, 0.25), 0 6px 20px rgba(0,0,0,0.12);
  flex-shrink: 0;
}

.doctor-profile-img-frame::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(46, 204, 113, 0.22);
  animation: pulse-glow 4s ease-in-out infinite;
}

.doctor-profile-img-frame::after {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px solid rgba(46, 204, 113, 0.10);
  animation: pulse-glow 4s ease-in-out infinite 1s;
}

.doctor-profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  background: var(--gray-100);
}

.doctor-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.bio-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--gray-200);
}

.bio-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.8;
}

.bio-card p:last-child {
  margin-bottom: 0;
}

.doctor-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.highlight-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease-out);
}

.highlight-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 8px 30px rgba(58, 157, 92, 0.08);
  transform: translateY(-4px);
}

.highlight-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.highlight-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--gray-800);
}

.highlight-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================
   CONDITIONS SECTION
   ============================================ */
.section-conditions {
  background: var(--gradient-hero);
  color: var(--white);
}

.section-conditions .section-tag {
  background: rgba(232, 116, 42, 0.2);
  color: var(--accent-light);
}

.section-conditions .section-title {
  color: var(--white);
}

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

.condition-category {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  backdrop-filter: blur(10px);
  transition: all 0.4s var(--ease-out);
}

.condition-category:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.condition-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.condition-icon {
  font-size: 1.6rem;
}

.condition-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.condition-list li {
  padding: 8px 0 8px 20px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  position: relative;
}

.condition-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.section-services {
  background: var(--gray-50);
}

.service-block {
  margin-bottom: 48px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--gray-200);
}

.service-block:last-child {
  margin-bottom: 0;
}

.service-block-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  margin-bottom: 12px;
  color: var(--gray-800);
}

.service-block-intro {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 28px;
  max-width: 600px;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.process-step {
  text-align: center;
  padding: 24px 12px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease-out);
  position: relative;
}

.process-step:hover {
  background: var(--green-50);
  border-color: var(--primary-light);
  transform: translateY(-4px);
}

.step-number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.process-step h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--gray-700);
}

.process-step p {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Investigations */
.investigations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.investigation-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}

.inv-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.investigation-card p {
  color: var(--gray-600);
  font-size: 0.92rem;
}

/* Health Plan Cards */
.health-plan-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hp-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease-out);
}

.hp-card:hover {
  border-color: var(--primary-light);
  background: var(--green-50);
  transform: translateY(-4px);
}

.hp-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.hp-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--gray-800);
}

.hp-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* Treatment Grid */
.treatment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.treatment-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--gray-600);
  transition: all 0.3s var(--ease-out);
}

.treatment-item:hover {
  background: var(--green-50);
}

.treatment-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient-accent);
  flex-shrink: 0;
}

/* Coaching Block */
.coaching-block {
  background: linear-gradient(135deg, var(--green-50) 0%, var(--orange-50) 100%);
  border-color: var(--green-100);
}

.coaching-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.coaching-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out);
}

.coaching-feature:hover {
  background: var(--white);
  transform: translateX(4px);
}

.cf-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.coaching-feature h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--gray-800);
}

.coaching-feature p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* Fees Block */
.fees-block {
  border-top: 3px solid var(--primary-light);
}

.fees-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.fee-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
}

.fee-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 12px;
}

.fee-price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}

@media (max-width: 600px) {
  .fees-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PHILOSOPHY SECTION
   ============================================ */
.section-philosophy {
  background: var(--white);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.philosophy-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease-out);
}

.philosophy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
  border-color: transparent;
}

.phil-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.phil-icon {
  font-size: 1.5rem;
  filter: grayscale(100%) brightness(10);
}

.philosophy-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--gray-800);
}

.philosophy-card p {
  color: var(--gray-500);
  font-size: 0.92rem;
  margin-bottom: 10px;
  line-height: 1.7;
}

.philosophy-card ul {
  margin-top: 6px;
}

.philosophy-card ul li {
  padding: 5px 0 5px 18px;
  color: var(--gray-600);
  font-size: 0.9rem;
  position: relative;
}

.philosophy-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Commitment Banner */
.commitment-banner {
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
}

.commitment-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: 16px;
}

.commitment-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto 12px;
  line-height: 1.7;
}

.commitment-content strong {
  color: var(--accent-light);
}

.commitment-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem !important;
  color: var(--accent-light) !important;
  margin-top: 20px !important;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.section-faq {
  background: var(--gray-50);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 32px;
}

.faq-cat-title {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-100);
}

.faq-item {
  margin-bottom: 8px;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  text-align: left;
  transition: all 0.3s var(--ease-out);
}

.faq-question:hover {
  border-color: var(--primary-light);
  background: var(--green-50);
}

.faq-item.active .faq-question {
  border-color: var(--primary);
  background: var(--green-50);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.faq-toggle {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s var(--ease-out);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 20px;
}

.faq-answer p {
  color: var(--gray-600);
  font-size: 0.92rem;
  margin-bottom: 8px;
  line-height: 1.7;
}

.faq-answer ul {
  margin-top: 8px;
}

.faq-answer ul li {
  padding: 5px 0 5px 18px;
  color: var(--gray-600);
  font-size: 0.9rem;
  position: relative;
}

.faq-answer ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============================================
   INSURANCE SECTION
   ============================================ */
.section-insurance {
  background: var(--white);
  padding: 60px 0;
}

.insurers-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.insurer-badge {
  padding: 16px 32px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-700);
  transition: all 0.3s var(--ease-out);
}

.insurer-badge:hover {
  border-color: var(--primary-light);
  background: var(--green-50);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(58, 157, 92, 0.1);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.section-contact {
  background: var(--gray-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease-out);
}

.contact-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}

.contact-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.contact-card h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.contact-value {
  color: var(--gray-700);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.6;
  transition: color 0.3s;
}

a.contact-value:hover {
  color: var(--primary);
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  height: 100%;
  min-height: 400px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.contact-cta {
  text-align: center;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
}

.contact-cta p {
  color: var(--gray-500);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.contact-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  width: 60px;
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent-light);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  opacity: 0.7;
}

.footer-links h4,
.footer-contact-info h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s;
}

.footer-links a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-contact-info p {
  font-size: 0.88rem;
  margin-bottom: 6px;
  line-height: 1.5;
}

.footer-contact-info a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-info a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.5;
}

.footer-bottom p {
  margin-bottom: 4px;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(58, 157, 92, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(58, 157, 92, 0.5);
}

/* ============================================
   RESEARCH / PUBLICATIONS SECTION
   ============================================ */
.section-research {
  background: var(--gray-50);
}

/* Year group row */
.pub-year-group {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 32px;
  margin-bottom: 40px;
  position: relative;
}

.pub-year-group:last-child {
  margin-bottom: 0;
}

/* Vertical timeline line */
.pub-year-group::before {
  content: '';
  position: absolute;
  left: 39px;
  top: 48px;
  bottom: -40px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-light), transparent);
  opacity: 0.3;
}

.pub-year-group:last-child::before {
  display: none;
}

/* Year chip */
.pub-year-chip {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(58, 157, 92, 0.3);
  position: sticky;
  top: 100px;
  align-self: start;
  letter-spacing: 0.02em;
}

/* Cards container per year */
.pub-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}

/* Individual publication card */
.pub-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--primary);
  transition: all 0.35s var(--ease-out);
  position: relative;
}

.pub-card:hover {
  transform: translateX(4px);
  border-left-color: var(--accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
}

/* Top meta row: journal name + DOI link */
.pub-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.pub-journal {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.pub-doi {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--orange-50);
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid var(--orange-100);
  white-space: nowrap;
  transition: all 0.25s var(--ease-out);
}

.pub-doi:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* Publication title */
.pub-title {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.5;
  margin-bottom: 10px;
}

/* Authors line */
.pub-authors {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 12px;
}

.pub-authors strong {
  color: var(--primary-dark);
  font-weight: 700;
}

/* PMID / PMC badges */
.pub-ids {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pub-id-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-500);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 3px 10px;
  border-radius: 50px;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.02em;
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .doctor-content {
    grid-template-columns: 1fr;
  }

  .doctor-bio {
    order: 2;
  }

  .doctor-highlights {
    order: 3;
    grid-template-columns: 1fr 1fr;
  }

  .doctor-profile-wrap {
    order: 1;
    margin-bottom: 24px;
  }

  .doctor-profile-img-frame {
    width: clamp(140px, 28vw, 200px);
    height: clamp(140px, 28vw, 200px);
  }
}

@media (max-width: 1024px) {
  .conditions-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 32px 40px;
    transition: right 0.4s var(--ease-out);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
    gap: 4px;
    align-items: stretch;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    color: var(--gray-700) !important;
    padding: 12px 16px !important;
    border-radius: var(--radius-sm) !important;
  }

  .nav-link:hover {
    background: var(--green-50) !important;
    color: var(--primary) !important;
  }

  .nav-cta {
    margin-top: 16px;
    text-align: center;
  }

  .nav-toggle.active .hamburger,
  .nav-toggle.active .hamburger::before,
  .nav-toggle.active .hamburger::after {
    background: var(--gray-700);
  }

  .conditions-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .health-plan-cards {
    grid-template-columns: 1fr;
  }

  .coaching-features {
    grid-template-columns: 1fr;
  }

  .investigations-grid {
    grid-template-columns: 1fr;
  }

  .treatment-grid {
    grid-template-columns: 1fr;
  }

  .doctor-highlights {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

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

  .hero-badges {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .process-steps {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .contact-btns {
    flex-direction: column;
    align-items: center;
  }

  .contact-btns .btn {
    width: 100%;
  }
}
