/* ===== CSS RESET & NORMALIZATION ===== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #F9FAFB;
  color: #16487E;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #16487E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFCF04;
}
ul, ol {
  list-style: disc inside;
  padding-left: 1.5em;
  margin: 16px 0;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  color: #16487E;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.25rem;
}
h2 {
  font-size: 1.7rem;
}
h3 {
  font-size: 1.25rem;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p {
  margin-bottom: 12px;
}
strong, b {
  font-weight: 700;
}
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ====== HEADER & NAVIGATION ====== */
header {
  width: 100%;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1001;
  box-shadow: 0 4px 16px rgba(22, 72, 126, 0.06);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 0 0 16px;
  min-height: 70px;
  gap: 24px;
}
header > a:first-child img {
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 16px;
  margin-left: 16px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 20px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FFCF04;
  color: #16487E;
}
.cta-btn {
  background: #FFCF04;
  color: #16487E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  border-radius: 36px;
  padding: 12px 32px;
  margin-left: auto;
  margin-right: 10px;
  box-shadow: 0 3px 14px 0 rgba(255,207,4,0.15);
  transition: background 0.21s, transform 0.19s, box-shadow 0.21s;
  cursor: pointer;
  letter-spacing: 0.01em;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: #FFD840;
  color: #14345B;
  transform: scale(1.04) rotate(-1deg);
  box-shadow: 0 8px 32px 0 rgba(255,207,4,0.25);
}
.mobile-menu-toggle {
  font-size: 2rem;
  background: none;
  border: none;
  color: #16487E;
  margin-left: 10px;
  display: none;
  cursor: pointer;
  transition: color 0.2s, transform 0.23s;
  z-index: 1202;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #FFCF04;
  transform: scale(1.14) rotate(4deg);
}
/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 100%;
  width: 100%;
  height: 100vh;
  background: #fff;
  box-shadow: -6px 0 32px rgba(22,72,126,0.18);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transition: transform 0.33s cubic-bezier(0.68, -0.55, 0.27, 1.55), left 0s 0.33s;
  transform: translateX(100%);
}
.mobile-menu.open {
  left: 0;
  transform: translateX(0);
  transition: transform 0.33s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #16487E;
  align-self: flex-end;
  margin: 22px 24px 8px 0;
  cursor: pointer;
  transition: color 0.2s, transform 0.19s;
  z-index: 2001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFCF04;
  transform: scale(1.16) rotate(4deg);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 14px;
  gap: 14px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #16487E;
  background: #FFCF04;
  padding: 10px 20px;
  border-radius: 22px;
  width: 80%;
  text-align: center;
  box-shadow: 0 2px 10px 0 rgba(255,207,4,0.09);
  margin-bottom: 4px;
  transition: background 0.2s, transform 0.16s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #16487E;
  color: #FFCF04;
  transform: translateY(-1px) scale(1.03) rotate(-1deg);
}

/* =========== HERO SECTION =========== */
.hero {
  background: #FFCF04;
  background: linear-gradient(107deg, #FFCF04 80%, #88E9D6 120%);
  border-radius: 0 0 48px 48px;
  min-height: 280px;
  display: flex;
  align-items: center;
  box-shadow: 0 9px 38px 0 rgba(22, 72, 126, 0.08);
  margin-bottom: 40px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 210px;
  gap: 18px;
}
.hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.2rem;
  letter-spacing: -0.03em;
  color: #16487E;
  text-shadow: 1px 1px 0 #fff4c1, 0 2px 30px #fff;
}
.hero p {
  font-size: 1.08rem;
  margin-bottom: 12px;
  color: #16487E;
  font-weight: 500;
}

