/* --- RESET & NORMALIZE --- */
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: #EFF3F7;
  color: #183153;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #183153;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #3065A6;
  outline: none;
}
ul, ol {
  list-style-position: inside;
  padding-left: 0;
}

/* --- VARIABLES --- */
:root {
  --color-primary: #183153;
  --color-secondary: #9FB1C6;
  --color-accent: #EFF3F7;
  --color-white: #FFF;
  --color-black: #000;
  --color-shadow: rgba(24, 49, 83, 0.07);
  --radius: 16px;
  --shadow: 0 4px 16px var(--color-shadow);
  --font-display: 'Montserrat', 'Arial', sans-serif;
  --font-body: 'Roboto', 'Arial', sans-serif;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 24px;
  --font-size-xxl: 32px;
  --font-size-hero: 2.5rem;
  --spacing-xs: 8px;
  --spacing-s: 16px;
  --spacing-m: 24px;
  --spacing-l: 32px;
  --spacing-xl: 48px;
  --spacing-section: 40px 20px;
  --shadow-card: 0 2px 12px rgba(24,49,83,0.05);
}

/* --- STRUCTURE --- */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-m);
  margin-bottom: 0;
}

.text-section {
  max-width: 720px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: var(--font-size-hero);
  line-height: 1.15;
}
h2 {
  font-size: var(--font-size-xxl);
  line-height: 1.2;
}
h3 {
  font-size: var(--font-size-xl);
  line-height: 1.22;
  margin-bottom: 8px;
}
h4 {
  font-size: var(--font-size-lg);
  line-height: 1.3;
}
p, li {
  font-size: var(--font-size-base);
  line-height: 1.67;
  margin-bottom: 8px;
  color: #22395D;
}
ul, ol {
  margin-bottom: var(--spacing-s);
  color: #22395D;
}
strong {
  font-weight: 700;
}


/* --- HEADER --- */
header {
  background: var(--color-white);
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 0;
  z-index: 1060;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 20px;
}
header img {
  width: 155px;
  height: auto;
}

header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.02em;
  padding: 6px 15px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a.active {
  background: var(--color-accent);
  color: var(--color-primary);
}

.cta-btn {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  padding: 11px 26px 11px 26px;
  border-radius: 32px;
  background: var(--color-primary);
  color: var(--color-white);
  margin-left: 0;
  border: none;
  box-shadow: var(--shadow-card);
  transition: background 0.17s, transform 0.13s, box-shadow 0.17s;
  display: inline-block;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #1F4881;
  color: #fff;
  box-shadow: 0 2px 20px rgba(24,49,83,0.13);
  transform: translateY(-2px) scale(1.035);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  font-size: 32px;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.1s;
  margin-left: 10px;
  z-index: 1201;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
}

.mobile-menu {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-accent);
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.45, 0.03, 0.52, 0.96);
  box-shadow: 0 0 32px 8px var(--color-shadow);
  display: flex;
  flex-direction: column;
  padding: 32px 24px 24px 32px;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 36px;
  cursor: pointer;
  margin-bottom: 36px;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: var(--color-white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-primary);
  padding: 10px 0;
  width: 100%;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: var(--color-secondary);
}
@media (max-width: 1024px) {
  header .container {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .cta-btn {
    margin-right: 16px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 600px) {
  .cta-btn {
    display: none;
  }
}

/* --- HERO / FEATURE GRIDS --- */
.feature-grid, .service-cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
  justify-content: flex-start;
}
.feature-grid > div, .service-card {
  flex: 1 1 220px;
  min-width: 220px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 28px 22px 24px 22px;
  margin-bottom: 20px;
  position: relative;
  border: 2.5px solid var(--color-accent);
  transition: box-shadow 0.17s, border 0.13s, transform 0.13s;
}
.feature-grid > div:hover, .service-card:hover {
  box-shadow: 0 6px 32px #9FB1C650;
  border: 2.5px solid var(--color-secondary);
  transform: translateY(-3px) scale(1.015);
}
.feature-grid img, .service-card img {
  max-width: 44px;
  margin-bottom: 10px;
  margin-top: -14px;
}
.service-card h2 {
  font-size: 20px;
  margin-bottom: 4px;
}
.service-price {
  margin-top: 8px;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
  background: var(--color-accent);
  border-radius: 10px;
  padding: 5px 18px;
  font-size: 16px;
}

@media (max-width: 900px) {
  .feature-grid, .service-cards {
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (max-width: 650px) {
  .feature-grid, .service-cards {
    flex-direction: column;
    gap: 20px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--spacing-m);
  margin-bottom: 20px;
  position: relative;
}

/* --- FLEX CONTENT 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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

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

/* --- TEAM MEMBERS --- */
.team-member-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 2px solid var(--color-accent);
  margin-bottom: 20px;
  padding: 26px 18px 20px 22px;
  flex: 1 1 270px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border 0.15s, box-shadow 0.2s, transform 0.14s;
}
.team-member-card:hover {
  border: 2px solid var(--color-secondary);
  box-shadow: 0 6px 32px #9FB1C650;
  transform: translateY(-2px) scale(1.017);
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--color-accent);
  color: var(--color-primary);
}
.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 0;
  color: #213758;
}
.testimonial-card div {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #425D82;
}

