/* ===== Victoria Social Projects – Warm Human Design ===== */

:root {
  --blue: #2b7a9e;
  --blue-light: #4a9fbe;
  --blue-dark: #1f5f7a;
  --green: #3d8b5f;
  --green-light: #5aab7a;
  --green-dark: #2d6b4a;
  --orange: #d97b2b;
  --orange-light: #f0a04d;
  --orange-dark: #b85f15;
  --red: #c94a4a;
  --red-dark: #a83838;
  --warm: #f5ebe0;
  --warm-dark: #e8d5c4;
  --dark: #2c2419;
  --dark-soft: #4a4035;
  --gray-900: #1f1a15;
  --gray-700: #5c534a;
  --gray-500: #8a8178;
  --gray-300: #d4ccc3;
  --gray-200: #e8e2db;
  --gray-100: #f3efe9;
  --gray-50: #faf8f5;
  --white: #ffffff;
  --shadow-sm: 0 2px 12px rgba(44, 36, 25, 0.06);
  --shadow: 0 8px 32px rgba(44, 36, 25, 0.08);
  --shadow-lg: 0 20px 56px rgba(44, 36, 25, 0.1);
  --shadow-xl: 0 28px 72px rgba(44, 36, 25, 0.14);
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Source Serif 4', Georgia, serif;
  --header-h: 96px;
  --top-bar-h: 42px;
  --gradient-brand: linear-gradient(135deg, var(--blue) 0%, var(--green) 50%, var(--orange) 100%);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top-bar-h) + var(--header-h) + 16px);
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-700);
  background: var(--gray-50);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Lucide Icons ===== */
.icon,
.lucide {
  display: block;
  flex-shrink: 0;
  stroke: currentColor;
}

.icon-xs { width: 14px; height: 14px; stroke-width: 2; }
.icon-sm { width: 16px; height: 16px; stroke-width: 2; }
.icon-md { width: 22px; height: 22px; stroke-width: 2; }
.icon-lg { width: 32px; height: 32px; stroke-width: 1.75; }
.icon-xl { width: 40px; height: 40px; stroke-width: 1.75; }

.intro-icon .icon,
.intro-icon .lucide { width: 32px; height: 32px; stroke-width: 1.75; }

.service-icon .icon,
.service-icon .lucide { width: 34px; height: 34px; stroke-width: 1.75; }

.value-icon .icon,
.value-icon .lucide { width: 32px; height: 32px; stroke-width: 1.75; }

.contact-icon .icon,
.contact-icon .lucide { width: 22px; height: 22px; stroke-width: 2; }

.contact-quick-icon .icon,
.contact-quick-icon .lucide { width: 22px; height: 22px; stroke-width: 2; }

.mediation-link-icon .icon,
.mediation-link-icon .lucide { width: 32px; height: 32px; stroke-width: 1.75; }

.about-mv-icon .icon,
.about-mv-icon .lucide { width: 40px; height: 40px; stroke-width: 1.75; }

.job-meta-item .icon,
.job-meta-item .lucide { width: 16px; height: 16px; stroke-width: 2; }

.job-portal-badge .icon,
.job-portal-badge .lucide { width: 14px; height: 14px; stroke-width: 2; }

.job-portal-cta .icon,
.job-portal-cta .lucide { width: 16px; height: 16px; stroke-width: 2; }

.top-bar-item .icon,
.top-bar-item .lucide { width: 16px; height: 16px; stroke-width: 2; }

.intro-icon svg:not(.lucide) { width: 100%; height: 100%; }

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--blue-dark); }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Scroll reveal – conținut vizibil implicit; animația pornește doar cu JS */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.reveal-js .reveal {
  opacity: 0;
  transform: translateY(32px);
}

html.reveal-js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Site header (sticky) ===== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

#site-header.scrolled .header-shell {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

/* ===== Header ===== */
.header-shell {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar-item svg {
  flex-shrink: 0;
  opacity: 0.6;
  color: var(--blue-light);
}

.top-bar a {
  color: rgba(255, 255, 255, 0.85);
}

.top-bar a:hover { color: var(--white); }

.top-bar-right {
  font-weight: 600;
  letter-spacing: 0.3px;
}

.logo img {
  height: 88px;
  width: auto;
  transition: transform var(--transition);
}

.logo:hover img { transform: scale(1.02); }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-list > li > a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-soft);
  border-radius: 10px;
  transition: all var(--transition);
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
  color: var(--blue);
  background: rgba(26, 143, 209, 0.08);
}

.nav-donate {
  background: linear-gradient(135deg, var(--red), var(--red-dark)) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.35);
  margin-left: 8px;
}

.nav-donate:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(229, 57, 53, 0.45) !important;
  color: var(--white) !important;
}

.has-dropdown { position: relative; }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 10px;
}

