/* --- CSS RESET & BASE TYPOGRAPHY --- */
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: #FFF;
}
body {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.7;
  font-size: 1rem;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #3169A6;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #F9AF40;
  outline: none;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 1.25em;
}
li {
  margin-bottom: 0.5em;
}

/* --- BRAND FONTS (Google Fonts, ensure linked at deployment) --- */
@font-face {
  font-family: 'Baloo 2';
  src: local('Baloo 2'), url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600&display=swap');
  font-weight: 600;
}

@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'), url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Baloo 2', 'Montserrat', Arial, sans-serif;
  color: #1a2630;
  font-weight: 600;
  margin-bottom: 0.6em;
  line-height: 1.1;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 14px;
}
p {
  margin-bottom: 1.3em;
  font-size: 1.06rem;
}

/* --- FLEX CONTAINER SYSTEMS --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 1px 8px 0 rgba(49, 105, 166, 0.06);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  max-width: 330px;
  padding: 30px 22px;
  justify-content: center;
  transition: box-shadow .22s cubic-bezier(.4,0,.2,1),transform .14s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 4px 24px 0 rgba(49, 105, 166, 0.13);
  transform: translateY(-2px) scale(1.015);
}
.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: #F9FAFC;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(49, 105, 166, .07);
  margin-bottom: 20px;
  font-size: 1.08rem;
  color: #1a2630;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin: 12px 0 22px 0;
  font-size: 1.08rem;
}
.feature-icons img {
  width: 28px;
  height: 28px;
  vertical-align: middle;
  margin-right: 6px;
}

/* --- HEADER, NAV & MOBILE BURGER MENU --- */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(49, 105, 166, 0.03);
  position: sticky;
  top: 0;
  z-index: 400;
  width: 100%;
  margin-bottom: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  min-height: 64px;
  gap: 24px;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.04rem;
  color: #1a2630;
  padding: 2px 8px 2px 8px;
  border-radius: 5px;
  transition: background .15s, color .12s;
  letter-spacing: 0.01em;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #3169A6;
  background: #F3F3F8;
}

.cta.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #3169A6;
  color: #fff;
  padding: 12px 32px;
  border: 0;
  border-radius: 24px;
  font-family: 'Baloo 2', 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.14rem;
  box-shadow: 0 2px 20px 0 rgba(49, 105, 166, 0.09);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0.01em;
  transition: background .15s, box-shadow .2s, transform .16s;
}
.cta.primary:hover,
.cta.primary:active,
.cta.primary:focus {
  background: #1a2630;
  color: #F9AF40;
  box-shadow: 0 6px 42px 0 rgba(49, 105, 166, .16);
  transform: translateY(-2px) scale(1.03);
}

