/*
Theme Name:        Autoservis Navrátil
Theme URI:         https://www.autoservis-navrati.cz
Author:            HORSKÝ & Autoservis Navrátil
Author URI:        https://michalhorsky.cz
Description:       Profesionální WordPress šablona pro Autoservis & Pneuservis Navrátil. Čistý moderní design — bílá a modrá. Responzivní, SEO optimalizovaná, Contact Form 7 kompatibilní.
Version:           3.0
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      8.0
License:           GNU General Public License v2 or later
License URI:       http://www.gnu.org/licenses/gpl-2.0.html
Tags:              automotive, autoservis, responsive, blue, professional, contact-form-7
Text Domain:       autoservis-navrati
*/

/* ================================================================
   ╔══════════════════════════════════════════════════════════════╗
   ║   CSS CUSTOM PROPERTIES  —  Editujte zde pro celý web       ║
   ╚══════════════════════════════════════════════════════════════╝
   ================================================================ */

:root {
  /* === BARVY ================================================= */
  --blue:           #2BBFEA;      /* Primární modrá (z loga) */
  --blue-dark:      #1A9EC8;      /* Tmavší modrá */
  --blue-deep:      #0F6F9A;      /* Nejhlubší modrá */
  --blue-pale:      #E8F8FD;      /* Velmi světlá modrá */
  --blue-light:     #D0F0FB;      /* Světlá modrá */
  --white:          #FFFFFF;
  --off-white:      #F7FBFD;
  --gray-light:     #EEF4F7;
  --gray:           #8A9BB0;
  --gray-mid:       #6B7A92;
  --gray-dark:      #4A5568;
  --dark:           #1A2332;
  --text:           #2D3748;
  --text-light:     #718096;

  /* === STÍNY ================================================= */
  --shadow-xs:   0 1px 4px rgba(43,191,234,0.08);
  --shadow-sm:   0 2px 12px rgba(43,191,234,0.12);
  --shadow-md:   0 8px 32px rgba(43,191,234,0.16);
  --shadow-lg:   0 20px 60px rgba(43,191,234,0.2);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-nav:  0 2px 24px rgba(0,0,0,0.08);

  /* === ZAOBLENÍ =============================================== */
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-2xl: 40px;
  --r-full: 9999px;

  /* === PŘECHODY =============================================== */
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:    0.18s var(--ease);
  --t-base:    0.30s var(--ease);
  --t-slow:    0.55s var(--ease-out);

  /* === LAYOUT ================================================= */
  --nav-h:        76px;
  --container:    1240px;
  --container-lg: 1440px;

  /* === TYPOGRAFIE ============================================= */
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* === ROZESTUPY ============================================== */
  --sp-xs:  8px;
  --sp-sm:  16px;
  --sp-md:  24px;
  --sp-lg:  40px;
  --sp-xl:  64px;
  --sp-2xl: 96px;
}

/* ================================================================
   RESET & BASE
   ================================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-dark);
  text-decoration: none;
  transition: color var(--t-fast);
}

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

ul, ol { list-style: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--gray-light); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: var(--r-full); }

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ================================================================
   TYPOGRAFIE
   ================================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: var(--sp-sm);
}
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.1rem;
  color: var(--gray-dark);
  line-height: 1.8;
}

.text-blue    { color: var(--blue) !important; }
.text-dark    { color: var(--dark) !important; }
.text-center  { text-align: center; }
.text-upper   { text-transform: uppercase; letter-spacing: 0.08em; }
.font-head    { font-family: var(--font-head); }

/* ================================================================
   LAYOUT — KONTEJNERY
   ================================================================ */

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.container-lg {
  max-width: var(--container-lg);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.section {
  padding-block: var(--sp-2xl);
}

.section-sm {
  padding-block: var(--sp-xl);
}

/* ================================================================
   SECTION HEADER — Sekce nadpis
   ================================================================ */

.section-hd {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 12px;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--blue);
  border-radius: var(--r-full);
}

.s-title {
  margin-bottom: 12px;
}

.s-title .accent { color: var(--blue); }

.s-line {
  width: 48px;
  height: 3px;
  background: var(--blue);
  border-radius: var(--r-full);
  margin-inline: auto;
}