.dropdown li a:hover {
  background: var(--gray-100);
  color: var(--blue);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.3px;
  white-space: nowrap;
  touch-action: manipulation;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(26, 143, 209, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26, 143, 209, 0.45);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-3px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-full { width: 100%; }
.btn-sm { padding: 11px 22px; font-size: 13px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
}

.hero-bg-pattern {
  display: none;
}

.hero-slider {
  height: 100%;
  min-height: 680px;
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  overflow: hidden;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s ease;
  z-index: 0;
}

.hero-slide.active .hero-bg-photo {
  transform: scale(1);
}

.hero-slide[data-color="blue"] .hero-overlay {
  background: linear-gradient(105deg, rgba(31, 26, 21, 0.78) 0%, rgba(43, 122, 158, 0.55) 55%, rgba(31, 26, 21, 0.35) 100%);
}

.hero-slide[data-color="green"] .hero-overlay {
  background: linear-gradient(105deg, rgba(31, 26, 21, 0.78) 0%, rgba(61, 139, 95, 0.55) 55%, rgba(31, 26, 21, 0.35) 100%);
}

.hero-slide[data-color="orange"] .hero-overlay {
  background: linear-gradient(105deg, rgba(31, 26, 21, 0.78) 0%, rgba(217, 123, 43, 0.55) 55%, rgba(31, 26, 21, 0.35) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-content {
  color: var(--white);
  animation: fadeUp 0.9s ease;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 24px;
}

.hero-tag::before {
  content: '♥';
  font-size: 11px;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.hero-content p {
  font-size: 18px;
  opacity: 0.92;
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo-frame {
  position: relative;
  background: var(--white);
  padding: 12px 12px 48px;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  transform: rotate(2deg);
  animation: fadeUp 1s ease 0.2s both;
  max-width: 340px;
  transition: transform var(--transition);
}

.hero-slide.active .hero-photo-frame {
  transform: rotate(2deg) translateY(0);
}

.hero-photo-frame:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-photo-frame img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.hero-photo-caption {
  position: absolute;
  bottom: 14px;
  left: 20px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  color: var(--dark-soft);
  text-align: center;
  line-height: 1.3;
}

.hero-controls {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-prev, .hero-next {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}

.hero-prev:hover, .hero-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

.hero-dots { display: flex; gap: 10px; }

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.hero-dot.active {
  background: var(--white);
  width: 32px;
  border-radius: 6px;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  line-height: 0;
  color: var(--gray-50);
}

.hero-wave svg path {
  fill: var(--gray-50);
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Intro Cards ===== */
.intro-cards {
  margin-top: -72px;
  position: relative;
  z-index: 10;
  padding-bottom: 32px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.intro-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.intro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transition: height var(--transition);
}

.intro-card-blue::before { background: linear-gradient(90deg, var(--blue), var(--blue-light)); }
.intro-card-green::before { background: linear-gradient(90deg, var(--green), var(--green-light)); }
.intro-card-orange::before { background: linear-gradient(90deg, var(--orange), var(--orange-light)); }

.intro-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.intro-card:hover::before { height: 6px; }

.intro-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 22px;
  padding: 14px;
  border-radius: 16px;
  transition: transform var(--transition);
}

.intro-card-blue .intro-icon { background: rgba(26, 143, 209, 0.1); color: var(--blue); }
.intro-card-green .intro-icon { background: rgba(67, 160, 71, 0.1); color: var(--green); }
.intro-card-orange .intro-icon { background: rgba(245, 124, 0, 0.1); color: var(--orange); }

.intro-card:hover .intro-icon { transform: scale(1.08) rotate(-3deg); }

.intro-icon svg { width: 100%; height: 100%; }

.intro-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.intro-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header { margin-bottom: 56px; }

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.section-header.center .section-label::before { display: none; }

.section-label.light {
  color: rgba(255, 255, 255, 0.9);
}

.section-label.light::before { background: rgba(255, 255, 255, 0.6); }

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.section-desc {
  margin-top: 18px;
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===== About ===== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.8;
}

.about-content .lead {
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.75;
  padding-left: 20px;
  border-left: 3px solid var(--blue);
}

.about-content p {
  margin-bottom: 16px;
  color: var(--gray-700);
}

.about-side {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.about-mission {
  background: linear-gradient(135deg, rgba(229, 57, 53, 0.06), rgba(229, 57, 53, 0.02));
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(229, 57, 53, 0.12);
}

.mission-icon { width: 48px; margin-bottom: 16px; }

.about-mission h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.about-activities {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-200);
}

.about-activities li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--gray-700);
}

.about-activities li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  background: rgba(67, 160, 71, 0.12);
  color: var(--green);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Stats Strip ===== */
.stats-strip {
  padding: 48px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?w=1920&q=60&auto=format&fit=crop') center/cover no-repeat;
  opacity: 0.12;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.stat-box {
  text-align: center;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
}

.stat-box:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.stat-box-num {
  display: inline;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-box-plus {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--blue-light);
}

.stat-box-label {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 8px;
  font-weight: 500;
}

/* ===== Values ===== */
.values {
  padding: 100px 0;
  background: var(--gray-50);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.value-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: transform var(--transition);
}

.value-item:hover .value-icon { transform: scale(1.1); }

.value-icon svg { width: 32px; height: 32px; }

.value-blue { background: linear-gradient(135deg, rgba(26,143,209,0.15), rgba(26,143,209,0.05)); color: var(--blue); }
.value-red { background: linear-gradient(135deg, rgba(229,57,53,0.15), rgba(229,57,53,0.05)); color: var(--red); }
.value-orange { background: linear-gradient(135deg, rgba(245,124,0,0.15), rgba(245,124,0,0.05)); color: var(--orange); }
.value-green { background: linear-gradient(135deg, rgba(67,160,71,0.15), rgba(67,160,71,0.05)); color: var(--green); }

.value-item h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.value-item p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== Services ===== */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}

.service-icon svg { width: 34px; height: 34px; }

.service-blue { background: linear-gradient(135deg, rgba(26,143,209,0.15), rgba(26,143,209,0.05)); color: var(--blue); }
.service-green { background: linear-gradient(135deg, rgba(67,160,71,0.15), rgba(67,160,71,0.05)); color: var(--green); }
.service-orange { background: linear-gradient(135deg, rgba(245,124,0,0.15), rgba(245,124,0,0.05)); color: var(--orange); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}

.service-card p {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 24px;
  line-height: 1.7;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  transition: gap var(--transition);
}

.service-link:hover {
  color: var(--blue-dark);
  gap: 10px;
}

/* ===== Mediation ===== */
.mediation {
  background: var(--gray-50);
  position: relative;
}

.mediation-about {
  background: var(--white);
  scroll-margin-top: calc(var(--top-bar-h) + var(--header-h) + 72px);
}

.mediation-about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.mediation-about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.mediation-about-content .lead {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 18px;
  line-height: 1.75;
}

.mediation-about-content p {
  color: var(--gray-700);
  margin-bottom: 16px;
  line-height: 1.75;
}

.mediation-about-img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.mediation-about-visual {
  height: 100%;
}

.mediation-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.mediation-content h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 18px;
  line-height: 1.25;
}

.mediation-content p {
  margin-bottom: 14px;
  color: var(--gray-700);
  line-height: 1.75;
  font-size: 15px;
}

.mediation-content .lead {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-soft);
  line-height: 1.7;
  margin-bottom: 14px;
}

.mediation-service-list {
  margin-top: 8px;
}

.mediation-steps {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
  padding-bottom: 48px;
}

.mediation-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}

.mediation-steps-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 18%;
  right: 18%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--blue), var(--green));
  opacity: 0.18;
  z-index: 0;
}

.mediation-step {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px 26px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  overflow: hidden;
}

.mediation-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.mediation-step-orange::before { background: linear-gradient(90deg, var(--orange), var(--orange-light)); }
.mediation-step-blue::before { background: linear-gradient(90deg, var(--blue), var(--blue-light)); }
.mediation-step-green::before { background: linear-gradient(90deg, var(--green), var(--green-light)); }

