/* 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,main,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;
}
*,*::before,*::after {box-sizing:inherit;}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #243746;
  background: #fff;
  min-height: 100vh;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #243746;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #FFA100;
  outline: none;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
  font-size: 1rem;
}

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

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(36, 55, 70, 0.08);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 22px rgba(36,55,70,0.13);
}

.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: 10px;
  box-shadow: 0 2px 12px rgba(36,55,70,0.09);
  margin-bottom: 20px;
  min-width: 0;
  max-width: 600px;
  transition: box-shadow 0.23s, transform 0.18s;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #172430;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #243746;
  opacity: 0.84;
  font-style: italic;
}
.testimonial-card:hover {
  box-shadow: 0 6px 30px rgba(36,55,70,0.15);
  transform: translateY(-4px);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 10px rgba(36,55,70,0.07);
  padding: 24px 18px;
  margin-bottom: 20px;
  width: 100%;
  min-width: 220px;
  max-width: 330px;
  transition: box-shadow 0.19s;
}
.feature-item:hover {
  box-shadow: 0 7px 32px rgba(36,55,70,0.12);
}
.feature-item img {
  height: 36px;
  width: 36px;
  margin-bottom: 4px;
}
.feature-item h3 {
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #243746;
  margin-bottom: 6px;
}

/* HERO SECTION */
.hero {
  background: #D3EAF2;
  padding: 64px 0 48px 0;
  margin-bottom: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #243746;
  margin-bottom: 20px;
  line-height: 1.23;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: 1.18rem;
  max-width: 560px;
  color: #243746cc;
  margin-bottom: 32px;
}

/* TYPOGRAPHY SCALE & STYLES */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #243746;
}
h1 {font-size: 2rem; margin-bottom: 18px;}
h2 {font-size: 1.5rem; margin-bottom: 14px;}
h3 {font-size: 1.18rem; margin-bottom: 10px;}
h4, h5, h6 {font-size: 1rem;}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section ul, .text-section ol {
  margin-bottom: 12px;
}
.text-section p {margin-bottom: 10px;}

/* BUTTONS & CALLS TO ACTION */
.cta-primary,
button.cta-primary,
button.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  color: #fff;
  background-color: #243746;
  border: none;
  border-radius: 7px;
  padding: 12px 28px;
  box-shadow: 0 2px 8px rgba(36,55,70,0.08);
  cursor: pointer;
  transition: background .20s, transform 0.10s;
}
.cta-primary:hover,
button.cta-primary:hover,
.cta-primary:focus,
button.cta-primary:focus {
  background: #FFA100;
  color: #243746;
  transform: translateY(-1px) scale(1.025);
}
.cta-secondary {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: #243746;
  background: transparent;
  border: 1px solid #D3EAF2;
  border-radius: 7px;
  padding: 10px 24px;
  box-shadow: none;
  transition: border-color .18s, background .18s;
}
.cta-secondary:hover, .cta-secondary:focus {
  border-color: #FFA100;
  background: #FFA10022;
  color: #243746;
}

button {
  font-family: inherit;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background .20s;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(36,55,70,0.045);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
header nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
header nav a {
  color: #243746;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  position: relative;
  padding: 3px 0;
  border-radius: 4px;
  transition: color .16s, background .17s;
}
header nav a:hover,
header nav a:focus {
  color: #FFA100;
  background: #D3EAF2;
}
header nav a.cta-primary {
  margin-left: 14px;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #D3EAF2;
  color: #243746;
  box-shadow: none;
  margin-left: 18px;
  z-index: 35;
  transition: border-color 0.18s, background 0.14s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  border-color: #FFA100;
  background: #D3EAF2;
}

/* MOBILE NAV (burger menu) */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 99;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.68,-0.1,.27,1.12);
  box-shadow: 0 2px 24px rgba(36,55,70,0.09);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin-top: 18px;
  margin-bottom: 6px;
  font-size: 2rem;
  background: transparent;
  color: #243746;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #D3EAF2;
  transition: border-color 0.17s, background .17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #D3EAF2;
  border-color: #FFA100;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 22px;
  margin-bottom: 40px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #243746;
  padding: 10px 0;
  border-bottom: 1px solid #D3EAF2;
  transition: color 0.16s;
  border-radius: 3px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #FFA100;
  background: #D3EAF2;
}

