/* ═══════════════════════════════════════════════════
   TEA INNER PAGES – Shared Stylesheet
   Fonts: Manrope (all) · JetBrains Mono (tags only)
═══════════════════════════════════════════════════ */

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

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: #1A2032;
  background: #fff;
  overflow-x: hidden;
}

/* ── VARIABLES ── */
:root {
  --dark:   #1A2032;
  --mid:    #2E4057;
  --blue:   #4A90E2;
  --light:  #E8F4F8;
  --white:  #ffffff;
  --muted:  #5A6A85;
  --border: #D0DCE8;
  --font:   'Manrope', sans-serif;
  --mono:   'JetBrains Mono', monospace;
  --max:    1200px;
  --pad:    clamp(24px, 5vw, 80px);
}

/* ── CONTAINER ── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ── HEADER ── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(26,32,50,0.96);
  backdrop-filter: blur(10px);
  height: 64px;
  display: flex; align-items: center;
  padding: 0 clamp(20px, 4vw, 48px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.header-logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; flex-shrink: 0;
}
.header-logo img {
  height: 36px; width: auto; display: block;
}
.header-name {
  font-family: var(--font);
  font-size: 13px; font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.header-nav {
  display: flex; align-items: center; gap: 2px;
  margin-left: auto;
}
.nav-item { position: relative; }
.nav-link {
  display: block; padding: 8px 13px;
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: #fff; }
.dropdown-menu {
  display: block;
  visibility: hidden; opacity: 0;
  transition: opacity 0.2s ease, visibility 0s linear 0.4s;
  position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--mid);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 6px; padding: 6px 0;
  min-width: 200px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
/* невидим "мост" между бутона и менюто, за да не изчезва при движение на мишката */
.dropdown-menu::before {
  content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px;
}
.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  visibility: visible; opacity: 1;
  transition: opacity 0.2s ease, visibility 0s linear 0s;
}
.dropdown-menu a {
  display: block; padding: 10px 20px;
  white-space: nowrap;
  font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.dropdown-menu a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.lang-divider { width: 1px; height: 16px; background: rgba(255,255,255,0.2); margin: 0 10px; }

/* ── HAMBURGER ── */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer;
  padding: 6px; margin-left: auto;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px; transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── PAGE HERO ── */
.page-hero {
  padding: 110px 0 56px;
  background: linear-gradient(105deg, var(--dark) 0%, var(--dark) 55%, var(--mid) 100%);
  position: relative; overflow: hidden;
}
/* circuit pattern overlay */
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(74,144,226,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,144,226,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.9) 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.9) 100%);
}
/* subtle glow right side */
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 85% 50%, rgba(74,144,226,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  font-family: var(--mono); font-size: 11px;
  color: rgba(255,255,255,0.38); letter-spacing: 0.1em;
  margin-bottom: 20px; text-transform: uppercase;
}
.breadcrumb a { color: var(--blue); text-decoration: none; }
.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800; color: #fff;
  letter-spacing: -0.025em; line-height: 1.1;
  margin-bottom: 18px;
  text-align: left;
}
.page-hero p {
  font-size: 17px; color: rgba(255,255,255,0.55);
  line-height: 1.75; max-width: 580px;
  margin: 0;
  text-align: left;
}

