/* VIRONIQ – közös arculati stíluslap (weboldal + arculati útmutató) */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&family=Open+Sans:wght@400;600;700&display=swap");

:root {
  /* Alapszínek */
  --navy: #0E2340;
  --navy-2: #17365F;
  --cyan: #19C3DC;
  --cyan-soft: #E3F7FB;
  --teal: #12A39A;
  --red: #E5403A;
  /* Szegmensszínek */
  --ipari: #1D4E89;
  --kozossegi: #12A39A;
  --lakossagi: #5E9E3A;
  /* Semleges */
  --ink: #1B2430;
  --muted: #5B6878;
  --line: #DCE5EE;
  --bg: #F5F8FB;
  --white: #FFFFFF;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 35, 64, .08);
  --max: 1160px;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-2); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.alt { background: var(--bg); }
.section.dark { background: var(--navy); color: #D8E3EF; }
.section.dark h2, .section.dark h3 { color: var(--white); }

.eyebrow {
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px; display: block;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.section.dark .lead { color: #B9C8D8; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Logó */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { height: 34px; width: auto; }
.wordmark {
  font-family: var(--font-head); font-weight: 400;
  letter-spacing: .28em; color: var(--navy); font-size: 1.35rem;
}
.wordmark b { color: var(--cyan); font-weight: 400; }

/* Fejléc */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  text-decoration: none; color: var(--navy);
}
.nav a:hover, .nav a.active { color: var(--teal); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--navy); cursor: pointer; }

/* Gombok */
.btn {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: .95rem; padding: 14px 26px; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent; transition: .2s;
}
.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-primary:hover { background: #12AFC7; }
.btn-ghost { border-color: currentColor; color: var(--navy); }
.section.dark .btn-ghost, .hero .btn-ghost { color: var(--white); }
.nav .btn { padding: 10px 20px; color: var(--navy); }

/* Hős szekció */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% 20%, #1F4E7E 0%, transparent 60%), var(--navy);
  color: #D8E3EF; padding: 110px 0 120px;
}
.hero h1 { color: var(--white); max-width: 780px; }
.hero .lead { color: #BFD0E1; }
.hero .hex { position: absolute; right: -80px; top: -40px; width: 620px; opacity: .22; pointer-events: none; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero.ipari { background: radial-gradient(1000px 600px at 85% 20%, #2B6CB0 0%, transparent 60%), var(--navy); }
.hero.kozossegi { background: radial-gradient(1000px 600px at 85% 20%, #138A85 0%, transparent 60%), var(--navy); }
.hero.lakossagi { background: radial-gradient(1000px 600px at 85% 20%, #4C8A33 0%, transparent 60%), var(--navy); }
.tagline {
  font-family: var(--font-head); font-size: .8rem; letter-spacing: .4em;
  color: var(--red); font-weight: 700; margin-bottom: 22px; display: block;
}
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.badge {
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  border: 1px solid rgba(255, 255, 255, .25); color: #E6EEF6;
  padding: 7px 14px; border-radius: 999px;
}

/* Rácsok, kártyák */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--cyan-soft); color: var(--navy-2); margin-bottom: 18px;
}
.card .icon svg { width: 28px; height: 28px; }
.section.dark .card { background: var(--navy-2); border-color: #24466F; box-shadow: none; color: #D0DCE9; }

.seg-card { position: relative; overflow: hidden; text-decoration: none; color: inherit; display: block; transition: transform .2s; }
.seg-card:hover { transform: translateY(-4px); }
.seg-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--seg, var(--teal)); }
.seg-card .more { font-family: var(--font-head); font-weight: 700; color: var(--seg, var(--teal)); }
.seg-ipari { --seg: var(--ipari); }
.seg-kozossegi { --seg: var(--kozossegi); }
.seg-lakossagi { --seg: var(--lakossagi); }
.seg-card .icon { background: color-mix(in srgb, var(--seg) 12%, white); color: var(--seg); }

.num {
  font-family: var(--font-head); font-weight: 800; font-size: 2.6rem;
  color: var(--cyan); line-height: 1; margin-bottom: 8px;
}
.stat p { color: #B9C8D8; font-size: .95rem; }

.list { padding: 0; margin: 0; list-style: none; }
.list li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Lépések */
.steps { counter-reset: s; }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font-family: var(--font-head); font-weight: 800;
  font-size: 2.2rem; color: var(--cyan);
}

/* Kiemelt sáv két hasábban */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.panel {
  border-radius: 20px; padding: 40px; color: #D8E3EF;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-2) 100%);
}
.panel h3 { color: var(--white); }
.panel .list li::before { background-color: var(--cyan); }

.proof { border-left: 4px solid var(--cyan); padding: 4px 0 4px 20px; margin-bottom: 26px; }
.proof strong { font-family: var(--font-head); color: var(--navy); display: block; }
.proof small { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--font-head); font-weight: 600; font-size: .88rem;
  background: var(--white); border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; color: var(--navy-2);
}

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { font-family: var(--font-head); font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; }
details summary::after { content: "+"; float: right; color: var(--teal); font-size: 1.3rem; }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--muted); }

/* CTA */
.cta {
  border-radius: 24px; padding: 56px; text-align: center; color: #D8E3EF;
  background: radial-gradient(700px 300px at 50% 0%, #1E5A8A 0%, transparent 70%), var(--navy);
}
.cta h2 { color: var(--white); }
.cta .lead { color: #BFD0E1; }
.contact-line { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 1.15rem; margin-top: 18px; }
.contact-line a { color: var(--cyan); text-decoration: none; }

/* Lábléc */
.site-footer { background: #0A1A30; color: #8FA3B8; padding: 56px 0 34px; font-size: .9rem; }
.site-footer .wordmark { color: var(--white); }
.site-footer a { color: #C9D6E3; text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-grid h4 { color: var(--white); font-size: .95rem; }
.legal { border-top: 1px solid #1D3350; padding-top: 22px; font-size: .8rem; }

/* Reszponzív */
@media (max-width: 960px) {
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 80px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white);
    flex-direction: column; align-items: flex-start; padding: 20px; gap: 18px; border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .cta { padding: 40px 22px; }
  .panel { padding: 28px; }
  .wordmark { font-size: 1.1rem; }
}

/* Érdeklődési űrlap */
.cta-form { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; text-align: left; align-items: start; }
.cta-form .lead { margin-left: 0; }
.cta-form .list { margin-top: 18px; }
.cta-form .list li::before { background-color: var(--cyan); }
.lead-form {
  background: var(--white); color: var(--ink); border-radius: 18px; padding: 30px;
  display: grid; gap: 16px; box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
}
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form label { display: grid; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--navy); }
.lead-form input[type=text], .lead-form input[type=email], .lead-form input[type=tel], .lead-form select, .lead-form textarea {
  font: inherit; font-family: var(--font-body); font-weight: 400; font-size: 1rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: var(--bg); width: 100%;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 2px solid var(--cyan); border-color: var(--cyan); background: var(--white); }
.lead-form textarea { resize: vertical; }
.lead-form fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px 14px; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.lead-form legend { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--navy); padding: 0 6px; }
.lead-form label.check { display: flex; align-items: flex-start; gap: 8px; font-family: var(--font-body); font-weight: 400; font-size: .92rem; color: var(--ink); }
.lead-form label.check input { margin-top: 4px; accent-color: var(--teal); width: 17px; height: 17px; flex: none; }
.lead-form .consent { font-size: .85rem; color: var(--muted); }
.lead-form .btn { border: 0; cursor: pointer; justify-self: start; }
.form-note { font-size: .8rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 960px) { .cta-form { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { .lead-form { padding: 20px; } .lead-form .row { grid-template-columns: 1fr; } .lead-form .btn { justify-self: stretch; text-align: center; } }
.cta-form > * { min-width: 0; }
.cols2 { columns: 2; column-gap: 40px; }
.cols2 li { break-inside: avoid; }
@media (max-width: 760px) { .cols2 { columns: 1; } }

/* Fotók */
.hero-img {
  position: absolute; top: 0; right: 0; bottom: 0; width: 44%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 35%);
  mask-image: linear-gradient(to right, transparent 0%, #000 35%); opacity: .85;
}
.hero.has-img .wrap > h1, .hero.has-img .wrap > .lead { max-width: 56%; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px;
  background: linear-gradient(to top, rgba(14, 35, 64, .9), transparent);
  color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .85rem; line-height: 1.3;
}
.gallery.g3 { grid-template-columns: repeat(3, 1fr); }
.gallery .square { aspect-ratio: 1 / 1; }
.photo-note { color: var(--muted); font-size: .85rem; margin-top: 14px; }
@media (max-width: 960px) {
  .hero-img { display: none; }
  .hero.has-img .wrap > h1, .hero.has-img .wrap > .lead { max-width: none; }
  .gallery, .gallery.g3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .gallery { gap: 10px; } .gallery figcaption { font-size: .78rem; padding: 22px 10px 10px; } }
