/* ===== Autoservis u Jirky — modern theme ===== */
:root {
  --red: #e3000f;
  --red-dark: #b80009;
  --ink: #14161a;
  --ink-soft: #2a2e35;
  --muted: #6b7280;
  --line: #e7e9ee;
  --bg: #ffffff;
  --bg-soft: #f5f6f9;
  --bg-dark: #14161a;
  --white: #ffffff;
  --gold: #f5b50a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(20, 22, 26, .25);
  --shadow-lg: 0 30px 60px -20px rgba(20, 22, 26, .35);
  --maxw: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --script: "Pacifico", "Brush Script MT", cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); margin-bottom: 14px;
}
.section-head { max-width: 660px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.06rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-weight: 700; font-size: .98rem; padding: 14px 24px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 12px 24px -10px rgba(227, 0, 15, .7); }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color:#fff; }
.btn--lg { padding: 17px 30px; font-size: 1.05rem; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.header.scrolled { box-shadow: 0 8px 24px -16px rgba(0,0,0,.3); border-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 76px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font-weight: 600; color: var(--ink-soft); font-size: .98rem; position: relative; padding: 4px 0; }
.nav__links a::after { content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px; background:var(--red); transition: width .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width:100%; }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__phone { display:inline-flex; align-items:center; gap:8px; font-weight:700; color:var(--ink); }
.nav__phone svg { width:18px; height:18px; color: var(--red); }

/* Brand / logo */
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 46px; height: 46px; flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 900; font-size: 1.15rem; letter-spacing: -.03em; color: var(--ink); text-transform: uppercase; }
.brand__script { font-family: var(--script); color: var(--red); font-size: 1.15rem; line-height: 1; margin-top: 2px; }