/* ================================================================
   TLAČÍTKA
   ================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: var(--r-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
  text-decoration: none;
}

.btn svg { flex-shrink: 0; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 6px 20px rgba(43,191,234,0.38);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(43,191,234,0.48);
}

.btn-outline {
  background: transparent;
  color: var(--blue-dark);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-white {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--off-white);
  color: var(--blue-deep);
  transform: translateY(-2px);
}

.btn-outline-w {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-w:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg  { padding: 15px 32px; font-size: 0.94rem; }
.btn-sm  { padding: 9px  18px; font-size: 0.8rem;  }

/* ================================================================
   HEADER & NAVIGACE
   ================================================================ */

#site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(43,191,234,0.14);
  transition: box-shadow var(--t-base), height var(--t-base);
}

#site-header.scrolled {
  box-shadow: var(--shadow-nav);
  height: 66px;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-lg);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 40px);
  gap: var(--sp-sm);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  height: 50px;
  width: auto;
  transition: height var(--t-base);
}

#site-header.scrolled .site-logo img {
  height: 42px;
}

/* Hlavní navigace */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-dark);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--blue);
  border-radius: var(--r-full);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-base);
}

.main-nav a:hover,
.main-nav a.current-menu-item {
  color: var(--dark);
}

.main-nav a:hover::after,
.main-nav a.current-menu-item::after {
  transform: scaleX(1);
}

/* Nav right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue-dark);
  padding: 8px 14px;
  border-radius: var(--r-md);
  border: 2px solid var(--blue);
  transition: all var(--t-fast);
  white-space: nowrap;
}

.nav-phone svg { flex-shrink: 0; }

.nav-phone:hover {
  background: var(--blue);
  color: var(--white);
}

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--r-sm);
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: var(--r-full);
  transition: all 0.28s var(--ease);
}

.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 7px); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -7px); }

/* Mobilní menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  inset-inline: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  padding: var(--sp-md);
  flex-direction: column;
  gap: 6px;
  z-index: 999;
  border-bottom: 1px solid rgba(43,191,234,0.12);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  padding: 12px 16px;
  border-radius: var(--r-md);
  transition: background var(--t-fast);
}

.mobile-menu a:hover {
  background: var(--blue-pale);
  color: var(--blue-dark);
}

/* ================================================================
   HERO SEKCE
   ================================================================ */

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: linear-gradient(
    135deg,
    var(--white)    0%,
    var(--blue-pale) 45%,
    var(--blue-light) 100%
  );
}

/* Mřížka na pozadí */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(43,191,234,0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,191,234,0.065) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

/* Zásvitné kruhy */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-glow-1 {
  top: -180px; right: -180px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(43,191,234,0.1) 0%, transparent 65%);
}
.hero-glow-2 {
  bottom: -220px; left: -120px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(43,191,234,0.07) 0%, transparent 65%);
}

/* Hero obsah */
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: center;
  padding-block: 80px;
}

/* Levá strana */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(43,191,234,0.1);
  border: 1.5px solid rgba(43,191,234,0.28);
  color: var(--blue-dark);
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--r-full);
  margin-bottom: 18px;
  animation: fadeDown 0.7s ease both;
}

.hero-pulse {
  width: 7px; height: 7px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.04;
  color: var(--dark);
  margin-bottom: 18px;
  animation: fadeUp 0.8s 0.15s ease both;
}

.hero-title .t-blue  { color: var(--blue); }
.hero-title .t-stroke {
  -webkit-text-stroke: 2.5px var(--blue);
  color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--gray-dark);
  line-height: 1.78;
  max-width: 460px;
  margin-bottom: 30px;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeUp 0.8s 0.45s ease both;
}

/* Trust badges */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeUp 0.8s 0.6s ease both;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-dark);
}

.trust-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

/* Pravá strana — auto */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: fadeIn 1s 0.3s ease both;
}

.hero-car-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
}

/* Rotující diagnostické kroužky */
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(43,191,234,0.18);
  top: 50%; left: 50%;
}

.hero-ring-1 {
  width: 430px; height: 430px;
  transform: translate(-50%, -50%);
  animation: spin 16s linear infinite;
}

.hero-ring-2 {
  width: 320px; height: 320px;
  transform: translate(-50%, -50%);
  border-color: rgba(43,191,234,0.12);
  animation: spin 11s linear infinite reverse;
}

