/* =========================================================
   LEGATOS — Shared Stylesheet
   Brand: Navy #0f2744 | Blue #047fe8 | Accent #c8a96e
   ========================================================= */

:root {
  --navy:    #0f2744;
  --navy-dk: #070f1d;
  --blue:    #047fe8;
  --blue-dk: #0370cc;
  --accent:  #c8a96e;
  --grey-bg: #f4f7fb;
  --grey-lt: #e8edf4;
  --text:    #1a1a2e;
  --muted:   #5a6478;
  --white:   #ffffff;
  --shadow:  0 2px 16px rgba(15,39,68,.07);
  --shadow-hover: 0 12px 48px rgba(4,127,232,.14);
  --radius:  12px;
  --radius-sm: 6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI','Helvetica Neue',Arial,sans-serif;
  color: var(--text); background: #fff; line-height: 1.65; font-size: 16px;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Layout ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 96px 0; }
.section--grey { background: var(--grey-bg); }
.section--dark { background: var(--navy); color: var(--white); }
.section--darker { background: var(--navy-dk); color: var(--white); }

/* ── Language toggle ── */
[data-lang]               { display: none; }
.lang-sk [data-lang="sk"],
.lang-en [data-lang="en"] { display: revert; }
span[data-lang]            { display: none; }
.lang-sk span[data-lang="sk"],
.lang-en span[data-lang="en"] { display: inline; }

/* ── Navbar ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15,39,68,.97); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 4px 28px rgba(0,0,0,.4); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; max-width: 1200px; margin: 0 auto; padding: 0 28px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__logo img { height: 55px; width: auto; }
.nav__logo-text { font-size: 20px; font-weight: 800; color: var(--white); letter-spacing: -0.02em; }
.nav__logo-text em { color: var(--blue); font-style: normal; }
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  color: rgba(255,255,255,.75); font-size: 14px; font-weight: 500; letter-spacing: .2px;
  padding: 4px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--white); border-bottom-color: var(--blue); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; gap: 4px; }
.lang-btn {
  padding: 4px 10px; border-radius: 3px; font-size: 12px; font-weight: 600;
  letter-spacing: .5px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.65);
  background: transparent; transition: all .2s;
}
.lang-btn.active, .lang-btn:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.nav__cta {
  padding: 9px 22px; font-size: 13px; border-radius: 4px;
  background: var(--blue); color: var(--white); font-weight: 600;
  transition: background .2s, transform .15s; white-space: nowrap;
}
.nav__cta:hover { background: var(--blue-dk); transform: translateY(-1px); }
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; }
.nav__mobile {
  display: none; flex-direction: column;
  padding: 16px 28px 24px; background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.08);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  color: rgba(255,255,255,.8); font-size: 16px; font-weight: 500;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.07);
}

/* ── Buttons ── */
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 4px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: all .2s ease; letter-spacing: .3px; line-height: 1;
}
.btn-primary { background: var(--blue); color: var(--white); border: 2px solid var(--blue); }
.btn-primary:hover { background: var(--blue-dk); border-color: var(--blue-dk); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(4,127,232,.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.45); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-sm { padding: 10px 22px; font-size: 13px; }

/* ── Section headings ── */
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.section-label::before { content: ''; width: 20px; height: 2px; background: var(--blue); flex-shrink: 0; }
.section--dark .section-label { color: #6bb8ff; }
.section--dark .section-label::before { background: #6bb8ff; }

.section-title {
  font-size: clamp(26px,4vw,40px); font-weight: 700; line-height: 1.2;
  color: var(--navy); margin-bottom: 18px; letter-spacing: -0.02em;
}
.section--dark .section-title { color: var(--white); }
.section-subtitle {
  font-size: 17px; color: var(--muted); max-width: 600px;
  line-height: 1.72; hyphens: auto;
}
.section--dark .section-subtitle { color: rgba(255,255,255,.68); }

/* ── Inner page hero ── */
.page-hero {
  background: var(--navy); padding: 140px 0 72px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23047fe8' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero__label {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.page-hero__label::before { content:''; width:20px; height:2px; background:var(--blue); }
.page-hero__title {
  font-size: clamp(30px,5vw,54px); font-weight: 700; color: var(--white);
  line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 18px; position: relative;
}
.page-hero__title em { color: var(--blue); font-style: normal; }
.page-hero__sub {
  font-size: clamp(16px,2vw,18px); color: rgba(255,255,255,.68);
  max-width: 620px; line-height: 1.72; position: relative;
}
.page-hero__breadcrumb {
  font-size: 13px; color: rgba(255,255,255,.4); margin-bottom: 28px; position: relative;
}
.page-hero__breadcrumb a { color: rgba(255,255,255,.55); }
.page-hero__breadcrumb a:hover { color: var(--white); }

/* ── Cards ── */
.card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--grey-lt); padding: 36px 30px;
  transition: all .3s ease; box-shadow: var(--shadow);
}
.card:hover { border-color: rgba(4,127,232,.2); transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card__icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--grey-bg); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; transition: background .3s;
}
.card:hover .card__icon { background: rgba(4,127,232,.1); }
.card__title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; letter-spacing: -.01em; }
.card__text { font-size: 14px; color: var(--muted); line-height: 1.7; hyphens: auto; }
.card__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--blue);
  transition: gap .2s;
}
.card__link:hover { gap: 10px; }
.card__link::after { content: '→'; }

