/* RESET & BASICS */
html {
  font-size: 16px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  color: #23424A;
  background: linear-gradient(135deg, #CCD9CB 0%, #F3EBDC 100%);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video {
  max-width: 100%;
  display: block;
  border-radius: 10px;
}
a {
  color: #23424A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1a3338;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
button, .btn-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 40px;
  padding: 12px 28px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  background: linear-gradient(90deg,#23424A 60%, #CCD9CB 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(35,66,74,0.07);
}
button:focus, .btn-primary:focus, button:active, .btn-primary:active {
  outline: 2px solid #F3EBDC;
  outline-offset: 2px;
}
.btn-primary:hover {
  background: linear-gradient(90deg, #23424A 80%, #A3B7A2 100%);
  color: #F3EBDC;
  box-shadow: 0 4px 18px 0 rgba(35,66,74,0.12);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #23424A;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  font-weight: 600;
}
.text-section h2, .text-section h3 {
  margin-top: 20px;
}
p, .text-section ul, .text-section ol {
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}

/* LAYOUT: CONTAINERS & WRAPPERS */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* SPACING RULES */
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: 20px;
  box-shadow: 0 2px 10px rgba(35,66,74,0.10);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.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;
  background: #F3EBDC;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(35,66,74,0.04);
  min-width: 270px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FLEX GRIDS & COMPONENTS */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature {
  background: #fff;
  border-radius: 18px;
  flex: 1 1 270px;
  min-width: 230px;
  max-width: 330px;
  padding: 28px 20px 24px 20px;
  box-shadow: 0 2px 8px rgba(35,66,74,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.18s;
}
.feature img {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 8px 32px rgba(35,66,74,0.19);
}

.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}
.bio {
  flex: 1 1 230px;
  min-width: 210px;
  background: #F3EBDC;
  border-radius: 16px;
  padding: 20px 18px;
  box-shadow: 0 2px 8px rgba(35,66,74,0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
}
.testimonial-card p {
  font-size: 1.10rem;
  color: #23424A;
  margin-bottom: 10px;
}
.testimonial-card strong {
  color: #23424A;
  font-size: 1rem;
}

.cta {
  background: linear-gradient(90deg, #CCD9CB 30%, #F3EBDC 100%);
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(35,66,74,0.07);
  margin: 60px 0 0 0;
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 16px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.blog-overview .post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-overview .post-list article {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(35,66,74,0.07);
  flex: 1 1 260px;
  min-width: 220px;
  padding: 24px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.18s;
}
.blog-overview .post-list article:hover {
  box-shadow: 0 8px 28px rgba(35,66,74,0.11);
}

/**** HEADER + NAVIGATION ****/
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(35,66,74,0.07);
  padding: 0;
  margin-bottom: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  min-height: 78px;
  position: relative;
}
.logo img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: 30px;
}
.main-nav a {
  color: #23424A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 0;
  transition: color 0.18s, border-bottom 0.18s;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
  color: #448289;
  border-bottom: 2px solid #CCD9CB;
  text-decoration: none;
}
.btn-primary {
  margin-left: auto;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  line-height: 1;
  color: #23424A;
  margin-left: 16px;
  cursor: pointer;
  z-index: 1001;
  display: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F3EBDC;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,66,74,0.96);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.55, 0.24, 0.18, 1);
  pointer-events: none;
  opacity: 0.97;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  align-self: flex-end;
  margin: 18px 24px 0 0;
  cursor: pointer;
  z-index: 2100;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #CCD9CB;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
  margin: 50px 0 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 10px 0;
  transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #CCD9CB;
  text-decoration: none;
}


/**** HERO SECTION ****/
.hero-section {
  background: linear-gradient(110deg,#F3EBDC 60%, #CCD9CB 100%);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 2px 14px rgba(35,66,74,0.08);
  padding-top: 50px;
  padding-bottom: 50px;
  margin-bottom: 44px;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  max-width: 630px;
}
.hero-section h1 {
  font-size: 2.5rem;
  color: #23424A;
  text-shadow: 0 2px 12px rgba(255,255,248,0.06);
}
.hero-section p {
  font-size: 1.22rem;
  margin-bottom: 18px;
}
.hero-section .btn-primary {
  margin-top: 16px;
}

/**** FOOTER ****/
footer {
  background: #23424A;
  color: #F3EBDC;
  margin-top: 80px;
  padding: 40px 0 0 0;
  border-radius: 36px 36px 0 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 30px;
}
.logo-footer img {
  height: 44px;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 170px;
}
.footer-nav a {
  color: #F3EBDC;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #CCD9CB;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  font-size: 0.98rem;
  color: #F3EBDC;
}
.footer-contact img {
  vertical-align: middle;
  margin-right: 6px;
  height: 19px;
  width: 19px;
}
.footer-contact a {
  color: #F3EBDC;
  text-decoration: underline;
}

/* LEGAL SECTION */
.legal-section {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 8px rgba(35,66,74,0.07);
}
.legal-section .content-wrapper {
  background: none;
  box-shadow: none;
  padding: 0;
}

/**** THANK-YOU SECTION ****/
.thank-you-section {
  padding-top: 60px;
  padding-bottom: 70px;
  background: linear-gradient(100deg, #CCD9CB 60%, #F3EBDC 100%);
  border-radius: 24px;
  margin-bottom: 48px;
}
.thank-you-section .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 22px;
}

/**** BLOG POST LIST ****/
.blog-overview .content-wrapper {
  gap: 24px;
}

/**** CONTACT SECTION ****/
.contact-section {
  background: #F3EBDC;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(35,66,74,0.07);
}
.contact-info-block {
  font-size: 1.08rem;
  color: #23424A;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-info-block img {
  vertical-align: middle;
  margin-right: 7px;
  height: 18px;
  width: 18px;
}
.cta-block {
  margin-top: 18px;
}

/**** FAQ SECTION ****/
.faq-section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(35,66,74,0.08);
}
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 14px;
}
.faq-item {
  flex: 1 1 240px;
  min-width: 210px;
  background: #F3EBDC;
  border-radius: 14px;
  padding: 16px 12px 10px 16px;
  box-shadow: 0 1px 6px rgba(35,66,74,0.07);
}
.faq-item h3 {
  font-size: 1.15rem;
}

/**** LISTS ****/
ul, ol {
  padding-left: 22px;
}

/**** MICRO-INTERACTIONS, FOCUS & HOVER ****/
.card, .feature, .bio, .faq-item, .blog-overview .post-list article {
  transition: box-shadow 0.22s cubic-bezier(.46,.03,.52,.96), transform 0.13s;
}
.card:hover, .card:focus-within, .blog-overview .post-list article:hover, .blog-overview .post-list article:focus-within {
  box-shadow: 0 6px 26px rgba(35,66,74,0.12);
  transform: translateY(-4px) scale(1.02);
}

/**** RESPONSIVENESS: MOBILE FIRST ****/
@media (max-width: 1024px) {
  .container {
    max-width: 920px;
  }
  .main-nav {
    gap: 11px;
    margin-left: 16px;
  }
  .team-bios { gap: 14px; }
}
@media (max-width: 900px) {
  .container {
    max-width: 700px;
  }
  .features-grid, .team-bios, .testimonial-slider, .blog-overview .post-list {
    flex-direction: column;
    gap: 18px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .btn-primary {
    margin-left: 0;
  }
  .footer-contact {
    min-width: 240px;
  }
  footer .container {
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .hero-section {
    padding-top: 34px;
    padding-bottom: 36px;
    border-radius: 0 0 18px 18px;
  }
  .hero-section .content-wrapper, .thank-you-section .content-wrapper {
    max-width: 100%;
  }
  .content-wrapper, .content-grid {
    gap: 14px;
  }
  .features-grid, .team-bios, .testimonial-slider, .blog-overview .post-list, .faq-list {
    flex-direction: column;
    gap: 16px;
  }
  section {
    padding: 28px 4px;
    margin-bottom: 36px;
  }
  .footer-contact, .footer-nav {
    min-width: unset;
  }
  .footer-contact {
    font-size: 0.93rem;
  }
  .bio, .feature, .card, .faq-item {
    padding: 16px 10px 14px 10px;
  }
}
@media (max-width: 650px) {
  h1 {
    font-size: 1.62rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .main-nav { display: none; }
  .footer-contact, .footer-nav {
    min-width: unset;
  }
  .testimonial-card {
    min-width: 170px;
    gap: 9px;
    padding: 13px;
    font-size: 0.99rem;
  }
}
@media (max-width: 540px) {
  .container {
    padding: 0 3px;
  }
  .content-wrapper {
    padding-left: 2px;
    padding-right: 2px;
  }
  .logo img, .logo-footer img {
    height: 34px;
  }
  .mobile-nav {
    margin: 34px 0 0 12px;
  }
}

/**** COOKIE CONSENT BANNER ****/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: #23424A;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 16px 20px 24px;
  gap: 22px;
  box-shadow: 0 -2px 18px rgba(35,66,74,0.15);
  font-size: 1rem;
  transition: transform 0.28s cubic-bezier(.46,.03,.52,.96), opacity 0.15s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  align-items: center;
}
.cookie-banner button {
  font-size: 1rem;
  border-radius: 22px;
  padding: 8px 18px;
  background: #fff;
  color: #23424A;
  border: none;
  font-weight: 600;
  margin-left: 0;
  margin-right: 0;
  box-shadow: 0 1px 4px rgba(255,255,255,0.08);
  transition: background 0.16s, color 0.16s;
  cursor: pointer;
}
.cookie-banner button:focus, .cookie-banner button:hover {
  background: #CCD9CB;
  color: #23424A;
}
.cookie-banner .cookie-settings {
  background: none;
  color: #F3EBDC;
  text-decoration: underline;
  padding: 8px 11px;
}
.cookie-banner .cookie-settings:focus, .cookie-banner .cookie-settings:hover {
  background: #23424A;
  color: #CCD9CB;
}
@media (max-width: 680px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.96rem;
    padding: 14px 7px 14px 12px;
  }
  .cookie-banner .cookie-actions {
    gap: 8px;
  }
}

/**** COOKIE MODAL ****/
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,66,74,0.93);
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 48px rgba(35,66,74,0.20);
  max-width: 400px;
  width: 94vw;
  padding: 38px 30px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  font-size: 1.25rem;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #F3EBDC;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal .cookie-toggle {
  background: #CCD9CB;
  border: none;
  width: 38px; height: 21px;
  border-radius: 22px;
  position: relative;
  cursor: pointer;
  margin-left: 10px;
  transition: background 0.18s;
}
.cookie-modal .cookie-toggle[aria-checked="true"] {
  background: #23424A;
}
.cookie-modal .cookie-toggle::after {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.18s;
}
.cookie-modal .cookie-toggle[aria-checked="true"]::after {
  transform: translateX(16px);
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  font-size: 1rem;
  border-radius: 20px;
  padding: 8px 17px;
  background: #23424A;
  color: #fff;
  font-weight: 600;
  border: none;
  box-shadow: 0 1px 4px rgba(35,66,74,0.07);
  transition: background 0.16s, color 0.16s;
}
.cookie-modal-actions button:focus, .cookie-modal-actions button:hover {
  background: #CCD9CB;
  color: #23424A;
}
.cookie-modal .essential-text {
  font-size: 0.98rem;
  color: #23424A;
  margin-left: 16px;
  font-weight: 500;
}

/**** UTILITY CLASSES ****/
.text-center { text-align: center; }
.text-left { text-align: left; }
.hide { display: none !important; }

/**** PRINT SAFETY ****/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #000;
  }
}
