/* =======================      CSS RESET & BASE STYLES     ======================= */
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 {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F3F6F9;
  color: #253C4E;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img,svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #253C4E;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #FFB71B;
  outline: none;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #253C4E;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 14px; }
h4 { font-size: 1.15rem; margin-bottom: 12px; }
p {
  margin-bottom: 18px;
  font-size: 1.08rem;
  color: #253C4E;
}
strong, b {
  font-weight: 600;
}
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(37,60,78,0.06);
  padding: 40px 24px;
  margin-bottom: 16px;
}

/* =======================      SPACING, LAYOUT FLEXBOX     ======================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(37,60,78,0.08);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  min-width: 260px;
  flex: 1 1 300px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(37,60,78,0.10);
  padding: 20px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 520px;
}
.feature-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =======================      HEADER & NAVIGATION         ======================= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 8px rgba(37,60,78,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header > a img {
  max-height: 44px;
  height: 44px;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.08rem;
  color: #253C4E;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: '';
  display: block;
  width: 0%;
  height: 2px;
  background: #FFB71B;
  transition: width 0.25s;
  position: absolute;
  left: 0; bottom: 0;
  border-radius: 2px;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 120%;
}
.cta-btn {
  background: #FFB71B;
  color: #253C4E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 12px 30px;
  cursor: pointer;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(255,183,27,0.10);
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
  margin-left: 24px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #253C4E;
  color: #fff;
  box-shadow: 0 2px 16px rgba(37,60,78,0.12);
}
button.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* =======================      MOBILE NAVIGATION           ======================= */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 24px;
  background: #fff;
  border: 1.5px solid #FFB71B;
  border-radius: 8px;
  color: #253C4E;
  font-size: 2.1rem;
  padding: 6px 14px;
  z-index: 1200;
  cursor: pointer;
  transition: border 0.15s, background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FFB71B;
  color: #253C4E;
  border: 1.5px solid #253C4E;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  z-index: 2001;
  left: 0; top: 0;
  width: 82vw;
  max-width: 330px;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 36px rgba(37,60,78,0.14);
  transform: translateX(-100%);
  transition: transform 0.37s cubic-bezier(.61,-0.09,.36,1.11);
  padding: 34px 28px 28px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #253C4E;
  font-size: 2.1rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 28px;
  padding: 2px 14px 2px 2px;
  border-radius: 6px;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F3F6F9;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.18rem;
  padding: 12px 0;
  color: #253C4E;
  border-bottom: 1px solid #F3F6F9;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #FFB71B;
  background: #F3F6F9;
}
.mobile-menu-overlay {
  display: none;
}
body.menu-open {
  overflow: hidden;
}
@media (max-width: 1030px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 850px) {
  header {
    padding: 14px 12px;
  }
}
@media (max-width: 760px) {
  header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 10px 6px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-nav, .footer-contact {
    flex-direction: column !important;
    gap: 14px !important;
    text-align: center;
  }
}

/* =======================      HERO, CARDS, GRIDS          ======================= */
.feature-grid {
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 12px rgba(37,60,78,0.07);
  padding: 28px 22px 24px 22px;
  min-width: 240px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
   transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 4px 24px rgba(37,60,78,0.13);
  transform: translateY(-2px) scale(1.02);
  z-index: 2;
}
.feature-grid img {
  margin-bottom: 10px;
  height: 38px;
}
.feature-grid h3 {
  font-size: 1.16rem;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.feature-grid p {
  font-size: 1.05rem;
  color: #4F677C;
  margin-bottom: 0;
  flex: 1 1 auto;
}
.feature-grid span {
  font-size: 0.98em;
  color: #FFB71B;
  font-weight: 500;
  margin-bottom: 5px;
}

/* =======================      TESTIMONIALS                ======================= */
.testimonial-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(37,60,78,0.10);
  padding: 20px 24px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 520px;
  color: #253C4E;
  font-size: 1.08em;
  line-height: 1.7;
  transition: box-shadow 0.2s, transform 0.18s;
}
.testimonial-card span {
  color: #253C4E;
  font-size: 1.01em;
  font-style: italic;
  margin-top: 2px;
  font-weight: 600;
}
.testimonial-card div[aria-label], .testimonial-card .stars {
  color: #FFB71B !important;
  font-size: 1.23em;
  letter-spacing: 1px;
}
.testimonial-card:hover {
  box-shadow: 0 4px 32px rgba(37,60,78,0.16);
  transform: scale(1.017);
  z-index: 5;
}

/* =======================      BUTTONS & LINKS              ======================= */
button, input[type=button], input[type=submit], .cta-btn {
  outline: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s, border-color 0.2s;
}
button:focus, .cta-btn:focus {
  box-shadow: 0 0 0 3px rgba(255,183,27,0.15);
  outline: none;
}

/* =======================      FOOTER                       ======================= */
footer {
  width: 100%;
  background: #fff;
  border-top: 1px solid #E6EBF2;
  padding: 24px 0 26px 0;
  margin-top: 80px;
  color: #253C4E;
  font-size: 1.04em;
}
.footer-nav, .footer-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #4F677C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98em;
  transition: color 0.15s;
}
.footer-nav a:hover {
  color: #FFB71B;
}
.footer-contact {
  font-size: 0.99em;
  color: #738391;
  flex-direction: row;
}
.footer-logo {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}
.footer-logo img {
  height: 32px;
  width: auto;
}