@media (max-width: 600px) {
  .testimonial-card {
    padding: 16px;
    gap: 10px;
  }
}

/* --- FAQ ACCORDION --- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-accordion > div {
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  border-radius: 12px;
  border: 2px solid var(--color-accent);
  padding: 18px 18px 13px 18px;
  margin-bottom: 0;
  transition: border 0.16s, box-shadow 0.16s;
}
.faq-accordion > div:hover {
  border: 2px solid var(--color-secondary);
  box-shadow: 0 7px 32px #9FB1C630;
}
.faq-accordion h2 {
  font-size: 1.18rem;
  margin: 0 0 6px 0;
  font-family: var(--font-display);
  font-weight: 600;
}
.faq-accordion p {
  margin-bottom: 0;
}

/* --- CONTACT SECTION --- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.contact-form-placeholder, .map-placeholder {
  background: var(--color-accent);
  color: #364C64;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-style: italic;
  font-size: 1rem;
  margin: 10px 0 0 0;
}


/* --- FOOTER --- */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 0;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  box-shadow: 0 -4px 24px #22395d10;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 40px 20px 26px 20px;
}
footer a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 15px;
  transition: color 0.18s, text-decoration 0.18s;
}
footer a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  margin-top: 0;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 170px;
  margin-top: 8px;
  margin-bottom: 8px;
}
footer img {
  width: 52px;
  margin-bottom: 18px;
}
footer small {
  color: #b3bed0;
  width: 100%;
  display: block;
  margin-top: 12px;
  font-size: 13px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 10px 16px 10px;
    gap: 18px;
  }
  footer nav {
    flex-direction: row;
    gap: 15px;
    margin: 0 0 8px 0;
  }
}


/* --- UTILS & ACCESSIBILITY --- */
.visually-hidden {
  position: absolute !important;
  clip: rect(1px,1px,1px,1px);
  padding:0 !important;
  border:0 !important;
  height:1px !important;
  width:1px !important;
  overflow: hidden !important;
}

/* Highlight geometric/structured shape accents for style */
.section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
  border-radius: 30px;
  background: transparent;
}
@media (max-width: 700px) {
  .section {
    padding: 28px 10px !important;
  }
}

/* --- BUTTONS & INTERACTIVE --- */
button, .cta-btn {
  outline: none;
}
button:focus-visible, .cta-btn:focus-visible {
  outline: 2.5px solid var(--color-secondary);
  outline-offset: 2px;
}

/* --- CARDS SPACING --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- SECTION SPACING ADJUST ON MOBILE --- */
@media (max-width: 700px) {
  section, .section {
    padding: 22px 6px !important;
    margin-bottom: 36px;
  }
  .feature-grid, .service-cards {
    gap: 14px;
  }
}

