/* ==========================================================================
   SOS Most — style.css
   Stavební a obchodní společnost Most spol. s r.o.
   ========================================================================== */

:root {
  --navy: #2c3b78;
  --navy-dark: #1d2856;
  --sky: #00a0e2;
  --sky-light: #e8f6fd;
  --sky-lighter: #f4fbfe;
  --white: #ffffff;
  --ink: #223047;
  --ink-soft: #526078;
  --border: #dfe7f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(29, 40, 86, 0.09);
  --container: 1140px;
  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-dark);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--ink-soft); }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sky);
  background: var(--sky-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section {
  padding: 72px 0;
}
.section--tight { padding: 48px 0; }
.section--sky { background: var(--sky-light); }
.section--navy {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
}
.section--navy h2, .section--navy h3, .section--navy p { color: var(--white); }

.section-head {
  max-width: 720px;
  margin: 0 0 40px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.btn--primary { background: var(--sky); color: var(--white); box-shadow: 0 8px 20px rgba(0,160,226,0.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,160,226,0.45); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-dark); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-dark);
  font-size: 0.86rem;
  line-height: 1.35;
  max-width: 270px;
}

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover { background: var(--sky-light); color: var(--navy-dark); }
.main-nav a.active { background: var(--navy); color: var(--white); }
.main-nav a.btn { margin-left: 8px; color: var(--white); }
.main-nav a.btn--outline { color: var(--navy); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--navy-dark); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, var(--sky) 165%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 60%;
  padding-bottom: 60%;
  background: radial-gradient(circle, rgba(0,160,226,0.45), transparent 70%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  padding-top: 88px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero p.lead { color: rgba(255,255,255,0.88); font-size: 1.12rem; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.hero-badge {
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-head);
  letter-spacing: 0.04em;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
}

.hero-panel {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  padding: 30px;
  backdrop-filter: blur(4px);
}
.hero-panel dl { margin: 0; display: grid; gap: 16px; }
.hero-panel dt {
  font-family: var(--font-head);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 3px;
}
.hero-panel dd { margin: 0; font-weight: 600; font-size: 1.02rem; }

/* ---------- Stat strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: -46px;
  position: relative;
  z-index: 2;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 20px;
  text-align: center;
  border: 1px solid var(--border);
}
.stat-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.stat-card span { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Two column / about ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}
.about-figure {
  background: var(--sky-light);
  border-radius: var(--radius);
  padding: 34px;
  border: 1px solid var(--border);
}
.about-figure h3 { margin-bottom: 18px; }
.badge-row { display: flex; gap: 14px; flex-wrap: wrap; }
.badge-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-dark);
  box-shadow: 0 4px 12px rgba(29,40,86,0.06);
}
.badge-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sky); flex-shrink: 0; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(29,40,86,0.14); }
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--sky-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--sky);
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 0.96rem; }

/* ---------- Values list ---------- */
.value-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.value-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-weight: 500;
  color: var(--ink);
}
.value-list .check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.value-list .check svg { width: 14px; height: 14px; }

/* ---------- Leadership ---------- */
.leader-card {
  display: flex;
  gap: 22px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(150deg, var(--navy), var(--sky));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--sky-light);
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.leader-card h3 { margin-bottom: 2px; }
.leader-role { color: var(--sky); font-weight: 600; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.leader-card p { margin-bottom: 0; font-size: 0.92rem; }

.board-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.board-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 14px;
  text-align: center;
  box-shadow: var(--shadow);
}
.board-card .avatar {
  width: 82px;
  height: 82px;
  margin: 0 auto 14px;
  font-size: 1.2rem;
}
.board-card h3 { font-size: 0.98rem; margin-bottom: 4px; }
.board-card .board-tag {
  color: var(--sky);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.board-card .board-activity { color: var(--ink-soft); font-size: 0.84rem; }

.board-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 20px 24px;
  background: var(--sky-light);
  border-radius: var(--radius);
  display: grid;
  gap: 10px;
}
.board-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
}
.board-list li:last-child { border-bottom: none; }
.board-list .role { color: var(--ink-soft); font-size: 0.84rem; }

/* ---------- Notice / teaser ---------- */
.notice {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--sky-light);
  border: 1px dashed var(--sky);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-top: 12px;
}
.notice .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--white); color: var(--sky);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.notice p { margin: 0; color: var(--ink); font-size: 0.95rem; }
.notice strong { color: var(--navy-dark); }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-card .icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--sky-light); color: var(--sky);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-card a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.contact-card p { margin-bottom: 0; font-size: 0.92rem; }

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.info-table tr:nth-child(even) { background: var(--sky-lighter); }
.info-table th, .info-table td {
  text-align: left;
  padding: 15px 20px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th { color: var(--ink-soft); font-weight: 600; width: 42%; }
.info-table td { color: var(--ink); font-weight: 600; }
.info-table td a { color: var(--navy); text-decoration: none; }
.info-table td a:hover { text-decoration: underline; }

.map-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

/* ---------- E-mail (maskovaný proti sběru roboty) ---------- */
.mail-at::before { content: "@"; }
.js-mail { cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.82); padding: 56px 0 26px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 36px; background: var(--white); padding: 8px 10px; border-radius: 10px; }
.footer-brand span { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 0.95rem; max-width: 220px; }
.site-footer h4 { color: var(--white); font-family: var(--font-head); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.site-footer p, .site-footer li, .site-footer a { color: rgba(255,255,255,0.78); font-size: 0.92rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 64px 0 56px;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.86); max-width: 620px; margin-bottom: 0; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.85); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 26px; }
  .two-col { grid-template-columns: 1fr; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .board-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .main-nav { position: fixed; top: 84px; left: 0; right: 0; height: calc(100vh - 84px); overflow-y: auto; margin: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 18px; gap: 4px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; border-top: 1px solid var(--border); }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 14px 16px; }
  .main-nav .btn { margin-left: 0; text-align: center; justify-content: center; }
  .nav-toggle { display: flex; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .leader-card { flex-direction: column; text-align: center; }
  .board-list li { flex-direction: column; gap: 2px; }
  .board-grid { grid-template-columns: repeat(2, 1fr); }
}
