/* 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background: #FAFAFA;
  color: #18354A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #18354A;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #B7D6E9;
  outline: none;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Rubik', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #18354A;
  margin-bottom: 24px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.18;
  margin-bottom: 28px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, ul, ol, address, table {
  margin-bottom: 18px;
}
strong {
  font-weight: 600;
}
ul, ol {
  padding-left: 1.25em;
  margin-bottom: 20px;
}
ul li, ol li {
  margin-bottom: 8px;
}

/* GENERAL LAYOUT */
.container {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FAFAFA;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(24,53,74,0.06);
  padding: 28px;
  margin-bottom: 20px;
  min-width: 260px;
  position: relative;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 18px 0 rgba(24,53,74,0.11);
}

.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 {
  background: #fff;
  color: #18354A;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(24,53,74,0.08);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  max-width: 540px;
  transition: box-shadow 0.15s, transform 0.15s;
  font-size: 1rem;
}
.testimonial-card span {
  font-size: 0.93rem;
  font-style: italic;
  color: #5B5B63;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 4px 20px 0 rgba(24,53,74,0.13);
  transform: translateY(-2px) scale(1.02);
}

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

/* HEADER & NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #E7EEF4;
  position: sticky;
  top: 0;
  z-index: 110;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
header img {
  height: 38px;
  width: auto;
  margin-right: 30px;
}
nav.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
nav.main-nav a {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 5px 0;
  position: relative;
  transition: color 0.18s;
}
nav.main-nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #B7D6E9;
  border-radius: 1px;
  transition: width 0.2s;
  margin-top: 3px;
}
nav.main-nav a:hover:after, nav.main-nav a:focus:after {
  width: 100%;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  color: #B7D6E9;
}

.cta-btn {
  font-family: 'Rubik', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: #18354A;
  color: #FAFAFA;
  border: none;
  border-radius: 24px;
  padding: 12px 34px;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
  box-shadow: 0 1px 6px 0 rgba(24,53,74,0.09);
  margin-left: 20px;
  letter-spacing: 0.04em;
  display: inline-block;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #22496A;
  color: #fff;
  box-shadow: 0 2px 18px 0 rgba(24,53,74,0.18);
  transform: translateY(-1px) scale(1.03);
}

/* FOOTER */
footer {
  background: #FAFAFA;
  border-top: 1px solid #E7EEF4;
  margin-top: 60px;
}
.footer-wrapper {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
  padding: 30px 0 24px 0;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  font-size: 1rem;
  color: #18354A;
  opacity: 0.93;
  transition: color 0.16s, opacity 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #B7D6E9;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.98rem;
  color: #182a39;
  opacity: 0.82;
}
footer span {
  display: block;
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  margin-bottom: 32px;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 1px 6px 0 rgba(24,53,74,0.06);
}
th, td {
  padding: 13px 10px;
  text-align: left;
}
th {
  background: #B7D6E9;
  color: #18354A;
  font-weight: 700;
  border-bottom: 1px solid #E7EEF4;
}
td {
  border-bottom: 1px solid #E7EEF4;
}
tr:last-child td {
  border-bottom: none;
}

/* FORMS & MISC */
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  color: #18354A;
  outline: none;
  border-radius: 6px;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  transition: box-shadow 0.16s, background 0.18s;
}

address {
  font-style: normal;
  color: #18354A;
}

