/* 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,
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;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F2F3F7;
  color: #1F3251;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
button {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
}
input, textarea, select {
  font: inherit;
  outline: none;
}

/* FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #F2F3F7;
  color: #1F3251;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1F3251;
  letter-spacing: -0.5px;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
p, ul, ol {
  font-size: 1rem;
  color: #2C435D;
  line-height: 1.7;
  margin-bottom: 14px;
}
strong {
  font-weight: 700;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(31, 50, 81, 0.08);
  display: flex;
  flex-direction: column;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(31, 50, 81, 0.07);
  margin-bottom: 20px;
  padding: 28px 22px;
  position: relative;
  flex: 1 1 280px;
  min-width: 220px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 26px rgba(31, 50, 81, 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;
  margin-bottom: 48px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F9F9FB;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(31, 50, 81, 0.10);
  min-width: 250px;
  max-width: 420px;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #1F3251;
  font-size: 1.03rem;
}
.testimonial-author {
  font-size: 0.98rem;
  font-family: 'Montserrat', sans-serif;
  color: #7A7151;
  padding-left: 14px;
}
.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

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

/* HERO STYLES */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EDECE7;
  min-height: 320px;
  padding: 54px 0 40px 0;
  margin-bottom: 38px;
  border-radius: 0 0 40px 40px;
}
.hero h1 {
  color: #1F3251;
}
.hero p {
  color: #2C435D;
  font-size: 1.12rem;
  margin-bottom: 20px;
}

/* PRIMARY BUTTONS & CTA */
.cta-button {
  background: #1F3251;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.03rem;
  letter-spacing: 0.5px;
  border-radius: 28px;
  padding: 12px 32px;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(31,50,81,0.10);
  margin-top: 15px;
  display: inline-block;
  border: 2px solid #1F3251;
}
.cta-button:hover, .cta-button:focus {
  background: #E4C57A;
  color: #1F3251;
  border-color: #E4C57A;
  box-shadow: 0 8px 32px rgba(31, 50, 81, 0.09);
  text-decoration: none;
}

/* FEATURES */
.features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 54px;
}
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(31, 50, 81, 0.10);
  padding: 30px 24px 32px 24px;
  flex: 1 1 240px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  filter: grayscale(0.22);
}
.feature:hover {
  box-shadow: 0 8px 32px rgba(31, 50, 81, 0.14);
  transform: translateY(-5px) scale(1.018);
}
.feature h3 {
  color: #1F3251;
  margin-bottom: 6px;
}
.feature p {
  color: #2C435D;
  font-size: 1rem;
}

/* ABOUT, SERVICES, ETC. */
.about, .services, .tips, .contact, .gdpr, .privacy-policy, .cookie-policy, .terms-of-use, .thank-you, .cta {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(31,50,81,0.09);
}

.about ul, .services ul, .tips ul, .gdpr ul, .privacy-policy ul, .terms-of-use ul {
  margin-left: 18px;
  padding-left: 16px;
  list-style-type: disc;
  font-size: 1rem;
  color: #1F3251;
}
.about li, .services li, .tips li, .gdpr li, .privacy-policy li, .terms-of-use li {
  margin-bottom: 10px;
}

/* FOOTER */
footer {
  background: #EDECE7;
  padding: 34px 0 24px 0;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -2px 8px rgba(31,50,81,0.05);
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1F3251;
  font-size: 1rem;
  padding: 2px 6px;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #E4C57A;
  color: #1F3251;
}
.branding {
  font-size: 1.03rem;
  color: #7A7151;
  font-family: 'Montserrat', Arial, sans-serif;
}
.contact-mini {
  color: #2C435D;
  font-size: 0.98rem;
  opacity: 0.92;
}

/* HEADER & MAIN NAV */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(31, 50, 81, 0.06);
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 28px 18px 18px 18px;
  gap: 20px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #1F3251;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a.active {
  background: #E4C57A;
  color: #1F3251;
}

header img {
  height: 48px;
  margin-right: 15px;
}

.contain-logo {
  display: flex;
  align-items: center;
  gap: 9px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: #E4C57A;
  color: #1F3251;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  position: relative;
  z-index: 31;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #1F3251;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 2px 32px rgba(31,50,81,0.18);
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(0.40,0,0.2,1);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 32px 18px 18px 18px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #E4C57A;
  color: #1F3251;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #1F3251;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.16rem;
  color: #1F3251;
  padding: 12px 0;
  border-radius: 9px;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus, .mobile-nav a.active {
  background: #E4C57A;
  color: #1F3251;
}

/* Hide nav/show mobile menu appropriately */
@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 991px) {
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
}
@media (max-width: 700px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-nav {
    justify-content: flex-start;
    gap: 14px;
  }
}

