/* =====================================================
   CSS RESET & BASE TYPOGRAPHY
   ===================================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #FAFAFA;
  color: #222;
  min-height: 100vh;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #222;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #304C89;
  text-decoration: underline;
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #181818;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 {
  font-size: 2.75rem;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
}
p,
li,
blockquote,
div,
summary {
  font-size: 1rem;
  color: #222;
}
blockquote {
  font-style: italic;
  color: #2d2d2d;
  border-left: 4px solid #181818;
  padding-left: 20px;
  margin-bottom: 12px;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

/* ===============================
   NAVIGATION / HEADER
   =============================== */
header {
  background: #fff;
  border-bottom: 1px solid #EBEBEB;
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 0 0;
  min-height: 68px;
}
.main-nav > a img {
  height: 40px;
  width: auto;
  display: block;
}
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 0 8px;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #181818;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background .16s, color .16s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: #eee;
  color: #304C89;
}
.nav-cta.primary {
  background: #181818;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 28px;
  border-radius: 32px;
  font-size: 1.05rem;
  font-weight: 700;
  margin-left: 16px;
  transition: background 0.22s, box-shadow 0.22s;
  box-shadow: 0 2px 8px 0 rgba(50,50,50,0.07);
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.nav-cta.primary:hover, .nav-cta.primary:focus {
  background: #304C89;
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #181818;
  padding: 8px 14px;
  margin-left: auto;
  z-index: 1001;
  line-height: 1;
  border-radius: 6px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #EBEBEB;
}

@media (max-width: 1024px) {
  .main-nav ul {
    gap: 14px;
  }
}
@media (max-width: 850px) {
  .main-nav ul {
    gap: 8px;
  }
  .nav-cta.primary {
    padding: 8px 16px;
    margin-left: 8px;
  }
}
@media (max-width: 768px) {
  .main-nav ul, .nav-cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .main-nav {
    gap: 10px;
  }
}

/* ===============================
   MOBILE MENU
   =============================== */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 0;
  background: rgba(22,22,22,0.96);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.65,0,0.35,1);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-direction: column;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  margin: 24px 24px 8px 0;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.18s;
  z-index: 2002;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #304C89;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px 32px 24px 32px;
  width: 100%;
  max-width: 340px;
  align-self: flex-end;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  background: transparent;
  padding: 16px 8px 12px 0;
  border-radius: 6px;
  transition: background 0.17s, color 0.17s;
  min-width: 160px;
  display: block;
  text-align: left;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #222;
  color: #FFD447;
}
@media (max-width: 500px) {
  .mobile-nav {
    padding: 28px 18px 18px 18px;
    max-width: 100vw;
    gap: 14px;
  }
  .mobile-menu-close {
    margin-right: 8px;
  }
}

/* ===============================
   HERO SECTION
   =============================== */
.hero {
  background: linear-gradient(120deg, #fff 60%, #F5F5F7 100%);
  padding: 72px 0 54px 0;
  min-height: 330px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  box-shadow: 0 3px 12px 0 rgba(50,50,50,0.05);
}
.hero h1 {
  font-size: 2.3rem;
  color: #181818;
}
.hero h2 {
  font-size: 1.4rem;
  color: #304C89;
}
.hero p.tagline {
  font-size: 1.1rem;
  color: #555;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 18px;
  margin-top: 6px;
  letter-spacing: 0.04em;
}
@media (max-width: 700px) {
  .hero {
    padding: 44px 0 40px 0;
    min-height: 200px;
    margin-bottom: 36px;
  }
  .hero h1 {
    font-size: 1.55rem;
  }
  .hero h2 {
    font-size: 1.18rem;
  }
}
@media (max-width: 500px) {
  .hero { padding-top: 30px; padding-bottom: 26px; }
}

/* ===============================
   FLEX & LAYOUT PATTERNS
   =============================== */
.card-container, .feature-grid, .service-list, .content-grid, .icon-grid, .post-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .feature-item, .service-item, .post-preview {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 11px 0 rgba(40,40,40,0.08);
  transition: box-shadow 0.21s, transform 0.21s;
}
.card:hover, .feature-item:hover, .service-item:hover, .post-preview:hover {
  box-shadow: 0 8px 28px 0 rgba(40,40,40,0.18);
  transform: translateY(-2px) scale(1.012);
}

.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: #fafdff;
  border-radius: 13px;
  box-shadow: 0 2px 13px 0 rgba(60,60,60,0.09);
  margin-bottom: 20px;
  border: 1px solid #E6E8EB;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 235px;
  flex: 1 1 240px;
  padding: 24px 18px;
  background: #fff;
  border: 1px solid #ECECEC;
  border-radius: 14px;
  box-shadow: 0 2px 9px 0 rgba(62,62,62,0.08);
}
.feature-item img {
  height: 46px;
  width: 46px;
}
.icon-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 8px 10px 8px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 11px 0 rgba(40,40,40,0.08);
  font-size: 1rem;
  min-width: 100px;
  flex: 1 1 80px;
}
.service-list {
  gap: 24px;
}
.service-item {
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 460px;
  padding: 24px 20px 18px 20px;
  border-radius: 13px;
  border: 1px solid #DDDEE0;
  background: #fff;
  transition: box-shadow .18s, transform .18s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 11px 0 rgba(40,40,40,0.08);
}

