/* ============================================================
   MZSS — Modern Mountain Rescue Design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&family=Bebas+Neue&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }

:root {
  --navy:          #0d1b3e;
  --navy-mid:      #152448;
  --red:           #cb2027;
  --red-dark:      #a81b21;
  --white:         #ffffff;
  --off-white:     #f5f6f8;
  --text:          #111827;
  --text-muted:    #5c6370;
  --border:        #e2e6ed;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:     0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg:     0 16px 48px rgba(0,0,0,0.14);
  --ease:          0.22s ease;
  --max-w:         1200px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Ubuntu', 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  background: var(--white);
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--navy);
  padding: 7px 0;
}
.topbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-emergency {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 6px;
  padding: 6px 14px 6px 10px;
  transition: background var(--ease), border-color var(--ease);
}
.topbar-emergency:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
}
.topbar-emergency .dot { display: none; }
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}
.social-links a {
  display: flex;
  color: rgba(255,255,255,0.45);
  transition: color var(--ease);
}
.social-links a:hover { color: var(--white); }
.social-links svg { width: 16px; height: 16px; }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  transition: background var(--ease), color var(--ease);
}
.footer-social a:hover { background: rgba(255,255,255,0.14); color: var(--white); }
.footer-social svg { width: 16px; height: 16px; }

.lang-selector {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
}
.lang-selector a {
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  padding: 0 10px;
  border-right: 1px solid rgba(255,255,255,0.18);
  line-height: 1;
  transition: color var(--ease);
}
.lang-selector a:first-child { padding-left: 0; }
.lang-selector a:last-child { border-right: none; padding-right: 0; }
.lang-selector a:hover { color: var(--white); }
.lang-selector a.lang-active { color: var(--white); font-weight: 700; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo img { height: 54px; width: auto; }
.nav-logo-text strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.nav-logo-text span {
  display: block;
  font-size: 0.78rem;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links a {
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 10px 14px;
  position: relative;
  transition: color var(--ease);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--red); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: 6px;
  margin-left: 10px;
  padding: 10px 18px !important;
  transition: background var(--ease) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--red-dark) !important; }
.nav-donate {
  border: 1.5px solid var(--red) !important;
  color: var(--red) !important;
  border-radius: 6px;
  padding: 8px 16px !important;
  font-weight: 700;
  transition: background var(--ease), color var(--ease) !important;
}
.nav-donate::after { display: none !important; }
.nav-donate:hover { background: var(--red) !important; color: var(--white) !important; }

/* ── Dropdown ── */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex !important; align-items: center; gap: 4px; cursor: pointer;
}
.nav-dropdown-trigger svg { width: 11px; height: 11px; transition: transform 0.22s ease; flex-shrink: 0; }
.nav-dropdown:hover .nav-dropdown-trigger svg,
.nav-dropdown.open .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  min-width: 172px; padding: 6px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 200;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px; left: 0; right: 0;
  height: 12px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(6px);
}
.nav-dropdown-menu a {
  display: block !important; padding: 9px 14px !important;
  font-size: 0.84rem !important; font-weight: 500 !important;
  color: var(--text) !important; border-radius: 6px;
  transition: background var(--ease), color var(--ease);
  text-align: left !important; width: 100%;
}
.nav-dropdown-menu a:hover { background: var(--off-white); color: var(--navy) !important; }
.nav-dropdown-menu a.active { color: var(--red) !important; font-weight: 700 !important; }
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown.has-active > a { color: var(--red) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  background: var(--navy);
  background-image:
    linear-gradient(to bottom, rgba(10,20,50,0.82) 0%, rgba(10,20,50,0.65) 60%, rgba(10,20,50,0.9) 100%),
    url('https://mzss.info/wp-content/uploads/2023/12/IMG_3291-scaled.jpg');
  background-size: cover;
  background-position: center 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 800px 500px at 70% 50%, rgba(203,32,39,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  width: 100%;
  max-width: var(--max-w);
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(203,32,39,0.2);
  border: 1px solid rgba(203,32,39,0.4);
  color: #ff8a8e;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: 4rem;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.hero-title span { color: var(--red); }

.hero-desc {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 36px;
  text-align: center;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.hero-mascot {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}
.hero-mascot img {
  height: 480px;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
  position: relative;
  z-index: 1;
}

/* ============================================================
   GRADIENT SECTION TRANSITIONS
   ============================================================ */
.fade-down {
  display: block;
  height: 80px;
  background: linear-gradient(to bottom, var(--from), var(--to));
  pointer-events: none;
}

/* ============================================================
/* ============================================================
   NEWS / ACTIVITIES SECTION
   ============================================================ */
.news-section { background: var(--off-white); padding: 80px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px; flex-wrap: wrap;
}
.section-eyebrow {
  display: block;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 8px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.6rem;
  color: var(--navy);
  letter-spacing: 0.04em;
  line-height: 1;
}
.section-link {
  font-size: 0.8rem; font-weight: 700; color: var(--red);
  display: flex; align-items: center; gap: 4px; white-space: nowrap;
  transition: gap var(--ease);
}
.section-link:hover { gap: 8px; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card-img { width: 100%; height: 195px; object-fit: cover; background: #dde1e9; }
.news-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.news-card-meta { font-size: 0.7rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; }
.news-card-title { font-size: 0.95rem; font-weight: 700; color: var(--text); line-height: 1.4; flex: 1; }
.news-card-title a { color: inherit; transition: color var(--ease); }
.news-card-title a:hover { color: var(--red); }
.news-card-excerpt { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   ALERT BOX — ВАЖНО
   ============================================================ */
.alert-section { padding: 0 0 80px; background: var(--off-white); }
.alert-box {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.alert-inner {
  background: linear-gradient(135deg, #c0001a 0%, #e8001f 60%, #c0001a 100%);
  border-radius: 16px;
  padding: 32px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
  box-shadow: 0 8px 40px rgba(192,0,26,0.35), 0 2px 8px rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
}
.alert-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.alert-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.alert-pulse {
  width: 48px; height: 48px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.alert-pulse span {
  display: block;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}
.alert-pulse span::before,
.alert-pulse span::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  animation: pulse-ring 2s ease-out infinite;
}
.alert-pulse span::after { animation-delay: 0.7s; }
@keyframes pulse-ring {
  0%   { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}
.alert-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}
.alert-body { position: relative; }
.alert-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  line-height: 1.1;
}
.alert-text {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 560px;
}
.alert-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  position: relative;
}
.alert-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #c0001a;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.alert-phone-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
}
.alert-sos {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

/* ============================================================
   DOMAINS — topographic texture + dark bg
   ============================================================ */
.domains-section {
  background: #090f1f;
  padding: 0;
  position: relative;
}
.domains-topo {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='630' viewBox='0 0 800 630'><g fill='none' stroke-width='1.5'><path stroke='white' stroke-opacity='0.09' d='M 180,40 C 255,38 325,100 330,180 C 335,260 255,320 200,330 C 145,340 50,275 35,200 C 20,125 95,42 180,40 Z'/><path stroke='white' stroke-opacity='0.085' d='M 180,72 C 248,70 292,116 295,182 C 298,248 225,292 195,298 C 165,304 70,250 68,196 C 66,142 112,74 180,72 Z'/><path stroke='white' stroke-opacity='0.08' d='M 180,108 C 234,106 256,142 258,183 C 260,224 222,262 192,268 C 162,274 100,236 102,192 C 104,148 126,110 180,108 Z'/><path stroke='white' stroke-opacity='0.07' d='M 180,144 C 210,143 222,162 222,184 C 222,206 206,224 188,228 C 170,232 140,214 140,188 C 140,162 150,145 180,144 Z'/><path stroke='white' stroke-opacity='0.09' d='M 610,120 C 688,115 754,190 760,270 C 766,350 698,424 590,432 C 482,440 435,365 438,285 C 441,205 532,125 610,120 Z'/><path stroke='white' stroke-opacity='0.085' d='M 607,158 C 672,155 716,208 720,272 C 724,336 678,382 594,390 C 510,398 474,344 476,280 C 478,216 542,161 607,158 Z'/><path stroke='white' stroke-opacity='0.08' d='M 605,196 C 650,194 678,230 680,274 C 682,318 654,346 596,352 C 538,358 516,324 518,276 C 520,228 560,198 605,196 Z'/><path stroke='white' stroke-opacity='0.07' d='M 602,232 C 630,231 644,250 644,274 C 644,298 628,314 598,316 C 568,318 556,300 556,276 C 556,252 574,233 602,232 Z'/><path stroke='white' stroke-opacity='0.055' d='M 355,208 C 380,196 410,196 435,208 C 460,220 465,245 452,262 C 439,279 412,284 387,282 C 362,280 338,268 330,252 C 322,236 330,220 355,208 Z'/><path stroke='white' stroke-opacity='0.045' d='M 362,216 C 382,208 408,208 428,218 C 448,228 451,246 440,260 C 429,274 408,278 387,276 C 366,274 346,263 340,248 C 334,233 342,224 362,216 Z'/><path stroke='white' stroke-opacity='0.08' d='M 345,388 C 408,384 470,440 475,505 C 480,570 438,620 355,626 C 272,632 220,578 224,516 C 228,454 282,392 345,388 Z'/><path stroke='white' stroke-opacity='0.075' d='M 347,424 C 400,421 434,462 437,508 C 440,554 412,590 352,594 C 292,598 260,562 262,514 C 264,466 294,427 347,424 Z'/><path stroke='white' stroke-opacity='0.065' d='M 349,460 C 378,459 400,482 400,510 C 400,538 378,558 350,560 C 322,562 300,540 300,512 C 300,484 320,461 349,460 Z'/></g></svg>");
  background-size: 800px 630px;
  padding: 88px 0;
}
.domains-section .section-title { color: var(--white); }
.domains-section .section-eyebrow { color: rgba(203,32,39,0.9); }

.domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
}
.domain-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 36px 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: background var(--ease);
}
.domain-card:hover { background: rgba(255,255,255,0.08); }
.domain-icon-circle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}
.domain-icon-circle svg { width: 26px; height: 26px; }
.domain-num-circle {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--white);
}
.domain-title {
  font-size: 1rem; font-weight: 700;
  color: var(--white); line-height: 1.3;
}
.domain-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { background: var(--white); padding: 96px 0; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.85; margin-bottom: 16px; }

.about-highlights {
  display: flex;
  gap: 0;
  margin: 28px 0 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.about-highlight-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 12px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.about-highlight-item:last-child { border-right: none; }
.about-highlight-item svg {
  width: 18px; height: 18px;
  color: var(--red);
  flex-shrink: 0;
}
.about-highlight-item strong {
  font-size: 1rem;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
  color: var(--navy);
  line-height: 1;
}
.about-highlight-item span {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.about-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 100px; padding: 8px 16px 8px 10px;
  margin: 0 0 28px;
  font-size: 0.78rem; font-weight: 700; color: var(--navy);
}
.about-badge img { height: 28px; border-radius: 50%; }

.about-visual img {
  width: 100%; height: 440px; object-fit: cover;
  border-radius: 12px; box-shadow: var(--shadow-lg);
  position: relative; z-index: 1;
}
.about-visual-caption {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative; z-index: 1;
}

/* ============================================================
   MEMBERSHIP SECTION
   ============================================================ */
.membership-section {
  background: var(--navy);
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='630' viewBox='0 0 800 630'><g fill='none' stroke-width='1.5'><path stroke='white' stroke-opacity='0.055' d='M 180,40 C 255,38 325,100 330,180 C 335,260 255,320 200,330 C 145,340 50,275 35,200 C 20,125 95,42 180,40 Z'/><path stroke='white' stroke-opacity='0.05' d='M 180,72 C 248,70 292,116 295,182 C 298,248 225,292 195,298 C 165,304 70,250 68,196 C 66,142 112,74 180,72 Z'/><path stroke='white' stroke-opacity='0.045' d='M 180,108 C 234,106 256,142 258,183 C 260,224 222,262 192,268 C 162,274 100,236 102,192 C 104,148 126,110 180,108 Z'/><path stroke='white' stroke-opacity='0.04' d='M 180,144 C 210,143 222,162 222,184 C 222,206 206,224 188,228 C 170,232 140,214 140,188 C 140,162 150,145 180,144 Z'/><path stroke='white' stroke-opacity='0.055' d='M 610,120 C 688,115 754,190 760,270 C 766,350 698,424 590,432 C 482,440 435,365 438,285 C 441,205 532,125 610,120 Z'/><path stroke='white' stroke-opacity='0.05' d='M 607,158 C 672,155 716,208 720,272 C 724,336 678,382 594,390 C 510,398 474,344 476,280 C 478,216 542,161 607,158 Z'/><path stroke='white' stroke-opacity='0.045' d='M 605,196 C 650,194 678,230 680,274 C 682,318 654,346 596,352 C 538,358 516,324 518,276 C 520,228 560,198 605,196 Z'/><path stroke='white' stroke-opacity='0.04' d='M 602,232 C 630,231 644,250 644,274 C 644,298 628,314 598,316 C 568,318 556,300 556,276 C 556,252 574,233 602,232 Z'/><path stroke='white' stroke-opacity='0.03' d='M 355,208 C 380,196 410,196 435,208 C 460,220 465,245 452,262 C 439,279 412,284 387,282 C 362,280 338,268 330,252 C 322,236 330,220 355,208 Z'/><path stroke='white' stroke-opacity='0.05' d='M 345,388 C 408,384 470,440 475,505 C 480,570 438,620 355,626 C 272,632 220,578 224,516 C 228,454 282,392 345,388 Z'/><path stroke='white' stroke-opacity='0.045' d='M 347,424 C 400,421 434,462 437,508 C 440,554 412,590 352,594 C 292,598 260,562 262,514 C 264,466 294,427 347,424 Z'/><path stroke='white' stroke-opacity='0.04' d='M 349,460 C 378,459 400,482 400,510 C 400,538 378,558 350,560 C 322,562 300,540 300,512 C 300,484 320,461 349,460 Z'/></g></svg>");
  background-size: 800px 630px;
  padding: 88px 0;
}
.membership-section .section-eyebrow { color: rgba(203,32,39,0.85); }
.membership-section .section-title   { color: var(--white); }

.membership-intro {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 560px;
  margin-top: 12px;
}

/* steps */
.steps-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 56px 0 64px;
  position: relative;
}

/* horizontal connector line */
.steps-row::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(10% + 16px);
  right: calc(10% + 16px);
  height: 2px;
  background: rgba(255,255,255,0.1);
  z-index: 0;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  position: relative;
  z-index: 1;
  padding: 0 8px;
}

.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(203,32,39,0.2);
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: -4px;
  color: rgba(255,255,255,0.65);
}
.step-icon svg {
  width: 28px;
  height: 28px;
}

