/* ----------------- CSS RESET & BASE ----------------- */
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;
}

html {
  font-size: 16px; /* base 16px */
  background: #fff;
  color: #212121;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: #181818;
  background: #fff;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

*, *:before, *:after { box-sizing: inherit; }
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul, ol { list-style: none; }
button { font-family: inherit; outline: none; background: none; border: none; cursor: pointer; }

/* ----------------- TYPOGRAPHY ----------------- */
h1, .h1 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-weight: 700; font-size: 2.75rem; line-height: 1.15; color: #181818; margin-bottom: 18px; letter-spacing: -1px; }
h2, .h2 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-weight: 600; font-size: 2rem; line-height: 1.2; color: #222; margin-bottom: 16px; letter-spacing: -0.5px; }
h3, .h3 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-weight: 500; font-size: 1.3rem; line-height: 1.3; color: #212121; margin-bottom: 12px; }
h4, .h4 { font-size: 1.125rem; font-weight: 500; color: #333; margin-bottom: 10px; }

p {
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.7;
  color: #232323;
}

strong { font-weight: 600; }

/* 
----------------- LAYOUT CONTAINERS ----------------- 
Brand palette: only black/white/gray with dramatic contrast. Brand color for accents only.
*/
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.04);
  border-radius: 18px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #fafbfc;
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.07);
  position: relative;
  padding: 24px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 4px 28px 0 rgba(30,30,30,0.15);
  transform: translateY(-3px) scale(1.013);
}

/* Content Grids and Flex Layouts */
.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;
  flex-direction: column;
  align-items: center;
  background: #fcfcfc;
  border-left: 6px solid #222;
  margin-bottom: 20px;
  gap: 20px;
  padding: 20px 36px;
  min-width: 260px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07);
  border-radius: 16px;
  color: #232323;
  font-size: 1.08rem;
  transition: box-shadow 0.18s, border-color 0.25s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 30px 0 rgba(60,60,60,0.15);
  border-left-color: #23405C;
}

.testimonial-meta {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  color: #4c4c4c;
}

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

