/* RESET AND NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  outline: none;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #253858;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #253858;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #4AC6D7;
}
ul, ol {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  background: none;
  border: none;
}

/* TYPOGRAPHY SCALE */
h1, .h1 {font-family: 'Montserrat', Arial, sans-serif; font-size: 2.5rem; font-weight: 700; line-height: 1.14; margin-bottom: 24px; letter-spacing: -1px;}
h2, .h2 {font-family: 'Montserrat', Arial, sans-serif; font-size: 2rem; font-weight: 600; line-height: 1.2; margin-bottom: 20px;}
h3, .h3 {font-family: 'Montserrat', Arial, sans-serif; font-size: 1.5rem; font-weight: 600; margin-bottom: 16px;}
h4, .h4 {font-family: 'Montserrat', Arial, sans-serif; font-size: 1.125rem; font-weight: 600; margin-bottom: 12px;}
.subheadline {font-size: 1.125rem; color: #253858; opacity: .85; margin-bottom: 16px; font-weight: 400;}
p, ul li, ol li, address {
  font-size: 1rem;
  color: #253858;
  margin-bottom: 16px;
}
strong {font-weight: 700;}

/* BRAND COLORS */
:root {
  --color-primary: #253858;
  --color-secondary: #4AC6D7;
  --color-accent: #F6F7FB;
  --color-light: #fff;
  --color-dark: #253858;
  --shadow-card: 0 2px 12px rgba(22,41,75,0.05);
  --shadow-hover: 0 4px 18px rgba(74,198,215,0.15);
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* SECTIONS - SPACING RULES */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.accent-bg {
  background: var(--color-accent);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}
.section-footer {
  background: #F6F7FB;
  padding: 40px 0 20px 0;
  margin-bottom: 0;
}

/* FLEXBOX CARD AND CONTENT LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 24px;
  min-width: 250px;
  flex: 1 1 300px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover, .card:focus {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.01);
}
.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: 12px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  flex-direction: column;
}
.testimonial-card p {
  color: var(--color-dark);
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: #253858;
  opacity: .78;
  align-self: flex-end;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURE GRID (Icons etc.) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  list-style: none;
}
.feature-grid li {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 16px 24px;
  box-shadow: var(--shadow-card);
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  gap: 14px;
  color: var(--color-primary);
}
.feature-grid img {
  width: 32px;
  height: 32px;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #ECECEC;
  box-shadow: none;
}
.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
  gap: 24px;
}
.nav-header img {
  max-height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #253858;
  position: relative;
  padding: 8px 0;
  transition: color .2s;
}
.main-nav a.cta-primary {
  background: var(--color-secondary);
  color: #fff;
  border-radius: 8px;
  padding: 10px 24px;
  font-weight: 600;
  transition: background .2s, color .2s, box-shadow .2s;
  margin-left: 8px;
  box-shadow: 0 1px 7px rgba(74,198,215,.07);
}
.main-nav a.cta-primary:hover, .main-nav a.cta-primary:focus {
  background: #253858;
  color: #fff;
  box-shadow: 0 3px 14px rgba(74,198,215,.12);
}
.main-nav a:not(.cta-primary):hover, .main-nav a:not(.cta-primary):focus {
  color: var(--color-secondary);
}

/* MOBILE MENU STYLES */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: #fff;
  border-radius: 6px;
  border: none;
  font-size: 2rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s;
  z-index: 220;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #253858;
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(37,56,88, 0.98);
  z-index: 9999;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform .35s cubic-bezier(.77,0,.18,1), opacity .2s;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 20px 24px 0 0;
  border: none;
  cursor: pointer;
  z-index: 10001;
  transition: color .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 40px 0 0 40px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  padding: 8px 0;
  transition: color .2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
}

/* Hide main nav and show burger on mobile */
@media (max-width: 900px) {
  .main-nav {display: none;}
  .mobile-menu-toggle {display: flex;}
}
@media (min-width: 901px) {
  .mobile-menu {display: none !important;}
}

/* CTA BUTTONS */
.cta-primary {
  display: inline-block;
  background: var(--color-secondary);
  color: #fff;
  border-radius: 8px;
  padding: 14px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.12rem;
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
  box-shadow: 0 2px 12px rgba(74,198,215,0.11);
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: #253858;
  color: #fff;
  box-shadow: 0 5px 19px rgba(37,56,88,0.13);
  transform: translateY(-2px) scale(1.01);
}

/* FOOTER STYLES */
footer {
  background: none;
  color: var(--color-primary);
}
.section-footer .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  border-top: 1px solid #eee;
  padding-top: 32px;
}
.footer-company {
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--color-primary);
  line-height: 1.8;
}
.footer-company img { width: 16px; height: 16px; margin-right: 4px; vertical-align: middle; display: inline-block; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav a {
  color: #253858;
  font-size: 1rem;
  transition: color .2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
}
.footer-cta {margin-top: 8px;}
.footer-cta .cta-primary {padding: 10px 18px; font-size: 1rem;}

/* BLOG & TABLES */
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: var(--shadow-card);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin: 16px 0 24px 0;
}
.price-table th, .price-table td {
  padding: 15px 20px;
  text-align: left;
  font-size: 1rem;
}
.price-table th {
  background: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
}
.price-table tr:not(:last-child) td {border-bottom: 1px solid #ecf0f6;}
.price-table tr:nth-child(even) td {background: #f9fafb;}

/* LISTS IN CONTENT */
.section ul, .section ol {
  margin-left: 0;
  padding-left: 0;
}
.section ul li, .section ol li {
  margin-bottom: 12px;
  padding-left: 26px;
  background: url(../assets/icons/icon-listitem.svg) no-repeat 0 4px;
  background-size: 18px auto;
}
.section ol {
  counter-reset: li;
}
.section ol li {
  background: none;
  position: relative;
  padding-left: 34px;
}
.section ol li:before {
  content: counter(li) '.';
  counter-increment: li;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-secondary);
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ADDRESS */
address {
  font-style: normal;
  color: #253858;
  font-size: 1rem;
  margin-bottom: 16px;
}

/* CARD/INFO BLOCKS */
.direct-contact {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.direct-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cta-block { margin: 28px 0 0 0; }

/* RESPONSIVE RULES */
@media (max-width: 1200px) {
  .container {max-width: 1000px;}
  .section-footer .content-wrapper {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  h1, .h1 {font-size: 2rem;}
  h2, .h2 {font-size: 1.35rem;}
  .container {max-width: 100%;}
  .section-footer .content-wrapper, .card-container, .content-grid {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
  .card {min-width: 80vw;}
}
@media (max-width: 768px) {
  section, .section {
    padding: 30px 8px;
    margin-bottom: 44px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card {padding: 18px;}
  .nav-header {padding-top: 9px; padding-bottom: 9px;}
}
@media (max-width: 600px) {
  .content-wrapper {gap: 12px;}
  .footer-company, .footer-nav {font-size: 0.96rem;}
  .footer-cta .cta-primary {padding: 9px 12px; font-size: 0.96rem;}
  h1, .h1 {font-size: 1.3rem;}
  h2, .h2 {font-size: 1.07rem;}
}

/* MICRO-INTERACTIONS */
a, .cta-primary, .main-nav a, .mobile-nav a, button {
  transition: background .15s, color .15s, box-shadow .15s, transform .15s;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #253858;
  box-shadow: 0 -2px 16px rgba(20,50,80,0.08);
  padding: 28px 16px 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 12000;
  transition: opacity .3s, transform .3s;
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  max-width: 680px;
}
.cookie-banner p {
  color: #253858;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 8px;
}
.cookie-btn {
  padding: 10px 20px;
  border-radius: 7px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  border: 1px solid #E0E6EF;
  cursor: pointer;
  transition: background .16s, color .13s, box-shadow .2s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: #fff;
  border: none;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #253858;
}
.cookie-btn.reject {
  background: #ECECEC;
  color: #253858;
  border: none;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {background: #E1EAF0; color: #253858;}
.cookie-btn.settings {
  background: var(--color-accent);
  color: #4AC6D7;
  border: 1px solid #D8F1F5;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #dbf7fa;
}

/* COOKIE MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  min-width: 310px;
  max-width: 98vw;
  width: 420px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(37,56,88,0.29);
  z-index: 13000;
  padding: 32px 28px 24px 28px;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s cubic-bezier(.7,0,.21,1);
}
.cookie-modal.open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: #253858;
}
.cookie-modal-close {
  background: none;
  color: #253858;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  transition: color .15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {color: #4AC6D7;}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #F2F2F2;
  font-size: 1rem;
}
.cookie-category:last-child {border-bottom: none;}
.cookie-toggle-label {
  font-size: 1rem;
  color: #253858;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-toggle {
  width: 38px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.cookie-toggle input {
  display: none;
}
.cookie-slider {
  display: block;
  width: 38px;
  height: 21px;
  background: #ECECEC;
  border-radius: 14px;
  position: relative;
  box-shadow: 0 1px 2px rgba(211,222,235,0.09);
  transition: background .18s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: #4AC6D7;
}
.cookie-slider:before {
  content: '';
  display: block;
  width: 17px;
  height: 17px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  top: 2px;
  transition: left .23s cubic-bezier(.53,.14,.24,1);
}
.cookie-toggle input:checked + .cookie-slider:before {
  left: 19px;
}
.cookie-category[aria-disabled='true'] {
  opacity: 0.53;
}
.cookie-category[aria-disabled='true'] .cookie-toggle {
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .cookie-modal {
    width: 96vw;
    min-width: 0;
    padding: 14vw 4vw;
    border-radius: 10px;
  }
}

/* UTILITY CLASSES */
.text-center {text-align: center;}
.mt-0 {margin-top: 0 !important;}
.mt-2 {margin-top: 16px !important;}
.mt-4 {margin-top: 32px !important;}
.mb-0 {margin-bottom: 0 !important;}
.mb-2 {margin-bottom: 16px !important;}
.mb-4 {margin-bottom: 32px !important;}

/* ANIMATIONS */
@keyframes fadeinup {
  from {opacity: 0; transform: translateY(50px);}
  to {opacity: 1; transform: none;}
}
.section-hero, .section-cta, .section-success {
  animation: fadeinup .8s cubic-bezier(.67,0,.18,1) .06s both;
}

/* ACCESSIBILITY */
:focus {
  outline: 2px solid #4AC6D7 !important;
  outline-offset: 2px;
}

/* END */
