/* ==========================================================================
   TWÓJ PARASOL - Style Sheet
   Modern, Accessible, Ultra-fast Static Design
   Default: Dark Mode with Light Theme Toggle & Balanced Hero Layout
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design Tokens & Themes
   Default: Dark Theme (:root and [data-theme="dark"])
   -------------------------------------------------------------------------- */
:root,
[data-theme="dark"] {
  --primary: #38bdf8;
  --primary-dark: #0284c7;
  --primary-light: rgba(56, 189, 248, 0.12);
  --primary-gradient: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  --primary-hover: #0284c7;
  --accent: #38bdf8;
  --accent-light: rgba(56, 189, 248, 0.12);
  --accent-hover: #7dd3fc;
  --emerald: #10b981;
  --emerald-light: rgba(16, 185, 129, 0.15);
  --warning: #fbbf24;
  --warning-bg: rgba(245, 158, 11, 0.12);
  --warning-border: rgba(245, 158, 11, 0.35);

  --text-main: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-white: #ffffff;

  --bg-page: #0b0f19;
  --bg-card: #131b2e;
  --bg-card-hover: #18233c;
  --bg-alt: #0f172a;
  --bg-header: rgba(11, 15, 25, 0.92);

  --border: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.06);
  --border-focus: #38bdf8;

  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 35px -5px rgba(0, 0, 0, 0.65);

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

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container-max: 1200px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Override */
[data-theme="light"] {
  --primary: #1e3a8a;
  --primary-dark: #172554;
  --primary-light: #eff6ff;
  --primary-gradient: linear-gradient(135deg, #1e3a8a 0%, #0369a1 100%);
  --primary-hover: #172554;
  --accent: #0284c7;
  --accent-light: #e0f2fe;
  --accent-hover: #0369a1;
  --emerald: #059669;
  --emerald-light: #ecfdf5;
  --warning: #b45309;
  --warning-bg: #fffbeb;
  --warning-border: #fde68a;

  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-white: #ffffff;

  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-alt: #f1f5f9;
  --bg-header: rgba(255, 255, 255, 0.95);

  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --border-focus: #38bdf8;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 35px -5px rgba(0, 0, 0, 0.12), 0 8px 12px -6px rgba(0, 0, 0, 0.05);
}

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

html, body {
  overflow-x: hidden;
  width: 100%;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

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

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand-logo:hover {
  color: var(--accent);
}

.brand-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

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

.nav-link {
  font-weight: 600;
  color: var(--text-body);
  font-size: 0.925rem;
  padding: 0.5rem 0.25rem;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   Theme Switcher Button
   -------------------------------------------------------------------------- */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
  outline: none;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background-color: var(--bg-card);
  border-color: var(--border-focus);
  color: var(--accent);
  transform: rotate(15deg);
}

/* Sun/Moon visibility based on active theme */
:root .icon-sun,
[data-theme="dark"] .icon-sun {
  display: block;
  color: #facc15;
}
:root .icon-moon,
[data-theme="dark"] .icon-moon {
  display: none;
}

[data-theme="light"] .icon-sun {
  display: none;
}
[data-theme="light"] .icon-moon {
  display: block;
  color: #475569;
}

/* --------------------------------------------------------------------------
   Language Dropdown Menu
   -------------------------------------------------------------------------- */
.lang-dropdown {
  position: relative;
}

.lang-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.lang-dropdown-btn:hover,
.lang-dropdown.open .lang-dropdown-btn {
  background-color: var(--bg-card);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-sm);
}

.flag-icon {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  display: inline-block;
  box-shadow: 0 0 1px rgba(0,0,0,0.3);
  object-fit: cover;
  flex-shrink: 0;
}

.dropdown-chevron {
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.lang-dropdown.open .dropdown-chevron {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  list-style: none;
  min-width: 175px;
  padding: 0.4rem;
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 100;
  animation: fadeInDown 0.15s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-dropdown.open .lang-dropdown-menu {
  display: flex;
}

.lang-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--transition);
}

.lang-dropdown-item:hover {
  background-color: var(--bg-alt);
  color: var(--accent);
}

.lang-dropdown-item.active {
  background-color: var(--primary-light);
  color: var(--accent);
  font-weight: 700;
}

.lang-code-tag {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

[data-theme="light"] .lang-code-tag {
  background: rgba(0, 0, 0, 0.05);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   Hero Section (Balanced 2-column layout)
   -------------------------------------------------------------------------- */
.hero {
  padding: 3.5rem 0 4.5rem;
  background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-alt) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, rgba(11, 15, 25, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 3.25rem;
  align-items: start;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-light);
  color: var(--accent);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  width: fit-content;
}

.hero-title {
  font-size: clamp(2.1rem, 3.8vw, 2.85rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.hero-title span {
  color: var(--primary);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 1rem;
  color: var(--text-body);
}

.hero-description strong, .hero-description b {
  color: var(--text-main);
  font-weight: 600;
}

/* Features 2x2 Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.feature-card-mini {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-card-mini:hover {
  border-color: var(--border-focus);
  background-color: var(--bg-card-hover);
  transform: translateY(-1px);
}

.feature-card-mini svg {
  color: var(--emerald);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Hero Sidebar (Prominent Download Card + Alert + Media)
   -------------------------------------------------------------------------- */
.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

/* Prominent Google Play Card at the TOP right */
.hero-download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: var(--transition);
}

:root .hero-download-card,
[data-theme="dark"] .hero-download-card {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(19, 27, 46, 0.98) 100%);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 10px 30px -5px rgba(2, 132, 199, 0.25);
}

[data-theme="light"] .hero-download-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  border-color: #bae6fd;
  box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.12);
}