/* ── Stats bar ── */
.stats-bar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 0; border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.stat-item {
  padding: 40px 32px; border-right: 1px solid rgba(255,255,255,.1); text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: clamp(32px,4vw,48px); font-weight: 800; color: var(--white);
  line-height: 1; letter-spacing: -0.03em; margin-bottom: 6px;
}
.stat-num span { color: var(--blue); }
.stat-label { font-size: 13px; color: rgba(255,255,255,.52); letter-spacing: .3px; line-height: 1.4; }

/* ── Two-col grid ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col--3-2 { grid-template-columns: 3fr 2fr; }
.two-col--2-3 { grid-template-columns: 2fr 3fr; }

/* ── Team cards ── */
.team-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--grey-lt); overflow: hidden;
  box-shadow: var(--shadow); transition: box-shadow .3s, transform .3s;
}
.team-card:hover { box-shadow: 0 16px 48px rgba(15,39,68,.13); transform: translateY(-4px); }
.team-card__header {
  height: 140px; background: linear-gradient(135deg, var(--navy), #1a4080);
  display: flex; align-items: center; justify-content: center;
}
.team-card__avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 3px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800; color: var(--white); letter-spacing: -0.02em;
}
.team-card__body { padding: 24px 26px; }
.team-card__name { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.team-card__role { font-size: 11px; color: var(--blue); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.team-card__bio { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.team-card__contact { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.team-card__contact:hover { color: var(--blue); }

/* ── Process steps ── */
.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-step {
  display: flex; gap: 24px; padding: 28px 0;
  border-bottom: 1px solid var(--grey-lt);
}
.process-step:last-child { border-bottom: none; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(4,127,232,.1);
  color: var(--blue); font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-content {}
.step-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step-text { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── Contact ── */
.contact-block {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 28px;
}
.contact-block__label {
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 6px;
}
.contact-block__name { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.contact-block__detail { font-size: 14px; color: rgba(255,255,255,.58); line-height: 2; }
.contact-block__detail a { color: rgba(255,255,255,.58); }
.contact-block__detail a:hover { color: var(--blue); }

/* Form */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.5); letter-spacing: .5px; text-transform: uppercase; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06);
  color: var(--white); font-family: inherit; font-size: 14px; outline: none;
  transition: border-color .2s;
}
.form-group textarea { height: 120px; resize: vertical; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.3); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--blue); }
.form-group select option { background: var(--navy); }

/* ── Value pillars ── */
.pillar {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 32px 28px; text-align: center;
}
.pillar__icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(4,127,232,.15); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.pillar__title { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.pillar__text { font-size: 14px; color: rgba(255,255,255,.58); line-height: 1.72; }

/* ── Accent badge ── */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.badge-blue { background: rgba(4,127,232,.12); color: var(--blue); border: 1px solid rgba(4,127,232,.25); }
.badge-accent { background: rgba(200,169,110,.12); color: var(--accent); border: 1px solid rgba(200,169,110,.3); }
.badge-white { background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.18); }

/* ── Separator ── */
.sep { width: 48px; height: 3px; background: var(--blue); border-radius: 2px; margin-bottom: 24px; }
.sep-accent { background: var(--accent); }

/* ── Footer ── */
.footer { background: var(--navy-dk); color: rgba(255,255,255,.5); padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 52px; }
.footer__brand-name { font-size: 20px; font-weight: 800; color: var(--white); letter-spacing: -0.02em; margin-bottom: 12px; }
.footer__brand-name em { color: var(--blue); font-style: normal; }
.footer__brand-text { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.42); margin-bottom: 14px; max-width: 240px; }
.footer__social { display: flex; gap: 10px; margin-bottom: 18px; }
.footer__social-link { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 6px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.45); transition: background .2s, color .2s; }
.footer__social-link:hover { background: var(--blue); color: var(--white); }
.footer__col-title { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 18px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 14px; color: rgba(255,255,255,.52); transition: color .2s; }
.footer__links a:hover { color: var(--white); }
.footer__links li { font-size: 14px; color: rgba(255,255,255,.42); line-height: 1.8; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer__copy { font-size: 12px; }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { font-size: 12px; color: rgba(255,255,255,.32); }
.footer__legal a:hover { color: rgba(255,255,255,.6); }

/* ── Responsive ── */
@media(max-width:900px) {
  .two-col, .two-col--3-2, .two-col--2-3 { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media(max-width:768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .section { padding: 64px 0; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat-item:nth-child(2n) { }
  .form-row { grid-template-columns: 1fr; }
}
@media(max-width:480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
}