.mediation-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.mediation-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.mediation-step-orange .mediation-step-icon {
  background: linear-gradient(135deg, rgba(217, 123, 43, 0.14), rgba(217, 123, 43, 0.05));
  color: var(--orange);
}

.mediation-step-blue .mediation-step-icon {
  background: linear-gradient(135deg, rgba(43, 122, 158, 0.14), rgba(43, 122, 158, 0.05));
  color: var(--blue);
}

.mediation-step-green .mediation-step-icon {
  background: linear-gradient(135deg, rgba(61, 139, 95, 0.14), rgba(61, 139, 95, 0.05));
  color: var(--green);
}

.mediation-step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 6px;
}

.mediation-step h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.mediation-step p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

.mediation-visual-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mediation-image-wrap {
  overflow: hidden;
  margin-bottom: 0;
  border-radius: 0;
  box-shadow: none;
}

.mediation-image-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.mediation-stats-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  border-radius: 0;
  border-top: 1px solid var(--gray-200);
}

.mediation-stats-card .mediation-stat {
  padding: 24px 16px;
  border-bottom: none;
  border-right: 1px solid var(--gray-200);
}

.mediation-stats-card .mediation-stat:last-child {
  border-right: none;
}

.mediation-stats-card .stat-number {
  font-size: 36px;
}

.mediation-stats-card .stat-suffix {
  font-size: 24px;
}

.mediation-stats-card .stat-label {
  font-size: 12px;
  margin-top: 4px;
}

.mediation-links {
  background: var(--white);
  padding-top: 32px;
}

/* ===== Job portals (Mediere) ===== */
.job-portals {
  position: relative;
  z-index: 10;
  margin-top: -48px;
  padding-bottom: 16px;
}

.job-portals-panel {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.job-portals-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 420px 280px at 0% 0%, rgba(43, 122, 158, 0.07), transparent 70%),
    radial-gradient(ellipse 380px 260px at 100% 100%, rgba(217, 123, 43, 0.08), transparent 70%);
}

.job-portals-intro {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
}

.job-portals-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.2;
}

.job-portals-intro p {
  color: var(--gray-700);
  line-height: 1.75;
  font-size: 16px;
  margin: 0;
}

.job-portals-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.job-portal-card {
  position: relative;
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  color: inherit;
  height: 100%;
}

.job-portal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}

.job-portal-card-anofm:hover {
  border-color: rgba(43, 122, 158, 0.35);
}

.job-portal-card-ejobs:hover {
  border-color: rgba(232, 93, 4, 0.35);
}

.job-portal-card-accent {
  height: 4px;
  width: 100%;
}

.job-portal-card-anofm .job-portal-card-accent {
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
}

.job-portal-card-ejobs .job-portal-card-accent {
  background: linear-gradient(90deg, #e85d04, #f48c06);
}

.job-portal-card-inner {
  display: grid;
  grid-template-columns: minmax(140px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
  padding: 24px 26px 26px;
}

.job-portal-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 20px 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--gray-200);
}

.job-portal-logo img {
  width: min(180px, 100%);
  height: auto;
  max-height: 56px;
  object-fit: contain;
  background: #fff;
}

.job-portal-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.job-portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.job-portal-badge-anofm {
  background: rgba(43, 122, 158, 0.1);
  color: var(--blue-dark);
}

.job-portal-badge-ejobs {
  background: rgba(232, 93, 4, 0.1);
  color: #c2410c;
}

.job-portal-body h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 21px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.job-portal-body p {
  color: var(--gray-700);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 16px;
}

.job-portal-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  transition: gap var(--transition), color var(--transition);
}

.job-portal-card-anofm:hover .job-portal-cta {
  color: var(--blue-dark);
  gap: 12px;
}

.job-portal-card-ejobs:hover .job-portal-cta {
  color: #e85d04;
  gap: 12px;
}

.mediation-cta-bottom {
  background: var(--white);
  padding-bottom: 96px;
}

/* ===== Jobs page ===== */
.jobs-page {
  background: var(--gray-50);
  padding-bottom: 100px;
}

.jobs-empty {
  text-align: center;
  margin: 0 0 48px;
  padding: 48px 32px;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.jobs-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(217, 123, 43, 0.14), rgba(217, 123, 43, 0.05));
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.jobs-empty h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.3;
}

.jobs-empty p {
  color: var(--gray-700);
  line-height: 1.75;
  font-size: 15px;
  margin-bottom: 12px;
}

.jobs-empty-note {
  padding: 16px 20px;
  background: var(--warm);
  border-radius: var(--radius);
  border: 1px solid var(--warm-dark);
  font-size: 14px !important;
  margin-top: 8px !important;
  margin-bottom: 0 !important;
}

.job-offer-form {
  margin: 0 0 48px;
}

.jobs-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.jobs-intro-text h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.jobs-intro-text p {
  color: var(--gray-700);
  line-height: 1.65;
}

.jobs-intro-stat {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 36px;
  box-shadow: var(--shadow-sm);
}

.jobs-count {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.jobs-count-label {
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 600;
}

.jobs-search-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.job-card-top {
  margin-bottom: 16px;
}

.job-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.job-meta-item svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.job-badge-part {
  background: rgba(43, 122, 158, 0.12);
  color: var(--blue-dark);
}

.jobs-cta {
  margin-top: 48px;
}

.jobs-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
}

.jobs-cta-inner h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.jobs-cta-inner p {
  color: var(--gray-500);
  font-size: 15px;
}

/* ===== CV page ===== */
.cv-page {
  background: var(--gray-50);
  padding-bottom: 100px;
}

.cv-page-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.cv-sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.cv-sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.cv-benefits li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.5;
}

.cv-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.cv-sidebar-steps {
  background: var(--warm);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 20px;
}

.cv-sidebar-steps h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark-soft);
  margin-bottom: 14px;
}

.cv-steps-list {
  list-style: none;
  counter-reset: cvstep;
}

.cv-steps-list li {
  counter-increment: cvstep;
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.5;
}

.cv-steps-list li::before {
  content: counter(cvstep);
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cv-sidebar-link {
  font-size: 15px;
}

.cv-form-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--gray-100);
}

.cv-form-header h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.cv-form-header p {
  font-size: 14px;
  color: var(--gray-500);
}

.cv-form-section {
  margin-bottom: 32px;
}

.cv-form-section-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-200);
}

.mediation-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.mediation-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  gap: 36px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.mediation-stat {
  text-align: center;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--gray-200);
}

.mediation-stat:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--blue);
}

.stat-label {
  display: block;
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 6px;
  font-weight: 500;
}

