/* === 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background-color: #f2f3f7;
  color: #23304a;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol, li {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #679186;
  outline-offset: 2px;
}

/* === TYPOGRAPHY === */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #23304a;
  letter-spacing: -0.01em;
}

h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: #23304a;
  letter-spacing: -0.01em;
}

h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.125rem;
  margin-bottom: 12px;
  color: #23304a;
}

h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #23304a;
}

p, li, dd, blockquote, address {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 14px;
  color: #23304a;
}

strong, b {
  font-weight: 700;
}

blockquote {
  border-left: 4px solid #23304a;
  background: #e9edf2;
  margin: 24px 0;
  padding: 16px 24px;
  font-size: 1.125rem;
  color: #23304a;
  font-style: italic;
  border-radius: 8px;
}

/* === LAYOUT CONTAINERS & SPACING === */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(35, 48, 74, 0.06);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(35,48,74,0.04);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f2f3f7;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(35,48,74,0.05);
  color: #23304a;
  margin-bottom: 20px;
}
.testimonial-card p {
  font-size: 1.05rem;
  line-height: 1.5;
}
.testimonial-card span {
  font-size: 1rem;
  color: #679186;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px;
  box-shadow: 0 1px 8px rgba(35,48,74,0.04);
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 225px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.feature-item:hover,
.service-item:hover {
  box-shadow: 0 6px 25px rgba(35,48,74,0.12);
  transform: translateY(-4px) scale(1.02);
}

/* ==== NAVIGATION HEADER ==== */
header {
  width: 100%;
  background: #fff;
  padding: 0 0;
  box-shadow: 0 2px 12px rgba(35, 48, 74, 0.06);
  z-index: 40;
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  min-height: 68px;
  flex-direction: row;
}
header .logo-link {
  padding: 12px 24px 12px 22px;
  display: flex;
  align-items: center;
  height: 64px;
}
header .logo-link img {
  max-height: 40px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  flex: 1;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 12px;
  color: #23304a;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #e9edf2;
  color: #23304a;
}
.cta-btn {
  background: #23304a;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 24px;
  margin-left: 8px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(35,48,74,0.08);
  transition: background 0.2s, transform 0.13s;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #679186;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #23304a;
  cursor: pointer;
  margin-right: 18px;
  margin-left: auto;
  position: relative;
  z-index: 61;
  border-radius: 8px;
  padding: 6px 12px;
  transition: background 0.2s;
}

.mobile-menu-toggle:focus {
  outline: 2px solid #679186;
  background: #e9edf2;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100vw;
  background: #23304a;
  color: #fff;
  z-index: 60;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.7,.1,.3,1);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #f2f3f7;
  font-size: 2rem;
  padding: 16px 23px 10px 0;
  cursor: pointer;
  transition: color 0.23s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #679186;
  background: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 44px;
  align-items: center;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: #fff;
  font-weight: 500;
  border-radius: 10px;
  padding: 10px 28px;
  transition: background 0.14s, color 0.16s;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #679186;
  color: #e9edf2;
}

@media (max-width: 1024px) {
  .main-nav .cta-btn {
    padding: 10px 18px;
  }
}
@media (max-width: 900px) {
  .main-nav a,
  .main-nav .cta-btn {
    font-size: 0.97rem;
    padding: 8px 10px;
  }
}
@media (max-width: 840px) {
  .main-nav {
    gap: 9px;
  }

  .main-nav .cta-btn {
    margin-left: 3px;
  }
}

@media (max-width: 680px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header {
    padding: 0 0 0 0;
    min-height: 58px;
  }
  .logo-link {
    padding-left: 10px;
    padding-right: 6px;
  }
}

/* ==== HERO SECTION === */
.hero {
  width: 100%;
  background: linear-gradient(96deg, #f2f3f7 70%, #e9edf2 100%);
  padding: 54px 0 40px 0;
  margin-bottom: 0px;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 630px;
  gap: 28px;
  padding: 0 0 0 0;
}
.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 14px;
}
.hero p {
  color: #23304a;
  margin-bottom: 28px;
  font-size: 1.15rem;
}

@media (max-width: 768px) {
  .hero {
    padding: 34px 0 30px 0;
  }
  .hero .content-wrapper {
    padding: 0 0 0 0;
  }
  .container {
    padding: 0 12px;
  }
  .feature-grid, .services-grid {
    gap: 13px;
  }
}

/* ==== FEATURES & SERVICES CARDS ==== */
.features, .services-overview {
  margin-bottom: 60px;
  background: none;
}
.feature-grid, .services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.feature-item img,
.service-item img {
  width: 36px;
  height: 36px;
}
.service-item {
  background: #fff;
  border-radius: 16px;
  padding: 26px 19px;
  box-shadow: 0 1px 8px rgba(35,48,74,0.04);
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  min-width: 196px;
  max-width: 330px;
  flex: 1 1 196px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.13s;
}
.service-item h3 {
  margin-top: 7px;
}

@media (max-width: 990px) {
  .feature-grid, .services-grid {
    gap: 14px;
  }
  .feature-item, .service-item {
    min-width: 170px;
    max-width: 370px;
    padding: 18px 10px;
  }
}
@media (max-width: 620px) {
  .feature-grid, .services-grid {
    flex-direction: column;
    gap: 11px;
  }
  .feature-item, .service-item {
    min-width: auto;
    max-width: 100%;
    width: 100%;
  }
}