/* ========== LAYOUT & SECTIONS ========== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 40px 0 rgba(22,72,126,0.05);
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.service-list > div {
  flex: 1 1 240px;
  min-width: 220px;
  border-radius: 20px;
  background: #FFCF04;
  color: #16487E;
  padding: 32px 22px 30px 22px;
  box-shadow: 0 5px 18px 0 rgba(255,207,4,0.12);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  animation: card-pop 0.76s cubic-bezier(.65,.02,.5,1.56) both;
}
@keyframes card-pop {
  from {transform: scale(0.88) translateY(30px); opacity: 0;}
  to {transform: scale(1) translateY(0); opacity: 1;}
}
.service-list h3 {
  font-size: 1.16rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 5px;
}
.service-list p, .service-list strong {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #16487E;
}
.service-list strong {
  font-weight: 700;
}
.service-list a {
  margin-top: 6px;
  background: #16487E;
  color: #FFCF04;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  border: none;
  border-radius: 20px;
  padding: 9px 24px;
  transition: background 0.22s, color 0.17s, transform 0.12s;
  box-shadow: 0 4px 18px rgba(22, 72, 126, 0.13);
  cursor: pointer;
  align-self: flex-start;
}
.service-list a:hover, .service-list a:focus {
  background: #FFD840;
  color: #16487E;
  transform: scale(1.05);
}

.text-section {
  margin-bottom: 16px;
  background: #F9FAFB;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 4px 12px rgba(22, 72, 126, 0.06);
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fffbe5;
  border-radius: 18px;
  box-shadow: 0 6px 30px 0 rgba(255,207,4,0.09);
  min-width: 220px;
  border-left: 7px solid #FFCF04;
  animation: testimonial-pop 0.85s cubic-bezier(.65,.02,.5,1.56) both;
}
@keyframes testimonial-pop {
  from {transform: translateY(40px) scale(0.8); opacity: 0;}
  to {transform: translateY(0) scale(1); opacity: 1;}
}
.testimonial-card p {
  color: #16487E;
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #16487E;
  font-size: 1rem;
  font-weight: 700;
  font-style: normal;
}

/* ============ FOOTER ============ */
footer {
  background: #16487E;
  color: #fff;
  border-radius: 48px 48px 0 0;
  margin-top: 60px;
  padding-top: 46px;
  box-shadow: 0 -7px 36px 0 rgba(22, 72, 126, 0.13);
}
footer .content-wrapper {
  gap: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #FFCF04;
  font-weight: 600;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-contact {
  text-align: center;
  font-size: 0.97rem;
  color: #FFF7BD;
  margin-bottom: 6px;
}
.footer-disclaimer {
  text-align: center;
  margin-top: 6px;
  color: #FFF7BD;
  font-size: 0.87rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 0 0 0;
}
.footer-brand img {
  height: 44px;
  width: auto;
}

/* ========== SPACING & LAYOUT CLASSES ========== */
.section { /* Already defined above for consistency */ }
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(22,72,126,0.07);
  padding: 20px 18px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.testimonial-card { /* Already defined above for consistency */ }
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* ========== BUTTONS & INTERACTIVE ELEMENTS ========== */
button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border: none;
  padding: 9px 22px;
  border-radius: 16px;
  background: #16487E;
  color: #FFCF04;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.15s, transform 0.13s;
}
button:hover, button:focus {
  background: #FFCF04;
  color: #16487E;
  transform: translateY(-2px) scale(1.04);
}

/* ========== MICRO-ANIMATIONS ========== */
.card, .cta-btn, .card-container > *, .feature-item, .service-list > div {
  transition: transform 0.2s cubic-bezier(.6,.2,.33,1.4), box-shadow 0.19s;
}
.card:hover, .service-list > div:hover {
  transform: scale(1.025) skewX(-0.8deg) skewY(0.5deg);
  box-shadow: 0 8px 32px 0 rgba(255,207,4,0.18);
}