/* Zásvit pod autem */
.hero-car-glow {
  position: absolute;
  bottom: -35px; left: 50%;
  transform: translateX(-50%);
  width: 75%; height: 100px;
  background: radial-gradient(ellipse, rgba(43,191,234,0.22) 0%, transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}

.hero-car-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 490px;
  margin-inline: auto;
  filter:
    drop-shadow(0 28px 55px rgba(43,191,234,0.22))
    drop-shadow(0 8px 18px rgba(0,0,0,0.12));
  animation: carFloat 4.5s ease-in-out infinite;
}

/* Štítky na autě */
.hero-label {
  position: absolute;
  z-index: 3;
  background: rgba(255,255,255,0.95);
  border: 1.5px solid rgba(43,191,234,0.28);
  border-radius: var(--r-md);
  padding: 7px 14px;
  box-shadow: 0 4px 20px rgba(43,191,234,0.15);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.hero-label .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

.hl-1 { top: 5%;   right: -2%; animation: fadeIn 0.8s 0.9s ease both; }
.hl-2 { bottom: 22%; right: -5%; animation: fadeIn 0.8s 1.1s ease both; }
.hl-3 { bottom: 5%; left: 2%;  animation: fadeIn 0.8s 1.3s ease both; }

/* Scroll indikátor */
.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  animation: fadeIn 1.5s 1.5s ease both;
}

.hero-scroll span {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
}

.scroll-mouse {
  width: 20px; height: 32px;
  border: 2px solid rgba(43,191,234,0.38);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-mouse::before {
  content: '';
  width: 3px; height: 8px;
  background: var(--blue);
  border-radius: var(--r-full);
  animation: scrollBounce 2.2s infinite;
}

/* ================================================================
   O NÁS
   ================================================================ */

#o-nas { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

/* Obrázek (zástupné místo — nahradit vlastní fotografií) */
.about-img-block {
  position: relative;
}

.about-img-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--blue-pale), var(--blue-light));
  box-shadow: var(--shadow-card);
  position: relative;
}

/*
   VLASTNÍ FOTOGRAFIE DÍLNY:
   V sekci "O nás" nahraďte obrázek v WordPress:
   Přejděte na Vzhled → Přizpůsobit → O nás → Fotografie dílny
   nebo vložte ID media přílohy do šablony.
*/
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--t-slow);
}

.about-img-wrap:hover img {
  transform: scale(1.04);
}

/* Placeholder bez obrázku */
.about-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: var(--sp-sm);
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  text-align: center;
  padding: var(--sp-md);
}

.about-img-placeholder svg {
  width: 56px; height: 56px;
  opacity: 0.5;
}

/* Odznak let zkušeností */
.about-badge {
  position: absolute;
  bottom: -16px; right: -16px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.badge-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
  display: block;
}

.badge-lbl {
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Funkce */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: var(--sp-md);
}

.about-feat {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--off-white);
  padding: 14px;
  border-radius: var(--r-md);
  border: 1px solid rgba(43,191,234,0.1);
  transition: all var(--t-base);
}

.about-feat:hover {
  border-color: rgba(43,191,234,0.32);
  box-shadow: var(--shadow-xs);
  transform: translateY(-2px);
}

.feat-ico {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  background: rgba(43,191,234,0.1);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feat-ico svg { width: 18px; height: 18px; }

.feat-txt h4 {
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
}

.feat-txt p {
  font-size: 0.79rem;
  margin: 0;
}

/* ================================================================
   SLUŽBY
   ================================================================ */

#sluzby { background: var(--off-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Karta služby */
.svc-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(43,191,234,0.1);
  box-shadow: var(--shadow-xs);
  transition: all var(--t-base);
  position: relative;
}

.svc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(43,191,234,0.35);
  box-shadow: var(--shadow-md);
}

/*
   FOTOGRAFIE SLUŽEB:
   Každá karta má sekci .svc-img pro vložení obrázku.
   V WordPress vložte obrázek přes editor nebo ACF pole.
   Výchozí je barevný placeholder.
   Doporučená velikost: 600 × 338 px (16:9)
*/
.svc-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-pale), var(--blue-light));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--t-slow);
}

.svc-card:hover .svc-img img {
  transform: scale(1.06);
}

.svc-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,35,50,0.45) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--t-base);
}

.svc-card:hover .svc-img-overlay { opacity: 1; }