/* RESPONSIVE STYLES */
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .section,
  .about, .services, .tips, .contact, .gdpr,
  .privacy-policy, .cookie-policy, .terms-of-use, .thank-you, .cta {
    padding: 28px 8px;
    margin-bottom: 36px;
    border-radius: 11px;
  }
  .card-container, .testimonial-cards, .features .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .features .feature-grid {
    gap: 18px;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .hero {
    padding: 38px 0 30px 0;
    min-height: 210px;
    border-radius: 0 0 16px 16px;
  }
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
  }
}
@media (max-width: 450px) {
  .section,
  .about, .services, .tips, .contact, .gdpr, .privacy-policy, .cookie-policy, .terms-of-use, .thank-you, .cta {
    padding: 14px 2px;
    margin-bottom: 20px;
  }
  .hero {
    padding: 18px 0 16px 0;
    border-radius: 0 0 10px 10px;
  }
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.1rem;
  }
}

/* INFO BOXES, TIPS ETC. */
.info-box {
  background: #F2F3F7;
  color: #1F3251;
  border-left: 4px solid #E4C57A;
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 16px;
  font-size: 1rem;
}

/* MICRO-INTERACTIONS & HOVER */
button, .cta-button, .feature, .card, .main-nav a, .footer-nav a, .mobile-nav a {
  transition: background 0.18s, color 0.18s, box-shadow 0.16s, transform 0.14s;
}

/* COOKIES BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -2px 18px rgba(31,50,81,0.12);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 1002;
  gap: 16px;
  transition: transform 0.33s cubic-bezier(.39,.57,.56,1);
  transform: translateY(100%);
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-banner p {
  font-size: 1rem;
  color: #1F3251;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}
.cookie-button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 24px;
  border-radius: 24px;
  background: #F2F3F7;
  border: 2px solid #1F3251;
  color: #1F3251;
  cursor: pointer;
  transition: background 0.16s, border 0.17s, color 0.17s;
}
.cookie-button.accept {
  background: #1F3251;
  color: #fff;
  border-color: #1F3251;
}
.cookie-button.reject {
  background: #fff;
  color: #1F3251;
  border-color: #E4C57A;
}
.cookie-button.settings {
  background: #EDECE7;
  color: #1F3251;
  border-color: #E4C57A;
}
.cookie-button:hover, .cookie-button:focus {
  background: #E4C57A;
  color: #1F3251;
  border-color: #E4C57A;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1005;
  inset: 0;
  background: rgba(31, 50, 81, 0.33);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.33s;
}
.cookie-modal-overlay.show {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  width: 100%;
  max-width: 420px;
  margin: 0 auto 40px auto;
  border-radius: 18px;
  box-shadow: 0 6px 36px rgba(31,50,81,0.22);
  padding: 32px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalIn 0.39s cubic-bezier(.39,.57,.56,1);
}
@keyframes modalIn {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.22rem;
  margin-bottom: 8px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #F2F3F7;
  padding-bottom: 9px;
  margin-bottom: 8px;
}
.cookie-modal-category:last-child {
  border-bottom: none;
}
.cookie-modal-category label {
  font-size: 1rem;
  color: #1F3251;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-toggle {
  width: 36px;
  height: 20px;
  border-radius: 20px;
  background: #EDECE7;
  transition: background 0.14s;
  position: relative;
  display: inline-block;
}
.cookie-modal-toggle input[type="checkbox"] {
  display: none;
}
.cookie-modal-toggle .slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1F3251;
  transition: left 0.15s, background 0.18s;
}
.cookie-modal-toggle input[type="checkbox"]:checked + .slider {
  left: 18px;
  background: #E4C57A;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: #E4C57A;
  color: #1F3251;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 102;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #1F3251;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-modal {
    padding: 18px 7px 10px 12px;
    max-width: 96vw;
    min-width: 0;
  }
  .cookie-modal-category label {
    font-size: 0.97rem;
  }
}

/* ACCENT LINES, DIVIDERS */
.divider {
  width: 100%;
  height: 1px;
  background: #EDECE7;
  margin: 26px 0;
  border-radius: 1px;
}

/* ACCESSIBILITY FOCUS */
:focus-visible {
  outline: 2px solid #E4C57A;
  outline-offset: 2px;
}

/* General links in text */
a:not(.cta-button):not(.main-nav a):not(.mobile-nav a):not(.footer-nav a) {
  color: #1F3251;
  border-bottom: 1px dotted #E4C57A;
  transition: color 0.16s, border 0.13s;
}
a:not(.cta-button):not(.main-nav a):not(.mobile-nav a):not(.footer-nav a):hover {
  color: #E4C57A;
  border-bottom: 1px solid #E4C57A;
}

/* UTILITY MARGIN */
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }
.cmb-20 > * + * { margin-top: 20px; }

/* Utility Flex Layouts */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.flex-row {
  flex-direction: row;
}
.flex-wrap {
  flex-wrap: wrap;
}
.align-center {
  align-items: center;
}
.align-start {
  align-items: flex-start;
}
.justify-between {
  justify-content: space-between;
}
.gap-16 {
  gap: 16px;
}
.gap-24 {
  gap: 24px;
}

/* END */
