/* ============================================
   VENKATASAI HEALTH CLINIC
   Premium Healthcare Website Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Color System */
  --color-bg: #F8F6F3;
  --color-bg-alt: #F0EDE8;
  --color-bg-white: #FFFFFF;
  --color-surface: #FAFAF8;

  --color-primary: #1E3A4B;
  --color-primary-light: #2C5364;
  --color-primary-dark: #132633;

  --color-accent: #2A7B7C;
  --color-accent-light: #E4F1F1;
  --color-accent-dark: #1D5C5D;

  --color-text: #2D2D2D;
  --color-text-secondary: #5A5A5A;
  --color-text-muted: #8A8A8A;
  --color-text-on-dark: #F0EDE8;
  --color-text-on-accent: #FFFFFF;

  --color-border: #E2DED8;
  --color-border-light: #EDE9E3;

  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1DA851;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 900px;
  --section-padding: clamp(3rem, 8vw, 6rem);

  /* Borders & Shadows */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(30, 58, 75, 0.06);
  --shadow-md: 0 4px 16px rgba(30, 58, 75, 0.08);
  --shadow-lg: 0 8px 32px rgba(30, 58, 75, 0.1);
  --shadow-xl: 0 16px 48px rgba(30, 58, 75, 0.12);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Z-index */
  --z-nav: 100;
  --z-fab: 90;
  --z-mobile-bar: 80;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: var(--font-weight-semibold);
}

/* --- Focus States --- */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* --- Selection --- */
::selection {
  background: var(--color-accent-light);
  color: var(--color-primary);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  background: rgba(248, 246, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.nav-header.scrolled {
  border-bottom-color: var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: var(--font-weight-semibold);
  font-size: 0.95rem;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.nav-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: white;
  font-weight: var(--font-weight-bold);
  font-size: 1rem;
  flex-shrink: 0;
}

.nav-logo-text {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: var(--z-nav);
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  background: rgba(30, 58, 75, 0.05);
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  white-space: nowrap;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.nav-phone:hover {
  border-color: var(--color-primary);
  background: rgba(30, 58, 75, 0.04);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: var(--font-weight-medium);
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
}

.btn-icon {
  flex-shrink: 0;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-on-accent);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: white;
  border-color: var(--color-whatsapp);
}
.btn-whatsapp:hover {
  background: var(--color-whatsapp-dark);
  border-color: var(--color-whatsapp-dark);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  background: rgba(30, 58, 75, 0.04);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.825rem;
  min-height: 38px;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  min-height: 52px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding-top: calc(80px + var(--section-padding));
  padding-bottom: var(--section-padding);
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-surface) 100%);
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.hero-tagline {
  font-size: 0.95rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.02em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.hero-title {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.hero-doctor {
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.hero-doctor-name {
  font-size: 1.35rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.hero-credentials {
  font-size: 1.125rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  margin-bottom: 0.25rem;
}

.hero-specialty {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.hero-registration {
  font-size: 0.85rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-accent);
}

.hero-slogan {
  margin-top: var(--space-lg);
  font-size: 1.05rem;
  font-weight: var(--font-weight-medium);
  font-style: italic;
  color: var(--color-primary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: var(--container-max);
  margin: var(--space-3xl) auto 0;
  padding: 0 1.5rem;
}

.hero-card {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.hero-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border);
}

.hero-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-accent-light);
  color: var(--color-accent);
  flex-shrink: 0;
}

.hero-card-title {
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}

.hero-card-desc {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1.05;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-bg-alt);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-image-badge {
  position: absolute;
  bottom: 24px;
  right: -12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-bg-white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-light);
}

.badge-label {
  font-size: 0.65rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.badge-number {
  font-size: 1.1rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  line-height: 1.2;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--color-primary);
  padding: 1.5rem 0;
}

.trust-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-icon {
  color: var(--color-accent);
  flex-shrink: 0;
  opacity: 0.85;
}

.trust-label {
  display: block;
  font-size: 0.65rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1;
  margin-bottom: 2px;
}

.trust-value {
  display: block;
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-on-dark);
  line-height: 1.2;
}

.trust-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--section-padding) 0;
}