/* ===== Projects ===== */
.projects {
  background: var(--gray-50);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(67, 160, 71, 0.1);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.project-status::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

.project-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}

.project-card p {
  color: var(--gray-500);
  margin-bottom: 20px;
  line-height: 1.7;
}

/* ===== Donate ===== */
.donate {
  background: var(--white);
}

.donate-box {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  background: linear-gradient(135deg, #c62828 0%, var(--red) 40%, #ef5350 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: var(--white);
  box-shadow: 0 24px 64px rgba(229, 57, 53, 0.35);
  position: relative;
}

.donate-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.donate-content {
  padding: 56px;
  position: relative;
  z-index: 1;
}

.donate-content h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.donate-content > p {
  opacity: 0.92;
  margin-bottom: 32px;
  font-size: 17px;
}

.donate-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.donate-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

.donate-info {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
}

.donate-info-item {
  margin-bottom: 10px;
  font-size: 15px;
}

.donate-info-item:last-child { margin-bottom: 0; }

.donate-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.12);
  padding: 56px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.donate-percent {
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.donate-percent span { font-size: 56px; }

.donate-visual p {
  font-size: 18px;
  opacity: 0.92;
  margin-top: 16px;
  line-height: 1.5;
}

/* ===== Contact ===== */
.contact {
  background: var(--gray-50);
  padding-bottom: 100px;
}

.contact-quick {
  margin-top: -48px;
  position: relative;
  z-index: 10;
  padding-bottom: 24px;
}

.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-quick-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
  color: inherit;
}

a.contact-quick-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-light);
  color: inherit;
}

.contact-quick-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(43, 122, 158, 0.1);
  color: var(--blue);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-quick-icon svg {
  width: 22px;
  height: 22px;
}

.contact-quick-card strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-quick-card span {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.4;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.2;
}

.contact-info-desc {
  color: var(--gray-700);
  margin-bottom: 24px;
  line-height: 1.65;
  font-size: 15px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
}

.contact-item {
  display: flex;
  gap: 18px;
  margin-bottom: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item:hover {
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.contact-map-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  background: var(--gray-200);
}

.contact-map iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

.contact-help {
  background: var(--warm);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  border: 1px solid var(--warm-dark);
}

.contact-help h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}

.contact-help ul {
  list-style: none;
}

.contact-help li {
  margin-bottom: 8px;
}

.contact-help a {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-dark);
}

.contact-help a:hover {
  color: var(--blue);
}

.contact-form-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--gray-100);
}

.contact-form-header h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.contact-form-header p {
  font-size: 14px;
  color: var(--gray-500);
}

.contact-form .form-title {
  display: none;
}

.contact-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(26,143,209,0.12), rgba(26,143,209,0.04));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.contact-icon svg { width: 22px; height: 22px; }

.contact-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px 18px;
  font-family: var(--font);
  font-size: 15px;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  background: var(--gray-50);
  transition: all var(--transition);
  color: var(--dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(26, 143, 209, 0.1);
}

.form-group input[type="file"] { padding: 12px; background: var(--white); }

.checkbox-group { margin-top: 8px; }

.consent-group {
  margin-top: 8px;
}

.consent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}

.consent-text {
  flex: 1;
  min-width: 0;
}

.consent-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.consent-text p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--gray-700);
  margin: 0;
}

.consent-row .cookie-switch {
  flex-shrink: 0;
}

.cookie-switch input:focus-visible + .cookie-switch-ui {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-label input { margin-top: 4px; width: auto; accent-color: var(--blue); }

.form-note {
  margin-top: 16px;
  font-size: 14px;
  text-align: center;
}

.form-note.success {
  color: var(--green-dark);
  font-weight: 600;
}

.form-note.error {
  color: var(--red-dark);
  font-weight: 600;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.cv-form h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin: 36px 0 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gray-100);
}

.cv-form h2:first-child { margin-top: 0; }

/* ===== Page Hero ===== */
.page-hero {
  padding: 100px 0 72px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero-blue { background: linear-gradient(135deg, #0d47a1, #1a8fd1); }
.page-hero-green { background: linear-gradient(135deg, #1b5e20, #43a047); }
.page-hero-orange { background: linear-gradient(135deg, #bf360c, #f57c00); }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-hero p {
  font-size: 18px;
  opacity: 0.92;
  max-width: 620px;
  line-height: 1.7;
}

.page-hero-photo {
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-hero-photo .page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(31, 26, 21, 0.82) 0%, rgba(43, 122, 158, 0.65) 100%);
  z-index: 1;
}

.page-hero-photo-green .page-hero-overlay {
  background: linear-gradient(105deg, rgba(31, 26, 21, 0.82) 0%, rgba(61, 139, 95, 0.65) 100%);
}

.page-hero-photo-orange .page-hero-overlay {
  background: linear-gradient(105deg, rgba(31, 26, 21, 0.82) 0%, rgba(217, 123, 43, 0.65) 100%);
}

.page-hero-photo-blue .page-hero-overlay {
  background: linear-gradient(105deg, rgba(31, 26, 21, 0.82) 0%, rgba(43, 122, 158, 0.65) 100%);
}

.page-hero-photo-red .page-hero-overlay {
  background: linear-gradient(105deg, rgba(31, 26, 21, 0.85) 0%, rgba(198, 40, 40, 0.72) 100%);
}

.page-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.page-hero-photo .container {
  position: relative;
  z-index: 2;
}

.text-gradient-light {
  background: linear-gradient(135deg, #fff 0%, #b8e0f0 50%, #c8e6c9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== About page ===== */
.about-intro {
  background: var(--white);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.about-intro-content h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-intro-content .lead {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 18px;
  line-height: 1.75;
}

.about-intro-content p {
  color: var(--gray-700);
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.about-fact {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
}

.about-fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--dark);
  margin-bottom: 4px;
}

.about-fact span {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.4;
}

.about-intro-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.about-quote {
  margin-top: 24px;
  padding: 24px 28px;
  background: var(--warm);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  color: var(--dark-soft);
  line-height: 1.65;
}

.about-pillars {
  background: var(--gray-50);
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-pillar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.about-pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.about-pillar-blue::before { background: linear-gradient(90deg, var(--blue), var(--blue-light)); }
.about-pillar-green::before { background: linear-gradient(90deg, var(--green), var(--green-light)); }
.about-pillar-orange::before { background: linear-gradient(90deg, var(--orange), var(--orange-light)); }

.about-pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.about-pillar-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  opacity: 0.12;
  line-height: 1;
  margin-bottom: 12px;
}

.about-pillar h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.about-pillar p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 20px;
}

.about-mv {
  background: var(--white);
}

.about-mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.about-mv-card {
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  border: 1px solid var(--gray-200);
}

.about-mission {
  background: linear-gradient(135deg, rgba(201, 74, 74, 0.06), rgba(201, 74, 74, 0.02));
  border-color: rgba(201, 74, 74, 0.15);
}

.about-mission .about-mv-icon { color: var(--red); }

.about-vision {
  background: linear-gradient(135deg, rgba(43, 122, 158, 0.08), rgba(43, 122, 158, 0.02));
  border-color: rgba(43, 122, 158, 0.15);
}

.about-vision .about-mv-icon { color: var(--blue); }

.about-mv-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
}

.about-mv-icon svg { width: 100%; height: 100%; }

.about-mv-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}

.about-mv-card p {
  color: var(--gray-700);
  line-height: 1.75;
}

.about-do {
  background: linear-gradient(165deg, var(--warm) 0%, var(--gray-50) 45%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.about-do-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 480px 480px at 8% 20%, rgba(43, 122, 158, 0.08), transparent 70%),
    radial-gradient(ellipse 420px 420px at 92% 75%, rgba(61, 139, 95, 0.07), transparent 70%),
    radial-gradient(ellipse 300px 300px at 55% 100%, rgba(217, 123, 43, 0.06), transparent 70%);
}

.about-do .container {
  position: relative;
  z-index: 1;
}

.about-do-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: 56px;
  align-items: center;
}

.about-do-header h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.about-do-header > p {
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 24px;
  font-size: 16px;
}

.about-do-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--warm-dark);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.about-do-note-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(43, 122, 158, 0.14), rgba(61, 139, 95, 0.08));
  color: var(--blue);
}

