/* === 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;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #fff9f4;
  color: #2e3140;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  border-radius: 12px;
  display: block;
}
a {
  color: #06437c;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.6,.2,.1,1);
}
a:hover, a:focus {
  color: #ffb14a;
}
ul, ol {
  margin-left: 24px;
}

/* === BRAND FONTS & TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #06437c;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.16;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
@media (min-width: 600px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.5rem; }
}
p, ul li, ol li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 8px;
  color: #2e3140;
}

strong {
  font-weight: 700;
  color: #06437c;
}

/* === CONTAINER, FLEX SPACING & LAYOUT === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  background: #fff;
  border-radius: 18px;
  padding: 28px 22px;
  box-shadow: 0 4px 16px 0 rgba(255, 177, 74, 0.07), 0 1.5px 7px 0 rgba(12,67,124,0.07);
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.text-section ul,
.text-section ol {
  margin-top: 12px;
  margin-bottom: 10px;
  padding-left: 20px;
}
.text-section img {
  width: 28px;
  margin-right: 10px;
  vertical-align: middle;
  background: #e6efd7;
  border-radius: 8px;
  padding: 3px;
}
.text-section > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(255, 177, 74, 0.08);
  padding: 28px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.21s cubic-bezier(.59,.57,.15,1);
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(255,177,74,0.18), 0 1.5px 8px 0 rgba(12,67,124,0.07);
}
.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: 18px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(6, 67, 124, 0.11);
  margin-bottom: 24px;
  flex-direction: column;
  justify-content: flex-start;
  transition: box-shadow 0.18s, background 0.18s;
  border: 1px solid #e6efd7;
}
.testimonial-card p {
  color: #39290b;
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 8px;
  text-align: left;
}
.testimonial-card span {
  color: #06437c;
  font-weight: 700;
  font-size: 1em;
  letter-spacing: .01em;
}
.testimonial-card:hover {
  background: #fff6ed;
  box-shadow: 0 8px 24px 0 rgba(255,177,74,0.15), 0 1.5px 10px 0 rgba(12,67,124,0.08);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(6, 67, 124, 0.08);
  padding: 18px 16px;
}

/* === HEADER & NAVIGATION === */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 18px 0 rgba(6, 67, 124, 0.05);
  position: relative;
  z-index: 100;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  gap: 28px;
}
nav > ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
}
nav > ul li {
  position: relative;
}
nav > ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #2e3140;
  padding: 8px 14px;
  border-radius: 17px;
  transition: background 0.17s, color 0.17s, box-shadow 0.15s;
}
nav > ul li a:hover,
nav > ul li a:focus {
  color: #06437c;
  background: #ffe1b7;
}
nav > ul li a.cta {
  background: #ffb14a;
  color: #06437c;
  padding: 9px 22px;
  font-weight: 700;
  border-radius: 24px;
  box-shadow: 0 1.5px 8px 0 rgba(255,177,74,0.13);
  transition: background 0.19s, color 0.15s, transform 0.12s;
  outline: none;
  border: none;
}
nav > ul li a.cta:hover, nav > ul li a.cta:focus {
  background: #06437c;
  color: #fff;
  transform: scale(1.04);
}
@media (max-width: 1020px) {
  nav > ul {
    gap: 12px;
  }
  nav {
    gap: 18px;
  }
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 21px;
  background: #ffb14a;
  color: #06437c;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 2.1rem;
  cursor: pointer;
  box-shadow: 0 1px 7px rgba(255,177,74,0.18);
  z-index: 2100;
  transition: background 0.13s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #ffe1b7;
}
@media (max-width: 950px) {
  nav > ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,244,225,0.97);
  transform: translateX(-105vw);
  transition: transform 0.31s cubic-bezier(.9,.03,.25,1);
  z-index: 2500;
  box-shadow: 0 0 32px 0 rgba(6,67,124,0.09);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  color: #06437c;
  border: none;
  font-size: 2.55rem;
  position: absolute;
  top: 24px;
  right: 24px;
  cursor: pointer;
  z-index: 2600;
  padding: 8px;
  border-radius: 12px;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #ffe1b7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 90px 36px 0;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17rem;
  font-weight: 700;
  color: #06437c;
  background: none;
  border-radius: 20px;
  padding: 11px 10px 11px 0;
  width: 100%;
  transition: background 0.16s, color 0.14s;
  box-sizing: border-box;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ffe1b7;
  color: #ffb14a;
}
@media (max-width: 600px) {
  .mobile-nav {
    padding: 72px 22px 0 18px;
    gap: 13px;
  }
  .mobile-menu-close {
    right: 12px;
    top: 14px;
  }
}