/* =======================      COOKIE CONSENT BANNER        ======================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffbe6;
  border-top: 1.5px solid #E6EBF2;
  box-shadow: 0 -4px 24px rgba(37,60,78,0.11);
  padding: 22px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  z-index: 4000;
  font-size: 1.01rem;
  transition: transform 0.35s, opacity 0.25s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
}
.cookie-banner p {
  color: #253C4E;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.cookie-banner button, .cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #253C4E;
  border: 1.5px solid #FFB71B;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04em;
  font-weight: 500;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.19s, border 0.19s, color 0.18s;
}
.cookie-banner button.accept {
  background: #FFB71B;
  color: #253C4E;
}
.cookie-banner button.reject {
  background: #fff;
  color: #4F677C;
  border: 1.5px solid #E6EBF2;
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #253C4E;
  border: 1.5px solid #FFB71B;
}
.cookie-banner button:focus, .cookie-banner .cookie-settings-btn:focus {
  outline: none;
  border: 1.5px solid #253C4E;
  background: #F3F6F9;
}
.cookie-banner button:hover, .cookie-banner .cookie-settings-btn:hover {
  background: #253C4E;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    padding: 18px 6vw 16px 6vw;
    font-size: 0.97rem;
    gap: 14px;
  }
}

/* ----- Cookie Settings Modal ----- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4100;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(74, 87, 97, 0.26);
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.21s;
}
.cookie-modal-overlay.open {
  display: flex;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 40px rgba(37,60,78,0.21);
  padding: 36px 30px 26px 30px;
  min-width: 310px;
  max-width: 96vw;
  max-height: 96vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadein-cookie-modal 0.33s cubic-bezier(.61,0,0,1.01);
  position: relative;
}
@keyframes fadein-cookie-modal {
  from { opacity: 0; transform: translateY(32px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.20rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-modal label {
  font-size: 1.01em;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal .category-toggle {
  accent-color: #FFB71B;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1.2px solid #FFB71B;
}
.cookie-modal .always-on {
  background: #F3F6F9;
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 0.99em;
  font-weight: 500;
  color: #4F677C;
  margin-left: 8px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.44rem;
  color: #253C4E;
  cursor: pointer;
  border-radius: 6px;
}
.cookie-modal .cookie-close-btn:focus, .cookie-modal .cookie-close-btn:hover {
  background: #F3F6F9;
}

/* =======================      RESPONSIVE LAYOUT           ======================= */
@media (max-width: 1050px) {
  .feature-grid > div {
    min-width: 180px;
    padding: 18px 8px 14px 12px;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 10px;
    max-width: 98vw;
  }
  .feature-grid {
    gap: 12px;
  }
}
@media (max-width: 820px) {
  .footer-nav, .footer-contact {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
@media (max-width: 730px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
  }
  .testimonial-card {
    max-width: 100%;
  }
}
@media (max-width: 620px) {
  h1 {
    font-size: 1.58rem;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 1.26rem;
    margin-bottom: 14px;
  }
  h3 {
    font-size: 1.08rem;
  }
  .text-section {
    padding: 22px 6vw;
    border-radius: 10px;
  }
  .section {
    padding: 22px 5vw;
    margin-bottom: 38px;
  }
}
@media (max-width: 533px) {
  header > a img {
    max-height: 36px;
  }
  .feature-grid > div {
    padding: 12px 8px 10px 10px;
    border-radius: 7px;
  }
  .testimonial-card {
    padding: 12px 8px;
    border-radius: 8px;
  }
  .card {
    border-radius: 7px;
    padding: 16px 7px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 3vw;
  }
  .section {
    padding: 10vw 2vw;
  }
  .cookie-banner {
    font-size: .93em;
    gap: 8px;
    padding: 17px 3vw 11px 3vw;
  }
}
.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;
  }
}

/* =======================      TYPOGRAPHY HIERARCHY         ======================= */
.display-hero {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.display-section {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
}

/* =======================      UTILITY & VISUAL EFFECTS      ======================= */
.shadow-sm {
  box-shadow: 0 2px 12px rgba(37,60,78,0.07);
}
.shadow-md {
  box-shadow: 0 4px 25px rgba(37,60,78,0.16);
}
.rounded {
  border-radius: 12px;
}
/* Subtle animated fade-in */
[data-animate-fadein] {
  animation: fadein-y .85s cubic-bezier(.37,1.15,.54,1);
  opacity: 1;
}
@keyframes fadein-y {
  from { opacity:0; transform: translateY(36px) scale(.98); }
  to   { opacity:1; transform: none; }
}

/* =======================      FORM ELEMENTS (future)        ======================= */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border: 1.2px solid #E6EBF2;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 1em;
  margin-bottom: 15px;
  transition: border 0.18s, box-shadow 0.16s;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  border-color: #FFB71B;
  outline: 0;
  box-shadow: 0 0 0 2.5px rgba(255,183,27,0.10);
}

/* =======================      MISCELLANEOUS                ======================= */
::-webkit-scrollbar {
  width: 9px;
  background: #F3F6F9;
}
::-webkit-scrollbar-thumb {
  background: #E6EBF2;
  border-radius: 8px;
}
::selection {
  background: #FFB71B;
  color: #253C4E;
}

/* ========== Brand font loading (fallback for static CSS) ============ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&family=Roboto:wght@400;500;700&display=swap');

/* ========== Priority: NO GRID, NO COLUMNS! Only flexbox everywhere. ========== */
/* All grid-like layouts above use flexbox per requirement! */
