/* --- RESET & BASELINE --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F4F5F7;
  color: #223A5E;
  line-height: 1.6;
  font-size: 1rem;
  -webkit-tap-highlight-color: transparent;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #223A5E;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.54,.01,.57,1.03);
}
a:hover, a:focus {
  color: #BFA83C;
  outline: none;
}
strong {
  font-weight: 600;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, .display {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #223A5E;
  margin-bottom: 14px;
  line-height: 1.18;
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.4rem; }
  h4 { font-size: 1.1rem; }
}
p, ul, ol, li {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: #223A5E;
}
code {
  font-family: 'Roboto Mono', monospace;
  background: #eee;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.93rem;
}

/* --- CONTAINER & GEOMETRIC GRID --- */
.container {
  max-width: 1220px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
@media (min-width: 900px) {
  .content-wrapper {
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
  }
}
/* --- HEADER --- */
header {
  background: #fff;
  border-bottom: 2px solid #E6E8EA;
  box-shadow: 0 2px 14px rgba(34,58,94,0.06);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}
header img {
  height: 38px;
  width: auto;
  margin-right: 8px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
}
.main-nav a {
  padding: 8px 0;
  position: relative;
  border-radius: 0;
  transition: color 0.15s, background 0.15s;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #BFA83C;
  transition: width 0.22s cubic-bezier(.54,.01,.57,1.03);
  margin-top: 2px;
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 80%;
}

header .cta-btn {
  background: #BFA83C;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 10px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 3px 16px rgba(191,168,60,0.16);
  letter-spacing: 0.04em;
  border: none;
  transition: background 0.15s, box-shadow 0.16s, transform 0.13s;
  text-transform: uppercase;
  display: inline-block;
  margin-left: 26px;
  outline: none;
}
header .cta-btn:hover,
header .cta-btn:focus {
  background: #223A5E;
  color: #fff;
  box-shadow: 0 6px 36px rgba(34,58,94,0.14);
  transform: translateY(-2px) scale(1.04);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  position: fixed;
  top: 24px;
  right: 22px;
  background: #BFA83C;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  z-index: 1030;
  padding: 8px 19px 8px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 16px rgba(191,168,60,0.12);
  transition: background 0.13s, box-shadow 0.15s;
  cursor: pointer;
  outline: none;
  display: none;
}
@media (max-width: 991px) {
  .mobile-menu-toggle { display: flex; }
  .main-nav, header .cta-btn { display: none !important; }
  header .container { justify-content: flex-start; }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #223A5E;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.54,.01,.57,1.03);
  box-shadow: 2px 0 60px 0 rgba(34,58,94,0.18);
  opacity: 0.97;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  position: absolute;
  top: 26px;
  right: 30px;
  z-index: 1101;
  padding: 8px 12px;
  cursor: pointer;
  transition: color 0.17s;
}
.mobile-menu-close:hover { color: #BFA83C; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 85px 0 0 30px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.28rem;
  font-weight: 600;
  padding: 8px 0;
  border-radius: 0;
  transition: color 0.17s;
  letter-spacing: 0.02em;
  outline: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #BFA83C;
}

/* --- HERO SECTION --- */
.hero {
  background: #223A5E url('../assets/patterns/triangle_bg.svg') no-repeat right top;
  background-size: 36% auto;
  color: #fff;
  padding: 44px 0 48px 0;
  position: relative;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1,
.hero p {
  color: #fff;
}
.hero .cta-btn {
  margin-top: 28px;
  background: #BFA83C;
  color: #223A5E;
  box-shadow: 0 3px 16px rgba(34,58,94,0.13);
}
.hero .cta-btn:hover,
.hero .cta-btn:focus {
  background: #fff;
  color: #223A5E;
  box-shadow: 0 6px 24px rgba(191,168,60,0.14);
}
@media (min-width: 900px) {
  .hero .container {flex-direction: row; align-items: center;}
  .hero .content-wrapper {max-width: 740px;}
}

/* --- SECTION SPACING & GEOMETRIC STRUCTURING --- */
.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(34,58,94,0.03);
  position: relative;
}
@media (max-width: 600px) {
  .section, section {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* --- FLEX LAYOUTS / STRUCTURED GRIDS --- */
.card-container, .feature-grid, .services-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
}
.card { 
  background: #F4F5F7;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(34,58,94,0.10);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  position: relative;
  min-width: 250px;
  max-width: 380px;
}
.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;
}
@media (max-width: 768px) {
  .content-wrapper,
  .content-grid,
  .card-container,
  .feature-grid,
  .services-grid,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}

/* --- FEATURES / ADVANTAGES --- */
.features, .feature-grid {
  margin-bottom: 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid {
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 30px;
}
.feature-grid li {
  background: #F4F5F7;
  border: 2.3px solid #BFA83C;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(191,168,60,0.06);
  flex: 1 0 200px;
  min-width: 230px;
  max-width: 290px;
  padding: 30px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.13s, border-color 0.18s;
}
.feature-grid li img {
  height: 40px; width: 40px; margin-bottom: 12px;}
.feature-grid li strong {
  margin-bottom: 6px;
  font-size: 1.07rem;
  color: #223A5E;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.feature-grid li p {font-size: 0.98rem; color: #223A5E;}
.feature-grid li:hover, .feature-grid li:focus {
  border-color: #223A5E;
  box-shadow: 0 7px 26px rgba(34,58,94,0.14);
  cursor: pointer;
}

/* --- SERVICE CARDS / OFFERS --- */
.services, .services-grid, .service-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.services-grid {
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 22px;
}
.services-grid li {
  background: #F4F5F7;
  border-radius: 14px;
  border: 2px solid #E6E8EA;
  box-shadow: 0 2px 8px rgba(34,58,94,0.07);
  flex: 1 0 204px;
  min-width: 240px;
  max-width: 350px;
  padding: 28px 22px 22px 22px;
  margin-bottom: 20px;
}
.services-grid li strong {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #223A5E;
  font-size: 1.11rem;
  margin-bottom: 10px;
  display: block;
}
.services-grid li span {
  display: block;
  font-size: 1rem;
  color: #BFA83C;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  margin-top: 10px;
}
.service-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #E6E8EA;
  padding-bottom: 16px;
  margin-bottom: 10px;
}
.service-list li strong {
  color: #223A5E;
  font-size: 1.06rem;
  margin-right: 6px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.service-price {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #BFA83C;
  font-weight: 700;
  font-size: 1rem;
  margin-left: 10px;
}

/* --- BUTTONS / CTA --- */
.cta-btn {
  background: #BFA83C;
  color: #223A5E;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border: none;
  border-radius: 8px;
  padding: 13px 34px;
  font-weight: 700;
  font-size: 1.07rem;
  box-shadow: 0 3px 14px rgba(191,168,60,0.09);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: inline-block;
  outline: none;
  transition: background 0.17s, color 0.2s, box-shadow 0.18s, transform 0.13s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #223A5E;
  color: #fff;
  box-shadow: 0 8px 28px rgba(34,58,94,0.14);
  transform: translateY(-2px) scale(1.04);
}

/* --- CARDS / VISUALS --- */
.card {
  background: #F4F5F7;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(34,58,94,0.08);
  margin-bottom: 20px;
  transition: box-shadow 0.13s, border-color 0.19s;
  border: 2.3px solid #E6E8EA;
}
.card:hover,
.card:focus {
  box-shadow: 0 8px 28px rgba(34,58,94,0.14);
  border-color: #BFA83C;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: #F4F5F7;
  padding: 40px 20px 30px 20px;
  border-radius: 20px;
  box-shadow: 0 3px 18px rgba(34,58,94,0.10);
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 26px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(191,168,60,0.10);
  min-width: 240px;
  max-width: 400px;
  border: 2.3px solid #E6E8EA;
  margin-bottom: 20px;
  flex: 1 1 270px;
  transition: box-shadow 0.12s, border-color 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus {
  border-color: #BFA83C;
  box-shadow: 0 8px 26px rgba(34,58,94,0.17);
}
.testimonial-card p {
  color: #223A5E;
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.testimonial-card span {
  color: #223A5E;
  font-size: 0.96rem;
  opacity: 0.87;
  font-style: italic;
}

/* --- BLOG / NEWSLETTER --- */
.blog-list ul li, .newsletter-signup ul li {
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 4px solid #BFA83C;
  background: #F4F5F7;
  border-radius: 6px;
  min-height: 32px;
  display: flex;
  align-items: center;
}

.newsletter-signup {
  background: #fff8ed;
  border: 2.5px solid #BFA83C;
  border-radius: 16px;
  box-shadow: 0 1px 10px rgba(191,168,60,0.08);
  margin-top: 38px;
  margin-bottom: 36px;
  padding: 34px 22px;
}
.newsletter-signup h2 {
  color: #223A5E;
  font-size: 1.33rem;
  margin-bottom: 18px;
}

/* --- CONTACT / MAP --- */
.contact-short, .contact {
  background: #223A5E;
  color: #fff;
  border-radius: 18px;
  padding: 44px 22px 38px 22px;
  box-shadow: 0 8px 28px rgba(34,58,94,0.11);
}
.contact-short h2, .contact h1 {
  color: #fff;
}
.contact-short .cta-btn, .contact-short a.cta-btn, .contact .cta-btn {
  background: #BFA83C;
  color: #223A5E;
}
.contact-short a.cta-btn:hover, .contact-short a.cta-btn:focus, .contact .cta-btn:hover, .contact .cta-btn:focus {
  background: #fff;
  color: #223A5E;
}
.text-section ul {
  margin-top: 15px;
  margin-bottom: 15px;
}
.text-section ul li {
  padding-left: 10px;
  margin-bottom: 7px;
  font-size: 0.99rem;
}
.map-placeholder {
  background: #F4F5F7;
  border: 2px dashed #BFA83C;
  border-radius: 10px;
  padding: 18px 11px;
  color: #223A5E;
  margin-top: 18px;
  font-style: italic;
  font-size: 0.97rem;
}

/* --- FAQ / LISTS --- */
.faq ul li, .history ul li {
  margin-bottom: 18px;
  padding-left: 15px;
  border-left: 3.5px solid #BFA83C;
  background: #F4F5F7;
  border-radius: 8px;
  min-height: 28px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}

/* --- FOOTER --- */
footer {
  background: #223A5E;
  color: #fff;
  padding: 48px 0 20px 0;
  border-radius: 0;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.footer-nav, .legal {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 1rem;
  align-items: center;
}
.footer-nav a {
  color: #fff;
  transition: color 0.13s;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #BFA83C;
}
.brand-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: flex-start;
}
.brand-footer img {
  height: 38px;
  margin-right: 20px;
}
.brand-footer ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.brand-footer li {
  color: #fff;
  font-size: 0.99rem;
  opacity: 0.80;
}
.brand-footer li a {
  color: #BFA83C;
  text-decoration: underline dotted;
}
.brand-footer li span {
  margin-right: 7px;
  color: #fff;
}
.brand-footer img[alt^='LinkedIn'],
.brand-footer img[alt^='Facebook'],
.brand-footer img[alt^='Instagram'] {
  vertical-align: middle;
  margin-left: 8px;
  height: 22px;
  width: 22px;
}
.legal {
  justify-content: center;
  font-size: 0.97rem;
  color: #fff;
  gap: 16px;
  opacity: 0.78;
  margin-top: 6px;
}
.legal a {
  color: #fff;
  opacity: 0.93;
  border-bottom: 1.7px dotted #BFA83C;
  font-size: 0.97rem;
  transition: color 0.12s;
}
.legal a:hover,
.legal a:focus {
  color: #BFA83C;
  border-bottom: 1.7px solid #BFA83C;
}
@media (min-width: 900px) {
  footer .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .footer-nav {
    order: 1;
    flex: 2 1 400px;
  }
  .brand-footer {
    order: 2;
    flex: 2 1 240px;
  }
  .legal {
    order: 3;
    width: 100%;
    justify-content: flex-end;
  }
}

/* --- COOKIE BANNER --- */
.cookie-banner-wrapper {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 4000;
  width: 100vw;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.cookie-banner {
  background: #223A5E;
  color: #fff;
  padding: 24px 30px;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -3px 28px rgba(34,58,94,0.10);
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 18px;
  max-width: 96vw;
  min-width: 280px;
  margin: 20px 6px 0 6px;
  font-size: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.26s, opacity 0.21s;
  pointer-events: auto;
  border: 2.3px solid #BFA83C;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(80px);
  pointer-events: none;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}
.cookie-btn {
  padding: 8px 22px;
  border-radius: 8px;
  border: none;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.18s, color 0.12s, transform 0.1s;
  margin-right: 3px;
  margin-bottom: 2px;
}
.cookie-btn.accept {
  background: #BFA83C;
  color: #223A5E;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #fff;
  color: #223A5E;
}
.cookie-btn.reject {
  background: #fff;
  color: #223A5E;
  border: 2px solid #BFA83C;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #223A5E;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: #BFA83C;
  text-decoration: underline dotted;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  color: #fff;
}

/* COOKIE MODAL POPUP */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(34,58,94,0.63);
  z-index: 4100;
  display: none;
}
.cookie-modal-backdrop.active {
  display: block;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 120px) scale(1.02);
  background: #fff;
  color: #223A5E;
  border-radius: 18px;
  box-shadow: 0 4px 40px rgba(34,58,94,0.16);
  z-index: 4200;
  padding: 40px 28px 32px 28px;
  min-width: 300px;
  max-width: 96vw;
  opacity: 0;
  transition: opacity 0.24s, transform 0.22s;
  pointer-events: none;
  font-size: 1rem;
}
.cookie-modal.open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 18px;
  color: #223A5E;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.055rem;
}
.cookie-category input[type=checkbox] {
  accent-color: #BFA83C;
  width: 22px;
  height: 22px;
}
.cookie-category input[disabled] {
  opacity: 0.6;
}
.cookie-save-btn {
  margin-top: 28px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: transparent;
  color: #BFA83C;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-close:hover { color: #223A5E; }

/* --- THANK YOU PAGE --- */
.thank-you .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  background: #fff;
  border-radius: 15px;
  padding: 48px 28px;
  box-shadow: 0 3px 20px rgba(34,58,94,0.10);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 900px) {
  .container { padding-left: 9px; padding-right: 9px; }
  .footer-nav, .brand-footer, .legal { flex-direction: column; align-items: flex-start; gap: 13px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.14rem; }
  .section, section { padding: 18px 8px; }
  .hero, .testimonials, .contact-short { padding: 24px 7px 24px 7px; }
  .newsletter-signup { padding: 18px 7px; }
  .testimonial-card, .feature-grid li, .services-grid li { min-width: 90vw; max-width: 98vw; padding: 20px 9px; }
}
@media (max-width: 450px) {
  .footer-nav, .brand-footer, .legal { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cookie-banner { padding: 17px 7px; min-width: unset; font-size: 0.96rem; }
}

/* --- MICRO-INTERACTIONS & TRANSITIONS --- */
.cta-btn, .main-nav a, .feature-grid li, .testimonial-card, .card, .footer-nav a, .cookie-btn {
  will-change: background, color, box-shadow, transform;
}

/* -- GEOMETRIC DECORATION (svg backgrounds/patterns are referenced in HTML where possible) -- */

/* --- ACCESSIBILITY --- */
:focus {
  outline: 2px solid #BFA83C;
  outline-offset: 2px;
}

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