/* === CSS RESET & NORMALIZATION === */
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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F9F9F9;
  color: #2B5773;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}

/* === BASE TYPOGRAPHY & BRAND FONTS === */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background-color: #F9F9F9;
  color: #2B5773;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #2B5773;
  margin-bottom: 16px;
  line-height: 1.16;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.375rem; margin-bottom: 14px; }
h4 { font-size: 1.125rem; }
p, li, dd {
  font-size: 1rem;
  color: #2B5773;
  margin-bottom: 12px;
  line-height: 1.7;
}
strong {
  color: #2B5773;
  font-weight: 700;
}

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 3px 24px 0 rgba(43, 87, 115, 0.046), 0 1.5px 2px rgba(43,87,115,0.04);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(43, 87, 115, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 20px;
}
.logo img, .footer-logo img {
  max-height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #2B5773;
  position: relative;
  padding: 8px 4px;
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #F6B93B;
}
.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #2B5773;
  color: #fff;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 30px;
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(57, 104, 131, 0.08);
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s, color 0.15s;
  border: none;
  display: inline-flex;
  align-items: center;
  margin-left: 20px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F6B93B;
  color: #2B5773;
  box-shadow: 0 4px 22px rgba(246, 185, 59, 0.18);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2.1rem;
  cursor: pointer;
  color: #2B5773;
  border: none;
  margin-left: 16px;
  z-index: 201;
}

/* === MOBILE NAVIGATION === */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2222;
  background: rgba(43,87,115,0.92);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition: transform 0.38s cubic-bezier(0.65,0,0.35,1);
  transform: translateX(-100%);
  padding-top: 38px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  font-size: 2.1rem;
  color: #fff;
  border: none;
  align-self: flex-end;
  margin: 0 24px 16px 0;
  cursor: pointer;
  z-index: 2234;
  transition: color 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #F6B93B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 10px 24px;
  gap: 18px;
  margin-top: 8px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 14px 0;
  border-bottom: 1px solid rgba(246,185,59,0.08);
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #F6B93B;
  background: rgba(255,255,255,0.07);
}

