/* =======================================================
  Sněhový Stěrač Soft Pastel CSS
  Created by Senior CSS Developer
  Only Flexbox for layout - NO CSS GRID!
  Mobile-first, Responsive, Brand Consistent Soft Pastel
======================================================== */

/* -------------- RESET & NORMALIZE -------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: #F7FAFC;
  font-family: 'Roboto', Arial, sans-serif;
  color: #23527b;
  font-size: 16px;
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
}

*, *:before, *:after { box-sizing: inherit; }
a { color: #154083; text-decoration: none; transition: color 0.2s; }
a:focus { outline: 2px solid #99CAF0;
  outline-offset: 2px; }
a:hover {
  color: #2361A8;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
ul, ol { margin-bottom: 24px; padding-left: 24px; }
ul li, ol li { margin-bottom: 8px; }
strong {font-weight: bold;}

/* Typography Scale (Soft Pastel) */
h1, .h1 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-size: 2.4rem;
  color: #154083;
  letter-spacing: -0.5px;
  font-weight: 700;
  margin-bottom: 20px;
}
h2 { font-family: 'Montserrat', sans-serif; font-size: 1.7rem; color: #154083; font-weight: 600; margin-bottom: 16px; }
h3 { font-family: 'Montserrat', sans-serif; font-size: 1.3rem; color: #2361a8; font-weight: 500; margin-bottom: 12px; }
h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #154083;
}
p, ul, ol { font-size: 1rem; color: #23527b; }

/* -------------- S O F T   P A S T E L   PALETTE -------------- */
:root {
  --brand-primary: #154083;
  --brand-secondary: #2361A8;
  --brand-accent: #E1EFF6;
  --pastel-blue: #e1eff6;
  --pastel-lavender: #eceffe;
  --pastel-mint: #d4f3ef;
  --pastel-pink: #fbeff0;
  --pastel-yellow: #fcf7e8;
  --dark-blue: #154083;
  --mid-blue: #2361a8;
  --soft-shadow: 0 6px 24px -8px rgba(33,63,120,0.18);
}

/* -------------- GLOBAL CONTAINERS & LAYOUTS -------------- */
.container {
  width: 100%;
  max-width: 1130px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  background: white;
  border-radius: 20px;
  box-shadow: var(--soft-shadow);
  padding: 32px 22px;
  margin-top: 18px;
  margin-bottom: 40px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--pastel-blue);
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: white;
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  min-width: 260px;
  flex: 1 1 280px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 12px 36px -10px rgba(33,63,120,0.24);
  transform: translateY(-2px) scale(1.02);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--pastel-lavender);
  border-radius: 18px;
  box-shadow: 0 4px 20px -6px rgba(20,64,131,0.09);
  margin-bottom: 24px;
  border: 1px solid #e2e6f6;
  max-width: 480px;
  color: #154083;
}
.testimonial-card strong {
  color: #2361a8;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--pastel-mint);
  border-radius: 16px;
  box-shadow: 0 2px 8px -1px rgba(28,60,80,0.07);
  padding: 22px 18px;
}

