/* =========================================================
   EU-SEC Group — eusec.hu
   Design system: professional corporate security aesthetic
   ========================================================= */

:root {
  --navy-950: #06101f;
  --navy-900: #0a1930;
  --navy-800: #0f2340;
  --navy-700: #163257;
  --navy-600: #1e4472;
  --blue-500: #2f6fb0;
  --blue-400: #4a8fd6;
  --gold-500: #c8a24a;
  --gold-400: #ddbd6e;
  --gold-300: #ecd8a3;
  --ink-900: #101418;
  --ink-700: #33404d;
  --ink-500: #5c6b78;
  --ink-300: #8b98a3;
  --paper-0: #ffffff;
  --paper-50: #f7f8fa;
  --paper-100: #eef1f4;
  --paper-200: #e2e7ec;
  --line: #dde3e9;
  --ok-600: #1c7a4d;
  --warn-600: #b5482a;
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
  --shadow-s: 0 2px 8px rgba(6, 16, 31, 0.06);
  --shadow-m: 0 8px 28px rgba(6, 16, 31, 0.10);
  --shadow-l: 0 20px 60px rgba(6, 16, 31, 0.18);
  --maxw: 1200px;
  --font-head: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root { color-scheme: light; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--paper-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.18;
  color: var(--navy-950);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.5rem); }
p { margin: 0 0 1.1em; color: var(--ink-700); }
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}
.lede {
  font-size: 1.18rem;
  color: var(--ink-500);
  max-width: 62ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-s);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold-500);
  color: var(--navy-950);
}
.btn-primary:hover { background: var(--gold-400); transform: translateY(-1px); box-shadow: var(--shadow-m); }
.btn-outline {
  background: transparent;
  color: var(--paper-0);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--paper-0); background: rgba(255,255,255,0.08); }
.btn-navy {
  background: var(--navy-900);
  color: var(--paper-0);
}
.btn-navy:hover { background: var(--navy-700); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--navy-900); }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 25, 48, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--paper-0);
  flex-shrink: 0;
}
.brand .mark {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: linear-gradient(155deg, var(--gold-400), var(--gold-500) 60%, #a5822f);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-950);
  font-weight: 800;
  font-family: var(--font-body);
  font-size: 1rem;
  flex-shrink: 0;
}
.brand small { display:block; font-family: var(--font-body); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.12em; color: var(--gold-300); text-transform: uppercase; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
  flex-wrap: wrap;
}
.nav-links a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-s);
  color: rgba(255,255,255,0.82);
  font-size: 0.94rem;
  font-weight: 500;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,0.08); color: var(--paper-0); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-tel { color: var(--gold-300); font-weight: 600; font-size: 0.92rem; display: none; }