.hero-download-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.hero-download-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.hero-download-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-download-info {
  flex: 1;
  min-width: 180px;
}

.hero-download-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.hero-download-sub {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.store-badge-glow {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-md);
  transition: var(--transition);
  flex-shrink: 0;
}

.store-badge-glow img {
  height: 52px;
  width: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.store-badge-glow:hover img {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

/* Alert Box (Yellow / Amber discretion banner) */
.alert-box {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

:root .alert-box,
[data-theme="dark"] .alert-box {
  background-color: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-left: 4px solid #fbbf24;
  color: #fde68a;
}

[data-theme="light"] .alert-box {
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #b45309;
  color: #92400e;
}

.alert-body {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert-body svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

:root .alert-body svg,
[data-theme="dark"] .alert-body svg {
  stroke: #fbbf24;
}

[data-theme="light"] .alert-body svg {
  stroke: #b45309;
}

.alert-link {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.alert-link:hover {
  color: var(--accent);
}

.alert-dismiss {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0.2rem 0.35rem;
  border-radius: 4px;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  opacity: 0.75;
  transition: var(--transition);
  flex-shrink: 0;
}

.alert-dismiss:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

/* Media Card (Video Player) */
.media-card {
  background: var(--bg-card);
  padding: 1.35rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

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

.media-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.video-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #000000;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-caption {
  font-size: 0.825rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Psychology Clinics / Advertisement Section
   -------------------------------------------------------------------------- */
.psychology-section {
  padding: 5.5rem 0;
  background-color: var(--bg-alt);
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-light);
  color: var(--accent);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.45rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.65;
}

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

.clinic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
}

.clinic-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-focus);
}

.clinic-thumb {
  position: relative;
  height: 210px;
  overflow: hidden;
  background-color: var(--bg-alt);
}

.clinic-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.clinic-card:hover .clinic-thumb img {
  transform: scale(1.05);
}

.clinic-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.clinic-badge.clinic-badge-online {
  background: #047857;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.4);
}

.clinic-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 1.1rem;
}

.clinic-header-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 52px;
}

.clinic-logo-wrap {
  max-width: 145px;
  max-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

:root .clinic-logo-wrap,
[data-theme="dark"] .clinic-logo-wrap {
  background: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .clinic-logo-wrap {
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.clinic-logo-wrap img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.clinic-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.clinic-desc {
  font-size: 0.925rem;
  color: var(--text-body);
  line-height: 1.6;
  flex-grow: 1;
}

.clinic-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-body);
}

.clinic-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.clinic-features svg {
  color: var(--emerald);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.clinic-cta {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.8rem 1.25rem;
  background-color: #0369a1;
  color: #ffffff;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.925rem;
  text-align: center;
  transition: var(--transition);
}

:root .clinic-cta,
[data-theme="dark"] .clinic-cta {
  background-color: #0369a1;
  color: #ffffff;
}

:root .clinic-cta:hover,
[data-theme="dark"] .clinic-cta:hover {
  background-color: #075985;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4);
}

[data-theme="light"] .clinic-cta {
  background-color: var(--primary);
  color: #ffffff;
}

[data-theme="light"] .clinic-cta:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.28);
}

