/* --------------------------------------------------
   DOCTOR DOM PHYSICAL THERAPY - CLINICAL LUXURY THEME
   Website: doctordom.pt
-------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* High-Trust Medical Palette Matching Dr. Dom Logo */
  --bg-body: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-accent-light: #E0F2FE;

  --navy-dark: #0A192F;
  --navy-medium: #1E293B;
  --navy-light: #334155;

  --brand-lime: #4CAF50;
  --brand-green: #52C41A;
  --brand-blue: #00A8E8;
  --brand-blue-hover: #0086BA;
  --brand-teal: #0D9488;

  --text-main: #0A192F;
  --text-muted: #475569;
  --text-subtle: #64748B;
  
  --border-light: #E2E8F0;
  --border-accent: #BAE6FD;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(10, 25, 47, 0.08);
  --shadow-md: 0 10px 25px -5px rgba(10, 25, 47, 0.08);
  --shadow-lg: 0 20px 45px -10px rgba(0, 168, 232, 0.14);

  --header-bg: rgba(255, 255, 255, 0.96);
  --hero-grad-start: #FFFFFF;
  --footer-bg: #0A192F;

  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --bg-body: #0A0F1D;
  --bg-surface: #111A2E;
  --bg-subtle: #17223B;
  --bg-accent-light: rgba(0, 168, 232, 0.15);

  --navy-dark: #F8FAFC;
  --navy-medium: #E2E8F0;
  --navy-light: #94A3B8;

  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-subtle: #64748B;

  --border-light: #1E293B;
  --border-accent: #0284C7;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 45px -10px rgba(0, 0, 0, 0.65);

  --header-bg: rgba(10, 15, 29, 0.94);
  --hero-grad-start: #111A2E;
  --footer-bg: #060A14;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-brand {
  color: var(--brand-blue);
}

.text-green {
  color: var(--brand-green);
}

/* Dynamic Motion Wave Background */
.hero-motion-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(0, 168, 232, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.85rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.96rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-blue);
  color: #FFFFFF;
  box-shadow: 0 10px 20px -5px rgba(0, 168, 232, 0.35);
}

.btn-primary:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -5px rgba(0, 168, 232, 0.45);
}

.btn-outline {
  background: var(--bg-surface);
  color: var(--navy-dark);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-2px);
}

/* Header Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 0;
  transition: var(--transition-fast);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 1;
}

.logo-mark-img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: contain;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  background: var(--bg-surface);
  padding: 2px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.logo-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--brand-green);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.nav-link {
  color: var(--navy-medium);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--brand-blue);
}

.mobile-menu-cta {
  display: none;
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-light);
  color: var(--navy-dark);
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: var(--border-light);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

:root .theme-toggle-btn .sun-icon {
  display: none;
}
:root .theme-toggle-btn .moon-icon {
  display: block;
}

[data-theme="dark"] .theme-toggle-btn .sun-icon {
  display: block;
  color: #FBBF24;
}
[data-theme="dark"] .theme-toggle-btn .moon-icon {
  display: none;
}

.mobile-toggle {
  display: none;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-light);
  color: var(--navy-dark);
  cursor: pointer;
  padding: 0.45rem;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  line-height: 1;
}

.mobile-toggle:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

/* Hero Section */
.hero {
  padding-top: 8.5rem;
  padding-bottom: 5rem;
  position: relative;
  background: linear-gradient(180deg, var(--hero-grad-start) 0%, var(--bg-body) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.badge-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  background: rgba(82, 196, 26, 0.1);
  border: 1px solid rgba(82, 196, 26, 0.25);
  color: var(--brand-green);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 8px var(--brand-green);
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.trust-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.trust-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-medium);
}

.trust-bullet-item svg {
  color: var(--brand-green);
}

.hero-media-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFFFFF;
}

.hero-media-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.motion-badge-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.motion-pulse-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(82, 196, 26, 0.12);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Section Header */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  color: var(--brand-blue);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: var(--navy-dark);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Movement Grid */
.movement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.movement-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.movement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-accent);
}

