/* ===== Kovo Tingl — styles ===== */
:root {
  --ink: #14181d;          /* near-black steel */
  --steel: #1f262e;        /* dark anthracite */
  --steel-2: #2a323b;
  --gray: #5d6772;
  --gray-light: #8b95a1;
  --line: #e3e7eb;
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --accent: #1e63c4;       /* blue accent (per návrh) */
  --accent-dark: #164a96;
  --radius: 10px;
  --maxw: 1140px;
  --shadow: 0 10px 30px rgba(20, 24, 29, 0.08);
  --shadow-lg: 0 24px 60px rgba(20, 24, 29, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3 { font-family: "Oswald", "Inter", sans-serif; font-weight: 600; line-height: 1.1; letter-spacing: .5px; text-transform: uppercase; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-block { width: 100%; text-align: center; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 108px; }
.brand-logo { height: 88px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-family: "Oswald", sans-serif; font-weight: 500; font-size: 15px;
  letter-spacing: .8px; text-transform: uppercase; color: var(--steel);
  position: relative; transition: color .2s ease;
}
.nav a:not(.nav-phone):after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--accent); transition: width .2s ease;
}
.nav a:not(.nav-phone):hover { color: var(--accent); }
.nav a:not(.nav-phone):hover:after { width: 100%; }
.nav-phone {
  background: var(--accent); color: #fff !important; padding: 9px 18px; border-radius: 6px;
}
.nav-phone:hover { background: var(--accent-dark); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero {
  position: relative;
  /* výška tak, aby se pod hero vešel i panel s výhodami (hlavička ~108px + panel ~130px) */
  min-height: max(430px, calc(100vh - 240px));
  display: flex; align-items: center;
  background-image: url("assets/img/hero-main.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: var(--steel);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,24,29,.84) 0%, rgba(20,24,29,.55) 42%, rgba(20,24,29,.18) 100%);
}
.hero-content { position: relative; padding: 64px 24px; }
.hero-content .hero-kicker, .hero-content h1, .hero-content .hero-sub { max-width: 720px; }
.hero-kicker {
  font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 4px;
  font-size: clamp(16px, 1.6vw, 20px); color: var(--accent); font-weight: 600; margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: clamp(40px, 7vw, 78px); margin-bottom: 22px; }
.hero-sub { color: #d4dae1; font-size: clamp(17px, 2.4vw, 22px); margin-bottom: 38px; font-weight: 500; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== Trust strip ===== */
.trust { background: var(--steel); color: #fff; }
.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
}
.trust-item { padding: 34px 28px; border-right: 1px solid rgba(255,255,255,.08); }
/* krajní dlaždice zarovnat s kontejnerem (levý text na 0, pravý text na pravý okraj) */
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { padding-right: 0; border-right: 0; }
.trust-item h3 { font-size: 20px; color: #fff; margin-bottom: 6px; }
.trust-item h3:before { content: ""; display: inline-block; width: 26px; height: 3px; background: var(--accent); margin-right: 10px; vertical-align: middle; }
.trust-item p { color: var(--gray-light); font-size: 15px; }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow {
  font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 3px;
  font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 12px;
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(30px, 4.5vw, 44px); }
.section-lead { color: var(--gray); margin-top: 14px; }

/* O nás */
.about-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: clamp(30px, 4.5vw, 44px); margin-bottom: 22px; }
.about-text p { color: var(--gray); margin-bottom: 18px; font-size: 17px; }
.about-text strong { color: var(--ink); }
.about-text .btn { margin-top: 10px; }
.about-stats { display: grid; gap: 18px; }
.stat {
  background: var(--bg-alt); border-left: 4px solid var(--accent); border-radius: var(--radius);
  padding: 22px 26px; display: flex; align-items: center; gap: 20px;
}
.stat-num {
  font-family: "Oswald", sans-serif; font-size: 44px; font-weight: 700; color: var(--ink);
  line-height: 1; flex: 0 0 84px; text-align: center;
}
.stat-label { color: var(--gray); font-size: 14px; line-height: 1.45; }

/* Služby */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative; overflow: hidden;
}
.service-card:before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover:before { transform: scaleX(1); }
.service-card h3 { font-size: 20px; margin-bottom: 12px; }
.service-card p { color: var(--gray); font-size: 15px; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item {
  border: 0; padding: 0; cursor: pointer; background: var(--steel);
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .3s ease; }
.gallery-item:hover img { transform: scale(1.07); opacity: .9; }

/* Kontakt */
.section-dark { background: var(--steel); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; }
.contact-info h2 { font-size: clamp(28px, 4vw, 40px); color: #fff; margin-bottom: 16px; }
.contact-lead { color: var(--gray-light); margin-bottom: 32px; font-size: 17px; }
.contact-list { list-style: none; display: grid; gap: 20px; }
.contact-list li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: start; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-label { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; color: var(--accent); padding-top: 2px; }
.contact-value { color: #eef1f4; font-size: 17px; }
.contact-value a:hover { color: var(--accent); }

.contact-form { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
/* pole „Vaše zpráva" vyplní zbývající výšku, aby byl formulář stejně vysoký jako kontakty vlevo */
.contact-form .field:last-of-type { flex: 1 1 auto; display: flex; flex-direction: column; }
.contact-form .field:last-of-type textarea { flex: 1 1 auto; min-height: 120px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--steel); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 7px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fbfcfd; transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30,99,196,.15); background: #fff; }
.field textarea { resize: vertical; }
.form-note { font-size: 13px; color: var(--gray); margin-top: 12px; text-align: center; }

/* Footer */
.site-footer { background: var(--ink); color: #fff; padding: 44px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.footer-logo { height: 96px; width: auto; opacity: .95; }
.footer-meta { color: var(--gray-light); font-size: 15px; }
.footer-copy { color: var(--gray); font-size: 13px; }

/* Honeypot (skryté anti-spam pole) */
.hp-field { position: absolute; left: -9999px; }

/* Děkovací stránka */
.thanks { min-height: 70vh; display: flex; align-items: center; }
.thanks-inner { max-width: 720px; text-align: center; margin: 0 auto; }
.thanks-inner h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); margin-bottom: 20px; }
.thanks-lead { color: var(--gray-light); font-size: 18px; margin-bottom: 36px; }
.thanks-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.thanks-contact { color: var(--gray-light); font-size: 15px; }
.thanks-contact a { color: #fff; font-weight: 600; }
.thanks-contact a:hover { color: var(--accent); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 40px;
  background: rgba(10, 12, 15, .92); backdrop-filter: blur(4px);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 22px; right: 30px; background: none; border: 0;
  color: #fff; font-size: 46px; line-height: 1; cursor: pointer; opacity: .8; transition: opacity .2s;
}
.lightbox-close:hover { opacity: 1; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed; top: 108px; right: 0; width: 78%; max-width: 320px;
    height: calc(100vh - 108px); background: #fff; flex-direction: column;
    align-items: flex-start; gap: 4px; padding: 28px 30px; box-shadow: var(--shadow-lg);
    transform: translateX(110%); transition: transform .3s ease;
  }
  .nav.open { transform: translateX(0); }
  .nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.nav-phone):after { display: none; }
  .nav-phone { margin-top: 10px; text-align: center; }
  .nav-toggle { display: flex; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); padding-left: 0; padding-right: 0; }
  .section { padding: 64px 0; }
  .hero { min-height: 76vh; background-size: cover; background-position: center; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
