/* ==========================================================================
   Istenes es Tarsa Epuletgepeszet Kft. -- style.css
   Arculat: antracit / feher / sotetkek + ipari arany-narancs kiemeles
   Tipografia: Montserrat (cimsorok), Inter (torzsszoveg)
   ========================================================================== */

:root {
  --ink: #1b1e21;
  --ink-soft: #2c3136;
  --navy: #123024;
  --navy-soft: #1d4a38;
  --surface: #f7f5ee;
  --surface-2: #efe9dc;
  --white: #ffffff;
  --accent: #4CA35F;
  --accent-dark: #34864a;
  --accent-2: #c97b4a;
  --logo-green: #4CA35F;
  --muted: #6d746e;
  --line: #e3dfd1;
  --success: #3f7a4d;

  --font-head: 'Montserrat', 'Inter', Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;

  --container: 1180px;
  --radius: 4px;
  --shadow: 0 12px 32px rgba(15, 18, 20, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
ul { margin: 0; padding: 0; list-style: none; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .02em;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-dark {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy-soft); border-color: var(--navy-soft); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(27,30,33,.97);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  row-gap: 12px;
  padding: 14px 18px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand-text { color: var(--white); font-family: var(--font-head); line-height: 1.1; }
.brand-text strong { display: block; font-size: 1.02rem; letter-spacing: .04em; }
.brand-text span { display: block; font-size: .62rem; letter-spacing: .22em; color: var(--logo-green); }

.main-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; row-gap: 10px; column-gap: 14px; }
.main-nav a {
  color: rgba(255,255,255,.82);
  font-family: var(--font-head);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  max-width: 112px;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); border-color: var(--accent); }
.header-cta { display: flex; align-items: center; gap: 8px; }
.header-cta .btn-primary { padding: 12px 20px; font-size: .85rem; }
.lang-toggle { display: inline-flex; align-items: center; gap: 5px; color: rgba(255,255,255,.75); font-size: .72rem; font-weight: 700; letter-spacing: .04em; border: 1px solid rgba(255,255,255,.3); border-radius: 20px; padding: 4px 9px; }
.lang-toggle:hover { color: var(--white); border-color: rgba(255,255,255,.7); }
.lang-toggle .sep { opacity: .4; }
.lang-toggle .current { color: var(--accent); }
.header-phone {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  white-space: nowrap;
}
.header-phone span { display: block; font-size: .64rem; font-weight: 500; color: var(--accent); letter-spacing: .08em; text-transform: uppercase;}
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.6rem; cursor: pointer; }

/* Mobil fejléc: a nyelvváltó, telefonszám és "Ajánlatkérés" gomb kis
   képernyőn a lenyíló menübe kerül (lásd main.js) -- a felső sáv így
   garantáltan egy sorban marad, akármilyen keskeny a telefon. */
.nav-mobile-extra { display: contents; }
@media (max-width: 1180px) {
  .header-cta > .lang-toggle,
  .header-cta > .header-phone,
  .header-cta > .btn-primary { display: none; }

  .nav-mobile-extra {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }
  .nav-mobile-extra .btn-primary { order: 1; width: 100%; }
  .nav-mobile-extra .header-phone { order: 2; text-align: center; font-size: 1.15rem; }
  .nav-mobile-extra .header-phone .label { display: block; }
  .nav-mobile-extra .lang-toggle {
    order: 3;
    padding: 6px 16px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 20px;
  }
}

@media (max-width: 1180px) {
  .main-nav { position: fixed; inset: 70px 0 0 0; background: var(--ink); flex-direction: column; align-items: stretch; padding: 30px 24px; gap: 20px; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.1rem; max-width: none; text-align: left; }
  .nav-toggle { display: block; }
  .header-phone .label { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}
.hero.hero-sub { min-height: 56vh; align-items: center; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15,17,19,.55) 0%, rgba(15,17,19,.55) 30%, rgba(12,14,16,.92) 100%);
}
.hero.hero-sub::before { background: linear-gradient(120deg, rgba(10,12,14,.88) 10%, rgba(18,48,36,.72) 100%); }
.hero video {
  position: absolute; inset: 0;
  z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-content { position: relative; z-index: 2; padding: 90px 0 64px; }
.hero-sub .hero-content { padding: 60px 0; }
.hero-content .lead { font-size: 1.15rem; max-width: 620px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25);
  color: var(--white); font-family: var(--font-head); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}

