/* =========================================================
   SOFT TIDE TŁUMACZENIA - GRADIENT MODERN THEME CSS
   Responsive, gradient_modern, flexbox-based. Brand colors/fonts.
   ========================================================= */

/* -------------------------
   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,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F5F6FB;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1A2233;
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
}
*, *::before, *::after { box-sizing: inherit; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; border: 0; }

/* -----------------------------------------
   BRAND TYPOGRAPHY & HEADINGS HIERARCHY
------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  color: #1A2233;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 10px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 600;
}
p, ul, ol, table {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #202a3a;
}
strong, b { font-weight: 700; }

/* -----------------------------------------
   CONTAINER, FLEX LAYOUTS, SECTIONS
------------------------------------------ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* CRITICAL FLEXBOX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(60, 70, 120, 0.10);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  min-width: 250px;
  min-height: 180px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 28px 0 rgba(70, 139, 175, 0.18);
  z-index: 2;
}
.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;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(70, 139, 175, 0.09);
  border-left: 5px solid #488BAF;
  transition: box-shadow 0.2s;
  color: #161b27;
  font-size: 1.0625rem;
}
.testimonial-card:hover {
  box-shadow: 0 4px 22px rgba(70, 139, 175, 0.14);
}
/* Feature item */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Feature Grid */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  background: #fff;
  border-radius: 16px;
  padding: 28px 20px 24px 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px rgba(70, 139, 175, 0.10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
  border-left: 4px solid #488BAF;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 32px rgba(70,139,175,0.20);
  transform: translateY(-2px) scale(1.01);
}

/* -------------------------
   HERO SECTION
------------------------- */
.hero {
  background: linear-gradient(90deg, #488BAF 0%, #1A2233 100%);
  color: #fff;
  padding: 72px 0 64px 0;
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.hero .container { z-index: 2; }
.hero .content-wrapper { gap: 32px; }
.hero h1, .hero p {
  color: #fff;
}
.hero .cta {
  margin-top: 8px;
  box-shadow: 0 2px 12px rgba(25,40,60,0.10);
}

/* ----------------------
   HEADER & NAVIGATION
----------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(70, 139, 175, 0.06);
  z-index: 30;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
  margin-right: 16px;
}
header nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #1A2233;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  position: relative;
  z-index: 1;
}
header nav a:hover, header nav a:focus {
  background: #e8f3fa;
  color: #488BAF;
}
header .cta.primary {
  min-width: 156px;
  margin-left: 10px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  border-radius: 12px;
  background: linear-gradient(90deg, #488BAF 0%, #38afd4 100%);
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 1.045rem;
  box-shadow: 0 2px 14px 0 rgba(70, 139, 175, 0.12);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.17s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
header .cta.primary:hover, header .cta.primary:focus {
  background: linear-gradient(90deg, #204B6B 0%, #488BAF 100%);
  color: #fff;
  box-shadow: 0 8px 28px 0 rgba(70,139,175,0.21);
  transform: translateY(-2px) scale(1.04);
}

/* ----------------------
   MOBILE MENU & TOGGLE
------------------------ */
.mobile-menu-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99;
  background: #488BAF;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 2rem;
  cursor: pointer;
  display: none;
  transition: background 0.18s, transform 0.17s;
  box-shadow: 0 2px 8px rgba(70, 139, 175, 0.13);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #1A2233;
  color: #fff;
  transform: scale(1.07);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  height: 100vh;
  width: 100vw;
  background: #f5f6fb;
  box-shadow: 0 4px 38px rgba(70, 139, 175, 0.16);
  z-index: 120;
  transform: translateX(-110%);
  transition: transform 0.38s cubic-bezier(.78,.08,.23,.91);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #488BAF;
  font-size: 2.2rem;
  padding: 20px 20px 10px 20px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.18s, transform 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #1A2233;
  transform: scale(1.12);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  color: #204B6B;
  padding: 20px 32px;
  border-bottom: 1px solid #e4e9f0;
  width: 100%;
  background: transparent;
  transition: background 0.17s, color 0.17s;
  text-align: left;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e8f3fa;
  color: #488BAF;
}

/* --------------------
   MAIN SECTIONS
---------------------*/
main section { margin-bottom: 60px; }
main ul, main ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
main ul li, main ol li {
  margin-bottom: 10px;
  position: relative;
  font-size: 1rem;
}
main ul li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #488BAF;
  border-radius: 50%;
  margin-right: 12px;
  vertical-align: middle;
  margin-bottom: 1.5px;
}
main ol li {
  list-style: decimal inside;
  margin-left: 0;
}