/* ── SECTION NAV (tabs) ── */
.section-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 64px; z-index: 100;
}
.section-nav ul {
  display: flex; list-style: none;
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad);
  gap: 0; overflow-x: auto;
}
.section-nav ul li a {
  display: block;
  padding: 18px 28px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.section-nav ul li a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.section-nav ul li a.active { color: var(--dark); border-bottom-color: var(--dark); }

/* ── ANCHORS ── при клик заглавието да не остава под хедъра и табовете */
[id] { scroll-margin-top: 126px; }
.content-block[id] { scroll-margin-top: 150px; }

/* ── SECTIONS ── */
.section { padding: 88px 0; }
.section-light { background: var(--light); }
.section-white { background: #fff; }
.section-dark  { background: var(--dark); }

/* ── HEADINGS ── */
h2.section-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800; color: var(--dark);
  letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 14px;
  text-align: center;
}
h2.section-title-light { color: #fff; }
.section-sub {
  font-size: 17px; color: var(--muted);
  line-height: 1.75; max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

/* изречение, което да стои на един ред (на по-широки екрани) */
@media (min-width: 901px) {
  .section-sub-oneline { max-width: none; white-space: nowrap; }
}

/* ── DIVIDER LINE (presentation style) ── */
.tea-divider {
  display: flex; align-items: center; gap: 0;
  margin: 52px 0;
}
.tea-divider::before, .tea-divider::after {
  content: ''; flex: 1;
  height: 1px; background: var(--border);
}
.tea-divider-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0;
}

/* ── TWO COLUMN CONTENT BLOCK ── */
/* image and text at same height, text truncates at image bottom */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.content-block.reverse { direction: rtl; }
.content-block.reverse > * { direction: ltr; }

.content-img-wrap {
  overflow: hidden;
  border-radius: 3px;
  height: 420px;       /* фиксирана височина на снимката */
  flex-shrink: 0;
}
.content-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  border-radius: 3px;
}
.content-img-placeholder {
  width: 100%; height: 100%;
  background: var(--mid);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px;
  color: rgba(255,255,255,0.2); letter-spacing: 0.1em;
  min-height: 420px;
}


/* text column */
.content-text-wrap { position: relative; }
.content-text {
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.content-text p {
  font-size: 17px; line-height: 1.8;
  color: var(--muted); margin-bottom: 20px;
}
.content-text p strong { color: var(--dark); font-weight: 700; }
.content-text ul {
  margin: 0 0 20px 0; list-style: none;
  display: flex; flex-direction: column; gap: 12px;
}
.content-text ul li {
  font-size: 17px; line-height: 1.7;
  color: var(--muted);
}
.content-text h3 {
  font-size: 24px; font-weight: 800; color: var(--dark);
  letter-spacing: -0.01em; line-height: 1.25;
  margin-bottom: 16px; text-align: left;
}
.content-text a { color: var(--blue); text-decoration: none; }
.content-text a:hover { text-decoration: underline; }
.content-block + .content-block { margin-top: 80px; }

/* ── BULLETS – еднакви за целия сайт ── */
.content-text ul li,
.founder-card ul li,
.tea-list li {
  position: relative;
  padding-left: 26px;
}
.content-text ul li::before,
.founder-card ul li::before,
.tea-list li::before {
  content: '';
  position: absolute; left: 3px; top: calc(0.85em - 3.5px);
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(74,144,226,0.18);
}
.tea-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }

/* fade: absolute over the BOTTOM of .content-text,
   anchored to .content-text-wrap which is position:relative */
.read-more-fade {
  position: absolute;
  left: 0; right: 0;
  height: 80px;
  pointer-events: none;
  display: none;
  /* top is set dynamically: top = content-text offsetTop + IMG_HEIGHT - 80 */
}
.section-white .read-more-fade,
.section-white .content-text-wrap .read-more-fade {
  background: linear-gradient(to bottom, transparent, #fff);
}
.section-light .read-more-fade,
.section-light .content-text-wrap .read-more-fade {
  background: linear-gradient(to bottom, transparent, var(--light));
}
/* default */
.read-more-fade {
  background: linear-gradient(to bottom, transparent, #fff);
}

/* button always after content-text, never covered */
.read-more-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  font-family: var(--font); font-size: 15px; font-weight: 700;
  color: #4A90E2;
  background: none; border: none; border-bottom: 2px solid #4A90E2;
  cursor: pointer; letter-spacing: 0.02em; padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s, gap 0.2s;
}
.read-more-btn:hover { color: var(--mid); border-color: var(--mid); gap: 12px; }

/* ── CARDS (Мисия/Визия/Модел style) ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mvc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
  cursor: pointer;
}
.mvc-card:hover {
  box-shadow: 0 12px 40px rgba(26,32,50,0.1);
  transform: translateY(-4px);
}
.mvc-card-img {
  height: 200px; overflow: hidden;
  background: var(--mid); flex-shrink: 0;
}
.mvc-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s;
}
.mvc-card:hover .mvc-card-img img { transform: scale(1.04); }
.mvc-card-body {
  padding: 24px 24px 0;
  flex: 1; display: flex; flex-direction: column;
}
.mvc-card-body h3 {
  font-size: 18px; font-weight: 800;
  color: var(--dark); margin-bottom: 10px;
  text-align: center; flex-shrink: 0;
}
.mvc-card-preview {
  font-size: 15px; color: var(--muted);
  line-height: 1.7;
  text-align: center;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 0;
}
.mvc-card-full {
  display: none;
  font-size: 15px; color: var(--muted);
  line-height: 1.75; padding-bottom: 16px;
}
.mvc-card-full p { margin-bottom: 14px; }
.mvc-card-full ul { list-style: none; margin-left: 0; }
.mvc-card-full ul li {
  padding: 6px 0; border-bottom: 1px solid var(--border);
  font-size: 15px; color: var(--muted);
}
.mvc-card-full ul li:last-child { border-bottom: none; }
.mvc-toggle-btn {
  display: block; width: 100%;
  padding: 16px; margin-top: 16px;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #4A90E2; background: none;
  border: none; border-top: 1px solid var(--border);
  cursor: pointer; text-align: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.mvc-toggle-btn:hover { background: var(--light); }
.mvc-card.expanded .mvc-card-preview { -webkit-line-clamp: unset; overflow: visible; }
.mvc-card.expanded .mvc-card-full { display: block; }

/* ── FOUNDER CARDS ── */
.founder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 52px;
}
.founder-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 4px; padding: 36px 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.founder-card:hover {
  box-shadow: 0 8px 32px rgba(26,32,50,0.08);
  transform: translateY(-3px);
}
.founder-logo {
  height: 52px; margin-bottom: 24px;
  display: flex; align-items: center;
}
.founder-logo img {
  max-height: 100%; max-width: 160px;
  object-fit: contain;
}
.founder-card h3 {
  font-size: 18px; font-weight: 800;
  color: var(--dark); margin-bottom: 6px;
  text-align: left;
}
.founder-url {
  font-family: var(--mono); font-size: 11px;
  color: var(--blue); text-decoration: none;
  letter-spacing: 0.06em; display: block;
  margin-bottom: 18px;
}
.founder-card p {
  font-size: 15px; line-height: 1.75;
  color: var(--muted); margin-bottom: 16px;
}
.founder-card ul { list-style: none; }
.founder-card ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.founder-card ul li {
  font-size: 14px; color: var(--muted);
  line-height: 1.6;
}
.founder-card ul li::before { top: calc(0.8em - 3.5px); }

/* ── EU CARDS ── */
.eu-cards {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 20px; margin-top: 40px;
}
.eu-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(74,144,226,0.18);
  border-radius: 4px; padding: 32px 28px;
  transition: background 0.2s, border-color 0.2s;
}
.eu-card:hover {
  background: rgba(74,144,226,0.08);
  border-color: rgba(74,144,226,0.35);
}
.eu-card h3 {
  font-size: 17px; font-weight: 800;
  color: #fff; margin-bottom: 10px; text-align: left;
}
.eu-card p { font-size: 15px; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ── PARTNER TYPE CARDS ── */
.partner-types {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 20px; margin: 40px 0;
}
.partner-type {
  background: #fff; border: 1px solid var(--border);
  border-radius: 4px; padding: 28px 32px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.partner-type:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(74,144,226,0.08);
}
.partner-type h3 {
  font-size: 17px; font-weight: 800;
  color: var(--dark); margin-bottom: 8px; text-align: left;
}
.partner-type p { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* ── BENEFITS LIST ── */
.benefits-list {
  display: flex; flex-direction: column; gap: 0;
  margin-top: 40px;
}
.benefit-row {
  display: flex; align-items: baseline; gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.benefit-row:first-child { border-top: 1px solid var(--border); }
.benefit-num {
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  color: var(--blue); flex-shrink: 0; width: 28px;
}
.benefit-row h4 {
  font-size: 17px; font-weight: 700;
  color: var(--dark); flex-shrink: 0; min-width: 240px;
  text-align: left;
}
.benefit-row p { font-size: 16px; color: var(--muted); line-height: 1.65; }

/* ── CAREERS GRID ── */
.careers-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 24px; margin-top: 40px;
}
.career-card {
  border: 1px solid var(--border); border-radius: 4px;
  padding: 28px; transition: border-color 0.2s, box-shadow 0.2s;
}
.career-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(74,144,226,0.08);
}
.career-type {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 10px; display: block;
}
.career-card h3 {
  font-size: 17px; font-weight: 700;
  color: var(--dark); margin-bottom: 8px; text-align: left;
}
.career-card p { font-size: 15px; line-height: 1.7; color: var(--muted); margin-bottom: 14px; }
.career-company { font-size: 14px; font-weight: 600; color: var(--mid); }
.careers-empty {
  grid-column: 1/-1; text-align: center;
  padding: 64px; color: var(--muted);
}

/* ── NEWS GRID ── */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.news-card {
  border: 1px solid var(--border); border-radius: 4px;
  overflow: hidden; transition: box-shadow 0.2s, transform 0.2s;
}
.news-card:hover {
  box-shadow: 0 8px 32px rgba(26,32,50,0.1);
  transform: translateY(-3px);
}
.news-card-img { height: 200px; background: var(--mid); overflow: hidden; position: relative; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card-img-empty {
  width: 100%; height: 100%; display: flex; align-items: center;
  justify-content: center; font-family: var(--mono); font-size: 11px;
  color: rgba(255,255,255,0.2); letter-spacing: 0.1em;
}
.news-cat {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--blue); color: #fff;
  padding: 4px 10px; border-radius: 2px;
}
.news-card-body { padding: 26px; }
.news-card-date {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted); margin-bottom: 10px; letter-spacing: 0.05em;
}
.news-card-body h3 {
  font-size: 17px; font-weight: 700; color: var(--dark);
  line-height: 1.4; margin-bottom: 10px; text-align: left;
}
.news-card-body p { font-size: 15px; line-height: 1.7; color: var(--muted); margin-bottom: 16px; }
.btn-text {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--blue);
  text-decoration: none; transition: gap 0.2s;
}
.btn-text:hover { gap: 12px; }
.btn-text::after { content: '→'; }

