/* RESET & BASELINE ---------------------------------- */
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, 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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  background: #F5F7FA;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg,#f7fafc 0%, #ecf1f9 60%, #dde6ee 100%);
  color: #314D60;
  min-height: 100vh;
  line-height: 1.6;
}

:root {
  --primary: #314D60;
  --secondary: #F2B441;
  --accent: #FFFFFF;
  --bg-light: #F7FAFC;
  --bg-card: #FFFFFF;
  --shadow: 0 2px 16px 0 rgba(49,77,96,0.09);
  --radius: 18px;
  --radius-small: 9px;
  --transition: 0.28s cubic-bezier(.5, .2, .15, 1);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  padding-left: 1.4em;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 18px;
  color: #314D60;
}
h1 {
  font-size: 2.4rem;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.22rem;
  font-weight: 600;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 8px;
  color: #314D60;
}
p, li {
  font-size: 1rem;
  color: #384959;
  margin-bottom: 12px;
}
a {
  color: var(--primary);
  text-decoration: underline;
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--secondary);
  outline: none;
}
strong {
  font-weight: 700;
  color: #314D60;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.text-section {
  max-width: 820px;
  margin: 0 auto;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(49,77,96,0.14);
  transform: translateY(-4px) scale(1.008);
}
.feature-grid, .project-showcase-grid, .service-cards, .usp-grid, .team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid>div, .project-showcase-grid>div,
.service-cards>div, .usp-grid>div, .team-grid>div {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 22px 30px 22px;
  flex: 1 1 224px;
  min-width: 220px;
  max-width: 355px;
  min-height: 265px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-grid>div:hover, .service-cards>div:hover, .usp-grid>div:hover, .team-grid>div:hover, .project-showcase-grid>div:hover {
  box-shadow: 0 8px 36px 0 rgba(49,77,96,0.17);
  transform: translateY(-6px) scale(1.018);
}
.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: #f8fafb;
  color: #26343d;
  border-radius: var(--radius-small);
  box-shadow: 0 4px 20px rgba(49, 77, 96, 0.1);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  margin-bottom: 20px;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
  border-left: 6px solid var(--secondary);
  max-width: 650px;
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-style: italic;
  margin-bottom: 12px;
  color: #26343d;
}
.testimonial-card cite {
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: normal;
  opacity: 0.87;
  align-self: flex-end;
}
.usp-list ul, .roles-experience ul {
  list-style-type: disc;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg, #F2B441 0%, #fbecd4 100%);
  border-bottom-left-radius: 56px;
  border-bottom-right-radius: 56px;
  box-shadow: 0 4px 24px rgba(49, 77, 96, 0.06);
  padding: 72px 0 64px 0;
  margin-bottom: 60px;
  position: relative;
}
.hero .content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  gap: 24px;
  align-items: flex-start;
}
.hero h1 {
  color: #314D60;
  font-size: 2.7rem;
  letter-spacing: -1px;
}
.hero .subheadline {
  font-size: 1.24rem;
  color: #6E5435;
  margin-bottom: 24px;
  font-family: var(--font-body);
  max-width: 600px;
}
.hero .button {
  margin-top: 8px;
}

