/* --------------------
   RESET & NORMALIZE
-------------------- */
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, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100vh;
  background: #F5F7FA;
  color: #24344D;
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #24344D;
  text-decoration: none;
  transition: color .2s cubic-bezier(.23,1,.32,1);
}
a:focus {
  outline: 2px solid #DBA941;
  outline-offset: 2px;
}
ul, ol {
  padding-left: 1.25em;
  margin-bottom: 1.25em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  color: #24344D;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.125rem;
}
p {
  margin-bottom: 16px;
}
strong, b {
  font-weight: 700;
}
.button, .cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 1.125rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background .18s cubic-bezier(.23,.6,.32,1),
              color .18s,
              box-shadow .18s cubic-bezier(.23,.6,.32,1),
              border-color .18s;
  text-decoration: none;
  border: none;
}
.cta-primary {
  background: #DBA941;
  color: #24344D;
  box-shadow: 0 4px 18px 0 rgba(219,169,65,0.09);
}
.cta-primary:hover, .cta-primary:focus {
  background: #24344D;
  color: #F5F7FA;
  box-shadow: 0 8px 32px 0 rgba(36,52,77,0.13);
}
.cta-secondary {
  background: #24344D;
  color: #F5F7FA;
  box-shadow: 0 4px 18px 0 rgba(36,52,77,0.06);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #DBA941;
  color: #24344D;
  box-shadow: 0 8px 32px 0 rgba(219,169,65,0.12);
}
.button:active, .cta-primary:active, .cta-secondary:active {
  transform: scale(.96);
}

/* --------------------
    LAYOUT CONTAINERS
--------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: flex-start;
}
.card {
  background: #fff;
  box-shadow: 0 2px 12px rgba(36,52,77,0.08);
  border-radius: 14px;
  padding: 32px 28px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s cubic-bezier(.23,.6,.32,1), transform .18s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(36,52,77,.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;
}
.testimonial-card {
  background: #fff;
  color: #24344D;
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(36,52,77,0.07);
  padding: 20px;
  margin-bottom: 20px;
  max-width: 700px;
  min-width: 0;
  flex: 1 1 340px;
  position: relative;
  transition: box-shadow .18s, transform .18s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 32px 0 rgba(219,169,65,0.14);
  transform: translateY(-2px) scale(1.015);
}
.testimonial-card p {
  font-size: 1.125rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 4px;
}
.testimonial-card span {
  font-size: 1rem;
  font-family: "Open Sans", Arial, sans-serif;
  color: #59698C;
}
.testimonial-card div {
  margin-left: auto;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: #DBA941;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
}

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

.contact-block {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.contact-block > div {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(36,52,77,0.07);
  border-radius: 10px;
  padding: 18px 22px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-size: 1rem;
  color: #24344D;
}
.contact-block img {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #24344D;
  margin-bottom: 16px;
}
.footer-brand img {
  width: 36px; height: 36px;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
  font-size: 1rem;
  color: #24344D;
  margin-top: 18px;
}
.footer-contact img {
  width: 18px; height: 18px; margin-right: 5px; vertical-align: middle;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.footer-nav a {
  font-size: 1rem;
  color: #24344D;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  transition: color .16s;
}
.footer-nav a:hover {
  color: #DBA941;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 28px;
}
.service-list > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(36,52,77,0.07);
  padding: 26px 22px;
  min-width: 280px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow .18s, transform .18s;
}
.service-list > div:hover {
  box-shadow: 0 6px 32px 0 rgba(36,52,77,0.12);
  transform: translateY(-2px) scale(1.03);
}
.service-list img {
  width: 36px; height: 36px; margin-bottom: 8px;
}
.service-tags {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.service-tags span {
  background: #DBA941;
  color: #24344D;
  border-radius: 8px;
  padding: 4px 14px;
  font-size: 0.95rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
}

.project-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.project-overview > div {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(36,52,77,0.07);
  padding: 20px 22px;
  min-width: 220px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  margin-bottom: 24px;
}
.blog-list li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(36,52,77,0.07);
  padding: 18px 22px;
  transition: box-shadow .15s, transform .15s;
}
.blog-list li:hover {
  box-shadow: 0 4px 32px 0 rgba(219,169,65,0.10);
  transform: translateY(-2px) scale(1.015);
}
.category-filters {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.category-filters span {
  background: #24344D;
  color: #F5F7FA;
  border-radius: 8px;
  padding: 4px 14px;
  font-size: 0.95rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
}
.featured-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.featured-posts article {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(36,52,77,0.09);
  padding: 22px 26px;
  min-width: 260px;
  flex: 1 1 320px;
  transition: box-shadow .17s, transform .17s;
}
.featured-posts article:hover {
  box-shadow: 0 8px 36px 0 rgba(36,52,77,0.12);
  transform: translateY(-2px) scale(1.025);
}
.content-info-short, .contact-info-short {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(36,52,77,0.07);
  padding: 18px 22px;
  font-size: 1.08rem;
  color: #24344D;
  margin-bottom: 20px;
}

/* --- spacing for all sections --- */
main section:not(:last-child) {
  margin-bottom: 60px;
}

