/* ====== Oprava fitness strojů Michal Kosek ====== */
:root {
  --dark: #0d1321;
  --dark-2: #1a2238;
  --dark-3: #2b3550;
  --accent: #ff6b35;
  --accent-2: #ff9d35;
  --bg: #f7f8fb;
  --card: #ffffff;
  --text: #23293a;
  --muted: #5d6579;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(13, 19, 33, .08);
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: 1.6rem; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: .5rem; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-weight: 800;
  font-size: .78rem; color: var(--accent); margin-bottom: .7rem;
}
.eyebrow.light { color: #fff; opacity: .85; }
.accent { color: var(--accent); }

/* — označení vygenerovaného obsahu (jemné tečkované podtržení) — */
.gen, .gen-demo {
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: rgba(255, 107, 53, .45);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.card.gen { text-decoration: none; outline: 1px dotted rgba(255, 107, 53, .35); outline-offset: -1px; }

/* ====== Buttons ====== */
.btn {
  display: inline-block; padding: .8rem 1.5rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: linear-gradient(100deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 6px 20px rgba(255, 107, 53, .35); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ====== Header ====== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 19, 33, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav { display: flex; align-items: center; gap: 2rem; padding: .7rem 24px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
}
.brand-text { font-size: .78rem; line-height: 1.25; opacity: .85; }
.brand-text strong { font-size: .92rem; opacity: 1; }
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav-links a { color: #cfd6e4; text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: #fff; }
.nav-cta { font-size: .9rem; padding: .6rem 1.2rem; }

/* ====== Hero ====== */
.hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255, 107, 53, .22), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(255, 157, 53, .12), transparent 60%),
    var(--dark);
  color: #fff;
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem;
  align-items: center; padding-top: 5.5rem; padding-bottom: 5rem;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { margin-top: 1.2rem; font-size: 1.15rem; color: #c3cadb; max-width: 34rem; }
.hero-sub strong { color: #fff; }
.hero-cta { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 1.4rem; margin-top: 2.2rem; list-style: none; flex-wrap: wrap; }
.hero-badges li { font-weight: 700; font-size: .92rem; color: #ffb35c; }
.hero-art svg { width: 100%; height: auto; }
.pulse { animation: pulse 2.4s ease-in-out infinite; transform-origin: center; }
@keyframes pulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

.hero-strip { background: rgba(255,255,255,.05); border-top: 1px solid rgba(255,255,255,.08); }
.strip-inner {
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  padding-top: 1rem; padding-bottom: 1rem; font-size: .92rem; color: #c3cadb;
}
.strip-inner strong { color: #fff; }

/* ====== Sections ====== */
.section { padding: 5rem 0; }
.section-dark { background: var(--dark); color: #fff; }
.section-dark .eyebrow { color: var(--accent-2); }
.section-accent {
  background: linear-gradient(120deg, var(--accent) 0%, #f5502e 60%, #d63c1f 100%);
  color: #fff;
}

/* ====== Cards ====== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 1rem; }
.card {
  background: var(--card); border-radius: var(--radius); padding: 1.7rem;
  box-shadow: var(--shadow); transition: transform .15s ease;
}
.card:hover { transform: translateY(-4px); }
.card-icon { font-size: 1.9rem; margin-bottom: .8rem; }
.card p { color: var(--muted); font-size: .95rem; }

/* ====== Steps ====== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.step {
  background: var(--dark-2); border: 1px solid var(--dark-3);
  border-radius: var(--radius); padding: 2rem 1.7rem; position: relative;
}
.step-num {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; margin-bottom: 1.1rem;
}
.step p { color: #b9c1d4; font-size: .95rem; }

/* ====== About ====== */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-caption { display: block; margin-top: .6rem; font-size: .82rem; color: var(--muted); }
.about-text p { margin-bottom: 1rem; }
.about-facts { list-style: none; margin-top: 1.4rem; display: grid; gap: .5rem; }
.about-facts li { padding-left: 1.4rem; position: relative; }
.about-facts li::before { content: "▸"; position: absolute; left: 0; color: var(--accent); }

/* ====== Form ====== */
.form-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3.5rem; align-items: start; }
.form-intro p { margin-bottom: 1rem; }
.form-alt { margin-top: 2rem; font-weight: 600; }
.big-phone {
  font-family: var(--font-head); font-size: 1.7rem; font-weight: 700;
  color: #fff; text-decoration: none; border-bottom: 3px solid rgba(255,255,255,.4);
}
.form {
  background: #fff; color: var(--text); border-radius: 20px; padding: 2.2rem;
  box-shadow: 0 25px 60px rgba(0,0,0,.25);
}
.form label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 1.1rem; }
.form input, .form select, .form textarea {
  width: 100%; margin-top: .35rem; padding: .75rem .9rem;
  border: 1.5px solid #dcdfe8; border-radius: 10px;
  font: inherit; font-weight: 500; background: #fafbfd; color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, .15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: .78rem; color: var(--muted); font-weight: 500; margin-top: .9rem; text-align: center; }
.form-status { text-align: center; font-weight: 700; margin-top: .6rem; min-height: 1.4em; }
.form-status.ok { color: #1a7f37; }
.form-status.err { color: #c62828; }

/* ====== Contact ====== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.contact-card {
  background: var(--card); border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow); text-decoration: none; display: grid; gap: .3rem;
  justify-items: center; text-align: center; transition: transform .15s ease;
}
.contact-card:hover { transform: translateY(-4px); }
.contact-ico { font-size: 1.8rem; margin-bottom: .4rem; }
.contact-card span:last-child { color: var(--muted); font-size: .88rem; }

/* ====== Footer ====== */
.site-footer { background: var(--dark); color: #9aa3b8; font-size: .85rem; }
.footer-inner {
  display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding-top: 2rem; padding-bottom: 2rem;
}
.footer-note { max-width: 22rem; opacity: .75; }

/* ====== Responsive ====== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 3.5rem; padding-bottom: 3rem; }
  .hero-art { max-width: 340px; margin: 0 auto; }
  .cards, .steps, .contact-grid { grid-template-columns: 1fr 1fr; }
  .about, .form-wrap { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .cards, .steps, .contact-grid, .field-row { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
  .strip-inner { flex-direction: column; gap: .4rem; }
}