@media (max-width: 900px) {
  .feature-grid, .icon-grid, .post-preview-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .icon-grid > div {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 700px) {
  .content-grid, .feature-grid, .icon-grid, .post-preview-grid {
    flex-direction: column;
    gap: 16px;
  }
  .service-list {
    flex-direction: column;
    gap: 14px;
  }
  .service-item {
    max-width: 100vw;
    min-width: 0;
  }
}
@media (max-width: 850px) {
  .feature-item, .icon-grid > div {
    padding: 18px 8px;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===============================
   BLOG PREVIEWS
   =============================== */
.post-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.post-preview {
  flex: 1 1 260px;
  border-radius: 12px;
  border: 1px solid #E3E3E5;
  background: #fff;
  padding: 22px 16px;
  min-width: 260px;
  max-width: 370px;
}
.post-preview h3 {
  font-size: 1.18rem;
  margin-bottom: 7px;
  color: #181818;
}
.post-meta {
  font-size: .95rem;
  color: #666;
  margin-bottom: 6px;
}
.post-preview a {
  color: #304C89;
  font-weight: bold;
  margin-top: 8px;
  display: inline-block;
  border-bottom: 1px solid #FFD447;
  transition: color 0.20s, border-bottom 0.20s;
}
.post-preview a:hover, .post-preview a:focus {
  color: #181818;
  border-bottom: 2px solid #304C89;
}

/* ===============================
   DETAILS / FAQ
   =============================== */
details {
  background: #F8F8FA;
  border: 1px solid #EAEAEA;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 12px 15px;
  transition: box-shadow 0.19s;
}
details[open] {
  box-shadow: 0 4px 17px 0 rgba(60,60,60,0.10);
  border-color: #304C89;
}
details summary {
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #304C89;
  outline: none;
  margin-bottom: 6px;
  user-select: none;
}
details > div, details ul {
  margin-top: 9px;
}

/* ===============================
   CTA BUTTONS
   =============================== */
.cta.primary,
button.primary,
input[type="submit"].primary {
  background: #181818;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 13px 30px;
  border-radius: 33px;
  font-size: 1.09rem;
  font-weight: 700;
  display: inline-block;
  box-shadow: 0 2px 11px 0 rgba(68,68,68,0.059);
  border: none;
  outline: none;
  cursor: pointer;
  letter-spacing: .01em;
  margin-top: 8px;
  margin-bottom: 8px;
  transition: background 0.22s, color 0.22s, transform 0.17s;
}
.cta.primary:hover, .cta.primary:focus, button.primary:hover, button.primary:focus, input[type="submit"].primary:hover, input[type="submit"].primary:focus {
  background: #304C89;
  color: #FFD447;
  transform: translateY(-2px) scale(1.035);
}

/* Inline links underlines for visual hierarchy */
.cta-section a {
  border-bottom: 1px solid #FFD447;
  font-weight: 600;
  color: #304C89;
  transition: border-bottom 0.18s, color 0.18s;
}
.cta-section a:hover, .cta-section a:focus {
  border-bottom: 2px solid #304C89;
  color: #181818;
}

/* ===============================
   FOOTER
   =============================== */
footer {
  background: #181818;
  color: #fff;
  padding: 34px 0 10px 0;
  margin-top: 64px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-links {
  text-align: center;
  margin-bottom: 7px;
}
.footer-links a {
  color: #FFD447;
  font-weight: 500;
  margin: 0 4px;
  transition: color 0.18s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #fff;
}
.brand-statement {
  text-align: center;
  color: #fff;
  opacity: 0.86;
  font-size: .97rem;
}

@media (max-width: 700px) {
  footer { font-size: .95rem; }
  footer .container { padding: 0 10px; }
}

/* ===============================
   TESTIMONIALS
   =============================== */
.testimonials .testimonial-card {
  background: #fff;
  border: 1px solid #E6E8EB;
  box-shadow: 0 2px 14px rgba(17,17,17,0.07);
  color: #222;
  font-size: 1.12rem;
}
.testimonial-name {
  color: #304C89;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  margin-top: 6px;
}

/* ===============================
   LEGAL
   =============================== */
.legal .text-section {
  background: #fff;
  border-radius: 12px;
  padding: 22px 20px 18px 20px;
  box-shadow: 0 2px 11px 0 rgba(31,31,31,0.06);
  margin-bottom: 28px;
}
.legal h1, .legal h2 {
  color: #181818;
}

/* ===============================
   THANK-YOU
   =============================== */
.thankyou .content-wrapper {
  text-align: center;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 11px 0 rgba(31,31,31,0.1);
  padding: 42px 16px;
}
.thankyou .cta.primary {
  margin-top: 18px;
}

/* ===============================
   ADDRESS / EMAIL BLOCKS
   =============================== */
.address-block, .email-block, .hours-block {
  margin-bottom: 12px;
}
.address-block strong,
.email-block strong,
.hours-block strong {
  font-weight: 700;
  color: #304C89;
}

/* ===============================
   MISC: Scrollbars (Modern Look)
   =============================== */
::-webkit-scrollbar {
  width: 8px;
  background: #f2f2f2;
}
::-webkit-scrollbar-thumb {
  background: #e2e2e2;
  border-radius: 6px;
}

/* ===============================
   RESPONSIVE ADJUSTMENTS
   =============================== */
@media (max-width: 900px) {
  .section {
    padding: 32px 8px;
    margin-bottom: 36px;
  }
}
@media (max-width: 600px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section {
    padding: 22px 0;
    margin-bottom: 24px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .testimonial-card,
  .feature-item,
  .service-item,
  .post-preview, .legal .text-section {
    padding: 13px 8px;
  }
}
/* Flex-direction: column for text/image on mobile */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}

/* ===============================
   COOKIE CONSENT BANNER
   =============================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: #222;
  color: #fff;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 15px 20px 15px;
  min-height: 64px;
  gap: 24px;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.29s, transform 0.39s cubic-bezier(0.65,0,0.35,1);
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner__text {
  flex: 1;
  max-width: 500px;
  margin-right: 18px;
  color: #fff;
  font-size: 1.02rem;
}
.cookie-banner__btn-row {
  display: flex;
  gap: 12px;
}
.cookie-banner__btn {
  padding: 9px 22px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.01rem;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.22s, color 0.22s;
}
.cookie-banner__btn--accept {
  background: #304C89;
  color: #fff;
}
.cookie-banner__btn--accept:hover, .cookie-banner__btn--accept:focus {
  background: #FFD447;
  color: #181818;
}
.cookie-banner__btn--reject {
  background: #fff;
  color: #181818;
  border: 1px solid #EBEBEB;
}
.cookie-banner__btn--reject:hover, .cookie-banner__btn--reject:focus {
  background: #222;
  color: #FFD447;
  border: 1px solid #FFD447;
}
.cookie-banner__btn--settings {
  background: none;
  color: #FFD447;
  border: 1px solid #FFD447;
}
.cookie-banner__btn--settings:hover, .cookie-banner__btn--settings:focus {
  background: #FFD447;
  color: #181818;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 14px 6px 16px 6px;
    min-height: 82px;
    font-size: 0.98rem;
  }
  .cookie-banner__text {
    margin-right: 0;
    text-align: center;
    max-width: 98vw;
  }
}

/* ===============================
   COOKIE MODAL / PREFERENCES
   =============================== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,30,30,0.81);
  z-index: 3100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #181818;
  border-radius: 16px;
  min-width: 330px;
  max-width: 96vw;
  box-shadow: 0 8px 32px rgba(50,50,50,0.19);
  padding: 34px 28px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  top: 10px; right: 14px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #181818;
  cursor: pointer;
  border-radius: 6px;
  padding: 2px 6px;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #FFD447;
  color: #222;
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.cookie-category {
  margin-bottom: 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #181818;
  font-weight: 600;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  margin-right: 7px;
  accent-color: #304C89;
}
.cookie-modal__actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 14px;
}
@media (max-width: 500px) {
  .cookie-modal {
    min-width: 0;
    padding: 17px 5vw 20px 5vw;
  }
  .cookie-modal__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
}


/* ===============================
   MONOCHROME SOPHISTICATED: EXTRAS
   =============================== */
/* Dramatic contrast and subtle detail for monochrome_sophisticated */
.section, .content-wrapper, .text-section, .service-item, .feature-item {
  background: #fff;
  color: #181818;
}

.feature-item h3, .service-item h3, .post-preview h3, .testimonial-card blockquote {
  color: #181818;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature-item p, .service-item p, .post-preview p {
  color: #222;
}

.card, .feature-item, .service-item, .post-preview,
.legal .text-section, .testimonial-card {
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(40,40,40,0.09);
}

.details, .faq details {
  background: #fafbfc;
  border: 1px solid #e9e9e9;
  box-shadow: 0 2px 5px rgba(60,60,60,0.060);
  border-radius: 11px;
  margin-bottom: 12px;
  padding: 11px 14px;
}

/* Color accessible for testimonials/reviews */
.testimonial-card {
  background: #fff;
  color: #181818;
  border: 1px solid #ECECEC;
}

/* ===============================
   ACCESSIBILITY & USABILITY
   =============================== */
:focus {
  outline: 2.5px solid #FFD447;
  outline-offset: 2px;
}
input, button, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

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