/* RESET & BASE STYLES --------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #2B3A55;
  min-height: 100vh;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  padding-left: 1.25em;
  margin-bottom: 1em;
}
li + li {
  margin-top: 0.2em;
}

/* Brand Typography and Headings ------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', 'Times New Roman', Times, serif;
  color: #2B3A55;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -1px;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
.subheadline {
  font-size: 1.125rem;
  color: #666a7b;
  font-weight: 400;
  margin-bottom: 24px;
}
p {
  margin-bottom: 16px;
  color: #2B3A55;
  font-size: 1rem;
}
strong { font-weight: 700; }

/* Utility Containers ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1160px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Card & Grid Flex Layouts ------------------------------------------------ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(34, 41, 58, 0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  min-width: 260px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(43,58,85,0.13);
}
.content-grid, .features-grid, .services-list, .testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.content-grid {margin-top: 20px;}

.features-grid {
  gap: 24px;
  margin-top: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(34, 41, 58, 0.04);
  padding: 20px 18px;
  flex: 1 1 230px;
  min-width: 180px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-item:hover {
  box-shadow: 0 4px 24px rgba(43,58,85,0.11);
  transform: translateY(-2px);
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.service-card {
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(43,58,85,0.08);
  padding: 24px 20px;
  margin-bottom: 20px;
  flex: 1 1 310px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid #E5E7EB;
  position: relative;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.service-card:hover {
  border-color: #F9B233;
  box-shadow: 0 8px 32px rgba(34, 41, 58, 0.17);
}
.service-price {
  color: #F9B233;
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

/* Testimonials ------------------------------------------------------------ */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 20px 18px 24px;
  background: #FAFAFB;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(43,58,85,0.10);
  min-width: 240px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  border: 1px solid #E5E7EB;
  color: #25304D;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.testimonial-card:hover {
  border-color: #F9B233;
  box-shadow: 0 6px 28px rgba(43,58,85,0.16);
}
.testimonial-author {
  font-size: 0.98rem;
  color: #2B3A55;
  font-weight: 600;
  margin-top: -12px;
}

/* HERO & CTA -------------------------------------------------------------- */
.hero {
  padding: 56px 0 56px 0;
  background: #FFF;
}
.hero .container, .call-to-action .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper, .call-to-action .content-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 765px;
  gap: 24px;
}
.call-to-action {
  margin-bottom: 0;
  background: #F9B23311;
  padding: 48px 0;
}

/* HEADER & NAVIGATION ----------------------------------------------------- */
header {
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: start;
  padding: 16px 24px;
  background: #fff;
}
.logo-link img, header .header-top img {
  height: 38px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 10px 24px;
  margin-bottom: 0;
  font-weight: 500;
  font-size: 1rem;
}
.main-nav a {
  color: #2B3A55;
  padding: 6px 6px;
  border-radius: 7px;
  transition: background 0.15s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #F9B233;
  background: #E5E7EBaa;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 1rem;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.14s;
  white-space: nowrap;
  margin-left: 16px;
}
.btn-primary {
  background: #2B3A55;
  color: #fff;
  box-shadow: 0 2px 12px rgba(43,58,85,0.09);
  border: 1px solid #2B3A55;
}
.btn-primary:hover, .btn-primary:focus {
  background: #F9B233;
  color: #2B3A55;
  transform: translateY(-2px);
}
.btn-secondary {
  background: #fff;
  color: #2B3A55;
  border: 1px solid #F9B233;
  box-shadow: 0 2px 12px rgba(249,178,51,0.09);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #F9B233;
  color: #2B3A55;
  border-color: #F9B233;
  transform: translateY(-2px);
}

/* MOBILE BURGER MENU ------------------------------------------------------ */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #2B3A55;
  cursor: pointer;
  margin-left: auto;
  padding: 6px 12px;
  z-index: 110;
  transition: color 0.14s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #F9B233;
  outline: none;
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 36px rgba(43,58,85,0.19);
  z-index: 100;
  transform: translateX(-110vw);
  transition: transform 0.36s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  padding-top: 38px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 20px;
  top: 20px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #2B3A55;
  cursor: pointer;
  z-index: 120;
  padding: 8px 10px;
  transition: color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F9B233;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding-top: 54px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-weight: 500;
  color: #2B3A55;
  padding: 12px 18px;
  border-radius: 10px;
  width: 80vw;
  text-align: center;
  transition: background 0.14s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F9B23322;
  color: #F9B233;
}

