/* --- CSS RESET & BASE TYPOGRAPHY --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #232940;
  background: linear-gradient(135deg, #1A2233 0%, #FFD836 100%);
  min-height: 100vh;
  line-height: 1.6;
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 30px 10px;
    margin-bottom: 36px;
  }
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: linear-gradient(90deg, #1A2233 55%, #FFD836 120%);
  box-shadow: 0 2px 12px rgba(26,34,51,0.07);
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
header img {
  height: 48px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: color 0.24s;
}
nav a.cta.primary {
  background: #FFD836;
  color: #1A2233;
  border-radius: 30px;
  padding: 8px 28px;
  margin-left: 16px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(26,34,51,0.20);
  transition: background .25s, color .2s, transform .16s;
}
nav a.cta.primary:hover,
nav a.cta.primary:focus {
  background: #fff1a5;
  color: #1A2233;
  transform: translateY(-2px) scale(1.02);
  outline: none;
}
nav a:hover:not(.cta),
nav a:focus:not(.cta) {
  color: #FFD836;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: #FFD836;
  color: #1A2233;
  border: none;
  border-radius: 6px;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 16px;
  box-shadow: 0 1px 6px rgba(26,34,51,0.11);
  transition: background 0.2s, color 0.15s;
  z-index: 300;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #fff1a5;
  color: #1A2233;
  outline: none;
}
@media (max-width: 990px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, #1A2233 65%, #FFD836 150%);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.67,.2,.35,1.08);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 0;
  width: 100vw;
  min-height: 100vh;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-top: 32px;
  margin-bottom: 26px;
  margin-left: 20px;
  width: 44px;
  height: 44px;
  background: #FFD836;
  color: #1A2233;
  border: none;
  border-radius: 8px;
  font-size: 2.2rem;
  align-self: flex-start;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(26,34,51,0.09);
  transition: background .2s, color .15s;
  z-index: 10002;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #fff1a5;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding: 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 16px 0;
  width: 100%;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.02em;
  border-radius: 6px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: rgba(255,216,54,0.09);
  color: #FFD836;
  outline: none;
}
@media (min-width:991px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* --- HERO & GRADIENT SECTIONS --- */
section:first-of-type {
  background: linear-gradient(110deg, #FFD836 45%, #FFFFFF 100%);
  border-radius: 0 0 3em 3em;
  box-shadow: 0 6px 30px -8px rgba(26,34,51,0.11);
}
section .subheadline {
  font-size: 1.25rem;
  color: #655900;
  max-width: 600px;
}

/* --- HEADINGS TYPOGRAPHY & HIERARCHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1A2233;
  line-height: 1.2;
  margin-bottom: 10px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
}
h2 {
  font-size: 2rem;
  color: #FFD836;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}
@media (max-width: 960px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }
}

/* --- BUTTONS & CTAS --- */
.cta, .text-section a.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.15rem;
  border: none;
  text-decoration: none;
  min-width: 165px;
  min-height: 48px;
  padding: 12px 34px;
  transition: background .2s, color .18s, box-shadow .22s, transform .11s;
  box-shadow: 0 4px 24px rgba(26,34,51,0.11);
  cursor: pointer;
  margin-top: 10px;
}
.cta.primary {
  background: #FFD836;
  color: #1A2233;
  outline: none;
}
.cta.primary:hover,
.cta.primary:focus {
  background: #fff1a5;
  color: #1A2233;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px rgba(26,34,51,0.17);
}
.cta.secondary {
  background: transparent;
  color: #FFD836;
  border: 2px solid #FFD836;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #FFD836;
  color: #1A2233;
}

/* --- GENERAL LINKS --- */
a {
  color: #FFD836;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1A2233;
  outline: none;
}

/* --- LISTS & TEXT SECTIONS --- */
ul,ol {
  margin: 0 0 16px 22px;
  color: #232940;
  font-size: 1.07rem;
  line-height: 1.8;
}
.text-section ul, .content-wrapper ul {
  margin-bottom: 14px;
  margin-left: 22px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #242a3c;
}