/* === SECTION REUSABLE STYLES === */
.about-teaser, .cta-primary, .cta-secondary, .cta-last, .cta-faq, .cta-contact, .thank-you-msg {
  background: #fff;
  margin-bottom: 55px;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(35,48,74,0.07);
}

@media (max-width: 600px) {
  .section, .about-teaser, .cta-primary, .cta-secondary, .cta-last, .cta-faq, .cta-contact, .thank-you-msg {
    padding: 23px 7px;
    border-radius: 10px;
  }
}

/* === CARDS & CASE STUDIES === */
.project-summary {
  background: #fff;
  border-radius: 12px;
  padding: 22px 18px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(35,48,74,0.05);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.info-box {
  background: #e9edf2;
  border-radius: 9px;
  padding: 14px 15px 13px 14px;
  color: #23304a;
  margin: 13px 0 0 0;
}

.map-embed {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #e9edf2;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

/* === FAQ === */
.faq-section dl {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-section dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: #23304a;
}
.faq-section dd {
  margin: 0 0 10px 0;
  padding-left: 14px;
  color: #23304a;
}

/* === LISTS === */
ul, ol {
  margin-bottom: 14px;
}
ul li, ol li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 9px;
  font-size: 1rem;
  color: #23304a;
}
ul li:before {
  content: '';
  display: inline-block;
  height: 8px;
  width: 8px;
  background: #679186;
  border-radius: 50%;
  position: absolute;
  left: 8px;
  top: 8px;
}

ol li:before {
  counter-increment: section;
  content: counter(section)'.';
  position: absolute;
  left: 8px;
  color: #679186;
  font-weight: bold;
}
ol {
  counter-reset: section;
}

/* === FOOTER === */
footer {
  width: 100%;
  background: #23304a;
  color: #fff;
  padding: 36px 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 21px;
  align-items: center;
  margin-top: 64px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  margin-bottom: 6px;
}
.footer-nav a {
  color: #e9edf2;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #679186;
  color: #fff;
}
.footer-contact {
  font-size: 1rem;
  color: #f2f3f7;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.footer-contact img {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  margin-right: 4px;
  margin-bottom: 2px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #e9edf2;
  margin-top: 11px;
  flex-wrap: wrap;
}
.footer-brand img {
  width: 32px;
  height: 32px;
}

@media (max-width: 600px) {
  footer {
    padding: 24px 0 17px 0;
    margin-top: 24px;
    gap: 13px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 5px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 3px;
  }
  .footer-brand {
    flex-direction: column;
    gap: 5px;
    margin-top: 8px;
  }
}

/* === BUTTONS === */
button, .cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 24px;
}
button:focus, .cta-btn:focus {
  outline: 2px solid #679186;
  outline-offset: 2px;
}
button[disabled], .cta-btn[disabled] {
  opacity: 0.56;
  pointer-events: none;
}

/* === ANIMATIONS & TRANSITIONS === */
.section, .card, .feature-item, .service-item, .testimonial-card, .info-box, .project-summary {
  transition: box-shadow 0.21s, background 0.27s, transform 0.14s;
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 768px) {
  .container {
    padding: 0 7px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  h2, .h2 {
    font-size: 1.12rem;
    margin-bottom: 12px;
  }
}

@media (max-width: 700px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .footer-nav {
    font-size: 0.93rem;
    gap: 4px;
  }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #23304a;
  box-shadow: 0 -2px 12px rgba(35,48,74,0.10);
  padding: 20px 18px;
  z-index: 90;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.3s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 8px 21px;
  border-radius: 22px;
  font-weight: 600;
  margin: 0 2px;
  font-size: 1rem;
  background: #23304a;
  color: #fff;
  border: none;
  transition: background 0.18s, color 0.13s;
}
.cookie-btn.accept {
  background: #679186;
  color: #fff;
}
.cookie-btn.reject {
  background: #b90e0a;
  color: #fff;
}
.cookie-btn.settings {
  background: #f2f3f7;
  color: #23304a;
  border: 1px solid #c4c8d0;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #23304a;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: #fff;
  color: #23304a;
  z-index: 99;
  border-radius: 18px;
  box-shadow: 0 8px 50px rgba(35,48,74,0.20);
  padding: 34px 32px 28px 32px;
  width: 96vw;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.22s, transform 0.24s;
}
.cookie-modal.hide {
  opacity: 0;
  transform: translate(-50%, -45%) scale(0.94);
  pointer-events: none;
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #23304a;
  cursor: pointer;
  border-radius: 6px;
  padding: 2px 10px;
  transition: background 0.11s, color 0.14s;
}
.cookie-modal .close-modal:hover {
  background: #e9edf2;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-cat-label {
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 9px;
}
.category-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f2f3f7;
  border-radius: 10px;
  padding: 7px 12px;
}
.category-toggle input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #23304a;
}
.category-toggle .locked {
  color: #679186;
  font-size: 1.2rem;
  margin-left: 4px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 7px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn {
  min-width: 95px;
  text-align: center;
}

@media (max-width: 520px) {
  .cookie-modal {
    padding: 15px 8px 17px 8px;
    border-radius: 10px;
  }
}

/* === FORMS (if any will be provided in the future) === */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  background: #f2f3f7;
  border: 1px solid #c4c8d0;
  border-radius: 8px;
  padding: 10px 14px;
  color: #23304a;
  margin-bottom: 14px;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #679186;
  outline: none;
}

/* === UTILITIES === */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.gap-32 { gap: 32px !important; }

/* === ACCESSIBILITY HIDDEN FOR ICONS === */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  border: 0;
}

/* === END === */
