/* =====================================================
   CSS RESET & BASELINE NORMALIZATION (mobile-first)
   ===================================================== */
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;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.4;
  background: #F5F7FA;
  color: #234060;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  padding-left: 1.25em;
  margin-bottom: 16px;
}
a {
  color: #234060;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s cubic-bezier(.53,.21,.29,.97);
  outline: none;
}
a:focus, a:hover {
  color: #E7B560;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
strong, b {
  font-weight: 700;
}

/* ============================================
   FONT IMPORTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');

/* ============================================
   TYPOGRAPHY SCALE & HEADINGS (Bold, Modern)
   ============================================ */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  letter-spacing: -2px;
  line-height: 1.12;
  margin-bottom: 18px;
  color: #234060;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: -1px;
  line-height: 1.18;
  margin-bottom: 16px;
  color: #234060;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 7px;
  color: #234060;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #234060;
}
p, li, span, label, input, textarea {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #234060;
  line-height: 1.7;
  font-weight: 400;
}
p {
  margin-bottom: 16px;
}
div {
  box-sizing: border-box;
}

/* ============================================
   GLOBAL STRUCTURE/CONTAINERS/SPACING
   ============================================ */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 18px 0 rgba(35,64,96,0.08);
}
.hero {
  background: #234060;
  color: #fff;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 4px 24px 0 rgba(35,64,96,0.09);
  margin-bottom: 48px;
  padding: 0;
}
.hero .container {
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero h1, .hero p {
  color: #fff;
}
.hero .cta.primary {
  background: #E7B560;
  color: #234060;
  margin-top: 28px;
  box-shadow: 0 6px 24px 0 rgba(231, 181, 96, 0.10);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  flex: 1 1 300px;
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(35,64,96,0.09);
  padding: 28px 22px;
}
.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;
}
.text-section {
  margin-bottom: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F5F7FA;
  border: 2px solid #E7B560;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px 0 rgba(35,64,96,0.08);
  color: #234060;
}
.testimonial-card p {
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #234060;
  letter-spacing: -0.5px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #234060;
  font-weight: 700;
  opacity: 0.8;
}

.feature-card {
  background: #fff;
  border-left: 8px solid #E7B560;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(35,64,96,0.09);
  padding: 26px 22px 22px 30px;
  margin-bottom: 20px;
}

/* Lists & OL/UL inside cards and services */
ul, ol {
  margin-bottom: 20px;
}
ul li, ol li {
  padding-left: 0.15em;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #234060;
  font-weight: 600;
  position: relative;
}
ul li::marker, ol li::marker {
  color: #E7B560;
  font-weight: bold;
  font-size: 1.2em;
}