.card-header-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.card-medical-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg-accent-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.6;
}

.card-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.card-bullet-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-medium);
}

.card-bullet-list li svg {
  color: var(--brand-green);
}

/* Bio Section */
.doctor-bio-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 5rem 0;
}

.bio-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.doctor-portrait-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFFFFF;
}

.doctor-portrait-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.quote-box {
  background: var(--bg-subtle);
  border-left: 4px solid var(--brand-green);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--navy-medium);
  margin: 1.25rem 0 1.75rem 0;
  font-size: 1.02rem;
}

.degrees-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.degree-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.degree-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  background: rgba(82, 196, 26, 0.12);
  color: var(--brand-green);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
}

.degree-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-dark);
  margin-bottom: 0.25rem;
}

.degree-school {
  font-size: 0.85rem;
  color: var(--text-subtle);
}

/* Conditions Grid */
.conditions-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

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

.condition-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.condition-check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(82, 196, 26, 0.12);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.condition-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.2rem;
}

.condition-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Form Card */
.form-card-fullwidth {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  width: 100%;
}

.consultation-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

.consultation-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-accent-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-dark);
}

.info-item-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
  color: var(--navy-dark);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--navy-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-blue);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.15);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 600px;
  box-shadow: 0 25px 50px -12px rgba(10, 25, 47, 0.25);
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-subtle);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-body {
  padding: 2rem;
}

/* Footer */
.footer {
  background: var(--footer-bg);
  color: #FFFFFF;
  padding: 4.5rem 0 2rem 0;
  margin-top: 5rem;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: #94A3B8;
}

.footer-bottom a {
  color: #38BDF8;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #60A5FA;
  text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .hero-grid, .bio-grid, .movement-grid, .consultation-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
  .degrees-container {
    grid-template-columns: 1fr;
  }
  .conditions-grid-2col {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .logo-mark-img {
    width: 38px;
    height: 38px;
  }
  
  .logo-title {
    font-size: 1.15rem;
  }
  
  .logo-sub {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }

  /* When mobile toggle appears at 1024px, hide desktop auth & booking buttons to prevent crowding */
  .desktop-booking-btn, #userStateArea {
    display: none !important;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu-cta {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 66px;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    box-shadow: var(--shadow-md);
    padding: 1.75rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-150%);
    transition: var(--transition-smooth);
    opacity: 0;
    pointer-events: none;
    z-index: 999;
  }

  .nav-menu.open, .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
}

.mobile-menu-auth {
  display: none !important;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .logo-sub {
    display: none !important;
  }

  .mobile-menu-auth {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
  }

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

  .trust-bullets {
    gap: 0.75rem 1.25rem;
  }

  /* Long button labels wrap instead of stretching the page past the screen */
  .btn {
    white-space: normal;
    text-align: center;
  }

  .movement-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.85rem;
  }

  .logo-title {
    font-size: 1.05rem;
  }

  .logo-mark-img {
    width: 34px;
    height: 34px;
  }

  .nav-actions {
    gap: 0.4rem;
  }

  .theme-toggle-btn {
    width: 35px;
    height: 35px;
  }

  .mobile-toggle {
    padding: 0.4rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.02rem;
  }
}

/* Dark Mode Component Overrides */
[data-theme="dark"] .header {
  border-bottom-color: var(--border-light);
}

[data-theme="dark"] .footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-light);
}

