/* ===================================================
   KULCS-ÃR Kft. â FÅstÃ­luslap v2
   ZÃ¶ld-fehÃ©r brand, 2025/2026
   =================================================== */

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

:root {
  /* Brand colors â logÃ³bÃ³l kivett zÃ¶ld + fekete */
  --green:        #6db33f;
  --green-dark:   #4e8a29;
  --green-light:  #8ec85a;
  --green-bg:     #f0f7ea;
  --green-bg2:    #e4f2d8;

  --black:        #1a1a1a;
  --white:        #ffffff;
  --off-white:    #f9fbf6;
  --gray-100:     #f2f5f0;
  --gray-200:     #dde6d5;
  --gray-400:     #8fa882;
  --gray-600:     #4a5e40;
  --gray-800:     #1e2e18;
  --text:         #1e2e18;
  --text-light:   #5a6e52;

  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 4px 24px rgba(78,138,41,0.10);
  --shadow-lg:    0 8px 48px rgba(78,138,41,0.16);
  --transition:   0.25s ease;
  --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 108px;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; transition: color var(--transition); }

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

/* ===================================================
   HEADER / NAV
   =================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 190;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  border-color: var(--gray-200);
  box-shadow: 0 2px 20px rgba(78,138,41,0.10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 108px;         /* 200%-os logÃ³hoz */
  gap: 24px;
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }

/* LOGÃ â 200%-ra nÃ¶velve: 250px szÃ©les eredeti â 500px */
.logo {
  height: 100px;
  width: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.main-nav ul li a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: 8px;
  transition: all var(--transition);
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: var(--green-dark);
  background: var(--green-bg);
}

.main-nav ul li a.nav-cta {
  background: var(--green);
  color: var(--white);
  padding: 8px 18px;
  font-weight: 600;
}

.main-nav ul li a.nav-cta:hover {
  background: var(--green-dark);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================================
   HERO
   =================================================== */

/* SzÃ©chenyi 2020 â kÃ¶r-container a hero jobb felsÅ sarkÃ¡ban, Ã©rintetlen kÃ©p */
/* SzÃ©chenyi 2020 â floating, jobb oldalt, valÃ³di Ã¡tlÃ¡tszÃ³ PNG */
.szechenyi-bar {
  position: fixed;
  top: 108px;
  right: 0;
  z-index: 195;
  display: block;
  line-height: 0;
  text-decoration: none;
}

.szechenyi-bar-img {
  display: block;
  width: 220px;
  height: auto;
}

.hero {
  position: relative;
  height: min(620px, 85vh);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; }

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30,46,24,0.88) 0%,
    rgba(78,138,41,0.72) 50%,
    rgba(109,179,63,0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: var(--white);
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-content h1 span { color: #b3e67a; }

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 20px;
  animation: bounce 2s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(78,138,41,0.32);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green);
}

.btn-outline-dark:hover {
  background: var(--green);
  color: var(--white);
}

/* ===================================================
   STATS BAR
   =================================================== */
.stats-bar {
  background: var(--green);
  color: var(--white);
  padding: 28px 0;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  padding: 8px 40px;
  flex: 1;
  min-width: 140px;
}

.stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat span {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

/* ===================================================
   SECTIONS â scroll-margin-top: pontosan a sticky header alÃ¡ ugrik
   =================================================== */
.section { padding: 96px 0; }

/* Anchor scroll offset â header 108px + 16px lÃ©gzÃ©s */
#tevekenysegek,
#rolunk,
#portfolio,
#ugyfelek,
#kapcsolat {
  scroll-margin-top: 124px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===================================================
   TEVÃKENYSÃGEK
   =================================================== */
.activities { background: var(--off-white); }

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.activity-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.activity-img-wrap {
  height: 200px;
  overflow: hidden;
}

.activity-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.activity-card:hover .activity-img-wrap img { transform: scale(1.05); }

.activity-body { padding: 28px; }

.activity-icon { font-size: 28px; margin-bottom: 12px; }

.activity-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 10px;
  line-height: 1.3;
}

.activity-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===================================================
   RÃLUNK
   =================================================== */
