/* HR komplet – Opravené styly */

/* === CSS proměnné === */
:root {
  --bg: #0f172a; 
  --muted: #475569; 
  --brand: #0ea5e9; 
  --brand-2: #22c55e;
  --paper: #fff; 
  --alt: #f1f5f9; 
  --ink: #0f172a; 
  --shadow: 0 10px 25px rgba(2, 6, 23, .12); 
  --radius: 16px;
  --content-max: 560px;
  --header-bg: #fff9eb;
}

/* === Reset a základní styly === */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--paper);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--alt);
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 0.5rem 0;
  color: var(--bg);
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--header-bg);
  border-bottom: 1px solid #e2e8f0;
  padding: 5px 0;
}

.header-inner {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.brand img {
  height: auto;
  width: auto;
  max-height: 112px;
  display: block;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
  align-items: center;
}

.menu a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: 10px;
  transition: background-color 0.2s;
}

.menu a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.menu .cta {
  background: #000;
  color: #fff;
}

.menu .cta:hover {
  background: #333;
}

.nav-toggle {
  display: none;
  border: none;
  background: rgba(0, 0, 0, 0.06);
  color: #000;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.5rem;
}

.sr-only {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* === Hero sekce === */
.hero {
  position: relative;
  padding-top: 48px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.08), transparent 60%);
}

.hero-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
}

.hero-copy {
  flex: 1;
  max-width: 560px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.hero .lead {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.hero-art {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 60px;
  background: radial-gradient(50% 60px at 50% -40px, rgba(14, 165, 233, 0.25), transparent 60%);
}

/* === Layouty === */
.two-col {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
}

.two-col > div:first-child {
  flex: 1;
  max-width: 560px;
}

.accent-card {
  flex: 0 0 auto;
  width: 100%;
  max-width: 480px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.inline-art {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: contain;
}

/* Logo styling */
.brand img {
  height: 112px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* === Karty === */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 2rem;
}

.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

/* === Služby === */
.service-block {
  margin: 2rem 0;
}

.service-block h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-block ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.service-block ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* === Kontakt === */
.contact {
  background: linear-gradient(0deg, rgba(34, 197, 94, 0.06), transparent 40%);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin: 2rem 0;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  border-radius: 12px;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(2, 6, 23, 0.15);
}

.contact-card span {
  font-size: 0.875rem;
  color: var(--muted);
}

.contact-card strong {
  font-size: 1.1rem;
  color: var(--ink);
}

/* === Footer === */
.site-footer {
  border-top: 1px solid #e2e8f0;
  background: #fbfdff;
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.foot-brand p {
  margin: 8px 0 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.foot-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 4px 8px;
  transition: color 0.2s;
}

.foot-nav a:hover {
  color: var(--ink);
}

/* === Tlačítka === */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn.outline {
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
}

.btn.outline:hover {
  background: var(--ink);
  color: #fff;
}

/* === Utility třídy === */
.muted {
  color: var(--muted);
  font-size: 0.875rem;
}

/* === Responzivní design === */
@media (max-width: 900px) {
  .hero-grid, .two-col {
    flex-direction: column;
    gap: 32px;
  }
  
  .hero-copy,
  .two-col > div:first-child {
    max-width: 100%;
  }
  
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .section {
    padding: 48px 0;
  }
  
  .accent-card {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  /* Header responzivní */
  .header-inner {
    height: 70px;
  }
  
  .brand img {
    max-height: 80px;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .menu {
    position: absolute;
    right: 20px;
    top: 70px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: none;
    flex-direction: column;
    width: 240px;
    padding: 8px;
    box-shadow: var(--shadow);
  }
  
  .menu.open {
    display: flex;
  }
  
  .menu a {
    width: 100%;
    padding: 10px 16px;
    border-radius: 8px;
  }
  
  /* Hero responzivní */
  .hero {
    padding-top: 32px;
    padding-bottom: 60px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  /* Kontakt karty */
  .contact-cards {
    grid-template-columns: 1fr;
  }
  
  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .section {
    padding: 32px 0;
  }
  
  .cards {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .menu {
    right: 16px;
    width: calc(100vw - 32px);
    max-width: 300px;
  }
}

/* === Utilita pro print === */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle {
    display: none;
  }
  
  .section {
    page-break-inside: avoid;
  }
}