.step-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.step-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
}


.membership-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.membership-cta-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   PARTNERS
   ============================================================ */
.partners-section { background: var(--off-white); padding: 72px 0; border-top: 1px solid var(--border); }
.partners-row {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: center;
  margin-top: 40px;
}
.partner-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; padding: 20px 36px;
  display: flex; align-items: center; justify-content: center;
  transition: box-shadow var(--ease);
}
.partner-card:hover { box-shadow: var(--shadow-md); }
.partner-card img {
  height: 56px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: 0.55;
  transition: filter var(--ease), opacity var(--ease);
}
.partner-card:hover img { filter: none; opacity: 1; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 6px;
  font-weight: 700; font-size: 0.88rem;
  border: 2px solid transparent;
  transition: all var(--ease); line-height: 1; cursor: pointer;
  letter-spacing: 0.02em;
}
.btn-red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn-white-outline {
  background: transparent; border-color: rgba(255,255,255,0.35); color: var(--white);
}
.btn-white-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn-navy-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-navy-outline:hover { border-color: var(--navy); color: var(--navy); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #06091a; color: rgba(255,255,255,0.5); font-size: 0.84rem; }
.footer-main {
  max-width: var(--max-w); margin: 0 auto;
  padding: 60px 24px 44px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 52px; opacity: 0.85; }
.footer-logo-name { font-weight: 800; font-size: 1rem; color: var(--white); }
.footer-brand p { line-height: 1.75; max-width: 270px; }
.footer-brand a { color: rgba(255,255,255,0.45); transition: color var(--ease); }
.footer-brand a:hover { color: var(--white); }
.footer-col-title {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.28); margin-bottom: 18px;
}
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: rgba(255,255,255,0.5); transition: color var(--ease); line-height: 1.4; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 24px;
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px; font-size: 0.76rem;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].visible { opacity: 1; transform: none; }
[data-reveal="left"]  { transform: translateX(-28px); }
[data-reveal="left"].visible  { transform: none; }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="right"].visible { transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-title { font-size: 3.4rem; }
  .domains-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
}

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

  /* burger → X animation */
  .nav-toggle { display: flex; z-index: 1001; position: relative; }
  .nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--navy); border-radius: 2px;
    transition: transform 0.28s ease, opacity 0.2s ease;
    transform-origin: center;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* backdrop */
  .nav-backdrop {
    display: none;
    position: fixed; inset: 0;
    background: rgba(5, 12, 30, 0.45);
    backdrop-filter: blur(2px);
    z-index: 898;
  }
  .nav-backdrop.open { display: block; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 88vw);
    height: 100dvh;
    background: var(--white);
    box-shadow: -8px 0 40px rgba(0,0,0,0.18);
    flex-direction: column;
    padding: 88px 20px 32px;
    gap: 4px;
    overflow-y: auto;
    pointer-events: none; opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.28s ease, transform 0.28s ease;
    z-index: 899;
  }
  .nav-links.open { pointer-events: auto; opacity: 1; transform: translateX(0); }

  .nav-links > li > a,
  .nav-links > li > .nav-dropdown-trigger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 15px 20px !important;
    font-size: 1rem !important;
    font-weight: 600;
    color: var(--navy) !important;
    border-radius: 10px;
    transition: background 0.18s ease, color 0.18s ease;
    text-align: center;
  }
  .nav-links > li > a:hover,
  .nav-links > li > .nav-dropdown-trigger:hover { background: var(--off-white); }
  .nav-links > li > a.active { color: var(--red) !important; background: rgba(203,32,39,0.06); }
  .nav-links a::after { display: none; }

  .nav-cta {
    margin-left: 0 !important;
    margin-top: 8px !important;
    justify-content: center;
    border-radius: 10px !important;
    padding: 15px 20px !important;
    font-size: 1rem !important;
  }
  .nav-donate {
    justify-content: center;
    border-radius: 10px !important;
    padding: 13px 20px !important;
    font-size: 1rem !important;
  }

  .nav-dropdown-menu {
    position: static; transform: none !important;
    box-shadow: none; border: none; border-radius: 8px;
    padding: 4px 0 4px 8px; display: none;
    background: var(--off-white); min-width: auto;
    margin: 4px 0;
    opacity: 1 !important; pointer-events: auto !important;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown.open .nav-dropdown-trigger svg { transform: rotate(180deg); }
  .nav-dropdown-menu a {
    padding: 12px 16px !important;
    font-size: 0.9rem !important;
    border-radius: 8px;
    text-align: center !important;
  }

  .hero { min-height: 100svh; background-attachment: scroll; }
  .hero-inner { padding: 60px 24px 80px; }
  .hero-title { font-size: 2.4rem; }
  .hero-desc { max-width: 100%; }

  .news-grid { grid-template-columns: 1fr; }
  .domains-grid { grid-template-columns: 1fr; gap: 1px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-highlights { flex-wrap: wrap; }
  .about-highlight-item { flex: 1 1 30%; }
  .steps-row { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps-row::before { display: none; }
  .about-visual img { height: 280px; }
  .alert-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; padding: 28px 24px; }
  .alert-left { flex-direction: row; justify-content: center; }
  .alert-cta { align-items: center; }
  .alert-text { max-width: 100%; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; padding: 40px 24px 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-brand { align-items: center; text-align: center; }
  .footer-brand p { text-align: center; }
  .footer-logo { justify-content: center; }
  .footer-social { justify-content: center; }
  .footer-col-title { text-align: center; }
  .footer-nav { align-items: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
  .footer-main { grid-template-columns: 1fr; }
}

/* ============================================================
   DONATE SECTION
   ============================================================ */
.donate-section {
  background: var(--red);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.donate-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='400' viewBox='0 0 600 400'><g fill='none' stroke='white' stroke-opacity='0.08' stroke-width='1.2'><circle cx='120' cy='80' r='90'/><circle cx='120' cy='80' r='60'/><circle cx='120' cy='80' r='30'/><circle cx='480' cy='300' r='110'/><circle cx='480' cy='300' r='75'/><circle cx='480' cy='300' r='40'/></g></svg>") center/cover;
  pointer-events: none;
}
.donate-section > * { position: relative; z-index: 1; }
.donate-section .section-eyebrow { color: rgba(255,255,255,0.7); }
.donate-section .section-title { color: var(--white); }
.donate-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  max-width: 500px;
  margin: 14px auto 40px;
  line-height: 1.8;
}
.donate-perks {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.donate-perk {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 130px;
}
.donate-perk-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.donate-perk-icon svg { width: 22px; height: 22px; }
.donate-perk-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
  text-align: center;
}
.btn-white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
  font-weight: 800;
}
.btn-white:hover { background: var(--off-white); border-color: var(--off-white); color: var(--red); }

/* ============================================================
   PAGE HERO — inner pages
   ============================================================ */
.page-hero {
  background: var(--navy);
  background-image:
    linear-gradient(to bottom, rgba(10,20,50,0.88) 0%, rgba(10,20,50,0.82) 100%),
    url('https://mzss.info/wp-content/uploads/2024/06/viber_image_2024-01-13_13-08-23-416-e1718741580462.jpg');
  background-size: cover;
  background-position: center 30%;
  padding: 120px 24px 128px;
  text-align: center;
}
.page-hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.page-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.2rem;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.page-hero-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  max-width: 520px;
  margin: 16px auto 0;
  line-height: 1.75;
}