.nav-toggle {
  display: none;
  background: none; border: 1px solid rgba(255,255,255,0.3); border-radius: var(--radius-s);
  color: var(--paper-0); width: 44px; height: 44px; cursor: pointer; font-size: 1.2rem;
}
.nav-cta .btn-primary span.short { display: none; }
@media (min-width: 1080px) { .nav-tel { display: inline; } }
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .brand small { display: none; }
  .brand { font-size: 1.05rem; gap: 8px; }
  .brand .mark { width: 34px; height: 34px; }
  .nav-cta { gap: 6px; }
  .btn-primary { padding: 12px 16px; font-size: 0.9rem; }
}
@media (max-width: 980px) {
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; background: var(--navy-900); flex-direction: column; align-items: stretch; padding: 10px 16px 18px; gap: 2px; display: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta .btn-primary span.long { display: none; }
  .nav-cta .btn-primary span.short { display: inline; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(ellipse 90% 70% at 15% 0%, #14385f 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: var(--paper-0);
  overflow: hidden;
  padding: 92px 0 110px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 20%, black 0%, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { color: var(--paper-0); }
.hero .lede { color: rgba(255,255,255,0.78); }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-m);
  overflow: hidden;
  margin-top: 56px;
}
.hero-stats div { background: rgba(255,255,255,0.045); padding: 20px 18px; }
.hero-stats b { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--gold-300); }
.hero-stats span { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-l);
  padding: 30px;
  backdrop-filter: blur(6px);
}
.hero-card h3 { color: var(--paper-0); font-size: 1.1rem; margin-bottom: 16px;}
.hero-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.hero-card .ico { color: var(--gold-400); flex-shrink: 0; margin-top: 2px; }
.hero-card .badge { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.82rem; color: rgba(255,255,255,0.65); }
.hero-card-light { box-shadow: var(--shadow-s); }
.hero-card-light h3 { color: var(--navy-950); }
.hero-card-light li { color: var(--ink-700); }
.hero-card-light p { color: var(--ink-500); }
.hero-card-light .badge { border-top-color: var(--line); color: var(--ink-500); }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-tight { padding: 60px 0; }
.section-alt { background: var(--paper-50); }
.section-navy { background: var(--navy-950); color: rgba(255,255,255,0.85); }
.section-navy h2, .section-navy h3 { color: var(--paper-0); }
.section-navy .lede { color: rgba(255,255,255,0.68); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 30px 26px;
  box-shadow: var(--shadow-s);
  transition: box-shadow .2s ease, transform .2s ease;
  height: 100%;
}
.card:hover { box-shadow: var(--shadow-m); transform: translateY(-3px); }
.card .ico-box {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(155deg, var(--navy-800), var(--navy-950));
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; font-size: 1.18rem; }
.card p { margin-bottom: 0.6em; font-size: 0.96rem; }
.card a.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--blue-500); font-weight: 600; font-size: 0.92rem; }
.card ul.feat { margin: 10px 0 0; padding-left: 18px; color: var(--ink-500); font-size: 0.92rem; }
.card ul.feat li { margin-bottom: 4px; }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 780px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
.stat-strip b { display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--navy-900); }
.section-navy .stat-strip b { color: var(--gold-400); }
.stat-strip span { font-size: 0.86rem; color: var(--ink-500); }
.section-navy .stat-strip span { color: rgba(255,255,255,0.62); }

/* ---------- Country / presence list ---------- */
.presence-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .presence-list { grid-template-columns: repeat(2, 1fr); } }
.presence-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 20px;
  background: var(--paper-0);
}
.presence-item b { display: block; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 4px; }
.presence-item span { font-size: 0.85rem; color: var(--ink-500); }

/* ---------- Testimonial / quote ---------- */
.quote-block {
  border-left: 4px solid var(--gold-500);
  padding: 6px 0 6px 26px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--navy-950);
  margin: 30px 0;
}

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 32px; border-left: 2px solid var(--line); display: grid; gap: 34px; }
.timeline .t-item { position: relative; }
.timeline .t-item::before {
  content: ""; position: absolute; left: -39.5px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold-500); border: 3px solid var(--paper-0); box-shadow: 0 0 0 2px var(--gold-500);
}
.timeline .t-year { font-family: var(--font-head); color: var(--gold-500); font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }

/* ---------- Values ---------- */
.value-row { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.value-row:last-child { border-bottom: none; }
.value-row .num { font-family: var(--font-head); font-size: 1.4rem; color: var(--gold-500); flex-shrink: 0; width: 46px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-l);
  padding: 56px;
  color: var(--paper-0);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--paper-0); margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 0; max-width: 46ch; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--paper-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 36px;
  box-shadow: var(--shadow-m);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 6px; color: var(--navy-900); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink-900);
  background: var(--paper-50);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: var(--paper-0); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.8rem; color: var(--ink-300); margin-top: 12px; }