.about-do-note strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.about-do-note p {
  font-size: 14px;
  color: var(--gray-600, var(--gray-700));
  line-height: 1.6;
  margin: 0;
}

.about-do-cta {
  display: inline-flex;
}

.about-do-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.about-do-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 18px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.about-do-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.about-do-card-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}

.about-do-card:hover .about-do-card-icon {
  transform: scale(1.08);
}

.about-do-card-blue .about-do-card-icon {
  background: linear-gradient(135deg, rgba(43, 122, 158, 0.15), rgba(43, 122, 158, 0.05));
  color: var(--blue);
}

.about-do-card-green .about-do-card-icon {
  background: linear-gradient(135deg, rgba(61, 139, 95, 0.15), rgba(61, 139, 95, 0.05));
  color: var(--green);
}

.about-do-card-orange .about-do-card-icon {
  background: linear-gradient(135deg, rgba(217, 123, 43, 0.15), rgba(217, 123, 43, 0.05));
  color: var(--orange);
}

.about-do-card p {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-soft);
  line-height: 1.5;
  margin: 0;
  padding-top: 2px;
}

.about-do-card-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  padding: 22px 24px;
  background: linear-gradient(135deg, var(--white) 0%, rgba(245, 235, 224, 0.5) 100%);
  border-color: var(--warm-dark);
}

.about-do-card-wide p {
  font-size: 15px;
}

.about-cta {
  background: var(--white);
  padding-bottom: 100px;
}

.about-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--green) 100%);
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  color: var(--white);
  box-shadow: var(--shadow-xl);
}

.about-cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  margin-bottom: 10px;
}

.about-cta-text p {
  opacity: 0.92;
  max-width: 480px;
  line-height: 1.65;
}

.about-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .about-intro-grid,
  .about-do-grid,
  .about-mv-grid {
    grid-template-columns: 1fr;
  }

  .about-pillars-grid {
    grid-template-columns: 1fr;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .about-do-cards {
    grid-template-columns: 1fr;
  }

  .about-do-card-wide {
    grid-column: auto;
  }

  .about-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 40px 32px;
  }

  .about-cta-text p {
    max-width: none;
  }

  .about-cta-actions {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .about-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .about-cta-actions .btn {
    width: 100%;
  }
}

/* ===== Jobs ===== */
.jobs-toolbar { margin-bottom: 36px; }

.search-input {
  width: 100%;
  padding: 16px 24px;
  font-family: var(--font);
  font-size: 15px;
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  background: var(--white);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(26, 143, 209, 0.1);
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.job-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.job-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--blue-light);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.job-header h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--dark);
}

.job-badge {
  padding: 6px 14px;
  background: rgba(67, 160, 71, 0.1);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  border-radius: 50px;
}

.job-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.job-card p {
  margin-bottom: 22px;
  color: var(--gray-700);
  line-height: 1.7;
}