@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
  .section {
    padding: 28px 7px;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.5rem; }
  h3, .h3 { font-size: 1.08rem; }
  .container {
    padding: 0 6px;
  }
  .section { padding: 18px 4px; }
  .card, .feature-card { padding: 19px 10px 15px 17px; border-radius: 12px; }
  .testimonial-card { padding: 15px 7px; border-radius: 9px; }
  .hero .container { padding-top: 35px; padding-bottom: 35px; }
  .hero { border-radius: 0 0 20px 20px; }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 520px) {
  h1, .h1 { font-size: 1.48rem; }
  h2, .h2 { font-size: 1.22rem; }
  .section { margin-bottom: 30px; padding: 11px 2px; }
  .hero .container { padding-top: 18px; padding-bottom: 18px; }
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
header {
  background: #fff;
  box-shadow: 0 1px 8px 0 rgba(35,64,96,0.07);
  z-index: 90;
  position: sticky;
  top: 0;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
header nav a img {
  height: 48px;
  width: auto;
  margin-right: 26px;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  list-style: none;
  margin-left: 16px;
  margin-right: 14px;
}
header nav ul li {
  margin-bottom: 0;
}
header nav ul li a {
  padding: 8px 6px;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: none;
  border-radius: 8px;
  transition: background 0.1s, color 0.17s cubic-bezier(.53,.21,.29,.97);
}
header nav ul li a:focus, header nav ul li a:hover {
  background: #E7B560;
  color: #234060;
}
.cta.primary {
  display: inline-block;
  padding: 13px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.16rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 24px;
  background: #E7B560;
  color: #234060;
  box-shadow: 0 5px 18px 0 rgba(231, 181, 96, 0.12);
  border: none;
  transition: background 0.16s, box-shadow 0.18s, color 0.12s;
  cursor: pointer;
}
.cta.primary:hover, .cta.primary:focus {
  background: #234060;
  color: #E7B560;
  box-shadow: 0 6px 24px 0 rgba(35, 64, 96, .18);
}
.cta.secondary {
  display: inline-block;
  padding: 11px 22px;
  border: 2px solid #234060;
  border-radius: 22px;
  background: #fff;
  color: #234060;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .5px;
  transition: background 0.22s, border 0.19s, color 0.14s;
  margin-top: 12px;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #234060;
  color: #E7B560;
  border-color: #E7B560;
}

/* ---- MOBILE MENU (burger nav) ---- */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #234060;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  margin-left: 18px;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 120;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E7B560;
  color: #234060;
}
.mobile-menu {
  display: none;
}
.mobile-menu.active {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #234060;
  z-index: 200;
  transition: transform 0.35s cubic-bezier(.53,.21,.29,.97);
  transform: translateX(0);
  animation: slideInMenu 0.4s cubic-bezier(.53,.21,.29,.97);
}
@keyframes slideInMenu {
  0% { transform: translateX(-100vw); }
  100% { transform: translateX(0); }
}
.mobile-menu .mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2.4rem;
  background: none;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  text-align: center;
  z-index: 210;
  cursor: pointer;
  transition: background 0.15s;
}
.mobile-menu .mobile-menu-close:hover, .mobile-menu .mobile-menu-close:focus {
  background: #E7B560;
  color: #234060;
}
.mobile-menu .mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 100px 36px 36px 36px;
  width: 100vw;
  height: 100vh;
}
.mobile-menu .mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.32rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: none;
  border-radius: 8px;
  padding: 9px 8px;
  transition: background 0.16s, color 0.12s;
  width: 100%;
}
.mobile-menu .mobile-nav a:focus, .mobile-menu .mobile-nav a:hover {
  background: #E7B560;
  color: #234060;
}

@media (min-width: 1050px) {
  .mobile-menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}
@media (max-width: 1049px) {
  header nav ul, header nav .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (max-width: 768px) {
  .mobile-menu .mobile-menu-close {
    top: 14px;
    right: 13px;
    font-size: 2rem;
    width: 38px;
    height: 38px;
  }
  .mobile-menu .mobile-nav {
    padding: 62px 17px 17px 17px;
    gap: 18px;
  }
  header nav a img {
    height: 34px;
  }
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: #234060;
  color: #fff;
  border-radius: 18px 18px 0 0;
  margin-top: 44px;
  padding: 24px 0 16px 0;
  font-size: 0.96rem;
}
footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  list-style-type: none;
  margin-bottom: 17px;
}
footer nav ul li a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  border-radius: 8px;
  padding: 7px 7px;
  background: none;
  transition: background 0.13s, color 0.12s;
}
footer nav ul li a:focus, footer nav ul li a:hover {
  background: #E7B560;
  color: #234060;
}
footer > div {
  text-align: center;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.94rem;
  color: #E7B560;
  margin-top: 6px;
}
@media (max-width: 650px) {
  footer nav ul {
    gap: 8px;
    flex-direction: column;
  }
}

/* ============================================
   COOKIE CONSENT BANNER + MODAL
   ============================================ */
