/* =============================================================
   Wickr Group a.s. — Modern Corporate Redesign
   Shared stylesheet
   ============================================================= */

:root {
  --navy: #0c2340;          /* primary deep blue */
  --navy-700: #122f54;
  --navy-600: #1b3e6b;
  --steel: #2f6fae;         /* accent blue */
  --steel-light: #e8f0f8;
  --gold: #c9a227;          /* subtle premium accent */
  --ink: #1a2230;
  --slate: #51607a;
  --muted: #7c89a0;
  --line: #e4e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-softer: #eef2f8;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(12, 35, 64, .08);
  --shadow: 0 10px 30px rgba(12, 35, 64, .10);
  --shadow-lg: 0 24px 60px rgba(12, 35, 64, .16);
  --maxw: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --serif: "Fraunces", "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--steel); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; color: var(--slate); }

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

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
  transform: translateY(-3px);
}

.section { padding: 92px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #cdd8e8; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #aebbd0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn--primary { background: var(--steel); color: #fff; box-shadow: 0 8px 20px rgba(47,111,174,.3); }
.btn--primary:hover { background: var(--navy); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(12,35,64,.32); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
.btn--outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--outline:hover { border-color: var(--steel); color: var(--steel); transform: translateY(-2px); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: #b9c6dc;
  font-size: .85rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: #dce6f4; }
.topbar a:hover { color: #fff; }
.topbar .ti { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; opacity: .8; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; }
.brand .brand-text { font-weight: 800; color: var(--navy); font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.1; }
.brand .brand-text span { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 10px 16px; border-radius: 8px;
  color: var(--navy); font-weight: 600; font-size: .95rem;
}
.nav-links a:hover { background: var(--steel-light); color: var(--steel); }
.nav-links a.active { color: var(--steel); }
.nav-links a.active::after {
  content: ""; display: block; height: 2px; width: 20px;
  background: var(--gold); margin: 4px auto 0;
}
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(rgba(8,24,46,.72), rgba(8,24,46,.82)), url("img/wgbg2.jpg") center/cover no-repeat fixed;
}
.hero .container { padding-top: 120px; padding-bottom: 130px; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero p { color: #cfdaec; font-size: 1.18rem; max-width: 56ch; }
.hero .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero .tagline { font-style: italic; color: var(--gold); font-weight: 600; letter-spacing: .02em; }

/* ---------- Page banner (subpages) ---------- */
.page-banner {
  position: relative; color: #fff; text-align: center;
  background: linear-gradient(rgba(8,24,46,.78), rgba(8,24,46,.86)), url("img/prague.jpg") center/cover no-repeat;
}
.page-banner .container { padding: 96px 24px 80px; }
.page-banner h1 { color: #fff; }
.page-banner p { color: #cfdaec; max-width: 60ch; margin: 0 auto; }
.breadcrumb { color: #9fb1cd; font-size: .9rem; margin-top: 14px; }
.breadcrumb a { color: #cfdaec; }

/* ---------- Segment cards ---------- */
.segments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.seg-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.seg-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cdd9ea; }
.seg-card .ico {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--steel-light); color: var(--steel);
}
.seg-card .ico svg { width: 28px; height: 28px; }
.seg-card h3 { margin-bottom: 6px; font-size: 1.15rem; }
.seg-card p { margin: 0; font-size: .95rem; }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; }
.split-media.tall img { min-height: 360px; }

/* ---------- Feature list ---------- */
.feature-list { list-style: none; margin: 18px 0 0; padding: 0; }
.feature-list li { position: relative; padding: 8px 0 8px 32px; color: var(--slate); }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--steel-light);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6fae' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px; }
.stat .num { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.stat .num .plus { color: var(--gold); }
.stat .lbl { color: #aebbd0; font-size: .95rem; }

/* ---------- Project / spec table ---------- */
.spec-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 28px; box-shadow: var(--shadow-sm); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th { text-align: left; color: var(--navy); font-weight: 700; padding: 14px 8px; border-bottom: 2px solid var(--line); }
.spec-table td { padding: 13px 8px; border-bottom: 1px solid var(--line); color: var(--slate); }
.spec-table td:last-child { text-align: right; font-weight: 700; color: var(--navy); }
.spec-table tr:last-child td { border-bottom: 0; }

/* ---------- Partner cards ---------- */
.partner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.partner.reverse .partner-media { order: 2; }
.partner-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.partner-body .tag { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.partner-body h3 { font-size: 1.6rem; margin: 6px 0 14px; }
.partner-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.partner-divider { height: 1px; background: var(--line); margin: 64px 0; border: 0; }

/* ---------- Gallery ---------- */
.gallery-group { margin-bottom: 56px; }
.gallery-group h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.gallery-group h3::before { content:""; width: 6px; height: 24px; background: var(--gold); border-radius: 3px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.gallery-grid a {
  display: block; aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: var(--shadow-sm); position: relative;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid a:hover img { transform: scale(1.07); }
.gallery-grid a::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(transparent 55%, rgba(8,24,46,.5));
  opacity: 0; transition: opacity .3s ease;
}
.gallery-grid a:hover::after { opacity: 1; }

/* ---------- Highlight project cards ---------- */
.proj-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.proj-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .25s; }
.proj-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.proj-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.proj-card .body { padding: 26px 28px; }
.proj-card h3 { font-size: 1.2rem; }
.proj-card p { margin: 0; font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.info-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.info-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ico { flex: 0 0 42px; height: 42px; border-radius: 10px; background: var(--steel-light); color: var(--steel); display: grid; place-items: center; }
.info-row .ico svg { width: 20px; height: 20px; }
.info-row .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.info-row .value { color: var(--navy); font-weight: 600; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field label .req { color: #d05a5a; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; color: var(--ink); background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--steel); background: #fff; box-shadow: 0 0 0 3px rgba(47,111,174,.15); }
.field textarea { resize: vertical; min-height: 130px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--slate); }
.checkbox input { width: auto; margin-top: 4px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); margin-top: 28px; }
.map-wrap iframe { display: block; width: 100%; border: 0; height: 320px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--navy-600)); color: #fff; border-radius: 20px; padding: 56px; text-align: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-band::before { content:""; position:absolute; right:-60px; top:-60px; width: 240px; height: 240px; border-radius: 50%; background: rgba(201,162,39,.12); }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #c3d0e4; max-width: 56ch; margin: 0 auto 26px; position: relative; }
.cta-band .btn { position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: #081a2e; color: #9fb1cd; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-grid img { height: 46px; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer p { color: #9fb1cd; font-size: .95rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #b9c6dc; }
.site-footer a:hover { color: #fff; }
.foot-contact { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: .95rem; }
.foot-contact svg { width: 17px; height: 17px; margin-top: 3px; flex: 0 0 17px; opacity: .8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: #9fb1cd; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .segments { grid-template-columns: repeat(2, 1fr); }
  .split, .partner, .contact-grid, .proj-cards { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media, .partner.reverse .partner-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 16px; box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 12px; border-radius: 8px; }
  .nav-links a.active::after { display: none; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: block; }
  .stats { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .topbar .container { justify-content: center; }
  .topbar .ti.addr { display: none; }
}
@media (max-width: 480px) {
  .segments { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
