/* CSS RESET & BASE STYLES ---------------------------------------------------- */
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,
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 {
  font-size: 16px;
  background: #FFF9F4;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #FFF9F4;
  color: #1A2847;
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: 0.02em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1A2847;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.5,.1,.3,1);
}
a:hover, a:focus {
  color: #6EC1E4;
  outline: none;
}

ul, ol {
  padding-left: 1.75em;
  margin-bottom: 1.5em;
}
ul li, ol li {
  margin-bottom: 0.5em;
}
strong, b {
  font-weight: bold;
}

button, .cta-btn {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 32px;
  font-size: 1.125rem;
  background: #1A2847;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(26,40,71,0.07);
  transition: background 0.20s, color 0.20s, box-shadow 0.18s, transform .09s;
  outline: none;
  display: inline-block;
  margin: 0.4em 0.2em;
}
button:active, .cta-btn:active {
  background: #123070;
  color: #fff;
  transform: scale(0.97);
}
button:hover, .cta-btn:hover, .cta-btn:focus {
  background: #6EC1E4;
  color: #1A2847;
  box-shadow: 0 8px 24px 0 rgba(110,193,228,0.12);
}

/* TYPOGRAPHY ------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #1A2847;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.18;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.23;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.25rem;
}
.text-section h2, .content-wrapper h2 {
  margin-top: 8px;
  margin-bottom: 18px;
}
p, blockquote, address {
  font-size: 1.125rem;
  color: #252525;
  margin-bottom: 16px;
}
blockquote {
  background: #fff;
  border-left: 5px solid #6EC1E4;
  padding: 20px 28px;
  font-size: 1.22rem;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #1A2847;
  border-radius: 14px 0 0 14px;
  margin-bottom: 12px;
}

address {
  font-style: normal;
  color: #222;
  background: #fff;
  padding: 16px 22px;
  border-radius: 10px;
  box-shadow: 0 4px 16px 0 rgba(26,40,71,0.07);
  margin-bottom: 1.5em;
}

/* GENERAL CONTAINER & SECTION SPACING ----------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 24px;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.confirmation-section {
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  box-shadow: 0 4px 18px 0 rgba(26,40,71,0.09);
  border-radius: 18px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow .18s, transform .15s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(110,193,228,0.15);
  transform: translateY(-3px);
}
.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: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(26,40,71,0.11);
  margin-bottom: 20px;
  min-height: 90px;
  max-width: 600px;
  border: 2.5px solid #6EC1E4;
  transition: box-shadow .16s, border-color .13s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 22px 0 rgba(110,193,228,0.16);
  border-color: #1A2847;
}
.testimonial-card blockquote {
  border-left: none;
  background: transparent;
  padding: 0;
  font-size: 1.08rem;
  font-family: "Montserrat", "Roboto", Arial, Helvetica, sans-serif;
  color: #1A2847;
}
.testimonial-card footer {
  font-size: 1rem;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  color: #484a51;
  font-weight: 700;
  margin-left: 10px;
  margin-right: 6px;
  white-space: nowrap;
}

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

/* LIST & ICON STYLING --------------------------------------------- */
ul li, ol li {
  font-size: 1.08rem;
  padding-left: 0.4em;
  position: relative;
}
ul li img {
  width: 26px;
  height: 26px;
  margin-right: 12px;
  vertical-align: middle;
  display: inline-block;
  border-radius: 50%;
  background: #6EC1E4;
  padding: 4px;
}

/* TABLES --------------------------------------------------------- */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  background: #fff;
  border-radius: 18px;
  margin-bottom: 22px;
  box-shadow: 0 1px 12px 0 rgba(26,40,71,0.06);
}
thead {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  background: #1A2847;
  color: #fff;
}
thead th {
  padding: 14px 10px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-align: left;
  border-bottom: 2.5px solid #6EC1E4;
}
tbody td {
  padding: 13px 10px;
  font-size: 1.06rem;
  border-bottom: 1.5px solid #E8EDF3;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* FORMS & CONTROLS ------------------------------------------------ */
input[type="number"], select, input[type="text"], input[type="email"] {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.11rem;
  padding: 11px 18px;
  border-radius: 8px;
  border: 2px solid #E8EDF3;
  background: #fff;
  margin-right: 12px;
  margin-bottom: 12px;
  color: #1A2847;
  outline: none;
  transition: border-color 0.17s;
}
input:focus, select:focus {
  border-color: #6EC1E4;
}
label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  margin-bottom: 6px;
  color: #1A2847;
  display: inline-block;
  margin-right: 10px;
}