/* === MAIN CTA BUTTON === */
.cta {
  display: inline-block;
  background: #ffb14a;
  color: #06437c;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  padding: 13px 36px;
  border: none;
  border-radius: 28px;
  box-shadow: 0 2.5px 11px 0 rgba(255,177,74,0.17);
  text-align: center;
  transition: background 0.19s, color 0.13s, box-shadow 0.19s, transform 0.14s;
  cursor: pointer;
  outline: none;
}
.cta:hover, .cta:focus {
  background: #06437c;
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 8px 26px 0 rgba(255,177,74,0.16);
}

/* === FOOTER === */
footer {
  background: #fff6ed;
  padding: 34px 0 24px 0;
  margin-top: 60px;
  box-shadow: 0 -2px 10px 0 rgba(255,177,74,0.07);
}
footer .container {
  flex-direction: row;
  gap: 36px;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-logo {
  flex: 0 0 auto;
  padding-right: 34px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
footer nav a {
  color: #06437c;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 4px 0;
  border-radius: 8px;
  transition: background 0.16s, color 0.11s;
}
footer nav a:hover, footer nav a:focus {
  color: #ffb14a;
  background: #e6efd7;
}
.footer-contact {
  font-size: 0.97rem;
  color: #2e3140;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-contact a {
  color: #06437c;
  font-weight: 700;
}
@media (max-width: 950px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .footer-logo {
    padding-right: 0;
    margin-bottom: 12px;
  }
}

/* === FORM STYLES (for future use) === */
input, select, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 14px;
  border: 1.2px solid #e6efd7;
  padding: 11px 14px;
  margin-bottom: 18px;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(6, 67, 124, 0.03);
  transition: border-color 0.16s, box-shadow 0.12s;
}
input:focus, select:focus, textarea:focus {
  border-color: #ffb14a;
  box-shadow: 0 0 0 2px #ffe1b7;
  outline: none;
}
label {
  display: block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #06437c;
}

/* === UTILITY SPACING & LAYOUT === */
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mt-32 { margin-top: 32px; }
.gap-12 { gap: 12px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.bg-accent { background: #ffb14a !important; }
.bg-secondary { background: #e6efd7 !important; }
.bg-primary { background: #06437c !important; }

/* === COOKIE CONSENT BANNER === */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff7eb;
  color: #2e3140;
  box-shadow: 0 -2px 14px 0 rgba(255,177,74,0.13);
  padding: 20px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  z-index: 3000;
  transition: transform 0.3s cubic-bezier(.85,.01,.14,1);
  transform: translateY(105%);
  border-radius: 18px 18px 0 0;
  opacity: 0;
  pointer-events: none;
}
#cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
#cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 6px;
  align-items: center;
}
#cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 9px 25px;
  border-radius: 22px;
  border: none;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.17s, color 0.11s, box-shadow 0.13s;
}
#cookie-banner .accept {
  background: #ffb14a;
  color: #06437c;
  box-shadow: 0 1px 6px #ffe1b7;
}
#cookie-banner .accept:hover, #cookie-banner .accept:focus {
  background: #06437c;
  color: #fff;
}
#cookie-banner .reject {
  background: #e6efd7;
  color: #06437c;
  font-weight: 600;
}
#cookie-banner .reject:hover, #cookie-banner .reject:focus {
  background: #ffb14a;
  color: #06437c;
}
#cookie-banner .settings {
  background: #fff;
  color: #06437c;
  border: 1.2px solid #e6efd7;
  font-weight: 500;
}
#cookie-banner .settings:hover, #cookie-banner .settings:focus {
  background: #e6efd7;
}