/* ---------- Stats bar ---------- */
.stats-bar { background: var(--navy); color: var(--white); padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-grid .num { font-family: var(--font-head); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: var(--accent); }
.stats-grid .label { font-size: .82rem; color: rgba(255,255,255,.78); margin-top: 4px; }
@media (max-width: 780px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-tight { padding: 60px 0; }
.section-alt { background: var(--surface); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy p { color: var(--white); }
.section-navy p { color: rgba(255,255,255,.78); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
@media (max-width: 880px) { .split, .split.reverse { grid-template-columns: 1fr; direction: ltr; } }

.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.before-after figure { margin: 0; }
.before-after img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.before-after figcaption { margin-top: 8px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; }
@media (max-width: 560px) { .before-after { grid-template-columns: 1fr; } }

/* ---------- Service pillar cards ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pillar-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar-card.featured { border-color: var(--accent); border-width: 2px; position: relative; }
.pillar-tag {
  position: absolute; top: -13px; left: 26px; background: var(--accent); color: var(--ink);
  font-family: var(--font-head); font-size: .68rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.pillar-icon { width: 46px; height: 46px; margin-bottom: 18px; color: var(--navy); }
.pillar-card p { flex-grow: 1; font-size: .95rem; }
.pillar-card .btn { align-self: flex-start; margin-top: 10px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Value grid ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.value-item .num { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.value-item h3 { font-size: 1.02rem; }
.value-item p { font-size: .9rem; }
@media (max-width: 980px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 140px; gap: 10px; }
.gallery-grid a { grid-column: span 2; grid-row: span 2; overflow: hidden; border-radius: var(--radius); position: relative; display:block; }
.gallery-grid a:nth-child(1) { grid-column: span 3; grid-row: span 3; }
.gallery-grid a:nth-child(4) { grid-column: span 3; grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px;
  background: linear-gradient(0deg, rgba(0,0,0,.75), transparent);
  color: var(--white); font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .04em;
}
@media (max-width: 780px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gallery-grid a, .gallery-grid a:nth-child(1), .gallery-grid a:nth-child(4) { grid-column: span 1; grid-row: span 1; }
}

/* ---------- References strip ---------- */
.ref-strip { display: flex; flex-wrap: wrap; gap: 14px; }
.ref-chip {
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-family: var(--font-head);
  font-size: .82rem; font-weight: 700; color: var(--ink-soft); background: var(--white);
}

/* ---------- Case study ---------- */
.case-box {
  background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 46px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.case-box img { border-radius: var(--radius); }
.case-box h3 { color: var(--accent); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.case-box h2 { color: var(--white); }
.case-box p { color: rgba(255,255,255,.82); }
.case-list { margin: 20px 0; }
.case-list li { padding-left: 24px; position: relative; margin-bottom: 10px; font-size: .95rem; color: rgba(255,255,255,.85); }
.case-list li::before { content: "\2192"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
@media (max-width: 880px) { .case-box { grid-template-columns: 1fr; } }

/* ---------- Testimonials (placeholder) ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px;
}
.testi-card .quote { font-size: .95rem; font-style: italic; color: var(--ink-soft); }
.testi-card .who { margin-top: 16px; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--muted); }
.testi-note {
  margin-top: 18px; font-size: .78rem; color: var(--muted); text-align: center;
}
@media (max-width: 880px) { .testi-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, #0a1e17 100%);
  color: var(--white); border-radius: var(--radius); padding: 56px; text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.8); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Feature list w/ icons ---------- */
.feature-list li {
  display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .dot {
  flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2);
  color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
}
.feature-list h4 { margin: 0 0 4px; font-size: 1rem; }
.feature-list p { margin: 0; font-size: .9rem; }

/* ---------- Two-column tech list ---------- */
.tech-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.tech-cols ul li { padding: 10px 0 10px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: .93rem; color: var(--ink-soft); }
.tech-cols ul li::before { content: "\2022"; position: absolute; left: 0; color: var(--accent-dark); font-weight: 900; }
@media (max-width: 780px) { .tech-cols { grid-template-columns: 1fr; } }

/* ---------- Tabs (csaladi haz: uj epites / felujitas) ---------- */
.tabs { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.tab-btn {
  font-family: var(--font-head); font-weight: 700; font-size: .88rem; padding: 12px 22px;
  border-radius: var(--radius); border: 2px solid var(--line); background: var(--white); cursor: pointer;
  color: var(--ink-soft);
}
.tab-btn.active { border-color: var(--navy); background: var(--navy); color: var(--white); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- Team / values page blocks ---------- */
.founder-card { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: start; background: var(--surface); border-radius: var(--radius); padding: 34px; }
.founder-portrait {
  width: 220px; height: 220px; border-radius: var(--radius); background: var(--navy);
  display: flex; align-items: center; justify-content: center; color: var(--white); text-align: center;
  font-family: var(--font-head); font-size: .78rem; padding: 16px; line-height: 1.4;
}
.founder-portrait strong { display:block; font-size: 1.6rem; margin-bottom: 8px; color: var(--accent); }
@media (max-width: 700px) { .founder-card { grid-template-columns: 1fr; } .founder-portrait { width: 100%; height: 160px; } }

/* ---------- Form ---------- */
.form-wrap {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow);
}
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-family: var(--font-head); font-size: .82rem; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.form-row .hint { font-weight: 400; color: var(--muted); font-size: .78rem; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #ccc; border-radius: var(--radius);
  font-family: var(--font-body); font-size: .95rem; background: var(--white);
}
.form-row textarea { min-height: 110px; resize: vertical; }
.radio-group, .check-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill {
  border: 1px solid #ccc; border-radius: 999px; padding: 10px 18px; font-size: .88rem; cursor: pointer;
  display: flex; align-items: center; gap: 8px; transition: all .15s;
}
.radio-pill input { accent-color: var(--navy); }
.radio-pill:has(input:checked) { border-color: var(--navy); background: var(--navy); color: var(--white); }
.check-item { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; }
.dynamic-fields { display: none; border-top: 1px dashed var(--line); margin-top: 22px; padding-top: 22px; }
.dynamic-fields.active { display: block; }
.form-note { font-size: .78rem; color: var(--muted); }

.contact-info-list { margin-top: 26px; }
.contact-info-list li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-info-list .label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); font-family: var(--font-head); }
.contact-info-list .val { font-size: 1.05rem; font-weight: 600; }

/* ---------- Közösségi ikonok (lábléc) ---------- */
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.75);
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.social-link svg { width: 17px; height: 17px; }
.social-link:hover { color: var(--white); border-color: var(--accent); background: rgba(76,163,95,.12); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: var(--white); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid a { display: block; font-size: .9rem; color: rgba(255,255,255,.68); padding: 6px 0; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid .footer-static { display: block; font-size: .9rem; color: rgba(255,255,255,.68); padding: 6px 0; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: .86rem; color: rgba(255,255,255,.6); max-width: 300px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .78rem; color: rgba(255,255,255,.5); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
.badge-row { display:flex; gap:10px; flex-wrap:wrap; margin-top: 18px; }
.mini-badge { font-size:.72rem; font-family: var(--font-head); font-weight:700; letter-spacing:.06em; text-transform:uppercase; color: var(--muted); border:1px solid var(--line); padding:6px 12px; border-radius: 999px; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- Highlight box (tervezes + kivitelezes) ---------- */
.highlight-box {
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 38px 42px;
  display: flex;
  gap: 26px;
  align-items: flex-start;
}
.highlight-box .icon-badge {
  flex: none; width: 54px; height: 54px; border-radius: 50%;
  background: var(--navy); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.highlight-box .icon-badge svg { width: 26px; height: 26px; }
.highlight-box h3 { margin-bottom: 8px; }
.highlight-box p { margin-bottom: 0; }
.highlight-box .btn { margin-top: 14px; }
@media (max-width: 700px) { .highlight-box { flex-direction: column; padding: 30px; } }

.value-item-wide { grid-column: 1 / -1; }

/* ---------- GYIK / FAQ (accordion) ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--ink);
}
.faq-q:hover { color: var(--accent-dark); }
.faq-q .chev { flex: none; width: 22px; height: 22px; transition: transform .22s ease; color: var(--accent-dark); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 40px 24px 0; }
.faq-item.open .faq-a { display: block; }
.faq-a p { margin: 0; font-size: .95rem; }

/* ==========================================================================
   Mobil optimalizáció (kiegészítés)
   ========================================================================== */

/* Header: telefonszám és nyelvváltó zsugorítása / elrejtése, hogy a
   fejléc jobb oldala (nyelv + telefon + CTA gomb + hamburger) ne csorduljon
   túl a képernyő szélén kisebb mobilokon. */
@media (max-width: 640px) {
  .header-inner { padding: 12px 16px; }
  .header-cta { flex-wrap: wrap; justify-content: flex-end; row-gap: 8px; gap: 10px; }
  .header-cta .btn-primary { padding: 11px 18px; font-size: .82rem; }
  .lang-toggle { padding: 4px 9px; font-size: .68rem; }
}
@media (max-width: 480px) {
  .header-phone { display: none; }
}

/* Háttér-görgetés letiltása, amíg a mobil lenyíló menü nyitva van. */
body.nav-open { overflow: hidden; }

/* Hamburger gomb: megfelelő méretű érintési célterület (min. 44x44px). */
@media (max-width: 1180px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
  /* Nagyobb érintési felület a lenyíló menü linkjeinek. */
  .main-nav a { padding: 13px 4px; }
  /* A menü teteje mindig pontosan a fejléc alján kezdődjön, akkor is,
     ha a fejléc a fenti zsugorítás után is két sorba törik. */
  .main-nav { inset: var(--header-h, 70px) 0 0 0; }
}

/* iOS Safari automatikusan rázoomol az űrlapmezőkre, ha a betűméret
   16px alatt van -- ez megelőzi azt kapcsolati űrlapokon. */
@media (max-width: 640px) {
  .form-row input[type="text"],
  .form-row input[type="email"],
  .form-row input[type="tel"],
  .form-row select,
  .form-row textarea {
    font-size: 16px;
  }
  .radio-pill { padding: 12px 16px; }
  .form-wrap { padding: 22px; }
}

/* Tömörebb, mobilra szabott szekció- és tartalom-térközök. */
@media (max-width: 640px) {
  section { padding: 56px 0; }
  .section-tight { padding: 36px 0; }
  .hero-content { padding: 56px 0 40px; }
  .hero-sub .hero-content { padding: 40px 0; }
  .cta-band { padding: 34px 22px; }
  .founder-card { padding: 22px; }
  .highlight-box { padding: 26px 22px; }
}

/* Hero CTA gombok teljes szélességben, egymás alatt -- könnyebben
   megérinthetők és jobban olvashatók keskeny képernyőn. */
@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
}

/* Dinamikus mobil viewport-magasság (svh), hogy a hero szekció ne ugráljon
   a mobil böngésző eltűnő/felbukkanó cím- és eszköztára miatt. */
@media (max-width: 640px) {
  .hero { min-height: 86svh; }
  .hero.hero-sub { min-height: 56svh; }
}

/* Portré tájolású (magas, keskeny) képek a .split blokkban ne nyeljenek el
   feleslegesen sok görgetési magasságot mobilon. */
@media (max-width: 880px) {
  .split img { max-height: 420px; width: 100%; object-fit: cover; }
}

/* Lábléc linkek: nagyobb érintési célterület. */
@media (max-width: 900px) {
  .footer-grid a, .footer-grid .footer-static { padding: 9px 0; }
}

/* ---------- Fájl feltöltés -- drag & drop zóna ---------- */
.file-drop { position: relative; }
.file-drop-zone {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-align: center; padding: 26px 18px;
  border: 2px dashed var(--line); border-radius: var(--radius);
  background: var(--surface); transition: border-color .18s ease, background .18s ease;
}
.file-drop-icon { width: 28px; height: 28px; color: var(--muted); transition: color .18s ease; }
.file-drop-text { font-size: .87rem; color: var(--muted); }
.file-drop-text strong { color: var(--ink); font-weight: 700; }
.file-drop-filename { font-family: var(--font-head); font-size: .84rem; font-weight: 700; color: var(--ink); word-break: break-word; }
.file-drop-hint-small { font-size: .74rem; color: var(--muted); }
.file-drop.is-dragover .file-drop-zone { border-color: var(--accent-dark); background: rgba(76,163,95,.12); }
.file-drop.is-dragover .file-drop-icon { color: var(--accent-dark); }
.file-drop.has-file .file-drop-zone { border-style: solid; border-color: var(--accent-dark); background: var(--white); }
.file-drop.has-file .file-drop-icon { color: var(--accent-dark); }
.file-drop-input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; margin: 0; z-index: 2;
}
.file-drop-clear {
  position: relative; z-index: 3; display: inline-block; margin-top: 8px;
  background: none; border: none; color: var(--muted); font-size: .78rem;
  text-decoration: underline; cursor: pointer; padding: 4px;
}
.file-drop-clear[hidden] { display: none; }