.clinic-cta svg {
  transition: transform 0.2s ease;
}

.clinic-cta:hover svg {
  transform: translateX(4px);
}

/* Trust Banner */
.trust-banner {
  margin-top: 3.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.trust-banner svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Partners & Developer Section
   -------------------------------------------------------------------------- */
.partners-section {
  padding: 5rem 0;
  background-color: var(--bg-page);
}

.partners-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.partners-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  text-align: center;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
  align-items: center;
}

.partner-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 140px;
  transition: var(--transition);
  text-align: center;
}

.partner-item:hover {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

:root .partner-item img,
[data-theme="dark"] .partner-item img {
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  max-height: 60px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
}

[data-theme="light"] .partner-item img {
  max-height: 64px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.partner-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* EU Funding Card */
.eu-funding-card {
  margin-top: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--shadow-sm);
}

:root .eu-funding-card img,
[data-theme="dark"] .eu-funding-card img {
  background: #ffffff;
  padding: 6px 10px;
  border-radius: 6px;
  max-height: 48px;
  width: auto;
  flex-shrink: 0;
}

[data-theme="light"] .eu-funding-card img {
  max-height: 46px;
  width: auto;
  flex-shrink: 0;
}

.eu-funding-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Developer Info Card (Subtle on bottom) */
.developer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-sm);
}

.developer-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.developer-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.developer-desc {
  font-size: 0.95rem;
  color: var(--text-body);
}

.developer-logo-link {
  flex-shrink: 0;
  display: inline-block;
  transition: var(--transition);
}

.developer-logo-link:hover {
  transform: translateY(-2px);
}

:root .developer-logo-link img,
[data-theme="dark"] .developer-logo-link img {
  height: 44px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  padding: 6px 10px;
  border-radius: 8px;
}

[data-theme="light"] .developer-logo-link img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Emergency Helplines Bar
   -------------------------------------------------------------------------- */
.emergency-bar {
  background: #090e1a;
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  color: #ffffff;
}

.emergency-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.emergency-header svg {
  color: #38bdf8;
}

.helplines-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.helpline-item {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.helpline-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.02em;
}

.helpline-text {
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #060911;
  color: #94a3b8;
  padding: 4rem 0 2.5rem;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-light);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-title {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-brand-desc {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col-title {
  color: #ffffff;
  font-size: 0.925rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer-links a {
  color: #94a3b8;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: #94a3b8;
}

.footer-credit a {
  color: #94a3b8;
  text-decoration: underline;
}

.footer-credit a:hover {
  color: #38bdf8;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-sidebar {
    order: 2;
  }

  .media-card {
    max-width: 100%;
  }

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

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

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

@media (max-width: 768px) {
  .site-nav {
    display: none;
  }

  .site-nav.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    border-bottom: 1px solid var(--border);
    gap: 1.25rem;
    z-index: 100;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.75rem;
  }

  .mobile-toggle {
    display: block;
  }

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

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

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

  .developer-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .eu-funding-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .helplines-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==============================================================================
   Video Transcript & FAQ Accordion (SEO & Accessibility Enhancements)
   ============================================================================== */
.video-transcript {
  margin-top: 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--text-body);
}

.transcript-toggle {
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  padding: 0.25rem 0;
  user-select: none;
}

.transcript-toggle:hover {
  color: var(--color-primary);
}

.transcript-content {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  line-height: 1.6;
}

.transcript-content ol {
  padding-left: 1.25rem;
  margin: 0;
}

.transcript-content li {
  margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-section {
  padding: 4.5rem 0;
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-grid {
  max-width: 850px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.35rem;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-focus);
}

.faq-question {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-answer {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  color: var(--text-body);
  line-height: 1.65;
  font-size: 0.95rem;
}

