/* ---- CSS 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, 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;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F5F0EB;
  color: #1B2838;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #39506A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C9CA5C;
  text-decoration: underline;
}
ul, ol {
  margin-left: 18px;
}
strong {
  font-weight: 700;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #39506A;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  line-height: 1.2;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.15rem;
  color: #435871;
  margin-bottom: 18px;
  font-weight: 400;
}
p {
  font-size: 1rem;
  margin-bottom: 14px;
  color: #263146;
}

/* ---- STRUCTURE & LAYOUT CONTAINERS ---- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(57,80,106,0.06);
}

/* ------ HEADER & NAVIGATION ------ */
header {
  background: #fff;
  border-bottom: 1px solid #e9ecef;
  box-shadow: 0 2px 8px 0 rgba(57,80,106,0.03);
  position: relative;
  z-index: 70;
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 74px;
}
.logo-link {
  display: flex;
  align-items: center;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #39506A;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:after {
  display: block;
  content: '';
  height: 2px;
  background: #C9CA5C;
  width: 0;
  transition: width 0.2s;
  position: absolute;
  left: 0;
  bottom: -3px;
}
.main-nav a:hover:after,
.main-nav a:focus:after {
  width: 100%;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #C9CA5C;
}

/* Hamburger Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #39506A;
  cursor: pointer;
  line-height: 1;
  padding: 6px 12px;
  z-index: 99;
  transition: color 0.15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #C9CA5C;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(57, 80, 106, 0.93);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.6,.2,0,1.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 22px 0 22px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2em;
  cursor: pointer;
  margin-bottom: 20px;
  transition: color 0.15s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #C9CA5C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 24px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  transition: color 0.18s, background 0.18s;
  border-radius: 4px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #C9CA5C;
  background: rgba(201,202,92,0.06);
}

/* ---- HERO SECTION ---- */
.hero {
  background: linear-gradient(105deg, #F5F0EB 70%, #e2e7ee 100%);
  padding-top: 52px;
  padding-bottom: 52px;
  margin-bottom: 48px;
  border-bottom: 1px solid #eaeaea;
  box-shadow: 0 2px 20px 0 rgba(57,80,106,0.03);
}
.hero .content-wrapper {
  align-items: flex-start;
}

/* ---- FEATURE GRID (HOME) ---- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-top: 18px;
}
.feature-grid li {
  flex: 1 1 215px;
  min-width: 200px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(57,80,106,0.07);
  padding: 28px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid #e7eaf0;
}
.feature-grid li:hover {
  box-shadow: 0 6px 24px 0 rgba(57,80,106,0.11);
  transform: translateY(-3px) scale(1.012);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 8px;
}

/* ---- CTA BUTTON ---- */
.cta-btn {
  background: #39506A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 14px 36px;
  font-size: 1.13rem;
  border-radius: 44px;
  border: none;
  cursor: pointer;
  transition: background 0.22s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 10px 0 rgba(57,80,106,0.08);
  outline: none;
  margin-top: 8px;
  display: inline-block;
  letter-spacing: 0.01em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #C9CA5C;
  color: #1B2838;
  box-shadow: 0 4px 24px 0 rgba(57,80,106,0.19);
}

/* ---- ABOUT INTRO / POLICIES ---- */
.about-intro, .policy, .success {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(57,80,106,0.05);
}
.policy h1, .success h1 {
  color: #39506A;
  font-size: 2.1rem;
  margin-bottom: 12px;
}
.policy ul, .about-intro ul {
  margin-bottom: 8px;
}
.policy li, .about-intro li {
  margin-bottom: 10px;
}

/* ---- FEATURE SECTIONS (e.g. Features, Services) ---- */
.features, .services, .contact-info {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px 0 rgba(57,80,106,0.04);
}
.features h2,
.services h2,
.contact-info h2 {
  margin-bottom: 14px;
}
.features ul,
.services ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}
.features ul li,
.services ul li {
  font-size: 1rem;
  color: #283853;
  border-left: 3px solid #C9CA5C;
  padding-left: 12px;
  margin-bottom: 0;
  background: transparent;
}

/* ---- CTA-FINAL ---- */
.cta-final {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #39506A;
  color: #fff;
  border-radius: 13px;
  box-shadow: 0 3px 20px 0 rgba(57,80,106,0.12);
}
.cta-final h2 {
  color: #fff;
  margin-bottom: 10px;
}
.cta-final p {
  color: #E3E9F3;
  margin-bottom: 16px;
}
.cta-final .cta-btn {
  background: #C9CA5C;
  color: #263146;
}
.cta-final .cta-btn:hover, .cta-final .cta-btn:focus {
  background: #fff;
  color: #39506A;
  box-shadow: 0 6px 30px 0 rgba(201,202,92,0.18);
}

/* ---- TESTIMONIALS ---- */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px 16px 20px;
  background: #F5F0EB;
}
.testimonials h2 {
  margin-bottom: 16px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 12px 0 rgba(57,80,106,0.08);
  margin-bottom: 20px;
  border: 1px solid #e8e9ee;
  transition: box-shadow 0.2s, border 0.2s;
}
.testimonial-card p {
  flex: 1;
  font-style: italic;
  color: #1B2838;
  font-size: 1.02rem;
}
.testimonial-meta {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #39506A;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.testimonial-meta span {
  color: #C9CA5C;
  margin-left: 6px;
  letter-spacing: 2px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(57,80,106,0.13);
  border: 1px solid #C9CA5C;
}

