/* Aranygömb Alapítvány – weboldal stílus
   Meleg, elegáns, letisztult: mélykék és arany, krémes háttér, Lora címsorok. */

:root {
    --ink: #1d3557;
    --ink-dark: #142640;
    --gold: #c8901a;
    --gold-light: #e0a526;
    --gold-soft: #fbf3e2;
    --green: #2f7d5b;
    --bg: #ffffff;
    --bg-alt: #faf7f1;
    --text: #253041;
    --text-sub: #5d6676;
    --border: #e8e2d6;
    --radius: 12px;
    --shadow: 0 1px 2px rgba(29, 53, 87, 0.05), 0 6px 20px rgba(29, 53, 87, 0.07);
    --shadow-lg: 0 14px 44px rgba(29, 53, 87, 0.14);
    --header-h: 76px;
    --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; font-size: 17px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(200, 144, 26, 0.55); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: 'Lora', Georgia, serif; color: var(--ink); line-height: 1.2; font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.4rem); margin-bottom: 14px; }
h3 { font-size: 1.22rem; margin-bottom: 8px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 3000; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Gombok ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 26px; border-radius: 8px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s; white-space: nowrap; line-height: 1.2; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #ad7a12; box-shadow: 0 4px 14px rgba(200, 144, 26, 0.35); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-dark); }
.btn-outline { background: #fff; border-color: #d6cdbb; color: var(--ink); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline i { color: var(--gold); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* ---------- Fejléc ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h); background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 46px; height: 46px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: 'Lora', Georgia, serif; font-weight: 700; font-size: 1.32rem; color: var(--ink); }
.brand-sub { font-size: 0.74rem; color: var(--gold); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.98rem; padding: 8px 13px; border-radius: 6px; transition: color 0.2s; }
.main-nav a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 10px 20px; font-size: 0.95rem; }
.nav-toggle { display: none; background: #fff; border: 1px solid var(--border); border-radius: 8px; width: 44px; height: 44px; color: var(--ink); font-size: 1.15rem; cursor: pointer; }

@media (max-width: 1000px) {
    .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 4px 16px 12px; display: none; }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--border); border-radius: 0; font-size: 1.05rem; }
    .main-nav a:last-child { border-bottom: 0; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 560px) {
    .header-actions .btn-gold { display: none; }
    .brand-name { font-size: 1.12rem; }
    .brand-sub { font-size: 0.66rem; letter-spacing: 1.4px; }
    .brand-mark { width: 40px; height: 40px; }
}