@media (max-width:1023px){
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

@media (min-width:1024px) {
  .mobile-menu {
    display: none !important;
  }
}

/* === HERO & SECTION === */
.hero {
  background: linear-gradient(115deg, #F9F9F9 70%, #E8EFF3 100%);
  border-radius: 0 0 36px 36px;
  box-shadow: 0 3px 24px rgba(43,87,115,0.03);
  margin-bottom: 56px;
  padding: 60px 0 56px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
}
.hero h1 {
  color: #2B5773;
  font-size: 2.5rem;
}
.hero p {
  font-size: 1.22rem;
  color: #355975;
  margin-bottom: 20px;
}
.hero .cta-btn {
  font-size: 1.12rem;
  margin-left: 0;
}

/* === FLEX UTILITY CLASSES === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(43,87,115,0.07);
  display: flex;
  flex-direction: column;
  padding: 32px 20px;
  min-width: 260px;
  max-width: 360px;
  transition: box-shadow 0.23s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 36px rgba(43,87,115,0.12);
  transform: translateY(-4px) scale(1.025);
}
.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: #FAFCFE;
  border: 1.5px solid #E4EBF1;
  border-radius: 16px;
  box-shadow: 0 3px 16px 0 rgba(43,87,115,0.06);
  margin-bottom: 20px;
  flex: 1 1 340px;
  max-width: 480px;
  transition: box-shadow 0.2s, border 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(43,87,115,0.12);
  border-color: #F6B93B;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #2B5773;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #666;
  font-size: 0.96rem;
  margin-left: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F9F9F9;
  padding: 24px;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(43,87,115,0.06);
}

.text-section {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* === LISTS, DL & DETAILS === */
ul, ol {
  padding-left: 22px;
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.7;
}
dl {
  margin-bottom: 18px;
}
dl dt {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  color: #2B5773;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
dl dt span {
  color: #F6B93B;
  font-weight: 600;
  font-size: .98em;
}
dl dd {
  margin-bottom: 12px;
  margin-left: 16px;
  color: #355975;
}

/* === BUTTONS & LINKS === */
button {
  cursor: pointer;
  border-radius: 30px;
  padding: 12px 28px;
  background: #2B5773;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  box-shadow: 0 2px 8px rgba(43,87,115,0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
button:hover, button:focus {
  background: #F6B93B;
  color: #2B5773;
  box-shadow: 0 5px 20px rgba(246,185,59,0.13);
}
a {
  transition: color 0.16s;
}
a:hover, a:focus {
  color: #F6B93B;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F6B93B;
  text-decoration: underline;
}

/* === FOOTER === */
footer {
  background: #EFF3F6;
  border-top: 1.5px solid #EAEAEA;
  padding: 44px 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
  padding-bottom: 32px;
}
.footer-logo img {
  max-height: 38px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-details p {
  color: #355975;
  font-size: .97rem;
  margin-bottom: 6px;
}
.contact-details a {
  color: #2B5773;
  text-decoration: underline;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #2B5773;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 20px 20px;
  z-index: 3000;
  box-shadow: 0 -8px 40px rgba(43,87,115,0.11);
  animation: fadeInUp 0.66s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(48px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner-text {
  font-size: 1.04rem;
  color: #fff;
  margin-bottom: 6px;
  text-align: center;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #F6B93B;
  color: #2B5773;
  border-radius: 24px;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: .98rem;
  border: none;
  transition: background 0.17s, color 0.17s;
  box-shadow: 0 1.5px 4px rgba(246,185,59,0.12);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: #2B5773;
}
.cookie-btn.reject {
  background: #EFF3F6;
  color: #2B5773;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fff;
  color: #F6B93B;
}
.cookie-btn.settings {
  background: #2B5773;
  color: #fff;
  border: 1.5px solid #F6B93B;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #fff;
  color: #2B5773;
}

/* === COOKIE MODAL === */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(43,87,115,0.14);
  z-index: 4000;
  animation: modalFadeIn 0.4s;
}
@keyframes modalFadeIn {
 from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  position: fixed;
  bottom: 50%; left: 50%;
  transform: translate(-50%,50%) scale(1);
  z-index: 4100;
  background: #fff;
  color: #2B5773;
  min-width: 90vw;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 8px 60px rgba(43,87,115,0.14);
  padding: 30px 24px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modalFadeIn 0.35s;
}
.cookie-modal h3,
.cookie-modal h4 {
  color: #2B5773;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  width: 100%;
}
.cookie-category label {
  flex: 1;
  color: #2B5773;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-switch {
  appearance: none;
  width: 38px;
  height: 22px;
  border-radius: 22px;
  background: #EFF3F6;
  position: relative;
  transition: background 0.22s;
  outline: none;
  cursor: pointer;
}
.cookie-switch:checked {
  background: #F6B93B;
}
.cookie-switch:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.23s cubic-bezier(0.52,0.12,0.19,1.08);
}
.cookie-switch:checked:before {
  background: #fff7e7;
  transform: translateX(15px);
}
.cookie-modal-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  margin-top: 0;
}

/* === RESPONSIVE STYLES === */
@media (max-width: 1023px) {
  .footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
  }
  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-logo { margin-bottom: 18px; }
}
@media (max-width: 950px) {
  .footer .content-wrapper,
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .footer-logo { margin-bottom: 18px; }
}
@media (max-width: 768px) {
  .container {
    padding: 0 12px;
    max-width: 98vw;
  }
  .section {
    padding: 28px 10px;
    gap: 18px;
    border-radius: 10px;
  }
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .hero {
    padding: 38px 0 28px 0;
    margin-bottom: 36px;
    border-radius: 0 0 22px 22px;
  }
  .hero h1 {
    font-size: 1.6rem;
    margin-bottom: 14px;
  }
  .hero p { font-size: 1rem; }
  .main-nav { display: none !important; }
  .cookie-modal {
    min-width: 92vw;
    max-width: 97vw;
    border-radius: 16px;
    padding: 16px 10px 10px 10px;
  }
  .footer .content-wrapper, footer .content-wrapper {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width:600px){
  .section {
    margin-bottom: 36px;
    padding: 18px 4px;
    border-radius: 7px;
  }
  .hero {
    padding: 18px 0 16px;
    margin-bottom: 20px;
    border-radius: 0 0 8px 8px;
  }
  .testimonial-card, .feature-item {
    padding: 12px;
    border-radius: 8px;
  }
  .footer .container, .container {
    padding: 0 6px;
  }
  .cookie-banner {
    padding: 15px 6px 10px;
  }
}

/* === UTILITIES & HELPERS === */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* === MICRO-INTERACTIONS === */
.card, .testimonial-card, .feature-item {
  transition: box-shadow 0.21s, border 0.2s, transform 0.21s;
}
.card:active, .testimonial-card:active {
  transform: scale(0.98);
  box-shadow: none;
}

/* === Z-INDEX FOR OVERLAYS === */
.mobile-menu { z-index: 2222; }
.mobile-menu-close { z-index: 2234; }
.cookie-banner { z-index: 3000; }
.cookie-modal-backdrop { z-index: 4000; }
.cookie-modal { z-index: 4100; }

/* === FOCUS STATES === */
:focus-visible {
  outline: 2px solid #F6B93B;
  outline-offset: 2px;
}

/* === PRINT STYLES (BASIC) === */
@media print {
  header, .main-nav, .mobile-menu, .cta-btn, footer, .cookie-banner, .cookie-modal, .cookie-modal-backdrop { display: none !important; }
  .container,.section { box-shadow: none; background: #fff; }
  body { color: #111; background: #fff; }
}
