/* ==========================================================================
   CSS RESET & BASE TYPOGRAPHY - Scandinavian Clean
   ========================================================================== */
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;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.55;
  background: #F6F6F6;
  color: #212529;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  outline: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #274472;
  font-weight: 700;
}
h1 {font-size: 2.25rem; margin-bottom: 20px; letter-spacing: -1px;}
h2 {font-size: 1.75rem; margin-bottom: 16px;}
h3 {font-size: 1.2rem; margin-bottom: 8px;}
h4 {font-size: 1.05rem;}
h5, h6 {font-size: 1rem;}
p, li, span, label, input, button {
  font-family: 'Roboto', Arial, sans-serif;
  color: #212529;
}
strong {font-weight: 700; color: #274472;}

@media (max-width: 800px) {
  h1 {font-size: 1.7rem;}
  h2 {font-size: 1.25rem;}
  h3 {font-size: 1.05rem;}
}

/* ============================
   SPACING & CONTAINER LAYOUT
   ============================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(39,68,114,0.06);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 250px;
  min-width: 240px;
  max-width: 350px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 18px rgba(39,68,114,0.13);
  transform: translateY(-3px) scale(1.01);
  z-index: 10;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ============================
   BUTTONS & CALLS TO ACTION
   ============================ */
.cta, button.cta, .cta.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 145px;
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  border-radius: 30px;
  background: #FFC145;
  color: #274472;
  border: none;
  box-shadow: 0 3px 15px rgba(39,68,114,0.09);
  transition: background 0.16s, color 0.16s, box-shadow 0.15s, transform 0.13s;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}
.cta.secondary, .cta.outline {
  background: #fff;
  color: #274472;
  border: 1.5px solid #274472;
}
.cta:hover, .cta:focus {
  background: #274472;
  color: #fff;
  box-shadow: 0 6px 25px rgba(39,68,114,0.19);
  transform: translateY(-2px) scale(1.025);
}
.cta:active { background: #183151; }

button {
  cursor: pointer;
  border-radius: 6px;
  border: none;
  background: #FFC145;
  color: #274472;
  padding: 8px 20px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(39,68,114,0.05);
  transition: background 0.14s;
}
button:hover, button:focus {
  background: #274472;
  color: #fff;
}

/* ============================
   NAVIGATION (DESKTOP & MOBILE)
   ============================ */
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 0;
  background: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  z-index: 30;
}
.main-nav a {
  padding: 7px 14px;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s, box-shadow 0.12s;
  color: #212529;
}
.main-nav a.cta.primary {
  background: #FFC145;
  color: #274472;
  font-weight: 700;
}
.main-nav a:hover, .main-nav a.active {
  background: #F6F6F6;
  color: #274472;
}
.main-nav a.cta.primary:hover,
.main-nav a.cta.primary:focus {
  background: #274472;
  color: #fff;
}
.main-nav img {
  height: 36px;
  width: auto;
  margin-right: 10px;
}

/* Hamburger Icon */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #274472;
  font-size: 2.15rem;
  padding: 5px 17px;
  border-radius: 8px;
  border: 1.5px solid #F6F6F6;
  box-shadow: 0 2px 8px rgba(39,68,114,.06);
  margin-left: auto;
  transition: background 0.14s;
  z-index: 101;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FFC145;
  color: #274472;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(39,68,114,0.96);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 0 0;
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(.68,-0.36,.5,1.37);
  z-index: 1201;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  color: #FFC145;
  font-size: 2.4rem;
  background: transparent;
  border: none;
  padding: 17px;
  margin: 0 14px 0 0;
  align-self: flex-end;
  transition: color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 21px;
  align-items: flex-start;
  padding: 32px 35px 0 25px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.19rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: .2px;
  padding: 6px 0;
  border-radius: 4px;
  transition: color 0.12s, background 0.12s;
  width: 100%;
  display: inline-block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFC145;
  color: #274472;
}

/* Responsive Nav Toggler */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ============================
   HERO SECTIONS & PAGE HEADERS
   ============================ */
