/* 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,
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;
}
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #3b3541;
  background: #F9F7F2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 16px;
}
a {
  color: #26306D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F3B233;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #26306D;
  font-weight: 700;
  line-height: 1.16;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }
p, ul, ol {
  margin-bottom: 16px;
  font-size: 1rem;
}
ul, ol {
  padding-left: 24px;
}
strong { font-weight: bold; }
em { font-style: italic; }
blockquote {
  font-style: italic;
  color: #4b474c;
  background: rgba(243,178,51,0.08);
  padding: 16px 20px;
  border-left: 5px solid #F3B233;
  border-radius: 12px;
  margin-bottom: 12px;
}
cite {
  display: block;
  margin-top: 8px;
  color: #26306D;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
}
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
@media (min-width: 900px) {
  .content-wrapper {
    flex-direction: row;
    gap: 40px;
  }
}
.text-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 24px;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 20px rgba(38,48,109,0.08);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 34px rgba(38,48,109,0.16);
  transform: translateY(-3px) scale(1.015);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  padding: 14px 32px;
  border: none;
  border-radius: 28px;
  margin-bottom: 0;
  cursor: pointer;
  background: #26306D;
  color: #fff;
  box-shadow: 0 1px 8px rgba(38,48,109,0.05);
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.15s;
  outline: none;
  text-align: center;
  text-decoration: none;
}
.btn-primary {
  background: #26306D;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #F3B233;
  color: #26306D;
}
.btn-secondary {
  background: #fff;
  color: #26306D;
  border: 2px solid #F3B233;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #F3B233;
  color: #26306D;
  border: 2px solid #F3B233;
}
.btn:active {
  transform: scale(0.98);
}

/* MAIN NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 4px 18px rgba(38,48,109,0.04);
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  position: sticky;
  top: 0;
  z-index: 70;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  max-width: 1180px;
  margin: 0 auto;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #26306D;
  padding: 6px 12px;
  border-radius: 16px;
  transition: background 0.18s, color 0.15s;
  position: relative;
}
.main-nav li a:hover, .main-nav li a:focus {
  background: #F3B233;
  color: #26306D;
}
.main-nav > a > img {
  height: 38px;
  margin-right: 12px;
}
.main-nav .btn-primary {
  margin-left: 36px;
}
@media (max-width: 1100px) {
  .main-nav {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    gap: 14px;
  }
}
@media (max-width: 840px) {
  .main-nav ul, .main-nav .btn-primary {
    display: none;
  }
  .main-nav {
    justify-content: space-between;
  }
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #F3B233;
  color: #26306D;
  border: none;
  font-size: 2.2rem;
  padding: 4px 20px 4px 16px;
  border-radius: 20px;
  cursor: pointer;
  margin-left: 12px;
  z-index: 120;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #26306D;
  color: #fff;
}
@media (max-width: 840px) {
  .mobile-menu-toggle {
    display: inline-block;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(249,247,242,0.96);
  box-shadow: 0 0 80px rgba(38,48,109,0.1);
  transform: translateX(-110%);
  transition: transform 0.32s cubic-bezier(.77,0,.175,1);
  z-index: 120;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  cursor: pointer;
  background: #26306D;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 18px;
  margin: 18px 18px 10px 0;
  padding: 4px 24px 4px 16px;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F3B233;
  color: #26306D;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 25px 0 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #26306D;
  background: transparent;
  padding: 10px 0 10px 6px;
  border-radius: 14px;
  transition: background 0.15s, color 0.15s;
  min-width: 180px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F3B233;
  color: #26306D;
}

/* HERO SECTIONS */
.hero {
  background: linear-gradient(95deg, #FFFBE8 0%, #F9F7F2 100%);
  border-radius: 22px;
  box-shadow: 0 2px 18px rgba(38,48,109,.07);
  padding-top: 60px;
  padding-bottom: 60px;
  margin-bottom: 60px;
}
.hero h1 {
  font-size: 2.3rem;
  color: #26306D;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.2rem;
  color: #3b3541;
  margin-bottom: 26px;
  max-width: 700px;
}
@media (max-width: 640px) {
  .hero {
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* FEATURES */
.features {
  background: transparent;
}
.features .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.features ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 18px;
}
.features li {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 7px rgba(38,48,109,0.05);
  padding: 18px 24px;
  font-size: 1.1rem;
  color: #26306D;
  transition: box-shadow 0.18s, background 0.18s;
  min-width: 250px;
}
.features li:hover {
  background: #FFFBE8;
  box-shadow: 0 3px 14px rgba(243,178,51,0.08);
}
.features li img {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #FFF7DC;
  padding: 7px;
}
@media (min-width: 800px) {
  .features ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }
  .features li {
    flex: 1 1 300px;
    min-width: 200px;
  }
}

/* SERVICES */
.services ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 16px;
}
.services li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 7px rgba(38,48,109,0.05);
  padding: 18px 24px;
  font-size: 1.1rem;
  color: #26306D;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.services li strong {
  font-family: 'Montserrat', Arial, sans-serif;
  display: inline-block;
  color: #26306D;
}
.services li span {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F3B233;
  font-weight: 600;
  margin-left: 20px;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .services li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .services li span {
    margin-left: 0;
  }
}

