:root {
  --navy: #17283d;
  --navy-2: #29435f;
  --cream: #f5f1ea;
  --paper: #faf8f4;
  --gold: #c3a069;
  --gold-light: #d5c1a3;
  --ink: #263442;
  --white: #fff;
  --muted: #66717d;
  --line: rgba(23, 40, 61, .12);
  --shadow: 0 18px 50px rgba(23, 40, 61, .11);
  --radius: 20px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
h1, h2, h3, .brand-name {
  margin-top: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.13;
}
h1 { font-size: clamp(2.7rem, 5.2vw, 5.25rem); letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 3.5vw, 3.35rem); letter-spacing: -.025em; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1rem; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 100px 0; }
.section-cream { background: var(--cream); }
.section-navy { color: var(--white); background: var(--navy); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: .79rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.lead { max-width: 760px; color: var(--muted); font-size: 1.12rem; }
.section-navy .lead { color: rgba(255,255,255,.74); }
.section-head { margin-bottom: 48px; }
.section-head h2 { max-width: 830px; margin-bottom: 20px; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  color: var(--white);
  background: rgba(23,40,61,.96);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
}
.nav { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 48px; color: var(--gold); }
.brand-name { font-size: 1.35rem; font-weight: 700; letter-spacing: .03em; }
.brand-name small { display: block; font: 600 .59rem/1.3 Inter, sans-serif; color: var(--gold-light); letter-spacing: .16em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { position: relative; font-size: .94rem; color: rgba(255,255,255,.86); }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--gold); transition: .25s; }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-toggle { display: none; padding: 8px; color: white; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; margin: 5px; background: currentColor; }

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .91rem;
  font-weight: 700;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { color: var(--navy); background: var(--gold); }
.btn-gold:hover { background: #d0ae78; }
.btn-outline { color: var(--white); border-color: rgba(255,255,255,.52); background: rgba(23,40,61,.15); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: grid;
  align-items: center;
  color: white;
  background: var(--navy) url("assets/kritikon-infrastruktura-borito.png") center/cover no-repeat;
  overflow: hidden;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,30,48,.22) 0%, transparent 62%); pointer-events: none; }
.hero .container { position: relative; z-index: 2; }
.hero-copy { max-width: 680px; padding: 70px 0 90px; }
.hero h1 { max-width: 660px; margin-bottom: 24px; }
.hero-topline { color: var(--gold-light); font-weight: 650; letter-spacing: .04em; }
.hero-intro { max-width: 600px; color: rgba(255,255,255,.82); font-size: 1.15rem; }
.hero-scroll { position: absolute; z-index: 2; bottom: 26px; left: 50%; color: rgba(255,255,255,.68); font-size: .78rem; letter-spacing: .12em; transform: translateX(-50%); text-transform: uppercase; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 78px; }
.image-frame { position: relative; }
.image-frame::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; border: 1px solid var(--gold); border-radius: var(--radius); }
.image-frame img { position: relative; z-index: 1; width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.portrait img { aspect-ratio: 1 / .92; object-fit: cover; object-position: center 35%; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 36px; background: var(--line); border: 1px solid var(--line); }
.stat { padding: 20px; background: var(--paper); }
.stat strong { display: block; color: var(--navy); font-family: "Playfair Display", serif; font-size: 1.3rem; }
.stat span { color: var(--muted); font-size: .8rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: .25s; }
.card:hover { transform: translateY(-6px); border-color: rgba(195,160,105,.55); box-shadow: var(--shadow); }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 24px; color: var(--gold); border: 1px solid rgba(195,160,105,.45); border-radius: 50%; font-family: "Playfair Display", serif; font-size: 1.25rem; }
.card h3 { margin-bottom: 13px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }
.card-link { display: inline-block; margin-top: 18px; color: var(--navy-2); font-size: .86rem; font-weight: 750; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 52px; }
.feature { display: grid; grid-template-columns: 46px 1fr; gap: 18px; }
.feature-number { color: var(--gold); font-family: "Playfair Display", serif; font-size: 1.8rem; }
.feature h3 { margin: 0 0 8px; color: var(--navy); }
.feature p { color: var(--muted); }

.quote-block { position: relative; padding: 72px; color: var(--white); background: var(--navy); border-radius: 28px; overflow: hidden; }
.quote-block::after { content: ""; position: absolute; width: 520px; height: 180px; right: -100px; bottom: -80px; border: 1px solid var(--gold); border-radius: 50%; transform: rotate(-9deg); opacity: .55; }
.quote-block blockquote { position: relative; z-index: 1; max-width: 880px; margin: 0; font-family: "Playfair Display", serif; font-size: clamp(1.55rem, 3vw, 2.5rem); line-height: 1.35; }

