/* CSS 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,main,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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.65;
  background: #F4F4F9;
  color: #263159;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 16px;
  box-shadow: none;
}
a {
  color: #22336B;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #E4A631;
  outline: none;
}
ul, ol {
  margin-left: 18px;
  margin-bottom: 16px;
}

/* BRAND COLORS (pastel-variant) */
:root {
  --primary: #22336b;
  --primary-pastel: #6476b7;
  --secondary: #F4F4F9;
  --accent: #e4a631;
  --accent-pastel: #ffe4b3;
  --pastel-blue: #dae2f8;
  --pastel-pink: #f7eae6;
  --pastel-lavender: #ece4f6;
  --pastel-green: #e8f6ef;
  --pastel-yellow: #fffbed;
  --danger: #fb4b49;
  --shadow: rgba(96,122,172,0.12);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, .subheadline {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.33rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 10px;
}
p, li, dd {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #263159;
  margin-bottom: 12px;
  letter-spacing: 0.01em; 
}
.subheadline {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--primary-pastel);
  margin-bottom: 18px;
}
strong { font-weight: 700; color: var(--primary); }
address { font-style: normal; color: #61698f; }

/* BUTTONS */
.btn-primary, .main-nav a.btn-primary, .mobile-nav a.btn-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(90deg, var(--accent-pastel) 20%, var(--pastel-yellow) 80%);
  color: var(--primary);
  padding: 12px 32px;
  border: none;
  border-radius: 22px;
  font-size: 1.08rem;
  margin: 12px 0;
  font-weight: 600;
  box-shadow: 0 2px 8px var(--shadow);
  cursor: pointer;
  transition: background 0.14s, color 0.12s, box-shadow 0.16s, transform 0.14s;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #ffdab3 0%, #ffeec7 100%);
  color: #9d6700;
  box-shadow: 0 4px 18px rgba(228,166,49,0.15);
  transform: translateY(-2px) scale(1.022);
  outline: none;
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.content-wrapper {
  background: white;
  border-radius: 28px;
  padding: 32px 22px;
  margin-bottom: 36px;
  box-shadow: 0 2px 28px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* SECTION SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
}

/* ALTERNATE SECTIONS */
section:nth-child(even) .content-wrapper {
  background: var(--pastel-blue);
}
section:nth-child(odd) .content-wrapper {
  background: var(--pastel-yellow);
}

@media (max-width: 991px) {
  .container { max-width: 100%; }
  .content-wrapper { padding: 24px 8px; }
}

/* FLEXBOX LAYOUTS */
.feature-grid, .news-teasers, .review-cards, .card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container { gap: 24px; }
.card {
  background: white;
  border-radius: 22px;
  box-shadow: 0 3px 14px var(--shadow);
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.19s, transform 0.12s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(34,51,107,0.13);
  transform: translateY(-3px) scale(1.014);
}
.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;
  background: var(--pastel-blue);
  box-shadow: 0 2px 10px var(--shadow);
  border-radius: 16px;
  padding: 20px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1C244B;
  margin-bottom: 22px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------- SPECIAL COMPONENTS --------- */
.news-teasers article,
.feature-grid > div,
.review-cards > div,
.award_highlights,
.card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 2px 13px var(--shadow);
  padding: 20px 18px;
  min-width: 230px;
  flex: 1 1 260px;
  transition: box-shadow 0.14s, transform 0.1s;
  margin-bottom: 20px;
}
.news-teasers article:hover,
.feature-grid > div:hover,
.review-cards > div:hover,
.award_highlights:hover {
  box-shadow: 0 8px 28px rgba(100,118,183,0.14);
  transform: translateY(-2px) scale(1.01);
}

/* List and Table Styles */
ul, ol { color: #48496a; }
ul li::marker, ol li::marker { color: var(--primary-pastel); }
dt { font-weight: 600; color: var(--primary); margin-top: 14px; }
dd { margin-left: 12px; }

/* Forms & Inputs */
select, input, textarea {
  font-family: inherit;
  border-radius: 8px;
  border: 1.5px solid #ececec;
  padding: 9px 12px;
  font-size: 1rem;
  background: #fafbff;
  color: #213172;
  margin: 0 4px 14px 0;
  transition: border 0.2s;
}
select:focus, input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-pastel);
}

