:root {
  --accent-primary: #fcb315;
  --accent-secondary: #0093a5;
  --accent-tertiary: #d6b43e;
  --bg-main: #f7f7f4;
  --bg-elevated: #ffffff;
  --bg-hero: #fdfaf4;
  --text-main: #111111;
  --text-muted: #4b4b4b;
  --border-soft: #e0dece;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
  --radius-lg: 16px;
  --radius-pill: 999px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #fdf7e9 0, var(--bg-main) 45%);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

main {
  padding-top: 72px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / Nav */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(247, 247, 244, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(224, 222, 206, 0.7);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-logo {
  height: 32px;
  width: auto;
  display: block;
}

.brand-text-small {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.brand-text-name {
  font-size: 15px;
}

nav {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  padding: 4px 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary));
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-primary);
  color: #201600;
  box-shadow: 0 10px 20px rgba(252, 179, 21, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(252, 179, 21, 0.3);
}

.btn-outline {
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: rgba(0, 0, 0, 0.16);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

section {
  padding: 56px 0;
}

/* Footer */

footer {
  border-top: 1px solid rgba(224, 222, 206, 0.9);
  padding: 16px 0 20px;
  font-size: 12px;
  color: var(--text-muted);
  background: #f3f1e9;
}

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

.footer-block {
  max-width: 360px;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-social {
  margin-top: 6px;
  font-size: 12px;
}

.footer-social a {
  color: var(--accent-secondary);
}

.footer-social a:hover {
  color: var(--accent-primary);
}

/* Responsive */

/* Hamburger se zapina uz na 1040 px, ne na 768. Vodorovne menu potrebuje
   ~1030 px (logo + 8 odkazu + 2 tlacitka); pod tim se drtilo. Kdyz do
   .nav-links pribude dalsi polozka, premer si tenhle breakpoint znovu. */
@media (max-width: 1040px) {
  .nav-panel {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-header.nav-open .nav-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    padding: 14px 20px 16px;
    background: rgba(247, 247, 244, 0.98);
    border-bottom: 1px solid rgba(224, 222, 206, 0.9);
  }

  .site-header.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .site-header.nav-open .nav-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

}

@media (max-width: 768px) {
  section {
    padding: 44px 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
