:root {
  --accent: #880518;
  --accent-2: #b10b2a;
  --bg: #09090b;
  --bg-soft: #111114;
  --surface: #151519;
  --surface-2: #1b1b20;
  --text: #f7f7f8;
  --muted: #b5b5bc;
  --line: rgba(255,255,255,.12);
  --line-strong: rgba(255,255,255,.2);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 5%, rgba(136,5,24,.18), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  background: #fff;
  color: #000;
  transform: translateY(-160%);
  transition: transform .15s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section-pad { padding: 110px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(9,9,11,.9);
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; width: 245px; flex: 0 0 auto; }
.brand img { width: 100%; }

.main-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 650; }
.main-nav a { text-decoration: none; color: #d9d9dd; transition: color .18s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: #fff; }
.main-nav .nav-cta {
  padding: 10px 15px;
  border: 1px solid var(--accent);
  color: #fff;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: white;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 21px; height: 2px; margin: 4px auto; background: currentColor; }

.hero { padding-top: 135px; padding-bottom: 125px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, .75fr);
  gap: 72px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 20px;
  color: #d75a70;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(48px, 6.5vw, 92px);
  line-height: .96;
  letter-spacing: -.052em;
  font-weight: 860;
}
.hero h1 span { color: var(--accent-2); }
.hero-lead {
  max-width: 760px;
  margin: 30px 0 0;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.42;
  color: #e5e5e8;
}
.hero-note { max-width: 680px; margin: 18px 0 0; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--accent); border-color: var(--accent); }
.button-primary:hover { background: #9f0921; border-color: #9f0921; }
.button-ghost { color: #fff; background: transparent; border-color: var(--line-strong); }
.button-ghost:hover { border-color: #fff; }

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.012));
  box-shadow: 18px 18px 0 rgba(136,5,24,.2);
}
.hero-panel::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -110px;
  top: -110px;
  border: 46px solid rgba(136,5,24,.38);
  transform: rotate(45deg);
}
.panel-kicker { position: relative; color: #a8a8af; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.panel-main { position: relative; margin-top: 45px; font-size: clamp(30px, 3vw, 45px); line-height: 1.05; font-weight: 900; max-width: 300px; }
.metric-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.metric { min-height: 94px; padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.metric strong { color: #d85b71; font-size: 12px; }
.metric span { font-size: 15px; font-weight: 800; }
.panel-line { width: 55px; height: 4px; background: var(--accent); margin-top: 28px; }
.hero-panel p { margin: 18px 0 0; color: var(--muted); font-size: 14px; }

.services { border-top: 1px solid var(--line); background: #0d0d10; }
.section-head { max-width: 760px; }
.section-head h2 { margin: 0; font-size: clamp(38px, 4.5vw, 62px); line-height: 1.04; letter-spacing: -.035em; }
.section-head > p:not(.eyebrow) { margin: 22px 0 0; color: var(--muted); font-size: 18px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 58px; background: var(--line); border: 1px solid var(--line); }
.service-card { min-height: 280px; padding: 28px; background: var(--bg-soft); }
.service-card:hover { background: #16161a; }
.service-no { display: block; margin-bottom: 55px; color: #cf5068; font-size: 12px; font-weight: 800; }
.service-card h3 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.service-card p { margin: 14px 0 0; color: var(--muted); }
.service-card-accent { background: var(--accent); }
.service-card-accent:hover { background: #97071e; }
.service-card-accent .service-no, .service-card-accent p { color: rgba(255,255,255,.78); }

.why { border-top: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.sticky-head { position: sticky; top: 130px; }
.why-list { border-top: 1px solid var(--line); }
.why-list article { display: grid; grid-template-columns: 58px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.why-list article > span { color: #d05268; font-size: 12px; font-weight: 800; }
.why-list h3 { margin: 0; font-size: 24px; }
.why-list p { margin: 8px 0 0; color: var(--muted); }

.process { border-top: 1px solid var(--line); background: #0d0d10; }
.centered { margin: 0 auto; text-align: center; }
.process-grid { list-style: none; padding: 0; margin: 60px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.process-grid li { position: relative; min-height: 275px; padding: 28px; border-right: 1px solid var(--line); }
.process-grid li:last-child { border-right: 0; }
.process-grid span { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; background: var(--accent); font-size: 12px; font-weight: 900; }
.process-grid h3 { margin: 72px 0 0; font-size: 21px; }
.process-grid p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

.contact { border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
.contact-copy h2 { margin: 0; font-size: clamp(40px, 5vw, 68px); line-height: 1.02; letter-spacing: -.04em; }
.contact-copy > p:not(.eyebrow) { margin: 22px 0 0; color: var(--muted); font-size: 18px; }
.email-link { display: inline-block; margin-top: 30px; color: #fff; text-decoration: none; border-bottom: 2px solid var(--accent); font-size: clamp(20px, 2vw, 28px); font-weight: 850; }
.contact-copy .contact-small { font-size: 14px !important; max-width: 470px; }

.contact-form { padding: 30px; border: 1px solid var(--line-strong); background: var(--surface); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; color: #e7e7ea; font-size: 13px; font-weight: 800; }
.field label span { color: #e66a80; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 0;
  background: #0d0d10;
  color: #fff;
  padding: 13px 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input, select { min-height: 49px; }
textarea { resize: vertical; min-height: 150px; }
input:focus, select:focus, textarea:focus { border-color: #d05268; box-shadow: 0 0 0 3px rgba(136,5,24,.28); }
::placeholder { color: #74747c; }
.submit-button { width: 100%; margin-top: 2px; }
.form-note { margin: 12px 0 0; color: #96969e; font-size: 12px; line-height: 1.5; }

.site-footer { border-top: 1px solid var(--line); padding: 32px 0; background: #070709; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #8f8f97; font-size: 13px; }
.footer-brand { width: 185px; opacity: .9; }
.footer-inner p { margin: 0; }

:focus-visible { outline: 3px solid #f3a4b2; outline-offset: 3px; }

@media (max-width: 980px) {
  .section-pad { padding: 85px 0; }
  .hero { padding-top: 105px; }
  .hero-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-panel { max-width: 620px; }
  .sticky-head { position: static; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid li:nth-child(2) { border-right: 0; }
  .process-grid li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header-inner { min-height: 70px; }
  .brand { width: 205px; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 18px 20px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: #0a0a0c;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .main-nav a:last-child { margin-top: 12px; padding: 12px; border-bottom: 0; text-align: center; }
  .hero { padding-top: 85px; }
  .hero h1 { font-size: clamp(46px, 14vw, 72px); }
  .hero-lead { font-size: 19px; }
  .section-head h2 { font-size: clamp(38px, 10vw, 54px); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 235px; }
  .service-no { margin-bottom: 40px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-grid li:nth-child(2) { border-bottom: 1px solid var(--line); }
  .process-grid li:last-child { border-bottom: 0; }
  .process-grid h3 { margin-top: 52px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 430px) {
  .button { width: 100%; }
  .hero-panel { padding: 22px; box-shadow: 10px 10px 0 rgba(136,5,24,.18); }
  .metric { min-height: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* Kontaktní formulář – serverové odesílání */
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.submit-button:disabled {
  cursor: wait;
  opacity: .68;
}

.form-note.is-success {
  color: #b9f5c8;
}

.form-note.is-error {
  color: #ffb8b8;
}
