/* =========================================================
   F&S DEVELOPMENT s.r.o. — web
   ========================================================= */

:root {
  --navy: #0D47A1;
  --navy-dark: #0a3572;
  --blue: #1976D2;
  --ink: #212121;
  --text: #33383f;
  --muted: #6b7280;
  --white: #ffffff;
  --bg-soft: #F4F6F9;
  --border: #E6E9EE;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(13, 71, 161, 0.18);
  --shadow-sm: 0 4px 14px -6px rgba(13, 30, 60, 0.12);
  --container: 1180px;
  --speed: .2s;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Anchor targets must not hide under the sticky header (mobile fix) */
:target, [id] { scroll-margin-top: 100px; }
@media (max-width: 760px) { [id] { scroll-margin-top: 120px; } }


body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--text); }
a { color: var(--navy); text-decoration: none; }
img { max-width: 100%; display: block; }

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

.section {
  padding: 88px 0;
}
.section.soft { background: var(--bg-soft); }
.section.navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
}
.section.navy h2, .section.navy h3, .section.navy p { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(25, 118, 210, .1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section.navy .eyebrow {
  color: #cfe0fb;
  background: rgba(255,255,255,.12);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head.left { margin: 0 0 44px; text-align: left; }
.lead {
  font-size: 1.1rem;
  color: var(--muted);
}
.section.navy .lead { color: #d7e3f7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--speed), box-shadow var(--speed), background var(--speed), color var(--speed), border-color var(--speed);
  font-size: .98rem;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-2px); }
.btn-accent {
  background: var(--blue);
  color: var(--white);
}
.btn-accent:hover { background: #145ea8; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.6);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--ink);
}
.brand img { height: 46px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: .96rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color var(--speed), border-color var(--speed);
}
.nav a:hover, .nav a.active { color: var(--navy); border-color: var(--navy); }

.header-cta { display: flex; align-items: center; gap: 18px; }
.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.phone-link svg { flex: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--speed), opacity var(--speed);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  padding: 150px 0 120px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(9,45,92,.93) 0%, rgba(13,71,161,.86) 45%, rgba(13,71,161,.55) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 700px; }
.hero h1 { color: var(--white); }
.hero .lead { color: #dfe9fb; font-size: 1.2rem; margin-bottom: 34px; }
.hero-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 50px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.hero-badges div { font-size: .88rem; color: #cfe0fb; }
.hero-badges strong { display: block; font-size: 1.5rem; color: var(--white); font-family: 'Poppins', sans-serif; }

.page-hero {
  position: relative;
  color: var(--white);
  padding: 96px 0 64px;
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(9,45,92,.94) 0%, rgba(13,71,161,.88) 100%);
}
.page-hero .inner { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: #dfe9fb; font-size: 1.08rem; margin: 0; }
.breadcrumb {
  position: relative; z-index: 2;
  font-size: .85rem; color: #cfe0fb; margin-bottom: 18px;
}
.breadcrumb a { color: #cfe0fb; }
.breadcrumb a:hover { color: var(--white); }

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--speed), box-shadow var(--speed), border-color var(--speed);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(13,71,161,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--navy);
}
.icon-box svg { width: 28px; height: 28px; }

.value-card {
  text-align: center;
  padding: 30px 20px;
}
.value-card .icon-box { margin-left: auto; margin-right: auto; background: rgba(255,255,255,.14); color: var(--white); }
.value-card h3 { font-size: 1.05rem; }
.value-card p { font-size: .92rem; margin: 0; }

.service-card a.more {
  font-weight: 700;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.service-card a.more svg { transition: transform var(--speed); }
.service-card a.more:hover svg { transform: translateX(4px); }

/* ---------- Coverage / stats ---------- */
.stat-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat { min-width: 130px; }
.stat strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  color: var(--navy);
}
.stat span { color: var(--muted); font-size: .92rem; }

/* ---------- Two column layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.two-col.reverse .col-media { order: 2; }
.col-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.media-frame { position: relative; }
.media-frame .tag {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: var(--shadow-sm);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: .95rem;
}

.checklist { list-style: none; padding: 0; margin: 20px 0; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: var(--text);
}
.checklist li svg { flex: none; margin-top: 3px; color: var(--blue); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
}
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.gallery a:hover img { transform: scale(1.08); }
.gallery a::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(9,45,92,.55), transparent 55%);
  opacity: 0;
  transition: opacity var(--speed);
}
.gallery a:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,20,40,.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  border-radius: 50%;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-nav.prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-nav:hover, .lightbox-close:hover { background: rgba(255,255,255,.25); }

/* ---------- Video ---------- */
.video-wrap {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #061a38;
  aspect-ratio: 16 / 9;
}
.video-wrap video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #061a38;
}
.video-note {
  max-width: 960px;
  margin: 18px auto 0;
  text-align: center;
  font-size: .88rem;
  color: var(--muted);
}
.section.navy .video-note { color: #b9cdea; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color var(--speed), box-shadow var(--speed);
}
.faq details[open] { border-color: #c9dcf7; box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.02rem;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--blue);
  line-height: 1;
  transition: transform var(--speed);
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--navy); }
.faq .answer { padding: 0 24px 22px; color: var(--text); font-size: .96rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; }
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 620px;
}
.compare th, .compare td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: .94rem;
  vertical-align: top;
}
.compare thead th {
  background: var(--navy);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  border-bottom: none;
}
.compare thead th:first-child { background: var(--navy-dark); }
.compare tbody tr:last-child td { border-bottom: none; }
.compare tbody td:first-child {
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-soft);
  width: 26%;
}