/* Placeholder — ikona místo fotografie */
.svc-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  color: var(--blue-dark);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  padding: var(--sp-md);
  position: absolute;
  inset: 0;
}

.svc-placeholder svg {
  width: 44px; height: 44px;
  opacity: 0.55;
}

/* Tělo karty */
.svc-body {
  padding: 20px;
  position: relative;
}

.svc-ico {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: rgba(43,191,234,0.1);
  border: 1.5px solid rgba(43,191,234,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dark);
  margin-bottom: 12px;
  transition: all var(--t-base);
}

.svc-ico svg { width: 20px; height: 20px; }

.svc-card:hover .svc-ico {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.svc-body h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.svc-body p {
  font-size: 0.85rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

/* Štítky */
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.svc-tag {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(43,191,234,0.08);
  color: var(--blue-deep);
  border: 1px solid rgba(43,191,234,0.2);
  padding: 3px 9px;
  border-radius: var(--r-full);
}

/* Šipka */
.svc-arrow {
  position: absolute;
  top: 18px; right: 18px;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(43,191,234,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 13px;
  transition: all var(--t-base);
}

.svc-card:hover .svc-arrow {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: rotate(45deg);
}

/* ================================================================
   RECENZE
   ================================================================ */

#recenze { background: var(--white); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  background: var(--off-white);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid rgba(43,191,234,0.1);
  transition: all var(--t-base);
}

.review-card:hover {
  border-color: rgba(43,191,234,0.3);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.rv-stars {
  color: var(--blue);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.rv-quote {
  font-family: Georgia, serif;
  font-size: 2.4rem;
  color: var(--blue);
  line-height: 0.7;
  margin-bottom: 10px;
  opacity: 0.4;
}

.rv-text {
  font-size: 0.9rem;
  color: var(--gray-dark);
  line-height: 1.72;
  margin-bottom: 18px;
}

.rv-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rv-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rv-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
  display: block;
}

.rv-source {
  font-size: 0.75rem;
  color: var(--gray);
}

/* ================================================================
   KONTAKT  — Contact Form 7
   ================================================================ */

#kontakt { background: var(--off-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

/* Kontaktní box */
.ci-box {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(43,191,234,0.15);
  box-shadow: var(--shadow-card);
}

.ci-box h3 {
  font-size: 1.3rem;
  margin-bottom: 26px;
}

.ci-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid var(--gray-light);
}

.ci-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ci-ico {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: rgba(43,191,234,0.1);
  border: 1.5px solid rgba(43,191,234,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dark);
  flex-shrink: 0;
}

.ci-ico svg { width: 20px; height: 20px; }

.ci-body { flex: 1; }

.ci-label {
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  display: block;
  margin-bottom: 4px;
}

.ci-value {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
}

.ci-value:hover { color: var(--blue-dark); }

/* Otevírací hodiny */
.hours-table {
  margin-top: 6px;
  width: 100%;
}

.h-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.86rem;
}

.h-row:last-child { border-bottom: none; }

.h-day  { color: var(--gray-dark); font-weight: 500; }
.h-time { color: var(--dark); font-weight: 700; font-family: var(--font-head); }

.h-row.today .h-day,
.h-row.today .h-time { color: var(--blue-dark); }

/* Contact Form 7 — Stylování */
.cf7-wrap { 
  background: var(--white);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(43,191,234,0.15);
  box-shadow: var(--shadow-card);
}

.cf7-wrap h3 {
  font-size: 1.3rem;
  margin-bottom: 26px;
}

/* CF7 pole */
.wpcf7-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.wpcf7-form .form-group {
  margin-bottom: 16px;
}

.wpcf7-form label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 6px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  background: var(--off-white);
  border: 1.5px solid rgba(43,191,234,0.16);
  border-radius: var(--r-md);
  color: var(--dark);
  font-size: 0.95rem;
  padding: 12px 16px;
  outline: none;
  transition: all var(--t-fast);
  appearance: none;
  line-height: 1.5;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43,191,234,0.12);
  background: var(--white);
}

.wpcf7-form textarea {
  resize: vertical;
  min-height: 120px;
}

.wpcf7-form input[type="submit"] {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--blue);
  color: var(--white);
  padding: 15px 28px;
  border-radius: var(--r-md);
  border: 2px solid var(--blue);
  cursor: pointer;
  transition: all var(--t-base);
  box-shadow: 0 6px 20px rgba(43,191,234,0.35);
  margin-top: 4px;
}