/* ----------------- HERO SECTION ----------------- */
.hero {
  background: #222;
  background: linear-gradient(105deg,#1d1d1d 85%,#ffffff 100%);
  color: #fff;
  border-radius: 0 0 38px 38px;
  position: relative;
  margin-bottom: 60px;
  padding: 70px 0 60px 0;
  box-shadow: 0 4px 36px 0 rgba(26,26,26,0.045);
  overflow: hidden;
}
.hero .container { align-items: flex-start; }
.hero .content-wrapper {
  gap: 22px;
  align-items: flex-start;
  max-width: 560px;
}
.hero h1, .hero .h1 { color: #fff; }
.hero p { color: #f1f1f1; }
.hero .primary-btn { margin-top: 14px; }


/* ----------------- NAVIGATION ----------------- */
header {
  background: #fff;
  border-bottom: 1.5px solid #ececec;
  box-shadow: 0 2px 12px 0 rgba(30,30,30,0.03);
  position: sticky; top: 0; z-index: 90;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 76px;
}
header img {
  height: 44px;
  margin-right: 20px;
  vertical-align: middle;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 5px 0 5px 0;
  color: #232323;
  border-bottom: 2.5px solid transparent;
  transition: color 0.15s, border-color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #23405C;
  border-bottom: 2.5px solid #23405C;
}
.primary-btn {
  background: #181818;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 10px 34px;
  border-radius: 26px;
  margin-left: 18px;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(35,64,92,0.07);
  transition: background 0.2s, color 0.2s, transform 0.15s;
  letter-spacing: 0.05em;
  outline: none;
}
.primary-btn:hover, .primary-btn:focus {
  background: #23405C;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #232323;
  background: none; border: none;
  margin-left: 20px;
}

/* ----------------- MOBILE MENU ----------------- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(21,21,21,0.97);
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(.7,.4,.25,1),opacity 0.22s;
  will-change: transform, opacity;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 28px 0 0;
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column; align-items: flex-start;
  gap: 33px;
  margin: 80px 0 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.29rem;
  font-weight: 500;
  color: #fff;
  padding: 8px 0;
  border-left: 4px solid transparent;
  transition: color 0.13s, border-color 0.13s;
  min-width: 180px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #8BC3B7;
  border-left: 4px solid #8BC3B7;
}
.mobile-nav a.primary-btn {
  color: #232323;
  background: #fff;
  border-radius: 30px;
  padding: 12px 34px;
  margin-top: 24px;
  font-size: 1.09rem;
  border-left: none;
  box-shadow: 0 3px 18px 0 rgba(230,230,230,0.21);
}
.mobile-nav a.primary-btn:hover {
  background: #8BC3B7;
  color: #181818;
}

/* ----------------- RESPONSIVE DESIGN ----------------- */
@media (max-width: 1200px) {
 .container { max-width: 97vw; }
  h1, .h1 { font-size: 2.2rem; }
  h2, .h2 { font-size: 1.5rem; }
  .hero .container, .hero .content-wrapper { max-width: 95vw; }
}
@media (max-width: 900px) {
  .hero { padding-top: 38px; padding-bottom: 38px; }
  .section { padding: 28px 8px; }
  .content-wrapper { gap: 10px; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .hero { padding: 32px 0 30px 0; border-radius: 0 0 21px 21px; }
  h1, .h1 { font-size: 1.48rem; }
  h2, .h2 { font-size: 1.19rem; }
  .section { margin-bottom: 36px; padding: 22px 4px; border-radius: 8px; }
  .footer-content { flex-direction: column; gap: 24px; align-items: flex-start; }
  .content-grid, .card-container { gap: 14px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .testimonial-card { padding: 17px 14px; font-size: 0.99rem; }
}
@media (max-width: 540px) {
  .container { padding: 0 4px; }
  .hero .container, .hero .content-wrapper { padding: 0 2vw; }
  .footer-content { gap: 14px; }
  .feature-grid, .service-list, .blog-list { flex-direction: column !important; }
}

/* ----------------- SECTION/BLOCK SPECIFIC ----------------- */
.feature-grid, .service-list, .blog-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: stretch;
}
.feature, .service, .blog-preview {
  flex: 1 1 250px;
  background: #f7f7f7;
  border-radius: 12px;
  box-shadow: 0 1px 8px 0 rgba(30,30,30,0.04);
  padding: 24px 20px 23px 20px;
  margin-bottom: 20px;
  min-width: 220px;
  transition: box-shadow 0.17s, border-color 0.19s, transform 0.14s;
  border-left: 4px solid transparent;
}
.feature:hover, .service:hover, .blog-preview:hover {
  box-shadow: 0 6px 16px 0 rgba(35,64,92,0.13);
  border-left: 4px solid #23405C;
  transform: translateY(-2px) scale(1.02);
}
.feature img, .service img { height: 42px; margin-bottom: 12px; }
.blog-preview h3 a { color: #181818; border-bottom: 2px solid #23232322; transition: border-color 0.17s, color 0.16s; }
.blog-preview h3 a:hover { color: #23405C; border-bottom-color: #23405C; }
.blog-meta { margin-top: 7px; color: #545454; font-size: 0.95rem; }

.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  background: #f2f2f2;
  border-radius: 7px;
  font-style: italic;
  color: #555;
}

/* UL/OL stylings (used for project, contact, value lists) */
ul, ol { margin-bottom: 16px; }
ul li, ol li {
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 1.01rem;
  color: #272727;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
ul li img { margin-top: 3px; height: 20px; width: 20px; }

/* ----------------- FOOTER ----------------- */
footer {
  background: #181818;
  padding: 0;
  color: #fff;
  margin-top: 40px;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 32px 0 rgba(0,0,0,0.05);
}
.footer-content {
  display: flex; 
  flex-wrap: wrap;
  gap: 32px;
  padding: 38px 20px 16px 20px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav, .legal-nav {
  display: flex; flex-direction: column; gap: 12px; margin-bottom: 9px;
}
.footer-nav a, .legal-nav a {
  color: #ccc;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.025em;
  padding: 2px 0;
  transition: color 0.18s;
}
.footer-nav a:hover, .legal-nav a:hover { color: #8BC3B7; }
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 11px;
  color: #c7c7c7;
  font-size: 0.98rem;
}
.contact-details img { height: 18px; margin-right: 7px; vertical-align: middle; display: inline; }
.contact-details span { vertical-align: middle; }
.social-media {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
}
.social-media a img {
  height: 28px;
  filter: grayscale(1) brightness(0.92) contrast(1.11);
  opacity: 0.8;
  transition: opacity 0.18s, filter 0.17s;
}
.social-media a img:hover {
  opacity: 1; filter: grayscale(0) brightness(1.14);
}
.copyright {
  color: #626262;
  font-size: 0.925rem;
  text-align: left;
  padding: 12px 20px 14px 20px;
}

/* ----------------- FORMS & INTERACTIVES ----------------- */
input, textarea, select {
  border: 1.2px solid #a7a7a7;
  border-radius: 4px;
  background: #f7f7f7;
  padding: 11px 12px;
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 18px;
  color: #222;
  transition: border 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #23405C;
  background: #fff;
  outline: none;
}
label { font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-size: 0.98rem; font-weight: 500; color: #181818; }

/* ----------------- SPACING UTILITIES ----------------- */
.mb-20 { margin-bottom: 20px !important; }
.mt-32 { margin-top: 32px !important; }
.pb-40 { padding-bottom: 40px !important; }
.pt-8 { padding-top: 8px !important; }
.gap-24 { gap: 24px !important; }

/* ----------------- COOKIES CONSENT BANNER & MODAL ----------------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 1199;
  background: #181818;
  color: #f5f5f5;
  width: 100%;
  padding: 24px 14px 24px 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  box-shadow: 0 -4px 32px 0 rgba(0,0,0,0.18);
  font-size: 1.04rem;
  gap: 14px;
  transition: transform 0.4s cubic-bezier(.75,.1,.4,1);
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner .cookie-btn {
  background: #fff;
  color: #23405C;
  font-weight: 600;
  border-radius: 20px;
  border: none;
  padding: 9px 22px;
  margin-right: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.17s;
  box-shadow: 0 1px 4px 0 rgba(80,80,80,0.07);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #23405C;
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: #8BC3B7;
  color: #232323;
  margin-left: 7px;
  margin-right: 0;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #23405C;
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1234;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(18,18,18,0.65);
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.cookie-modal-overlay.show { display: flex; }

.cookie-modal {
  background: #fff;
  color: #191919;
  border-radius: 18px;
  max-width: 420px;
  padding: 38px 30px 30px 30px;
  box-shadow: 0 7px 40px 0 rgba(40,40,40,0.19);
  font-size: 1.04rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: relative;
  animation: cookieModalIn 0.38s cubic-bezier(.77,.2,.25,1);
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: translateY(60px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.38rem;
  font-weight: 600;
  color: #181818;
  margin-bottom: 9px;
}
.cookie-modal .cookie-options-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 14px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #212121;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  gap: 10px;
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  margin-right: 7px;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #eee;
  border-radius: 14px; 
  transition: .4s;
}
.cookie-modal .slider:before {
  position: absolute;
  content: '';
  height: 16px; width: 16px;
  left: 3px; bottom: 3px;
  background-color: #ccc;
  border-radius: 50%;
  transition: .4s;
}
.cookie-modal .switch input:checked + .slider {
  background: #23405C;
}
.cookie-modal .switch input:checked + .slider:before {
  background: #8BC3B7;
  transform: translateX(16px);
}
.cookie-modal .cookie-btn-row {
  display: flex;
  gap: 11px;
  width: 100%;
  flex-wrap: wrap;
}
.cookie-modal .cookie-btn {
  background: #181818;
  color: #fff;
  border-radius: 14px;
  border: none;
  padding: 8px 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-top: 11px;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal .cookie-btn:hover { background: #23405C; color: #fff; }
.cookie-modal .cookie-btn.gray { background: #f7f7f7; color: #222; }
.cookie-modal .cookie-btn.gray:hover { background: #8BC3B7; color: #222; }

.cookie-modal .close-modal {
  position: absolute;
  right: 14px; top: 14px;
  background: transparent;
  border: none;
  color: #232323;
  font-size: 1.7rem;
  cursor: pointer;
}

@media (max-width: 620px) {
  .cookie-modal { max-width: 98vw; padding: 16vw 2vw 10vw 2vw; }
}

/* ----------------- MICRO-INTERACTIONS ----------------- */
a, button, .primary-btn, .main-nav a, .footer-nav a, .legal-nav a, .blog-preview {
  transition: color 0.17s, background 0.21s, box-shadow 0.19s, border 0.14s, transform 0.14s;
}

/* Focus Styles for Accessibility */
a:focus, button:focus, .primary-btn:focus {
  outline: 2px solid #23405C;
  outline-offset: 1px;
  box-shadow: 0 2px 12px 0 rgba(40,110,170,0.11);
}

::-webkit-input-placeholder { color: #bbbbbb; }
::-moz-placeholder { color: #bbbbbb; }
:-ms-input-placeholder { color: #bbbbbb; }
::placeholder { color: #bababa; opacity: 1; }

/* --------------- MISC --------------- */
hr {
  border: none;
  border-top: 1.2px solid #ececec;
  margin: 30px 0;
}

/* Highlight: brand color text accents (use sparingly for monochrome style) */
.accent { color: #23405C; }

/* Utility for visually hiding (e.g. cookie switches) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); border: 0;
}

/* Remove number field spinner on Chrome */
input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{
  -webkit-appearance: none; margin: 0;
}
input[type=number] { -moz-appearance: textfield; }

/* ------------ PRINT -------------- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { color: #181818; background: #fff; }
}

/* --------------- END OF STYLES --------------- */