.page-hero { padding: 100px 0 86px; color: white; background: linear-gradient(120deg, var(--navy), var(--navy-2)); }
.page-hero h1 { max-width: 900px; margin-bottom: 18px; font-size: clamp(2.6rem, 5vw, 4.7rem); }
.page-hero p { max-width: 720px; color: rgba(255,255,255,.75); font-size: 1.1rem; }
.timeline { position: relative; display: grid; gap: 28px; }
.timeline-item { padding: 30px 32px; background: white; border-left: 3px solid var(--gold); box-shadow: 0 8px 28px rgba(23,40,61,.06); }
.timeline-item h3 { margin-bottom: 8px; color: var(--navy); }
.timeline-item p { margin: 0; color: var(--muted); }
.service-detail { padding: 38px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.service-detail h2 { margin-bottom: 14px; font-size: 1.75rem; color: var(--navy); }
.service-detail ul { padding-left: 20px; color: var(--muted); }
.service-detail li { margin: 7px 0; }

.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; }
.contact-list { display: grid; gap: 18px; margin-top: 30px; }
.contact-item { padding: 18px 20px; background: var(--cream); border-left: 2px solid var(--gold); }
.contact-item small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .11em; }
.contact-form { padding: 38px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: .86rem; font-weight: 700; }
.field input, .field textarea { width: 100%; padding: 13px 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(195,160,105,.15); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { color: var(--muted); font-size: .79rem; }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { max-width: 720px; margin-bottom: 0; }
.site-footer { padding: 64px 0 30px; color: white; background: #101f31; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .65fr .8fr; gap: 60px; }
.footer-brand p { max-width: 460px; color: rgba(255,255,255,.65); }
.footer-title { margin-bottom: 16px; color: var(--gold-light); font-size: .78rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; color: rgba(255,255,255,.72); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 54px; padding-top: 22px; color: rgba(255,255,255,.48); border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }

.reveal { opacity: 1; transform: none; transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; inset: 84px 0 auto; display: none; padding: 26px 20px; background: var(--navy); border-top: 1px solid rgba(255,255,255,.08); flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .hero { min-height: 760px; background-position: 57% center; }
  .hero::before { content: ""; position: absolute; inset: 0; background: rgba(16,31,49,.45); }
  .hero-copy { max-width: 630px; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 72px 0; }
  .site-header .btn { display: none; }
  .brand-name { font-size: 1.1rem; }
  .hero { min-height: 700px; background-position: 62% center; }
  .hero h1 { font-size: 2.65rem; }
  .hero-topline { font-size: .91rem; }
  .hero-intro { font-size: 1rem; }
  .cards, .features, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .quote-block { padding: 44px 28px; }
  .cta, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .contact-form { padding: 26px 20px; }
  .image-frame::before { inset: 12px -10px -12px 10px; }
}

/* Elfogadott logó és frissített tartalmi blokkok */
.site-header { background: #223143; }
.brand-logo { width: 285px; height: auto; }
.brand { flex-shrink: 0; }
.service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sector-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.sector { padding: 25px 18px; border-top: 2px solid var(--gold); background: white; font-weight: 600; color: var(--navy); }
.availability h2 { max-width: 900px; }
.availability .lead { max-width: 900px; }
.service-detail, .card { min-width: 0; }
@media(max-width:1100px) { .nav-links { gap:18px; } .brand-logo { width:250px; } }
@media(max-width:620px) { .brand-logo { width: min(250px, 65vw); } .service-grid, .sector-grid { grid-template-columns:1fr; } .service-detail { padding:28px 22px; } .hero-topline { font-size:.78rem; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *, *::before, *::after { transition:none !important; } }

/* Külön embléma és szerkeszthető, valódi márkanév */
.brand-symbol { display:block; width:58px; height:66px; object-fit:contain; flex-shrink:0; }
.brand { gap:12px; color:var(--white); }
.brand .brand-name { font-size:1.6rem; letter-spacing:.045em; }
.brand .brand-name small { margin-top:5px; font-size:.61rem; letter-spacing:.14em; }
@media(max-width:620px) {
  .brand-symbol { width:47px; height:56px; }
  .brand { gap:9px; }
  .brand .brand-name { font-size:1.3rem; }
  .brand .brand-name small { font-size:.5rem; letter-spacing:.1em; }
}

/* KRITIKON frissítés 2026-10-17 */
:root { --ink: #101010; --muted: #101010; }
.site-header .nav { min-height: 92px; }
.site-header .brand { flex: 0 1 auto; min-width: 0; }
.premium-logo { display: block; width: clamp(200px, 26vw, 330px); height: auto; object-fit: contain; }
.nav-links { gap: clamp(12px, 1.8vw, 25px); }
.nav-links .social-link { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; color: #e3c184; padding: 7px; border: 1px solid rgba(222,186,123,.52); border-radius: 8px; }
.nav-links .social-link:hover { background: rgba(211,174,114,.16); color: white; }
.nav-links .social-link::after { display: none; }
.hero { background-image: url("assets/kritikon-infrastruktura-borito.png"); background-size: cover; background-position: center; }
.hero::after { background: linear-gradient(90deg, rgba(9,24,42,.75), rgba(9,24,42,.34) 48%,rgba(9,24,42,.04) 100%); }
/* Világos részeken ne legyen fakó a betű; sötét háttereken továbbra is világos */
.section:not(.section-navy) p, .section:not(.section-navy) .lead, .section-cream p,
.card p, .feature p, .timeline-item p, .service-detail li, .service-detail p,
.availability p, .contact-form p, .contact-item small, .stat span { color: #101010; }
.section-navy p, .quote-block p, .quote-block blockquote { color: white; }
.line-icon { width: 29px; height: 29px; display: block; stroke: currentColor; }
.card-icon { width: 60px; height: 60px; color: #ba904f; }
.feature-number { display: inline-grid; place-items: center; width: 48px; height: 48px; color: #ba904f; }
.service-line-icon { display: inline-grid; place-items: center; color: #ba904f; width: 60px; height: 60px; margin-bottom: 14px; border: 1px solid rgba(195,160,105,.45); border-radius: 50%; }
@media(max-width: 1000px) { .premium-logo { width: clamp(170px, 29vw, 290px); } }
@media(max-width: 760px) { .site-header .nav { min-height: 84px; } .premium-logo { width: min(220px, 56vw); } .nav-links .social-link { margin-top: 7px; } .hero { background-position: 58% center; } }

/* 2026-10-17 finomhangolás – csak a kért módosítások */
.site-header {
  background: #0A1E33;
}

.hero::after {
  background: linear-gradient(
    90deg,
    rgba(7, 18, 34, 0.88) 0%,
    rgba(7, 18, 34, 0.82) 24%,
    rgba(7, 18, 34, 0.58) 46%,
    rgba(7, 18, 34, 0.22) 70%,
    rgba(7, 18, 34, 0.00) 100%
  );
}

.availability .container {
  position: relative;
  padding-right: 170px;
}

.availability .container::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 0;
  width: 156px;
  height: 156px;
  background-image: url("assets/hungary-gold-glow.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}

@media (max-width: 900px) {
  .availability .container {
    padding-right: 0;
    padding-top: 110px;
  }

  .availability .container::after {
    top: 0;
    right: auto;
    left: 0;
    width: 104px;
    height: 104px;
  }
}


/* KRITIKON V6 – kizárólag színvilág finomhangolás, 2026-10-17 */
:root {
  --cream: #e5edf5; /* korábbi bézs helyett hűvös, halvány palakék */
  --paper: #eef3f8; /* teljes oldal világos kékesszürke alapja */
  --navy-2: #244464;
  --line: rgba(20, 55, 91, .18);
  --shadow: 0 18px 50px rgba(9, 36, 67, .12);
}
/* A kapcsolatfelvétel világos bézs felülete helyett elegánsabb kék tónusok. */
.contact-grid { background: transparent; }
.contact-grid .contact-form {
  background: #f5f9fd;
  border-color: rgba(31, 80, 125, .25);
  box-shadow: 0 20px 55px rgba(12, 46, 82, .14);
}
.contact-grid .field input,
.contact-grid .field textarea {
  background: #e6eff8;
  border-color: rgba(37, 79, 122, .26);
}
.contact-grid .contact-item {
  background: #d9e7f4;
  border-left-color: #3d719e;
}
/* A küldőfelületet körülvevő rész kékebbre hangolva, de a sötét szövegek megmaradnak. */
.section-cream:has(.contact-grid) { background: #d6e3f0; }
/* Régi bézs kártyák és szektorblokkok helyett letisztult kékes-fehér felületek. */
.card, .service-detail, .timeline-item, .sector, .stat {
  background: #f8fbfe;
  border-color: rgba(30, 73, 112, .16);
}
/* A márka arany ikonjai, a logó és a fejléc eredeti színe nem változik. */