/* hamburger */
.nav__toggle { display:none; margin-left:auto; width:44px; height:44px; border:1px solid var(--line); border-radius:12px; background:#fff; cursor:pointer; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { content:""; display:block; width:20px; height:2px; background:var(--ink); margin:0 auto; position:relative; transition:.25s; }
.nav__toggle span::before { position:absolute; top:-6px; } .nav__toggle span::after { position:absolute; top:6px; }
.nav.open .nav__toggle span { background: transparent; }
.nav.open .nav__toggle span::before { top:0; transform: rotate(45deg); }
.nav.open .nav__toggle span::after { top:0; transform: rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, #2b2f37 0%, var(--bg-dark) 55%);
}
.hero::before {
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 42px 42px; mask-image: radial-gradient(900px 500px at 75% 0%, #000 30%, transparent 75%);
}
.hero::after {
  content:""; position:absolute; right:-120px; bottom:-140px; width:620px; height:620px;
  background: radial-gradient(circle, rgba(227,0,15,.5), transparent 62%); filter: blur(20px); pointer-events:none;
}
.hero__inner { position: relative; z-index:2; display:grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items:center; padding: 86px 0 96px; }
.hero__badge { display:inline-flex; align-items:center; gap:10px; background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18); padding:8px 14px; border-radius:999px; font-size:.85rem; font-weight:600; margin-bottom:22px; }
.hero__badge .stars { color: var(--gold); letter-spacing:1px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 800; }
.hero h1 .accent { color: #fff; position: relative; }
.hero p { color: rgba(255,255,255,.8); font-size: 1.12rem; margin: 22px 0 32px; max-width: 540px; }
.hero__actions { display:flex; flex-wrap:wrap; gap:14px; }
.hero__chips { display:flex; flex-wrap:wrap; gap:10px 20px; margin-top:34px; color: rgba(255,255,255,.75); font-size:.92rem; }
.hero__chips span { display:inline-flex; align-items:center; gap:8px; }
.hero__chips svg { width:16px; height:16px; color: var(--red); }

/* hero visual card */
.hero__visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14); border-radius: 24px;
  padding: 26px; backdrop-filter: blur(6px); box-shadow: var(--shadow-lg);
}
.hero-card__row { display:flex; align-items:center; gap:14px; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.1); }
.hero-card__row:last-child { border-bottom:0; }
.hero-card__icon { width:44px; height:44px; border-radius:12px; background: rgba(227,0,15,.16); display:grid; place-items:center; flex:0 0 auto; }
.hero-card__icon svg { width:22px; height:22px; color: #ff5762; }
.hero-card__t { font-weight:700; } .hero-card__s { color: rgba(255,255,255,.65); font-size:.88rem; }
.hero-status { display:inline-flex; align-items:center; gap:8px; font-weight:700; font-size:.9rem; padding:6px 12px; border-radius:999px; }
.hero-status.open { background: rgba(34,197,94,.18); color:#7ef0a6; }
.hero-status.closed { background: rgba(148,163,184,.18); color:#cbd5e1; }
.dot { width:8px; height:8px; border-radius:50%; background: currentColor; box-shadow:0 0 0 4px rgba(255,255,255,.08); }

/* ===== Stats bar ===== */
.stats { display:grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat { text-align:center; padding: 8px; }
.stat__num { font-size: clamp(1.8rem,3.5vw,2.6rem); font-weight:800; color: var(--ink); }
.stat__num span { color: var(--red); }
.stat__label { color: var(--muted); font-size:.95rem; margin-top:4px; }

/* ===== Services ===== */
.services-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc {
  background: #fff; border:1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; overflow:hidden;
}
.svc::after { content:""; position:absolute; left:0; top:0; height:4px; width:0; background:var(--red); transition: width .25s; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc:hover::after { width:100%; }
.svc__icon { width:54px; height:54px; border-radius:14px; background: #fff0f1; display:grid; place-items:center; margin-bottom:18px; }
.svc__icon svg { width:28px; height:28px; color: var(--red); }
.svc h3 { font-size:1.15rem; font-weight:700; margin-bottom:8px; }
.svc p { color: var(--muted); font-size:.96rem; }

/* ===== About ===== */
.about { display:grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items:center; }
.about__media { position:relative; border-radius: 24px; overflow:hidden; min-height: 360px; box-shadow: var(--shadow-lg);
  background: radial-gradient(700px 400px at 30% 20%, #2b2f37, var(--bg-dark)); display:grid; place-items:center; }
.about__media .big-mark { width: 62%; opacity:.96; }
.about h2 { font-size: clamp(1.9rem,4vw,2.8rem); font-weight:800; margin-bottom:18px; }
.about p { color: var(--ink-soft); font-size: 1.05rem; }
.about__list { margin-top: 26px; display:grid; gap:14px; }
.about__list li { display:flex; gap:12px; align-items:flex-start; font-weight:600; }
.about__list .check { flex:0 0 auto; width:26px; height:26px; border-radius:50%; background:var(--red); display:grid; place-items:center; }
.about__list .check svg { width:15px; height:15px; color:#fff; }

/* ===== Reviews ===== */
.reviews-top { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:18px; margin-bottom: 40px; }
.rating-badge { display:flex; align-items:center; gap:16px; background:#fff; border:1px solid var(--line); border-radius:18px; padding:18px 26px; box-shadow: var(--shadow); }
.rating-badge__score { font-size:2.6rem; font-weight:800; line-height:1; }
.rating-badge .stars { color: var(--gold); font-size:1.1rem; letter-spacing:2px; }
.rating-badge__meta { color: var(--muted); font-size:.9rem; }
.review-sources { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.review-sources a { display:inline-flex; align-items:center; gap:8px; padding:10px 16px; border:1px solid var(--line); border-radius:999px; background:#fff; font-weight:600; font-size:.9rem; transition: .2s; }
.review-sources a:hover { border-color: var(--ink); transform: translateY(-2px); }

.reviews-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.review {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 26px; display:flex; flex-direction:column; gap:14px;
}
.review .stars { color: var(--gold); letter-spacing:2px; }
.review__text { color: var(--ink-soft); font-size: 1rem; flex:1; }
.review__foot { display:flex; align-items:center; gap:12px; }
.review__avatar { width:42px; height:42px; border-radius:50%; background: var(--ink); color:#fff; display:grid; place-items:center; font-weight:700; }
.review__name { font-weight:700; font-size:.95rem; } .review__src { color: var(--muted); font-size:.82rem; }

/* ===== Contact / hours ===== */
.contact { display:grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.panel { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.panel h3 { font-size:1.3rem; font-weight:800; margin-bottom:18px; display:flex; align-items:center; gap:10px; }
.panel h3 svg { width:22px; height:22px; color: var(--red); }
.hours-list li { display:flex; justify-content:space-between; padding:11px 0; border-bottom:1px dashed var(--line); }
.hours-list li:last-child { border-bottom:0; }
.hours-list .day { font-weight:600; }
.hours-list .time { color: var(--ink-soft); }
.hours-list li.today { background: #fff0f1; margin:0 -12px; padding:11px 12px; border-radius:10px; border-bottom:0; }
.hours-list li.today .day { color: var(--red); }
.hours-list .closed { color: var(--muted); }
.contact-list li { display:flex; gap:14px; align-items:flex-start; padding:12px 0; }
.contact-list .ci { flex:0 0 auto; width:42px; height:42px; border-radius:12px; background:#fff0f1; display:grid; place-items:center; }
.contact-list .ci svg { width:20px; height:20px; color:var(--red); }
.contact-list a { font-weight:600; }
.contact-list .lbl { color: var(--muted); font-size:.85rem; }
.map-wrap { border-radius: var(--radius); overflow:hidden; border:1px solid var(--line); box-shadow: var(--shadow); margin-top: 28px; }
.map-wrap iframe { width:100%; height:340px; border:0; display:block; }

/* ===== CTA band ===== */
.cta-band { background: linear-gradient(120deg, var(--red), var(--red-dark)); color:#fff; border-radius: 26px; padding: 52px; text-align:center; position:relative; overflow:hidden; }
.cta-band::after { content:""; position:absolute; right:-60px; top:-60px; width:280px; height:280px; background: rgba(255,255,255,.12); border-radius:50%; }
.cta-band h2 { font-size: clamp(1.7rem,3.5vw,2.5rem); font-weight:800; position:relative; }
.cta-band p { color: rgba(255,255,255,.92); margin:14px auto 28px; max-width:560px; position:relative; }

/* ===== Footer ===== */
.footer { background: var(--bg-dark); color: rgba(255,255,255,.72); padding: 60px 0 28px; }
.footer__grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer h4 { color:#fff; font-size:1rem; margin-bottom:16px; letter-spacing:.04em; }
.footer a:hover { color:#fff; }
.footer__brand .brand__name { color:#fff; }
.footer__brand p { margin-top:16px; max-width: 320px; font-size:.95rem; }
.footer ul li { padding:6px 0; }
.footer__bottom { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px; padding-top:22px; font-size:.85rem; color: rgba(255,255,255,.5); }
.footer__bottom a { color: rgba(255,255,255,.5); }
.footer__social { display:flex; gap:10px; }
.footer__social a { width:40px; height:40px; border-radius:10px; background: rgba(255,255,255,.08); display:grid; place-items:center; }
.footer__social a:hover { background: var(--red); }
.footer__social svg { width:20px; height:20px; color:#fff; }

/* reveal animation */
.reveal { opacity:0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity:1; transform:none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero__inner, .about, .contact { grid-template-columns: 1fr; }
  .hero__visual { order:-1; display:none; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .reviews-grid { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .nav__links, .nav__phone { display:none; }
  .nav.open .nav__links {
    display:flex; position:absolute; top:76px; left:0; right:0; flex-direction:column; gap:0;
    background:#fff; border-bottom:1px solid var(--line); padding:8px 22px 16px; box-shadow: var(--shadow);
  }
  .nav.open .nav__links a { padding:14px 0; border-bottom:1px solid var(--line); }
  .nav__toggle { display:block; }
  .nav__cta .btn span.full { display:none; }
  .reviews-grid, .services-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap:28px; }
  .cta-band { padding: 38px 24px; }
}
