/* ================= RESET & BASE =================== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  color: #161616;
}
body {
  min-height: 100vh;
  background: #F7F7F7;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
a {
  color: #2B2B2B;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #161616;
  outline-offset: 2px;
}

/* ================= TYPOGRAPHY =================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 16px;
  color: #181818;
  letter-spacing: 0.009em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.12;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 7px;
}
p, ul, ol, li {
  margin: 0 0 16px 0;
}
ul, ol {
  padding-left: 22px;
}
strong {
  font-weight: bold;
  color: #111;
}

/* ================= LAYOUT =================== */
.container {
  width: 100%;
  max-width: 1190px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 24px rgba(0,0,0,0.08);
  padding: 32px 28px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(44,44,44,0.13);
  transform: translateY(-4px) scale(1.02);
}

.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 {
  flex: 1 1 260px;
  color: #232323;
  font-size: 1.08rem;
  line-height: 1.7;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 18px rgba(48,48,48,0.10);
  margin-bottom: 20px;
  max-width: 420px;
  font-size: 1.05rem;
  color: #1b1b1b;
  transition: box-shadow 0.22s;
}
.testimonial-card p {
  font-style: italic;
  color: #101010;
}
.testimonial-card strong {
  color: #2B4B7B;
}
.testimonial-card span {
  font-size: 1.0rem;
  color: #404040;
  margin-top: 8px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =========== HERO & FEATURES =========== */
.hero {
  background: #fff;
  padding: 64px 0 48px 0;
  margin-bottom: 0;
  border-bottom: 2px solid #F2F2F2;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}

.features-grid, .value-list, .process-steps, .faq-list, .timeline-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
}
.features-grid .feature, .value-list .value, .process-steps .step {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  padding: 32px 22px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.features-grid .feature:hover,
.value-list .value:hover,
.process-steps .step:hover {
  box-shadow: 0 8px 32px rgba(44,44,44,0.13);
  transform: translateY(-2px) scale(1.015);
}
.features-grid .feature img {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  opacity: 0.94;
  filter: grayscale(1) brightness(0.76);
}

/* =========== CTA SECTIONS =========== */
.cta {
  background: #101010;
  color: #fff;
  border-radius: 15px;
  margin-bottom: 60px;
  padding: 40px 0 36px 0;
}
.cta .container {
  padding-top: 0;
  padding-bottom: 0;
}
.cta .content-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
}
.cta h2 {
  color: #fff;
  margin-bottom: 10px;
}
.cta p {
  color: #e7e7e7;
  margin-bottom: 12px;
}

/* ========== BUTTONS & CTAS ========== */
.cta-primary {
  display: inline-block;
  background: #161616;
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 32px;
  padding: 13px 44px;
  box-shadow: 0 2px 9px rgba(32,32,32,0.09);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.16s, box-shadow 0.22s;
  margin-top: 6px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #2B4B7B;
  color: #fff;
  transform: scale(1.035) translateY(-2px);
  box-shadow: 0 5px 21px rgba(44,44,44,0.13);
}

.btn-secondary {
  display: inline-block;
  background: #F2E7D5;
  color: #161616;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 28px;
  padding: 10px 27px;
  margin-top: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #dedede;
  color: #000;
}

/* ========== NAVIGATION ========== */
header {
  background: #fff;
  border-bottom: 1px solid #E2E4EA;
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 32px;
  position: relative;
}
.logo img {
  width: 165px;
  min-width: 68px;
  height: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #232323;
  letter-spacing: 0.015em;
  opacity: 0.93;
  transition: color 0.15s, opacity 0.12s;
  padding: 2px 10px;
  border-radius: 6px;
}
.main-nav a:hover, .main-nav a.active {
  color: #2B4B7B;
  background: #F0F1F4;
  opacity: 1;
}

/* Burger menu button */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #161616;
  font-size: 2.2rem;
  cursor: pointer;
  padding: 7px 8px;
  display: none;
  z-index: 1000;
  transition: color 0.16s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #2B4B7B;
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  background: #fff;
  box-shadow: 0 14px 40px rgba(16,16,16,0.21);
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.5,.05,.08,1), opacity 0.2s;
  opacity: 0.99;
  display: flex;
  flex-direction: column;
  padding-top: 32px;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #1B1B1B;
  font-size: 2.5rem;
  line-height: 1;
  align-self: flex-end;
  margin: 10px 30px 14px 0;
  cursor: pointer;
  z-index: 2001;
  transition: color 0.15s;
}
.mobile-menu-close:focus {
  outline: 2px solid #2B4B7B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 35px 36px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
}
.mobile-nav a {
  color: #111;
  border-radius: 7px;
  padding: 6px 10px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #F2E7D5;
  color: #2B4B7B;
}

