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

:root {
  --navy:   #0a1628;
  --blue:   #1055c6;
  --cyan:   #38b6ff;
  --orange: #f97316;
  --light:  #f0f4fb;
  --white:  #ffffff;
  --grey:   #6b7a99;
  --border: #dce6f5;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #1e2d45;
  background: var(--light);
}

/* ── LAYOUT ── */
.page-wrap { max-width: 1160px; margin: 0 auto; background: var(--white); box-shadow: 0 0 60px rgba(10,22,40,.12); }

/* ── HEADER ── */
header {
  background: var(--navy);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(56,182,255,.18) 0%, transparent 70%);
  pointer-events: none;
}

.header-logo-wrap {
  padding: 22px 0;
  flex-shrink: 0;
}

.header-logo {
  height: 80px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.header-tagline {
  flex: 1;
  text-align: right;
}

.header-tagline h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.15;
}

.header-tagline p {
  color: var(--cyan);
  font-size: .95rem;
  font-weight: 500;
  margin-top: 4px;
}

/* ── NAV ── */
nav {
  background: var(--blue);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav ul li a {
  display: block;
  color: var(--white);
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 16px 32px;
  transition: background .2s, color .2s;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 3px;
  background: var(--orange);
  transition: left .25s, right .25s;
}

nav ul li a:hover { background: rgba(255,255,255,.08); color: var(--cyan); }
nav ul li a:hover::after, nav ul li a.active::after { left: 0; right: 0; }
nav ul li a.active { color: var(--cyan); }

/* ── HERO (index only) ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2352 60%, #143068 100%);
  padding: 70px 40px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero-text h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero-text h2 span { color: var(--orange); }

.hero-text p {
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  margin-bottom: 30px;
  max-width: 420px;
}

.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 4px;
  transition: background .2s, transform .15s;
}

.btn-primary:hover { background: #ea6b0a; transform: translateY(-2px); }

.hero-img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}

.hero-img img {
  width: 100%; height: 260px;
  object-fit: cover;
  display: block;
  margin: 0;
}

/* ── USP STRIP ── */
.usp-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--blue);
}

.usp-item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.15);
}

.usp-item:last-child { border-right: none; }

.usp-icon { font-size: 2rem; margin-bottom: 8px; }

.usp-item h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--white);
  margin-bottom: 4px;
}

.usp-item p { color: rgba(255,255,255,.72); font-size: .88rem; }

/* ── MAIN CONTENT ── */
main { padding: 56px 40px; }

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--orange);
  margin-bottom: 8px;
}

h2.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  border-bottom: none;
  margin: 0 0 32px;
  line-height: 1.1;
}

h2.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--orange);
  margin-top: 10px;
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
  margin: 32px 0;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 26px 24px;
  border-top: 4px solid var(--blue);
  transition: box-shadow .2s, transform .2s, border-top-color .2s;
}

.service-card:hover {
  box-shadow: 0 12px 32px rgba(16,85,198,.12);
  transform: translateY(-4px);
  border-top-color: var(--orange);
}

.service-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-card p { color: var(--grey); font-size: .93rem; }

/* ── ILLUSTRATION IMAGE ── */
.illustration-image {
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
  margin: 0 0 40px;
  box-shadow: 0 8px 30px rgba(0,0,0,.1);
  height: 280px;
  object-fit: cover;
}

/* ── CTA BOX ── */
.cta-box {
  background: linear-gradient(135deg, var(--navy), #0d2352);
  color: var(--white);
  padding: 44px 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 48px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  right: -40px; bottom: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(56,182,255,.14) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}

.cta-box p { color: rgba(255,255,255,.72); margin-bottom: 4px; }

.phone {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: .04em;
  margin: 12px 0;
}

.phone a { color: inherit; text-decoration: none; }

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow .2s, border-color .2s;
}

.contact-card:hover { box-shadow: 0 10px 28px rgba(16,85,198,.1); border-color: var(--blue); }

.contact-icon { font-size: 2.2rem; display: block; margin-bottom: 12px; }

.contact-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--grey);
  margin-bottom: 8px;
}

.contact-card p, .contact-card a {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.contact-card a:hover { color: var(--blue); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy), #0d2352);
  padding: 48px 40px;
}

.page-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
}

.page-hero p { color: var(--cyan); margin-top: 8px; font-size: 1rem; }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.55);
  text-align: center;
  padding: 24px 40px;
  font-size: .88rem;
  letter-spacing: .03em;
}

/* ── RESPONSIVE ── */
@media (max-width: 760px) {
  header { flex-direction: column; text-align: center; padding: 24px 20px; }
  .header-tagline { text-align: center; }
  .hero { grid-template-columns: 1fr; padding: 48px 20px; }
  .hero-text h2 { font-size: 2.2rem; }
  .usp-strip { grid-template-columns: 1fr; }
  .usp-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  main { padding: 40px 20px; }
  .phone { font-size: 2.2rem; }
  nav ul li a { padding: 14px 20px; font-size: 1rem; }
  .page-hero { padding: 36px 20px; }
}

/* header-name (nahrazuje h1 v hlavičce – h1 je nyní v obsahu) */
.header-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.15;
}

/* USP strip – h2 bez výrazného stylu section-title */
.usp-strip h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--white);
  margin-bottom: 4px;
  border-bottom: none;
}
.usp-strip h2::after { display: none; }
