/* RESET & NORMALIZE */
html { box-sizing: border-box; height: 100%; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; border: 0; font: inherit; vertical-align: baseline; }
body, html { width: 100%; min-height: 100%; background: #ffffff; color: #1A2236; font-family: 'Roboto', Arial, sans-serif; font-size: 16px; font-weight: 400; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; margin: 0 0 20px 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; color: #164A63; margin-bottom: 12px; line-height: 1.2; word-break: break-word; }
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; }
.section { margin-bottom: 60px; padding: 40px 20px; }
.container { width: 100%; max-width: 1240px; padding: 0 20px; margin: 0 auto; }
.content-wrapper { width: 100%; max-width: 900px; margin: 0 auto; }
a { color: #EE8C14; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #B35C00; text-decoration: underline; }
.button-primary, .content-wrapper a.button-primary { display: inline-block; background: #EE8C14; color: #fff; font-family: 'Montserrat', Arial, sans-serif; font-size: 1.1rem; padding: 16px 34px; border-radius: 40px; border: none; font-weight: 700; letter-spacing: 1px; box-shadow: 0 4px 20px rgba(238,140,20,0.12); transition: background 0.2s, box-shadow 0.2s, transform 0.1s; cursor: pointer; text-align: center; margin-top: 12px; }
.button-primary:hover, .button-primary:focus { background: #B35C00; box-shadow: 0 8px 24px rgba(238,140,20,0.22); color: #fff; transform: translateY(-2px) scale(1.03); }
::-webkit-input-placeholder { color: #BCC0C6; opacity: 1; }
::-moz-placeholder { color: #BCC0C6; opacity: 1; }
:-ms-input-placeholder { color: #BCC0C6; opacity: 1; }
::placeholder { color: #BCC0C6; opacity: 1; }

/* LAYOUT STRUCTURE */
header { background: #164A63; color: #fff; width: 100%; position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 12px rgba(22,74,99,0.09); }
header .container { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
header img { height: 38px; max-width: 180px; }
.main-nav { display: flex; gap: 32px; align-items: center; }
.main-nav a { color: #fff; font-family: 'Montserrat', Arial, sans-serif; font-weight: 600; font-size: 1rem; letter-spacing: 0.5px; border-radius: 6px; padding: 8px 10px; transition: background 0.16s, color 0.16s; }
.main-nav a:hover, .main-nav a:focus { background: #EE8C14; color: #fff; }
header .button-primary { margin-left: 16px; margin-top: 0; font-size: 1rem; }

/* Hamburger menu (mobile) */
.mobile-menu-toggle {
  display: none;
  background: #EE8C14;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(238,140,20,0.14);
  z-index: 51;
  cursor: pointer;
  position: absolute; right: 18px; top: 14px;
  transition: background 0.25s, transform 0.14s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #B35C00; transform: scale(1.08);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #164A63;
  box-shadow: 0 4px 60px rgba(22,74,99,0.19);
  z-index: 50;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.7,.2,.17,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  margin: 22px 20px 8px 10px; align-self: flex-end;
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  transition: color 0.22s, background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #EE8C14; background: rgba(0,0,0,0.04);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-left: 36px; margin-top: 10px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  padding: 10px 0;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EE8C14;
  color: #fff;
  text-decoration: none;
}
@media (max-width: 1024px) {
  .main-nav { gap: 19px; }
}
@media (max-width: 920px) {
  header .container { flex-wrap: wrap; gap: 6px; }
  .main-nav { gap: 10px; }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  header .button-primary { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 861px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* HERO SECTION */
.hero {
  background: #E9ECEF;
  background-image: linear-gradient(105deg, #E9ECEF 75%, #EE8C14 120%);
  border-bottom: 4px solid #EE8C14;
  padding: 60px 0 50px 0;
}
.hero .container { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero .content-wrapper {
  display: flex; flex-direction: column; align-items: center;
  gap: 32px;
  padding: 34px 12px 16px 12px;
  background: #fff;
  box-shadow: 0 6px 34px rgba(22,74,99,0.13);
  border-radius: 16px;
  max-width: 700px;
}
.hero h1 { color: #164A63; text-align: center; font-size: 2.7rem; font-weight: 800; letter-spacing: 0.8px; text-shadow: 0 2px 14px rgba(238,140,20,0.09); }
.hero p {
  font-family: 'Roboto',Arial,sans-serif; font-size: 1.2rem; color: #333; margin-bottom: 0; text-align: center; max-width: 540px;
}

/* FEATURES, SERVICE CARDS, GRID */
.feature-grid, .service-cards, .support-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 24px;
}
.feature-grid > div, .service-cards > div, .support-promises > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 18px;
  padding: 28px 22px 24px 22px;
  box-shadow: 0 2px 18px rgba(22,74,99,0.10);
  min-width: 220px;
  min-height: 220px;
  flex: 1 1 255px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.14s;
}
.feature-grid > div:hover, .service-cards > div:hover, .support-promises > div:hover {
  box-shadow: 0 8px 36px rgba(238,140,20,0.18);
  transform: translateY(-4px) scale(1.025);
}
.feature-grid img, .service-cards img, .support-promises img {
  height: 44px; width: 44px; margin-bottom: 16px;
}
.feature-grid h3, .service-cards h3, .support-promises h3 {
  font-size: 1.17rem;
  color: #164A63;
}
.feature-grid p, .service-cards p, .support-promises p {
  color: #263055; font-size: 1rem; margin-bottom: 0;
}

/* SPACING CLASSES - MANDATORY PATTERNS */
.card-container { display: flex; flex-wrap: wrap; gap: 24px !important; }
.card { background: #fff; border-radius: 14px; margin-bottom: 20px; position: relative; transition: box-shadow 0.19s; box-shadow: 0 2px 16px rgba(22,74,99,0.09); }
.card:hover { box-shadow: 0 6px 26px rgba(238,140,20,0.17); }
.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: center; gap: 20px; padding: 20px; background: #fff; border-radius: 16px; box-shadow: 0 2px 20px rgba(22,74,99,0.09); margin-bottom: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* TESTIMONIALS */
.testimonials {
  display: flex; flex-wrap: wrap; gap: 24px; margin-top: 20px; justify-content: flex-start;
}
.testimonial-card {
  background: #fff; color: #164A63;
  min-width: 270px; flex: 1 1 240px; box-shadow: 0 2px 20px rgba(22,74,99,0.10);
  border-left: 5px solid #EE8C14; border-radius: 16px; transition: box-shadow 0.19s, border-color 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 30px rgba(238,140,20,0.17);
  border-color: #B35C00;
}
.testimonial-card p {
  color: #1A2236; font-size: 1.04rem; font-style: italic; margin-bottom: 8px;
}
.testimonial-card span {
  color: #EE8C14; font-family: 'Montserrat',Arial,sans-serif; font-weight: 600; letter-spacing: 0.7px; font-size: 1rem;
}

/* FOOTER */
footer { background: #164A63; color: #fff; padding: 42px 0 12px 0; }
footer .container { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 60px 32px; justify-content: space-between; }
.footer-menu, .footer-contact, .footer-brand, .footer-legal {
  display: flex; flex-direction: column; gap: 10px;
}
.footer-menu { flex: 1 1 240px; }
.footer-menu a {
  color: #E9ECEF; font-size: 1rem; margin-bottom: 6px; letter-spacing: 0.3px; border-radius: 4px; padding: 3px 4px; transition: background 0.16s; font-family: 'Montserrat',Arial,sans-serif;
}
.footer-menu a:hover, .footer-menu a:focus { color: #fff; background: #EE8C14; text-decoration: none; }
.footer-contact img { width: 17px; height: 17px; margin-right: 8px; vertical-align: middle; }
.footer-legal { font-size: 0.96rem; color: #E9ECEF; }
.footer-brand img { height: 38px; }

/* OTHER TEXT BLOCKS */
.text-section { margin-bottom: 24px; }
.text-section ul, .text-section ol { margin: 14px 0 20px 23px; }
.text-section ul li, .text-section ol li { list-style: disc; margin-bottom: 8px; font-size: 1rem; }
.text-section h2 { margin-top: 24px; }

.question-accordion { margin: 26px 0 14px 0; }
.question-accordion details {
  margin-bottom: 18px;
  background: #f6f7fa;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(22,74,99,0.10);
  padding: 10px 18px;
  color: #164A63;
  transition: box-shadow 0.18s;
}
.question-accordion details:hover, .question-accordion details[open] {
  box-shadow: 0 4px 20px rgba(238,140,20,0.14);
  background: #fff;
}
.question-accordion summary {
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1.13rem;
  font-weight: bold;
  cursor: pointer;
  outline: none;
  user-select: none;
}
.contact-prompt { margin-top: 20px; padding: 14px 0; text-align: center; }
.contact-prompt a { border-bottom: 2px solid #EE8C14; font-weight: 500; font-size: 1.09rem; }

.faq-teaser { margin: 0 0 6px 0; }
.faq-teaser li { margin-bottom: 10px; }
.faq-teaser a { color: #164A63; font-size: 1.07rem; transition: color 0.17s; font-family: 'Montserrat',Arial,sans-serif; }
.faq-teaser a:hover { color: #EE8C14; }

.how-guide li { margin-bottom: 14px; font-size: 1.1rem; }
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; margin-top: 12px; margin-bottom: 12px;
}
.feature-list li {
  background: #fff;
  border-radius: 11px;
  padding: 14px 18px;
  font-size: 1.08rem;
  color: #164A63;
  font-family: 'Montserrat',Arial,sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  box-shadow: 0 2px 11px rgba(22,74,99,0.11);
}

/* Section calls to action */
section > .container > .content-wrapper > a:not(.button-primary) {
  margin-top: 18px;
  font-size: 1rem;
  text-decoration: underline;
  color: #EE8C14;
  font-weight: 600;
}

ol { margin-bottom: 16px; margin-left: 18px; }
ol li { list-style: decimal; margin-bottom: 8px; }

.infographics img { margin: 28px auto 20px auto; height: 90px; display: block; opacity: 0.97; }

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: #164A63;
  color: #fff;
  display: flex; flex-direction: row; align-items: center;
  justify-content: center;
  z-index: 1001;
  padding: 18px 12px 18px 12px;
  box-shadow: 0 -4px 28px rgba(22,74,99,.19);
  gap: 34px;
  font-size: 1rem;
  animation: bannerIn 0.8s cubic-bezier(.7,.2,.17,1);
}
@keyframes bannerIn { from { transform: translateY(90px); opacity: 0.0; } to { transform: translateY(0); opacity: 1; } }
.cookie-banner p { margin: 0 20px 0 0; flex: 1 1 250px; }
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 28px;
  padding: 10px 24px;
  margin: 0;
  cursor: pointer;
  background: #fff;
  color: #164A63;
  box-shadow: 0 2px 10px rgba(22,74,99,0.11);
  transition: background 0.18s, color 0.17s;
}
.cookie-banner button.accept { background: #EE8C14; color: #fff; }
.cookie-banner button.accept:hover { background: #B35C00; }
.cookie-banner button.reject { background: #fff; color: #164A63; }
.cookie-banner button.reject:hover { background: #E9ECEF; }
.cookie-banner button.settings { background: #164A63; color: #fff; border: 1px solid #fff; }
.cookie-banner button.settings:hover { background: #EE8C14; color: #fff; }

/* --- COOKIE MODAL --- */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 1100;
  background: rgba(25,31,53,0.37);
  align-items: center; justify-content: center;
  animation: modalIn 0.5s cubic-bezier(.7,.2,.17,1);
}
.cookie-modal.open { display: flex; }
@keyframes modalIn { from { opacity: 0.0; } to { opacity: 1; } }
.cookie-modal-content {
  background: #fff;
  color: #212A46;
  border-radius: 18px;
  padding: 34px 32px 28px 32px;
  box-shadow: 0 6px 48px rgba(22,74,99,0.21);
  min-width: 340px; max-width: 95vw;
}
.cookie-modal-content h2 { color: #164A63; font-family: 'Montserrat',Arial,sans-serif; font-size: 1.5rem; margin-bottom: 18px; }
.cookie-modal-content .categories { margin-bottom: 16px; }
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.04rem;
  font-family: 'Roboto',Arial,sans-serif;
  margin-bottom: 10px;
}
.cookie-modal-content input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: #EE8C14;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px; margin-top: 12px;
  flex-wrap: wrap;
}
.cookie-modal .close-modal {
  position: absolute; top: 12px; right: 28px; background: none; border: none; font-size: 2rem; color: #164A63; cursor: pointer; line-height: 1; }
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus { color: #EE8C14; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  .feature-grid, .service-cards, .support-promises, .testimonials { gap: 16px; }
  .container, .content-wrapper { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 880px) {
  footer .container { flex-direction: column; gap: 28px; }
  .feature-grid, .service-cards {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .section, section { padding: 28px 5px; }
  .container { padding-left: 3vw; padding-right: 3vw; }
  .content-wrapper { padding: 4px 0; }
  .hero .content-wrapper { padding: 23px 4px 6px 4px; }
  .feature-grid, .service-cards, .support-promises, .testimonials {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .card-container { flex-direction: column; gap: 12px; }
  .text-image-section { flex-direction: column !important; gap: 16px; }
  .testimonial-card { min-width: 0; }
  .footer-menu, .footer-contact, .footer-legal, .footer-brand { align-items: flex-start; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }
}
@media (max-width: 540px) {
  .hero h1 { font-size: 1.4rem; }
  .hero .content-wrapper { padding: 10px 3px; gap: 16px; }
  .cookie-banner { flex-direction: column; gap: 11px; padding: 13px 4px; font-size: 0.96rem; }
  .cookie-banner p { margin: 0 0 9px 0; }
  .cookie-banner .cookie-actions { flex-direction: column; gap: 6px; }
  .cookie-modal-content { padding: 17px 6vw; min-width: 140px; }
}

/* --- ANIMATIONS/MICROINTERACTIONS --- */
.button-primary, .cookie-banner button, .cookie-modal .close-modal {
  transition: background 0.18s, color 0.17s, transform 0.14s, box-shadow 0.19s;
}
.card, .feature-grid > div, .service-cards > div, .support-promises > div, .faq-teaser a, .footer-menu a, .testimonial-card, .question-accordion details {
  transition: box-shadow 0.19s, color 0.13s, border-color 0.13s, background 0.13s, transform 0.13s;
}
.card:active, .feature-grid > div:active, .service-cards > div:active, .support-promises > div:active, .testimonial-card:active {
  transform: scale(0.97);
}

/* --- MISC. --- */
::-webkit-scrollbar {width: 8px;background: #E9ECEF;}
::-webkit-scrollbar-thumb {background: #EE8C14;border-radius:4px;}

::selection {background: #EE8C14;color: #fff;}

input, textarea, select { font-family: inherit; font-size: 1rem; border-radius: 6px; border: 1px solid #E9ECEF; padding: 9px 13px; margin-bottom: 18px; transition: border-color 0.19s; }
input:focus, textarea:focus, select:focus { border-color: #EE8C14; outline: none; }

section { margin-bottom: 60px; padding: 40px 20px; }

/* Hide outline for click but keep for keyboard nav */
a, button, summary { outline: none; }
:focus-visible { outline: 2px solid #EE8C14 !important; outline-offset: 1.5px; }

/* END */