.wpcf7-form input[type="submit"]:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(43,191,234,0.45);
}

/* CF7 validační zprávy */
.wpcf7-not-valid-tip {
  font-size: 0.78rem;
  color: #dc2626;
  margin-top: 4px;
  display: block;
}

.wpcf7-response-output {
  margin-top: 16px !important;
  padding: 12px 16px !important;
  border-radius: var(--r-md) !important;
  font-family: var(--font-head) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  border: 1px solid !important;
}

.wpcf7-mail-sent-ok {
  background: rgba(43,191,234,0.1) !important;
  border-color: rgba(43,191,234,0.3) !important;
  color: var(--blue-dark) !important;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
  background: rgba(220,38,38,0.08) !important;
  border-color: rgba(220,38,38,0.3) !important;
  color: #dc2626 !important;
}

.wpcf7-acceptance .wpcf7-list-item {
  margin: 0 !important;
}

/* ================================================================
   CTA BANNER
   ================================================================ */

.cta-banner {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-deep));
  padding: clamp(48px, 6vw, 72px) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 30px 30px;
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
  flex-wrap: wrap;
}

.cta-text h2 { color: var(--white); margin-bottom: 8px; }
.cta-text p  { color: rgba(255,255,255,0.75); margin: 0; font-size: 1.05rem; }

.cta-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ================================================================
   MAPA
   ================================================================ */

.map-section {
  position: relative;
}

.map-wrap {
  height: clamp(300px, 40vw, 440px);
  overflow: hidden;
  position: relative;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: saturate(0.6) brightness(1.05);
  display: block;
}

.map-card {
  position: absolute;
  top: 24px; left: 24px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-radius: var(--r-lg);
  padding: 22px;
  max-width: 280px;
  border: 1px solid rgba(43,191,234,0.2);
  box-shadow: var(--shadow-card);
}

.map-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.map-card p {
  font-size: 0.86rem;
  margin-bottom: 14px;
}

/* ================================================================
   FOOTER
   ================================================================ */

#site-footer { background: var(--dark); color: var(--white); }

.footer-main {
  padding: clamp(48px, 6vw, 80px) 0 clamp(32px, 5vw, 64px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(24px, 4vw, 56px);
}

/* Levý sloupec */
.footer-brand {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: var(--sp-sm);
  line-height: 1.2;
}

.footer-brand-sub {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-top: 2px;
}

.footer-desc {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.78;
  margin: var(--sp-sm) 0;
  max-width: 270px;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-soc {
  width: 38px; height: 38px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--t-fast);
}

.footer-soc svg { width: 16px; height: 16px; }

.footer-soc:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* Sloupce */
.footer-col h5 {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(43,191,234,0.2);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--t-fast);
}

.footer-links a::before {
  content: '›';
  color: var(--blue);
  font-size: 1rem;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

/* Kontaktní řádky v footeru */
.fc-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.fc-ico {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  background: rgba(43,191,234,0.12);
  border: 1px solid rgba(43,191,234,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.fc-ico svg { width: 14px; height: 14px; }

.fc-txt {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
}

.fc-txt strong {
  display: block;
  color: rgba(255,255,255,0.82);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
}

.fc-txt a {
  color: rgba(255,255,255,0.5);
  transition: color var(--t-fast);
}

.fc-txt a:hover { color: var(--white); }

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 0;
}

.footer-btm-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.38);
}

.footer-copy .brand-name { color: var(--blue); }
.footer-copy .credit     { color: #e53e3e; font-weight: 700; }
.footer-copy .credit:hover { color: #fc8181; }

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.38);
  transition: color var(--t-fast);
}

.footer-legal a:hover { color: var(--white); }

/* ================================================================
   ZPĚT NAHORU
   ================================================================ */

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  background: var(--blue);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(43,191,234,0.42);
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--t-base);
  z-index: 500;
  text-decoration: none;
}

.back-to-top svg { width: 18px; height: 18px; }

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(43,191,234,0.5);
}

/* ================================================================
   ANIMACE
   ================================================================ */

