/* ========== CSS RESET & BASE STYLES ========== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #222831;
  color: #ECECEC;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #FFD369;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff;
  text-decoration: underline;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
ul ul, ol ol {
  margin-bottom: 0;
}
strong, b {
  font-weight: 700;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #FFD369;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
}
address {
  font-style: normal;
  color: #ECECEC;
}
p {
  margin-bottom: 18px;
}

/* ========== BRAND CONTAINER ========== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: #393E46;
  box-shadow: 0 2px 8px rgba(29,34,40,0.14);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
header img {
  height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: #ECECEC;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 1rem;
  position: relative;
  padding: 6px 0;
  transition: color 0.18s;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  background: #FFD369;
  width: 0%;
  transition: width 0.23s cubic-bezier(0.33,1,0.68,1);
  border-radius: 1px;
  margin-top: 2px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #FFD369;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 70%;
}

/* ===== Hamburger Mobile Button ===== */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  padding: 8px 12px;
  background: none;
  border: none;
  color: #FFD369;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  border-radius: 6px;
  z-index: 1101;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FFD36922;
  color: #fff;
}

@media (min-width: 1025px) {
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===== Mobile Menu ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 100vh;
  background: #272d35ee;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.74,0.13,0.22,0.86);
  display: flex;
  flex-direction: column;
  padding: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 16px 0 10px 19px;
  font-size: 2rem;
  color: #FFD369;
  background: none;
  border: none;
  align-self: flex-start;
  cursor: pointer;
  transition: color 0.18s;
  border-radius: 6px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  background: #FFD36922;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 20px 35px 0 35px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #FFD369;
  padding: 9px 0;
  border-bottom: 1px solid #333841;
  transition: color 0.16s, background 0.12s;
  border-radius: 5px;
  display: flex;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #393E4688;
  color: #fff;
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
}

@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ==== FLOATING SCROLL LOCK for open mobile menu ==== */
body.mobile-menu-open {
  overflow: hidden;
}

/* ========== HERO, SECTIONS & FLEX LAYOUTS ========== */
.hero {
  background: #181C22;
  padding: 56px 0 24px 0;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.hero h1 {
  color: #FFD369;
  font-size: 2.5rem;
  line-height: 1.14;
  margin-bottom: 0;
}
.hero p {
  color: #E6E6E6;
  font-size: 1.15rem;
  margin-bottom: 6px;
  max-width: 680px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #23282F;
  border-radius: 15px;
  box-shadow: 0 4px 24px 0 rgba(12,17,22,0.14);
  position: relative;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #23282F;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(29,34,40,0.13), 0 0.5px 1.5px rgba(255,211,105,0.05);
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #ECECEC;
  color: #23272F;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 2px 6px 0 rgba(29,34,40,0.08);
  font-style: italic;
  position: relative;
  flex-wrap: wrap;
  min-width: 0;
}
.testimonial-card p {
  margin-bottom: 4px;
  flex: 1;
}
.testimonial-card span {
  font-weight: 600;
  color: #393E46;
  font-style: normal;
  font-size: 1rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== SERVICE GRID & CARDS ==========
   (On index, sluzby, etc.)
=========================================== */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 24px;
}
.service-card {
  background: #23282F;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(29,34,40,0.13), 0 0.5px 1.5px rgba(255,211,105,0.04);
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 18px 20px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.service-card img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  filter: brightness(0.89) contrast(1.2);
}
.service-card h3 {
  font-size: 1.18rem;
  color: #FFD369;
  margin-bottom: 8px;
}
.service-card p {
  font-size: 1rem;
  color: #E6E6E6;
}
.service-card strong {
  color: #FFD369;
  font-weight: 700;
}
.service-card:hover,
.service-card:focus-within {
  box-shadow: 0 8px 30px rgba(255,211,105,0.11), 0 1.5px 4px rgba(57,62,70,0.19);
  transform: translateY(-4px) scale(1.025);
  outline: none;
}

/* ========== BUTTONS ========== */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 34px 12px 30px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  letter-spacing: 0.04em;
  transition: background 0.22s, box-shadow 0.15s, color 0.14s, transform 0.18s;
  cursor: pointer;
  margin-top: 10px;
}
.btn-primary {
  background: #FFD369;
  color: #23282F;
  box-shadow: 0 2px 10px 0 rgba(255,211,105,0.13);
}
.btn-primary:hover, .btn-primary:focus {
  background: #FFCB00;
  color: #181C22;
  box-shadow: 0 5px 16px 0 rgba(255,211,105,0.23);
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  background: #393E46;
  color: #FFD369;
  box-shadow: 0 2px 10px 0 rgba(57,62,70,0.14);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #222831;
  color: #FFD369;
  box-shadow: 0 2px 12px 0 rgba(57,62,70,0.22);
  transform: translateY(-2px) scale(1.03);
}