/* ---------- Contact info tiles ---------- */
.info-tile { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-tile:last-child { border-bottom: none; }
.info-tile .ico-box { width: 42px; height: 42px; border-radius: 10px; background: var(--paper-100); color: var(--navy-800); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.info-tile b { display: block; margin-bottom: 2px; color: var(--navy-950); }
.info-tile span, .info-tile a { color: var(--ink-500); font-size: 0.94rem; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }
.post-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--paper-0);
  display: flex; flex-direction: column;
  height: 100%;
  transition: box-shadow .2s ease, transform .2s ease;
}
.post-card:hover { box-shadow: var(--shadow-m); transform: translateY(-3px); }
.post-card .thumb {
  height: 150px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  position: relative;
  display: flex; align-items: flex-end; padding: 16px;
}
.post-card .thumb span.tag {
  background: rgba(255,255,255,0.12);
  color: var(--gold-300);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 20px;
}
.post-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.post-card p { font-size: 0.92rem; margin-bottom: 14px; flex: 1; }
.post-card .meta { font-size: 0.78rem; color: var(--ink-300); display: flex; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--paper-100); }

.article-hero {
  background: var(--navy-950);
  color: var(--paper-0);
  padding: 60px 0 50px;
}
.article-hero .tag { color: var(--gold-400); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.article-hero h1 { color: var(--paper-0); margin-top: 12px; max-width: 22ch; }
.article-meta { display: flex; gap: 18px; flex-wrap: wrap; color: rgba(255,255,255,0.6); font-size: 0.88rem; margin-top: 18px; }
.article-body { max-width: 760px; margin: 0 auto; padding: 56px 24px 20px; }
.article-body h2 { margin-top: 1.6em; font-size: 1.55rem; }
.article-body h3 { margin-top: 1.3em; font-size: 1.2rem; }
.article-body ul, .article-body ol { color: var(--ink-700); padding-left: 22px; margin-bottom: 1.2em; }
.article-body li { margin-bottom: 0.5em; }
.article-body .lead { font-size: 1.15rem; color: var(--ink-500); }
.callout {
  background: var(--paper-50);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius-s);
  padding: 20px 24px;
  margin: 28px 0;
  font-size: 0.96rem;
}
.callout b { color: var(--navy-950); }
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item h4 { margin-bottom: 8px; font-size: 1.02rem; }
.faq-item p { margin-bottom: 0; font-size: 0.95rem; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0; }
.tag-row span { background: var(--paper-100); color: var(--ink-500); font-size: 0.78rem; padding: 6px 12px; border-radius: 20px; }
.share-box { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 30px 0; flex-wrap: wrap; gap: 14px;}
.author-box { display: flex; gap: 16px; align-items: center; background: var(--paper-50); border-radius: var(--radius-m); padding: 20px; margin-top: 40px; }
.author-box .av { width: 54px; height: 54px; border-radius: 50%; background: var(--navy-900); color: var(--gold-400); display:flex; align-items:center; justify-content:center; font-family: var(--font-head); font-weight:700; flex-shrink:0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-bottom: 6px; }
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--gold-300); }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  background: radial-gradient(ellipse 80% 100% at 85% 0%, #14385f 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: var(--paper-0);
  padding: 68px 0 64px;
}
.page-hero h1 { color: var(--paper-0); max-width: 24ch; }
.page-hero .lede { color: rgba(255,255,255,0.72); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.6); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--paper-0); font-family: var(--font-body); font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { font-size: 0.92rem; color: rgba(255,255,255,0.62); }
.footer-grid a:hover { color: var(--gold-300); }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.92rem; max-width: 34ch; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 0.82rem; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold-300); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: rgba(255,255,255,0.08); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.small { font-size: 0.85rem; color: var(--ink-300); }
.divider { height: 1px; background: var(--line); margin: 48px 0; }
.pill { display:inline-block; background: var(--paper-100); color: var(--navy-800); font-size:0.76rem; font-weight:700; letter-spacing:0.05em; text-transform:uppercase; padding:5px 12px; border-radius:20px; margin-bottom:14px;}
.skip-link { position:absolute; left:-999px; top:0; background:var(--gold-500); color:var(--navy-950); padding:10px 16px; z-index:200; }
.skip-link:focus { left: 12px; top: 12px; }