.cookie-consent {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #234060;
  box-shadow: 0 -4px 28px 0 rgba(35,64,96,0.14);
  border-radius: 22px 22px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 22px 26px;
  z-index: 400;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  animation: slideUpBanner 0.5s cubic-bezier(.53,.21,.29,.97);
}
@keyframes slideUpBanner { 0% {transform: translateY(120%);} 100% {transform: translateY(0);} }
.cookie-consent span {
  font-size: 1rem;
  font-weight: 600;
  color: #234060;
  margin-right: 20px;
}
.cookie-consent .cookie-btns {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
}
.cookie-consent button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  border-radius: 18px;
  outline: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.7px;
  font-size: 0.98rem;
  padding: 10px 20px;
  background: #234060;
  color: #fff;
  margin-right: 0;
  box-shadow: 0 2px 9px 0 rgba(35,64,96,0.15);
  transition: background 0.18s, color 0.14s, box-shadow 0.15s;
}
.cookie-consent button:focus, .cookie-consent button:hover {
  background: #E7B560;
  color: #234060;
}
.cookie-consent .accept {
  background: #E7B560;
  color: #234060;
  font-weight: 900;
}
.cookie-consent .accept:hover, .cookie-consent .accept:focus {
  background: #234060;
  color: #E7B560;
}
.cookie-consent .settings {
  background: #fff;
  color: #234060;
  border: 2px solid #E7B560;
  font-weight: 700;
}
.cookie-consent .settings:hover, .cookie-consent .settings:focus {
  background: #E7B560;
  color: #234060;
}

@media (max-width: 700px) {
  .cookie-consent {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 10px;
  }
}

/* ---- Cookie Modal ---- */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,64,96,0.76);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal .26s cubic-bezier(.53,.21,.29,.97);
}
@keyframes fadeInModal { 0% {opacity: 0;} 100% {opacity: 1;} }
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 35px 28px 28px 28px;
  box-shadow: 0 24px 44px 0 rgba(35,64,96,0.28);
  width: 94vw;
  max-width: 395px;
  font-family: 'Open Sans', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: #234060;
  font-size: 1rem;
  text-align: left;
}
.cookie-modal .modal-content h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.48rem;
  margin-bottom: 6px;
  font-weight: 900;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 9px 0;
}
.cookie-modal label {
  font-weight: 600;
  color: #234060;
}
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #E7B560;
  border-radius: 16px;
  transition: background 0.2s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 4px;
  bottom: 4px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 2px 5px 0 rgba(35,64,96,.17);
}
.switch input:checked + .slider {
  background-color: #234060;
}
.switch input:checked + .slider:before {
  transform: translateX(18px);
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}
.cookie-modal .modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 15px;
  padding: 8px 19px;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  background: #234060;
  color: #fff;
  transition: background 0.18s, color 0.13s;
}
.cookie-modal .modal-actions .accept {
  background: #E7B560;
  color: #234060;
  font-weight: 900;
}
.cookie-modal .modal-actions .accept:hover {
  background: #234060;
  color: #E7B560;
}
.cookie-modal .modal-actions .close {
  background: #fff;
  color: #234060;
  border: 2px solid #E7B560;
}
.cookie-modal .modal-actions .close:hover {
  background: #E7B560;
  color: #234060;
}
@media (max-width: 480px) {
  .cookie-modal .modal-content { padding: 18px 6px; }
}

/* ============================================
   UI MICRO-INTERACTIONS
   ============================================ */
.card, .feature-card, .testimonial-card, .cta.primary, .cta.secondary, .mobile-menu, .cookie-consent, .cookie-modal .modal-content {
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .feature-card:hover, .testimonial-card:hover {
  box-shadow: 0 4px 24px 0 rgba(231,181,96,.11), 0 0px 2px 0 rgba(35,64,96,0.08);
  transform: translateY(-3px) scale(1.018);
}

/* ============================================
   CUSTOM CLASSES (utility)
   ============================================ */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.bold { font-weight: 700 !important; }

/* ============================================
   OVERRIDES & FINAL TOUCHES FOR MODERN_BOLD
   ============================================ */
.section {
  border: none;
  background: #fff;
}
.card, .feature-card, .testimonial-card, .section {
  border-radius: 20px;
}

/* ============================================
   GEOMETRIC DECORATIVE SHAPES (example)
   ============================================ */
.hero::before {
  content: "";
  position: absolute;
  left: -8vw;
  top: -80px;
  width: 190px;
  height: 190px;
  background: #E7B560;
  opacity: 0.11;
  border-radius: 36% 52% 38% 50% / 45% 70% 29% 55%;
  z-index: 1;
  pointer-events: none;
  display: block;
}
@media (max-width: 768px) {
  .hero::before { width: 95px; height: 95px; top: -55px; }
}

/* ============================================
   END OF CSS
   ============================================ */
