/* Vyřídím to s Vámi — jednostránkový web, paleta a písmo z finálního loga */

:root {
  --plum: #1C1028;
  --coral: #FF5C39;
  --mist: #F3F0EC;
  --cream: #F7F3EE;
  --plum-soft: #2A1840;
  --plum-mid: #3A2650;
  --ink: #1C1028;
  --muted: #4A4254;
  --line: #E4DFD8;
  --line-strong: #D4CEC6;
  --header-h: 4.25rem;
  --wrap: 70rem;
  --text: 40rem;
  --radius: 1.15rem;
  --shadow: 0 10px 30px -16px rgba(28, 16, 40, 0.18);
  --focus: 0 0 0 3px var(--cream), 0 0 0 5px var(--coral);
}

@font-face {
  font-family: Outfit;
  src: url("../fonts/Outfit-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Outfit, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 450;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--mist);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: var(--plum); }
a:hover { color: var(--coral); }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
}

h1 { font-size: clamp(2.4rem, 8vw, 4.35rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.35rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.02em; margin: 0 0 0.35rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 1000;
  padding: 0.6rem 1rem;
  background: var(--cream);
  color: var(--plum);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.5rem;
  transform: translateY(-150%);
}
.skip:focus,
.skip:focus-visible { transform: none; }

.wrap {
  width: min(calc(100% - 1.75rem), var(--wrap));
  margin-inline: auto;
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--plum);
  color: var(--cream);
}
.site-header a { color: var(--cream); }
.site-header a:hover { color: var(--cream); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
}
.brand-name {
  font-weight: 650;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  white-space: nowrap;
}
.brand-name em {
  font-style: normal;
  font-weight: 560;
  color: var(--coral);
}

.nav {
  display: none;
  align-items: center;
  gap: 0.15rem 1.15rem;
}
.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.86;
}
.nav a:hover { opacity: 1; color: var(--coral); }

.header-cta { flex: 0 0 auto; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 650;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { color: inherit; }
.btn-primary {
  background: var(--coral);
  color: var(--plum);
  border-color: var(--coral);
}
.btn-primary:hover {
  background: #ff6e50;
  border-color: #ff6e50;
  color: var(--plum);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 243, 238, 0.35);
}
.btn-ghost:hover {
  border-color: var(--cream);
  color: var(--cream);
  transform: translateY(-1px);
}
.btn-on-light {
  background: var(--plum);
  color: var(--cream);
  border-color: var(--plum);
}
.btn-on-light:hover {
  background: var(--plum-soft);
  border-color: var(--plum-soft);
  color: var(--cream);
  transform: translateY(-1px);
}
.btn-sm {
  min-height: 2.6rem;
  padding: 0.45rem 1rem;
  font-size: 0.92rem;
}

/* ----- Hero ----- */
.hero {
  background: var(--plum);
  color: var(--cream);
  padding: 2rem 0 3.25rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  /* jemný korálový odlesk vpravo, čistě CSS, bez obrázku */
  content: "";
  position: absolute;
  width: 28rem;
  height: 28rem;
  right: -8rem;
  top: -8rem;
  background: radial-gradient(circle, rgba(255, 92, 57, 0.18), transparent 68%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: center;
}
.kicker {
  margin: 0 0 0.85rem;
  color: var(--coral);
  font-weight: 560;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 1.1rem;
  color: var(--cream);
  font-weight: 650;
}
.hero h1 span {
  display: inline;
  color: var(--coral);
  font-weight: 560;
}
.lede {
  max-width: 38rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: #F3F0EC;
  margin-bottom: 1.6rem;
  opacity: 0.94;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.hero-seal {
  justify-self: center;
  width: min(16.5rem, 70vw);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.28));
}
.hero-seal img { width: 100%; height: auto; }

/* ----- Sections ----- */
.section { padding: 3.25rem 0; }
.section-head {
  max-width: var(--text);
  margin-bottom: 1.6rem;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }
.lead { font-size: 1.08rem; }

.bg-cream { background: var(--cream); }
.bg-mist { background: var(--mist); }