.page-cta {
  text-align: center;
  margin-top: 56px;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.page-cta p {
  margin-bottom: 20px;
  font-size: 17px;
  color: var(--gray-700);
}

.empty-state {
  text-align: center;
  padding: 56px;
  color: var(--gray-500);
  width: 100%;
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.empty-state .btn {
  margin-top: 24px;
}

/* ===== Footer ===== */
.footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-company h4,
.footer-links h4,
.footer-badges h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-company p {
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-company a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer-company a:hover {
  color: var(--white);
}

.footer-logo {
  height: 72px;
  width: auto;
  margin-bottom: 16px;
}

.footer-logo-color {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-tagline {
  font-size: 14px;
  opacity: 0.65;
  font-style: italic;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 280px;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-badges-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-badge-link {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  transition: transform var(--transition), opacity var(--transition);
}

.footer-badge-link:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.footer-badge-img {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  border-radius: 8px;
}

.footer-bottom {
  padding: 28px 0;
  text-align: center;
  font-size: 13px;
  opacity: 0.5;
}

.footer-bottom a { color: rgba(255, 255, 255, 0.65); }

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(26, 143, 209, 0.4);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 143, 209, 0.5);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }

  .hero-layout {
    padding-bottom: 40px;
  }

  .hero-controls {
    bottom: 108px;
  }

  .intro-cards {
    margin-top: -36px;
  }

  .job-portals {
    margin-top: -24px;
  }

  .contact-quick {
    margin-top: -24px;
  }

  .teaser-grid {
    grid-template-columns: 1fr;
  }

  .teaser-img { height: 320px; }

  .intro-grid,
  .services-grid,
  .values-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .mediation-grid,
  .mediation-about-grid {
    grid-template-columns: 1fr;
  }

  .mediation-steps-grid::before {
    display: none;
  }

  .mediation-about-img {
    min-height: 280px;
    max-height: none;
  }

  .mediation-link-card {
    flex-direction: column;
  }

  .contact-quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .job-portals-grid {
    grid-template-columns: 1fr;
  }

  .job-portal-card-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 18px 22px;
  }

  .job-portal-logo {
    min-height: 80px;
    padding: 16px;
  }

  .contact-grid,
  .contact-page-grid,
  .donate-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .donate-visual { padding: 40px; }
}

@media (max-width: 768px) {
  :root { --header-h: 80px; }

  .nav-toggle { display: flex; }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    top: var(--header-h);
    background: rgba(31, 26, 21, 0.45);
    z-index: 1090;
  }

  .nav-backdrop[hidden] {
    display: none !important;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100dvh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    background: var(--white);
    padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 0px));
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 1100;
    -webkit-overflow-scrolling: touch;
  }

  .nav.open { transform: translateX(0); }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-list > li > a {
    padding: 16px 18px;
    font-size: 16px;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .has-dropdown > a {
    font-weight: 700;
    pointer-events: auto;
  }

  .has-dropdown > a::after {
    display: none;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 12px 8px;
    display: block;
    border: none;
    background: transparent;
  }

  .dropdown li a {
    padding: 14px 16px;
    font-size: 15px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-donate { margin-left: 0; text-align: center; justify-content: center; }

  .intro-grid,
  .services-grid,
  .values-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .form-row { grid-template-columns: 1fr; }

  .section { padding: 72px 0; }

  .donate-content { padding: 36px 28px; }
  .contact-form { padding: 28px; }
  .logo img { height: 68px; }

  .services-nav-inner {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .services-nav-inner::-webkit-scrollbar { display: none; }

  .services-nav-link {
    font-size: 12px;
    padding: 9px 14px;
  }

  .service-block-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .services-mediation-actions {
    flex-direction: column;
  }

  .services-mediation-actions .btn,
  .services-cta-box .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .top-bar-left {
    flex-direction: column;
    gap: 4px;
  }

  .hero-content h1 { font-size: 28px; }

  .mediation-actions { flex-direction: column; }
  .mediation-actions .btn { width: 100%; }

  .donate-percent { font-size: 72px; }

  .donate-mini {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== Homepage teasers ===== */
.about-teaser { background: var(--white); }

.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.teaser-content h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.teaser-content p {
  margin-bottom: 28px;
  color: var(--gray-700);
  font-size: 17px;
}

.teaser-img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.services-teaser { background: var(--gray-50); }

.section-cta {
  text-align: center;
  margin-top: 48px;
}

.mediation-cta {
  background: var(--white);
  padding: 60px 0;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(31, 26, 21, 0.92) 0%, rgba(43, 122, 158, 0.88) 100%),
              url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1200&q=80&auto=format&fit=crop') center/cover no-repeat;
  border-radius: var(--radius-xl);
  padding: 56px;
  color: var(--white);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  display: none;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.25;
}

.cta-banner p {
  opacity: 0.92;
  margin-bottom: 28px;
  font-size: 17px;
}

.projects-teaser { background: var(--gray-50); }

.projects-teaser .project-card {
  margin: 0 auto;
}

.donate-banner {
  background: var(--white);
  padding: 60px 0 100px;
}

.donate-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  color: var(--white);
  box-shadow: 0 16px 48px rgba(229, 57, 53, 0.3);
}

.donate-mini h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  margin-bottom: 8px;
}

.donate-mini p {
  opacity: 0.9;
  font-size: 16px;
}

/* ===== Services page ===== */
.services-nav {
  position: sticky;
  top: calc(var(--top-bar-h) + var(--header-h));
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(44, 36, 25, 0.04);
}

.services-nav-inner {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.services-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-700);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  transition: all var(--transition);
  white-space: nowrap;
}

.services-nav-link .icon {
  opacity: 0.7;
  transition: opacity var(--transition);
}

.services-nav-link:hover,
.services-nav-link.active {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 4px 14px rgba(43, 122, 158, 0.28);
}

.services-nav-link:hover .icon,
.services-nav-link.active .icon {
  opacity: 1;
}

.services-overview {
  padding-top: 64px;
  padding-bottom: 32px;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.services-overview-item {
  position: relative;
  text-align: left;
  padding: 28px 26px 26px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  overflow: hidden;
}

.services-overview-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.services-overview-blue::before { background: linear-gradient(90deg, var(--blue), var(--blue-light)); }
.services-overview-green::before { background: linear-gradient(90deg, var(--green), var(--green-light)); }
.services-overview-orange::before { background: linear-gradient(90deg, var(--orange), var(--orange-light)); }

.services-overview-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.services-overview-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.services-overview-blue .services-overview-icon {
  background: linear-gradient(135deg, rgba(43, 122, 158, 0.14), rgba(43, 122, 158, 0.05));
  color: var(--blue);
}

.services-overview-green .services-overview-icon {
  background: linear-gradient(135deg, rgba(61, 139, 95, 0.14), rgba(61, 139, 95, 0.05));
  color: var(--green);
}

.services-overview-orange .services-overview-icon {
  background: linear-gradient(135deg, rgba(217, 123, 43, 0.14), rgba(217, 123, 43, 0.05));
  color: var(--orange);
}

.services-overview-num {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 6px;
}

.services-overview-item h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.services-overview-item p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

.services-detail {
  background: var(--gray-50);
  padding-top: 24px;
}

.services-detail-header {
  text-align: center;
  margin: 0 auto 48px;
}

.services-detail-header h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.2;
}

.services-detail-header p {
  color: var(--gray-700);
  line-height: 1.75;
  font-size: 16px;
}

.service-block {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
  gap: 0;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius-xl);
  margin-bottom: 28px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--top-bar-h) + var(--header-h) + 72px);
  transition: box-shadow var(--transition), transform var(--transition);
  overflow: hidden;
}

.service-block:hover {
  box-shadow: var(--shadow-lg);
}

.service-block-green { --service-accent: var(--green); }
.service-block-blue { --service-accent: var(--blue); }
.service-block-orange { --service-accent: var(--orange); }

.service-block-reverse .service-block-visual {
  order: 2;
}

.service-block-reverse .service-block-content {
  order: 1;
}

.service-block-visual {
  position: relative;
  min-height: 100%;
}

.service-block-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.service-block-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-block-tag-green { background: var(--green); }
.service-block-tag-blue { background: var(--blue); }
.service-block-tag-orange { background: var(--orange); }