/* ── CONTACT ── */
.contacts-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.contact-block { margin-bottom: 32px; }
.contact-block h3 {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 8px;
  text-align: left;
}
.contact-block p, .contact-block a {
  font-size: 17px; font-weight: 500; color: var(--dark);
  text-decoration: none; display: block; line-height: 1.6;
}
.contact-block a:hover { color: var(--blue); }
.contact-form { background: var(--light); border-radius: 4px; padding: 44px 40px; }
.contact-form h2 {
  font-size: 24px; font-weight: 800; color: var(--dark);
  margin-bottom: 28px; text-align: center;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-family: var(--mono); font-size: 10px;
  font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 7px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: 3px;
  font-family: var(--font); font-size: 16px;
  color: var(--dark); background: #fff;
  outline: none; transition: border-color 0.2s; resize: vertical;
}
.form-group input:focus, .form-group textarea:focus,
.form-group select:focus { border-color: var(--blue); }
.form-group textarea { min-height: 110px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; padding: 13px 30px;
  background: var(--blue); color: #fff;
  font-family: var(--font); font-size: 14px; font-weight: 700;
  letter-spacing: 0.02em; text-decoration: none;
  border-radius: 3px; border: none; cursor: pointer; width: 100%;
  transition: background 0.2s;
  box-shadow: 0 4px 0 #2558A0, 0 6px 12px rgba(74,144,226,0.35);
}
.btn-primary:hover { background: #3a7fd5; }

.btn-white {
  display: inline-block; padding: 13px 32px;
  background: #fff; color: var(--blue);
  font-family: var(--font); font-size: 14px; font-weight: 700;
  text-decoration: none; border-radius: 3px;
  transition: opacity 0.2s;
}
.btn-white:hover { opacity: 0.9; }

/* ── CTA BOX ── */
.cta-box {
  background: var(--blue); border-radius: 4px;
  padding: 60px 48px; text-align: center; margin-top: 64px;
}
.cta-box h3 {
  font-size: 28px; font-weight: 800; color: #fff;
  margin-bottom: 14px; text-align: center;
}
.cta-box p {
  font-size: 17px; color: rgba(255,255,255,0.75);
  margin-bottom: 32px; max-width: 520px;
  margin-left: auto; margin-right: auto; line-height: 1.7;
  text-align: center;
}

/* ── FOOTER ── */
footer {
  background: #0D1421;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 60px; padding-bottom: 56px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li,
.footer-col ul li a {
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-decoration: none; transition: color 0.2s; line-height: 1.5;
}
.footer-col ul li a:hover { color: #fff; }
.footer-col.col-center { text-align: center; }
.footer-col.col-center ul { align-items: center; }
.footer-col.col-right { text-align: right; }
.footer-col.col-right ul { align-items: flex-end; }
.footer-brand {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 28px 0 32px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center;
}
.footer-brand strong { font-size: 15px; font-weight: 800; color: rgba(255,255,255,0.85); letter-spacing: 0.02em; }
.footer-brand span { font-size: 14px; color: rgba(255,255,255,0.45); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom span {
  font-size: 12px; color: rgba(255,255,255,0.2);
  font-family: var(--mono); letter-spacing: 0.04em;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  header { padding: 0 20px; }
  .hamburger { display: flex; }
  .header-nav {
    display: none; position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(26,32,50,0.98); backdrop-filter: blur(12px);
    flex-direction: column; padding: 16px 0 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08); z-index: 99; gap: 0;
  }
  .header-nav.open { display: flex; }
  .header-nav .nav-item { width: 100%; }
  .header-nav .nav-link { padding: 14px 24px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .header-nav .dropdown-menu { position: static; display: block; visibility: visible; opacity: 1; box-shadow: none; border: none; background: rgba(255,255,255,0.03); padding: 0; border-radius: 0; }
  .header-nav .dropdown-menu a { padding: 11px 36px; font-size: 14px; }
  .lang-divider { display: none; }
  .content-block, .content-block.reverse { grid-template-columns: 1fr; gap: 36px; direction: ltr; }
  .cards-grid, .founder-grid { grid-template-columns: 1fr; }
  .eu-cards, .partner-types { grid-template-columns: 1fr; }
  .careers-grid, .contacts-grid { grid-template-columns: 1fr; gap: 40px; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-col.col-center, .footer-col.col-right { text-align: left; }
  .footer-col.col-center ul, .footer-col.col-right ul { align-items: flex-start; }
  .contact-form { padding: 32px 24px; }
  .section-nav ul { gap: 0; }
  .section-nav ul li a { padding: 14px 16px; font-size: 11px; }
  .benefit-row { flex-wrap: wrap; }
  .benefit-row h4 { min-width: unset; }
  .cta-box { padding: 44px 24px; }
}


/* ── ПАРТНЬОРСТВА – нов дизайн ── */
.sub-heading {
  font-size: 20px; font-weight: 800; color: var(--dark);
  text-align: center; margin-bottom: 32px;
}
.ptype-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ptype {
  background: linear-gradient(180deg, #fff 0%, #F4FAFD 100%);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 22px 28px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.ptype:hover {
  transform: translateY(-4px);
  border-color: rgba(74,144,226,0.5);
  box-shadow: 0 12px 32px rgba(74,144,226,0.14);
}
.ptype svg { width: 46px; height: 46px; color: var(--blue); margin-bottom: 16px; }
.ptype p { font-size: 17px; font-weight: 700; line-height: 1.5; color: var(--dark); }

.benefit-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px; margin-top: 44px;
}
.benefit-item {
  display: flex; align-items: flex-start; gap: 16px;
  background: #fff;
  border-radius: 8px;
  border-left: 4px solid var(--blue);
  padding: 22px 24px;
  box-shadow: 0 4px 18px rgba(46,64,87,0.06);
}
.benefit-item p, .eu-panel-head p { font-size: 17px; line-height: 1.7; color: var(--muted); }
.benefit-icon {
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(74,144,226,0.12);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.benefit-icon svg { width: 18px; height: 18px; stroke-width: 2.2; }

.eu-panel {
  margin-top: 28px;
  background: linear-gradient(105deg, var(--dark) 0%, var(--mid) 100%);
  border-radius: 10px;
  padding: 32px 32px 34px;
}
.eu-panel-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.eu-panel-head p { color: #fff; }
.eu-panel .benefit-icon { background: rgba(74,144,226,0.25); color: #fff; }
.eu-programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.eu-program {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(74,144,226,0.35);
  border-radius: 8px;
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.eu-program strong { font-size: 17px; font-weight: 800; color: #fff; }
.eu-program span { font-size: 15px; color: rgba(255,255,255,0.6); }

@media (max-width: 900px) {
  .ptype-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid, .eu-programs { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .ptype-grid { grid-template-columns: 1fr; }
}

/* ── SHARED JS HELPERS ── */
/* used by read-more and mvc-card scripts */
.truncated { overflow: hidden; }
