:root {
  --green: #48b298;
  --green-600: #3a9a82;
  --green-050: #e9f5f1;
  --ink: #1f1f25;
  --ink-2: #16161b;
  --body: #636b71;
  --line: #e6e8e9;
  --soft: #f5f6f6;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: 'Cabinet Grotesk', 'Satoshi', system-ui, sans-serif;
  --font-body: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1240px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --section: clamp(4.5rem, 9vw, 7.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }

/* Gombok */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  padding: .95rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  font-family: inherit;
}
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-600); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }

/* Címkék, címek */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green); margin-bottom: .9rem;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: #7fd6bf; }
.section-title { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); font-weight: 800; margin-bottom: 1.2rem; }
.section-title--light { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ''; width: 28px; height: 2px; background: currentColor; }

/* Felső sáv */
.topbar { background: var(--ink); color: rgba(255,255,255,.75); font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; }
.topbar__info { display: flex; gap: 1.6rem; }
.topbar a, .topbar p { display: inline-flex; align-items: center; gap: .45rem; margin: 0; }
.topbar a:hover { color: var(--white); }
.topbar svg { width: 15px; height: 15px; color: var(--green); }

/* Fejléc */
.header { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .3s var(--ease); }
.header.is-stuck { box-shadow: 0 6px 30px rgba(20,22,26,.08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 1.5rem; }
.header__logo img { width: clamp(150px, 16vw, 190px); }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav__link { font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); position: relative; padding: .4rem 0; }
.nav__link::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--green-600); }
.nav__cta { padding: .75rem 1.4rem; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: var(--green-050); border-radius: 12px; cursor: pointer; padding: 0 12px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: clamp(560px, 82vh, 800px); display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; animation: heroZoom 18s ease-out both; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(18,19,23,.92) 0%, rgba(18,19,23,.72) 42%, rgba(18,19,23,.15) 80%); }
.hero__content { position: relative; z-index: 1; padding-top: 4rem; padding-bottom: 4rem; }
.hero__title { color: var(--white); font-size: clamp(2.6rem, 1.4rem + 5.6vw, 5.6rem); font-weight: 800; max-width: 11ch; line-height: 1.02; margin-bottom: 1.5rem; }
.hero__lead { color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); max-width: 560px; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Előnyök */
.benefits { background: var(--soft); }
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.benefit { background: var(--white); border-radius: var(--radius-lg); padding: 2.2rem 1.8rem; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.benefit:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(20,22,26,.08); border-color: transparent; }
.benefit__icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; background: var(--green-050); color: var(--green-600); margin-bottom: 1.4rem; transition: background .3s, color .3s; }
.benefit:hover .benefit__icon { background: var(--green); color: var(--white); }
.benefit__icon svg { width: 28px; height: 28px; }
.benefit h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .6rem; }
.benefit p { margin: 0; font-size: .97rem; }

/* Rólunk */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.about__media { position: relative; padding: 0 0 2.5rem 0; }
.about__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.about__badge { position: absolute; right: -1rem; bottom: 0; background: var(--green); color: var(--white); padding: 1.4rem 1.6rem; border-radius: var(--radius); display: flex; align-items: center; gap: 1rem; box-shadow: 0 18px 40px rgba(58,154,130,.35); max-width: 280px; }
.about__badge strong { font-family: var(--font-display); font-size: 2.8rem; line-height: 1; }
.about__badge span { font-size: .9rem; line-height: 1.4; font-weight: 500; }
.checklist { list-style: none; padding: 0; margin: 1.6rem 0 2.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.4rem; }
.checklist li { position: relative; padding-left: 2rem; color: var(--ink); font-weight: 700; line-height: 1.4; }
.checklist li::before { content: ''; position: absolute; left: 0; top: .1em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 62% no-repeat; }

/* Szolgáltatások */
.services { background: var(--ink); position: relative; }
.services::before { content: ''; position: absolute; inset: 0; background: radial-gradient(800px 400px at 85% 0%, rgba(72,178,152,.18), transparent 70%); pointer-events: none; }
.services .container { position: relative; }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.service { background: #26262d; border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.06); transition: transform .35s var(--ease), border-color .35s; }
.service:hover { transform: translateY(-6px); border-color: rgba(72,178,152,.5); }
.service__img { overflow: hidden; aspect-ratio: 4 / 3; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service:hover .service__img img { transform: scale(1.06); }
.service__body { padding: 1.6rem 1.5rem 1.8rem; }
.service__num { display: inline-block; font-family: var(--font-display); font-weight: 800; color: var(--green); font-size: .95rem; margin-bottom: .6rem; letter-spacing: .05em; }
.service h3 { color: var(--white); font-size: 1.22rem; font-weight: 700; margin-bottom: .75rem; }
.service p { color: rgba(255,255,255,.68); font-size: .95rem; margin: 0; }
.callbar { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2rem; }
.callbar__item { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .7rem; color: rgba(255,255,255,.7); }
.callbar__item a { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.8rem); color: var(--white); transition: color .2s; }
.callbar__item a:hover { color: var(--green); }
.callbar__or { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--white); font-weight: 700; font-size: .85rem; }