.service-block-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 48px;
}

.service-block-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.service-block-head .service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.service-block-head h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  line-height: 1.2;
}

.service-block-lead {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-soft);
  margin-bottom: 14px;
  line-height: 1.65;
}

.service-block-content > p:not(.service-block-lead) {
  color: var(--gray-700);
  margin-bottom: 14px;
  line-height: 1.75;
  font-size: 15px;
}

.service-block-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.services-mediation {
  background: var(--white);
  padding: 48px 0 96px;
}

.services-mediation-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  background: linear-gradient(135deg, rgba(31, 95, 122, 0.94) 0%, rgba(61, 139, 95, 0.9) 100%),
              url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=1200&q=80&auto=format&fit=crop') center/cover no-repeat;
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  color: var(--white);
  box-shadow: var(--shadow-xl);
}

.services-mediation-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.services-mediation-content {
  min-width: 0;
}

.services-contact-note {
  margin-top: 28px;
  text-align: center;
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.65;
}

.services-contact-note a {
  font-weight: 700;
  color: var(--blue);
}

.services-contact-note a:hover {
  color: var(--blue-dark);
}

.services-mediation-content h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  margin: 10px 0 12px;
  line-height: 1.25;
}

.services-mediation-content p {
  opacity: 0.92;
  line-height: 1.65;
  font-size: 15px;
  margin: 0;
}

.services-mediation-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.services-cta {
  background: var(--gray-50);
  padding-bottom: 96px;
}

.services-cta-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue) 55%, var(--green));
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  color: var(--white);
  box-shadow: var(--shadow-xl);
}

.services-cta-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.services-cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.25;
}

.services-cta-text p {
  opacity: 0.92;
  max-width: 480px;
  line-height: 1.65;
  font-size: 15px;
  margin: 0;
}

.services-cta-box .btn-white {
  flex-shrink: 0;
  white-space: nowrap;
}

.services-grid-page {
  grid-template-columns: 1fr;
  gap: 32px;
}

.service-card-full {
  scroll-margin-top: calc(var(--top-bar-h) + var(--header-h) + 60px);
}

.service-list {
  margin: 18px 0 26px;
  padding-left: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.5;
  border-bottom: 1px solid var(--gray-100);
}

.service-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(43, 122, 158, 0.1);
}

.service-list li::after {
  content: '✓';
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 800;
  color: var(--green);
}

.service-block-green .service-list li::before { background: rgba(61, 139, 95, 0.12); }
.service-block-blue .service-list li::before { background: rgba(43, 122, 158, 0.12); }
.service-block-orange .service-list li::before { background: rgba(217, 123, 43, 0.12); }

/* ===== Mediation link cards ===== */
.mediation-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.mediation-link-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  overflow: hidden;
  position: relative;
}

.mediation-link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.mediation-link-card-orange::before {
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
}

.mediation-link-card-green::before {
  background: linear-gradient(90deg, var(--green), var(--green-light));
}

.mediation-link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.mediation-link-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  flex-shrink: 0;
}

.mediation-link-icon svg {
  width: 28px;
  height: 28px;
}

.mediation-link-body {
  flex: 1;
  min-width: 0;
}

.mediation-link-orange {
  background: linear-gradient(135deg, rgba(217, 123, 43, 0.14), rgba(217, 123, 43, 0.05));
  color: var(--orange);
}

.mediation-link-green {
  background: linear-gradient(135deg, rgba(61, 139, 95, 0.14), rgba(61, 139, 95, 0.05));
  color: var(--green);
}

.mediation-link-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.mediation-link-card p {
  color: var(--gray-500);
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 14px;
}

.form-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--gray-700);
  line-height: 1.75;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin: 36px 0 14px;
  line-height: 1.3;
}

.legal-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark-soft);
  margin: 24px 0 10px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 16px 24px;
  color: var(--gray-700);
  line-height: 1.75;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  font-weight: 600;
}

.legal-updated {
  font-size: 14px;
  color: var(--gray-500);
  font-style: italic;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--gray-200);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--gray-50);
  font-weight: 700;
  color: var(--dark);
}

@media (max-width: 1024px) {
  .service-block,
  .service-block-reverse {
    grid-template-columns: 1fr;
  }

  .service-block-visual img {
    min-height: 260px;
  }

  .service-block-content {
    padding: 32px 28px;
  }

  .service-block-reverse .service-block-visual,
  .service-block-reverse .service-block-content {
    order: unset;
  }

  .services-overview-grid {
    grid-template-columns: 1fr;
  }

  .services-mediation-box,
  .services-cta-box {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 28px;
  }

  .services-mediation-icon,
  .services-cta-icon {
    margin: 0 auto;
  }

  .services-mediation-content {
    max-width: none;
  }

  .services-mediation-actions,
  .services-cta-box .btn {
    justify-content: center;
    width: 100%;
  }

  .services-mediation-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .services-mediation-actions .btn,
  .services-cta-box .btn {
    width: auto;
    flex: 1 1 auto;
  }

  .mediation-steps-grid,
  .cv-page-grid {
    grid-template-columns: 1fr;
  }

  .contact-quick-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .jobs-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .jobs-cta-inner .btn {
    width: 100%;
  }

  .teaser-grid,
  .mediation-cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-badges-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ===== Cookie consent (GDPR / Legea 506/2004) ===== */
body.cookie-banner-open {
  padding-bottom: 0;
}

body.cookie-modal-open {
  overflow: hidden;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -12px 40px rgba(44, 36, 25, 0.12);
  padding: 20px 0;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.cookie-banner-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--gray-700);
  max-width: 720px;
}

.cookie-banner-desc a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner-actions .btn {
  white-space: nowrap;
  min-width: 130px;
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(44, 36, 25, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cookie-modal-overlay[hidden] {
  display: none !important;
}

.cookie-modal {
  width: min(560px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 0;
}

.cookie-modal-header h2 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--dark);
}

.cookie-modal-close {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--gray-100);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--gray-700);
}

.cookie-modal-close:hover {
  background: var(--gray-200);
}

.cookie-modal-body {
  padding: 16px 24px 8px;
}

.cookie-modal-intro {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.55;
  margin-bottom: 16px;
}

.cookie-category {
  padding: 16px 0;
  border-top: 1px solid var(--gray-200);
}

.cookie-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.cookie-category-head strong {
  display: block;
  font-size: 15px;
  color: var(--dark);
}

.cookie-category-badge {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue-dark);
  background: rgba(43, 122, 158, 0.12);
  padding: 3px 8px;
  border-radius: 999px;
}

