/* 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;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #fff;
  color: #204056;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #204056;
  text-decoration: none;
  transition: color 0.25s cubic-bezier(.55,.06,.68,.19);
}
a:hover, a:focus {
  color: #D95D4C;
  outline: none;
}
ul, ol {
  list-style: none;
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

/* TYPOGRAPHY SCALE */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -1.2px;
  color: #204056;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #204056;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #204056;
  letter-spacing: -.7px;
  margin-bottom: 18px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}
p, ul li, ol li, .subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #204056;
}
.subheadline {
  color: #D95D4C;
  font-size: 1.16rem;
  margin-bottom: 18px;
}
strong {
  font-weight: 700;
}

/* LAYOUT CONTAINERS & SECTIONS */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  background: #fff;
}

.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 24px rgba(32,64,86,0.07), 0 1.5px 6px rgba(32,64,86,0.07);
  border: 2px solid #F3CC5E;
  padding: 24px 22px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 290px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(32,64,86,0.18);
  border-color: #b23d29;
}

.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;
  background: #F8F8F8;
  border-radius: 12px;
  border: 1.5px solid #F3CC5E;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 12px rgba(32,64,86,0.05);
  max-width: 600px;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  color: #204056;
  font-size: 1.09rem;
  font-weight: 400;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #204056;
  font-size: 0.98rem;
  font-weight: 500;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(32,64,86,0.14);
}

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

/* BUTTONS */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F3CC5E;
  color: #204056;
  border: none;
  border-radius: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 13px 38px;
  margin-top: 20px;
  box-shadow: 0 3px 16px rgba(32,64,86,0.06);
  cursor: pointer;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
}
.cta-button:hover, .cta-button:focus {
  background: #D95D4C;
  color: #fff;
  box-shadow: 0 8px 32px rgba(32,64,86,0.19);
  outline: none;
}

button, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #204056;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 25px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
button:hover, .btn:hover {
  background: #b23d29;
  color: #fff;
}

/* HEADER & NAVIGATION */
header {
  background: #204056;
  color: #fff;
  padding: 0;
  width: 100%;
  box-shadow: 0 1.5px 7px rgba(32,64,86,.06);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  height: 44px;
}
footer p {
  color: white;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 27px;
  align-items: center;
  margin-left: 28px;
  flex-wrap: wrap
}
nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 7px;
  padding: 8px 15px;
  transition: background 0.18s, color 0.18s;
}
nav a:hover {
  background: #F3CC5E;
  color: #204056;
}

header .cta-button {
  background: #D95D4C;
  color: #fff;
  margin-left: 20px;
  border-radius: 8px;
  box-shadow: none;
}
header .cta-button:hover {
  background: #F3CC5E;
  color: #204056;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: #F3CC5E;
  margin-left: 20px;
  cursor: pointer;
  z-index: 99;
}

/* MOBILE NAVIGATION */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,64,86,0.98);
  transform: translateX(-150vw);
  transition: transform 0.38s cubic-bezier(.73,0,.30,1);
  z-index: 2000;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #F3CC5E;
  font-size: 2.3rem;
  padding: 20px 26px 8px 0;
  cursor: pointer;
  align-self: flex-end;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0;
  align-items: stretch;
  margin-top: 20px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.19rem;
  text-transform: uppercase;
  padding: 20px 28px;
  border-bottom: 1px solid #F3CC5E;
  letter-spacing: 1.2px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F3CC5E;
  color: #204056;
}

/* SECTIONS & FLEX SPACING PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO & HEADINGS */
main section:first-child {
  background: #204056;
  color: #fff;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 3px 24px rgba(32,64,86,0.09);
  padding-bottom: 64px;
}
main section:first-child h1, main section:first-child .subheadline, main section:first-child p, main section:first-child li, main section:first-child h2 {
  color: #fff;
}
main section:first-child .cta-button {
  background: #F3CC5E;
  color: #204056;
}
main section:first-child .cta-button:hover {
  background: #fff;
  color: #D95D4C;
}

/* LISTS & ICONS */
ul li,
ol li {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
  line-height: 1.66;
  font-size: 1rem;
  color: #204056;
}
ul li img, ol li img {
  width: 22px;
  height: 22px;
  margin-right: 5px;
}

