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

body {
  font-family: 'Lato', 'Segoe UI', Arial, sans-serif;
  color: #393939;
  line-height: 1.6;
}

/* NAV */
nav {
  background: transparent;
  display: flex;
  align-items: center;
  padding: 0 48px;
  flex-wrap: nowrap;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s ease;
}

.nav-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  padding: 18px 0;
  margin-right: auto;
  letter-spacing: 0.5px;
}

.nav-links { display: flex; flex-wrap: nowrap; }

.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 20px 16px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: background 0.2s;
  white-space: nowrap;
  display: inline-block;
}

.nav-links a:hover,
.nav-links a.active { background: rgba(255,255,255,0.18); }

/* BANNER */
.banner {
  position: relative;
  height: 440px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.48);
}

.banner-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 0 40px 0 0;
  margin-left: 80px;
  margin-right: 80px;
}

.banner-content h1 { font-size: 3.4rem; font-weight: 700; margin-bottom: 20px; line-height: 1.2; }
.banner-content p  { font-size: 1.5rem; font-weight: 300; }

/* SECTIONS */
.section-white { background: #fff;     padding: 72px 48px; }
.section-gray  { background: #e6e6e6; padding: 72px 48px; }
.section-green { background: #1c6b31; padding: 72px 48px; color: #fff; }

.container { max-width: 1200px; margin: 0 auto; }

.section-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #393939;
  text-align: center;
}
.section-title.light { color: #fff; }

.intro-text {
  max-width: 860px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
  line-height: 1.85;
   text-align: center;
}

/* TILES */
.section-tiles { padding: 0; }

.tiles { display: flex; gap: 0; max-width: 100%; margin: 0; }

.tile { flex: 1; position: relative; overflow: hidden; border-radius: 0; }

.tile img {
  width: 100%;
  height: 32vw;
  min-height: 220px;
  max-height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.tile:hover img { transform: scale(1.04); }

.tile-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(28,107,49,0.88);
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: block;
  transition: background 0.2s;
}
.tile-label:hover { background: rgba(21,82,37,0.95); }

/* QUOTE */
.quote-section {
  position: relative;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quote-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.58);
}
.quote-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 820px;
  text-align: center;
  padding: 80px 40px;
  font-size: 1.5rem;
  line-height: 1.9;
  font-style: italic;
}

/* CTA STRIP */
.cta-strip {
  background: #e6e6e6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 52px 48px;
  flex-wrap: wrap;
}
.cta-strip p { font-size: 1.1rem; font-weight: 700; color: #393939; letter-spacing: 0.5px; }

.btn-green {
  background: #1c6b31;
  color: #fff;
  text-decoration: none;
  padding: 15px 40px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 3px;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-block;
}
.btn-green:hover { background: #155225; }

/* TEAM */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; max-width: 1200px; margin: 0 auto; }

.team-card { background: #fff; border-radius: 4px; overflow: hidden; }

.team-card img { width: 70%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: top center; display: block; margin: 28px auto 0; border-radius: 4px; }

.team-card-body { padding: 28px 24px; }
.team-card h3    { font-size: 1.2rem; font-weight: 700; color: #1c6b31; margin-bottom: 6px;text-align: center; }
.team-card .exp-line { font-size: 0.9rem; font-style: italic; color: #666; margin-bottom: 14px; line-height: 1.4;text-align: center; }
.team-card p     { font-size: 0.92rem; line-height: 1.75; color: #393939; }

/* WHY US */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; max-width: 1200px; margin: 0 auto; }

.why-item { text-align: center; padding: 20px 12px; }
.why-item img { height: 72px; margin: 0 auto 18px; display: block; }
.why-item p { font-size: 0.92rem; line-height: 1.75; color: #393939; }

/* SECTORS */
.sectors-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }

.sector-item { text-align: center; padding: 20px 12px; }
.sector-item img { height: 60px; margin: 0 auto 14px; filter: brightness(0) invert(1); display: block; }
.sector-item h4  { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.sector-item p   { font-size: 0.82rem; line-height: 1.65; color: rgba(255,255,255,0.9); }

/* FUND PARAMS */
.params-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }

.param-item { padding: 28px 16px; text-align: center; }
.param-item .param-value { font-size: 1.3rem; font-weight: 700; color: #1c6b31; margin-bottom: 8px; }
.param-item .param-label { font-size: 0.88rem; color: #393939; }

/* PORTFOLIO */
.portfolio-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; max-width: 1200px; margin: 0 auto; }

.portfolio-card { background: #fff; padding: 28px 24px; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.portfolio-grid .portfolio-card { padding-bottom: 72px; position: relative; }
.portfolio-grid .portfolio-card-footer { position: absolute; bottom: 24px; right: 24px; }
.portfolio-card h3 { font-size: 1.05rem; font-weight: 700; color: #1c6b31; margin-bottom: 10px; }
.portfolio-card p  { font-size: 0.9rem; line-height: 1.75; color: #393939; }

/* CONTACT */
.contact-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.contact-info h3 { font-size: 1.2rem; font-weight: 700; color: #1c6b31; margin-bottom: 20px; }
.contact-info p  { margin-bottom: 12px; font-size: 0.95rem; line-height: 1.75; }

.contact-linkedin { display: inline-block; margin-top: 8px; opacity: 0.85; transition: opacity 0.2s; }
.contact-linkedin:hover { opacity: 1; }
.contact-linkedin img { height: 32px; width: auto; display: block; }

/* MAP WRAPPER — centered, 4:3 aspect ratio */
.contact-map-wrap {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
}

.map-placeholder {
  position: absolute;
  inset: 0;
  background: #d8d8d8;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: #666;
  font-size: 0.95rem;
  z-index: 1;
}

.contact-map {
  position: absolute;
  inset: 0;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* FOOTER */
footer { background: #1c6b31; color: rgba(255,255,255,0.85); text-align: center; padding: 24px 48px; font-size: 0.85rem; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .team-grid   { grid-template-columns: 1fr; max-width: 500px; }
  .sectors-grid, .why-grid, .params-grid { grid-template-columns: repeat(2,1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .tiles { flex-direction: column; }
  .tile img { height: 56vw; }
  nav { padding: 0 24px; }
  .section-white, .section-gray, .section-green { padding: 52px 24px; }
  .banner-content { margin-left: 40px; }
  .banner-content h1 { font-size: 2.2rem; }
  .banner-content p  { font-size: 1.2rem; }
  .cta-strip { flex-direction: column; text-align: center; gap: 20px; }
}
@media (max-width: 600px) {
  .sectors-grid, .why-grid, .params-grid { grid-template-columns: 1fr; }
  .banner { height: 300px; }
  .banner-content { margin-left: 24px; }
  .banner-content h1 { font-size: 1.7rem; }
  .banner-content p  { font-size: 1.05rem; }
  .nav-links a { padding: 14px 10px; font-size: 12px; }
}

/* NAV LOGO */
.nav-brand img { height: 44px; width: auto; vertical-align: middle; }

/* BANNER SOLID (no image) */
.banner-solid {
  height: 300px;
  background: #1c6b31;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* EU LOGO SECTION */
.eu-logo-section {
  background: #fff;
  padding: 32px 48px;
  text-align: center;
  border-top: 1px solid #e6e6e6;
}
.eu-logo-section img { max-height: 80px; max-width: min(600px, 100%); width: auto; height: auto; }

/* FOOTER LINKS */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px 0;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.footer-links a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 4px 10px;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-links .sep { color: rgba(255,255,255,0.35); font-size: 0.75rem; }
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.7); }

/* PORTFOLIO WITH LOGO */
.portfolio-logo {
  display: block;
  max-height: 56px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 16px;
}
.portfolio-card-footer { margin-top: 16px; text-align: right; }
.btn-more {
  color: #1c6b31;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 2px solid #1c6b31;
  padding: 7px 20px;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.btn-more:hover { background: #1c6b31; color: #fff; }

/* PARAM ICON */
.param-icon { height: 56px; margin: 0 auto 14px; display: block; }

/* PORTFOLIO CAROUSEL */
.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-fade-wrapper {
  flex: 1;
  min-width: 0;
  position: relative;
}

.carousel-fade-wrapper::before,
.carousel-fade-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 2;
  pointer-events: none;
}

.carousel-fade-wrapper::before {
  left: 0;
  background: linear-gradient(to right, rgba(230,230,230,0.9) 0%, transparent 100%);
}

.carousel-fade-wrapper::after {
  right: 0;
  background: linear-gradient(to left, rgba(230,230,230,0.9) 0%, transparent 100%);
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 24px;
  scroll-behavior: smooth;
}

.carousel-card {
  flex: 0 0 320px;
  width: 320px;
  background: #fff;
  padding: 28px 24px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.carousel-card .portfolio-card-footer { margin-top: auto; text-align: right; }

.carousel-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #393939;
  flex: 1;
}

.carousel-btn {
  flex-shrink: 0;
  background: #1c6b31;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
  padding-bottom: 3px;
}

.carousel-btn:hover { background: #155225; }

@media (max-width: 960px) {
  .carousel-card { flex: 0 0 260px; width: 260px; }
}

@media (max-width: 600px) {
  .carousel-card { flex: 0 0 220px; width: 220px; }
  .carousel-btn { width: 40px; height: 40px; font-size: 1.6rem; }
}

/* LEGAL PAGE */
.legal-item { margin-bottom: 48px; padding-bottom: 40px; border-bottom: 1px solid #e6e6e6; }
.legal-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.legal-item h3 { font-size: 1.1rem; font-weight: 700; color: #1c6b31; margin-bottom: 10px; }
.legal-item p { font-size: 0.95rem; line-height: 1.85; color: #393939; margin-bottom: 2px; }

/* LANGUAGE SWITCHER */
.nav-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-left: 24px;
  color: #fff !important;
  flex-shrink: 0;
}
.nav-lang a {
  color: #fff !important;
  text-decoration: none;
}
.nav-lang a:hover {
  opacity: 0.8;
}
.lang-active {
  font-weight: 700;
  color: #fff !important;
}
.lang-sep {
  color: #fff !important;
  opacity: 0.4;
}

/* HAMBURGER BUTTON */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 8px;
  flex-direction: column;
  gap: 5px;
  margin-left: 16px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1c6b31;
    flex-direction: column;
    padding: 8px 0;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 14px 24px;
    font-size: 14px;
    width: 100%;
    text-align: center;
  }

  .nav-links a:hover,
  .nav-links a.active { background: rgba(255,255,255,0.18); }
}