/* ========== FOOTER ========== */
footer {
  background: #181C22;
  padding: 28px 0 15px 0;
  box-shadow: 0 -2px 8px rgba(29,34,40,0.06);
  margin-top: 48px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-bottom: 15px;
}
.footer-nav a {
  color: #FFD369;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.brand-footer {
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand-footer img {
  width: 38px;
  height: 38px;
  filter: grayscale(0.15) brightness(0.88) contrast(1.12);
}
.brand-footer span {
  color: #ECECEC;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}

/* ========== CATEGORY LISTS, FILTERS, ETC. ========== */
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin-bottom: 20px;
}
.category-list li {
  border: 1.2px solid #FFD369;
  border-radius: 8px;
  background: #393E46;
  color: #FFD369;
  padding: 9px 16px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 10px;
  transition: background 0.17s, color 0.15s;
}
.category-list li:hover {
  background: #FFD369;
  color: #23282F;
}
.text-section {
  margin: 16px 0 0 0;
  padding: 0;
}

/* ========== ADDRESS & FORM ELEMENTS ========== */
address, .text-section ul {
  font-size: 1rem;
  margin-top: 6px;
  color: #FFD369;
}
.text-section ul {
  color: #ECECEC;
  margin-bottom: 18px;
}
.text-section h2 {
  color: #FFD369;
  font-size: 1.22rem;
  margin-bottom: 10px;
}
.text-section a {
  color: #FFD369;
  text-decoration: underline;
}
.text-section a:hover {
  color: #fff;
}

/* ========== UTILITY & TYPOGRAPHY ========== */
::-webkit-input-placeholder { color: #888; opacity: 1; }
::-moz-placeholder { color: #888; opacity: 1; }
:-ms-input-placeholder { color: #888; opacity: 1; }
::placeholder { color: #888; opacity: 1; }

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: 1.1px solid #393E46;
  border-radius: 6px;
  padding: 10px 14px;
  background: #23282F;
  color: #ECECEC;
  margin-bottom: 14px;
  transition: border 0.13s, background 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #FFD369;
  outline: none;
  background: #222831;
}

/* ========== RESPONSIVE DESIGN BREAKPOINTS ========== */
@media (max-width: 980px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .service-grid {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .hero {
    padding: 32px 0 12px 0;
    margin-bottom: 34px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .card-container,
  .service-grid {
    gap: 14px;
  }
  .footer-nav {
    gap: 18px;
  }
  .brand-footer {
    gap: 8px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 14px;
    gap: 10px;
    margin-bottom: 16px;
  }
  .category-list {
    gap: 8px;
    margin-bottom: 18px;
  }
  .service-card {
    min-width: 160px;
    max-width: 100%;
    padding: 16px 10px;
  }
}
@media (max-width: 512px) {
  header .container {
    flex-direction: row;
    padding: 8px 5px;
  }
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.1rem;
  }
}

/* ========== HOVER/ACTIVE/FOCUS ANIMATIONS ========== */
button, .btn-primary, .btn-secondary, .service-card {
  outline: none;
}
button:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible, .service-card:focus-visible {
  box-shadow: 0 0 0 2.2px #FFD3697c !important;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #292e35f2;
  color: #F8F8F8;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 18px 24px;
  box-shadow: 0 -4px 16px rgba(34,40,49,0.22);
  transition: transform 0.33s cubic-bezier(0.80,0,0.40,1);
  font-size: 1rem;
  border-top: 2.5px solid #FFD369;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner p {
  margin: 0 0 6px 0;
  color: #FFD369;
  font-weight: 500;
  font-size: 1.04rem;
}
.cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cookie-btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  border-radius: 6px;
  padding: 9px 22px;
  border: none;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background 0.18s, color 0.13s, box-shadow 0.14s;
  margin-left: 0;
}
.cookie-btn.accept {
  background: #FFD369;
  color: #272d35;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #FFCB00;
  color: #181C22;
}
.cookie-btn.reject {
  background: #393E46;
  color: #FFD369;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #222831;
  color: #FFD369;
}
.cookie-btn.settings {
  background: transparent;
  color: #FFD369;
  border: 1.2px solid #FFD369;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #FFD36922;
  color: #fff;
}
@media (max-width: 624px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 8px 14px 8px;
    font-size: 0.97rem;
  }
  .cookie-btn-group {
    gap: 8px;
    justify-content: flex-start;
  }
}

/* ========== COOKIE MODAL POPUP ========== */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1500;
  background: rgba(34,40,49,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.33s cubic-bezier(0.82,0.01,0.25,1);
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #23282F;
  color: #ECECEC;
  border-radius: 14px;
  box-shadow: 0 6px 42px rgba(20,20,30,0.31);
  max-width: 432px;
  width: 95vw;
  padding: 36px 24px 24px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cookieModalIn 0.38s cubic-bezier(0.74,0,0.29,1) 1;
}
@keyframes cookieModalIn {
  0% { transform: scale(0.85) translateY(60px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.2rem;
  margin: 0 0 12px 0;
  color: #FFD369;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 7px 0 13px 0;
  font-size: 1.05rem;
}
.category-toggle {
  position: relative;
  display: flex;
  align-items: center;
}
.cookie-switch {
  width: 44px;
  height: 22px;
  background: #393E46;
  border-radius: 11px;
  position: relative;
  cursor: pointer;
  border: 1.2px solid #FFD369;
  transition: background 0.14s, border 0.14s;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.cookie-slider {
  position: absolute;
  top: 2.5px;
  left: 2.3px;
  width: 18px;
  height: 17px;
  background: #FFD369;
  border-radius: 50%;
  transition: transform 0.22s cubic-bezier(0.6,1.4,0.4,1), background 0.15s;
  box-shadow: 0 2px 5px rgba(34,40,49,0.11);
}
.cookie-switch input[type="checkbox"]:checked + .cookie-slider {
  transform: translateX(20px);
  background: #FFD369;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal .cookie-btn {
  min-width: 90px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  color: #FFD369;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.12s;
}
.cookie-modal-close:hover {
  color: #fff;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 16px 6vw;
    max-width: 96vw;
  }
}

/* ========== MISC: DETAILS, Z-INDEX, SHADOWS, ETC. ========== */
::-webkit-scrollbar {
  width: 10px;
  background: #20242a;
}
::-webkit-scrollbar-thumb {
  background: #393E46;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FFD369;
}

/* ========== PRINT SUPPORT ========== */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #222 !important;
  }
}