/* TESTIMONIALS */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 8px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  color: #26306D;
  padding: 20px 28px;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(38,48,109,0.11);
  min-width: 260px;
  max-width: 390px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 36px rgba(243,178,51,0.17);
  transform: translateY(-2px) scale(1.012);
}
.testimonial-card blockquote {
  background: none;
  border-left: 5px solid #F3B233;
  color: #26306D;
  font-size: 1.1rem;
  padding-left: 18px;
  padding-right: 0;
}
.testimonial-card cite {
  color: #F3B233;
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
}
@media (max-width: 1000px) {
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    width: 100%;
    max-width: none;
  }
}

/* CTA SECTIONS */
.cta {
  background: #FFFBE8;
  border-radius: 20px;
  box-shadow: 0 1px 8px rgba(243,178,51,0.08);
  padding: 32px 0;
  text-align: center;
  margin-bottom: 60px;
}
.cta .content-wrapper {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* FOOTER */
footer {
  background: #26306D;
  color: #fff;
  padding: 50px 0 28px 0;
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
}
footer .container {
  max-width: 1180px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
}
.brand-info img {
  height: 44px;
  margin-bottom: 12px;
}
.brand-info p {
  font-size: 0.98rem;
  color: #F9F7F2;
  margin-bottom: 6px;
}
nav.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin-bottom: 6px;
}
nav.footer-menu a {
  color: #F3B233;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  background: none;
  transition: color 0.18s;
}
nav.footer-menu a:hover, nav.footer-menu a:focus {
  color: #fff;
  text-decoration: underline;
}
.social-links {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 10px;
}
.social-links img {
  width: 32px;
  height: 32px;
  transition: filter 0.2s, transform 0.15s;
  cursor: pointer;
  filter: grayscale(0.4) brightness(1.1);
}
.social-links img:hover, .social-links img:focus {
  filter: grayscale(0) brightness(1.18) drop-shadow(0 1px 8px #F3B23344);
  transform: scale(1.07) translateY(-2px);
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* GENERAL ELEMENTS */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Contact section */
.contact .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  margin-top: 24px;
}
.contact .text-section {
  min-width: 230px;
}
@media (max-width: 700px) {
  .contact .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
}

/* MODAL & COOKIE CONSENT */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FFFBE6;
  color: #3b3541;
  z-index: 200;
  box-shadow: 0 -8px 40px rgba(38,48,109,0.09);
  padding: 26px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.36s cubic-bezier(.77,0,.175,1);
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}
.cookie-banner .btn,
.cookie-modal .btn {
  font-size: 1rem;
  padding: 10px 28px;
}
.cookie-banner .btn-primary {
  color: #fff;
  background: #26306D;
}
.cookie-banner .btn-primary:hover, .cookie-banner .btn-primary:focus {
  background: #F3B233;
  color: #26306D;
}
.cookie-banner .btn-secondary {
  color: #26306D;
  background: #fff;
  border: 2px solid #F3B233;
}
.cookie-banner .btn-secondary:hover, .cookie-banner .btn-secondary:focus {
  background: #F3B233;
  color: #26306D;
}
.cookie-banner .btn:not(:last-child) {
  margin-right: 4px;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 220;
  background: rgba(38,48,109,0.20);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(.77,0,.175,1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: #26306D;
  border-radius: 18px;
  box-shadow: 0 8px 48px rgba(38,48,109,0.24);
  padding: 40px 32px 32px 32px;
  max-width: 385px;
  width: 95vw;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
}
.cookie-modal.open {
  opacity: 1;
  transform: translateY(0);
}
.cookie-modal .modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  color: #26306D;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  border-radius: 14px;
  padding: 2px 7px;
  transition: background 0.18s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #F3B233;
  color: #fff;
}
.cookie-modal h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  color: #26306D;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #F3B233;
  width: 22px;
  height: 22px;
}
.cookie-modal .btn {
  margin-top: 10px;
}
.cookie-category-desc {
  font-size: 0.92rem;
  color: #65626b;
  margin-bottom: 6px;
  margin-left: 34px;
}
/* Accessibility helpers */
[tabindex]:focus-visible {
  outline: 2px solid #F3B233;
  outline-offset: 2px;
}
/* Utility spacing */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-8 { margin-top: 8px !important; }
.mb-8 { margin-bottom: 8px !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
/* Responsive spacing */
@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }
  section, .section {
    padding: 24px 0;
    margin-bottom: 40px;
  }
  .cta {
    padding: 18px 0;
    border-radius: 16px;
    margin-bottom: 36px;
  }
  .hero {
    border-radius: 14px;
  }
  .card {
    padding: 18px 10px;
    border-radius: 14px;
  }
  .testimonial-card {
    padding: 12px 10px;
    border-radius: 13px;
  }
  .features li, .services li {
    padding: 12px 10px;
    border-radius: 13px;
  }
}