/* --- MOBILE MENU STYLES --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 22px;
  top: 22px;
  background: #3169A6;
  color: #fff;
  border: none;
  border-radius: 10px;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  box-shadow: 0 2px 16px 0 rgba(49, 105, 166, 0.04);
  z-index: 1002;
  cursor: pointer;
  transition: background .12s, color .18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F9AF40;
  color: #3169A6;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 0 48px 0 rgba(49,105,166,.14);
  z-index: 1100;
  transform: translateX(-100vw);
  transition: transform .38s cubic-bezier(.77,0,.18,1);
  padding: 0 26px;
  min-height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #3169A6;
  font-size: 2.4rem;
  border: none;
  align-self: flex-end;
  padding: 12px;
  margin-top: 20px;
  cursor: pointer;
  transition: color .17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #F9AF40;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 38px;
}
.mobile-nav a {
  font-size: 1.20rem;
  color: #1a2630;
  padding: 10px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-bottom: 1px solid #F3F3F8;
  transition: color .13s, background .13s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #3169A6;
  background: #F9AF40;
}

/* Show burger icon only on small screens */
@media (max-width: 1024px) {
  .main-nav, .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  header .container {
    height: 70px;
    min-height: 56px;
    gap: 18px;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- FOOTER --- */
footer {
  background: #fafbfc;
  padding: 38px 0 0 0;
  margin-top: 28px;
  border-top: 1.5px solid #f3f3f8;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 28px;
}
.logo-footer img {
  height: 48px;
  width: auto;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}
.footer-nav a {
  color: #3169A6;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.95;
  transition: color .15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #F9AF40;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #384162;
  font-size: 1rem;
  opacity: 0.85;
  margin-top: 6px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}

/* --- UNIVERSAL BUTTONS & FORMS --- */
button, .cta, input[type=submit] {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
  cursor: pointer;
  background: none;
}
button:focus-visible, a:focus-visible {
  outline: 2px dotted #3169A6;
  outline-offset: 2px;
}

/* --- COOKIES BANNER & MODAL SYSTEM --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1.5px solid #ececec;
  box-shadow: 0 -2px 18px 0 rgba(49, 105, 166, 0.08);
  padding: 22px 10px 20px 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  z-index: 1300;
  gap: 20px;
  min-height: 64px;
  font-size: 1.06rem;
  animation: cookies-in 0.6s cubic-bezier(.61,0,.07,1);
}
@keyframes cookies-in {
  from { transform: translateY(48px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  padding: 9px 22px;
  border-radius: 22px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: background .14s, color .12s, box-shadow .11s;
}
.cookie-banner .accept-all {
  background: #3169A6;
  color: #fff;
}
.cookie-banner .accept-all:hover,
.cookie-banner .accept-all:focus {
  background: #274a79;
  color: #F9AF40;
}
.cookie-banner .reject-all {
  background: #fff;
  color: #3169A6;
  border: 1.5px solid #3169A6;
}
.cookie-banner .reject-all:hover,
.cookie-banner .reject-all:focus {
  background: #3169A6;
  color: #fff;
}
.cookie-banner .settings {
  background: #F9AF40;
  color: #1a2630;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: #3169A6;
  color: #fff;
}

/* Cookie preferences modal */
.cookie-modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30, 39, 57, 0.24);
  z-index: 1301;
  animation: fade-in-modal .3s cubic-bezier(.52,0,.23,1);
}
@keyframes fade-in-modal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 32px 0 rgba(49,105,166,0.14);
  padding: 32px 24px 26px 24px;
  min-width: 300px;
  max-width: 98vw;
  width: 410px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  animation: modal-in 0.36s cubic-bezier(.51,0,.19,1);
  position: relative;
  z-index: 1302;
}
@keyframes modal-in {
  from { transform: translateY(3rem) scale(0.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.28rem;
  margin-bottom: 8px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 1.08rem;
}
.cookie-modal .category input[type=checkbox] {
  width: 22px;
  height: 22px;
}
.cookie-modal .category.essential input[type=checkbox] {
  accent-color: #3169A6;
  pointer-events: none;
}
.cookie-modal .btns {
  display: flex;
  gap: 13px;
  margin-top: 16px;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 14px;
  top: 12px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #3169A6;
  cursor: pointer;
  transition: color .14s;
}
.cookie-modal .close-modal:hover {
  color: #F9AF40;
}
.cookie-modal .btns button {
  padding: 9px 22px;
  border-radius: 22px;
  font-family: inherit;
  font-weight: 500;
}
.cookie-modal .btns .save {
  background: #3169A6;
  color: #fff;
}
.cookie-modal .btns .save:hover {
  background: #274a79;
  color: #F9AF40;
}
.cookie-modal .btns .cancel {
  background: #f3f3f8;
  color: #3169A6;
}
.cookie-modal .btns .cancel:hover {
  background: #3169A6;
  color: #fff;
}

/* --- CORE SPACING SYSTEM --- */
.content-wrapper > * + * {
  margin-top: 0px;
}
main {
  width: 100%;
  background: #fff;
  flex: 1 0 auto;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

/* --- TESTIMONIAL & ATTRACTION CARDS --- */
.testimonial-card {
  border-left: 4px solid #3169A6;
  background: #f7fafd;
  color: #18191b;
  box-shadow: 0 2px 14px 0 rgba(30,39,57,0.06);
}
.testimonial-card strong {
  color: #3169A6;
  font-weight: 600;
}

/* --- TEXT SECTIONS --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}

/* --- ULTRA-MINIMAL VISUALS --- */
hr {
  border: none;
  border-top: 1.5px solid #f3f3f8;
  margin: 32px 0;
}

/* --- ACCENT ELEMENTS --- */
strong {
  font-weight: 600;
  color: #1a2630;
}

/* --- RESPONSIVE DESIGN (MOBILE-FIRST) --- */
@media (max-width: 900px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  section {
    padding: 26px 0;
  }
  .footer-contact {
    font-size: 0.97rem;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  h1 {
    font-size: 1.42rem;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 1.14rem;
    margin-bottom: 12px;
  }
  .footer-contact {
    gap: 6px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .section {
    margin-bottom: 32px;
    padding: 22px 8px;
  }
  .card-container, .content-grid, .feature-icons {
    gap: 12px;
  }
  .testimonial-card {
    padding: 15px 10px;
    font-size: 0.99rem;
  }
}
@media (max-width: 600px) {
  header .container, footer .container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    height: auto;
    min-height: unset;
    padding-bottom: 12px;
  }
  .logo img {
    height: 34px;
  }
  .logo-footer img {
    height: 36px;
  }
  main {
    padding-top: 8px;
  }
}
@media (max-width: 768px) {
  .card-container, .content-grid, .feature-icons {
    flex-direction: column;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 13px;
  }
  footer .container {
    gap: 18px;
  }
}

/* --- MICRO-INTERACTIONS & ANIMATIONS --- */
a, .cta, button, .main-nav a, .mobile-nav a {
  transition: color 0.15s, background 0.13s, box-shadow 0.11s, transform 0.12s;
}

.card, .testimonial-card, .cta.primary {
  transition: box-shadow 0.19s, transform 0.15s, background 0.13s, color 0.10s;
}

.card:active,.cta.primary:active {
  transform: scale(0.98);
}

.mobile-menu,
.cookie-modal,
.cookie-banner {
  will-change: transform, opacity;
}

/* --- MISC --- */
::-webkit-scrollbar {
  width: 8px;
  background: #f9fafb;
}
::-webkit-scrollbar-thumb {
  background: #edf2f6;
  border-radius: 5px;
}

/* Mark required fields/forms */
form [required] {
  border-color: #F9AF40;
}

/* --- COLOR ACCESSIBILITY HELPERS --- */
.sr-only {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  top: auto;
  overflow: hidden;
}

/* --- END OF MINIMALIST SYSTEM CSS --- */