/* ---------- Szekciók ---------- */
section { padding: 88px 0; }
.alt-bg { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { color: var(--text-sub); font-size: 1.08rem; }
.eyebrow { display: inline-block; color: var(--gold); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2.2px; margin-bottom: 12px; }
.ornament { width: 56px; height: 2px; background: var(--gold); margin: 18px auto 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--header-h) + 72px) 0 84px; background: linear-gradient(180deg, var(--gold-soft) 0%, #fff 100%); border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-lead { color: var(--text-sub); font-size: 1.18rem; margin-bottom: 30px; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-image { position: relative; }
.hero-image img { width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow-lg); }
.hero-quote { position: absolute; left: -24px; bottom: 28px; max-width: 290px; background: #fff; border-radius: 12px; padding: 16px 20px; box-shadow: var(--shadow-lg); border-left: 4px solid var(--gold); font-family: 'Lora', Georgia, serif; font-style: italic; color: var(--ink); font-size: 1.02rem; line-height: 1.5; }
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero { padding-top: calc(var(--header-h) + 40px); }
    .hero-image { max-width: 520px; margin: 0 auto; }
    .hero-quote { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
@media (max-width: 420px) { .hero-ctas .btn { width: 100%; } }

/* Működési terület sáv */
.area-band { background: var(--ink); color: #dbe3ee; padding: 26px 0; }
.area-band .container { display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; justify-content: center; text-align: center; }
.area-band strong { color: #fff; font-weight: 600; }
.area-band i { color: var(--gold-light); margin-right: 8px; }
.area-band .places { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.area-band .places span { border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 50px; padding: 4px 14px; font-size: 0.92rem; }

/* ---------- Rólunk ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-text p { color: var(--text); margin-bottom: 16px; font-size: 1.05rem; }
.about-text .lead { font-family: 'Lora', Georgia, serif; font-size: 1.3rem; color: var(--ink); line-height: 1.55; }
.values { display: grid; gap: 14px; }
.value { display: flex; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.value i { width: 46px; height: 46px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; font-size: 1.15rem; flex-shrink: 0; }
.value h3 { font-size: 1.08rem; margin-bottom: 4px; }
.value p { color: var(--text-sub); font-size: 0.96rem; }
.official { margin-top: 20px; font-size: 0.95rem; color: var(--text-sub); }
.official a { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Programok ---------- */
.program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.program { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 30px 30px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.program-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.program-head i { width: 52px; height: 52px; border-radius: 12px; background: var(--ink); color: var(--gold-light); display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.program-head h3 { margin: 0; }
.program p { color: var(--text-sub); margin-bottom: 12px; }
.program .badge { align-self: flex-start; margin-top: auto; padding: 4px 12px; border-radius: 4px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; }
.badge-free { background: #e6f2ec; color: var(--green); }
.badge-paid { background: var(--gold-soft); color: #8a5f0b; }
.badge-help { background: #e8eef6; color: var(--ink); }
@media (max-width: 860px) { .program-grid { grid-template-columns: 1fr; } .program { padding: 24px 20px; } }

/* ---------- Hogyan segíthet ---------- */
.help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .help-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.help { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; text-align: center; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.help i { font-size: 1.6rem; color: var(--gold); margin-bottom: 14px; }
.help p { color: var(--text-sub); font-size: 0.96rem; margin-bottom: 16px; flex-grow: 1; }
.help .note { flex-grow: 0; font-size: 0.86rem; font-style: italic; color: #8a5f0b; margin-top: -8px; }
.help .soon { display: inline-block; font-size: 0.8rem; font-weight: 600; color: #8a5f0b; background: var(--gold-soft); padding: 3px 10px; border-radius: 4px; }
.help a.more { color: var(--ink); font-weight: 600; text-decoration: none; }
.help a.more:hover { color: var(--gold); }

.thanks { margin-top: 44px; text-align: center; font-family: 'Lora', Georgia, serif; font-style: italic; font-size: 1.3rem; color: var(--ink); }

/* ---------- Kapcsolat ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 32px; align-items: start; }
.contact-info { background: var(--ink); color: #dbe3ee; border-radius: 16px; padding: 32px; }
.contact-info h3 { color: #fff; font-size: 1.35rem; margin-bottom: 10px; }
.contact-info p { margin-bottom: 22px; }
.contact-info ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info li i { color: var(--gold-light); margin-top: 5px; width: 18px; text-align: center; }
.contact-info a { color: #fff; text-decoration: none; font-weight: 600; }
.contact-info a:hover { color: var(--gold-light); }
.contact-info small { display: block; color: #9fb0c6; font-size: 0.85rem; }

.contact-form { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 32px; box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.93rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field .req { color: #b42318; }
.field .hint { font-weight: 400; color: var(--text-sub); font-size: 0.84rem; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid #d6cdbb; background: #fff; font-size: 1rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 144, 26, 0.18); }
.field textarea { min-height: 130px; resize: vertical; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b42318; box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; margin: 4px 0 18px; }
.checkbox input { width: 19px; height: 19px; margin-top: 3px; flex-shrink: 0; accent-color: var(--gold); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; padding: 14px 16px; border-radius: 8px; display: none; font-weight: 500; }
.form-status.ok { display: block; background: #e6f2ec; border: 1px solid #a9d3bd; color: #1d5a40; }
.form-status.err { display: block; background: #fdecea; border: 1px solid #f1b3ad; color: #8c1d14; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; gap: 0; } .contact-form, .contact-info { padding: 22px 18px; } }

/* ---------- Lábléc ---------- */
.site-footer { background: var(--ink-dark); color: #b3c0d1; padding: 54px 0 28px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 30px; }
.footer-grid h4 { color: #fff; font-family: 'Lora', Georgia, serif; font-size: 1.08rem; font-weight: 600; margin-bottom: 12px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: #b3c0d1; text-decoration: none; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 20px; text-align: center; font-size: 0.87rem; }
.footer-bottom a { color: #b3c0d1; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- Jogi oldal ---------- */
.legal { padding: calc(var(--header-h) + 44px) 0 64px; }
.legal .container { max-width: 860px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 8px; }
.legal .updated { color: var(--text-sub); margin-bottom: 28px; }
.legal h2 { font-size: 1.32rem; margin: 32px 0 10px; }
.legal p, .legal li { margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: 0.95rem; }
.legal th, .legal td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg-alt); color: var(--ink); font-weight: 600; width: 32%; }
.table-wrap { overflow-x: auto; }
.todo { background: #fff3c4; border: 1px dashed #d4a017; color: #6b4e00; padding: 0 6px; border-radius: 4px; font-weight: 600; }

.notfound { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 30px) 16px 40px; }
.notfound h1 { font-size: clamp(3rem, 12vw, 6rem); color: var(--gold); }
.notfound p { color: var(--text-sub); margin: 10px 0 24px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
