/* ============================================================
   Herczeg Földgép – egyedi sablon CSS
   Minden osztály "hfg-" prefixszel, hogy ne ütközzön
   a Microweber saját (mw-, bootstrap stb.) stílusaival.
   Színek: sárga #FFC510 · fekete #141414
   ============================================================ */

.hfg-body { margin: 0; }

.hfg-page {
    font-family: 'Barlow', Arial, sans-serif;
    color: #141414;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
.hfg-page *, .hfg-page *::before, .hfg-page *::after { box-sizing: border-box; }

.hfg-container { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.hfg-yellow { color: #FFC510; }

.hfg-kicker {
    font: 600 14px 'Barlow', sans-serif;
    color: #FFC510;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.hfg-kicker-dark { color: #B58900; }

.hfg-h2 {
    margin: 6px 0 28px;
    font: 700 38px 'Oswald', sans-serif;
    color: #141414;
    text-transform: uppercase;
}
.hfg-h2-light { color: #fff; }

.hfg-h3 {
    margin: 0;
    font: 700 30px 'Oswald', sans-serif;
    color: #fff;
    text-transform: uppercase;
}

.hfg-btn {
    display: inline-block;
    background: #FFC510;
    color: #141414 !important;
    font: 700 18px 'Oswald', sans-serif;
    padding: 14px 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}
.hfg-btn:hover { background: #E5B00E; }

.hfg-stripe {
    height: 12px;
    background: repeating-linear-gradient(-45deg, #FFC510 0 16px, #141414 16px 32px);
}

/* ---------- Fejléc ---------- */
.hfg-header { background: #fff; border-bottom: 4px solid #FFC510; }
.hfg-header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }

.hfg-logo {
    display: flex; align-items: center; gap: 12px;
    font: 700 22px 'Oswald', sans-serif;
    color: #141414 !important;
    letter-spacing: 0.5px;
    text-decoration: none;
}
.hfg-logo-mark {
    width: 34px; height: 34px;
    background: #FFC510;
    display: grid; place-items: center;
    font: 700 18px 'Oswald', sans-serif;
    color: #141414;
}

.hfg-nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hfg-nav a {
    font: 600 15px 'Barlow', sans-serif;
    color: #555 !important;
    text-decoration: none;
}
.hfg-nav a:hover { color: #141414 !important; }
.hfg-nav-phone.hfg-nav-phone {
    font: 700 17px 'Oswald', sans-serif;
    color: #141414 !important;
    background: #FFC510;
    padding: 8px 18px;
}
.hfg-nav-phone.hfg-nav-phone:hover { background: #E5B00E; }

/* ---------- Hero ---------- */
.hfg-hero { position: relative; background: #141414; }
.hfg-hero-img { display: block; width: 100%; height: 560px; object-fit: cover; }
.hfg-hero-shade {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.25) 55%, rgba(10,10,10,0) 100%);
}
.hfg-hero-in { position: absolute; left: 0; right: 0; bottom: 44px; }

.hfg-hero-title {
    margin: 0;
    font: 700 60px/1.05 'Oswald', sans-serif;
    color: #fff;
    text-transform: uppercase;
}
.hfg-hero-lead {
    margin: 16px 0 24px;
    max-width: 560px;
    font: 400 18px/1.5 'Barlow', sans-serif;
    color: #ddd;
}

/* ---------- Gépek ---------- */
.hfg-machines { background: #141414; padding-bottom: 64px; }
.hfg-machines-head { padding-top: 56px; padding-bottom: 32px; }
.hfg-machines-photo { display: block; width: 100%; height: 620px; object-fit: cover; object-position: center 46%; }
.hfg-machine-points { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hfg-machine-points li { font: 400 15px/1.55 'Barlow', sans-serif; color: #b8b8b8; }
.hfg-machine-points strong { color: #FFC510; font-weight: 700; }
.hfg-about-photo-zoom { height: 320px; background-repeat: no-repeat; background-size: 330%; background-position: 52% 40%; }

.hfg-machines-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.hfg-machine { padding-top: 36px; }
.hfg-machine:first-child { border-right: 1px solid #2A2A2A; padding-right: 40px; }
.hfg-machine:last-child { padding-left: 0; }

.hfg-machine-desc {
    margin: 14px 0 24px;
    font: 400 16px/1.55 'Barlow', sans-serif;
    color: #999;
}

.hfg-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.hfg-spec-num { font: 700 34px 'Oswald', sans-serif; color: #FFC510; }
.hfg-spec-label {
    font: 500 13px 'Barlow', sans-serif;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- Szolgáltatások ---------- */
.hfg-services { background: #F5F3EE; padding: 64px 0; }

.hfg-service-list {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 40px;
}
.hfg-service-list li {
    display: flex; align-items: center; gap: 12px;
    font: 500 18px 'Barlow', sans-serif;
    color: #222;
}
.hfg-service-list li::before {
    content: "";
    width: 18px; height: 18px;
    background: #FFC510;
    flex-shrink: 0;
}

/* ---------- Rólunk ---------- */
.hfg-about { padding: 64px 0; }
.hfg-about-in {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}
.hfg-about p { margin: 0 0 14px; font: 400 17px/1.6 'Barlow', sans-serif; color: #444; }

.hfg-photo-placeholder {
    border: 2px dashed #D5D0C5;
    background: #FAF8F4;
    height: 320px;
    display: grid; place-items: center;
    font: 500 15px 'Barlow', sans-serif;
    color: #A39D8F;
    text-align: center;
}
.hfg-about-photo img { display: block; width: 100%; height: 320px; object-fit: cover; }

/* ---------- Kapcsolat ---------- */
.hfg-contact { background: #141414; padding: 64px 0; }
.hfg-contact-in {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.hfg-contact-lead { margin: 0 0 28px; font: 400 17px/1.6 'Barlow', sans-serif; color: #aaa; }

.hfg-phone-big {
    display: inline-block;
    font: 700 52px 'Oswald', sans-serif;
    color: #FFC510 !important;
    text-decoration: none;
}
.hfg-phone-big:hover { color: #E5B00E !important; }
.hfg-contact-sub { margin: 10px 0 0; font: 500 16px 'Barlow', sans-serif; color: #888; }

/* A Microweber contact_form modul mezőinek átszínezése, csak a .hfg-form-on belül */
.hfg-form input[type="text"],
.hfg-form input[type="email"],
.hfg-form input[type="tel"],
.hfg-form input[type="number"],
.hfg-form select,
.hfg-form textarea {
    width: 100%;
    background: #1D1D1D;
    border: 1px solid #3A3A3A;
    border-radius: 0;
    padding: 14px 16px;
    font: 400 16px 'Barlow', sans-serif;
    color: #eee;
    margin-bottom: 14px;
}
.hfg-form input::placeholder, .hfg-form textarea::placeholder { color: #777; }
.hfg-form label { font: 500 14px 'Barlow', sans-serif; color: #aaa; }
.hfg-form button,
.hfg-form input[type="submit"],
.hfg-form .btn {
    width: 100%;
    background: #FFC510 !important;
    border: 1px solid #FFC510 !important;
    border-radius: 0 !important;
    padding: 14px 16px !important;
    font: 700 16px 'Oswald', sans-serif !important;
    color: #141414 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
}
.hfg-form button:hover, .hfg-form input[type="submit"]:hover { background: #E5B00E !important; }

/* ---------- Lábléc ---------- */
.hfg-footer { background: #0C0C0C; }
.hfg-footer-in {
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding-top: 18px; padding-bottom: 18px;
    font: 500 14px 'Barlow', sans-serif;
    color: #666;
}

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
    .hfg-hero-img { height: 460px; }
    .hfg-hero-title { font-size: 42px; }
    .hfg-h2 { font-size: 30px; }
    .hfg-machines-cols { grid-template-columns: 1fr; }
    .hfg-machine:first-child { border-right: none; padding-right: 0; border-bottom: 1px solid #2A2A2A; padding-bottom: 36px; }
    .hfg-machines-photo { height: 420px; }
    .hfg-about-in, .hfg-contact-in { grid-template-columns: 1fr; gap: 32px; }
    .hfg-service-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .hfg-hero-img { height: 420px; }
    .hfg-hero-title { font-size: 34px; }
    .hfg-phone-big { font-size: 38px; }
    .hfg-nav { gap: 14px; }
    .hfg-specs { gap: 14px 16px; }
    .hfg-spec-num { font-size: 28px; }
}

.hfg-footer-fund { padding: 36px 0 30px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.hfg-footer-fund__text { text-align: center; color: rgba(255,255,255,0.6); font: 500 14px 'Barlow', sans-serif; margin: 0 0 20px; }
.hfg-footer-fund__logos { display: flex; align-items: center; justify-content: center; gap: 52px; flex-wrap: wrap; }
.hfg-footer-fund__logos img { width: auto; display: block; }
.hfg-footer-fund__logos .hfg-l-demjan { height: 141px; }
.hfg-footer-fund__logos .hfg-l-neumann { height: 141px; }
.hfg-footer-fund__text strong { color: inherit; font-weight: inherit; }

.hfg-form input, .hfg-form select, .hfg-form textarea { box-sizing: border-box; }
.hfg-form textarea { display: block; min-height: 150px; resize: vertical; }
.hfg-form .captcha-holder { width: auto !important; }
.hfg-form .mw-captcha { max-width: none !important; margin: 0 !important; }
.hfg-form .mw-captcha .captcha-holder { display: flex; align-items: center; gap: 14px; }
.hfg-form .mw-captcha .captcha-holder > .mw-ui-col { width: auto !important; }
.hfg-form .mw-captcha .captcha-holder > .mw-ui-col:last-child { flex: 1; }
.hfg-form .mw-captcha-img { display: block; }
.hfg-form .mw-captcha-input { width: 100% !important; margin-bottom: 0 !important; }

@media (max-width: 600px) { .hfg-container { padding-left: 14px; padding-right: 14px; } }

.hfg-header { position: sticky; top: 0; z-index: 50; }
.hfg-burger { display: none; }
.hfg-mobile { position: fixed; inset: 0; z-index: 80; background: #141414; transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; padding: 22px; }
.hfg-mobile.is-open { transform: translateX(0); }
.hfg-mobile__top { display: flex; justify-content: flex-end; }
.hfg-menu-close { width: 48px; height: 48px; background: transparent; border: 1px solid rgba(255,255,255,0.25); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.hfg-mobile__nav { display: flex; flex-direction: column; margin-top: 18px; }
.hfg-mobile__nav a { color: #fff; font: 700 22px 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .5px; padding: 18px 6px; border-bottom: 1px solid #2A2A2A; text-decoration: none; }
.hfg-mobile__nav a:hover { color: #FFC510; }
@media (max-width: 900px) {
  .hfg-nav { display: none; }
  .hfg-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; background: #141414; border: none; cursor: pointer; padding: 0; }
  .hfg-burger span { display: block; width: 24px; height: 2px; margin: 0 auto; background: #FFC510; }
}

.hfg-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-top: 48px; padding-bottom: 40px; }
.hfg-footer-brand p { margin: 16px 0 0; font: 400 15px/1.6 'Barlow', sans-serif; color: #888; max-width: 300px; }
.hfg-logo--footer { color: #fff !important; margin-bottom: 4px; }
.hfg-footer h5 { margin: 0 0 16px; font: 700 14px 'Oswald', sans-serif; color: #fff; text-transform: uppercase; letter-spacing: 1px; }
.hfg-footer-links { display: flex; flex-direction: column; gap: 10px; }
.hfg-footer-links a, .hfg-footer-links span { font: 400 15px 'Barlow', sans-serif; color: #999; text-decoration: none; }
.hfg-footer-links a:hover { color: #FFC510; }
.hfg-footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid #222; font: 500 14px 'Barlow', sans-serif; color: #666; }
.hfg-footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.hfg-footer-legal a { color: #999; text-decoration: none; }
.hfg-footer-legal a:hover { color: #FFC510; }
@media (max-width: 780px) { .hfg-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 480px) { .hfg-footer-grid { grid-template-columns: 1fr; } }

.hfg-legal { padding: 72px 0 72px; }
.hfg-legal__crumb { font: 600 13px 'Barlow', sans-serif; color: #B58900; text-transform: uppercase; letter-spacing: 1.5px; }
.hfg-legal__crumb a { color: #B58900; text-decoration: none; }
.hfg-legal h1 { margin: 10px 0 24px; font: 700 clamp(32px,5vw,46px) 'Oswald', sans-serif; color: #141414; text-transform: uppercase; }
.hfg-legal__callout { background: #F5F3EE; border-left: 4px solid #FFC510; padding: 18px 22px; font: 400 16px/1.6 'Barlow', sans-serif; color: #444; margin: 0 0 36px; }
.hfg-legal h2 { margin: 38px 0 16px; font: 700 15px 'Oswald', sans-serif; color: #141414; text-transform: uppercase; letter-spacing: 1px; padding-bottom: 8px; border-bottom: 2px solid #FFC510; display: inline-block; }
.hfg-legal p { font: 400 16px/1.7 'Barlow', sans-serif; color: #444; margin: 0 0 14px; }
.hfg-legal__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 6px 0 10px; }
.hfg-legal__card { background: #F5F3EE; padding: 16px 18px; }
.hfg-legal__card span { display: block; font: 700 11px 'Barlow', sans-serif; color: #B58900; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.hfg-legal__card strong { font: 500 16px 'Barlow', sans-serif; color: #141414; }
@media (max-width: 700px) { .hfg-legal__cards { grid-template-columns: 1fr; } }

.hfg-form .mw-flex-row { margin-left: 0; margin-right: 0; }
.hfg-form [class*="mw-flex-col"] { padding-left: 0; padding-right: 0; }
@media (max-width: 767px) {
  .hfg-form [class*="mw-flex-col"] { width: 100%; max-width: 100%; flex: 0 0 100%; }
}

.legal-section { padding: 96px 0 80px; }
.legal-wrap { max-width: 820px; margin: 0 auto; }
.legal-eyebrow { display: inline-block; font: 700 12.5px/1 'Oswald', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #B58900; }
.legal-title { font: 700 clamp(30px,3.6vw,44px) 'Oswald', sans-serif; text-transform: uppercase; margin: 12px 0 26px; color: #141414; }
.legal-callout { background: #F5F3EE; border-left: 4px solid #FFC510; padding: 20px 24px; font: 400 16.5px/1.7 'Barlow', sans-serif; color: #444; margin: 0 0 40px; }
.legal-head { display: flex; align-items: center; gap: 14px; margin: 44px 0 20px; }
.legal-ic { width: 32px; height: 32px; background: #141414; color: #FFC510; display: grid; place-items: center; flex: none; }
.legal-ic svg { width: 17px; height: 17px; }
.legal-head h2 { font: 700 15px/1 'Oswald', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #141414; margin: 0; white-space: nowrap; }
.legal-head::after { content: ""; flex: 1; height: 1px; background: #E5E0D5; }
.legal-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.legal-card { background: #F5F3EE; border: 1px solid #E5E0D5; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.legal-card .lc-label { font: 700 11.5px/1 'Barlow', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #B58900; }
.legal-card .lc-value { font: 500 16.5px 'Barlow', sans-serif; color: #141414; }
.legal-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.legal-chip { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #D8D2C6; padding: 12px 18px; font: 600 16px 'Barlow', sans-serif; color: #141414; text-decoration: none; transition: border-color .2s, color .2s; }
.legal-chip svg { width: 17px; height: 17px; color: #B58900; flex: none; }
.legal-chip:hover { border-color: #FFC510; }
.legal-chip--btn { background: #FFC510; color: #141414; border-color: #FFC510; }
.legal-chip--btn svg { color: #141414; }
.legal-chip--btn:hover { opacity: .9; }
.legal-prose { font: 400 17px/1.75 'Barlow', sans-serif; color: #444; margin: 0 0 14px; }
.legal-hint { font: 400 14.5px/1.9 'Barlow', sans-serif; color: #777; margin: 18px 0 0; }
.legal-hint code { background: #F2F0EA; border: 1px solid #E5E0D5; padding: 2px 7px; font-size: 13px; color: #141414; }
@media (max-width: 760px) { .legal-cards { grid-template-columns: 1fr; } }

/* Eddigi munkáim */
.hfg-work{padding:72px 0}
.hfg-work-lead{max-width:660px;margin-top:12px;line-height:1.6;opacity:.85}
.hfg-work-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:34px}
.hfg-work-item{display:block;width:100%;margin:0;border-radius:12px;overflow:hidden;background:#ece8e1;aspect-ratio:4/3;object-fit:cover;cursor:pointer}
@media(max-width:900px){.hfg-work-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.hfg-work-grid{grid-template-columns:1fr}}