/* FOOTER ------------------------------------------------------------------ */
footer {
  background: #fff;
  border-top: 1px solid #E5E7EB;
  margin-top: 56px;
  padding-top: 44px;
  color: #2B3A55;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto 0 auto;
  padding: 0 20px 20px 20px;
}
.footer-main > a img {
  height: 30px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #2B3A55;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.14s;
}
.footer-nav a:hover {
  color: #F9B233;
}
.footer-contact {
  font-size: 0.97rem;
  color: #575f75;
  margin-top: 8px;
}
.footer-contact a {
  color: #2B3A55;
  border-bottom: 1px dotted #F9B233;
  transition: color 0.14s;
}
.footer-contact a:hover {
  color: #F9B233;
}
.footer-copy {
  border-top: 1px solid #E5E7EB;
  font-size: 0.92rem;
  text-align: center;
  padding: 18px 0 8px 0;
  color: #9ba0aa;
  margin-top: 14px;
}

/* COOKIE CONSENT BANNER --------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 16px rgba(43,58,85,0.11);
  border-top: 1px solid #E5E7EB;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 22px 20px 18px 20px;
  z-index: 9999;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.77,0,0.175,1), opacity 0.22s;
  font-size: 1rem;
}
.cookie-banner.show {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-banner-text {
  flex: 1 1 320px;
  min-width: 180px;
  color: #2B3A55;
  font-size: 1rem;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Roboto Slab', serif;
  padding: 8px 22px;
  font-size: 0.98rem;
  border-radius: 20px;
  outline: none;
  border: 1px solid #E5E7EB;
  cursor: pointer;
  transition: background 0.16s, color 0.13s, border-color 0.13s;
  margin-left: 4px;
}
.cookie-btn.accept {
  background: #2B3A55;
  color: #fff;
  border: 1px solid #2B3A55;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #F9B233;
  color: #2B3A55;
}
.cookie-btn.reject {
  background: #fff;
  color: #2B3A55;
  border: 1px solid #2B3A55;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #E5E7EB;
}
.cookie-btn.settings {
  background: #fff;
  color: #F9B233;
  border: 1px solid #F9B233;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F9B233;
  color: #2B3A55;
}

/* COOKIE CONSENT MODAL ---------------------------------------------------- */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 10000;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(43,58,85,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(1px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-backdrop.show {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 48px rgba(43,58,85,0.22);
  max-width: 390px;
  width: 92vw;
  padding: 34px 30px 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 11000;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #2B3A55;
  cursor: pointer;
  transition: color 0.15s;
  padding: 2px 8px;
}
.cookie-modal-close:hover {
  color: #F9B233;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  color: #25304D;
}
.cookie-toggle {
  margin-left: 10px;
  accent-color: #F9B233;
}
.cookie-category.essential label {
  color: #aaa;
  font-style: italic;
}

/* RESPONSIVE BREAKPOINTS -------------------------------------------------- */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
  }
  .features-grid, .testimonials-grid, .services-list, .card-container {
    gap: 16px;
  }
  .feature-item, .service-card, .testimonial-card, .card {
    min-width: 180px;
    flex-basis: 220px;
    padding-left: 13px; padding-right: 13px;
  }
}
@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .hero .content-wrapper, .call-to-action .content-wrapper {
    max-width: 95vw;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .btn-primary {
    margin-left: 0;
    min-width: 120px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header {
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 0;
    min-height: 60px;
  }

  .section, .hero, .call-to-action {
    padding: 26px 7vw;
  }
  .features-grid, .services-list, .testimonials-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .service-card, .testimonial-card, .card {
    min-width: 0 !important;
    width: 100%;
    flex-basis: initial;
    margin-bottom: 13px;
  }
  .footer-main {
    padding: 0 7vw 14px 7vw;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .hero .content-wrapper, .call-to-action .content-wrapper {
    padding: 10px 0;
    gap: 18px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 2rem;}
  h2 { font-size: 1.28rem;}
  .hero .content-wrapper, .call-to-action .content-wrapper {
     padding: 0;
  }
  .footer-main { padding: 0 6px 12px 6px; }
  .container {padding: 0 6px;}
  .section, .hero, .call-to-action {padding: 16px 2.5vw;}
}

/* FLEXBOX LAYOUTS FOR CUSTOM CLASSES -------------------------------------- */
.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;
  }
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ACCESSIBILITY & MISC ---------------------------------------------------- */
:focus {
  outline: 2px dotted #F9B233;
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #b6bac7; }
::-moz-placeholder { color: #b6bac7; }
:-ms-input-placeholder { color: #b6bac7; }
::placeholder { color: #b6bac7; }

hr { border: none; border-top: 1px solid #E5E7EB; margin: 24px 0; }

/* MICROINTERACTIONS/ANIMATIONS -------------------------------------------- */
a, button, .card, .service-card, .btn-primary, .btn-secondary, .feature-item {
  transition-property: background, color, box-shadow, border, transform;
  transition-duration: 0.18s;
}

/* SPACING BETWEEN CARDS/SECTIONS ------------------------------------------ */
.card, .service-card, .testimonial-card, .feature-item, .section {
  margin-bottom: 20px;
}
.section {
  margin-bottom: 60px;
}

/* END CSS */