.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section-eyebrow.center {
  text-align: center;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.section-title.center {
  text-align: center;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.section-subtitle.center {
  text-align: center;
  margin: 0 auto var(--space-3xl);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background: var(--color-bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: start;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-alt);
  aspect-ratio: 4 / 3;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.about-content-col {
  padding-top: var(--space-md);
}

.about-credentials {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xs);
}

.about-registration {
  font-size: 0.85rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-accent);
  margin-bottom: var(--space-2xl);
}

.about-details {
  margin-bottom: var(--space-2xl);
}

.about-detail-block {
  margin-bottom: var(--space-xl);
}

.about-detail-heading {
  font-size: 0.8rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border-light);
}

.about-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: var(--space-md);
}

.detail-label {
  font-size: 0.95rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
}

.detail-value {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.about-cta {
  margin-top: var(--space-xl);
}

.about-subtitle {
  font-size: 1.1rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

.about-bio {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.credential-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.credential-chip {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: 100px;
}

.about-association {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-accent-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.association-label {
  font-size: 0.7rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
}

.association-name {
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
}

/* ============================================
   EXPERTISE SECTION
   ============================================ */
.expertise {
  background: var(--color-bg);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.expertise-card {
  position: relative;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.expertise-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border);
}

.expertise-card.featured {
  border-color: var(--color-accent);
  background: linear-gradient(135deg, var(--color-bg-white) 0%, var(--color-accent-light) 100%);
}

.expertise-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-accent-light);
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

.expertise-card.featured .expertise-card-icon {
  background: var(--color-accent);
  color: white;
}

.expertise-card-title {
  font-size: 1.15rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.expertise-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.expertise-card-tag {
  display: inline-block;
  margin-top: var(--space-lg);
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-light);
  border-radius: 100px;
}

/* ============================================
   CLINIC GALLERY SECTION
   ============================================ */
.clinic {
  background: var(--color-bg-white);
}

.clinic-gallery {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.clinic-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-alt);
}

.clinic-photo-card.large {
  grid-row: 1 / 3;
}

.clinic-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.clinic-photo-card:hover .clinic-photo {
  transform: scale(1.02);
}

.clinic-photo-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.25rem 1rem;
  background: linear-gradient(transparent, rgba(19, 38, 51, 0.7));
  color: white;
  font-size: 0.85rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.02em;
}

/* ============================================
   LOCATIONS SECTION
   ============================================ */
.locations {
  background: var(--color-bg);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.location-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.location-card:hover {
  box-shadow: var(--shadow-md);
}

.location-card.primary {
  border-color: var(--color-accent);
  border-width: 2px;
}

.location-card-header {
  padding: var(--space-lg) var(--space-xl) 0;
}

.location-badge {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  font-size: 0.65rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: var(--space-sm);
}

.primary-badge {
  background: var(--color-accent);
  color: white;
}

.secondary-badge {
  background: var(--color-primary);
  color: white;
}

.association-badge {
  background: var(--color-bg-alt);
  color: var(--color-text-secondary);
}

.location-name {
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}

.location-card-body {
  padding: var(--space-lg) var(--space-xl) var(--space-xl);
}

.location-address {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.location-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent);
}

.location-address address {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.location-hours {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: var(--space-xl);
}

.location-hours p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.2rem;
}

.location-note {
  font-size: 0.8rem !important;
  color: var(--color-text-muted) !important;
  font-style: italic;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background: var(--color-bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
  margin-bottom: var(--space-3xl);
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: var(--space-xl);
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-accent-light);
  color: var(--color-accent);
  flex-shrink: 0;
}

.whatsapp-icon {
  background: rgba(37, 211, 102, 0.1);
  color: var(--color-whatsapp);
}

.contact-item-label {
  display: block;
  font-size: 0.7rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.15rem;
}

.contact-item-value {
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
  line-height: 1.5;
  transition: color var(--transition-fast);
}

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

.contact-address {
  font-style: normal;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-actions .btn {
  width: 100%;
  justify-content: center;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
}

.contact-map iframe {
  display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-primary);
  color: var(--color-text-on-dark);
  padding: 2.5rem 0 1.5rem;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  color: white;
  font-weight: var(--font-weight-bold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.footer-clinic-name {
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  color: white;
}

.footer-doctor-name {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.footer-links a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: var(--z-fab);
  display: none;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float.visible {
  display: flex;
}

/* ============================================
   MOBILE BOTTOM ACTION BAR
   ============================================ */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-mobile-bar);
  background: var(--color-bg-white);
  border-top: 1px solid var(--color-border-light);
  padding: 0.5rem;
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
}

.mobile-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.5rem;
  font-size: 0.7rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  text-decoration: none;
  flex: 1;
  text-align: center;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
  min-height: 44px;
  justify-content: center;
}

.mobile-action-item:active {
  background: var(--color-bg-alt);
}

.mobile-action-item svg {
  flex-shrink: 0;
}

/* ============================================
   ANIMATIONS (Reveal on Scroll)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   RESPONSIVE: TABLET
   ============================================ */
@media (max-width: 1024px) {
  .hero-container {
    gap: var(--space-2xl);
  }

  .hero-image-wrapper {
    max-width: 360px;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .locations-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .hero-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   RESPONSIVE: MOBILE
   ============================================ */
@media (max-width: 768px) {
  :root {
    --section-padding: clamp(2.5rem, 6vw, 4rem);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-phone {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-bg-white);
    padding: 80px 1.5rem 2rem;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
    transition: right var(--transition-base);
    overflow-y: auto;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    padding: 0.875rem 0.5rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-border-light);
    border-radius: 0;
  }

  .nav-logo-text {
    font-size: 0.85rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }

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

  .hero-image {
    order: -1;
  }

  .hero-image-wrapper {
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-image-badge {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: -16px;
  }

  .hero-cards {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
  }

  .trust-container {
    gap: var(--space-md);
    justify-content: center;
  }

  .trust-divider {
    display: none;
  }

  .trust-item {
    flex-basis: calc(50% - var(--space-md));
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .clinic-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .clinic-photo-card.large {
    grid-row: auto;
    aspect-ratio: 16/9;
  }

  .clinic-photo-card:not(.large) {
    aspect-ratio: 16/9;
  }

  .mobile-action-bar {
    display: flex;
  }

  .whatsapp-float {
    bottom: 80px;
    right: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  .footer-top {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-bottom {
    text-align: center;
  }

  .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* ============================================
   RESPONSIVE: VERY SMALL SCREENS
   ============================================ */
@media (max-width: 400px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .contact-actions {
    gap: var(--space-sm);
  }

  .location-actions {
    flex-direction: column;
  }

  .location-actions .btn {
    justify-content: center;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .nav-header,
  .whatsapp-float,
  .mobile-action-bar,
  .hero-actions,
  .contact-actions,
  .location-actions,
  .contact-map,
  .footer-links {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .trust-bar {
    background: white;
    border-bottom: 2px solid black;
  }

  .trust-value {
    color: black;
  }

  .trust-label {
    color: gray;
  }
}

/* ============================================
   PLACEHOLDER IMAGE STYLES
   When real photos are not yet available,
   these styles ensure graceful fallback.
   ============================================ */
.hero-photo[src=""],
.about-photo[src=""],
.clinic-photo[src=""] {
  opacity: 0;
}

.hero-image-wrapper:has(.hero-photo[src=""]),
.about-image-wrapper:has(.about-photo[src=""]),
.clinic-photo-card:has(.clinic-photo[src=""]) {
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper:has(.hero-photo[src=""])::after,
.about-image-wrapper:has(.about-photo[src=""])::after,
.clinic-photo-card:has(.clinic-photo[src=""])::after {
  content: "Photo to be provided";
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-style: italic;
}