/* ============================================================
   INNER PAGE — shared layout helpers
   ============================================================ */
.inner-section { padding: 80px 0; background: var(--white); }
.inner-section-alt { padding: 80px 0; background: var(--off-white); border-top: 1px solid var(--border); }
.inner-section-dark { padding: 80px 0; background: var(--navy); }

.prose p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 18px;
}

/* two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.two-col-center { align-items: center; }

/* info cards */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
}
.info-card-icon { color: var(--red); margin-bottom: 14px; }
.info-card-icon svg { width: 22px; height: 22px; }
.info-card-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.info-card-body {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* bullet list */
.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 14px;
}
.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.bullet-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  margin-top: 6px;
}

/* training module cards */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.module-card {
  border-radius: 14px;
  overflow: hidden;
  background: var(--navy);
}
.module-card img {
  width: 100%; height: 190px; object-fit: cover; display: block;
}
.module-card-body { padding: 24px 22px; }
.module-card-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.module-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}
.module-card-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
}

/* values / feature cards */
.values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.value-card {
  text-align: center;
  padding: 36px 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
}
.value-card-icon {
  width: 48px; height: 48px;
  background: rgba(203,32,39,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--red);
}
.value-card-icon svg { width: 22px; height: 22px; }
.value-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 8px;
}
.value-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* cost / pricing block */
.costs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.cost-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 28px 28px;
}
.cost-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}
.cost-card-amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.6rem;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 4px;
}
.cost-card-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.38);
  margin-bottom: 18px;
}
.cost-card .bullet-list li { color: rgba(255,255,255,0.55); }
.cost-card .bullet-list li::before { background: rgba(255,255,255,0.3); }

/* partners page */
.partners-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.partners-page-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 24px;
  display: flex; align-items: center; justify-content: center;
  height: 160px;
  transition: box-shadow var(--ease), transform var(--ease);
}
.partners-page-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.partners-page-card img {
  max-width: 100%; max-height: 100%; object-fit: contain;
}

/* page section title helpers */
.inner-section .section-title  { color: var(--navy); }
.inner-section-alt .section-title { color: var(--navy); }
.inner-section-dark .section-title { color: var(--white); }
.inner-section-dark .section-eyebrow { color: rgba(203,32,39,0.85); }

@media (max-width: 768px) {
  .page-hero { padding: 60px 24px 68px; }
  .page-hero-title { font-size: 2.2rem; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .modules-grid { grid-template-columns: 1fr; }
  .values-row { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .costs-row { grid-template-columns: 1fr; }
}