/* === COOKIE PREFERENCES MODAL === */
#cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6,67,124,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3500;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(.7,.01,.28,1);
}
#cookie-modal.show {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff7eb;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(6,67,124,0.13);
  max-width: 440px;
  width: 90vw;
  padding: 36px 28px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: popModal 0.35s cubic-bezier(.58,1.5,.39,1.03);
}
@keyframes popModal {
  0% { transform: scale(0.85); opacity:0.2; }
  85% { transform: scale(1.07); opacity:1; }
  100% { transform: scale(1.00); }
}
.cookie-modal-content h2 {
  font-size: 1.4rem;
  margin-bottom: 9px;
  color: #06437c;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 13px;
  margin-bottom: 10px;
  border: 1px solid #e6efd7;
}
.cookie-modal-category span {
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #06437c;
  flex: 1 1 0;
}
.cookie-modal-category .toggle {
  margin-left: auto;
  min-width: 54px;
}
.cookie-modal-category input[type=checkbox] {
  accent-color: #ffb14a;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 1.2px solid #ffb14a;
  vertical-align: middle;
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 21px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #06437c;
  cursor: pointer;
  transition: background 0.13s;
  border-radius: 100px;
  padding: 6px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #ffe1b7;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  padding: 9px 32px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  background: #e6efd7;
  color: #06437c;
  transition: background 0.17s, color 0.15s;
}
.cookie-modal-actions .accept-all {
  background: #ffb14a;
  color: #06437c;
}
.cookie-modal-actions .accept-all:hover,
.cookie-modal-actions .accept-all:focus {
  background: #06437c;
  color: #fff;
}
.cookie-modal-actions .reject-all {
  background: #fff;
  border: 1.7px solid #e6efd7;
}
.cookie-modal-actions .reject-all:hover,
.cookie-modal-actions .reject-all:focus {
  background: #ffe1b7;
}

/* === RESPONSIVENESS === */
@media (max-width: 650px) {
  .container {
    padding: 0 7px;
  }
  .section {
    padding: 24px 5px 40px 5px;
    margin-bottom: 36px;
  }
  .text-section {
    padding: 16px 10px;
    border-radius: 12px;
  }
}

@media (max-width: 500px) {
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.13rem;
  }
  .content-wrapper {
    gap: 12px;
  }
  .testimonial-card {
    padding: 14px 7px;
    border-radius: 12px;
    font-size: 0.99rem;
  }
  .cta {
    padding: 12px 10vw;
  }
}

/* === MICRO-ANIMATIONS & EFFECTS === */
a, .cta, button, .card, .testimonial-card, .feature-item {
  transition: all 0.14s cubic-bezier(.59,.57,.15,1);
}
.card:active, .feature-item:active {
  box-shadow: 0 6px 18px rgba(6,67,124,0.13);
}
.testimonial-card:active {
  transform: scale(1.01);
  box-shadow: 0 6px 18px rgba(255,177,74,0.10);
}

/* === VISUAL ELEMENTS & HIERARCHY === */
.section > .container:not(:last-child) {
  margin-bottom: 32px !important;
}

/* === PREVENT ABSOLUTE POSITION ON CARDS === */
.card, .testimonial-card, .feature-item, .content-wrapper {
  position: relative;
  z-index: 1;
}

/* === FOCUS STYLES (ACCESSIBILITY) === */
:focus {
  outline: 2px solid #ffb14a;
  outline-offset: 2px;
}

/* === Hide visually (for modals, menu overlays) === */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* === CUSTOM SCROLLBAR (WARM FRIENDLY) === */
::-webkit-scrollbar {
  width: 10px;
  background: #ffe1b7;
}
::-webkit-scrollbar-thumb {
  background: #e6efd7;
  border-radius: 16px;
}
section {
  padding: 20px 0;
}
/* === END === */
