/* --- RESET & BASE --- */
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,main,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,main,menu,nav,section {
  display: block;
}
html {
  height: 100%;
  background: #F4F7FA;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.67;
  background: #F4F7FA;
  color: #23395D;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul,ol {
  list-style-position: inside;
  margin-left: 0;
}
a {
  color: #23395D;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
a:hover,a:focus {
  color: #FDB833;
  text-decoration: underline;
}
input,button,select,textarea {
  font: inherit;
  box-sizing: border-box;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}

/* --- TYPOGRAPHY --- */
h1, .h1 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -1px;
  color: #23395D;
  margin-bottom: 24px;
  line-height: 1.15;
}
@media (max-width:500px){
  h1, .h1 { font-size: 2rem; }
}
h2, .h2 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #23395D;
  margin-bottom: 20px;
  line-height: 1.15;
}
@media (max-width:500px){
  h2, .h2 { font-size: 1.375rem; }
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.225rem;
  color: #23395D;
  margin-bottom: 14px;
}
strong {
  font-weight: 700;
  color: #23395D;
}
p {
  margin-bottom: 18px;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1160px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- HEADER & NAV --- */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(35,57,93,0.07);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  padding: 18px 0;
}
@media (max-width: 950px) {
  .header-container {
    gap: 18px;
  }
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  flex: 1 1 auto;
}
.main-nav a {
  position: relative;
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #23395D;
  padding: 8px 3px;
  font-size: 1.06rem;
  transition: color 0.2s;
  border-radius: 3px;
}
.main-nav a:hover,.main-nav a:focus {
  color: #FDB833;
  background: #F4F7FA;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #23395D;
  background: #FDB833;
  border-radius: 8px;
  border: none;
  padding: 8px 14px;
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 52;
  box-shadow: 0 2px 10px rgba(251,184,51,0.07);
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #23395D;
  color: #FDB833;
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .btn-primary {
    display: none;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(35,57,93,0.97);
  opacity: 0;
  pointer-events: none;
  transform: translateX(100vw);
  transition: opacity 0.3s, transform 0.35s cubic-bezier(.51,1,.36,1);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 40px 0 0 0;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 0 28px 18px 0;
  font-size: 2.1rem;
  color: #FDB833;
  background: transparent;
  border: none;
  padding: 10px 4px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover,.mobile-menu-close:focus {
  color: #fff;
  background: #FDB83322;
  border-radius: 50%;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 0 42px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
  font-size: 1.375rem;
  font-weight: 800;
  color: #FDB833;
  letter-spacing: 0.02em;
  padding: 16px 0;
  border-bottom: 1px solid #FDB83333;
  transition: color 0.18s, background 0.15s;
  border-radius: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #FDB83322;
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* --- SECTIONS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 22px rgba(35,57,93,0.08);
}

.hero-section {
  min-height: 370px;
  background: #23395D;
  color: #fff;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 56px 0 48px;
  border-radius: 0 0 44px 44px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: -52px;
  right: -90px;
  width: 180px;
  height: 180px;
  background: #FDB833;
  border-radius: 35% 65% 75% 25%/45% 35% 65% 55%;
  opacity: 0.13;
  z-index: 1;
}
.hero-section .container {
  position: relative;
  z-index: 2;
}
.hero-section .content-wrapper {
  gap: 20px;
  max-width: 700px;
}
.hero-section h1, .hero-section h2, .hero-section h3 {
  color: #fff;
}
.hero-section p {
  color: #F4F7FA;
  font-size: 1.19rem;
  font-weight: 400;
}
.hero-section .btn-primary {
  margin-top: 12px;
}

/* --- CARDS & FLEX CONTAINERS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(35,57,93, 0.09);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  min-width: 230px;
  max-width: 340px;
  flex: 1 1 230px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 32px rgba(251,184,51, 0.19);
  transform: translateY(-4px) scale(1.01);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  padding: 20px 28px;
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 1px 13px rgba(35,57,93,0.10);
  color: #23395D;
  font-size: 1.09rem;
  font-style: italic;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 28px rgba(251,184,51,0.13);
  background: #F4F7FA;
}
.testimonial-card p {
  flex: 1 1 auto;
  margin: 0;
  color: #23395D;
  font-weight: 500;
}
.testimonial-card span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #FDB833;
  font-size: 0.98rem;
}
.rating-summary {
  background: #FDB83311;
  color: #23395D;
  border-radius: 10px;
  padding: 16px 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 12px;
  display: inline-block;
  box-shadow: 0 1px 8px rgba(251,184,51,0.07);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 0;
  font-size: 1.06rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 100px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: .01em;
  font-size: 1.09rem;
  padding: 14px 34px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(35,57,93,0.04);
  transition: background 0.16s, color 0.16s, box-shadow 0.18s, transform 0.18s;
  outline: none;
  margin: 7px 0;
  min-width: 156px;
  text-align: center;
}
.btn-primary {
  background: #FDB833;
  color: #23395D;
  border: 2.5px solid #FDB833;
}
.btn-primary:hover, .btn-primary:focus {
  background: #23395D;
  color: #FDB833;
  border-color: #23395D;
  box-shadow: 0 3px 18px #FDB83351;
  transform: translateY(-2px) scale(1.01);
}
.btn-secondary {
  background: #23395D;
  color: #FDB833;
  border: 2.5px solid #23395D;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #FDB833;
  color: #23395D;
  border-color: #FDB833;
  box-shadow: 0 3px 18px #23395D26;
}
.btn-ghost {
  background: #fff;
  color: #23395D;
  border: 1.5px solid #23395D;
  box-shadow: none;
}
.btn-ghost:hover,.btn-ghost:focus {
  background: #FDB833;
  color: #23395D;
  border-color: #FDB833;
}

/* --- LISTS --- */
ul, ol {
  margin-bottom: 16px;
  padding-left: 0;
  font-size: 1rem;
}
ul > li, ol > li {
  margin-bottom: 10px;
  padding-left: 0.5em;
  position: relative;
}
ul > li::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #FDB833;
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: baseline;
}
ol > li {
  counter-increment: item;
  list-style-type: decimal;
}

/* --- FOOTER --- */
footer {
  margin-top: 44px;
  background: #23395D;
  color: #fff;
  padding: 32px 0 24px 0;
}
footer .container { }
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-menu,
.brand-info,
.social-links {
  display: flex;
  flex-direction: column;
}
.footer-menu {
  gap: 10px;
}
.footer-menu a {
  color: #FDB833;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 1rem;
  transition: color 0.16s;
}
.footer-menu a:hover {
  color: #fff;
}
footer .brand-info {
  gap: 11px;
  align-items: flex-start;
  font-size: 0.97rem;
  color: #FDB833;
  font-weight: 500;
}
footer img {
  max-width: 116px;
  margin-bottom: 6px;
}
.social-links {
  flex-direction: row;
  gap: 15px;
  align-items: center;
  margin-top: 10px;
}
.social-links img {
  width: 32px;
  height: 32px;
  cursor: pointer;
  filter: grayscale(0.1) brightness(1.2);
  transition: filter 0.2s, transform 0.18s;
}
.social-links img:hover {
  filter: grayscale(0) brightness(1.4) drop-shadow(0 2px 8px #FDB83333);
  transform: scale(1.13) rotate(-5deg);
}

@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
  }
  .footer-menu, .brand-info {
    align-items: flex-start;
  }
}