/* HEADER & NAVIGATION --------------------------------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 8px rgba(26,40,71,0.07);
  z-index: 1001;
  position: relative;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 0;
  flex-wrap: wrap;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #1A2847;
  font-size: 1.02rem;
  padding: 6px 12px;
  border-radius: 7px;
  transition: background .16s, color .16s;
  position: relative;
  display: flex;
  align-items: center;
}
header nav a.cta-btn {
  background: #6EC1E4;
  color: #1A2847;
  padding: 10px 26px;
  font-size: 1.09rem;
  font-weight: 900;
  border-radius: 15px;
  margin-left: 10px;
  box-shadow: 0 2px 12px rgba(110,193,228,0.12);
  transition: box-shadow 0.18s, background .19s, color .19s;
}
header nav a.cta-btn:hover, header nav a.cta-btn:focus {
  background: #1A2847;
  color: #fff;
  box-shadow: 0 4px 20px rgba(26,40,71,0.09);
}
header nav a:hover, header nav a:focus {
  background: #E3F4FC;
  color: #1A2847;
}
header nav img {
  width: 138px;
  height: auto;
  margin-right: 10px;
}

header .mobile-menu-toggle {
  background: none;
  border: none;
  color: #1A2847;
  font-size: 2.15rem;
  padding: 7px 20px 7px 0;
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  z-index: 1022;
  transition: color 0.16s;
}
header .mobile-menu-toggle:hover,
header .mobile-menu-toggle:focus {
  color: #6EC1E4;
}

/* MOBILE NAVIGATION ----------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 94vw;
  max-width: 362px;
  background: #1A2847;
  box-shadow: -8px 0 38px 0 rgba(26,40,71,0.18);
  z-index: 2000;
  transform: translateX(102%);
  transition: transform 0.40s cubic-bezier(.68,0,.32,1);
  display: flex;
  flex-direction: column;
  padding-top: 32px;
  padding-bottom: 42px;
  padding-left: 12px;
  padding-right: 12px;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: none;
  color: #fff;
  border: none;
  position: absolute;
  top: 16px;
  right: 12px;
  cursor: pointer;
  z-index: 2010;
  transition: color 0.13s;
}
.mobile-menu-close:hover {
  color: #6EC1E4;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 44px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  border-radius: 9px;
  padding: 16px 22px;
  background: none;
  transition: background .13s, color .13s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #6EC1E4;
  color: #1A2847;
}

@media (max-width: 1020px) {
  header nav {
    gap: 16px;
  }
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  header nav {
    gap: 8px;
  }
  header nav a {
    font-size: 0.98rem;
  }
}
@media (max-width: 820px) {
  .section {
    padding: 30px 10px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  header .mobile-menu-toggle {
    display: flex;
  }
  .container {
    max-width: 99vw;
    padding-left: 9px;
    padding-right: 9px;
  }
  .section {
    margin-bottom: 42px;
    padding: 22px 4px;
    border-radius: 16px;
  }
  .content-grid, .card-container {
    gap: 14px;
    flex-direction: column;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px;
    gap: 7px;
    min-height: auto;
    max-width: 98vw;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
  }
  .confirmation-section {
    padding-left: 1px;
    padding-right: 1px;
  }
  input[type="number"], select, input[type="text"], input[type="email"] {
    font-size: 1rem;
    padding: 10px 13px;
    margin-right: 0;
    width: 90vw;
    max-width: 420px;
  }
  button, .cta-btn {
    width: 98vw;
    max-width: 420px;
    font-size: 1rem;
    padding: 11px 0;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2rem;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 1.25rem;
    margin-bottom: 13px;
  }
  .container {
    padding-left: 2px;
    padding-right: 2px;
  }
}

/* FOOTER ---------------------------------------------------------- */
footer {
  width: 100%;
  background: #1A2847;
  color: #fff !important;
  padding-top: 34px;
  padding-bottom: 26px;
}
footer a, footer p, footer strong{
  color: #fff;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
footer img {
  width: 85px;
  margin-bottom: 12px;
}
footer nav {
  display: flex;
  gap: 18px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
footer nav a {
  color: #6EC1E4;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 7px 5px;
  border-radius: 3px;
  transition: background 0.14s, color .13s;
}
footer nav a:hover, footer nav a:focus {
  background: #6EC1E4;
  color: #1A2847;
}
footer p {
  font-size: 0.98rem;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
}

/* COOKIE BANNER & MODAL ------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #1A2847;
  box-shadow: 0 -2px 30px rgba(26,40,71,0.08);
  z-index: 4000;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 21px 8vw 25px 8vw;
  gap: 11px;
  animation: cookieSlideIn 0.5s cubic-bezier(.7,0,.29,1);
}
@keyframes cookieSlideIn {
  from {transform: translateY(108%);} to {transform: translateY(0);}
}
.cookie-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}
.cookie-banner__button, .cookie-banner__settings-btn {
  background: #1A2847;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 28px;
  border-radius: 11px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(26,40,71,0.11);
  transition: background .16s, color .17s, transform .12s;
}
.cookie-banner__button:hover, .cookie-banner__settings-btn:hover,
.cookie-banner__button:focus, .cookie-banner__settings-btn:focus {
  background: #6EC1E4;
  color: #1A2847;
  outline: none;
}
.cookie-banner__button[disabled] {
  background: #E8EDF3;
  color: #B1B6BC;
  cursor: not-allowed;
}

.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 4200;
  background: rgba(26,40,71,0.42);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookieModalFadeIn 0.24s cubic-bezier(.7,0,.29,1);
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal__content {
  background: #fff;
  color: #1A2847;
  border-radius: 18px;
  padding: 38px 32px 32px 32px;
  min-width: 340px;
  max-width: 97vw;
  box-shadow: 0 8px 50px rgba(26,40,71,0.16);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.cookie-modal__close {
  position: absolute;
  top: 15px; right: 19px;
  font-size: 1.65rem;
  background: none;
  color: #1A2847;
  border: none;
  cursor: pointer;
  z-index: 4210;
  transition: color 0.14s;
}
.cookie-modal__close:hover {
  color: #6EC1E4;
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  margin-bottom: 4px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1.08rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.cookie-modal__category label {
  min-width: 190px;
  font-weight: 800;
  color: #1A2847;
}
.cookie-modal__toggle {
  margin-left: auto;
  margin-right: 12px;
  accent-color: #6EC1E4;
  width: 1.12em; height: 1.12em;
}
.cookie-modal__essential {
  font-size: 1.02rem;
  color: #555f;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  opacity: 0.78;
}
.cookie-modal__essential::after {
  content: ' (zawsze włączone)';
  color: #6EC1E4;
  font-style: italic;
  margin-left: 7px;
}
.cookie-modal__actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.cookie-modal button {
  min-width: 150px;
}
@media (max-width: 500px) {
  .cookie-banner {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .cookie-modal__content {
    padding: 20px 6px 18px 8px;
    min-width: 97vw;
  }
}

/* VISUAL ELEMENTS & MICRO-ANIMATIONS ------------------------------ */
.cta-btn {
  background: #6EC1E4;
  color: #1A2847;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 900;
  border-radius: 13px;
  padding: 14px 32px;
  font-size: 1.13rem;
  transition: background .17s, color .17s, box-shadow .14s;
  box-shadow: 0 2px 12px 0 rgba(110,193,228,0.11);
  border: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #1A2847;
  color: #fff;
  box-shadow: 0 6px 20px 0 rgba(26,40,71,.10);
  outline: none;
}

.card {
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(26,40,71,0.075);
  border-radius: 18px;
  transition: box-shadow .15s, transform .12s;
  border: 2.5px solid #fff;
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(110,193,228,0.13);
  border-color: #6EC1E4;
  transform: translateY(-2px) scale(1.02);
}

/* ACCESSIBILITY HIGHLIGHTS ---------------------------------------- */
:focus {
  outline: 2px solid #6EC1E4;
  outline-offset: 3px;
}

/* MISC ------------------------------------------------------------ */
::-webkit-input-placeholder { color: #B2B8BE; opacity:1; }
::-moz-placeholder { color: #B2B8BE; opacity:1; }
:-ms-input-placeholder { color: #B2B8BE; opacity:1; }
::placeholder { color: #B2B8BE; opacity:1; }

hr {
  border: none;
  border-top: 2.5px solid #6EC1E4;
  border-radius: 2px;
  margin: 32px 0 22px;
}

/* REMOVE unwanted outline on buttons inside header nav */
header nav a:focus {
  outline: none;
}

/* PRINT OVERRIDE */
@media print {
  .cookie-banner, .cookie-modal, .mobile-menu {
    display: none !important;
  }
}
section {
  padding: 20px 0;
}