/* --------------------
   TABLES
---------------------*/
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 7px rgba(70,139,175,0.12);
  margin-bottom: 24px;
  overflow: hidden;
}
thead, tr:nth-child(odd) { background: #f7fafc; }
th, td {
  padding: 16px 10px;
  text-align: left;
  font-size: 1rem;
}
th {
  color: #488BAF;
  border-bottom: 2px solid #dfebf4;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}
td {
  border-bottom: 1px solid #eaeef4;
}

/* -------------------------
   BUTTONS & LINKS
-------------------------- */
.cta, button, .mobile-menu-toggle, .mobile-menu-close {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.15s, transform 0.17s;
  text-align: center;
  user-select: none;
}
.cta.primary {
  background: linear-gradient(90deg, #488BAF 0%, #1A2233 100%);
  color: #fff;
  border-radius: 12px;
  padding: 12px 28px;
  font-size: 1.07rem;
  box-shadow: 0 2px 14px 0 rgba(70, 139, 175, 0.12);
  display: inline-block;
}
.cta.primary:focus, .cta.primary:hover {
  background: linear-gradient(90deg, #204B6B 0%, #488BAF 100%);
  color: #fff;
  box-shadow: 0 6px 38px rgba(70, 139, 175, 0.18);
  transform: translateY(-2px) scale(1.05);
}
.cta.secondary {
  background: #fff;
  color: #488BAF;
  border: 2px solid #488BAF;
  border-radius: 12px;
  padding: 12px 28px;
  font-size: 1.07rem;
}
.cta.secondary:focus, .cta.secondary:hover {
  background: #488BAF;
  color: #fff;
  border-color: #204B6B;
}
a {
  transition: color 0.18s, text-decoration 0.18s;
}

/* --------------------
   TESTIMONIALS STYLES
---------------------*/
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* ----------------------
   FOOTER SECTION
----------------------- */
footer {
  background: linear-gradient(90deg, #F5F6FB 30%, #e8f3fa 100%);
  color: #1A2233;
  font-size: 1rem;
  margin-top: 60px;
  border-top: 2px solid #e2e8f0;
}
footer .container {
  padding: 32px 20px 16px 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
}
footer nav {
  margin-top: 14px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
footer nav a {
  color: #488BAF;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.84;
}
footer nav a:hover, footer nav a:focus {
  color: #1A2233;
  opacity: 1;
}
footer img {
  margin-bottom: 12px;
  height: 32px;
  width: auto;
}
footer p {
  margin-bottom: 8px;
  font-size: 0.98rem;
  color: #23252e;
  display: flex;
  align-items: center;
  gap: 7px;
}
footer a img {
  height: 22px;
  transition: filter 0.18s, transform 0.18s;
}
footer a img:hover {
  filter: brightness(0.8);
  transform: scale(1.15);
  cursor: pointer;
}

/* ----------------------------------------
   COOKIE CONSENT BANNER & MODAL
----------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #1A2233;
  box-shadow: 0 -2px 18px rgba(70,139,175,0.13);
  border-top: 3px solid #488BAF;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px 20px 20px;
  z-index: 1999;
  gap: 18px;
  font-size: 1rem;
  animation: cookie-slide-up 0.6s cubic-bezier(.55,0,.1,1);
}
@keyframes cookie-slide-up {
    0% { opacity:0; transform: translateY(60px);}   
    100%{ opacity:1; transform: translateY(0);}
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
  justify-content: center;
}
.cookie-banner button, .cookie-banner .cta {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  padding: 12px 22px;
  margin: 0;
  cursor: pointer;
  transition: background 0.15s, color .15s, box-shadow .16s;
}
.cookie-banner .accept-btn {
  background: linear-gradient(90deg, #488BAF 0%, #38afd4 100%);
  color: #fff;
  font-weight: 700;
}
.cookie-banner .accept-btn:hover {
  background: linear-gradient(90deg, #204B6B 0%, #488BAF 100%);
}
.cookie-banner .reject-btn {
  background: #e8f3fa;
  color: #488BAF;
  border: 2px solid #488BAF;
  font-weight: 700;
}
.cookie-banner .reject-btn:hover {
  background: #488BAF;
  color: #fff;
}
.cookie-banner .settings-btn {
  background: transparent;
  color: #204B6B;
  border: 2px solid #e2e8f0;
}
.cookie-banner .settings-btn:hover {
  border: 2px solid #488BAF;
  background: #e8f3fa;
  color: #488BAF;
}
/* Cookie Modal Overlay */
.cookie-modal-backdrop {
  position: fixed; left:0; top:0; right:0; bottom:0;
  width: 100vw; height: 100vh;
  background: rgba(70,139,175,0.23);
  z-index: 2002;
  display: none;
}
.cookie-modal-backdrop.open {
  display: block;
  animation: fadein-bg 0.2s;
}
@keyframes fadein-bg {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 48px rgba(70,139,175,0.18);
  z-index: 2010;
  padding: 36px 32px 24px 32px;
  width: 92vw;
  max-width: 400px;
  display: none;
  animation: fadein-modal 0.33s cubic-bezier(.51,.03,.22,.99);
}
.cookie-modal.open {
  display: block;
}
@keyframes fadein-modal {
  from { opacity: 0; transform: translate(-50%,-30%) scale(0.97);} 
  to { opacity:1; transform: translate(-50%,-50%) scale(1);}
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: #488BAF;
  margin-bottom: 10px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1.04rem;
  margin-top: 14px;
  margin-bottom: 10px;
  gap: 12px;
}
.cookie-modal input[type="checkbox"] {
  width: 19px;
  height: 19px;
  border-radius: 6px;
  accent-color: #488BAF;
  border: 2px solid #488BAF;
}
.cookie-modal .modal-btns {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 20px;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 12px; top: 12px;
  background: transparent;
  color: #488BAF;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal .close-modal:hover {
  color: #204B6B;
}
.cookie-modal .essential-label {
  opacity: 0.65;
  font-size: 0.96rem;
}

/* ----------------------
   RESPONSIVE DESIGN
----------------------- */
@media (max-width: 1160px) {
  .container { max-width: 100%; }
}
@media (max-width: 992px) {
  .container { max-width: 96%; }
  .header .cta.primary { padding: 10px 16px; font-size: 1rem; }
  .feature-grid > div { min-width: 180px; }
  .content-wrapper { gap: 20px; }
  footer .content-wrapper { gap: 18px; }
}
@media (max-width: 900px) {
  .feature-grid { gap: 16px; }
}
@media (max-width: 768px) {
  /* MOBILE FLEX: column for main wrappers, nav, hero */
  .content-wrapper, .feature-grid, .card-container, .testimonials, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  header .container {
    flex-direction: row;
    gap: 7px;
  }
  .feature-grid > div {
    width: 100%;
  }
  .section {
    padding: 28px 7px;
    margin-bottom: 36px;
  }
  .hero {
    padding: 46px 0 32px 0;
    text-align: center;
  }
  .hero .content-wrapper {
    align-items: center;
    gap: 22px;
  }
  .logo img { height: 38px; }
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .testimonial-card {
    padding: 14px 10px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header nav {
    display: none !important;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
  .hero { padding: 20px 0 24px 0; }
  .feature-grid > div, .testimonial-card {
    padding: 12px 6px 12px 12px;
    min-width: 0;
  }
  .cta.primary, .cta.secondary, button {
    padding: 12px 14px;
    font-size: 1rem;
  }
  .cookie-modal { padding: 18px 8px 12px 14px; }
  .mobile-nav a { font-size: 1.06rem; padding: 14px 18px; }
}

/* Hide mobile-menu toggle on desktop */
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
  }
  header nav {
    display: flex !important;
  }
}

/* -------------------------
   UTILITIES
------------------------- */
.text-center { text-align:center; }
.mt-0 { margin-top:0 !important; }
.mb-0 { margin-bottom:0 !important; }
.mt-2 { margin-top:8px !important; }
.mb-2 { margin-bottom:8px !important; }
.mt-3 { margin-top:20px !important; }
.mb-3 { margin-bottom:20px !important; }

/* -------------------------
   TRANSITIONS & INTERACTION
-------------------------- */
a, button, .cta, .card, .feature-grid > div, .testimonial-card, .mobile-nav a {
  transition: all 0.18s cubic-bezier(.48,.07,.62,.99);
}

/* ------------------------------
   PRINT FRIENDLY (Optional)
------------------------------- */
@media print {
  header, footer, .cta, .mobile-menu, .mobile-menu-toggle, .cookie-banner { display: none !important; }
  body { background: #fff; color: #111; }
  .container { max-width: 100vw; }
}

/* END OF CSS */