/* Mobil Servis | Praha 22 — design tokens dle handoff (hifi, pixel-perfect) */

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #0b0d11;
  color: #e8ebf0;
  font-family: 'Manrope', sans-serif;
}
* { box-sizing: border-box; }
a { color: #4da3ff; text-decoration: none; }
a:hover { color: #7dbcff; }
::selection { background: #2f7fd6; color: #fff; }
img { max-width: 100%; }

@keyframes wrenchL { from { opacity: 0; transform: translate(-140px, -60px) rotate(-50deg); } to { opacity: 1; transform: translate(0, 0) rotate(0); } }
@keyframes wrenchR { from { opacity: 0; transform: translate(140px, 80px) rotate(45deg); } to { opacity: 1; transform: translate(0, 0) rotate(0); } }
@keyframes logoRise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes glowPulse {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(33, 150, 243, 0.3)); }
  50% { filter: drop-shadow(0 0 26px rgba(33, 150, 243, 0.7)); }
}

/* ---------- Navigace ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: #000;
  border-bottom: 1px solid #1c2230;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 10px 40px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 88px; display: block; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.nav-links a { color: #c7cdd8; }
.nav-links a:hover { color: #7dbcff; }
.nav-cta {
  display: flex; align-items: center; gap: 8px;
  background: #2f7fd6; color: #fff;
  padding: 10px 18px; border-radius: 8px;
  font-size: 15px; font-weight: 700; white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: #3d8fe6; color: #fff; }
.nav-burger {
  display: none;
  background: none; border: none; color: #c7cdd8; cursor: pointer; padding: 6px;
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #0b0d11; }
.hero-band {
  position: relative; min-height: 560px;
  display: flex; align-items: center; justify-content: center;
  padding: 90px 40px;
}
.hero-bg {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.hero-overlay {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(5,7,11,0.92) 0%, rgba(5,7,11,0.78) 45%, rgba(5,7,11,0.92) 100%);
}
.hero-content {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  gap: 26px; text-align: center; max-width: 820px;
}
.hero-wrench {
  position: relative; width: 96px; height: 128px;
  animation: glowPulse 4s ease-in-out 2.4s infinite;
}
.hero-wrench img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.wrench-l { animation: wrenchL 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both; }
.wrench-r { animation: wrenchR 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both; }
.hero-logotext {
  display: flex; align-items: center; gap: 16px;
  animation: logoRise 0.9s ease-out 1.3s both;
}
.logo-main { font-family: 'Comfortaa', sans-serif; font-size: 44px; color: #fff; }
.logo-divider { width: 4px; height: 48px; background: #9aa3ad; border-radius: 2px; }
.logo-sub { font-family: 'Comfortaa', sans-serif; font-size: 32px; color: #e7e9ec; }
.hero-copy {
  display: flex; flex-direction: column; gap: 16px; align-items: center;
  animation: logoRise 0.9s ease-out 1.7s both;
}
.hero-copy h1 {
  font-family: 'Comfortaa', sans-serif;
  font-size: 26px; line-height: 1.4; margin: 0;
  color: #c7cdd8; font-weight: 500; text-wrap: pretty;
}
.hero-copy p {
  font-size: 17px; line-height: 1.7; color: #aeb6c4;
  margin: 0; max-width: 620px; text-wrap: pretty;
}
.hero-buttons { display: flex; gap: 16px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }
.btn-primary {
  background: #2f7fd6; color: #fff;
  padding: 15px 32px; border-radius: 10px;
  font-weight: 800; font-size: 16px;
}
.btn-primary:hover { background: #3d8fe6; color: #fff; }
.btn-outline {
  border: 1px solid #3a4763; color: #e8ebf0;
  padding: 15px 32px; border-radius: 10px;
  font-weight: 700; font-size: 16px;
}
.btn-outline:hover { border-color: #4da3ff; color: #fff; }
.hero-stats-wrap { max-width: 1160px; margin: 0 auto; padding: 0 40px 60px; }
.hero-stats {
  display: flex; gap: 36px; margin-top: 56px;
  flex-wrap: wrap; justify-content: center;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: 'Comfortaa', sans-serif; font-size: 26px; font-weight: 700; color: #fff; }
.stat-label { font-size: 13px; color: #8a93a3; }
.stat-sep { width: 1px; background: #1c2230; }

/* ---------- Sekce ---------- */
.section { padding: 90px 40px; background: #0b0d11; }
.section-alt { background: #0e1117; border-top: 1px solid #161b26; }
.container { max-width: 1100px; margin: 0 auto; }
.section h2 {
  font-family: 'Comfortaa', sans-serif;
  font-size: 34px; color: #fff;
  margin: 0 0 10px; text-align: center;
}
.section-sub { text-align: center; color: #8a93a3; margin: 0 0 48px; font-size: 16px; }
.grid { display: grid; gap: 24px; }
.grid-services { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-gallery, .grid-reviews { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-contact { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); margin-bottom: 56px; }
.card { background: #12161f; border: 1px solid #1c2230; border-radius: 14px; }

/* Služby */
.card-service {
  padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.2s;
}
.card-service:hover { border-color: #2f7fd6; }
.icon-box {
  width: 48px; height: 48px; border-radius: 10px; background: #14335a;
  display: flex; align-items: center; justify-content: center; color: #4da3ff;
}
.card-service h3 { font-family: 'Comfortaa', sans-serif; font-size: 21px; color: #fff; margin: 0; }
.card-service p { color: #aeb6c4; line-height: 1.7; margin: 0; font-size: 15px; }

/* Galerie oprav */
.gallery-card { margin: 0; overflow: hidden; display: flex; flex-direction: column; }
.gallery-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover; display: block;
  filter: brightness(0.65) saturate(0.75);
  transition: filter 0.35s;
}
.gallery-card:hover img { filter: brightness(1) saturate(1); }
.gallery-card figcaption { padding: 18px 20px; font-size: 14px; line-height: 1.6; color: #c7cdd8; }

/* Recenze */
.card-review { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.stars { color: #f5b942; letter-spacing: 2px; }
.card-review p { color: #c7cdd8; line-height: 1.7; margin: 0; font-size: 15px; }
.review-name { font-weight: 700; color: #fff; font-size: 14px; }

/* Kontakt */
.contact-card { overflow: hidden; display: flex; flex-direction: column; }
.contact-body { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.contact-body h3 { font-family: 'Comfortaa', sans-serif; font-size: 20px; color: #fff; margin: 0; }
.contact-rows { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: #c7cdd8; line-height: 1.6; }
.contact-row { display: flex; align-items: center; gap: 10px; }
.contact-row svg { flex-shrink: 0; }
.contact-note { color: #8a93a3; font-size: 14px; }
.opening { border-top: 1px solid #1c2230; padding-top: 16px; }
.opening-title { font-weight: 700; color: #fff; font-size: 14px; margin-bottom: 10px; }
.opening-grid {
  display: grid; grid-template-columns: auto 1fr;
  gap: 4px 24px; font-size: 14px; color: #aeb6c4;
}
.closed { color: #6b7381; }
.contact-legal { color: #6b7381; font-size: 13px; }
.contact-card iframe {
  width: 100%; height: 260px; border: 0;
  border-top: 1px solid #1c2230;
  filter: grayscale(0.3) contrast(0.95);
  margin-top: auto;
}

/* Poptávkový formulář */
.form-card { max-width: 680px; margin: 0 auto; padding: 40px; }
.form-card h3 {
  font-family: 'Comfortaa', sans-serif;
  font-size: 24px; color: #fff;
  margin: 0 0 6px; text-align: center;
}
.form-sub { color: #8a93a3; font-size: 15px; text-align: center; margin: 0 0 28px; }
.form-success {
  background: #0f2818; border: 1px solid #1f5c36; border-radius: 10px;
  padding: 24px; text-align: center;
  color: #7fd6a0; font-weight: 600; font-size: 16px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.form-success[hidden] { display: none; }
.form-success svg { flex-shrink: 0; }
#inquiry-form { display: flex; flex-direction: column; gap: 16px; }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#inquiry-form input, #inquiry-form textarea {
  background: #0b0d11;
  border: 1px solid #2a3448;
  border-radius: 8px;
  padding: 13px 16px;
  color: #e8ebf0; font-size: 15px;
  font-family: 'Manrope', sans-serif;
  outline: none;
  width: 100%;
}
#inquiry-form textarea { resize: vertical; }
#inquiry-form input:focus, #inquiry-form textarea:focus { border-color: #2f7fd6; }
#inquiry-form input::placeholder, #inquiry-form textarea::placeholder { color: #6a7486; }
.btn-submit {
  background: #2f7fd6; color: #fff;
  border: none; border-radius: 10px;
  padding: 15px; font-size: 16px; font-weight: 800;
  font-family: 'Manrope', sans-serif;
  cursor: pointer;
}
.btn-submit:hover { background: #3d8fe6; }
.form-gdpr { color: #6b7381; font-size: 13px; text-align: center; }

/* ---------- Patička ---------- */
.footer {
  background: #000; border-top: 1px solid #161b26;
  padding: 32px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer img { height: 60px; display: block; }
.footer-copy { color: #6b7381; font-size: 13px; }
.footer-links { display: flex; gap: 20px; font-size: 14px; }

/* ---------- Responsivita ---------- */
@media (max-width: 900px) {
  .nav { padding: 10px 20px; }
  .nav-right { gap: 14px; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #000; border-bottom: 1px solid #1c2230;
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; }
  .nav-burger { display: flex; align-items: center; }
  .nav-logo img { height: 60px; }
  .section, .hero-band { padding-left: 20px; padding-right: 20px; }
  .hero-stats-wrap { padding-left: 20px; padding-right: 20px; }
  .footer { padding: 32px 20px; }
}
@media (max-width: 560px) {
  .logo-main { font-size: 32px; }
  .logo-sub { font-size: 24px; }
  .logo-divider { height: 36px; }
  .hero-copy h1 { font-size: 22px; }
  .section h2 { font-size: 28px; }
  .form-row2 { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
}