/* --------------------
   HEADER & NAVIGATION
--------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(36,52,77,0.06);
  z-index: 30;
  position: relative;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  padding: 18px 0 18px 0;
  font-family: "Montserrat", Arial, sans-serif;
}
.main-nav img {
  height: 30px;
  margin-right: 12px;
}
.main-nav a {
  font-size: 1.08rem;
  font-weight: 600;
  color: #24344D;
  padding: 7px 14px;
  border-radius: 8px;
  position: relative;
  transition: background .16s, color .16s;
}
.main-nav a:hover:not(.cta-primary) {
  background: #DBA941;
  color: #24344D;
}
.main-nav .cta-primary {
  margin-left: 12px;
}

/* Burger menu */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 18px; right: 20px;
  background: #DBA941;
  color: #24344D;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 2rem;
  z-index: 120;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(219,169,65,0.08);
  transition: background .18s, color .18s;
}
.mobile-menu-toggle:focus {
  background: #24344D;
  color: #F5F7FA;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: #24344D;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform .34s cubic-bezier(.23,.8,.18,1);
  box-shadow: 0 8px 32px rgba(36,52,77,0.30);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 22px 8px 0;
  padding: 10px 12px;
  font-size: 2.5rem;
  background: none;
  color: #DBA941;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .12s, color .12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  background: #DBA941;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  width: 100%;
  padding: 28px 32px;
}
.mobile-nav a {
  color: #F5F7FA;
  font-size: 1.2rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  padding: 10px 0;
  letter-spacing: 0.02em;
  border-radius: 6px;
  transition: background .17s, color .17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #DBA941;
  color: #24344D;
}

/* Show/hide nav for mobile/desktop */
@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
  .footer-contact {
    gap: 10px;
    flex-direction: column;
  }
}
@media (max-width: 900px) {
  header .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu.open { display: none !important; }
}

/* --------------------
      COOKIES BANNER
--------------------- */
.cookies-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 3px solid #DBA941;
  box-shadow: 0 -2px 18px 0 rgba(36,52,77,0.10);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px 10px 18px 10px;
  font-size: 1rem;
  color: #24344D;
  font-family: "Open Sans", Arial, sans-serif;
  gap: 32px;
  animation: cookies-slide-in .42s cubic-bezier(.12,1,.31,1);
}
@keyframes cookies-slide-in {
  0% { transform: translateY(100%);} 100% { transform: translateY(0);}
}
.cookies-banner button {
  margin-left: 10px;
  margin-right: 6px;
  min-width: 120px;
  font-size: 1.05rem;
  padding: 9px 22px;
  border-radius: 8px;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background .15s, color .17s;
}
.cookies-banner .accept {
  background: #DBA941;
  color: #24344D;
}
.cookies-banner .accept:hover {
  background: #24344D;
  color: #F5F7FA;
}
.cookies-banner .reject {
  background: #F5F7FA;
  color: #24344D;
  border: 2px solid #24344D;
}
.cookies-banner .reject:hover {
  background: #24344D;
  color: #F5F7FA;
}
.cookies-banner .settings {
  background: #F5F7FA;
  color: #DBA941;
  border: 2px solid #DBA941;
}
.cookies-banner .settings:hover {
  background: #DBA941;
  color: #24344D;
}

/* Cookies Preferences Modal */
.cookies-modal {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36,52,77,0.44);
  z-index: 3000;
  animation: fadein .19s cubic-bezier(.23,.8,.14,1);
}
@keyframes fadein {
  from { opacity: 0;} to { opacity: 1;}
}
.cookies-modal.open { display: flex; }
.cookies-modal-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 36px 0 rgba(36,52,77,0.29);
  padding: 40px 28px 30px 28px;
  min-width: 320px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 28px;
  animation: modal-in .26s cubic-bezier(.17,.84,.44,1.09);
  position: relative;
}
@keyframes modal-in {
  0% { transform: translateY(60px) scale(.90); opacity:.5;}
  100%{ transform: translateY(0) scale(1); opacity:1;}
}
.cookies-modal-content h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}
.cookies-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e9eef5;
}
.cookies-modal-content .cookie-label {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #24344D;
}
.cookies-modal-content .cookie-toggle, .cookies-modal-content .cookie-toggle[disabled] {
  width: 44px;
  height: 24px;
  border-radius: 16px;
  background: #e9eef5;
  appearance: none;
  position: relative;
  outline: none;
  border: none;
  cursor: pointer;
  transition: background .16s;
}
.cookies-modal-content .cookie-toggle:checked {
  background: #DBA941;
}
.cookies-modal-content .cookie-toggle[disabled] {
  background: #b5bac1;
  cursor: not-allowed;
}
.cookies-modal-content .cookie-toggle:after {
  content: "";
  position: absolute;
  top: 2px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,.09);
  transition: left .18s;
}
.cookies-modal-content .cookie-toggle:checked:after{
  left: 21px;
}
.cookies-modal-close {
  position: absolute;
  top: 13px; right: 19px;
  background: transparent;
  color: #24344D;
  font-size: 2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background .16s color .14s;
}
.cookies-modal-close:focus, .cookies-modal-close:hover {
  background: #f2ecdb;
  color: #DBA941;
}
.cookies-modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookies-modal-actions button {
  padding: 9px 24px;
  border-radius: 8px;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background .16s, color .14s;
}
.cookies-modal-actions .save {
  background: #DBA941;
  color: #24344D;
}
.cookies-modal-actions .save:hover {
  background: #24344D;
  color: #F5F7FA;
}
.cookies-modal-actions .close {
  background: #F5F7FA;
  color: #24344D;
  border: 2px solid #24344D;
}
.cookies-modal-actions .close:hover {
  background: #24344D;
  color: #F5F7FA;
}

