/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  height: 100%;
  min-height: 100%;
  background: linear-gradient(120deg,#F7F9FB,#FAE7E1 200%);
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #375072;
  background: linear-gradient(120deg,#F7F9FB 60%,#FAE7E1 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  outline: none;
  position: relative;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
a {
  color: #375072;
  text-decoration: none;
  transition: color .2s;
}
a:hover,
a:focus {
  color: #9f4b63;
  outline: none;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
th, td {
  border-bottom: 1px solid #e5e8ec;
  padding: 12px 10px;
  text-align: left;
}
th {
  background: #f0f3f7;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: .03em;
}
h1, h2, h3, h4, h5, h6 {
  color: #2d3748;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 14px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  line-height: 1.25;
  margin-top: 24px;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-top: 20px;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 15px;
}
p.subheadline {
  font-size: 1.25rem;
  color: #476490;
  margin-bottom: 26px;
  font-weight: 500;
}
strong {
  font-weight: 600;
}
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 22px 0 rgba(55,80,114,.12), 0 2px 6px 0 rgba(72,72,72,.03);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  align-items: flex-start;
  gap: 12px;
  display: flex;
  flex-direction: column;
}
/* --- SPACING AND FLEX LAYOUTS (MANDATORY PATTERNS) --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  flex: 1 1 260px;
  min-width: 260px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(55,80,114,.09);
  padding: 22px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s,transform .18s;
}
.card:hover {
  box-shadow: 0 6px 30px 0 rgba(55,80,114,.16);
  transform: translateY(-3px) scale(1.025);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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: #f8fafd;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(55,80,114,.08);
  transition: box-shadow .18s,transform .18s;
  color: #2d3748;
  flex-direction: column;
}
.testimonial-card strong {
  color: #375072;
  margin-top: 8px;
}
.testimonial-card span {
  font-size: 1.3rem;
  color: #c48c4a;
  margin-top: 6px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px 0 rgba(55,80,114,.12);
  transform: scale(1.025);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 0;
}
/* --- BUTTONS --- */
.btn-primary,
nav a.btn-primary,
.mobile-nav a.btn-primary {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  background: linear-gradient(90deg, #375072 65%, #49658b 100%);
  color: #fff;
  box-shadow: 0 3px 15px 0 rgba(55,80,114,0.13);
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background .18s, box-shadow .18s, transform .15s;
  outline: none !important;
  margin-top: 10px;
}
.btn-primary:hover,
nav a.btn-primary:hover,
.mobile-nav a.btn-primary:hover {
  background: linear-gradient(90deg, #375072 30%, #9f4b63 100%);
  box-shadow: 0 6px 24px 0 rgba(155,75,99,0.11);
  transform: scale(1.03);
}
.btn-secondary {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 26px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  background: #C2C8D0;
  color: #375072;
  border: none;
  cursor: pointer;
  margin: 8px 6px 0 0;
  transition: background .16s, color .16s, transform .13s;
}
.btn-secondary:hover {
  background: #9f4b63;
  color: #fff;
  transform: scale(1.025);
}
.btn-outline {
  background: #fff;
  color: #375072;
  border: 2px solid #C2C8D0;
  padding: 10px 24px;
  border-radius: 26px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: background .16s, border .16s, color .16s;
  margin: 8px 6px 0 0;
}
.btn-outline:hover {
  background: #375072;
  color: #fff;
  border-color: #375072;
}
/* --- BADGES --- */
.promo-badge {
  display: inline-block;
  background: linear-gradient(90deg, #375072 70%, #FAE7E1 100%);
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
  border-radius: 12px;
  padding: 3px 13px;
  margin-right: 8px;
  letter-spacing: .03em;
}
.service-tag {
  display: inline-block;
  background: #FAE7E1;
  color: #9f4b63;
  font-size: .93rem;
  font-weight: 600;
  border-radius: 15px;
  padding: 4px 12px;
  margin-left: 10px;
  vertical-align: middle;
}
/* --- HEADER & NAVIGATION --- */
header {
  background: linear-gradient(90deg, #FAE7E1 14%, #C2C8D0 100%);
  box-shadow: 0 1px 10px rgba(55,80,114,0.06);
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 16px;
  position: relative;
}
header img {
  height: 40px;
  margin-right: 24px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: #375072;
  padding: 7px 8px;
  border-radius: 20px;
  transition: background .12s, color .14s;
}
header nav a:hover,
header nav a.active {
  background: #fae7e1;
  color: #9f4b63;
}
header nav a.btn-primary {
  padding: 8px 24px;
  margin-left: 16px;
  background: linear-gradient(90deg, #375072 70%, #9f4b63 120%);
  color: #fff;
  font-weight: 700;
}
header nav a.btn-primary:hover {
  background: linear-gradient(90deg, #9f4b63 30%, #375072 100%);
}
.mobile-menu-toggle {
  display: none;
  background: #375072;
  color: #fff;
  font-size: 2rem;
  border: none;
  padding: 6px 16px;
  border-radius: 12px;
  margin-left: 22px;
  cursor: pointer;
  transition: background .14s;
  z-index: 1042;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #9f4b63;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(55,80,114,.95);
  z-index: 1200;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 30px;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.4,.2,.3,1.0);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  position: absolute;
  top: 18px;
  right: 26px;
  cursor: pointer;
  z-index: 1210;
  padding: 6px 15px;
  transition: color .22s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #FAE7E1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 60px;
  width: 100vw;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  padding: 14px 34px 14px 28px;
  width: 100%;
  border-radius: 0 30px 30px 0;
  margin-bottom: 2px;
  transition: background .17s,color .16s,padding .17s;
}
.mobile-nav a:hover,
.mobile-nav a.btn-primary {
  background: #FAE7E1;
  color: #375072;
}
.mobile-nav a.btn-primary {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 12px;
  background: linear-gradient(90deg, #9f4b63 20%, #FAE7E1 90%);
  color: #375072;
}
/* --- FOOTER --- */
footer {
  background: #375072;
  color: #fff;
  padding: 30px 0 10px;
}
footer .container {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
}
footer img {
  height: 36px;
  margin-bottom: 16px;
}
footer h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 7px;
  margin-top: 0;
  font-weight: 700;
}
footer ul {
  list-style: none;
  padding-left: 0;
}
footer li {
  margin-bottom: 8px;
}
footer a {
  color: #C2C8D0;
  font-size: 1rem;
  text-decoration: none;
  transition: color .14s;
}
footer a:hover {
  color: #FAE7E1;
}
footer p {
  color: #c9d2e1;
  margin-bottom: 8px;
}
footer .content-wrapper > div {
  min-width: 180px;
  flex: 1 1 220px;
  margin-right: 20px;
}
footer .content-wrapper > a {
  margin-right: 46px;
}
/* --- FORMS, SEARCH, TABLES --- */
input[type="search"] {
  width: 100%;
  max-width: 340px;
  padding: 12px 16px;
  font-size: 1.07rem;
  border: 2px solid #C2C8D0;
  border-radius: 18px;
  background: #f7f8fa;
  margin-bottom: 12px;
  transition: border-color .16s, box-shadow .16s;
}
input[type="search"]:focus {
  outline: none;
  border-color: #9f4b63;
  box-shadow: 0 0 0 2px #fae7e1;
}
/* Ordered/Unordered Lists for Features */
ul li strong, ol li strong {
  color: #9f4b63;
  font-weight: 600;
}
ul li, ol li {
  margin-bottom: 11px;
}
/* --- DLS (O nás) --- */
dl { margin-bottom: 18px; }
dl dt {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #375072;
  display: inline;
}
dl dd {
  display: inline;
  margin-left: 8px;
  color: #4b5772;
}
dl dt + dd:after { display: block; content: ""; margin-bottom: 9px; }

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  footer .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 910px) {
  footer .content-wrapper {
    flex-wrap: wrap;
    gap: 12px;
  }
  footer .content-wrapper > a {
    margin-bottom: 14px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.23rem; }
  header .container, .container {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .content-wrapper, .section {
    padding: 22px 6px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .card {
    margin-bottom: 16px;
  }
  .testimonial-card {
    gap: 13px;
    padding: 15px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper {
    margin-bottom: 36px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 540px) {
  html { font-size: 14px; }
  .btn-primary, nav a.btn-primary, .mobile-nav a.btn-primary {
    font-size: 1rem;
    padding: 10px 20px;
  }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.2rem; }
  header img, footer img {
    height: 28px;
  }
  input[type="search"] {
    font-size: .97rem;
    padding: 10px 10px;
  }
}
/* --- COOKIE CONSENT BANNER --- */
#cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  color: #2d3748;
  box-shadow: 0 -2px 18px 0 rgba(55,80,114,.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 5vw 24px 5vw;
  z-index: 1050;
  animation: cookieBannerIn .25s cubic-bezier(.3,.6,.45,1.1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(40px); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
#cookie-consent-banner p {
  color: #375072;
  font-size: 1rem;
  margin-bottom: 3px;
}
#cookie-consent-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
#cookie-consent-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: .98rem;
  padding: 7px 22px;
  margin: 0 2px 0 0;
  border-radius: 17px;
  border: none;
  cursor: pointer;
  outline: none;
  font-weight: 600;
  background: #C2C8D0;
  color: #375072;
  transition: background .16s, color .14s, transform .15s;
}
#cookie-consent-banner button.accept {
  background: linear-gradient(90deg, #375072 62%, #9f4b63 106%);
  color: #fff;
}
#cookie-consent-banner button.accept:hover {
  background: linear-gradient(90deg, #9f4b63 40%, #375072 120%);
  color: #fff;
  transform: scale(1.04);
}
#cookie-consent-banner button.reject {
  background: #fff;
  color: #375072;
  border: 2px solid #C2C8D0;
}
#cookie-consent-banner button.reject:hover {
  background: #C2C8D0;
  color: #375072;
}
#cookie-consent-banner button.settings {
  background: #FAE7E1;
  color: #9f4b63;
  font-weight: 600;
}
#cookie-consent-banner button.settings:hover {
  background: #f6caca;
  color: #9f4b63;
  transform: scale(1.05);
}
@media (max-width:700px){
  #cookie-consent-banner {
    flex-direction: column;
    gap: 9px;
    padding: 16px 4vw 16px 4vw;
    font-size: .97rem;
    align-items: flex-start;
  }
  #cookie-consent-banner .cookie-actions {
    margin-left: 0;
    width: 100%;
  }
}
/* --- COOKIE PREFERENCES MODAL --- */
#cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1300;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(55,80,114,.47);
  justify-content: center;
  align-items: center;
}
#cookie-modal-overlay.open {
  display: flex;
  animation: modalFadeIn .2s cubic-bezier(.34,.78,.56,.97);
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
#cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 9px 44px 0 rgba(52,79,118,.25);
  padding: 36px 18px 32px 28px;
  max-width: 400px;
  width: 85vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 1.03rem;
  position: relative;
  animation: modalSlideUp .28s cubic-bezier(.3,.87,.38,1.01);
}
@keyframes modalSlideUp {
  from {transform: translateY(40px); opacity: 0; }
  to   {transform: translateY(0); opacity: 1; }
}
#cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
#cookie-modal label {
  font-size: 1.06rem;
  display: flex;
  align-items: center;
  margin-bottom: 11px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
#cookie-modal .cookie-toggle {
  margin-left: 11px;
}
#cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 12px;
}
#cookie-modal .close-modal {
  background: none;
  color: #375072;
  border: none;
  font-size: 1.5rem;
  position: absolute;
  right: 18px;
  top: 16px;
  cursor: pointer;
  transition: color .15s;
}
#cookie-modal .close-modal:hover {
  color: #9f4b63;
}
#cookie-modal .always-enabled {
  color: #9f4b63;
  font-weight: 600;
}
/* --- ANIMATIONS --- */
.btn-primary, .btn-secondary, .btn-outline, header nav a {
  transition: background .16s, color .15s, box-shadow .18s,transform .13s;
}
.card, .testimonial-card {
  transition: box-shadow .17s,transform .19s;
}
.mobile-menu {
  transition: transform .38s cubic-bezier(.4,.2,.3,1.0);
}
/* --- MICRO-INTERACTIONS --- */
nav a:active, .btn-primary:active, .btn-secondary:active {
  transform: translateY(1.5px) scale(.97);
}
.mobile-nav a:active { background: #9f4b63 !important; color:#fafafa !important; }
input[type="search"]:active { border-color:#9f4b63; }

/* --- ACCESSIBILITY --- */
:focus-visible {
  outline: 2px dashed #9f4b63;
  outline-offset: 2px;
}

/* --- UTILITIES --- */
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.text-center { text-align: center !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-20 { gap: 20px; }

/* --- REMOVE ABS POSITION FROM CARDS --- */
.card, .testimonial-card {
  position: relative;
}

/* --- BRAND FONTS (GOOGLE FONTS FALLBACK) --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Open+Sans:wght@400;500;600&display=swap');
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
h1,h2,h3,h4,h5,h6, .btn-primary, .btn-secondary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* --- GRADIENT MODERN GLOBAL ACCENTS --- */
.section, .content-wrapper, .testimonial-card, .card {
  background: #fff;
}
.section:nth-child(2n), .content-wrapper:nth-child(2n) {
  background: linear-gradient(90deg,rgba(250,231,225,0.66) 58%,#f8fafd 100%);
}

/* --- PRINT --- */
@media print {
  header, footer, #cookie-consent-banner, #cookie-modal-overlay {display:none !important;}
  body, .container { background: #fff !important; color: #000; }
}
