/* ============================================================
   KROTEVYCHFOND.ORG.UA — Static Rebuild
   Colors: #005BBB (blue), #FFD500 (yellow), #fff, #1a1a1a
   Font: Fira Sans
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Fira Sans', sans-serif;
  color: #1a1a1a;
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Container ─────────────────────────────────────────────── */
.kf-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header ────────────────────────────────────────────────── */
#kf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  transition: box-shadow .3s;
}
#kf-header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.12); }

.kf-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.kf-logo { flex-shrink: 0; }
.kf-logo img { width: 60px; height: 60px; object-fit: contain; }

#kf-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  justify-content: center;
}

.kf-nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  transition: color .2s;
  position: relative;
}
.kf-nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #005BBB;
  transition: width .2s;
}
.kf-nav-link:hover { color: #005BBB; }
.kf-nav-link:hover::after { width: 100%; }

.kf-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.kf-fb-link img { width: 36px; height: 36px; object-fit: contain; }

/* Burger */
#kf-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
}
#kf-burger span {
  display: block;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* Mobile nav */
@media (max-width: 768px) {
  #kf-burger { display: flex; }
  #kf-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    transform: translateY(-120%);
    transition: transform .3s;
    z-index: 99;
  }
  #kf-nav.open { transform: translateY(0); }
  .kf-nav-link { font-size: 17px; padding: 6px 0; }
}

/* ── Hero ──────────────────────────────────────────────────── */
.kf-hero {
  background: #005BBB;
  padding: 60px 20px;
  min-height: 340px;
  display: flex;
  align-items: center;
}

.kf-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.kf-hero-text h1 {
  font-size: clamp(22px, 4vw, 42px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-transform: uppercase;
}

.kf-yellow { color: #FFD500; }

.kf-hero-map {
  display: flex;
  justify-content: center;
}
.kf-hero-map img {
  max-width: 380px;
  width: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .kf-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .kf-hero-map img { max-width: 260px; margin: 0 auto; }
}

/* ── Sections ──────────────────────────────────────────────── */
.kf-section {
  padding: 60px 0;
}
.kf-section--white { background: #fff; }
.kf-section--gray  { background: #f4f6f9; }
.kf-section--blue  { background: #005BBB; }

.kf-section-title {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.kf-title--white { color: #fff; }

.kf-section-sub {
  font-size: 16px;
  color: #7A7A7A;
  margin-bottom: 32px;
}

/* ── About ─────────────────────────────────────────────────── */
.kf-about-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 32px;
}
.kf-about-photo img {
  width: 320px;
  max-width: 100%;
  border-radius: 4px;
  object-fit: cover;
}
.kf-about-bio p { margin-bottom: 16px; font-size: 15px; line-height: 1.7; }
.kf-about-bio p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .kf-about-grid {
    grid-template-columns: 1fr;
  }
  .kf-about-photo img { width: 100%; }
}

/* ── Methods ───────────────────────────────────────────────── */
.kf-methods-grid {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.kf-method-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #f4f6f9;
  border-radius: 8px;
  padding: 24px;
  flex: 0 0 auto;
}
.kf-method-card img {
  max-width: 260px;
  width: 100%;
  border-radius: 4px;
  object-fit: contain;
}

/* Button */
.kf-btn {
  display: inline-block;
  padding: 10px 28px;
  background: #005BBB;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  transition: background .2s;
  text-align: center;
}
.kf-btn:hover { background: #004da0; }

/* ── Carousel ──────────────────────────────────────────────── */
.kf-section { overflow: hidden; }

.kf-carousel-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 24px;
}

/* Outer wrapper clips the swiper so nav buttons don't overflow */
.kf-swiper-outer {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0 40px 36px;
  box-sizing: border-box;
}

.kf-swiper {
  width: 100%;
  overflow: hidden;
}

.kf-carousel-img {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 4px;
  cursor: pointer;
}

/* Swiper overrides */
.kf-swiper-outer .swiper-button-prev,
.kf-swiper-outer .swiper-button-next {
  color: #005BBB;
  width: 32px;
  height: 32px;
  top: calc(50% - 18px);
}
.kf-swiper-outer .swiper-button-prev {
  left: 0;
}
.kf-swiper-outer .swiper-button-next {
  right: 0;
}
.kf-swiper-outer .swiper-button-prev::after,
.kf-swiper-outer .swiper-button-next::after {
  font-size: 18px;
  font-weight: 700;
}
.kf-swiper-outer .swiper-pagination {
  bottom: 8px;
}
.kf-swiper-outer .swiper-pagination-bullet-active {
  background: #005BBB;
}

/* ── Reports / Stats ───────────────────────────────────────── */
.kf-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.kf-stat-card {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px;
  padding: 28px 24px;
  color: #fff;
}
.kf-stat-label {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: .85;
  margin-bottom: 10px;
}
.kf-stat-value {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: #FFD500;
}

@media (max-width: 600px) {
  .kf-stats-grid { grid-template-columns: 1fr; }
}

/* ── Contact ───────────────────────────────────────────────── */
.kf-contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-top: 32px;
}

.kf-contact-info,
.kf-docs {
  min-width: 0;
}

.kf-contact-info h3,
.kf-docs h3 {
  font-size: 20px;
  font-weight: 600;
  color: #005BBB;
  margin-bottom: 20px;
}

.kf-docs-imgs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.kf-docs-imgs img {
  flex: 1 1 45%;
  max-width: calc(50% - 6px);
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

.kf-contact-list li { margin-bottom: 14px; }
.kf-contact-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #1a1a1a;
  transition: color .2s;
}
.kf-contact-list a:hover { color: #005BBB; }
.kf-contact-list svg { flex-shrink: 0; color: #005BBB; }

@media (max-width: 768px) {
  .kf-contact-grid { grid-template-columns: 1fr; }
}

/* ── Footer ────────────────────────────────────────────────── */
.kf-footer {
  background: #1a1a1a;
  color: #fff;
  padding: 24px 0;
  text-align: center;
  font-size: 14px;
}
