/* CSS RESET & BASE STYLES */
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;
}
/* Box border-box everywhere */
*, *::before, *::after {
  box-sizing: inherit;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #243746;
  background: #ffffff;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #243746;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:focus {
  outline: 2px solid #D1A73D;
  outline-offset: 2px;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}
ul li, ol li {
  margin-bottom: 0.6em;
}
strong, b {
  font-weight: bold;
}
/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #243746;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.25rem;
  letter-spacing: -1px;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 1rem;
}
p, li, address, cite {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #243746;
}
blockquote {
  font-style: italic;
  color: #243746;
  border-left: 3px solid #D1A73D;
  margin: 0;
  padding-left: 16px;
}
cite {
  font-style: normal;
  color: #7a7a7a;
  font-size: 0.95rem;
}
/* SECTIONS, CONTAINERS & FLEX SPACING */
.section, .hero, .features, .about, .team, .story, .articles, .resources, .service-detail, .cta-stripe, .services-overview, .testimonials, .contact-details, .confirmation, .legal {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 700px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0;
  margin: 32px 0 0 0;
  list-style: none;
}
.feature-grid li {
  flex: 1 1 200px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px 0 rgba(36, 55, 70, 0.05);
  border: 1.5px solid #ece4cf;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.2s, border-color 0.2s;
  margin-bottom: 20px;
  position: relative;
}
.feature-grid li img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}
.feature-grid li:hover, .feature-grid li:focus {
  box-shadow: 0 8px 32px 0 rgba(209, 167, 61, 0.08);
  border-color: #D1A73D;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 20px;
  box-shadow: 0 4px 24px 0 rgba(36,55,70,0.06);
  background: #fff;
  border: 1.5px solid #ece4cf;
  position: relative;
  transition: box-shadow 0.2s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 32px 0 rgba(209,167,61,0.10);
  border-color: #D1A73D;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  gap: 12px;
}
.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;
}
.testimonials {
  background: #f8f7f3;
  border-top: 1.5px solid #ece4cf;
  border-bottom: 1.5px solid #ece4cf;
}
.testimonials .content-wrapper {
  gap: 32px;
}
.testimonial-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(36,55,70,0.06);
  border: 1.5px solid #ece4cf;
  padding: 20px 32px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 250px;
  max-width: 650px;
}
.testimonial-card blockquote {
  font-size: 1.1rem;
  color: #243746;
  line-height: 1.5;
  margin-right: 24px;
  margin-bottom: 0;
}
.testimonial-card cite {
  color: #8c8b87;
  font-size: 0.95rem;
}
/* Ensures high contrast in testimonial cards */
.testimonial-card {
  color: #243746;
  background: #fff;
}
.testimonial-card blockquote,
.testimonial-card cite {
  color: #243746;
}
/* CTA STRIPE */
.cta-stripe {
  background: #243746;
  color: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 30px 0 rgba(36,55,70,0.1);
  margin-bottom: 48px;
}
.cta-stripe h2, .cta-stripe p {
  color: #fff;
}
.cta-stripe .cta-primary {
  background: #D1A73D;
  color: #243746;
}
.cta-stripe .cta-primary:hover, .cta-stripe .cta-primary:focus {
  background: #bfa13b;
  color: #fff;
}
/* PRIMARY CTA BUTTON */
.cta-primary {
  display: inline-block;
  background: #D1A73D;
  color: #243746;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 12px 36px;
  border-radius: 24px;
  border: none;
  box-shadow: 0 2px 6px 0 rgba(209,167,61,0.09);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 14px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.2s;
  position: relative;
}
.cta-primary:hover, .cta-primary:focus {
  background: #243746;
  color: #fff;
  box-shadow: 0 6px 28px 0 rgba(209,167,61,0.11);
}
/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 4px 24px 0 rgba(36,55,70,0.06);
  border-bottom: 1.5px solid #ece4cf;
  position: sticky;
  top: 0;
  z-index: 50;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 16px 20px;
}
.main-nav img {
  height: 46px;
  margin-right: 10px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #243746;
  padding: 6px 16px;
  border-radius: 18px;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #ece4cf;
  color: #D1A73D;
}
.main-nav .cta-primary {
  margin-left: 16px;
  background: #D1A73D;
  color: #fff;
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: #243746;
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #D1A73D;
  padding: 10px 18px;
  cursor: pointer;
  z-index: 101;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #243746;
}
/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,55,70,0.97);
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.86,0,0.07,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #D1A73D;
  font-size: 2rem;
  align-self: flex-end;
  margin: 28px 24px 12px 0;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 106;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 44px 0 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.18s, border-bottom 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #D1A73D;
  border-bottom: 1.5px solid #D1A73D;
}
/* HERO SECTIONS */
.hero {
  background: #f8f7f3;
  border-radius: 20px;
  box-shadow: 0 3px 20px 0 rgba(209,167,61,0.04);
  margin-bottom: 60px;
}
.hero h1 {
  font-size: 2.5rem;
  color: #243746;
  margin-bottom: 18px;
  letter-spacing: -1px;
}
.hero p {
  color: #243746;
  font-size: 1.1rem;
  margin-bottom: 18px;
}
/* ARTICLE LISTS & RESOURCES */
.article-list {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}
.article-list li {
  margin-bottom: 14px;
  border-bottom: 1px solid #ece4cf;
  padding-bottom: 8px;
}
.article-list a {
  color: #243746;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  transition: color 0.18s;
}
.article-list a:hover, .article-list a:focus {
  color: #D1A73D;
}
.category-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  font-size: 1rem;
}
.category-tags span {
  color: #7a7a7a;
  font-weight: 500;
}
.category-tags a {
  background: #ece4cf;
  color: #243746;
  border-radius: 18px;
  padding: 5px 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  margin-right: 5px;
  transition: background 0.18s, color 0.18s;
}
.category-tags a:hover, .category-tags a:focus {
  background: #D1A73D;
  color: #fff;
}
/* RESOURCES CTA */
.resources a, .services-overview a, .service-detail a {
  display: inline-block;
  background: transparent;
  color: #D1A73D;
  border: 1.5px solid #D1A73D;
  border-radius: 24px;
  padding: 10px 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  margin-top: 10px;
}
.resources a:hover, .services-overview a:hover, .service-detail a:hover,
.resources a:focus, .services-overview a:focus, .service-detail a:focus {
  background: #D1A73D;
  color: #fff;
  border-color: #243746;
}
/* FOOTER */
footer {
  background: #243746;
  color: #fff;
  margin-top: 60px;
  border-top: 2.5px solid #D1A73D;
  padding: 40px 20px 36px 20px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.footer-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  align-items: center;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  opacity: 0.82;
  transition: color 0.18s, opacity 0.13s;
  border-bottom: 1.5px solid transparent;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #D1A73D;
  opacity: 1;
  border-bottom: 1.5px solid #D1A73D;
}
.footer-contact {
  margin-top: 24px;
}
.footer-contact address {
  color: #ece4cf;
  font-size: 1rem;
  line-height: 1.65;
  font-style: normal;
}
.footer-contact a {
  color: #D1A73D;
  text-decoration: underline;
  word-break: break-all;
}
.footer-contact img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  height: 18px;
}
/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: rgba(36,55,70, 0.97);
  color: #fff;
  font-size: 1rem;
  padding: 28px 20px 20px 20px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  box-shadow: 0 -6px 30px 0 rgba(36,55,70,0.14);
  animation: cookieBannerSlideIn 0.45s cubic-bezier(0.75,0,0.15,1);
  border-top: 2px solid #D1A73D;
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.cookie-banner p{
  color: white;
}
.cookie-banner button {
  background: #D1A73D;
  color: #243746;
  border: none;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 28px;
  margin: 0 6px 0 0;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  box-shadow: 0 2px 12px 0 rgba(209,167,61,0.08);
}
.cookie-banner button.secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid #D1A73D;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #fff;
  color: #243746;
}
.cookie-banner button.secondary:hover, .cookie-banner button.secondary:focus {
  background: #D1A73D;
  color: #fff;
}
/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(36,55,70,0.74);
  z-index: 211;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.3s;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #243746;
  border-radius: 26px;
  width: 90%;
  max-width: 430px;
  box-shadow: 0 8px 40px 0 rgba(36,55,70,0.19);
  padding: 36px 32px 32px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: modalPop 0.45s cubic-bezier(0.43,0.01,0.19,1);
}
@keyframes modalPop {
  0% { transform: scale(0.8) translateY(60px); opacity: 0; }
  50% { transform: scale(1.08) translateY(-8px); opacity: 0.98; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.17rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.cookie-modal .category-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}
.cookie-modal .category-row label {
  font-size: 1rem;
  font-weight: 500;
}
.cookie-modal .toggle {
  appearance: none;
  width: 40px;
  height: 21px;
  border-radius: 14px;
  background: #ece4cf;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: background 0.18s;
}
.cookie-modal .toggle:checked {
  background: #D1A73D;
}
.cookie-modal .toggle:before {
  content: '';
  display: block;
  width: 17px;
  height: 17px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  box-shadow: 0 2px 8px rgba(36,55,70,0.08);
  transition: left 0.17s cubic-bezier(0.5,0,0.19,1);
}
.cookie-modal .toggle:checked:before {
  left: 21px;
}
.cookie-modal .category-row input[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.cookie-modal .actions {
  margin-top: 16px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal .close-btn {
  position: absolute;
  top: 14px;
  right: 25px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #243746;
  cursor: pointer;
  z-index: 11;
  transition: color 0.16s;
}
.cookie-modal .close-btn:hover, .cookie-modal .close-btn:focus {
  color: #D1A73D;
}
/* CARDS & SERVICE OVERVIEWS */
.services-overview ul, .resources ul, .team ul, .story ul, .about ul, .service-detail ul, .contact-details ul, .articles ul, #about-preview ul, .confirmation ul, .legal ul {
  list-style: disc;
  padding-left: 26px;
}
.services-overview ul li, .resources ul li, .team ul li, .story ul li, .about ul li, .service-detail ul li, .contact-details ul li, .articles ul li, #about-preview ul li, .confirmation ul li, .legal ul li {
  margin-bottom: 0.6em;
}
.services-overview ul li {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(36,55,70,0.04);
  border: 1.5px solid #ece4cf;
  padding: 32px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.17s, border-color 0.17s;
}
.services-overview ul li:hover {
  box-shadow: 0 10px 32px rgba(209,167,61,0.09);
  border-color: #D1A73D;
}
.services-overview ul li h3 {
  margin-bottom: 8px;
  color: #D1A73D;
  font-size: 1.1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* LEGAL PAGES */
.legal {
  background: #f8f7f3;
  border-radius: 22px;
  margin-bottom: 44px;
  box-shadow: 0 3px 20px 0 rgba(36,55,70,0.04);
}
.legal h1, .legal h2, .legal h3 {
  color: #243746;
  margin-top: 18px;
}
.legal p, .legal ul {
  color: #243746;
  font-size: 1.03rem;
}
.legal ul {
  margin-bottom: 16px;
}
.legal a {
  color: #D1A73D;
  text-decoration: underline;
}
.legal a:hover, .legal a:focus {
  text-decoration: none;
  color: #243746;
}
.confirmation {
  background: #f8f7f3;
  border-radius: 24px;
  box-shadow: 0 3px 22px 0 rgba(36,55,70,0.04);
}
.confirmation h1 {
  color: #D1A73D;
}
.confirmation ul {
  margin-bottom: 8px;
}
.confirmation a.cta-primary {
  margin-top: 24px;
}
/* SPACING - ENSURE NO OVERLAPPING */
.section + .section, .hero + .features, .features + .services-overview, .services-overview + #about-preview, #about-preview + .testimonials, .testimonials + .cta-stripe { margin-top: 60px; }
.content-wrapper > * { margin-bottom: 0; }
.card-container > * { margin-bottom: 0; }
.feature-grid > * { margin-bottom: 0; }
.articles ul, .service-detail ul, .resources ul { margin-bottom: 20px; }
.articles h3, .service-detail h3 {
  margin-top: 32px;
}
/* ANIMATIONS & MICRO-INTERACTIONS */
.cta-primary, .main-nav a, .footer-nav a, .category-tags a, .services-overview ul li, .feature-grid li, .card, .resources a {
  transition-property: background, color, box-shadow, border-color, opacity, transform;
  transition-duration: 0.18s;
  transition-timing-function: cubic-bezier(0.42,0,0.58,1);
}
.cta-primary:active {
  transform: scale(0.98);
}
.feature-grid li:active{
  transform: translateY(2px) scale(0.99);
}
/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
  }
  .services-overview ul li, .feature-grid li, .card-content {
    padding: 20px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 12px;
    padding: 10px 10px;
    font-size: 0.95rem;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 18px;
    top: 14px;
  }
  .section, .hero, .features, .about, .team, .story, .articles, .resources, .service-detail, .cta-stripe, .services-overview, .testimonials, .contact-details, .confirmation, .legal {
    padding: 32px 6vw;
    margin-bottom: 42px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .service-detail ul li, .services-overview ul li, .card, .testimonial-card, .feature-grid li {
    min-width: 0;
    max-width: 100%;
    padding: 18px 12px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .cta-stripe {
    border-radius: 16px;
    padding: 24px 4vw;
  }
  .footer-nav {
    gap: 12px;
    font-size: 0.97rem;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 480px) {
  html { font-size: 15px; }
  .cookie-modal {
    padding: 18px 6vw 18px 6vw;
    width: 98vw;
  }
}