/* HAMBURGER MENU (MOBILE) */
.mobile-menu-toggle {
  display: none;
  background: #18354A;
  color: #fff;
  position: fixed;
  top: 17px;
  right: 22px;
  z-index: 150;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  font-size: 1.7rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(24,53,74,0.10);
  transition: background 0.15s;
}
.mobile-menu-toggle:focus {
  background: #22496A;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #FAFAFA;
  z-index: 160;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(.7,.02,.6,1), opacity 0.21s ease;
  pointer-events: none;
  box-shadow: 0 0 46px 0 rgba(24,53,74,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 22px 6px 0;
  font-size: 2rem;
  background: none;
  color: #18354A;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E7EEF4;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: 36px 28px 0 32px;
  font-size: 1.25rem;
}
.mobile-nav a {
  color: #18354A;
  padding: 7px 0;
  border-radius: 8px;
  width: 100%;
  transition: background 0.15s, color 0.15s;
  font-family: 'Open Sans', Arial, sans-serif;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #B7D6E9;
  color: #fff;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #18354A;
  color: #fff;
  padding: 18px 25px 16px 25px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 130;
  box-shadow: 0 -2px 18px rgba(24,53,74,0.09);
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.96rem;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.26s, transform 0.26s;
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-left: auto;
}
.cookie-banner button, .cookie-banner a {
  padding: 9px 22px;
  border-radius: 16px;
  margin-left: 0;
  font-family: 'Rubik', 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  font-size: 0.98rem;
  cursor: pointer;
  border: none;
  transition: background 0.15s, color 0.15s;
}
.cookie-accept {
  background: #B7D6E9;
  color: #18354A;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #fff;
  color: #18354A;
}
.cookie-reject {
  background: #fff;
  color: #18354A;
  border: 1px solid #B7D6E9;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #B7D6E9;
  color: #18354A;
}
.cookie-settings {
  background: transparent;
  color: #B7D6E9;
  box-shadow: none;
}
.cookie-settings:hover, .cookie-settings:focus {
  color: #fff;
  background: #18354A;
}

/* Cookie modal - overlay */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24,53,74,0.35);
  z-index: 189;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #18354A;
  border-radius: 18px;
  padding: 32px 22px 26px 22px;
  min-width: 325px;
  max-width: 90vw;
  box-shadow: 0 3px 33px 0 rgba(24,53,74,0.17);
  display: flex;
  flex-direction: column;
  gap: 21px;
}
.cookie-modal h2 {
  font-size: 1.38rem;
  margin-bottom: 6px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
}
.cookie-category input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: #B7D6E9;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.cookie-modal-close {
  position: absolute;
  top: 20px;
  right: 26px;
  width: 36px;
  height: 36px;
  background: #B7D6E9;
  color: #18354A;
  font-size: 1.08rem;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #18354A;
  color: #fff;
}
/* Essential cookies state (always enabled) */
.cookie-category.essential label {
  opacity: 0.7;
}
.cookie-category.essential input[type=checkbox] {
  pointer-events: none;
}

/* SECTIONS & SPACING */
@media (min-width:600px) {
  .content-wrapper {
    gap: 28px;
  }
  .section {
    padding: 54px 28px;
  }
}
.section:not(:last-child) {
  margin-bottom: 60px;
}
main > section {
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(24,53,74,0.03);
}

/* RESPONSIVE RULES */
@media (max-width:1023px) {
  .container {
    max-width: 98vw;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width:900px) {
  .content-wrapper {
    max-width: 98vw;
    padding: 0;
  }
  .main-nav, .footer-nav {
    gap: 13px;
  }
}
@media (max-width:768px) {
  nav.main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding: 0 8px;
  }
  .content-wrapper, .section {
    padding: 18px 6px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  main > section {
    border-radius: 0;
    box-shadow: none;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 14px;
  }
}
@media (max-width: 590px) {
  h1 { font-size: 1.62rem; }
  h2 { font-size: 1.15rem; }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  header img {
    height: 30px;
  }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.cta-btn, .cookie-banner button, .mobile-menu-toggle, .mobile-menu-close, .cookie-modal-close {
  transition: background 0.18s, color 0.17s, box-shadow 0.18s, transform 0.18s;
}
.card, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.18s;
}
.card:focus, .card:hover {
  box-shadow: 0 6px 18px 0 rgba(24,53,74,0.13);
  transform: translateY(-2px);
}

/* VISUAL ELEMENTS - WHITE SPACE */
main > section, .card, .testimonial-card {
  margin-bottom: 24px;
}

/* PAGE-SPECIFIC / HTML STRUCTURE-SPECIFIC HELPER CLASSES */
.next-step-info {
  font-size: 1.05rem;
  color: #18354A;
  margin-bottom: 1.2em;
}

/* ACCESSIBILITY & FOCUS STATES */
a:focus, .cta-btn:focus, .mobile-nav a:focus, .mobile-menu-close:focus, .mobile-menu-toggle:focus, .cookie-banner button:focus {
  outline: 2px solid #B7D6E9;
  outline-offset: 2px;
}

/* UTILITY CLASSES */
.hide {
  display: none !important;
}
.show {
  display: block !important;
}

/* BRAND FONT IMPORTS */
@import url('https://fonts.googleapis.com/css?family=Rubik:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