/* --- SPACING & SECTION GAPS (MANDATORY PATTERNS) --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 850px) {
  .header-container { flex-wrap: wrap; }
  .section, .hero-section {
    padding: 36px 8px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .card-container, .content-grid {
    gap: 14px;
  }
}
@media (max-width: 650px) {
  .container { padding: 0 10px; }
  .section, .hero-section { padding: 24px 2px; }
  .card{
    min-width: 90vw;
    width: 100%;
    padding: 14px 8px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .footer-menu {
    gap: 5px;
    font-size: 0.99rem;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .content-grid{
    flex-direction: column;
    gap: 10px;
  }
  .card-container {
    flex-direction: column;
    gap: 12px;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #23395D;
  color: #fff;
  z-index: 10000;
  box-shadow: 0 -2px 16px #23395D26;
  padding: 28px 20px 20px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  font-size: 1.08rem;
  animation: cookie-slidein 0.35s cubic-bezier(.6,.34,.55,1) 0s;
}
@keyframes cookie-slidein {from{transform:translateY(100vw);}to{transform:translateY(0);}}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-left: auto;
}
.cookie-consent-banner .btn {
  min-width: 110px;
  padding: 11px 18px;
  font-size: 1rem;
}
.cookie-consent-banner .btn-ghost {
  background: #fff;
  color: #23395D;
}
.cookie-consent-banner .btn-ghost:hover {
  background: #FDB833;
  color: #23395D;
}
@media (max-width: 600px){
  .cookie-consent-banner {
    flex-direction: column;
    gap: 18px;
    padding: 18px 4px 8px 4px;
    font-size: 0.98rem;
  }
  .cookie-consent-banner .cookie-buttons{flex-direction:column; gap:10px; margin-left:0;}
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top:0;left:0;bottom:0;right:0;
  background: rgba(35,57,93,0.78);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-in .34s cubic-bezier(.67,0,.73,1);
}
@keyframes cookie-modal-in { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: #fff;
  color: #23395D;
  padding: 38px 24px 32px 24px;
  border-radius: 19px;
  box-shadow: 0 3px 46px #23395D29;
  width: 96vw;
  max-width: 375px;
  font-size: 1.11rem;
  z-index: 11001;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: cmfadein 0.2s linear;
}
@keyframes cmfadein { from {transform:scale(0.86);} to {transform:scale(1);} }
.cookie-modal h2 {
  font-size: 1.36rem;
  font-family: 'Montserrat',sans-serif;
  margin-bottom: 6px;
  font-weight: 600;
  color: #FDB833;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-category label {
  color: #23395D;
  font-size: 1.07rem;
  font-weight: 600;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #ced8e4;
  border-radius: 14px;
  position: relative;
  outline: none;
  transition: background 0.13s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #FDB833;
}
.cookie-toggle::before {
  content: "";
  position: absolute;
  top: 2px; left: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.15s;
  box-shadow: 0 1px 4px #23395d3a;
}
.cookie-toggle:checked::before {
  left: 17px;
}
.cookie-modal .btn-row {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .btn-secondary {
  padding: 10px 19px;
  font-size: 1rem;
}
.cookie-modal .cookie-essential {
  color: #23395D;
  font-style: italic;
  font-size: 0.98rem;
  margin: 0 0 0 8px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 8px;
  right: 14px;
  font-size: 1.7rem;
  color: #23395D;
  background: #FDB83322;
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex;
  align-items: center; justify-content: center;
  transition: background 0.14s, color 0.15s;
  z-index: 3;
}
.cookie-modal .close-modal:hover {
  color: #FDB833;
  background: #23395D11;
}

/* --- MISCELLANEOUS / UTILITIES --- */
.bg-accent {
  background: #F4F7FA;
}
.bg-primary {
  background: #23395D;
  color: #FDB833;
}
.text-primary {
  color: #23395D !important;
}
.text-secondary {
  color: #FDB833 !important;
}
.rounded {
  border-radius: 12px;
}
.shadow {
  box-shadow: 0 2px 11px rgba(35,57,93,0.12);
}
.primary-shadow {
  box-shadow: 0 2px 16px #23395D17;
}
.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.flex-column { display: flex; flex-direction: column; }

/* --- VISUAL MICROS --- */
.btn,
.card,
.testimonial-card,
.mobile-menu,
input,
.cookie-consent-banner,
.cookie-modal {
  transition: box-shadow 0.22s, background 0.16s, color 0.18s, transform 0.18s;
}

/* --- ACCESSIBILITY OVERRIDES --- */
:focus {
  outline: 2.5px solid #FDB833;
  outline-offset: 1.5px;
}

/* --- PRINT HANDLING (OPTIONAL) --- */
@media print {
  header,footer,.mobile-menu,.cookie-consent-banner,.cookie-modal-overlay { display: none!important; }
}
