:root{
  --blue:#0B3D91;
  --orange:#FF8C00;
  --dark:#333;
  --bg:#f7f7f8;
  --container:1200px;
  --radius:8px;
  --max-width:1200px;
  font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

*{box-sizing:border-box}
body{margin:0;color:var(--dark);background:var(--bg);-webkit-font-smoothing:antialiased}
.container{max-width:var(--container);margin:0 auto;padding:0 16px}

/* Header */
.site-header{background:#fff;border-bottom:1px solid #e6e6e6;position:sticky;top:0;z-index:40}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:12px 0;gap:16px}
.logo-text{font-family:'Montserrat',sans-serif;font-weight:700;color:var(--blue);font-size:18px}

/* Top contact */
.top-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 0.95rem;
}
.top-contact .contact-label {
  color: var(--dark);
  font-weight: 500;
  margin-right: 6px;
}
.top-contact .phone-link {
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  padding: 6px 8px;
  border-radius: 6px;
}

/* Unified CTA: .cta-phone and .map-link */
.cta-phone,
.top-contact .map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(11,61,145,0.06);
  transition: transform .06s ease, box-shadow .12s ease, background .12s ease;
}

/* Map icon (SVG data URI) */
.top-contact .map-link::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFFFFF"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Hover / focus */
.cta-phone:hover,
.top-contact .map-link:hover,
.cta-phone:focus,
.top-contact .map-link:focus {
  background: color-mix(in srgb, var(--orange) 85%, black 15%);
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 10px 26px rgba(11,61,145,0.08);
}

/* Hero */
.hero{background:linear-gradient(90deg, rgba(11,61,145,0.95), rgba(11,61,145,0.85));color:#fff;padding:48px 0}
.hero-inner{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.hero h1{font-family:'Montserrat',sans-serif;font-size:28px;margin:0}
.lead{opacity:0.95;margin:0 0 12px}

/* Sections */
.section{padding:36px 0}
.section h2{font-family:'Montserrat',sans-serif;color:var(--blue);margin:0 0 14px;font-size:20px}

/* Services */
.services-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}
.services-list li{background:#fff;padding:12px;border-radius:6px;border:1px solid #eee}

/* Tech */
.tech-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.tech-item{background:#fff;padding:12px;border-radius:6px;border:1px solid #eee;display:flex;flex-direction:column}
.tech-item strong{color:var(--blue);margin-bottom:6px}
.tech-note{margin-top:12px;color:#555}

/* Pricing */
.pricing .price-box{background:#fff;padding:16px;border-radius:8px;border-left:6px solid var(--orange);max-width:480px}
.price-row{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px dashed #f0f0f0}
.price-row .label{color:#666}
.price-row .value{font-weight:700;color:var(--dark)}
.price-example{margin-top:8px;color:#666}

/* Gallery */
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.gallery-item{background:transparent}
.gallery-item img{
  width:100%;
  height:auto;
  max-height:420px;
  object-fit:cover;
  border-radius:6px;
  display:block;
}

/* Contact */
.contact-phone .phone-big{font-size:22px;font-weight:700;color:var(--blue);text-decoration:none}
.contact-address{color:#666}

/* Footer */
.site-footer{background:#fff;border-top:1px solid #e6e6e6;padding:12px 0}
.footer-inner{display:flex;justify-content:space-between;align-items:center}

/* Mobile CTA */
.mobile-cta{display:none;position:fixed;left:0;right:0;bottom:0;background:var(--orange);padding:10px 16px;z-index:60;text-align:center}
.mobile-cta a{color:#fff;font-weight:700;text-decoration:none}

/* Responsive */
@media (max-width:900px){
  .hero h1{font-size:22px}
  .gallery-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:480px){
  .container{padding:0 12px}
  .hero{padding:28px 0}
  .hero h1{font-size:18px}
  .mobile-cta{display:block}
  .gallery-grid{grid-template-columns:1fr}
  .services-list{grid-template-columns:1fr}
}

/* Gallery mobile tweaks */
@media (max-width: 900px) {
  .section.gallery .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    padding: 6px;
  }
  .section.gallery .gallery-item {
    aspect-ratio: 3 / 2;
  }
  .section.gallery .gallery-item img {
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
  }
}
@media (max-width: 480px) {
  .section.gallery .gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 6px;
  }
  .section.gallery .gallery-item {
    aspect-ratio: 16 / 9;
    border-radius: 6px;
  }
  .section.gallery .gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    max-height: 220px;
  }
}

/* Small adjustments to ensure header doesn't break layout */
.header-inner .brand { display:flex; align-items:center; gap:12px; }
.header-inner .top-contact { margin-left:auto; }

/* Utility */
a{cursor:pointer}
/* Sjednocení vzhledu CTA a map-link */
.cta-phone,
.top-contact .map-link,
.hero .map-link.hero-map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(11,61,145,0.06);
  transition: transform .06s ease, box-shadow .12s ease, background .12s ease;
}

/* Umístění map-link v hero pod CTA */
.hero .map-link.hero-map {
  margin-top: 10px;
  display: inline-flex;
}

/* Pokud chcete ikonu u map-link */
.top-contact .map-link::before,
.hero .map-link.hero-map::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFFFFF"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Hover/focus efekt */
.cta-phone:hover,
.top-contact .map-link:hover,
.hero .map-link.hero-map:hover {
  background: color-mix(in srgb, var(--orange) 85%, black 15%);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(11,61,145,0.08);
}

/* Responzivita: zmenšit padding na malých obrazovkách */
@media (max-width:520px){
  .cta-phone,
  .top-contact .map-link,
  .hero .map-link.hero-map {
    padding: 8px 10px;
    font-size: 0.92rem;
  }
  .hero .map-link.hero-map { margin-top:8px; }
}