.about { background: var(--white); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.about-lead {
  font-size: 18px;
  color: var(--gray-800);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-values {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.value-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.value-item span {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

.about-visual { display: flex; flex-direction: column; gap: 20px; }

.about-card {
  background: var(--green-bg);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  border-left: 4px solid var(--green);
  transition: transform var(--transition), box-shadow var(--transition);
}

.about-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.about-card strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 6px;
  line-height: 1.2;
}

.about-card span { font-size: 13px; color: var(--text-light); }

/* ===================================================
   PORTFÃLIÃ
   =================================================== */
.portfolio { background: var(--gray-100); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.portfolio-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.portfolio-num {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 1;
  letter-spacing: 0.05em;
}

.portfolio-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover img { transform: scale(1.04); }

.portfolio-body { padding: 24px; }

.portfolio-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 10px;
}

.portfolio-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.portfolio-cta {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.portfolio-cta p {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 24px;
}

/* ===================================================
   ÃGYFELEK
   =================================================== */
.clients { background: var(--white); overflow: hidden; }

.clients-marquee-wrap {
  overflow: hidden;
  position: relative;
  padding: 16px 0;
}

.clients-marquee-wrap::before,
.clients-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.clients-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.clients-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.clients-track img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: all var(--transition);
  flex-shrink: 0;
}

.clients-track img:hover { filter: grayscale(0%); opacity: 1; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================================================
   CTA SECTION
   =================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  padding: 80px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  max-width: 500px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cta-buttons .btn-primary {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}

.cta-buttons .btn-primary:hover {
  background: var(--green-bg);
  border-color: var(--green-bg);
  color: var(--green-dark);
}

.cta-buttons .btn-outline-dark {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.cta-buttons .btn-outline-dark:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}

/* ===================================================
   KAPCSOLAT
   =================================================== */
.contact { background: var(--off-white); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.contact-items { display: flex; flex-direction: column; gap: 24px; }

.contact-item { display: flex; gap: 16px; align-items: flex-start; }

.contact-icon {
  font-size: 22px;
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}

.contact-item strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.contact-item span,
.contact-item a {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.5;
}

.contact-item a:hover { color: var(--green-dark); }

/* ===================================================
   FOOTER
   =================================================== */
.footer { background: var(--gray-800); color: rgba(255,255,255,0.8); }

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 64px 24px 48px;
}

.footer-brand .footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-links ul li a:hover { color: var(--white); }

.footer-contact p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-contact a { color: rgba(255,255,255,0.65); }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom span { font-size: 13px; color: rgba(255,255,255,0.38); }
.footer-bottom a { font-size: 13px; color: rgba(255,255,255,0.48); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ===================================================
   SCROLL TO TOP
   =================================================== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all var(--transition);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-3px);
}

/* ===================================================
   PÃLYÃZATOK OLDAL
   =================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  padding: 80px 0 64px;
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.palyazat-section {
  padding: 80px 0;
  background: var(--off-white);
}

.palyazat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

.palyazat-card-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 40px 48px;
  color: var(--white);
}

.palyazat-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.palyazat-card-header h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.3;
}

.palyazat-card-header p {
  color: rgba(255,255,255,0.82);
  font-size: 15px;
}

.palyazat-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border-bottom: 1px solid var(--gray-200);
}

.palyazat-meta-item {
  padding: 24px 32px;
  border-right: 1px solid var(--gray-200);
}

.palyazat-meta-item:last-child { border-right: none; }

.palyazat-meta-item label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 6px;
}

.palyazat-meta-item span {
  font-size: 16px;
  font-weight: 700;
  color: var(--green-dark);
}

.palyazat-body { padding: 40px 48px; }

.palyazat-body > p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 32px;
}

.palyazat-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green);
  display: inline-block;
}

.palyazat-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.spec-item {
  background: var(--green-bg);
  border-radius: var(--radius);
  padding: 16px 20px;
  border-left: 3px solid var(--green);
}

.spec-item label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-bottom: 4px;
}

.spec-item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
}

.components-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.components-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.components-list li::before {
  content: 'â';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.palyazat-footer {
  background: var(--green-bg);
  padding: 24px 32px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.palyazat-footer p { font-size: 14px; color: var(--text-light); }
.palyazat-footer strong { color: var(--gray-800); }
.palyazat-footer a { color: var(--green-dark); font-weight: 600; }
.palyazat-footer a:hover { text-decoration: underline; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 32px;
  transition: gap var(--transition);
}

.back-link:hover { gap: 12px; }

/* ===================================================
   RESPONSIVE
   =================================================== */

/* ââ GlobÃ¡lis overflow vÃ©delem ââ */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* ââ Clients marquee: overflow fix (minden kÃ©pernyÅn) ââ */
.clients-marquee-wrap {
  overflow: hidden;
  width: 100%;
}

/* ââââââââââââââââââââââââââââââââââââââââââââââââââââ
   Tablet: â¤ 1024px
ââââââââââââââââââââââââââââââââââââââââââââââââââââ */
@media (max-width: 1024px) {
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { flex-direction: row; flex-wrap: wrap; }
  .about-card   { flex: 1; min-width: 200px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ââââââââââââââââââââââââââââââââââââââââââââââââââââ
   Mobil: â¤ 768px
   Minta: personalpartner.hu â dropdown nav (nem full overlay)
ââââââââââââââââââââââââââââââââââââââââââââââââââââ */
@media (max-width: 768px) {

  /* -- Header -- */
  .site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
  }

  .header-inner {
    height: 64px;
    gap: 8px;
  }

  .logo { height: 46px; }

  /* -- Hamburger: mindig lÃ¡thatÃ³ -- */
  .hamburger {
    display: flex;
    z-index: 1001;
  }

  /* -- Mobil nav: dropdown a header alatt, NEM full overlay --
     Ez a personalpartner.hu megoldÃ¡sa: top = header magassÃ¡ga
  */
  .main-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 999;
    padding: 12px 16px 16px;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
  }

  .main-nav ul li {
    width: 100%;
  }

  .main-nav ul li a {
    display: block;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    border-radius: 6px;
    white-space: nowrap;
  }

  .main-nav ul li a:hover,
  .main-nav ul li a.active {
    background: var(--green-bg);
    color: var(--green-dark);
  }

  .main-nav ul li a.nav-cta {
    background: var(--green);
    color: #fff;
    margin-top: 6px;
    text-align: center;
  }

  /* -- SzÃ©chenyi: ugyanÃºgy fixed, a header (64px) alatt tapad -- */
  .szechenyi-bar {
    display: block;
    top: 64px;
  }

  .szechenyi-bar-img {
    width: 100px;
  }

  /* -- ElsÅ elem (hero) tolja le a fixed header alÃ¡ -- */
  body {
    padding-top: 64px;
  }

  .hero {
    height: min(460px, 80vh);
    margin-top: 0;
  }

  /* -- Sections -- */
  .section { padding: 56px 0; }

  /* -- Scroll anchors: header 64px + 16px lÃ©gzÃ©s -- */
  #tevekenysegek,
  #rolunk,
  #portfolio,
  #ugyfelek,
  #kapcsolat {
    scroll-margin-top: 80px;
  }

  /* -- Stats -- */
  .stats-inner { flex-wrap: wrap; }
  .stat        { padding: 10px 16px; flex: 1 1 45%; min-width: 110px; }
  .stat-divider { display: none; }

  /* -- Activities -- */
  .activities-grid { grid-template-columns: 1fr; gap: 20px; }

  /* -- About -- */
  .about-inner  { grid-template-columns: 1fr; gap: 32px; }
  .about-visual { flex-direction: column; }
  .about-card   { min-width: unset; }

  /* -- Portfolio -- */
  .portfolio-grid { grid-template-columns: 1fr; gap: 20px; }

  /* -- CTA -- */
  .cta-inner   { flex-direction: column; text-align: center; }
  .cta-buttons { justify-content: center; }

  /* -- Contact -- */
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }

  /* -- Footer -- */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 20px;
  }

  /* -- PÃ¡lyÃ¡zat oldal -- */
  .palyazat-card-header,
  .palyazat-body      { padding: 24px 20px; }
  .palyazat-meta-item { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .palyazat-meta-item:last-child { border-bottom: none; }
}

/* ââââââââââââââââââââââââââââââââââââââââââââââââââââ
   Kis mobil: â¤ 480px
ââââââââââââââââââââââââââââââââââââââââââââââââââââ */
@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.75rem; line-height: 1.2; }
  .hero-sub        { font-size: 15px; }
  .hero-buttons    { flex-direction: column; }
  .hero-buttons .btn { width: 100%; text-align: center; }
  .stat strong { font-size: 1.5rem; }
  .section-header h2 { font-size: 1.6rem; }
}