/* MAIN NAVIGATION */
header {
  background: linear-gradient(90deg, var(--pastel-blue) 60%, var(--pastel-pink) 100%);
  box-shadow: 0 3px 13px rgba(110,141,212,0.08);
  z-index: 101;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 80px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
  font-size: 1rem;
  border-radius: 12px;
  padding: 8px 16px;
  transition: background 0.1s, color 0.1s, box-shadow 0.18s;
}
.main-nav a:hover:not(.btn-primary), .main-nav a:focus:not(.btn-primary) {
  background: var(--accent-pastel);
  color: #9d6700;
  outline: none;
  box-shadow: 0 2px 10px var(--shadow);
}
/* Burger Menu Button */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fffbe8;
  font-size: 2rem;
  border: none;
  border-radius: 12px;
  padding: 4px 17px 1.5px 15px;
  cursor: pointer;
  margin-left: 16px;
  box-shadow: 0 2px 9px var(--shadow);
  transition: background 0.13s, transform 0.12s;
  z-index: 205;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #ffcb5c;
  color: #a16a00;
  transform: scale(1.08);
}

@media (min-width: 901px) {
  .mobile-menu-toggle { display: none; }
  .main-nav { display: flex; }
}
@media (max-width: 900px) {
  .main-nav { display: none !important; }
  header .container { height: auto; gap: 0; }
}

/* MOBILE MENU/OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: linear-gradient(120deg, var(--pastel-lavender) 70%, var(--pastel-blue) 110%);
  z-index: 400;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.75,0,0.21,1), box-shadow 0.22s;
  box-shadow: 0 24px 48px rgba(60,70,128,0.10);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 26px;
  right: 20px;
  font-size: 2.3rem;
  background: none;
  color: var(--primary);
  border: none;
  cursor: pointer;
  z-index: 202;
  padding: 2px 10px;
  transition: color 0.16s, transform 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #cf8700;
  transform: scale(1.1);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding: 72px 32px 16px 32px;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.24rem;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 500;
  width: 100%;
  transition: background 0.13s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent-pastel);
  color: #a16a00;
}

@media (max-width: 500px) {
  .mobile-nav { padding-left: 13px; padding-right: 13px; }
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, var(--pastel-blue) 70%, var(--pastel-pink) 120%);
  color: var(--primary);
  padding: 28px 0 0 0;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid #e0e3f3;
  padding-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #48496a;
  transition: color 0.12s;
  padding: 4px 0;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #dda139;
}
.footer-bottom {
  font-size: 0.99rem;
  padding: 22px 0 0 0;
  color: #717bb4;
}
.footer-bottom a { color: #6d80b3; text-decoration: underline; font-size: inherit; }
.footer-bottom a:hover { color: #e4a631; text-decoration: underline; }

/* SPECIAL: Cookie Consent Banner & Modal */
#cookie-banner, .cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg,#fefae0 70%,#e6eaf7 100%);
  box-shadow: 0 -1px 18px rgba(120,130,160,0.13);
  z-index: 4020;
  padding: 24px 11px 24px 11px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-radius: 22px 22px 0px 0px;
  font-family: 'Roboto', Arial, sans-serif;
}
#cookie-banner p, .cookie-banner p {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-btn, .cookie-banner button {
  margin: 0 5px;
  padding: 10px 22px;
  border-radius: 18px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.13s, color 0.12s, box-shadow 0.1s;
}
.cookie-btn.accept {
  background: var(--accent);
  color: #fffbe0;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #ffcb5c; color: #1c1a16;
}
.cookie-btn.reject {
  background: #d9dde8;
  color: #313a65;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #bac4df;
}
.cookie-btn.settings {
  background: #9bcbe9;
  color: #22336B;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #78b2d7;
  color: #22336b;
}