.cookie-category p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--gray-700);
}

.cookie-switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-switch-ui {
  width: 46px;
  height: 26px;
  background: var(--gray-300);
  border-radius: 999px;
  position: relative;
  transition: background var(--transition);
  cursor: pointer;
}

.cookie-switch-ui::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: var(--shadow-sm);
}

.cookie-switch input:checked + .cookie-switch-ui {
  background: var(--green);
}

.cookie-switch input:checked + .cookie-switch-ui::after {
  transform: translateX(20px);
}

.cookie-switch-disabled .cookie-switch-ui {
  opacity: 0.55;
  cursor: not-allowed;
}

.cookie-modal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px 24px;
}

.cookie-embed-placeholder {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  min-height: 220px;
  justify-content: center;
  background: linear-gradient(135deg, var(--gray-100), var(--warm));
}

.cookie-embed-placeholder[hidden] {
  display: none !important;
}

.cookie-embed-placeholder p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--gray-700);
  margin: 0;
}

.cookie-embed-placeholder .btn-outline {
  margin-left: 0;
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-banner-actions .btn {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
  }

  .cookie-banner-actions .cookie-btn-accept {
    flex-basis: 100%;
  }

  .back-to-top {
    bottom: 120px;
  }
}

/* ===== Mobile optimization ===== */
@media (max-width: 768px) {
  :root {
    --header-h: 80px;
    --top-bar-h: 0px;
  }

  html {
    -webkit-text-size-adjust: 100%;
  }

  .top-bar {
    display: none;
  }

  .container {
    padding-left: max(18px, env(safe-area-inset-left, 0px));
    padding-right: max(18px, env(safe-area-inset-right, 0px));
  }

  .section {
    padding: 56px 0;
  }

  .page-hero {
    padding: calc(var(--header-h) + 28px) 0 48px;
  }

  .page-hero-photo {
    padding-bottom: 48px;
  }

  .page-hero h1 {
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.15;
  }

  .page-hero p {
    font-size: 15px;
    line-height: 1.65;
  }

  .page-hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 20px;
  }

  .page-hero-actions .btn {
    width: 100%;
    white-space: normal;
  }

  /* Hero: stack controls below content instead of overlapping */
  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .hero-slider {
    flex: 1 1 auto;
    min-height: clamp(440px, 72vh, 580px);
    position: relative;
  }

  .hero-slide {
    align-items: flex-start;
    padding-top: calc(var(--header-h) + 20px);
  }

  .hero-layout {
    padding-top: 4px;
    padding-bottom: 12px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content h1 {
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.15;
    margin-bottom: 16px;
  }

  .hero-content p {
    max-width: none;
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 24px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-controls {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    flex-shrink: 0;
    width: min(100%, 300px);
    margin: 0 auto;
    padding: 4px 12px 8px;
    gap: 14px;
    justify-content: space-between;
  }

  .hero-prev,
  .hero-next {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    font-size: 16px;
  }

  .hero-dots {
    flex: 1;
    justify-content: center;
    min-width: 0;
    gap: 8px;
  }

  .hero-dot.active {
    width: 24px;
  }

  .hero-wave {
    position: relative;
    flex-shrink: 0;
    margin-top: 0;
  }

  .hero-wave svg {
    height: 48px;
  }

  .intro-cards {
    margin-top: 0;
    padding-top: 20px;
    padding-bottom: 24px;
  }

  .intro-card {
    padding: 26px 22px;
  }

  .job-portals {
    margin-top: 0;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .contact-quick {
    margin-top: 0;
    padding-top: 20px;
    padding-bottom: 12px;
  }

  .contact-quick-card {
    padding: 18px 16px;
  }

  .contact-form,
  .cv-form,
  .job-offer-form {
    padding: 24px 18px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select,
  .search-input {
    font-size: 16px;
    padding: 14px 16px;
  }

  .btn {
    min-height: 48px;
    padding: 14px 22px;
    white-space: normal;
    text-align: center;
    touch-action: manipulation;
  }

  .btn-sm {
    min-height: 44px;
  }

  .nav-toggle {
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
  }

  .nav-toggle span {
    transform-origin: center;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  body.nav-open {
    overflow: hidden;
  }

  .about-intro-grid {
    gap: 28px;
  }

  .about-quote {
    font-size: 15px;
    padding: 20px;
  }

  .about-facts {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-fact {
    padding: 16px;
  }

  .stats-grid {
    gap: 12px;
  }

  .stat-box {
    padding: 22px 16px;
  }

  .footer {
    padding-top: 48px;
  }

  .footer-grid {
    gap: 28px;
  }

  .footer-badge-img {
    max-width: 100%;
  }

  .donate-box {
    border-radius: var(--radius-lg);
  }

  .services-cta-box,
  .services-mediation-box,
  .about-cta-box {
    padding: 28px 20px;
    gap: 20px;
  }

  .services-mediation-actions .btn,
  .services-cta-box .btn {
    width: 100%;
  }

  .service-block-visual img {
    min-height: 220px;
  }

  .service-block-content {
    padding: 24px 20px;
  }

  .jobs-empty {
    padding: 32px 20px;
  }

  .cv-sidebar {
    order: 2;
  }

  .cv-form-wrap {
    order: 1;
  }

  .back-to-top {
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(24px, env(safe-area-inset-bottom, 0px));
    width: 48px;
    height: 48px;
  }

  body.cookie-banner-open .back-to-top {
    bottom: calc(120px + env(safe-area-inset-bottom, 0px));
  }

  .cookie-banner {
    padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
  }

  .section-header.center .section-desc {
    font-size: 15px;
  }

  .legal-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .teaser-img {
    height: 260px;
  }

  .about-intro-img {
    max-height: 280px;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: max(14px, env(safe-area-inset-left, 0px));
    padding-right: max(14px, env(safe-area-inset-right, 0px));
  }

  .contact-quick-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .hero-slider {
    min-height: clamp(400px, 68vh, 520px);
  }

  .hero-wave svg {
    height: 40px;
  }

  .hero-controls {
    width: min(100%, 280px);
    gap: 10px;
    padding-bottom: 4px;
  }

  .intro-grid {
    gap: 14px;
  }

  .about-do-cards {
    gap: 10px;
  }

  .about-do-card {
    padding: 16px 14px;
  }

  .cookie-banner-actions .btn {
    flex: 1 1 100%;
  }

  .stat-box-num {
    font-size: 36px;
  }
}

