/* Reklamní specialista.cz – barvy převzaté z původního webu */
@font-face {
  font-family: "Figtree";
  src: url("../fonts/Figtree-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --accent: #ED4422;        /* hlavní oranžovo-červená */
  --accent-dark: #D23212;   /* hover */
  --orange: #FF6900;        /* šipky / doplňková */
  --amber: #FCB900;         /* hvězdičky */
  --text: #202020;
  --muted: #5c5a57;
  --bg: #FFFFFF;
  --bg-alt: #F8F7F6;
  --dark: #191919;
  --line: #e9e6e2;
  --radius: 16px;
  --wrap: 1140px;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(16px, 1.05vw + 10px, 18px);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; font-weight: 700; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
mark { background: none; color: var(--accent); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--dark); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Tlačítka */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  background: var(--accent); color: #fff; border: 2px solid var(--accent);
  padding: 12px 30px; border-radius: 999px; font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn-ghost:hover { background: var(--text); border-color: var(--text); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: .92em; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* Hlavička */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248,247,246,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.2rem; }
.brand b { color: var(--accent); }
.brand img { height: 48px; width: auto; }
@media (max-width: 860px) { .brand img { height: 40px; } }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; }
.nav > a:not(.btn):hover, .nav-group > a:hover, .nav a[aria-current] { color: var(--accent); }
.nav .btn { color: #fff; }
.nav-group { position: relative; }
.nav-sub {
  position: absolute; top: 100%; left: -16px; min-width: 260px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.08);
  display: none; flex-direction: column;
}
.nav-sub a { padding: 8px 12px; border-radius: 8px; }
.nav-sub a:hover { background: var(--bg-alt); }
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub { display: flex; }
.nav-group::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); transition: transform .2s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-alt);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px;
    border-bottom: 1px solid var(--line); display: none;
  }
  .nav.open { display: flex; }
  .nav > a, .nav-group > a { padding: 12px 0; border-bottom: 1px solid var(--line); display: block; }
  .nav-sub { position: static; display: flex; border: 0; box-shadow: none; background: none; padding: 0 0 6px 14px; min-width: 0; }
  .nav .btn { margin-top: 14px; }
  .brand span { font-size: 1.05rem; }
}

/* Úvod */
.hero { background: var(--bg-alt); padding: clamp(48px, 7vw, 96px) 0; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(237,68,34,.14), rgba(237,68,34,0) 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; }
.hero-img img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; width: 100%; box-shadow: 0 24px 50px rgba(0,0,0,.12); }
.hero-service .hero-img img { aspect-ratio: 4/3; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: .8em; }
.lead { font-size: 1.15em; color: var(--muted); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1em; }
.crumbs a { color: var(--muted); }
.price-big { display: inline-block; font-weight: 700; font-size: 1.25rem; color: var(--accent); background: #fff; border: 2px solid var(--accent); border-radius: 999px; padding: 4px 18px; margin: 0; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img { order: -1; max-width: 520px; }
  .hero-img img { aspect-ratio: 16/10; }
}

/* Sekce */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-alt { background: var(--bg-alt); }
.section-title { text-align: center; margin-bottom: 1.4em; }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; align-items: end; margin-bottom: 48px; }
.split-head h2 { margin: 0; }
.split-head .lead { margin: 0; }
@media (max-width: 820px) { .split-head { grid-template-columns: 1fr; } }

/* Karty */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 28px; margin-bottom: 40px; }
.cards:last-child { margin-bottom: 0; }
.cards-2 { grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); }
.card { background: #fff; border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.section-alt .card { border-color: transparent; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.07); }
.card-img img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-body { padding: 20px 6px 4px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 a { text-decoration: none; }
.card-body h3 a:hover { color: var(--accent); }
.card-body p { color: var(--muted); }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font-weight: 700; color: var(--accent); white-space: nowrap; }
.card-foot { flex-direction: column; align-items: flex-start; gap: 4px; }
.more { white-space: nowrap; margin-left: 0; }
.more { font-weight: 600; text-decoration: none; margin-left: auto; }
.more:hover { color: var(--accent); }
.card-row { flex-direction: row; gap: 18px; align-items: center; }
.card-row .card-img { width: 130px; flex-shrink: 0; }
.card-row .card-img img { aspect-ratio: 1; }
.card-row .card-body { padding: 0; }
.card-row h3 { font-size: 1.1rem; }

/* Recenze */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 28px; }
.review { margin: 0; background: #fff; border-radius: var(--radius); padding: 32px; position: relative; }
.review::before { content: "“"; position: absolute; right: 24px; top: -10px; font-size: 7rem; line-height: 1; color: var(--accent); opacity: .12; font-weight: 800; }
.stars { color: var(--amber); letter-spacing: 2px; font-size: 1.1rem; }
.review blockquote { margin: 12px 0 20px; font-size: 1.2rem; font-weight: 500; }
.review figcaption { display: flex; align-items: center; gap: 12px; color: var(--accent); font-weight: 600; font-size: .95rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-alt); color: var(--text); display: grid; place-items: center; font-size: .85rem; font-weight: 700; }