/* -------------
   FOOTER
-------------- */
footer {
  background: #24344D;
  color: #fff;
  padding: 48px 0 26px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer .footer-brand {
  color: #fff;
  margin-bottom: 10px;
}
footer .footer-brand img {
  filter: brightness(0) invert(1);
}
footer .footer-nav {
  gap: 18px;
  margin-bottom: 8px;
}
footer .footer-nav a {
  color: #c6def8;
  font-weight: 500;
  font-size: 1rem;
  transition: color .18s;
  border-radius: 6px;
  padding: 5px 7px;
}
footer .footer-nav a:hover, footer .footer-nav a:focus {
  color: #DBA941;
  background: transparent;
}
footer .footer-contact {
  color: #fff;
  font-size: 0.96rem;
}
footer .footer-contact img {
  filter: brightness(0) invert(1);
}

/* -------------
   MISC
------------- */
::-webkit-input-placeholder { color: #969fae; }
::-moz-placeholder { color: #969fae; }
:-ms-input-placeholder { color: #969fae; }
::placeholder { color: #969fae; }

hr {
  border: none;
  border-top: 1.5px solid #e9eef5;
  margin: 18px 0;
}

/* --------------------
    RESPONSIVE DESIGN
-------------------- */
@media (max-width: 900px) {
  .container {
    max-width: 100vw;
    padding-left: 14px;
    padding-right: 14px;
  }
  .section {
    padding: 28px 10px;
    margin-bottom: 40px;
  }
  .content-grid, .card-container, .service-list, .project-overview, .featured-posts {
    gap: 14px;
  }
  .card, .service-list > div, .project-overview > div, .featured-posts article, .blog-list li {
    min-width: 0px;
    flex: 1 1 100%;
    padding: 20px 14px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.1rem; }
  .section {
    padding: 18px 5px;
    margin-bottom: 28px;
  }
  .content-wrapper {
    gap: 16px;
    padding: 0;
  }
  .content-grid, .card-container, .service-list, .project-overview, .featured-posts {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 7px;
    padding: 13px 8px;
    font-size: 1rem;
  }
  .contact-block {
    flex-direction: column;
    gap: 12px;
  }
  .footer-brand {
    font-size: 1.12rem;
  }
  footer .container {
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 8px;
  }
  .cookies-modal-content {
    min-width: unset;
    width: 95vw;
    max-width: 98vw;
    padding: 17px 6px 14px 6px;
    gap: 18px;
  }
}
@media (max-width: 540px) {
  html { font-size: 15px; }
  .header {
    min-height: 45px;
  }
  .container {
    padding-left: 3px;
    padding-right: 3px;
  }
  .main-nav img {
    height: 22px;
  }
  .section {
    padding: 7px 2px;
    margin-bottom: 16px;
  }
  .testimonial-card {
    min-width: 0;
    font-size: .93rem;
  }
}

/*  -------------------------
    VISUAL ACCENTS/SHAPES
--------------------------- */
body {
  /* geometric highlight shape top right */
  position: relative;
}
body:before {
  content: "";
  position: fixed;
  top: -40px; right: -120px;
  width: 340px; height: 220px;
  background: #DBA941;
  opacity: 0.12;
  border-radius: 35% 60% 65% 20%;
  z-index: 2;
  pointer-events: none;
}

body:after {
  content: "";
  position: fixed;
  bottom: -100px; left: -80px;
  width: 260px; height: 180px;
  background: #24344D;
  opacity: .09;
  border-radius: 60% 38% 50% 70%;
  z-index: 2;
  pointer-events: none;
}

/*  -----------------------
    UTILITY : GAPS & SPACING
-------------------------- */
.gap-20 { gap: 20px !important; }
.m-b-20 { margin-bottom: 20px !important; }
.p-20 { padding: 20px !important; }

/*  -----------------------
    PRINT
-------------------------- */
@media print {
  * {
    box-shadow: none !important; background: #fff !important; color: #222 !important;
  }
  header, footer, .cookies-banner, .cookies-modal { display: none !important; }
  .section, .container, .content-wrapper { padding: 0 !important; margin: 0 !important;}
}