/* ---------- Numbered step cards ---------- */
.steps { counter-reset: step; }
.step-card { position: relative; padding-left: 68px; margin-bottom: 30px; }
.step-card:last-child { margin-bottom: 0; }
.step-card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(13,71,161,.08);
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.step-card h3 { margin-bottom: 6px; font-size: 1.08rem; }
.step-card p { margin-bottom: 0; font-size: .95rem; }
.section.navy .step-card::before { background: rgba(255,255,255,.14); color: var(--white); }

/* ---------- Requirement / info list ---------- */
.req-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 34px; }
.req-item { display: flex; gap: 14px; align-items: flex-start; }
.req-item svg { flex: none; margin-top: 3px; color: var(--blue); }
.req-item strong { display: block; color: var(--ink); font-size: .97rem; }
.req-item span { font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) { .req-grid { grid-template-columns: 1fr; } }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: #0a1f3d;
  padding: 18px 24px;
  box-shadow: 0 -8px 24px rgba(0,0,0,.18);
  transform: translateY(120%);
  transition: transform .4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner p { margin: 0; font-size: .86rem; color: #d7e3f7; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner .btn { flex: none; padding: 11px 22px; }
@media (max-width: 640px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--blue));
  border-radius: 20px;
  padding: 56px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: #dfe9fb; margin: 0; }

/* ---------- Timeline (o nas) ---------- */
.timeline { border-left: 2px solid var(--border); margin-left: 6px; padding-left: 30px; }
.timeline .step { position: relative; padding-bottom: 34px; }
.timeline .step:last-child { padding-bottom: 0; }
.timeline .step::before {
  content: "";
  position: absolute;
  left: -37px; top: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid #dbe8fb;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.info-row:last-child { margin-bottom: 0; }
.info-row .icon-box { margin-bottom: 0; flex: none; width: 44px; height: 44px; }
.info-row .icon-box svg { width: 22px; height: 22px; }
.info-row h4 { margin: 0 0 3px; font-size: .95rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.info-row p, .info-row a { margin: 0; font-weight: 600; color: var(--ink); }
.info-row a:hover { color: var(--navy); }

.biz-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.biz-table td { padding: 8px 0; border-bottom: 1px solid var(--border); }
.biz-table td:first-child { color: var(--muted); width: 45%; }
.biz-table tr:last-child td { border-bottom: none; }

form.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-family: inherit;
  font-size: .96rem;
  color: var(--ink);
  transition: border-color var(--speed);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: var(--blue);
}
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0a1f3d;
  color: #b9c8e2;
  padding: 64px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-grid h4 {
  color: var(--white);
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 18px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 40px; }
.footer-brand span { color: var(--white); font-family: 'Poppins', sans-serif; font-weight: 700; }
.footer-grid p, .footer-grid a { color: #b9c8e2; font-size: .92rem; }
.footer-grid a:hover { color: var(--white); }
.footer-links { list-style: none; padding: 0; margin: 0; }

/* ---------- Odkaz na sociální síť ---------- */
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  padding: 9px 16px 9px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  color: #d7e3f7 !important;
  transition: background var(--speed), border-color var(--speed), color var(--speed), transform var(--speed);
}
.social-link svg { flex: none; }
.social-link:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.45);
  color: #fff !important;
  transform: translateY(-1px);
}
.footer-links li { margin-bottom: 10px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: .82rem;
  color: #8296b8;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.footer-bottom a { color: #8296b8; text-decoration: underline; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.tag-pill {
  display: inline-block;
  background: rgba(13,71,161,.08);
  color: var(--navy);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: .82rem;
  font-weight: 700;
  margin: 0 8px 8px 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .two-col, .contact-grid { grid-template-columns: 1fr; }
  .two-col .col-media { order: -1 !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .nav, .header-cta .phone-link span.phone-label { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px 26px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
    box-shadow: var(--shadow);
  }
  .nav-toggle { display: block; }
  .section { padding: 60px 0; }
  .hero { padding: 120px 0 70px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .form-cols { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 26px; flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stat-row { justify-content: center; text-align: center; }
}