/* --- TYPOGRAPHY RESPONSIVE --- */
@media (max-width: 650px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .service-card h2, h3 { font-size: 1.1rem; }
  section, .section { padding: 16px 3px !important; }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-white);
  color: var(--color-primary);
  border-top: 3px solid var(--color-secondary);
  box-shadow: 0 -4px 24px #22395d10;
  z-index: 4000;
  padding: 18px 20px 12px 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  opacity: 1;
  transition: opacity 0.35s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 14px;
  padding: 8px 22px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 9px #9FB1C618;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 700;
  transition: background 0.14s, color 0.14s;
  margin-left: 0;
}
.cookie-banner .accept {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner button.settings {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #22395d;
  color: #fff;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 16px 8px 8px 8px;
    font-size: 14px;
  }
  .cookie-banner .cookie-buttons {
    gap: 9px;
    flex-direction: column;
    align-items: stretch;
  }
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24,49,83,0.28);
  z-index: 7000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.33s;
}
.cookie-modal-overlay.show {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: 18px;
  box-shadow: 0 4px 48px #18315328;
  max-width: 420px;
  width: 93vw;
  padding: 34px 30px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  font-size: 15px;
  transform: translateY(60px) scale(0.97);
  transition: transform 0.31s, opacity 0.33s;
  opacity: 0;
}
.cookie-modal-overlay.show .cookie-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 10px;
  font-size: 20px;
  cursor: pointer;
  padding: 6px 13px;
  transition: background 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-secondary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.cookie-category input[type='checkbox'],
.cookie-category input[type='radio'] {
  accent-color: var(--color-primary);
  width: 18px;
  height: 18px;
}
.cookie-category label {
  font-family: var(--font-body);
  font-size: 15.5px;
}
.cookie-category .always-on {
  color: var(--color-secondary);
  font-weight: bold;
  margin-left: 9px;
  font-size: 0.97em;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 11px;
}
.cookie-modal-actions button {
  font-family: var(--font-display);
  font-size: 15px;
  padding: 9px 26px;
  border-radius: 23px;
  border: none;
  margin-left: 0;
  cursor: pointer;
  box-shadow: 0 2px 10px #9FB1C618;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal-actions button.secondary {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: #22395d;
  color: #fff;
}
.cookie-modal-actions button.secondary:hover {
  background: var(--color-secondary);
  color: #fff;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 17px 5vw 15px 5vw;
  }
}

/* --- GEOMETRIC & STRUCTURED SHAPE ACCENTS --- */
.section, .feature-grid > div, .service-card, .team-member-card, .faq-accordion > div, .testimonial-card, .card {
  /* 'Polygonal' accent corners using box-shadow/light borders */
  border-radius: 22px 38px 18px 30px/28px 16px 38px 18px;
  /* For a geometric, architectural feel */
}

/* Highlighted Accent Voronoi style */
.section {
  position: relative;
}
.section::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -24px;
  right: -38px;
  width: 90px;
  height: 90px;
  background: var(--color-secondary);
  opacity: 0.12;
  border-radius: 16px 50% 42% 26% / 36% 80% 10% 26%;
  transform: rotate(-18deg);
  pointer-events: none;
}
.section::after {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: -18px;
  left: -32px;
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  opacity: 0.10;
  border-radius: 50% 24% 33% 12% / 18% 70% 20% 38%;
  transform: rotate(8deg);
  pointer-events: none;
}

/* Fallback for smaller screens */
@media (max-width: 650px) {
  .section::before, .section::after {
    display: none;
  }
}

/* --- MICRO-INTERACTIONS --- */
a, button, .cta-btn {
  transition: all 0.18s cubic-bezier(0.45,0.08,0.52,1);
}
a:active, .cta-btn:active, button:active {
  opacity: 0.91;
  transform: scale(0.98);
}

/* --- SELECTION COLOR --- */
::selection {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* --- SCROLLBAR (for structured, modern feel) --- */
::-webkit-scrollbar {
  width: 8px;
  background: #EFF3F7;
}
::-webkit-scrollbar-thumb {
  background: #B7C7DA;
  border-radius: 10px;
}

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