[data-theme="dark"] .modal-container,
[data-theme="dark"] .modal-dialog-content {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-select,
[data-theme="dark"] .form-textarea {
  background: var(--bg-subtle);
  border-color: var(--border-light);
  color: var(--text-main);
}

[data-theme="dark"] .form-input:focus,
[data-theme="dark"] .form-select:focus,
[data-theme="dark"] .form-textarea:focus {
  background: var(--bg-surface);
  border-color: var(--brand-blue);
}

[data-theme="dark"] .btn-outline {
  background: var(--bg-surface);
  border-color: var(--border-light);
  color: var(--navy-dark);
}

[data-theme="dark"] .badge-trust {
  background: rgba(82, 196, 26, 0.15);
  border-color: rgba(82, 196, 26, 0.35);
}

[data-theme="dark"] .motion-badge-card {
  background: rgba(17, 26, 46, 0.95);
  border: 1px solid var(--border-light);
}

[data-theme="dark"] .doctor-portrait-frame,
[data-theme="dark"] .hero-media-frame {
  border-color: var(--border-light);
}

[data-theme="dark"] .quote-box {
  background: var(--bg-subtle);
  color: var(--navy-medium);
}

[data-theme="dark"] .conditions-container {
  background: var(--bg-surface);
  border-color: var(--border-light);
}

[data-theme="dark"] .service-area-card {
  background: var(--bg-surface);
}

[data-theme="dark"] .service-area-card:hover {
  background: var(--bg-subtle);
  border-color: var(--brand-blue);
}

[data-theme="dark"] .local-seo-callout {
  background: linear-gradient(135deg, #111A2E 0%, #172540 100%);
  border-color: var(--border-accent);
}

/* Sister Site Callout Banner */
.sister-site-banner {
  background: linear-gradient(135deg, #0A192F 0%, #1E293B 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  color: #FFFFFF;
  margin-top: 3rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.sister-site-banner p {
  font-size: 1.1rem;
  color: #E2E8F0;
  max-width: 680px;
  line-height: 1.6;
}

.btn-sister-site {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--brand-blue) 0%, #0284C7 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 168, 232, 0.35);
  transition: all 0.25s ease;
}

.btn-sister-site:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 232, 0.5);
  color: #FFFFFF;
}

/* Students Hub Card */
.students-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.students-tag-badge {
  display: inline-block;
  background: var(--bg-accent-light);
  color: var(--brand-blue);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

/* --------------------------------------------------
   LOCAL SERVICE AREAS & GEO SEO CONTENT
-------------------------------------------------- */
.service-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.service-area-card {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.service-area-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-accent);
  background: var(--bg-surface);
}

.service-area-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-area-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
}

.service-area-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}

.service-area-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: var(--bg-accent-light);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  width: fit-content;
  border: 1px solid var(--border-accent);
}

.local-seo-callout {
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  border: 1.5px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .service-areas-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .local-seo-callout {
    padding: 1.25rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .local-seo-callout .btn {
    width: 100%;
  }
}

/* ==================================================
   GLOBAL DARK MODE COMPONENT OVERRIDES
================================================== */
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background: var(--bg-subtle) !important;
  color: var(--text-main) !important;
  border-color: var(--border-light) !important;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
  color: var(--text-subtle) !important;
}

[data-theme="dark"] .modal-dialog-content,
[data-theme="dark"] .modal-content,
[data-theme="dark"] .auth-modal-content,
[data-theme="dark"] .pin-card {
  background: var(--bg-surface) !important;
  color: var(--text-main) !important;
  border: 1px solid var(--border-light) !important;
}

[data-theme="dark"] .modal-dialog-content h1,
[data-theme="dark"] .modal-dialog-content h2,
[data-theme="dark"] .modal-dialog-content h3,
[data-theme="dark"] .modal-dialog-content h4,
[data-theme="dark"] .modal-dialog-content label,
[data-theme="dark"] .modal-dialog-content strong {
  color: var(--text-main) !important;
}

[data-theme="dark"] .btnGoogleAuth {
  background: var(--bg-subtle) !important;
  color: var(--text-main) !important;
  border-color: var(--border-light) !important;
}

[data-theme="dark"] .local-seo-callout {
  background: linear-gradient(135deg, rgba(0, 168, 232, 0.12) 0%, rgba(2, 132, 199, 0.08) 100%);
  border-color: rgba(0, 168, 232, 0.3);
}

