@charset "utf-8";

/* ==========================================================================
   1. Globális változók és alapbeállítások
   ========================================================================== */
:root {
  --green-dark: #00462f;
  --green-main: #005c3d;
  --green-soft: #eaf4ef;
  --green-900: #00411f; 
  --green-800: #00542a; 
  --green-700: #006b35; 
  --green-600: #2f7d32; 
  --green-500: #6da820; 
  --text-main: #101828; 
  --text-soft: #475467; 
  --text-muted: #4f5968;
  --bg: #f7f6f1;
  --white: #ffffff;
  --line: #dfe5e2; 
  --card-line: #e5ebe8; 
  --shadow-soft: 0 14px 35px rgba(16, 24, 40, 0.08); 
  --shadow-card: 0 8px 22px rgba(16, 24, 40, 0.06); 
  --radius-small: 8px; 
  --radius-medium: 10px;
  --radius-card: 10px; 
  --radius-large: 16px;
  --radius-big: 14px; 
  --container: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', Arial, sans-serif; background: var(--bg); color: var(--text-main); line-height: 1.65; font-size: 16px;}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2 { font-family: 'Lora', Georgia, serif; color: var(--text-main); line-height: 1.18; letter-spacing: -0.03em; }
h1 { font-size: 49px; max-width: 640px; margin-bottom: 20px; }
h3 { font-size: 16px; line-height: 1.35; font-weight: 800; margin-bottom: 10px; }

.container { width: min(var(--container), calc(100% - 64px)); margin: 0 auto; }
.page-wrap { padding: 24px 0 28px; }
.centered { text-align: center; margin-top: 2px; }

/* ==========================================================================
   2. Fejléc és Navigáció
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0,0,0,0.04);}
.header-inner { height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo img { width: 275px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 44px; font-weight: 800; font-size: 15px; }
.main-nav a { position: relative; padding: 0px 0 0; }
.main-nav a.active::after, .main-nav a:hover::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 5px; border-radius: 999px; background: var(--green-main); }

/* ==========================================================================
   3. Gombok stílusai (Összevont, duplikációmentes)
   ========================================================================== */
.btn, .btn-primary, .btn-light, .btn-submit, .cta-button { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 14px; 
  cursor: pointer; 
  font-weight: 800; 
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease; 
  border: 0;
}
.btn { min-height: 54px; padding: 0 31px; border-radius: 6px; font-size: 15px; border: 1px solid transparent; }
.btn:hover, .btn-primary:hover, .btn-submit:hover, .btn-light:hover { transform: translateY(-1px); }
.btn-primary, .btn-submit { 
  min-height: 56px; 
  padding: 0 28px; 
  border-radius: 7px;
  background: linear-gradient(135deg, var(--green-900), var(--green-700)); 
  color: var(--white); 
  box-shadow: 0 14px 30px rgba(0, 77, 54, 0.22); 
}
.btn-primary:hover, .btn-submit:hover { box-shadow: 0 10px 22px rgba(0,70,47,0.16); }

/* ==========================================================================
   4. Hero és Bevezető kártyák
   ========================================================================== */
.hero { position: relative; min-height: 438px; overflow: hidden; background: radial-gradient(circle at 74% 48%, rgba(235, 241, 237, 0.78), rgba(255,255,255,0) 38%), linear-gradient(180deg, #ffffff 0%, #fbfcfb 72%, #f5f8f6 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 105px; background: linear-gradient(180deg, rgba(255,255,255,0), #f5f8f6 74%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 42px; padding: 50px 0 28px; }
.hero-copy { max-width: 570px; }
.hero-title { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: clamp(35px, 3.5vw, 64px); line-height: 1.12; letter-spacing: -0.035em; color: #06192d; }
.section-mark, .hero-mark { width: 44px; height: 2px; background: var(--green-700); margin: 25px 0 22px; }
.hero-text { margin: 0 0 26px; font-size: 20px; line-height: 1.7; font-weight: 500; color: #0a1c32; }
.hero-visual { opacity: 0.8; }
.hero-building { width: 700px; margin-left: auto; filter: grayscale(10%); } 

.hero-card { position: relative; min-height: 360px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-large); background: white; box-shadow: var(--shadow-soft); display: grid; grid-template-columns: 55% 45%; }
.hero-content { position: relative; z-index: 2; padding: 56px 52px ; background: linear-gradient(90deg, #fff 0%, #fff 68%, rgba(255,255,255,.88) 82%, rgba(255,255,255,0) 100%); }
.hero-content p { max-width: 500px; font-size: 20px; color: #283044; font-weight: 500; margin-bottom: 29px; }
.hero-buttons { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-image { position: absolute; inset: 0 0 0 auto; width: 62%; background-image: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.08) 30%, rgba(255,255,255,0) 100%), url('img/forras-hero.jpg'); background-size: cover; background-position: center; }

/* Global Cards */
.feature-strip, .about-card, .services-card, .online-card, .faq-card, .contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-large); box-shadow: var(--shadow-soft); margin-top: 20px; }

/* ==========================================================================
   5. Statisztika sáv
   ========================================================================== */
.stats-wrap { margin-top: 20px; position: relative; z-index: 3; }
.stats-card { display: grid; grid-template-columns: repeat(4, 1fr); background: #ffffff; border: 1px solid #e6ebe8; border-radius: var(--radius-big); box-shadow: var(--shadow-soft); overflow: hidden; }
.stat-item { min-height: 100px; padding: 25px 24px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid var(--line); }
.stat-item:last-child { border-right: 0; }
.stat-icon {   margin-bottom: 0px;  color: var(--green-800);   font-size: 42px;   /* Kényszerítjük az elemet, hogy pontosan akkora legyen, mint a benne lévő SVG */  display: flex;  align-items: center;  justify-content: center;
  line-height: 0; }

/* Automatikus '+' jel a 160 és 3500 után, ha az animáció véget ért */
.stat-item:nth-child(1) .stat-number::after,
.stat-item:nth-child(2) .stat-number::after {
  content: '+';
}

/* Automatikus ' éve' felirat a 20 után */
.stat-item:nth-child(4) .stat-number::after {
  content: ' éve';
  font-size: 24px; /* Kicsit kisebb betűméret a szövegnek */
  font-weight: 700;
}


/* Közvetlenül az SVG-re ható finomhangolás */
.stat-icon svg {  display: block;  margin-bottom: -10px; /* Negatív margóval közelebb húzzuk a számot */}
.stat-number { color: var(--green-900); font-size: 34px; line-height: 1.05; font-weight: 900; }
.stat-number-bp { color: var(--green-900); font-size: 34px; line-height: 1.05; font-weight: 900; }

.stat-label { margin-top: 8px; color: #152033; font-size: 15px; font-weight: 600; line-height: 1.35; }
.stat-label-bp { margin-top: 8px; color: #152033; font-size: 15px; font-weight: 600; line-height: 1.35; }
/* ==========================================================================
   6. Szűrő gombok és szekciók
   ========================================================================== */
.filter-section { padding: 58px 0 28px; }
.filter-row { display: grid; grid-template-columns: 1.28fr repeat(3, 1fr); gap: 24px; }
.filter-button { min-height: 56px; padding: 8px 16px; border: 1px solid #d9e0dd; border-radius: 8px; background: #ffffff; color: #111827; font-family: inherit; font-size: 14px; line-height: 1.25; font-weight: 800; box-shadow: 0 4px 12px rgba(16, 24, 40, 0.03); cursor: pointer; }
.filter-button.active { background: linear-gradient(135deg, var(--green-900), var(--green-800)); color: #ffffff; border-color: transparent; box-shadow: 0 8px 18px rgba(0, 65, 31, 0.20); }

/* ==========================================================================
   7. Referencia kártyák & Kiemelt projekt
   ========================================================================== */
.references { padding: 0 0 28px; }
.reference-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.reference-card { background: #ffffff; border: 1px solid var(--card-line); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.reference-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);}
.reference-image { width: 100%; object-fit: cover; }
.reference-body { padding: 22px 22px 20px; }
.reference-title { margin: 0 0 0; font-size: 18px; line-height: 1.3; font-weight: 900; color: #121a2c; }
.reference-type { margin: 2px 0 16px; font-size: 13px; color: #344054; font-weight: 600; }
.reference-meta { display: grid; grid-template-columns: repeat(3, max-content); gap: 14px; margin-bottom: 16px; color: #27384a; font-size: 12px; font-weight: 700; align-items: center; }
.meta-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.meta-icon { color: var(--green-800); font-size: 14px; }
.reference-description { min-height: 70px; margin: 0px; color: #223044; font-size: 14px; line-height: 1.7; font-weight: 600; }
.card-link { display: inline-flex; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid #e9eeeb; width: 100%; color: var(--green-800); font-size: 14px; font-weight: 900; }
.card-link::after { content: "→"; font-size: 18px; }

/* Kiemelt projekt */
.featured-project { padding: 24px 0 42px; }
.featured-card { display: grid; grid-template-columns: 1fr 1.25fr; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #f1f8f4 0%, #ffffff 100%); box-shadow: var(--shadow-card); border: 1px solid #e3ebe6; }
.featured-image { height: 360px; width: 100%; object-fit: cover; }
.featured-content { padding: 34px 44px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--green-dark); font-size: 13px; margin-bottom: 8px; }
.eyebrow::after { content: ''; display: inline-block; width: 42px; height: 1px; background: #9ba9a2; margin-left: 12px; vertical-align: middle; }
.featured-title { margin: 0 0 16px; color: #182033; font-size: 32px; line-height: 1.18; font-weight: 900; }
.featured-text { margin: 0 0 26px; color: #253247; font-size: 15px; line-height: 1.8; font-weight: 600; }
.featured-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 28px; color: #1d2b3a; font-size: 14px; font-weight: 800; }
/* ==========================================================================
8. Egyéb modulok (Bokszok, Vélemények, FAQ, Adatlapok)
========================================================================== */
.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); padding: 28px 0; }
.feature-item { text-align: center; padding: 8px 45px 16px; border-right: 1px solid var(--line); }
.feature-item:last-child { border-right: 0; }
.feature-item p, .service-box p { color: var(--text-muted); font-size: 15px; }
.icon { font-size: 48px; line-height: 1; color: var(--green-dark); margin-bottom: 18px; font-weight: 400; }
.about-card { display: grid; grid-template-columns: 250px 1fr 1.2fr; gap: 38px; align-items: center; padding: 36px 44px; }
.portrait-wrap img { width: 230px; height: 230px; border-radius: 50%; object-fit: cover; }
.about-text h2, .online-card h2, .contact-form h2 { font-size: 33px; margin-bottom: 20px; }
.about-text p:not(.eyebrow) { color: var(--text-muted); margin-bottom: 26px; max-width: 520px; }
.about-list { border-left: 1px solid var(--line); padding-left: 38px; }
.about-list ul { list-style: none; display: grid; gap: 20px; }
.about-list li { position: relative; padding-left: 34px; color: var(--text-muted); font-size: 15px; }
.about-list li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border: 2px solid var(--green-dark); border-radius: 50%; color: var(--green-dark); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.about-list strong { color: var(--text-main); }
.services-card { padding: 54px 12px 36px; text-align: center; }
.services-card h2 { font-size: 35px; margin-top: 20px; margin-bottom: 26px; }
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.service-box { min-height: 250px; border: 1px solid var(--line); border-radius: 8px; padding: 32px 18px 22px; background: white; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.service-box .icon { font-size: 46px; margin-bottom: 18px; }
.services-cta { margin-top: 26px; }
.process-strip { margin-top: 20px; background: var(--green-dark); color: white; border-radius: 12px; min-height: 132px; display: grid; grid-template-columns: .8fr 1.4fr .2fr 1.4fr .2fr 1.4fr .2fr 1.4fr; align-items: center; gap: 12px; padding: 20px 30px; }
.process-title { text-transform: uppercase; letter-spacing: .09em; font-weight: 800; text-align: center; font-size: 13px; }
.process-step { display: flex; gap: 16px; align-items: center; }
.process-step span { flex: 0 0 64px; height: 64px; border-radius: 50%; background: white; color: var(--green-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; }
.process-step h3 { color: white; margin-bottom: 3px; }
.process-step p { font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.9); }
.arrow { color: rgba(255,255,255,.7); text-align: center; }
.online-card { display: grid; grid-template-columns: 230px 1fr 1fr; align-items: center; gap: 30px; padding: 34px 48px; }
.laptop-icon { width: 128px; height: 88px; border: 5px solid var(--green-dark); color: var(--green-dark); display: flex; align-items: center; justify-content: center; font-size: 45px; margin: 0 auto; }
.online-card p { color: var(--text-muted); }
.online-action { text-align: left; }
.online-action p { margin-top: 18px; }
.online-action a:not(.btn) { color: var(--green-dark); font-weight: 800; text-decoration: underline; }
.faq-card { padding: 22px 30px 30px ; }
.faq-card h2 { font-size: 25px; margin-bottom: 16px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
details { border: 1px solid var(--line); border-radius: 6px; background: white; padding: 0 20px; }
summary { list-style: none; cursor: pointer; height: 56px; display: flex; align-items: center; justify-content: space-between; font-weight: 600; }
summary::after { content: '⌄'; font-size: 18px; }
details(open) summary::after { content: '⌃'; }
details p { color: var(--text-muted); padding: 0 0 18px; font-size: 14px; }
/* Vélemények */
.testimonials { padding: 48px 0 56px; }
.testimonial-wrap { position: relative; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; width: calc(100% - 116px); margin: 0 auto; }
.testimonial-card { min-height: 260px; padding: 30px 30px 28px; border: 1px solid #e3e9e6; border-radius: 10px; background: #ffffff; box-shadow: 0 8px 18px rgba(16, 24, 40, 0.04); }
.quote-mark { color: var(--green-800); font-size: 50px; line-height: 0.6; font-weight: 900; }
.stars { margin: 8px 0 20px; color: #ffb400; letter-spacing: 2px; font-size: 18px; }
.testimonial-text { margin: 0 0 22px; color: #1f2937; font-size: 14px; line-height: 1.75; font-weight: 600; }
.testimonial-author { margin: 0; color: #1b2535; font-size: 14px; font-weight: 900; text-align: right; }
.slider-arrow { position: absolute; top: 50%; width: 52px; height: 52px; border-radius: 50%; border: 1px solid #dfe6e2; background: #ffffff; color: var(--green-800); font-size: 34px; line-height: 1; box-shadow: 0 8px 18px rgba(16, 24, 40, 0.06); }
.slider-arrow.prev { left: 0; }
.slider-arrow.next { right: 0; }
.slider-dots { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 30px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: #d2d8d5; }
.dot.active { background: var(--green-800); }
/* Kapcsolat & Lábléc */
.contact-card { display: grid; grid-template-columns: 390px 1fr; gap: 40px; padding: 40px 44px 34px; margin-bottom: 24px; background: #ffffff; margin-top: 20px; scroll-margin-top: 100px;}
.contact-info { border-right: 1px solid var(--line); padding-right: 38px; }
.contact-info img { width: 245px; margin-bottom: 22px; }
.contact-info p { color: var(--text-muted); margin-bottom: 18px; }
.contact-line { color: var(--text-main) !important; font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
input, textarea { width: 100%; border: 1px solid #d7ded9; border-radius: 6px; padding: 16px 18px; font: inherit; color: var(--text-main); background: white; }
textarea { height: 122px; resize: vertical; margin-bottom: 18px; }
input:focus, textarea:focus { outline: 2px solid rgba(0,92,61,.18); border-color: var(--green-main); }
.required { color: #b32323; }
/* ==========================================================================
9. Alsó CTA sáv & Footer
========================================================================== */
.bottom-cta { padding: 12px 0 48px; }
.cta-bar { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px; min-height: 138px; padding: 28px 44px; border-radius: 12px; background: linear-gradient(135deg, #003d1d 0%, #00522a 58%, #00411f 100%); color: #ffffff; box-shadow: 0 16px 34px rgba(0, 65, 31, 0.20); }
.cta-icon { width: 78px; height: 78px; border: 2px solid rgba(166, 203, 65, 0.6); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 38px; }
.cta-title { margin: 0 0 4px; font-size: 27px; line-height: 1.15; font-weight: 900; color: #ffffff; }
.cta-subtitle { margin: 0; font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.9); }
.cta-phone { display: inline-flex; align-items: center; gap: 16px; font-size: 22px; font-weight: 800; white-space: nowrap; }
.phone-icon { font-size: 24px; }
.site-footer { background: var(--green-dark); color: white; border-radius: 8px 8px 0 0; }
.footer-inner { min-height: 55px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.footer-inner a { color: white; margin: 0 12px; }

/* ==========================================================================
10. Összevont, tiszta Reszponzív töréspontok (Átfedések kiküszöbölve)
========================================================================== */
@media (max-width: 1100px) {
.header-inner { height: auto; padding: 18px 0; flex-wrap: wrap; }
.main-nav { order: 3; width: 100%; justify-content: center; gap: 10px; flex-wrap: wrap; }
.reference-grid { grid-template-columns: repeat(2, 1fr); }
.filter-row { grid-template-columns: repeat(4, 1fr); }
.featured-card { grid-template-columns: 1fr; }
.featured-image { height: 300px; }
.cta-bar { grid-template-columns: auto 1fr; }
.cta-button, .cta-phone { justify-self: start; }
}
@media (max-width: 1050px) {
.hero-card { position: relative; grid-template-columns: 1fr; background-color: #1a1a1a; overflow: hidden; }
.hero-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 1; background-image: linear-gradient(0deg, rgba(255,255,255,0.4), rgba(255,255,255,0.4)), url('img/forras-hero.jpg'); background-size: cover; background-position: center; z-index: 1; }
.hero-content { position: relative; z-index: 2; background: transparent; color: #ffffff; padding: 40px; }
.hero-content h1, .hero-content p { font-size: 20px; font-weight: 800; color: #000000; text-shadow: 0 0 10px rgba(255, 255, 255, 0.9); }
.feature-strip, .service-grid, .faq-grid { grid-template-columns: repeat(2, 1fr); }
.about-card, .online-card, .contact-card { grid-template-columns: 1fr; }
.about-list, .contact-info { border-left: 0; border-right: 0; padding-left: 0; padding-right: 0; }
.process-strip { grid-template-columns: 1fr; }
.arrow { display: none; }
.footer-inner { flex-direction: column; padding: 14px 0; }
}
@media (max-width: 760px) {
.hero { padding: 64px 0 54px; }
.stats-card { grid-template-columns: repeat(2, 1fr); }
.stat-item { border-right: 0; border-bottom: 1px solid var(--line); }
.stat-item:nth-child(odd) { border-right: 1px solid var(--line); }
.stat-item:nth-last-child(-n+2) { border-bottom: 0; }
.filter-row { grid-template-columns: 1fr 1fr; gap: 12px; }
.reference-grid { grid-template-columns: 1fr; gap: 22px; }
.reference-image { height: 210px; }
.testimonial-grid { width: 100%; grid-template-columns: 1fr; }
.slider-arrow { display: none; }
.cta-bar { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 30px 22px; }
.cta-button, .cta-phone { justify-self: center; }
}
@media (max-width: 620px) {
.container { width: min(100% - 28px, var(--container)); }
h1 { font-size: 36px; }
.hero-content { padding: 33px 24px; }
.hero-visual { order: -1; opacity: 0.55; }
.hero-building { width: 100%; }
.hero-title { font-size: 26px; }
.hero-text { font-size: 17px; }
.feature-strip, .service-grid, .faq-grid, .form-row { grid-template-columns: 1fr; }
.feature-item { border-right: 0; border-bottom: 1px solid var(--line); }
.feature-item:last-child { border-bottom: 0; }
.contact-card { padding: 40px 22px 25px; }
.hero-copy { max-width: 370px; margin-left: 10px; }
.about-card, .online-card { padding: 25px 22px; }
.header-cta { display: none; }
}
@media (max-width: 480px) {
.stats-card { grid-template-columns: 1fr; }
.stat-item, .stat-item:nth-child(odd) { border-right: 0; }
.stat-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.stat-item:last-child { border-bottom: 0; }
.filter-row { grid-template-columns: 1fr; }
.reference-meta { grid-template-columns: 1fr; gap: 8px; }
.cta-title { font-size: 23px; }
}