/* FOOTER */
footer {
  background: #204056;
  color: #fff;
  padding: 40px 0 14px;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-menu a {
  color: #F3CC5E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
  transition: color 0.17s;
}
.footer-menu a:hover {
  color: #b23d29;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
  color: #fff;
  flex: 1 1 210px;
  min-width: 185px;
}
.contact-info img {
  height: 19px;
  width: 19px;
  vertical-align: middle;
  margin-right: 9px;
  margin-bottom: -4px;
}
.footer-brand img {
  width: 52px;
  height: 52px;
}
.social-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.social-links a img {
  width: 32px;
  height: 32px;
  filter: brightness(1.12);
  transition: filter 0.15s;
}
.social-links a:hover img {
  filter: brightness(1.50);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #204056;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 22px;
  z-index: 4000;
  box-shadow: 0 -3px 24px rgba(32,64,86,.16);
  font-size: 1rem;
  transition: transform 0.33s cubic-bezier(.55,.06,.68,.19);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-left: 30px;
}
.cookie-btns button {
  border-radius: 8px;
  background: #F3CC5E;
  color: #204056;
  padding: 10px 20px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  margin-right: 0;
  cursor: pointer;
  margin-top: 0;
  transition: background 0.19s, color 0.19s;
}
.cookie-btns button:last-child {
  background: #D95D4C;
  color: #fff;
}
.cookie-btns button:hover, .cookie-btns button:focus {
  background: #b23d29;
  color: #fff;
  outline: none;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4100;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(32,64,86,0.70);
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #204056;
  border-radius: 16px;
  box-shadow: 0 3px 36px rgba(32,64,86,0.19);
  max-width: 96vw;
  width: 470px;
  padding: 32px 30px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadeInModal 0.28s cubic-bezier(.6,.05,.85,.21) both;
}
@keyframes fadeInModal {
  0% { opacity: 0; transform: scale(.91); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  font-size: 1.4rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 10px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #204056;
  width: 20px; height: 20px;
  margin-right: 5px;
}
.cookie-modal .essential {
  color: #888;
  font-weight: 400;
  font-size: 0.93rem;
  margin-left: 10px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 10px; right: 20px;
  border: none;
  background: transparent;
  font-size: 1.7rem;
  color: #D95D4C;
  cursor: pointer;
}
.cookie-modal .modal-action {
  margin-top: 22px;
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .modal-action button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 15px;
  border-radius: 7px;
  border: none;
  background: #F3CC5E;
  color: #204056;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-modal .modal-action button.accept {
  background: #D95D4C;
  color: #fff;
}
.cookie-modal .modal-action button.accept:hover {
  background: #b23d29;
}
.cookie-modal .modal-action button:hover {
  background: #204056;
  color: #fff;
}

/* GEOMETRIC STRUCTURED DECORATIONS */
.card, .testimonial-card, .cta-button, .cookie-banner, .cookie-modal {
  box-shadow: 0 2px 18px rgba(32,64,86,0.10);
  border-radius: 12px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1130px) {
  .container { max-width: 1000px; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  footer .container { flex-direction: column; align-items: flex-start; gap: 26px; }
}
@media (max-width: 820px) {
  nav { gap: 10px; margin-left: 16px; }
  header .cta-button { margin-left: 8px; }
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.35rem; }
}
@media (max-width: 768px) {
  .container { padding-left: 12px; padding-right: 12px; }
  .content-wrapper { gap: 10px; }
  section { padding: 24px 10px; }
  footer .container { flex-wrap: wrap; gap: 20px; }
  nav, header .cta-button { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 23px;
  }
}
@media (max-width: 570px) {
  .section { margin-bottom: 34px; padding: 14px 2px; }
  .card, .testimonial-card { padding: 18px 8px; }
  .cta-button, button, .btn { padding: 10px 22px; font-size: 0.98rem; }
  .cookie-banner { flex-direction: column; align-items: stretch; font-size: 0.96rem; gap: 12px; text-align: center; }
  .cookie-banner .cookie-btns { margin-left: 0; flex-direction: column; gap: 8px; }
  .cookie-modal { padding: 20px 9px 15px 11px; width: 96vw; }
}

/* FOCUS VISIBILITY */
a:focus, button:focus, .cta-button:focus, .cookie-btns button:focus {
  outline: 2.5px solid #b23d29;
  outline-offset: 2px;
}

/* MICRO-INTERACTIONS & TRANSITIONS */
.card, .testimonial-card, .cta-button, .cookie-banner, .mobile-nav a, .footer-menu a {
  transition: box-shadow 0.22s, border-color 0.2s, background 0.18s, color 0.17s;
}

/* Print basic hiding for nav overlays */
@media print {
  .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
}