/* ---- CONTACT INFO ---- */
.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  list-style: none;
  margin-left: 0;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.06rem;
}
.contact-info img {
  width: 23px;
  height: 23px;
}
.contact-note {
  margin-top: 15px;
  color: #55606e;
  background: #eaeceb;
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 0.98rem;
}

/* ---- FOOTER ---- */
footer {
  background: #39506A;
  color: #fff;
  padding: 30px 0;
  margin-top: 60px;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
.footer-logo {
  flex: 1 1 120px;
}
.footer-logo img {
  min-width: 55px;
  max-width: 70px;
}
.footer-nav {
  flex: 2 1 220px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.87;
  transition: color 0.18s, opacity 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #C9CA5C;
  opacity: 1;
}
.footer-contact {
  flex: 3 1 250px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 18px;
  height: 18px;
}

/* ---- FLEXBOX PATTERNS ---- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px 0 rgba(57,80,106,0.05);
  display: flex;
  flex-direction: column;
  min-width: 210px;
  max-width: 340px;
  padding: 24px 18px;
}
.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;
}

/* ---- TABLET & DESKTOP BREAKPOINTS ---- */
@media (max-width: 1024px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .footer-wrapper,
  .header-wrapper {
    gap: 15px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 11px;
    font-size: 0.97rem;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .feature-grid {
    gap: 20px;
  }
}

/* ---- MOBILE BREAKPOINTS ---- */
@media (max-width: 768px) {
  .header-wrapper {
    flex-direction: row;
    gap: 10px;
    min-height: 56px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-nav {
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 10px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .features ul,
  .services ul {
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .section, .about-intro, .policy, .features, .services, .cta-final, .testimonials, .success {
    padding: 26px 4px;
    border-radius: 6px;
  }
  .hero {
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .footer-logo img {
    max-width: 55px;
  }
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.28rem;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 11px 24px;
  }
  .feature-grid li {
    padding: 16px 12px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
  }
}

/* ---- TRANSITIONS / MICRO-INTERACTIONS ---- */
button, .cta-btn, .main-nav a, .card, .feature-grid li, .footer-nav a, .mobile-nav a {
  transition: background 0.19s, color 0.19s, box-shadow 0.17s, opacity 0.09s;
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #39506A;
  box-shadow: 0 -5px 24px 0 rgba(57,80,106,0.09);
  border-top: 2px solid #C9CA5C;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 16px 17px 16px;
  z-index: 5000;
  font-size: 1rem;
  animation: cookie-slide-in 0.7s cubic-bezier(.5, .6, .4, 1) 1;
}
@keyframes cookie-slide-in {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  color: #39506A;
  margin-bottom: 12px;
}
.cookie-buttons {
  display: flex;
  gap: 20px;
  margin-top: 5px;
  flex-wrap: wrap;
}
.cookie-buttons button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  padding: 10px 30px;
  cursor: pointer;
  margin: 0;
  box-shadow: 0 2px 8px 0 rgba(57,80,106,0.07);
  outline: none;
  transition: background 0.2s, color 0.15s, box-shadow 0.15s;
}
.cookie-accept {
  background: #C9CA5C;
  color: #263146;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #39506A;
  color: #fff;
}
.cookie-reject {
  background: #e3eaf3;
  color: #39506A;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #cbcfd9;
  color: #1B2838;
}
.cookie-settings {
  background: #fff;
  color: #39506A;
  border: 1.5px solid #C9CA5C;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #C9CA5C;
  color: #263146;
}

/* ---- COOKIE MODAL ---- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(57,80,106,0.48);
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.20s cubic-bezier(.65,.05,.36,1.01) 1;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #39506A;
  border-radius: 18px;
  padding: 32px 26px 28px 26px;
  max-width: 400px;
  box-shadow: 0 7px 50px rgba(57,80,106,0.18);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modal-bounce-in 0.32s cubic-bezier(.6,.18,.13,1.05) 1;
}
@keyframes modal-bounce-in {
  0% { transform: scale(0.88); opacity: 0; }
  52% { transform: scale(1.06); }
  70% { transform: scale(0.99); }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.23rem;
  color: #39506A;
  margin-bottom: 6px;
}
.cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
}
.cookie-modal label {
  flex: 1;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: #e9ecef;
  border-radius: 11px;
  position: relative;
  display: inline-block;
  margin-left: 10px;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: #C9CA5C;
  border-radius: 50%;
  transition: transform 0.2s, background 0.17s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  transform: translateX(16px);
  background: #39506A;
}
.cookie-modal .essential {
  opacity: 0.48;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: #39506A;
  font-size: 1.55rem;
  cursor: pointer;
  transition: color 0.18s;
  border-radius: 3px;
  padding: 2px 6px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #C9CA5C;
}
.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 5px;
}

@media (max-width:500px) {
  .cookie-modal {
    max-width: 88vw;
    padding: 18px 6px 18px 6px;
  }
}

/* ---- UTILITY CLASSES ---- */
.hide {
  display: none !important;
}

/* ---- END OF CSS ---- */
