/* VOTOPL — www.votopl.cz */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800&family=Source+Sans+3:wght@400;500;600&display=swap');

:root {
  --brand:      #2563EB;
  --brand-dark: #1a4fbf;
  --brand-deep: #0f2d6b;
  --ink:        #0f172a;
  --muted:      #475569;
  --line:       #e2e8f0;
  --font-head:  'Archivo', system-ui, sans-serif;
  --font-body:  'Source Sans 3', system-ui, sans-serif;
  --wrap:       1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1,h2,h3 { font-family: var(--font-head); margin: 0 0 16px; line-height: 1.15; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ── Tlačítka ── */
.btn {
  display: inline-block;
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 14px 32px; border-radius: 4px; border: 2px solid transparent;
  cursor: pointer; transition: background .18s, color .18s, box-shadow .18s, transform .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn-hero   { background: #fff; color: var(--brand-dark); }
.btn-hero:hover { box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.btn-solid  { background: var(--brand); color: #fff; }
.btn-solid:hover { background: var(--brand-dark); box-shadow: 0 10px 24px rgba(37,99,235,.35); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--brand-dark); }

/* ── Header – bílý ── */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.site-header .wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.brand-lockup { height: 68px; width: auto; }
.main-nav { display: flex; gap: 36px; flex-wrap: wrap; justify-content: center; }
.main-nav a {
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); padding: 4px 0; border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.main-nav a:hover { color: var(--brand); border-color: var(--brand); }

/* ── Hero – fotka na pozadí ── */
.hero {
  position: relative;
  min-height: 520px;
  display: flex; align-items: flex-end;
  background: url('../assets/photos/hero-mobile.jpg') center 20% / cover no-repeat,
              linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  padding: 0 0 72px;
}
@media (min-width: 768px) {
  .hero {
    background-image: url('../assets/photos/hero.jpg');
  }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,28,70,.80) 0%, rgba(10,28,70,.35) 60%, transparent 100%);
}
.hero .wrap {
  position: relative; z-index: 1;
  max-width: 820px; text-align: center; margin: 0 auto;
}
.hero h1 {
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: .02em; margin-bottom: 32px;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

/* ── Sekce – společné ── */
section { padding: 88px 0; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head h2 {
  font-size: clamp(22px, 3vw, 32px); font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em;
}
.section-head .eyebrow {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 10px;
}
.section-head.light h2    { color: #fff; }
.section-head.light .eyebrow { color: rgba(255,255,255,.7); }

/* ── Služby ── */
.services { background: var(--brand); }
.service-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px;
}
.service-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px; padding: 40px 28px 32px;
  text-align: center; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: background .2s, transform .2s;
}
.service-card:hover { background: rgba(255,255,255,.20); transform: translateY(-4px); }
.service-card.featured {
  background: #fff; color: var(--brand);
  border-color: #fff;
}
.service-card.featured .icon svg { stroke: var(--brand); }
.service-card.featured h3 { color: var(--brand); }
.service-card.featured p  { color: var(--muted); }
.service-card.featured a  { color: var(--brand); border-color: var(--brand); }
.service-card .icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
}
.service-card.featured .icon { background: rgba(37,99,235,.1); }
.service-card .icon svg { width: 34px; height: 34px; }
.service-card h3 {
  font-size: 16px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; margin: 0;
}
.service-card p { font-size: 14px; color: rgba(255,255,255,.85); margin: 0 0 6px; }
.service-card a {
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  letter-spacing: .06em; text-transform: uppercase;
  color: #fff; border-bottom: 1px solid rgba(255,255,255,.5);
  padding-bottom: 2px;
}
.service-card a:hover { border-color: #fff; }

/* ── O nás ── */
.about { background: #f8fafc; }
.about .wrap {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: center;
}
.about-photo, .about-text { min-width: 0; }
.about-photo img {
  width: 100%; border-radius: 14px;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,.22);
  object-fit: cover; aspect-ratio: 4/3;
  background: var(--line);
}
/* placeholder když foto chybí */
.about-photo img[src$="o-nas.jpg"]:not([complete]) { min-height: 300px; }
.about-text .eyebrow {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 10px;
}
.about-text h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; text-transform: uppercase; }
.about-text p  { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.about-text .btn-solid { margin-top: 8px; }

/* ── Reference ── */
.reference { background: var(--brand); }
.reference-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.reference-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px; padding: 32px 24px;
  color: #fff; display: flex; flex-direction: column; gap: 14px;
}
.reference-card p { font-size: 14px; color: rgba(255,255,255,.9); margin: 0; font-style: italic; line-height: 1.7; }
.reference-card .stars { color: #facc15; font-size: 18px; letter-spacing: 2px; }
.reference-card strong { font-family: var(--font-head); font-size: 14px; }

/* ── Kontakt ── */
.kontakt { background: var(--brand-deep); color: #fff; text-align: center; }
.kontakt .section-head h2     { color: #fff; }
.kontakt .section-head .eyebrow { color: rgba(255,255,255,.6); }
.kontakt-grid {
  display: flex; justify-content: center; gap: 56px;
  flex-wrap: wrap; margin-bottom: 44px;
}
.kontakt-item { text-align: center; }
.kontakt-item .icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}
.kontakt-item .icon svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kontakt-item b { display: block; font-family: var(--font-head); font-size: 13px; letter-spacing: .04em; margin-bottom: 4px; }
.kontakt-item span, .kontakt-item a { font-size: 14px; color: rgba(255,255,255,.75); }
.kontakt-item a:hover { color: #fff; }

/* ── Footer ── */
.site-footer { background: #071428; color: rgba(255,255,255,.5); padding: 28px 0; font-size: 12px; }
.site-footer .wrap {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.footer-left { display: flex; align-items: center; gap: 14px; }
.footer-left img { height: 28px; opacity: .85; }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  color: rgba(255,255,255,.5); transition: color .15s;
  display: flex; align-items: center;
}
.footer-social a:hover { color: #fff; }
.footer-social svg { width: 20px; height: 20px; }

/* ── Responzivita ── */
@media (max-width: 900px) {
  .service-grid    { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .reference-grid  { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .about .wrap     { grid-template-columns: 1fr; gap: 36px; }
  section          { padding: 64px 0; }
  .hero            { padding: 0 0 56px; min-height: 400px; }
}
@media (max-width: 520px) {
  .kontakt-grid    { gap: 32px; }
  .site-footer .wrap { flex-direction: column; text-align: center; }
  .main-nav        { gap: 18px; }
}