/* Výhody a kroky na podstránkách */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.features li { padding: 24px 24px 24px 64px; border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.features li::before {
  content: ""; position: absolute; left: 22px; top: 26px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/16px no-repeat;
}
.features strong, .steps strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.features span, .steps span { color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 20px; counter-reset: step; }
.steps li { background: #fff; border-radius: var(--radius); padding: 28px; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 2.2rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 14px; }

/* Kontakt / formulář */
.contact { background: var(--accent); color: #fff; padding: clamp(56px, 8vw, 100px) 0; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.contact mark { color: var(--dark); }
.contact-intro p { font-size: 1.1em; opacity: .95; }
.contact-phone { display: inline-block; margin-top: .4em; font-size: 1.5rem; font-weight: 700; text-decoration: none; border-bottom: 2px solid rgba(255,255,255,.5); }
.contact-phone:hover { border-color: #fff; }
.form-card { background: #fff; color: var(--text); border-radius: 20px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 30px 60px rgba(0,0,0,.18); }
.form-card form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-card label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form-card input, .form-card select, .form-card textarea {
  font: inherit; font-weight: 400; padding: 11px 16px; border: 1.5px solid #d8d4cf; border-radius: 12px; background: #fff; color: var(--text); width: 100%;
}
.form-card textarea { resize: vertical; min-height: 120px; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(237,68,34,.18); }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { border-radius: 12px; padding: 16px 20px; }
.form-ok { background: #eaf7ee; color: #1c5b30; text-align: center; padding: 40px 20px; }
.form-ok strong { display: block; font-size: 1.3rem; margin-bottom: 4px; }
.form-ok p { margin: 0; }
.form-err { background: #fdecea; color: #8a1f11; margin-bottom: 16px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* Patička */
.site-footer { background: var(--dark); color: #fff; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-bottom: 48px; }
.site-footer h3 { font-size: 1.1rem; margin-bottom: 1em; }
.site-footer p, .site-footer li { color: rgba(255,255,255,.75); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: background .15s; }
.social a:hover { background: var(--accent); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; padding-bottom: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .875rem; color: rgba(255,255,255,.6); }
.footer-bottom p { margin: 0; }

/* Cookie lišta */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 640px; margin: 0 auto;
  background: var(--dark); color: #fff; border-radius: 16px; padding: 18px 22px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,.25); font-size: .95rem;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; flex: 1 1 280px; }
.cookie-bar div { display: flex; gap: 8px; }
.cookie-bar .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.cookie-bar .btn-ghost:hover { background: #fff; color: var(--dark); }

/* 404 */
.notfound { text-align: center; padding: 120px 0; }
.notfound .code { font-size: clamp(5rem, 15vw, 9rem); font-weight: 800; color: var(--accent); line-height: 1; margin: 0; }

/* Kontakty v kontaktní sekci */
.contact-list { list-style: none; margin: 1.6em 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list a { display: flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 700; font-size: 1.15rem; line-height: 1.3; min-width: 0; }
.contact-list a > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.contact-list small { display: block; font-size: .8rem; font-weight: 500; opacity: .85; }
.contact-list .ci { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; flex-shrink: 0; transition: background .15s, color .15s; }
.contact-list a:hover .ci { background: #fff; color: var(--accent); }
.contact-list a:hover > span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.form-note a, .form-err a { color: inherit; }

/* Recenze – odkaz na Google */
.reviews-cta { margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: center; color: var(--muted); }

/* Ukázky webů */
.portfolio { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 28px; }
.site-card { display: flex; flex-direction: column; text-decoration: none; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.site-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.07); border-color: #d8d4cf; }
.site-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg-alt); border-bottom: 1.5px solid var(--line); font-size: .82rem; color: var(--muted); }
.site-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d8d4cf; flex-shrink: 0; }
.site-bar i:first-child { background: var(--accent); }
.site-bar span { margin-left: 8px; background: #fff; border-radius: 999px; padding: 2px 12px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 20px; flex: 1; }
.site-body strong { font-size: 1.2rem; }
.site-body > span:not(.more) { color: var(--muted); }
.site-body .more { margin: auto 0 0; padding-top: 8px; color: var(--accent); }

/* Právní stránka */
.legal-wrap { max-width: 760px; }
.legal h1 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; margin: 0 0 1em; }
.legal a { color: var(--accent); }
.legal-date { color: var(--muted); font-size: .9rem; }

/* Patička – odkazy */
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.6); }
.cookie-bar a { color: #fff; }