/* Céginformációk */
.company__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 140px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; color: var(--ink); font-size: .92rem; }
.facts dd { margin: 0; }
.facts a { color: var(--green-600); font-weight: 500; }
.facts a:hover { text-decoration: underline; }
.facts--compact { border-top: 0; }
.facts--compact > div { grid-template-columns: 1fr; gap: .15rem; padding: .8rem 0; }
.facts--compact > div:last-child { border-bottom: 0; }
.facts--compact dt { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--body); }
.facts--compact dd { color: var(--ink); font-weight: 500; }
.accordion { display: grid; gap: .9rem; }
.accordion details { background: var(--soft); border-radius: var(--radius); padding: 0 1.5rem; border: 1px solid transparent; transition: border-color .3s, background .3s; }
.accordion details[open] { background: var(--white); border-color: var(--line); box-shadow: 0 14px 34px rgba(20,22,26,.06); }
.accordion summary { list-style: none; cursor: pointer; padding: 1.2rem 0; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--green-050); color: var(--green-600); font-size: 1.3rem; font-weight: 500; transition: transform .3s var(--ease), background .3s, color .3s; }
.accordion details[open] summary::after { transform: rotate(45deg); background: var(--green); color: var(--white); }
.accordion details > :not(summary) { padding-bottom: 1.2rem; }
.accordion details > p { margin: 0; }

/* Ajánlatkérés */
.quote { background: var(--ink-2); padding-bottom: 0; overflow: hidden; }
.quote__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.quote__form-wrap { padding-bottom: var(--section); }
.quote__img { border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; min-height: 420px; }
.quote__img img { width: 100%; height: 100%; object-fit: cover; object-position: 78% center; }
.form { display: grid; gap: 1.1rem; margin-top: 1.4rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: grid; gap: .45rem; color: rgba(255,255,255,.85); font-weight: 500; font-size: .92rem; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--white);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 12px;
  padding: .9rem 1rem; transition: border-color .2s, background .2s; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--green); background: rgba(255,255,255,.08); }
.form .is-invalid { border-color: #ff7a6b !important; }
.form .check { display: flex; align-items: flex-start; gap: .7rem; cursor: pointer; }
.form .check input { width: 20px; height: 20px; accent-color: var(--green); margin: .15rem 0 0; flex: none; }
.form .check--small span { font-size: .82rem; line-height: 1.55; color: rgba(255,255,255,.6); }
.form .check.is-invalid span { color: #ffb1a7; }
.form .btn { justify-self: start; margin-top: .4rem; padding-left: 2.4rem; padding-right: 2.4rem; }
.form__msg { margin: 0; font-size: .92rem; min-height: 1.5em; }
.form__msg.is-error { color: #ffb1a7; }
.form__msg.is-ok { color: #8fe3cb; }

/* Lábléc */
.footer { background: var(--ink); color: rgba(255,255,255,.66); padding-top: 4rem; }
.footer__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding-bottom: 2.8rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__logo { width: 190px; }
.footer__contact { display: flex; flex-wrap: wrap; gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem); }
.footer__contact span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--green); font-weight: 700; margin-bottom: .2rem; }
.footer__contact a, .footer__contact p { color: var(--white); font-weight: 500; margin: 0; }
.footer__contact a:hover { color: var(--green); }
.footer__main { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; padding: 2.5rem 0; }
.footer__about { max-width: 460px; margin: 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: .6rem 2rem; }
.footer__links a { color: rgba(255,255,255,.85); font-weight: 500; }
.footer__links a:hover { color: var(--green); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer__bottom p { margin: 0; }

/* Széchenyi 2020 */
.szechenyi { position: fixed; right: 0; bottom: 0; z-index: 40; width: 230px; line-height: 0; }
.szechenyi img { width: 100%; }

/* Megjelenés */
.js-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* Reszponzív */
@media (max-width: 1100px) {
  .benefits__grid, .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: var(--white);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 6.5rem 1.8rem 2rem;
    transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s linear .4s; box-shadow: -20px 0 60px rgba(0,0,0,.15);
    z-index: 1;
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease); }
  body.no-scroll::after { content: ''; position: fixed; inset: 0; background: rgba(18,19,23,.5); z-index: 45; }
  .nav__link { width: 100%; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 1.6rem; width: 100%; }
  .burger { position: relative; z-index: 2; }
  .about__grid, .company__grid, .quote__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .about__badge { right: 1rem; }
  .quote__form-wrap { padding-bottom: 0; }
  .quote__img { min-height: 280px; max-height: 360px; }
  .szechenyi { width: 170px; }
}
@media (max-width: 640px) {
  .topbar .topbar__addr { display: none; }
  .topbar__info { gap: 1rem; flex-wrap: wrap; }
  .topbar__inner { justify-content: center; padding-top: .5rem; padding-bottom: .5rem; }
  .header__inner { min-height: 70px; }
  .hero { min-height: 560px; }
  .hero__shade { background: linear-gradient(180deg, rgba(18,19,23,.7) 0%, rgba(18,19,23,.88) 100%); }
  .hero__actions .btn { flex: 1 1 100%; }
  .benefits__grid, .services__grid { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
  .facts > div { grid-template-columns: 1fr; gap: .1rem; }
  .callbar__or { display: none; }
  .callbar { flex-direction: column; text-align: center; }
  .callbar__item { justify-content: center; }
  .about__badge { position: relative; right: auto; margin: -2.5rem 1rem 0; }
  .about__media { padding-bottom: 0; }
  .szechenyi { position: static; display: block; width: 200px; margin: 0 auto; padding-bottom: 1rem; background: transparent; }
  .footer { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
