/* =======================================================================
   Svět autismu — sdílený styl detailních stránek (Návrh11)
   Vychází z design tokenů hlavní stránky (index.html).
   ======================================================================= */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a2e;
  background: #fff;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== UTILITY BAR ===== */
.utility-bar { background: #1a1a2e; color: #ccc; font-size: 13px; padding: 6px 0; }
.utility-bar .inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.utility-bar a { color: #adb5bd; transition: color .2s; }
.utility-bar a:hover { color: #fff; }
.utility-left { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.utility-right { display: flex; gap: 16px; align-items: center; }
.utility-social { display: flex; gap: 10px; }
.utility-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #adb5bd;
  font-size: 12px; font-weight: 700; transition: background .2s, color .2s;
}
.utility-social a:hover { background: #4a90d9; color: #fff; }

/* ===== HEADER / NAV ===== */
.site-header { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
.header-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 12px; height: 100px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { height: 72px; width: auto; display: block; }
.logo .logo-name { font-size: 42px; font-weight: 900; color: #1a1a2e; line-height: 1; letter-spacing: -0.8px; white-space: nowrap; }

.main-nav { flex: 1; min-width: 0; }
.main-nav ul { list-style: none; display: flex; gap: 0; justify-content: flex-end; flex-wrap: nowrap; }
.main-nav a {
  display: block; padding: 8px 9px; font-size: 13.5px; font-weight: 500; color: #444;
  border-radius: 8px; transition: background .2s, color .2s; white-space: nowrap;
}
.main-nav a:hover { background: #f0f4ff; color: #4a90d9; }
.main-nav a.active { color: #4a90d9; font-weight: 600; }

.header-cta { display: flex; gap: 8px; flex-shrink: 0; }
.header-cta .btn { padding: 8px 14px; font-size: 13.5px; }

.btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 20px;
  border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all .2s; border: 2px solid transparent;
}
.btn-primary { background: #4a90d9; color: #fff; }
.btn-primary:hover { background: #3a7bc8; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(74,144,217,0.35); }
.btn-outline { border-color: #4a90d9; color: #4a90d9; background: transparent; }
.btn-outline:hover { background: #f0f4ff; }
.btn-donate { background: linear-gradient(135deg, #e85d9a, #c0392b); color: #fff; }
.btn-donate:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(232,93,154,0.4); }

/* ===== PAGE HERO (sub-page banner) ===== */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #0f2044 0%, #1a3a6e 40%, #2d5a9e 100%);
  color: #fff; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 75% 30%, rgba(74,144,217,0.28) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 15% 90%, rgba(123,94,167,0.22) 0%, transparent 60%);
}
.page-hero-rainbow {
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, #e74c3c, #e67e22, #f1c40f, #2ecc71, #3498db, #9b59b6, #e91e8c);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; padding: 56px 24px; position: relative; z-index: 1; }
.breadcrumb { font-size: 13.5px; color: rgba(255,255,255,0.65); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.75); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: rgba(255,255,255,0.35); }
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; line-height: 1.12; letter-spacing: -0.8px; margin-bottom: 14px; }
.page-hero .lead { font-size: 17px; color: rgba(255,255,255,0.82); max-width: 680px; line-height: 1.6; }

/* ===== SECTION BASE ===== */
section { padding: 64px 0; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 44px; }
.section-label {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #4a90d9; margin-bottom: 12px;
}
.section-title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: #1a1a2e; line-height: 1.2; margin-bottom: 14px; letter-spacing: -0.5px; }
.section-subtitle { font-size: 17px; color: #666; max-width: 620px; margin: 0 auto; }
.bg-soft { background: #f7f9fc; }

/* ===== PROSE (long-form text) ===== */
.prose { font-size: 16px; color: #3a3f4a; line-height: 1.8; }
.prose h2 { font-size: 26px; font-weight: 800; color: #1a1a2e; margin: 36px 0 14px; letter-spacing: -0.4px; }
.prose h3 { font-size: 20px; font-weight: 700; color: #1a1a2e; margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: #4a90d9; font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.prose strong { color: #1a1a2e; }
.prose blockquote {
  border-left: 4px solid #4a90d9; background: #f7f9fc;
  padding: 16px 22px; margin: 22px 0; border-radius: 0 10px 10px 0;
  color: #444; font-style: italic;
}
.lede { font-size: 19px; line-height: 1.7; color: #444; margin-bottom: 24px; }

/* ===== GENERIC CARD GRIDS ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.feature-card {
  background: #fff; border: 1px solid #eef2f8; border-radius: 16px; padding: 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(74,144,217,0.12); border-color: #d8e6f7; }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 16px; background: #e8f1fc;
}
.fi-blue { background: #e8f1fc; } .fi-purple { background: #f0ebff; }
.fi-green { background: #e8f8f0; } .fi-orange { background: #fff3e0; }
.fi-pink { background: #fce4ec; } .fi-teal { background: #e0f7fa; }
.feature-card h3 { font-size: 18px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: #666; line-height: 1.6; }

/* ===== STEPS (MKIP 4 kroky) ===== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { background: #fff; border: 1px solid #eef2f8; border-radius: 16px; padding: 32px 24px; position: relative; transition: transform .25s, box-shadow .25s; }
.step-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(74,144,217,0.12); }
.step-num { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; color: #4a90d9; margin-bottom: 14px; }
.step-icon { font-size: 32px; margin-bottom: 14px; }
.step-card h3 { font-size: 17px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: #666; line-height: 1.6; }

/* ===== TEAM ===== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { background: #fff; border: 1px solid #eef2f8; border-radius: 18px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,0.08); }
.team-photo {
  height: 160px; display: flex; align-items: center; justify-content: center;
  font-size: 56px; color: #fff;
  background: linear-gradient(135deg, #4a90d9, #7b5ea7);
}
.team-photo.tp-2 { background: linear-gradient(135deg, #7b5ea7, #e85d9a); }
.team-photo.tp-3 { background: linear-gradient(135deg, #2ecc71, #1abc9c); }
.team-photo.tp-4 { background: linear-gradient(135deg, #e67e22, #e91e8c); }
.team-photo.tp-5 { background: linear-gradient(135deg, #3498db, #2d5a9e); }
.team-photo.tp-6 { background: linear-gradient(135deg, #9b59b6, #4a90d9); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.team-body { padding: 22px 24px 26px; }
.team-body h3 { font-size: 18px; font-weight: 800; color: #1a1a2e; margin-bottom: 4px; }
.team-role { font-size: 13.5px; font-weight: 600; color: #4a90d9; margin-bottom: 12px; }
.team-contact { font-size: 13.5px; color: #555; line-height: 1.7; }
.team-contact a { color: #4a90d9; }

/* ===== ARTICLE LIST ===== */
.article-list { display: flex; flex-direction: column; gap: 18px; }
.article-row {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center;
  background: #fff; border: 1px solid #eef2f8; border-radius: 14px; padding: 18px 22px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.article-row:hover { border-color: #4a90d9; box-shadow: 0 8px 22px rgba(74,144,217,0.1); transform: translateX(2px); }
.article-thumb {
  width: 96px; height: 96px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 38px; flex-shrink: 0;
}
.at-1 { background: #e8f1fc; } .at-2 { background: #f0ebff; } .at-3 { background: #fff3e0; }
.at-4 { background: #e8f8f0; } .at-5 { background: #fce4ec; } .at-6 { background: #e0f7fa; }
.article-meta { font-size: 12.5px; color: #999; margin-bottom: 6px; display: flex; gap: 10px; align-items: center; }
.article-cat { color: #4a90d9; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 11px; }
.article-row h3 { font-size: 17px; font-weight: 700; color: #1a1a2e; line-height: 1.3; margin-bottom: 4px; }
.article-row p { font-size: 14px; color: #666; }
.article-go { color: #4a90d9; font-size: 22px; font-weight: 700; }
.article-row:hover .article-go { transform: translateX(3px); }

/* ===== CONTACT ===== */
.contacts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.contact-card { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid #eef2f8; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.contact-card:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0,0,0,0.08); }
.contact-card-head { padding: 28px 28px 20px; }
.contact-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: #4a90d9; background: #e8f1fc; padding: 4px 10px; border-radius: 6px; margin-bottom: 12px;
}
.contact-card h3 { font-size: 20px; font-weight: 800; color: #1a1a2e; margin-bottom: 6px; }
.contact-address { font-size: 15px; color: #555; }
.contact-map { width: 100%; height: 260px; border-top: 1px solid #eef2f8; border-bottom: 1px solid #eef2f8; background: #eef2f8; }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-details { padding: 20px 28px 28px; }
.contact-line { font-size: 14px; color: #444; line-height: 1.9; }
.contact-line strong { color: #1a1a2e; font-weight: 600; }
.contact-line a { color: #4a90d9; }
.contact-maplink { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; color: #4a90d9; }
.contact-maplink:hover { color: #3a7bc8; }

/* contact form */
.contact-form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 13.5px; font-weight: 600; color: #1a1a2e; }
.form-field input, .form-field textarea {
  padding: 12px 14px; border: 1px solid #dde4ee; border-radius: 10px; font-size: 15px;
  font-family: inherit; outline: none; transition: border-color .2s, box-shadow .2s; background: #fff;
}
.form-field input:focus, .form-field textarea:focus { border-color: #4a90d9; box-shadow: 0 0 0 3px rgba(74,144,217,0.15); }
.form-field textarea { min-height: 140px; resize: vertical; }
.contact-info-box { background: #fff; border: 1px solid #eef2f8; border-radius: 18px; padding: 28px; }
.contact-info-box h3 { font-size: 19px; font-weight: 800; margin-bottom: 18px; color: #1a1a2e; }
.info-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid #f2f5f9; font-size: 14.5px; }
.info-item:last-child { border-bottom: none; }
.info-item .ico { font-size: 20px; flex-shrink: 0; }
.info-item strong { display: block; color: #1a1a2e; font-size: 13px; margin-bottom: 2px; }
.info-item a { color: #4a90d9; }
.info-item .v { color: #555; }

/* ===== PRICE TABLE ===== */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.price-table th { background: #1a1a2e; color: #fff; text-align: left; padding: 16px 22px; font-size: 14px; font-weight: 700; }
.price-table td { padding: 16px 22px; border-bottom: 1px solid #f0f3f8; font-size: 15px; color: #3a3f4a; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover { background: #f7f9fc; }
.price-table .price { font-weight: 800; color: #1a1a2e; white-space: nowrap; }
.price-note { font-size: 14px; color: #666; margin-top: 18px; line-height: 1.7; }

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-tile {
  aspect-ratio: 1/1; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 44px; color: #fff; cursor: pointer; transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden;
}
.gallery-tile:hover { transform: scale(1.03); box-shadow: 0 12px 30px rgba(0,0,0,0.18); }
.gallery-tile span.cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.55)); color: #fff; font-size: 12.5px; font-weight: 600; text-align: left;
}
.gt-1 { background: linear-gradient(135deg,#4a90d9,#2d5a9e); }
.gt-2 { background: linear-gradient(135deg,#7b5ea7,#9b59b6); }
.gt-3 { background: linear-gradient(135deg,#2ecc71,#1abc9c); }
.gt-4 { background: linear-gradient(135deg,#e67e22,#f1c40f); }
.gt-5 { background: linear-gradient(135deg,#e91e8c,#e85d9a); }
.gt-6 { background: linear-gradient(135deg,#3498db,#4a90d9); }

/* ===== PARTNER / DONOR LOGOS ===== */
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.logo-cell {
  background: #fff; border: 1px solid #eef2f8; border-radius: 14px; padding: 28px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  transition: transform .2s, box-shadow .2s, border-color .2s; min-height: 150px; justify-content: center;
}
.logo-cell:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,0.08); border-color: #d8e6f7; }
.logo-badge {
  width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800; color: #fff; background: linear-gradient(135deg,#4a90d9,#7b5ea7);
}
.logo-cell h4 { font-size: 15px; font-weight: 700; color: #1a1a2e; line-height: 1.3; }
.logo-cell .sub { font-size: 12.5px; color: #888; }
.logo-cell a.more { font-size: 13px; font-weight: 600; color: #4a90d9; }

/* ===== CALLOUT / CTA STRIP ===== */
.cta-strip { background: linear-gradient(135deg, #1a1a2e, #2d3561, #4a2d6e); color: #fff; }
.cta-strip-inner { max-width: 800px; margin: 0 auto; padding: 0 24px; text-align: center; }
.cta-strip h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.cta-strip p { color: rgba(255,255,255,0.78); font-size: 16px; margin-bottom: 28px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-light { background: #fff; color: #1a1a2e; padding: 13px 26px; font-size: 15px; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,0.25); }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 2px solid rgba(255,255,255,0.4); padding: 13px 26px; font-size: 15px; }
.btn-ghost:hover { background: rgba(255,255,255,0.22); }

/* ===== INFO PANEL (sidebar-style boxes) ===== */
.info-panel { background: #f7f9fc; border: 1px solid #eef2f8; border-radius: 18px; padding: 28px; }
.info-panel h3 { font-size: 18px; font-weight: 800; color: #1a1a2e; margin-bottom: 14px; }
.info-list { list-style: none; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; font-size: 14.5px; color: #444; border-bottom: 1px solid #eef2f8; }
.info-list li:last-child { border-bottom: none; }
.info-list li strong { color: #1a1a2e; min-width: 130px; flex-shrink: 0; }
.info-list li a { color: #4a90d9; }

/* ===== BANK / DONATE BOX ===== */
.donate-box {
  background: linear-gradient(135deg, #0f2044, #1a3a6e); color: #fff;
  border-radius: 20px; padding: 36px; text-align: center;
}
.donate-box h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.donate-box p { color: rgba(255,255,255,0.8); font-size: 15px; margin-bottom: 22px; }
.donate-account {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px; padding: 18px; font-size: 22px; font-weight: 800; letter-spacing: 0.5px; margin-bottom: 8px;
}
.donate-sub { font-size: 13px; color: rgba(255,255,255,0.6); }

/* ===== FUNDING BANNER ===== */
.funding-banner { background: #fff; border-top: 1px solid #eef2f8; border-bottom: 1px solid #eef2f8; padding: 40px 0; }
.funding-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.funding-label { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #1a5cb8; margin-bottom: 8px; }
.funding-text h3 { font-size: 20px; font-weight: 800; color: #1a1a2e; margin-bottom: 10px; }
.funding-text p { font-size: 14px; color: #555; line-height: 1.6; margin-bottom: 12px; }
.funding-link { font-size: 14px; font-weight: 600; color: #4a90d9; }
.funding-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.funding-logo { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 14px 10px; border: 1px solid #eef2f8; border-radius: 12px; background: #fafbfc; }
.funding-logo-mark { width: 72px; height: 48px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; letter-spacing: 0.5px; color: #fff; flex-shrink: 0; }
.funding-eu { background: #003399; } .funding-mpsv { background: #1a5cb8; } .funding-opz { background: #2d7a4d; }
.funding-logo span { font-size: 11px; color: #666; line-height: 1.4; }

/* ===== FOOTER ===== */
.site-footer { background: #0f1520; color: #aaa; padding: 56px 0 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 40px; width: auto; display: block; }
.footer-logo span { font-size: 16px; font-weight: 700; color: #fff; line-height: 1.2; }
.footer-brand p { font-size: 13.5px; line-height: 1.7; margin-bottom: 16px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #aaa; transition: all .2s; }
.footer-social a:hover { background: #4a90d9; color: #fff; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13.5px; color: #888; transition: color .2s; }
.footer-col ul li a:hover { color: #4a90d9; }
.footer-contact-item { font-size: 13.5px; line-height: 1.7; margin-bottom: 10px; }
.footer-contact-item strong { color: #ccc; display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.footer-contact-item a { color: #4a90d9; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 20px 24px; border-top: 1px solid #1e2a3a; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: #555; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: #555; transition: color .2s; }
.footer-bottom a:hover { color: #4a90d9; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-rainbow { height: 4px; background: linear-gradient(90deg, #e74c3c, #e67e22, #f1c40f, #2ecc71, #3498db, #9b59b6, #e91e8c); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .contacts-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { grid-template-columns: 1fr; gap: 28px; }
  .funding-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .utility-bar .inner { flex-direction: column; gap: 6px; text-align: center; }
  .utility-left { justify-content: center; }
  .header-inner { flex-wrap: wrap; height: auto; padding: 12px 16px; gap: 12px; }
  .logo .logo-name { font-size: 30px; }
  .logo img { height: 52px; }
  .main-nav { order: 3; width: 100%; }
  .main-nav ul { flex-wrap: wrap; justify-content: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .article-row { grid-template-columns: 64px 1fr; }
  .article-go { display: none; }
  .article-thumb { width: 64px; height: 64px; font-size: 28px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