/* --- FLEXBOX & CARD LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(26,34,51,0.09);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 260px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

.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;
    align-items: flex-start;
    gap: 22px;
  }
}
.feature-grid, .feature-item, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.feature-grid > div, .feature-item {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(26,34,51,0.07);
  padding: 24px 18px 26px 18px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow .18s, transform .18s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 30px rgba(26,34,51,0.16);
  transform: translateY(-2px) scale(1.01);
}
.feature-grid img {
  height: 44px;
  width: 44px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 22px;
  background: #fffbe7;
  box-shadow: 0 2px 10px rgba(26,34,51,0.06);
  font-size: 1.08rem;
  color: #1A2233;
}
.testimonial-card p {
  color: #1A2233;
  font-style: italic;
  margin-right: 10px;
  font-size: 1.08rem;
}
.testimonial-card span {
  color: #655900;
  font-size: .97rem;
  font-style: normal;
  font-weight: 500;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px;
  }
}

/* --- FOOTER --- */
footer {
  width: 100%;
  background: linear-gradient(101deg, #1A2233 80%, #FFD836 140%);
  color: #fff;
  padding: 36px 0 24px 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer img {
  height: 38px;
  width: auto;
  margin-bottom: 8px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 14px;
  font-size: 0.97rem;
}
footer nav a {
  color: #FFD836;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  text-decoration: none;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  outline: none;
}
footer .text-section {
  color: #fff;
  font-size: 0.98rem;
  align-items: center;
  gap: 4px;
}
footer .text-section img {
  height: 1em;
  width: 1em;
  vertical-align: middle;
  margin-right: 4px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: linear-gradient(90deg, #FFD836 86%, #1A2233 130%);
  color: #1A2233;
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 22px 44px;
  box-shadow: 0 -2px 16px rgba(26,34,51,0.09);
  z-index: 19999;
  font-size: 1.01rem;
  animation: bannerIn .7s cubic-bezier(.5,.9,.55,1.08);
}
@keyframes bannerIn {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #1A2233;
  max-width: 700px;
}
.cookie-banner-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 28px;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(26,34,51,0.1);
  font-weight: 600;
  transition: background .19s, color .13s, box-shadow .23s;
}
.cookie-banner .accept {
  background: #1A2233;
  color: #FFD836;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #3a4159;
  color: #FFD836;
}
.cookie-banner .reject {
  background: #fff;
  color: #1A2233;
  border: 1.5px solid #FFD836;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #FFD836;
  color: #1A2233;
}
.cookie-banner .settings {
  background: transparent;
  color: #1A2233;
  border: 1.5px solid #1A2233;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #FFD836;
  color: #1A2233;
}
@media (max-width:700px){
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 14px;
    gap: 16px;
  }
  .cookie-banner-btns {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
  }
  .cookie-banner-text {
    font-size: 0.98rem;
    max-width: 98vw;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(26,34,51,0.56);
  z-index: 20002;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 8px 42px rgba(26,34,51,.21);
  padding: 34px 32px 28px 32px;
  max-width: 420px;
  min-width: 298px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modalIn .35s cubic-bezier(.7,.27,.45,1);
}
@keyframes modalIn {
  0% { transform: scale(.93) translateY(80px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  color: #1A2233;
  font-size: 1.4rem;
  margin-bottom: 2px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cookie-category label {
  font-weight: 600;
  color: #232940;
  font-size: 1.07rem;
}
.cookie-category input[type='checkbox'] {
  width: 20px;
  height: 20px;
  accent-color: #FFD836;
  border-radius: 4px;
}
.cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .save {
  background: #FFD836;
  color: #1A2233;
  border: none;
  border-radius: 22px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  padding: 8px 28px;
  cursor: pointer;
  transition: background .18s, color .15s;
}
.cookie-modal .save:hover, .cookie-modal .save:focus {
  background: #fff1a5;
  color: #1A2233;
}
.cookie-modal .cancel {
  background: #fff;
  color: #1A2233;
  border: 1.5px solid #FFD836;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.07rem;
  padding: 8px 28px;
  transition: background .15s, color .11s;
  cursor: pointer;
}
.cookie-modal .cancel:hover, .cookie-modal .cancel:focus {
  background: #FFD836;
  color: #1A2233;
}

/* --- FORMS & INPUTS (future-proof) --- */
input, button, textarea, select {
  font-family: inherit;
  font-size: 1em;
}
input[type='text'],
input[type='email'],
input[type='password'],
textarea {
  border: 1.5px solid #d5dbed;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 1rem;
  outline: none;
  margin-bottom: 16px;
  width: 100%;
  transition: border .16s, box-shadow .18s;
}
input:focus, textarea:focus {
  border: 2px solid #FFD836;
  box-shadow: 0 2px 12px rgba(255,216,54,0.10);
}
label {
  font-size: 1rem;
  color: #232940;
  margin-bottom: 4px;
}

/* --- RESPONSIVE --- */
@media (max-width: 990px) {
  .container {
    padding: 0 10px;
  }
  .feature-grid, .feature-item, .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .feature-grid > div {
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  header .container, footer .container {
    padding: 0 8px;
    gap: 10px;
  }
}
@media (max-width: 430px) {
  footer .text-section, .text-section {
    font-size: 0.96rem;
  }
}

/* --- UTILITY CLASSES --- */
.hide {
  display: none !important;
  visibility: hidden !important;
}

.visible {
  display: flex !important;
}

/* --- BASIC ANIMATIONS & TRANSITIONS --- */
a, button, .cta, .card, .feature-grid > div, .mobile-nav a {
  transition: color .17s, background .23s, box-shadow .22s, transform .13s;
}

.card:hover, .card:focus {
  box-shadow: 0 10px 34px rgba(26,34,51,0.13);
  transform: scale(1.01);
}

/* --- MISC FIXES --- */
::-webkit-input-placeholder {  color: #c0c7de;  }
::-moz-placeholder { color: #c0c7de; }
:-ms-input-placeholder { color: #c0c7de; }
::placeholder { color: #c0c7de; }

img {
  max-width: 100%;
  display: block;
}

/* --- VISUALLY HIDE FOR SCREEN READERS --- */
.sr-only{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}