/* ========== MAIN ========= */
main {
  padding-top: 0;
  padding-bottom: 40px;
  min-height: 600px;
}

/* ========== TESTIMONIALS ============= */
.testimonials {
  margin-top: 28px;
  background: #F7F7F9;
  border-radius: 16px;
  padding: 40px 0;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  align-items: stretch;
}

/* ========== FOOTER ============= */
footer {
  background: #101010;
  color: #eaeaea;
  padding: 44px 0 16px 0;
  font-size: 1.02rem;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  justify-content: center;
  margin-bottom: 7px;
}
.footer-nav a {
  color: #c7c7c7;
  font-weight: 500;
  transition: color 0.14s;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.footer-nav a:hover {
  color: #fff;
  background: #232323;
}
.contact-footer {
  color: #aeaeae;
  font-size: 1.01rem;
  margin-top: 4px;
  text-align: center;
  line-height: 1.7;
}

/* ========== LEGAL / STATIC TEXT SECTIONS ========== */
.legal-text {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 7px rgba(0,0,0,0.06);
  padding: 32px 28px;
  margin-top: 16px;
  font-size: 1.09rem;
  color: #232323;
}
.legal-text a {
  color: #2B4B7B;
  font-weight: 600;
  border-bottom: 1px solid #8EA0B7;
  transition: color 0.16s;
}
.legal-text a:hover {
  color: #101010;
  border-bottom: 1px solid #101010;
}

/* ========== SPECIALTY & UTILITY CLASSES ========== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: #F2F2F2;
  border-left: 4px solid #2B4B7B;
  border-radius: 11px;
  padding: 18px 22px 10px 22px;
  color: #202020;
}
.faq-item h3 {
  margin-bottom: 7px;
}

.value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.value-list .value img {
  width: 38px;
  margin-bottom: 10px;
  filter: grayscale(1) brightness(0.78);
}

.timeline-steps {
  margin-top: 18px;
}
.timeline-steps ul {
  margin-top: 10px;
  margin-bottom: 0;
}
.timeline-steps li {
  color: #151515;
  margin-bottom: 6px;
  font-size: 1.01rem;
}

.process-steps {
  gap: 23px;
  margin-bottom: 16px;
}
.process-steps .step img {
  width: 36px;
  margin-bottom: 14px;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  color: #212121;
  font-size: 1.07rem;
}
.contact-info img {
  width: 21px;
  height: 21px;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 18px;
  background: #fff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 4px 18px rgba(44,44,44,0.11);
  border-radius: 15px;
  padding: 26px 26px 20px 26px;
  z-index: 2900;
  display: flex;
  align-items: flex-start;
  gap: 26px;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 510px;
  margin: 0 auto;
  font-size: 1.04rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(80px);
  transition: opacity 0.3s, transform 0.34s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner p {
  margin: 0 0 6px 0;
  color: #232323;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  border: none;
  border-radius: 18px;
  padding: 8px 20px;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 4px;
  cursor: pointer;
  background: #2B4B7B;
  color: #fff;
  font-weight: 600;
  transition: background 0.17s, color 0.16s, box-shadow 0.19s;
}
.cookie-banner button.accept {
  background: #2B4B7B;
  color: #fff;
}
.cookie-banner button.reject {
  background: #dedede;
  color: #121212;
}
.cookie-banner button.settings {
  background: #fff;
  border: 1px solid #2B4B7B;
  color: #2B4B7B;
}
.cookie-banner button:hover {
  background: #8EA0B7;
  color: #fff;
}
.cookie-banner button.reject:hover {
  background: #888;
  color: #fff;
}
.cookie-banner button.settings:hover {
  background: #2B4B7B;
  color: #fff;
}

/* ========== COOKIE MODAL ========== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(28,32,37,0.62);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.visible {
  opacity: 1;
  visibility: visible;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 5px 36px rgba(16,16,16,0.16);
  max-width: 430px;
  min-width: 280px;
  padding: 36px 34px 30px 34px;
  z-index: 3100;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 1;
  transform: translateY(40px);
  animation: cookie-modal-fadein 0.45s cubic-bezier(.67,.23,.24,1);
}
@keyframes cookie-modal-fadein {
  from {opacity:0;transform:translateY(80px);}
  to {opacity:1;transform:translateY(40px);}
}
.cookie-modal .modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.22rem;
  color: #161616;
  margin-bottom: 6px;
}
.cookie-modal label {
  cursor: pointer;
  font-weight: 500;
  color: #1c1c1c;
  font-size: 1.01rem;
}
.cookie-modal .toggle {
  accent-color: #2B4B7B;
  margin-right: 8px;
}
.cookie-modal .cookie-category {
  margin-bottom: 13px;
}
.cookie-modal .category-desc {
  margin: 3px 0 0 26px;
  font-size: 0.97rem;
  color: #424242;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 9px;
  align-items: center;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  z-index: 3120;
}
.cookie-modal .close-modal:focus {
  outline: 2px solid #2B4B7B;
}

/* ======= UTILITIES ========= */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-20 { margin-top: 20px !important; }
.pt-0 { padding-top: 0 !important; }

/* ==================== RESPONSIVE ===================== */
@media (max-width: 1080px) {
  .container {
    max-width: 900px;
  }
  .features-grid .feature, .value-list .value {
    min-width: unset;
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  .section {
    padding: 37px 10px;
  }
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .features-grid, .value-list {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.41rem;
  }
  .container {
    max-width: 98vw;
    padding: 0 7px;
  }
  .section {
    padding: 32px 0;
    margin-bottom: 45px;
  }
  .content-wrapper, .testimonials .content-wrapper, .testimonial-list,
  .contact-info, .features-grid, .value-list, .process-steps, .faq-list {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: stretch !important;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-right: 7px;
  }
  header .cta-primary {
    display: none;
  }
  .card, .legal-text, .features-grid .feature, .value-list .value, .testimonial-card, .process-steps .step {
    max-width: 100%;
    padding: 22px 12px;
    min-width: unset;
  }
  .testimonial-card {
    font-size: 0.97rem;
    padding: 17px 11px;
  }
  .hero {
    padding: 34px 0 24px 0;
  }
  .cta {
    padding: 24px 0 20px 0;
    border-radius: 8px;
  }
  footer {
    font-size: .97rem;
    padding: 26px 0 9px 0;
  }
  .footer-nav, .contact-footer {
    font-size: 1rem;
    gap: 7px;
  }
  .card-container, .content-grid, .timeline-steps {
    flex-direction: column !important;
    gap: 14px !important;
    align-items: stretch;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.17rem;
  }
  h2 {
    font-size: 1.02rem;
  }
  header .container {
    gap: 8px;
    min-height: 53px;
    padding: 0 3px;
  }
  .logo img {
    width: 99px;
    min-width: 32px;
  }
  .cookie-banner {
    left: 2px;
    right: 2px;
    padding: 14px 7px 13px 10px;
    border-radius: 8px;
    font-size: .97rem;
    max-width: 98vw;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 7px;
    align-items: stretch;
  }
  .cookie-modal {
    padding: 18px 8px 11px 8px;
    border-radius: 8px;
    max-width: 99vw;
    min-width: 0;
    font-size: 0.98rem;
  }
}
