/* Self-hosted fonts (no external requests, GDPR-friendly) */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("fonts/newsreader-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("fonts/newsreader-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-alt: #eef3f9;
  --text: #15263d;
  --text-soft: #5c6b7f;
  --line: rgba(21, 38, 61, 0.1);
  --primary: #0f2742;
  --primary-soft: #dbe7f4;
  --accent: #b78a4a;
  --shadow: 0 20px 55px rgba(15, 39, 66, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1160px, calc(100% - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(183, 138, 74, 0.14), transparent 32%),
    linear-gradient(180deg, #fbfdff 0%, #f2f6fb 100%);
  color: var(--text);
  line-height: 1.65;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(183, 138, 74, 0.4);
  outline-offset: 3px;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.page-shell {
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 30;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(244, 247, 251, 0.75);
  border-bottom: 1px solid rgba(21, 38, 61, 0.06);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.header-inner {
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, #1f4b77 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 30px rgba(15, 39, 66, 0.18);
}

.brand-text {
  display: grid;
  gap: 0.1rem;
}

.brand-text strong {
  font-size: 0.98rem;
}

.brand-text small {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--primary);
}

.nav-cta {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--primary);
  font-weight: 700;
}

.hero {
  padding: 5rem 0 3rem;
}

.hero-grid,
.intro-grid,
.benefits-layout,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
}

.eyebrow,
.section-kicker,
.card-label {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1,
.section h2,
.cta-panel h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero h1 {
  font-size: clamp(2.9rem, 5vw, 5rem);
  max-width: 11ch;
}

.hero-text,
.intro-copy p,
.benefits-copy p,
.contact-copy p,
.cta-actions p {
  color: var(--text-soft);
  font-size: 1.05rem;
}

.hero-text {
  max-width: 62ch;
  margin: 1.4rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #173b62 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(15, 39, 66, 0.16);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--line);
  color: var(--primary);
}

.hero-animate,
.section-animate,
.hero-delay-1,
.hero-delay-2,
.hero-delay-3,
.hero-delay-4,
.section-delay-1,
.section-delay-2 {
  opacity: 1;
  transform: none;
  animation: none;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-soft);
}

.hero-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #d6b07b 100%);
  box-shadow: 0 0 0 5px rgba(183, 138, 74, 0.12);
}

.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-card {
  padding: 2rem;
}

.card-highlight {
  position: relative;
  overflow: hidden;
}

.card-highlight::after {
  content: "";
  position: absolute;
  inset: auto -50px -50px auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(183, 138, 74, 0.18), transparent 65%);
}

.hero-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  margin-bottom: 1.75rem;
}

.hero-stats {
  display: grid;
  gap: 1rem;
}

.hero-stats div {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 39, 66, 0.08);
}

.hero-stats strong,
.contact-card strong {
  display: block;
  font-size: 1.05rem;
  color: var(--primary);
}

.hero-stats span,
.contact-card span,
.footer-copy,
.form-note {
  color: var(--text-soft);
}

.section {
  padding: 2rem 0 5rem;
}

.section-intro {
  padding-top: 1rem;
}

.section-alt {
  background: linear-gradient(180deg, rgba(219, 231, 244, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
}

.intro-grid,
.benefits-layout,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.section-heading {
  max-width: 62rem;
  margin-bottom: 2rem;
}

.section h2,
.cta-panel h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 15ch;
}

.services-grid,
.benefits-grid,
.contact-cards {
  display: grid;
  gap: 1.25rem;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.service-card {
  flex: 0 1 calc((100% - 2.5rem) / 3);
}

.service-card,
.benefit-card,
.contact-card,
.contact-form,
.cta-panel {
  padding: 1.6rem;
}

.service-card h3,
.benefit-card h3,
.contact-form h3 {
  margin: 0 0 0.7rem;
  font-size: 1.18rem;
}

.service-card p,
.benefit-card p {
  margin: 0;
  color: var(--text-soft);
}

.service-card:hover,
.benefit-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 39, 66, 0.12);
  border-color: rgba(15, 39, 66, 0.14);
}

.icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: var(--primary-soft);
  color: var(--primary);
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefits-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.benefit-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.benefit-card:last-child {
  grid-column: 1 / -1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 14rem) 1fr;
  gap: 0.4rem 1.5rem;
  align-items: center;
}

.benefit-card:last-child h3 {
  margin: 0;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 2rem;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(15, 39, 66, 0.98) 0%, rgba(20, 56, 92, 0.95) 100%);
  color: #fff;
}

.cta-panel .section-kicker,
.cta-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-panel h2 {
  max-width: 17ch;
}

.contact-cards {
  margin-top: 2rem;
}

.contact-card {
  display: block;
}

.contact-card strong {
  margin-top: 0.25rem;
  font-size: 1.25rem;
}

.contact-form {
  background: var(--surface-strong);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-grid label {
  display: grid;
  gap: 0.55rem;
  color: var(--text);
  font-weight: 600;
}

.full-width {
  grid-column: 1 / -1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-status {
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  font-weight: 600;
}

.form-status-success {
  background: rgba(43, 122, 92, 0.12);
  border: 1px solid rgba(43, 122, 92, 0.18);
  color: #1f5f47;
}

.form-status-error {
  background: rgba(166, 62, 62, 0.1);
  border: 1px solid rgba(166, 62, 62, 0.16);
  color: #8a2f2f;
}

input,
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(21, 38, 61, 0.12);
  background: #fbfdff;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(15, 39, 66, 0.32);
  box-shadow: 0 0 0 4px rgba(15, 39, 66, 0.08);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form .button {
  margin-top: 1.2rem;
}

.form-note {
  display: block;
  margin: 0.9rem 0 0;
  font-size: 0.85rem;
  line-height: 1.55;
}

.form-note a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

/* About band */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.about-band {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(219, 231, 244, 0.4) 100%);
}

.about-grid .button {
  margin-top: 1.4rem;
}

/* Legal page (zásady zpracování osobních údajů) */
.legal-main {
  padding: 3.5rem 0 4.5rem;
}

.legal-main h1 {
  margin: 0 0 1.5rem;
  font-family: "Newsreader", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal-main h2 {
  margin: 2.2rem 0 0.7rem;
  font-size: 1.25rem;
  color: var(--primary);
}

.legal-main p,
.legal-main li {
  max-width: 75ch;
  color: var(--text-soft);
}

.legal-main ul {
  padding-left: 1.3rem;
}

.legal-main a:not(.button) {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.legal-updated {
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.site-footer {
  padding: 1.75rem 0 2.5rem;
}

.site-footer .footer-inner {
  align-items: end;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(21, 38, 61, 0.08);
}

.site-footer p {
  margin: 0.35rem 0 0;
  color: var(--text-soft);
}

.footer-legal {
  font-size: 0.9rem;
}

.footer-legal a {
  color: var(--text-soft);
  text-decoration: underline;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--primary);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  font-weight: 700;
}

.footer-copy {
  text-align: right;
  font-size: 0.92rem;
}

@media (max-width: 1024px) {
  .hero-grid,
  .intro-grid,
  .benefits-layout,
  .contact-grid,
  .cta-panel,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    flex-basis: calc((100% - 1.25rem) / 2);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1,
  .section h2,
  .cta-panel h2 {
    max-width: none;
  }
}

@media (max-width: 780px) {
  .site-header {
    position: static;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    min-height: 0;
    padding: 0.7rem 0;
  }

  .site-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1rem;
    font-size: 0.9rem;
  }

  .nav-cta {
    padding: 0.45rem 0.85rem;
  }

  .footer-inner,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-inner {
    padding: 1rem 0;
  }

  .hero {
    padding-top: 2rem;
  }

  .form-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card:last-child {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .service-card {
    flex-basis: 100%;
  }

  .section {
    padding: 1rem 0 4rem;
  }

  .contact-card strong {
    font-size: 1.12rem;
  }

  .footer-contact,
  .footer-copy {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 780px) {
  .site-nav a,
  .footer-contact a,
  .footer-legal a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .hero-animate,
  .section-animate {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