/* BUTTONS */
.button,
.button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 152px;
  min-height: 46px;
  border-radius: var(--radius-small);
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: 600;
  background: var(--primary);
  color: var(--accent);
  border: none;
  cursor: pointer;
  transition: box-shadow var(--transition), background var(--transition), color var(--transition), transform 0.14s;
  box-shadow: 0px 2px 10px 0 rgba(49, 77, 96, 0.10);
  outline: none;
  white-space: nowrap;
  padding: 12px 32px;
  text-decoration: none;
}
.button.primary:hover, .button.primary:focus {
  background: #29425f;
  color: var(--secondary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px 0 rgba(49, 77, 96, 0.15);
}
.button.secondary {
  background: var(--secondary);
  color: #fff;
  font-weight: 600;
}
.button.secondary:hover, .button.secondary:focus {
  background: #d58c00;
  color: #fff;
}
.button[disabled], .button[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

/* NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0px 4px 28px 0 rgba(49, 77, 96, 0.13);
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  position: relative;
  z-index: 30;
  margin-bottom: 30px;
}
header .container {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 34px;
  justify-content: space-between;
  min-height: 86px;
}
header img {
  height: 44px;
  max-width: 170px;
}
nav.main-nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
}
nav.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  font-size: 1.09rem;
  padding: 8px 5px;
  border-radius: 7px;
  transition: background var(--transition), color var(--transition);
  position: relative;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  background: var(--secondary);
  color: #fff;
}
header .button.primary {
  margin-left: 18px;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  border: none;
  border-radius: var(--radius-small);
  color: var(--primary);
  font-size: 2rem;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 20px;
  top: 18px;
  z-index: 112;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(49,77,96,0.1);
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--primary);
}
.mobile-menu-toggle:hover {
  background: #ffcd59;
  color: #314D60;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 98vw;
  height: 100vh;
  z-index: 1200;
  transform: translateX(-102vw);
  transition: transform 0.33s cubic-bezier(.36,1.11,.37,1.13);
  box-shadow: 0 8px 40px 4px rgba(49,77,96,0.16);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--secondary);
  border: none;
  font-size: 2rem;
  color: var(--primary);
  border-radius: 66px;
  width: 48px;
  height: 48px;
  margin: 18px 16px 18px 0;
  cursor: pointer;
  transition: background var(--transition);
}
.mobile-menu-close:focus {
  outline: 2px solid var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-end;
  margin-right: 7vw;
  margin-top: 24px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  background: none;
  text-decoration: none;
  border-radius: 7px;
  padding: 15px 12px 15px 24px;
  transition: background var(--transition), color var(--transition);
  min-width: 176px;
  text-align: right;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}

/* FOOTER */
footer {
  background: linear-gradient(100deg, #314D60 85%, #F2B441 100%);
  color: #fff;
  font-size: 1rem;
  padding: 48px 0 22px 0;
  margin-top: 90px;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
}
footer .container {
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
}
footer .footer-brand {
  margin:8px 0 0 0;
}
footer .footer-brand img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 2px 10px #23333e10);
}
.footer-nav, .footer-contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.footer-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.03rem;
  text-decoration: none;
  border-radius:6px;
  padding:6px 7px;
  transition: background var(--transition), color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  background: #fff2da;
}
.footer-contact-info span {
  display: flex;
  align-items: center;
  font-size: 0.98rem;
  gap: 8px;
  color: #fff;
  margin-bottom: 6px;
}
.footer-contact-info img {
  height: 20px;
  width: 20px;
  display: inline-block;
  margin-right: 6px;
  filter: brightness(100) contrast(100) grayscale(75%) opacity(0.80);
}
.copyright {
  font-size: 0.98rem;
  color: #e2e8f8;
  opacity: 0.65;
  margin-top: 4px;
}

/* ADDRESS, CONTACT, MAP Blocks */
.contact-details p, .address-map p {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.7;
}
.contact-details img, .address-map img {
  height: 22px;
  width: 22px;
}

/* ----- COOKIE CONSENT BANNER & MODAL ------ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: linear-gradient(90deg,#314D60 70%,#F2B441 100%);
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 28px 30px 22px 35px;
  box-shadow: 0 -6px 24px rgba(49,77,96,0.17);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  font-family: var(--font-body);
  font-size: 1.02rem;
  transition: opacity var(--transition), transform 0.34s cubic-bezier(.43,1.11,.41,0.97);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  font-size: 1rem;
  font-family: var(--font-display);
  padding: 10px 22px;
  background: #fff;
  color: var(--primary);
  border: none;
  border-radius: var(--radius-small);
  font-weight: 600;
  margin:0;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner button.cookie-settings {
  background: var(--bg-card);
  color: #314D60;
  border: 1px solid var(--secondary);
}
.cookie-banner button.cookie-settings:hover {
  background: var(--secondary);
  color: #fff;
}

.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  min-width: 320px;
  max-width: 98vw;
  width: 440px;
  padding: 48px 36px 24px 36px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 60px 0 rgba(49,77,96,0.16);
  z-index: 4000;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  transition: opacity var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: 28px;
  color: #314D60;
  font-family: var(--font-body);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.92);
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.cookie-modal .categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid #e8eaee;
}
.cookie-modal .category label {
  font-weight: 500;
  cursor: pointer;
  color: #314D60;
}
.cookie-modal .category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px;
  height: 18px;
}
.cookie-modal .category.essential label {
  color: #b1b5bb;
  font-style: italic;
}
.cookie-modal .modal-buttons {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 14px;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 23px;
  top: 20px;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: var(--radius-small);
  font-size: 1.35rem;
  font-family: var(--font-display);
  width: 33px;
  height: 33px;
  line-height: 32px;
  cursor: pointer;
  transition: background var(--transition);
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #e3a024;
}

/* MISC UI ----- */
::-webkit-scrollbar {
  width: 11px;
  background: #e7e9ea;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb {
  background: #b1c1ca;
  border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C7A251;
}

/* UTILITY CLASSES ---- */
.mt-2 { margin-top: 8px; }
.mb-2 { margin-bottom: 8px; }
.mt-3 { margin-top: 16px; }
.mb-3 { margin-bottom: 16px; }
.mt-4 { margin-top: 24px; }
.mb-4 { margin-bottom: 24px; }
.centered { justify-content: center; align-items: center; text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

/* RESPONSIVE STYLES ---------------------- */
@media (max-width: 1140px) {
  .container {
    max-width: 97vw;
  }
  nav.main-nav { gap: 12px; }
}
@media (max-width: 900px) {
  .feature-grid>div,
  .project-showcase-grid>div,
  .service-cards>div,
  .usp-grid>div,
  .team-grid>div {
    min-width: 164px;
    max-width: 100%;
    min-height: 195px;
  }
}
@media (max-width: 820px) {
  .hero {
    padding: 44px 0 50px 0;
    border-bottom-left-radius: 33px;
    border-bottom-right-radius: 33px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .content-wrapper {
    gap: 18px;
  }
  header .container {
    min-height: 60px;
    padding: 0 9px;
    gap: 16px;
  }
  nav.main-nav { gap: 8px; }
  .button, .button.primary {
    min-width: 116px;
    font-size: 0.97rem;
    padding: 10px 16px;
  }
  .service-cards, .feature-grid, .project-showcase-grid, .team-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header .container {
    flex-direction: row;
    gap: 4px;
    min-height: 50px;
  }
  nav.main-nav {
    display: none;
  }
  header .button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero {
    padding: 25vw 0 10vw 0;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    min-height: unset;
  }
  .hero h1 {
    font-size: 1.38rem;
    margin-bottom: 12px;
  }
  .hero .subheadline { font-size: 1.02rem; }
  .feature-grid, .project-showcase-grid, .team-grid, .usp-grid, .service-cards {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
  }
  .feature-grid>div, .project-showcase-grid>div, .service-cards>div, .usp-grid>div, .team-grid>div {
    min-width: unset;
    min-height: 154px;
    padding: 18px 14px 22px 14px;
  }
  .testimonial-card {
    padding: 14px 13px;
    max-width: 100%;
    margin-right: 0;
    border-left-width: 3px;
  }
  .section {
    margin-bottom: 34px;
    padding: 22px 4vw;
  }
  .content-wrapper {
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    font-size: 0.96rem;
    padding: 20px 8vw 16px 8vw;
  }
  .cookie-modal {
    min-width: 200px;
    width: 97vw;
    padding: 28px 8vw 18px 8vw;
  }
  footer {
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
    font-size: 0.97rem;
    padding: 28px 0 13px 0;
    margin-top: 40px;
  }
  .footer-nav, .footer-contact-info { gap: 7px; }
}
@media (max-width: 520px) {
  .hero {
    padding: 22vw 0 7vw 0;
  }
  .hero h1 {
    font-size: 1.11rem;
    margin-bottom: 7px;
  }
  .section { padding: 16px 0vw; }
  .content-wrapper { gap: 7px; }
  .cookie-banner, .cookie-modal { font-size: 0.91rem; }
}

/* END OF CSS */