@keyframes fadeUp   { from { opacity:0; transform:translateY(24px) } to { opacity:1; transform:none } }
@keyframes fadeDown { from { opacity:0; transform:translateY(-16px)} to { opacity:1; transform:none } }
@keyframes fadeIn   { from { opacity:0 }                              to { opacity:1 }                }
@keyframes fadeLeft { from { opacity:0; transform:translateX(-28px)} to { opacity:1; transform:none } }
@keyframes fadeRight{ from { opacity:0; transform:translateX(28px) } to { opacity:1; transform:none } }
@keyframes scaleIn  { from { opacity:0; transform:scale(0.93) }      to { opacity:1; transform:none } }

@keyframes pulse {
  0%, 100% { transform: scale(1);   opacity: 1;   }
  50%       { transform: scale(1.5); opacity: 0.5; }
}

@keyframes spin {
  from { transform: translate(-50%,-50%) rotate(0deg);   }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

@keyframes carFloat {
  0%, 100% { transform: translateY(0);   }
  50%      { transform: translateY(-12px); }
}

@keyframes scrollBounce {
  0%   { transform: translateY(0);  opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* Scroll reveal třídy */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.rl  { transform: translateX(-32px); }
.reveal.rr  { transform: translateX(32px);  }
.reveal.rs  { transform: scale(0.93);       }
.reveal.vis { opacity: 1; transform: none;  }

/* Stagger — postupné zobrazení dětí */
.stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

.stagger.vis > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.vis > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.vis > *:nth-child(3) { transition-delay: 0.19s; }
.stagger.vis > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.vis > *:nth-child(5) { transition-delay: 0.33s; }
.stagger.vis > *:nth-child(6) { transition-delay: 0.40s; }

.stagger.vis > * { opacity: 1; transform: none; }

/* ================================================================
   RESPONZIVITA — Desktop 2K / Wide (≥ 1600px)
   ================================================================ */

@media (min-width: 1600px) {
  :root {
    --container: 1360px;
  }

  body { font-size: 17px; }

  .hero-inner   { padding-block: 100px; gap: 60px; }
  .hero-car-img { max-width: 560px; }
  .services-grid{ gap: 28px; }
  .footer-grid  { gap: 64px; }
}

/* ================================================================
   RESPONZIVITA — Tablet (≤ 1024px)
   ================================================================ */

@media (max-width: 1024px) {
  :root { --nav-h: 72px; }

  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid     { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid   { grid-template-columns: 1fr; }
  .hero-inner     { grid-template-columns: 1fr; }
  .hero-right     { display: none; }
  .hero-inner     { padding-block: 60px; }
  .hero-title     { font-size: clamp(2rem, 6vw, 3.2rem); }
  .about-badge    { bottom: -12px; right: -8px; }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-btns { justify-content: center; }
}

/* ================================================================
   RESPONZIVITA — Velký mobil (≤ 768px)
   ================================================================ */

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  /* Navigace */
  .main-nav, .nav-phone { display: none; }
  .nav-burger { display: flex; }

  /* Layout */
  .about-features { grid-template-columns: 1fr; }
  .services-grid  { grid-template-columns: 1fr; }
  .reviews-grid   { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; }

  /* Sekce */
  .section    { padding-block: 64px; }
  .section-sm { padding-block: 40px; }

  /* Footer */
  .footer-btm-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal { justify-content: center; }

  /* CF7 formulář */
  .wpcf7-form .form-row {
    grid-template-columns: 1fr;
  }

  /* Mapa */
  .map-card {
    position: relative;
    top: auto; left: auto;
    max-width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .map-wrap { height: 280px; }

  /* CTA */
  .cta-btns { width: 100%; justify-content: center; }
  .btn-lg   { width: 100%; justify-content: center; }
}

/* ================================================================
   RESPONZIVITA — Malý mobil (≤ 480px)
   ================================================================ */

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .hero-trust { gap: 12px; }

  .about-badge { display: none; }

  .section-hd { margin-bottom: 36px; }

  .ci-box,
  .cf7-wrap { padding: 20px; }

  .footer-main { padding-block: 40px 28px; }
}

/* ================================================================
   TISK
   ================================================================ */

@media print {
  #site-header,
  .back-to-top,
  .hero-scroll,
  .nav-burger,
  .mobile-menu { display: none; }

  body     { background: white; color: black; font-size: 12pt; }
  a        { color: black; }
  .section { padding-block: 24pt; }
}