/* COOKIE MODAL */
#cookie-modal, .cookie-modal {
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(36,51,107,0.24);
  z-index: 4030;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.33s;
}
#cookie-modal.open, .cookie-modal.open {
  opacity: 1; pointer-events: all;
}
.cookie-modal-content {
  background: linear-gradient(120deg,#f7eae6 70%,#e8f6ef 100%);
  border-radius: 22px;
  max-width: 390px;
  width: 100vw;
  padding: 32px 26px 22px 26px;
  box-shadow: 0 10px 40px rgba(90,113,171,0.20);
  text-align: left;
  font-family: 'Roboto', Arial, sans-serif;
  position: relative;
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 1.22rem;
  margin-bottom: 14px;
}
.cookie-modal-content ul {
  margin-left: 14px;
  font-size: 1rem;
  color: #434D6D;
}
.cookie-modal-content .toggle-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.toggle-switch {
  position: relative;
  width: 42px;
  height: 24px;
  display: inline-flex;
  align-items: center;
}
.toggle-switch input { display: none; }
.toggle-slider {
  position: absolute;
  cursor: pointer;
  background: #e4e7f3;
  border-radius: 12px;
  transition: background 0.16s;
  width: 100%;
  height: 100%;
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--accent);
}
.toggle-slider:before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 20px; height: 20px;
  background: #f8f6ef;
  border-radius: 50%;
  transition: transform 0.16s;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(18px);
  background: #ffe4b3;
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 13px;
  font-size: 1.45rem;
  background: none;
  color: var(--primary);
  border: none;
  cursor: pointer;
  z-index: 21;
}
.cookie-modal-close:hover {
  color: var(--danger);
}
.cookie-modal-content .cookie-btn {
  margin-top: 18px;
  width: auto;
}
.cookie-modal-content .cookie-btn + .cookie-btn {
  margin-left: 7px;
}

/* SPECIAL UTILITIES */
.text-center { text-align: center; }
.centered { display: flex; align-items: center; justify-content: center; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.bg-pastel-blue { background: var(--pastel-blue)!important; }
.bg-pastel-lavender { background: var(--pastel-lavender)!important; }
.bg-pastel-green { background: var(--pastel-green)!important; }
.bg-pastel-yellow { background: var(--pastel-yellow)!important; }

/* ICONS */
img[alt^="Ikona"], img[alt^="Telefon"], img[alt^="E-mail"], img[alt^="Otevírací doba"] {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 7px;
  margin-bottom: -1.5px;
}

/* MICRO-INTERACTIONS */
.feature-grid > div, .review-cards > div, .news-teasers article, .card {
  transition: box-shadow 0.13s, transform 0.13s;
}
.feature-grid > div:hover, .review-cards > div:hover, .news-teasers article:hover, .card:hover {
  box-shadow: 0 7px 26px rgba(100,118,183,0.18);
  transform: translateY(-2px) scale(1.012);
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
  .feature-grid, .news-teasers, .review-cards, .card-container, .card-grid {
    flex-direction: column;
    gap: 22px;
  }
  .content-grid { flex-direction: column; gap: 18px; }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  .footer-main { flex-direction: column; gap: 15px; }
  .footer-nav { flex-direction: column; gap: 8px; align-items: flex-start; }
}
@media (max-width: 550px) {
  .content-wrapper { padding: 14px 2px; }
  .feature-grid, .card-container { gap: 12px; }
  .footer-main, .footer-nav { gap: 7px; }
  header .container { flex-direction: column; gap: 0; height: auto; padding: 10px 0; }
  section { padding: 22px 0; }
}

/* FOCUS STATES for ACCESSIBILITY */
a:focus, button:focus, select:focus, input:focus, .btn-primary:focus, .main-nav a:focus, .mobile-nav a:focus {
  outline: 2px dashed var(--accent);
  outline-offset: 2px;
}

/* TESTIMONIALS & REVIEWS */
.testimonial-card, .review-cards > div {
  background: var(--pastel-blue);
  color: #16204c;
  box-shadow: 0 2px 10px var(--shadow);
  border-radius: 16px;
}
.review-cards > div h3, .review-cards > div span {
  color: var(--primary);
  line-height: 1.2;
}
.review-cards > div span {
  font-size: 1.08rem;
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}

/* QUICK-LINKS style (recenze) */
.quick-links a {
  color: var(--accent);
  font-weight: 600;
  transition: color 0.12s;
}
.quick-links a:hover { color: var(--primary-pastel); }

/* CARDS and AWARDS */
.award_highlights {
  background: var(--pastel-green);
  border: 1.5px solid #bee5d3;
  color: #1a4032;
  border-radius: 18px;
  box-shadow: 0 1.5px 13px rgba(64,174,115,0.06);
  transition: box-shadow 0.11s, background 0.11s;
}
.award_highlights:hover {
  box-shadow: 0 3.5px 24px rgba(34,133,80,0.12);
  background: #d4ecde;
}

/* UTILITY SPACING for ALL CARDS/SECTIONS */
section, .card, .news-teasers article, .feature-grid > div, .review-cards > div, .award_highlights {
  margin-bottom: 20px;
}
.gap-card { margin-bottom: 24px; }

/* HI-DPI LOGO rendering */
img[alt^="Divoldí Col"] {
  max-height: 56px;
  width: auto;
}

/* END OF CSS */