.hero {
  background: #F6F6F6;
  padding: 52px 0 44px 0;
  margin-bottom: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero h1 {
  font-size: 2.5rem;
  color: #274472;
  margin-bottom: 12px;
  letter-spacing: -1.5px;
}
.hero p {
  color: #556173;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
@media (max-width: 800px) {
  .hero {
    padding: 40px 0 28px 0;
  }
  .hero h1 {
    font-size: 1.47rem;
  }
}

/* ============================
   FEATURE & SERVICE GRIDS
   ============================ */
.features, .feature-grid, .our-features {
  width: 100%;
}
.features .content-wrapper,
.our-features .content-wrapper {
  gap: 26px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  align-items: stretch;
  justify-content: flex-start;
}
.feature-grid li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 9px rgba(39,68,114,0.07);
  padding: 28px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 220px;
  max-width: 270px;
  flex: 1 1 200px;
  transition: box-shadow 0.16s, transform 0.13s;
}
.feature-grid li:hover {
  box-shadow: 0 6px 22px rgba(39,68,114,0.14);
  transform: translateY(-2px) scale(1.022);
}
.feature-grid img {
  height: 38px;
  width: 38px;
  margin-bottom: 5px;
}
.feature-grid h3 {
  color: #274472;
}
@media (max-width: 1050px) {
  .feature-grid {
    flex: 1 1 60vw;
  }
}
@media (max-width: 800px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* ============================
   SERVICE/ABOUT/INFO LISTS
   ============================ */
.services ul,
.about-team ul, .about-preview ul, .our-features ul,
.features > .container > .content-wrapper > ul,
.feature-item ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.services li, .about-team li, .about-preview li, .our-features li, .features li {
  font-size: 1rem;
  color: #274472;
  background: #F6F6F6;
  border-radius: 12px;
  padding: 10px 18px;
  line-height: 1.5;
  box-shadow: 0 1px 4px rgba(39,68,114,0.04);
}
.services li strong, .features li strong, .our-features li strong {
  color: #274472;
}

.attention {
  background: #FFC145;
  color: #274472;
  border-radius: 8px;
  padding: 9px 18px;
  font-weight: bold;
  margin-top: 12px;
  box-shadow: 0 1px 8px rgba(39,68,114,0.07);
}

/* ============================
   TESTIMONIALS & REMARKS
   ============================ */
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(39,68,114,0.12);
  padding: 20px 28px 20px 24px;
  min-width: 250px;
  max-width: 500px;
  font-size: 1.04rem;
  color: #212529;
  margin-bottom: 20px;
}
.testimonial-card p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  color: #212529;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: .98rem;
  color: #274472;
  font-weight: 700;
  letter-spacing: .04em;
}
@media (max-width: 800px) {
  .testimonial-card {
    padding: 16px 14px 16px 12px;
  }
}

/* ============================
   CARD & MODULE ARRANGEMENT
   ============================ */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
}

.content-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* ============================
   FOOTER & INFO
   ============================ */
footer {
  background: #fff;
  border-top: 1.5px solid #F6F6F6;
  padding: 35px 0 12px 0;
  margin-top: 48px;
  font-size: .98rem;
}
footer .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 12px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.brand-info {
  flex: 1 1 170px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.brand-info img {
  height: 34px;
  margin-bottom: 8px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1 1 140px;
  min-width: 120px;
}
.footer-nav a {
  color: #274472;
  transition: color 0.13s;
  font-weight: 500;
  font-size: .97rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFC145;
}
.contact-summary {
  flex: 1 1 160px;
  font-size: .96rem;
  color: #556173;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
  }
  .footer-nav, .contact-summary, .brand-info {
    min-width: 0;
    width: 100%;
  }
}

/* ============================
   PAGE MODULES
   ============================ */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.privacy-policy, .gdpr-policy, .cookie-policy, .terms-of-use, .thank-you {
  padding: 40px 0 10px 0;
}
.privacy-policy .text-section, .gdpr-policy .text-section, .cookie-policy .text-section, .terms-of-use .text-section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(39,68,114,0.08);
  padding: 28px 26px;
  margin-top: 16px;
  color: #212529;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.01rem;
  line-height: 1.72;
}

/* ============================
   CTA SECTION
   ============================ */
.cta.section, section.cta {
  padding: 30px 0;
}
.cta.section .cta.primary, section.cta .cta.primary {
  margin-top: 0;
}

/* ============================
   CONTACT PAGE
   ============================ */
.contact-info {
  padding: 0 0 0 0;
}
.contact-info .content-wrapper {
  gap: 12px;
}
.contact-info .attention {
  margin-top: 6px;
  color: #274472;
}

/* ============================
   GENERAL UTILITY
   ============================ */
::-webkit-scrollbar {
  width: 10px; background: #F6F6F6; border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: #E1E8F0; border-radius: 8px;
}