/* -------------- HEADER -------------- */
header {
  background: linear-gradient(90deg, #e1eff6 0%, #fcf7e8 100%);
  box-shadow: 0 2px 8px -2px #dde8f8;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header nav {
  display: flex;
  gap: 22px;
}
header nav a {
  padding: 8px 2px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #2361a8;
  border-radius: 5px;
  transition: background 0.15s, color 0.18s;
  font-size: 1rem;
}
header nav a:hover,
header nav a.active {
  background: var(--pastel-blue);
  color: #154083;
}
header .btn-primary {
  margin-left: 16px;
}

/* -------------- HERO SECTION -------------- */
.hero {
  background: linear-gradient(110deg, #e1eff6 75%, #fbeff0 100%);
  padding: 48px 0 42px 0;
  margin-bottom: 38px;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 8px 32px -4px rgba(33,63,120,.08);
}
.hero .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.hero .content-wrapper {
  text-align: center;
  background: transparent;
  box-shadow: none;
  margin: 0;
  padding: 0;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #154083;
  margin-bottom: 18px;
  font-family: 'Montserrat',Arial,sans-serif;
}
.hero p {
  color: #2361a8;
  font-size: 1.18rem;
  margin-bottom: 35px;
  line-height: 1.7;
}

/* -------------- BUTTONS -------------- */
.btn, .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(92deg, #d4f3ef 6%, #e1eff6 94%);
  color: #154083;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  padding: 12px 30px;
  border: none;
  border-radius: 32px;
  box-shadow: 0 2px 8px -2px #cde8fa66;
  cursor: pointer;
  margin-top: 12px;
  margin-bottom: 8px;
  transition: background 0.21s, color 0.21s, box-shadow 0.16s, transform 0.15s;
  outline: none;
  text-shadow: 0 1px 0 #fff4;
  gap: 8px;
}
.btn-primary:hover, .btn:active {
  background: linear-gradient(92deg, #eceffe 12%, #d4f3ef 88%);
  color: #2361a8;
  box-shadow: 0 5px 22px -4px #76a6d933;
  transform: translateY(-1px) scale(1.02);
}
.btn-primary:focus {
  outline: 2px solid #99CAF0;
  outline-offset: 2px;
}

/* -------------- FOOTER -------------- */
footer {
  background: linear-gradient(90deg, #e1eff6 0%, #fcf7e8 100%);
  color: #154083;
  margin-top: 58px;
  padding: 38px 0 21px 0;
  font-size: 1rem;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -4px 24px -6px #e2e6fa66;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  flex: 1 1 108px;
  min-width: 80px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 200px;
}
.footer-links a {
  color: #2361a8;
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 4px;
  padding: 4px 0;
  transition: color 0.16s, padding 0.14s;
}
.footer-links a:hover { color: #154083; padding-left: 3px; }
.footer-contact {
  flex: 2 1 240px;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 4px;
  color: #23527b;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  margin-top: 5px;
}
.footer-social a img {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 2px 3px #dda3e040);
  transition: transform 0.16s, filter 0.14s;
}
.footer-social a:hover img {
  transform: scale(1.13) rotate(-5deg);
  filter: drop-shadow(0 6px 15px #a8c4e036);
}

/* -------------- FORMS -------------- */
input, textarea, select {
  border-radius: 13px;
  border: 1px solid #cee4f3;
  padding: 12px 14px;
  font-size: 1rem;
  margin-bottom: 19px;
  font-family: 'Roboto', sans-serif;
  background: #fff;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #2361A8;
  outline: none;
}
label {
  font-family: 'Montserrat', sans-serif;
  color: #154083;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 1rem;
  display: block;
  letter-spacing: 0.2px;
}

/* -------------- FAQ ACCORDION -------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
}
.faq-accordion > div {
  background: var(--pastel-mint);
  padding: 16px 18px;
  border-radius: 14px;
  box-shadow: 0 3px 12px -6px #b6e7de44;
}
.faq-accordion h3 {
  color: #154083;
  font-size: 1.13rem;
  margin-bottom: 5px;
}
.faq-accordion p {
  font-size: 1rem;
  margin-bottom: 0;
  color: #226;
}

/* -------------- CUSTOM FLEX LAYOUTS -------------- */
/* Mandated spacing classes */
.features,
.card-grid 
{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.card-grid {
  justify-content: space-between;
}
.text-image-section { 
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-content { 
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
/* Section (mandated) spacing */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; 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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ------------------ MOBILE NAVIGATION ------------------ */
.mobile-menu-toggle {
  display: flex;
  background: none;
  border: none;
  font-size: 2rem;
  color: #2361a8;
  cursor: pointer;
  margin-left: 8px;
  align-items: center;
  justify-content: center;
  z-index: 110;
  border-radius: 8px;
  padding: 8px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #e1eff6;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(225, 239, 246, 0.98);
  box-shadow: 0 0 40px 0 #15408333;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.9,.03,.19,.82);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 28px 0 0;
  font-size: 2.2rem;
  color: #2361a8;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  padding: 6px 12px;
  transition: background 0.13s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #eceffe;
}
.mobile-nav {
  margin: 40px 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav a {
  color: #2361a8;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.2px;
  background: none;
  border-radius: 8px;
  padding: 10px 8px 10px 0;
  transition: color 0.12s, background 0.14s;
}
.mobile-nav a:hover {
  color: #154083;
  background: #e1eff6;
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 900px) {
  header .container nav,
  header .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ------------------ COOKIE CONSENT BANNER & MODAL ------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: linear-gradient(90deg, #e1eff6 60%, #fbeff0 100%);
  color: #154083;
  box-shadow: 0 -6px 36px -8px #a8c4e0;
  padding: 24px 18px 22px 18px;
  z-index: 2500;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.28s, transform 0.25s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(80px);
}
.cookie-banner-message {
  font-size: 1.04rem;
  margin-bottom: 6px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.btn-cookie {
  font-family: 'Montserrat',sans-serif;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 22px;
  margin-top: 0;
  color: #fff;
  background: #2361A8;
  transition: background 0.16s, color 0.13s, box-shadow 0.18s;
  box-shadow: 0 2px 8px -2px #cde8fa55;
  cursor: pointer;
}
.btn-cookie-reject {
  background: #90aadb;
  color: #fff;
}
.btn-cookie-settings {
  background: #fbeff0;
  color: #2361a8;
  border: 1.2px solid #e1e5f9;
}
.btn-cookie:hover, .btn-cookie:focus { background: #154083; }
.btn-cookie-settings:hover, .btn-cookie-settings:focus { color: #154083; background: #e1eff6; }

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33, 63, 120, 0.22);
  z-index: 2600;
  opacity: 1;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(32px);
  width: 96vw;
  max-width: 410px;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 0 48px -8px #1540832c;
  z-index: 2601;
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 1;
  transition: opacity 0.19s, transform 0.21s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(110px);
}
.cookie-modal-title {
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  font-size: 1.24rem;
  margin-bottom: 14px;
  color: #154083;
}
.cookie-modal-category {
  background: #e1eff6;
  border-radius: 12px;
  padding: 12px 9px 10px 15px;
  margin-bottom: 10px;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-modal-category input[type=checkbox] {
  accent-color: #154083;
  width: 18px;
  height: 18px;
  margin-right: 6px;
}
.cookie-modal-category.essential label::after {
  content: ' (nutné)';
  font-size: 0.9em;
  color: #90aadb;
  font-weight: 600;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}

/* ----------------- GOOGLE MAPS / CONTACT EMBED ----------------- */
.google-map {
  background: #e1eff6;
  border-radius: 18px;
  padding: 32px 0;
  margin: 15px 0 22px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.google-map img {
  width: 50px;
  height: 50px;
  opacity: 0.5;
}

/* ------------------ VISUAL MICRO-EFFECTS & TRANSITIONS ------------------ */
.card, .testimonial-card, .feature-item, .section, .content-wrapper, .btn, .btn-primary, .btn-cookie, .footer-social a img {
  transition-property: box-shadow, background, color, transform, border;
  transition-duration: 0.13s, 0.13s, 0.18s, 0.17s, 0.18s;
}

/* --------------- RESPONSIVE DESIGN (MOBILE FIRST) ---------------- */
@media (max-width: 900px) {
  .container, footer .container {
    flex-direction: column;
    gap: 18px !important;
    align-items: stretch !important;
    padding: 0 8px !important;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card-container { flex-direction: column; gap: 16px; }
  .text-image-section { flex-direction: column; gap: 18px; align-items: flex-start; }
  .footer-links { flex-direction: column; gap: 10px; }
}
@media (max-width: 650px) {
  .content-wrapper, .section { padding: 20px 8px; border-radius: 12px; }
  .hero { padding: 29px 0 26px 0; border-radius: 0 0 20px 20px; }
  h1, .h1 { font-size: 1.4rem; }
  h2 { font-size: 1.1rem; }
  .btn, .btn-primary { font-size: 1rem; padding: 9px 16px; border-radius: 19px; }
  .card, .feature-item, .testimonial-card {
    border-radius: 10px;
    padding: 13px 9px;
    min-width: 80px;
    font-size: 0.98rem;
  }
  .google-map { padding: 12px 0; }
}
@media (max-width: 450px) {
  .card,
  .feature-item,
  .testimonial-card { padding: 10px 4px; font-size: 0.96rem; }
}

/* ----------------- SPECIAL: TABLES ------------------- */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px -3px #a3d1f433;
  overflow: hidden;
}
th, td {
  padding: 12px 13px;
  border-bottom: 1px solid #e1eff6;
  text-align: left;
  font-family: 'Roboto',sans-serif;
  font-size: 0.98rem;
}
th {
  background: #e1eff6;
  font-family: 'Montserrat',sans-serif;
}

/* ----------------- ACCENTUATED CONTENT (e.g. Price, Tag) ------------- */
.price-tag, span.price {
  background: #fcf7e8;
  color: #154083;
  border-radius: 12px;
  padding: 3px 10px;
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
}

/* --------------- ANIMATION HELPERS --------------- */
.slide-in {
  animation: slideIn .38s cubic-bezier(.7,0,.43,1.18);
}
@keyframes slideIn {
  from { transform: translateY(38px) scale(0.97); opacity: 0.12; }
  to { transform: none; opacity: 1; }
}

/* --------------- ACCESSIBILITY ----------------- */
:focus-visible {
  outline: 2.5px solid #99CAF0;
  outline-offset: 2px;
}

/* --------------- PRINT OVERRIDE ----------------- */
@media print { 
  .hero, .btn, .btn-primary, .footer-social, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay { display: none !important; }
}