/* ----- Service cards ----- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.25rem;
  box-shadow: var(--shadow);
}
.card-icon {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.8rem;
  background: var(--mist);
  color: var(--coral);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
}
.card-icon svg { width: 1.35rem; height: 1.35rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.note {
  margin-top: 1.25rem;
  max-width: var(--text);
  color: var(--muted);
}

/* ----- Steps ----- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  counter-reset: krok;
}
.steps li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.2rem 5rem;
  box-shadow: var(--shadow);
  counter-increment: krok;
}
.steps li::before {
  content: counter(krok);
  position: absolute;
  left: 1.1rem;
  top: 1.15rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--plum);
  color: var(--cream);
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  display: grid;
  place-items: center;
}
.steps strong { font-weight: 650; }
.steps-closing {
  margin-top: 1.25rem;
  max-width: var(--text);
  font-weight: 560;
}

/* ----- Promo ----- */
.promo-panel {
  background: var(--plum);
  color: var(--cream);
  border-radius: calc(var(--radius) + 0.4rem);
  padding: 1.6rem 1.25rem 1.7rem;
  box-shadow: 0 20px 40px -24px rgba(28, 16, 40, 0.55);
}
.promo-panel h2 { color: var(--cream); }
.promo-panel p { color: #F3F0EC; }
.highlights {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}
.highlights li {
  background: var(--plum-soft);
  border: 1px solid rgba(247, 243, 238, 0.1);
  border-radius: 0.95rem;
  padding: 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.highlights strong {
  font-size: clamp(1.7rem, 5vw, 2.2rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  color: var(--coral);
  line-height: 1;
}
.highlights span {
  font-size: 0.95rem;
  color: var(--cream);
  opacity: 0.9;
}
.terms {
  background: rgba(247, 243, 238, 0.05);
  border-radius: 0.9rem;
  padding: 1rem 1.05rem;
  margin: 0 0 1rem;
  font-size: 0.98rem;
}
.fair { margin: 0; font-size: 0.98rem; opacity: 0.95; }

/* ----- Out of scope ----- */
.out-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.out-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  padding: 0.95rem 1.1rem 0.95rem 3.15rem;
  position: relative;
}
.out-list li::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 1.2rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  background:
    linear-gradient(var(--coral), var(--coral)) center / 0.6rem 2px no-repeat,
    var(--mist);
  box-shadow: inset 0 0 0 1.5px var(--coral);
}
.out-note { margin-top: 1.15rem; max-width: var(--text); color: var(--muted); }

/* ----- Sign up ----- */
.signup {
  text-align: left;
}
.signup-box {
  background: #fff;
  margin-inline: auto;
  border-radius: calc(var(--radius) + 0.35rem);
  padding: 1.7rem 1.25rem 1.8rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-width: 42rem;
}
.signup-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.1rem;
  margin-top: 1.3rem;
}
.pending {
  margin-top: 1.1rem;
  padding: 0.85rem 1rem;
  background: var(--mist);
  border-radius: 0.75rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.email-line {
  margin-top: 1.15rem;
  color: var(--muted);
}
.email-line a {
  color: var(--plum);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}
.email-line a:hover { color: var(--coral); }

/* ----- Footer ----- */
.site-footer {
  background: var(--plum);
  color: var(--cream);
  padding: 2.4rem 0 2rem;
  font-size: 0.95rem;
}
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--coral); }
.footer-brand {
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  margin: 0 0 0.2rem;
}
.footer-brand span { color: var(--coral); font-weight: 560; }
.footer-tag { margin: 0 0 1.15rem; opacity: 0.8; }
.footer-legal p { margin: 0 0 0.2rem; }
.footer-legal { margin-bottom: 1.15rem; }
.footer-note {
  max-width: 44rem;
  opacity: 0.88;
  line-height: 1.6;
}
.footer-note a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.4rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(247, 243, 238, 0.12);
}
.footer-links a { text-decoration: none; font-weight: 500; }
.footer-links a:hover { text-decoration: underline; color: var(--coral); }

/* ----- Privacy page ----- */
.page-main { padding: 2.5rem 0 3.5rem; }
.page-main .prose {
  max-width: var(--text);
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.2rem);
  padding: 1.6rem 1.25rem 1.8rem;
  box-shadow: var(--shadow);
}
.page-main .prose h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 0.4rem; }
.review-flag {
  display: inline-block;
  margin: 0 0 1.1rem;
  padding: 0.25rem 0.6rem;
  background: var(--mist);
  color: var(--muted);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 560;
}
.page-main .prose h2 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.5rem;
}
.page-main .prose ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.page-main .prose a {
  color: var(--plum);
  font-weight: 560;
}

/* ----- Responsive ----- */
@media (min-width: 640px) {
  .wrap { width: min(calc(100% - 2.75rem), var(--wrap)); }
  .cards { grid-template-columns: 1fr 1fr; }
  .highlights { grid-template-columns: repeat(3, 1fr); }
  .promo-panel,
  .signup-box,
  .page-main .prose { padding: 2rem 2rem 2.1rem; }
  .hero { padding: 2.6rem 0 4.25rem; }
  .section { padding: 4.25rem 0; }
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem 3rem;
    min-height: 28rem;
  }
  .hero-seal { width: min(26rem, 100%); justify-self: end; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .header-cta .btn { min-height: 2.6rem; padding: 0.45rem 1.05rem; }
}

@media (max-width: 399px) {
  .brand-name { font-size: 0.92rem; }
  .btn-sm { padding-inline: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

@media (prefers-contrast: more) {
  .card, .steps li, .out-list li, .signup-box { border-color: var(--plum); }
  .muted, .card p, .note, .out-note { color: var(--ink); }
}

@media print {
  .site-header, .hero-actions, .header-cta, .skip { display: none !important; }
  .hero, .site-footer, .promo-panel { background: #fff !important; color: #000 !important; }
  body { background: #fff; }
}