/* ========== COOKIES BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  z-index: 3000;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  background: #fffbe5;
  color: #16487E;
  box-shadow: 0 -7px 32px 0 rgba(22,72,126,0.13);
  border-radius: 28px 28px 0 0;
  padding: 24px 32px 22px 32px;
  gap: 18px;
  font-size: 1rem;
  animation: banner-slideup 0.52s cubic-bezier(.84,.05,.4,1.2) both;
}
@keyframes banner-slideup {
  from {transform: translateY(150px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner__text {
  flex: 1 1 200px;
  min-width: 150px;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  border: none;
  border-radius: 32px;
  padding: 11px 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  background: #16487E;
  color: #FFCF04;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.12s;
}
.cookie-btn.accept {
  background: #40CC88;
  color: #fff;
}
.cookie-btn.reject {
  background: #F76C5E;
  color: #fff;
}
.cookie-btn.settings {
  background: #FFCF04;
  color: #16487E;
}
.cookie-btn:hover, .cookie-btn:focus {
  opacity: 0.91;
  transform: scale(1.04) rotate(-2deg);
}

/* ===== COOKIE SETTINGS MODAL ===== */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(45, 55, 68, 0.45);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein 0.21s;
}
@keyframes fadein {
  from {opacity:0;}
  to {opacity:1;}
}
.cookie-modal__box {
  background: #fffbe5;
  color: #16487E;
  border-radius: 20px;
  box-shadow: 0 10px 44px 0 rgba(255,207,4,0.11);
  padding: 36px 28px 28px 28px;
  width: 90%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: popup-bounce 0.38s cubic-bezier(.58,1.59,.51,0.93) both;
}
@keyframes popup-bounce {
  from {transform: scale(0.76) translateY(60px); opacity: 0;}
  to {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.27rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.cookie-modal__row {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
  margin-top: 5px;
}
.cookie-modal__category {
  font-size: 1.05rem;
  font-weight: 600;
}
.cookie-toggle {
  width: 44px; height: 26px;
  background: #F9FAFB;
  border-radius: 16px;
  position: relative;
  border: 2px solid #D7DDE6;
  transition: background 0.16s;
  cursor: pointer;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle-slider {
  width: 22px;
  height: 22px;
  background: #FFCF04;
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 0.9px;
  transition: left 0.18s, background 0.22s;
  box-shadow: 0 1px 3px #FFF7BD;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  left: 20px;
  background: #16487E;
}
.cookie-toggle.disabled {
  opacity: 0.55;
  pointer-events: none;
}
.cookie-modal__actions {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal__close {
  position: absolute;
  top: 8px; right: 14px;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  color: #16487E;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #F76C5E;
}

/* ========== RESPONSIVE STYLES (MOBILE-FIRST) ========== */
@media (max-width: 1200px) {
  .container {
    max-width: 970px;
  }
}
@media (max-width: 1024px) {
  .container {
    max-width: 740px;
  }
  .service-list {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    min-height: 54px;
    padding: 8px 0 8px 10px;
    gap: 10px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: 4px;
  }
  .hero h1 {
    font-size: 1.46rem;
  }
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .service-list {
    flex-direction: column;
    gap: 15px;
  }
  .service-list > div {
    width: 100%;
    min-width: unset;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .section {
    padding: 24px 4px;
    margin-bottom: 38px;
    border-radius: 15px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    gap: 12px;
    padding: 14px 11px;
  }
  footer {
    border-radius: 24px 24px 0 0;
    padding-top: 24px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 8px 13px 8px;
    font-size: 0.98rem;
    gap: 10px;
    border-radius: 18px 18px 0 0;
  }
}
@media (max-width: 480px) {
  .hero {
    min-height: 165px;
    border-radius: 0 0 27px 27px;
  }
  .footer-brand img {
    height: 34px;
  }
  .cookie-modal__box {
    padding: 18px 5px 16px 5px;
    max-width: 97vw;
  }
}

/* ========== SCROLLBAR & SELECTION ========== */
::selection {
  background: #FFCF04;
  color: #16487E;
}
::-webkit-scrollbar {
  width: 10px;
  background: #F9FAFB;
}
::-webkit-scrollbar-thumb {
  background: #FFCF04;
  border-radius: 9px;
}

/* ========== FUN, PLAYFUL MICRO-DETAILS ========== */
h1, h2, h3 {
  position: relative;
}
h1::after, h2::after {
  content: '';
  display: block;
  width: 42px;
  height: 7px;
  border-radius: 6px;
  background: #FFCF04;
  margin-top: 4px;
  margin-left: 0;
  transition: width 0.28s;
}
h1:hover::after, h2:hover::after {
  width: 60px;
}
.service-list > div::before {
  content: '';
  position: absolute;
  right: 18px;
  top: 16px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fffbe5;
  box-shadow: 0 1px 4px rgba(255, 207, 4, 0.09);
  animation: circle-pop 1.2s cubic-bezier(.4,2,.7,.98) infinite alternate;
  z-index: 1;
}
@keyframes circle-pop {
  0% {transform: scale(1) translateY(0);}
  100% {transform: scale(1.14) translateY(-3px);}
}

/* ========== ACCESSIBILITY ENHANCEMENTS ========== */
:focus {
  outline: 2px solid #FFCF04;
  outline-offset: 3px;
}

/* ========== PRINT BASIC STYLES ========= */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body, main, .container, .content-wrapper { box-shadow: none !important; background: #fff !important; color: #222 !important; }
}