/* FOOTER */
footer {
    background: #f8fafc;
    box-shadow: 0 -2px 18px rgba(36,55,70,.045);
    font-size: 0.98rem;
    color: #243746cc;
    padding-top:32px;
    padding-bottom:24px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  justify-content: flex-start;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.footer-navigation a {
  color: #243746;
  transition: color .15s;
  font-size: 0.98rem;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  color: #FFA100;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact address {
  font-style: normal;
  color: #243746cc;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
  color: #5d728a;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  margin-right: 5px;
}
.footer-copy {
  font-size: 0.91rem;
  color: #bcc6cc;
  margin-top: 10px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 16px rgba(36,55,70,0.09);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 20px 6vw 20px 6vw;
  z-index: 200;
  font-size: 1rem;
  transition: transform 0.33s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner__text {
  flex:1;
  color: #172430;
  max-width: 580px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  border-radius: 6px;
  padding: 9px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.96rem;
  border: 1px solid #D3EAF2;
  background: #f8fafc;
  color: #243746;
  font-weight: 600;
  transition: background .16s, color .14s, border .14s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: #243746;
  color: #fff;
  border: none;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #FFA100;
  color: #243746;
}
.cookie-btn.settings {
  background: #fff;
  color: #FFA100;
  border: 1px solid #FFA100;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FFA10022;
}
.cookie-btn.reject {
  background: #f8fafc;
  color: #243746;
  border: 1px solid #D3EAF2;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #D3EAF2;
}
/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 300;
  background: rgba(36,55,70, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s;
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal__content {
  background: #fff;
  border-radius: 14px;
  padding: 40px 28px 30px 28px;
  box-shadow: 0 6px 40px 0 rgba(36,55,70,0.18);
  min-width: 270px;
  max-width: 95vw;
  width: 390px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cookie-modal__close {
  font-size: 1.6rem;
  background: none;
  color: #243746;
  border: none;
  border-radius: 7px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  transition: background .13s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #D3EAF2;
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.24rem;
  font-weight: 700;
}
.cookie-modal__categories {
  display: flex; flex-direction: column; gap: 18px;
}
.cookie-modal__category {
  display: flex; align-items: flex-start; gap: 14px;
  background: #f8fafc;
  border-radius: 7px; padding: 12px 10px;
}
.cookie-modal__category input[type="checkbox"] {
  accent-color: #FFA100;
  width: 19px; height: 19px;
  margin-top: 2px;
}
.cookie-modal__category label {
  font-size: 1rem; color: #243746;
  font-weight: 500;
  cursor: pointer;
}
.cookie-modal__category.essential label {
  font-style: italic;
}
.cookie-modal__footer {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .content-grid {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
}
@media (max-width: 750px) {
  .container {
    max-width: 99vw;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 28px;
  }
  .hero {
    padding: 42px 0 26px 0;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .section {
    margin-bottom: 34px;
    padding: 22px 8px;
  }
  .feature-grid {
    gap: 18px;
  }
  .card, .feature-item, .testimonial-card {
    min-width: 0;
    max-width: 100%;
    padding: 15px 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  header .container { flex-wrap: wrap; gap: 0; }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-navigation {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 7px;
  }
  .footer-contact {
    gap: 5px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 17px;
    padding: 15px 2vw 15px 2vw;
    font-size: 0.97rem;
    align-items: flex-start;
  }
  .cookie-banner .cookie-banner__actions {
    flex-direction: column;
    gap: 10px;
  }
  .cookie-modal__content {
    padding: 20px 10px 18px 10px;
    width: 98vw;
  }
}
@media (max-width: 480px) {
  h1 {font-size: 1.17rem;}
  h2 {font-size: 1.03rem;}
  .testimonial-card, .feature-item {
    padding: 12px 6px;
  }
}

/* MISCELLANEOUS */
::-webkit-input-placeholder {color: #b6bec5;}
::-moz-placeholder {color: #b6bec5;}
:-ms-input-placeholder {color: #b6bec5;}
::placeholder {color: #b6bec5;}

hr {
  border: 0;
  height: 1px;
  background: #D3EAF2;
  margin: 32px 0;
}

/* <address> styling */
address {
  font-style: normal;
  color: #243746;
  margin-bottom: 5px;
}

/* Accessibility focus styles */
a:focus, button:focus, .cta-primary:focus, .cookie-btn:focus {
  outline: 2px solid #FFA100;
  outline-offset: 2px;
}

/* Hide by default */
.mobile-menu, .cookie-modal { display: none; }
.mobile-menu.open, .cookie-modal.open { display: flex; }

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

/* Animate testimonial entrance (optional micro-interaction) */
.testimonial-card {
  opacity: 0.97;
  transform: translateY(3px);
  transition: box-shadow .21s, opacity 0.25s, transform 0.18s;
}
.testimonial-card:hover {
  opacity: 1;
  transform: translateY(-1px) scale(1.015);
}

/* Utility spacing classes */
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }

/* Disable text selection on burger/close button visual */
.mobile-menu-toggle, .mobile-menu-close {
  user-select: none;
}