/* ============================
   MOBILE RESPONSIVENESS
   ============================ */
@media (max-width: 850px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .content-wrapper, .footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

@media (max-width: 650px) {
  .section {
    padding: 28px 4vw;
    margin-bottom: 38px;
  }
  .privacy-policy .text-section, .gdpr-policy .text-section,
  .cookie-policy .text-section, .terms-of-use .text-section {
    padding: 12px 7px;
  }
}

/* ============================
   ANIMATIONS & MICRO-INTERACTIONS
   ============================ */
.card, .feature-grid li, .testimonial-card, .cta, button {
  transition: box-shadow 0.17s, background 0.19s, color 0.16s, transform 0.14s;
}
.cta, button {
  transition: background 0.14s, color 0.14s, transform 0.13s;
}
a {
  transition: color 0.18s;
}

/* ============================
   COOKIE CONSENT BANNER & MODAL
   ============================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -3px 22px rgba(39,68,114,0.16);
  width: 96vw;
  max-width: 500px;
  margin: 0 auto;
  z-index: 1400;
  padding: 24px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  animation: slideUpBanner 0.42s cubic-bezier(.62,-0.09,.44,1.2);
}
@keyframes slideUpBanner {
  from {transform: translateY(72px); opacity: 0;}
  to   {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  font-size: 1rem;
  color: #274472;
  margin-bottom: 4px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cookie-banner button {
  min-width: 112px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #274472;
  border-radius: 20px;
  padding: 9px 18px;
  transition: background 0.15s, color 0.13s, transform 0.11s;
  border: none;
}
.cookie-banner button.accept {
  background: #FFC145;
  color: #274472;
}
.cookie-banner button.reject {
  background: #E1E8F0;
  color: #274472;
}
.cookie-banner button.settings {
  background: transparent;
  border: 1.5px solid #274472;
  color: #274472;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #274472;
  color: #fff;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: #274472;
  color: #FFC145;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(39,68,114,0.58);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal .30s cubic-bezier(.67,0,.39,1.01);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  max-width: 400px;
  width: 92vw;
  padding: 32px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: slideUpModal .24s cubic-bezier(.72,-0.24,.53,1.41);
}
@keyframes slideUpModal {
  from {transform: translateY(54px); opacity: 0;}
  to   {transform: translateY(0); opacity: 1;}
}
.cookie-modal-content h2 {
  font-size: 1.27rem;
  color: #274472;
  font-weight: 700;
  margin-bottom: 8px;
}
.cookie-modal-content .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  justify-content: flex-start;
}
.cookie-modal-content button {
  min-width: 108px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 20px;
  background: #FFC145;
  color: #274472;
  border: none;
}
.cookie-modal-content button.close {
  background: transparent;
  color: #274472;
  position: absolute;
  top: 6px; right: 12px;
  font-size: 1.65rem;
  border: none;
  padding: 6px;
}
.cookie-modal-content button.close:focus, .cookie-modal-content button.close:hover {
  color: #FFC145;
}
.cookie-modal-content .category-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 8px;
}
.cookie-modal-content label {
  font-size: 1.05rem;
  color: #274472;
  font-weight: 500;
}
.cookie-modal-content input[type="checkbox"] {
  appearance: none;
  margin: 0;
  font: inherit;
  width: 22px;
  height: 22px;
  border: 2px solid #274472;
  border-radius: 6px;
  display: grid;
  place-content: center;
  background: #F6F6F6;
  transition: background 0.15s, border 0.13s;
}
.cookie-modal-content input[type="checkbox"]:checked {
  background: #FFC145;
  border-color: #FFC145;
  box-shadow: 0 0 2px #FFC145;
}
.cookie-modal-content input[type="checkbox"]:checked:after {
  content: '';
  width: 14px;
  height: 14px;
  display: block;
  background: #274472;
  border-radius: 3px;
}
.cookie-modal-content .category-row.essential input[type="checkbox"] {
  background: #E1E8F0;
  border-color: #E1E8F0;
  pointer-events: none;
}

@media (max-width: 480px) {
  .cookie-banner {
    min-width: 98vw;
    max-width: 99vw;
    padding: 16px 6px 18px 8px;
    border-radius: 10px 10px 0 0;
  }
  .cookie-modal-content {
    padding: 14px 7px 14px 7px;
  }
}

/* ============================
   PRINT STYLES
   ============================ */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cta, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  nav, footer {
    background: #fff !important;
    color: #212529 !important;
  }
}
