/* ========================
   RESET & NORMALIZATION
======================== */
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;
  vertical-align: baseline;
  font: inherit;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #24384C;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after { box-sizing: inherit; }
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
a {
  color: #327167;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus { color: #1c594e; }
ul, ol {list-style: none;}


/* =======================
    CUSTOM PROPERTIES
======================= */
:root {
  --brand-primary: #327167;
  --brand-secondary: #24384C;
  --brand-accent: #F3EED9;
  --brand-dark: #172128;
  --brand-white: #fff;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}


/* ==============
   TYPOGRAPHY
============== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--brand-secondary);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 18px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 16px; }
h3 { font-size: 1.25rem; line-height: 1.25; margin-bottom: 10px; }
h4, h5 { font-size: 1.1rem; }

p, li, address, ul li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--brand-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

strong, b, .font-bold {
  font-weight: 700;
}

.text-section h2,
.text-section h1 {
  color: var(--brand-primary);
}


/* =================
    LAYOUT SYSTEM
================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--brand-accent);
  border-radius: 24px;
  box-shadow: 0 6px 24px rgba(50,113,103,0.08);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 10px 40px rgba(50,113,103,0.13);
  transform: translateY(-2px) scale(1.012);
}

.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;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;  
  background: var(--brand-accent);
  border-radius: 20px;
  box-shadow: 0 4px 22px 0 rgba(50,113,103,0.07);
  padding: 30px 24px 26px;
  min-width: 260px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.15s;
  border-left: 8px solid var(--brand-primary);
}
.feature-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
}
.feature-item:hover {
  box-shadow: 0 8px 32px rgba(36,56,76,0.16);
  border-color: var(--brand-secondary);
  transform: scale(1.02);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0 40px 0;
}
.service-item {
  background: var(--brand-accent);
  border-radius: 18px;
  padding: 32px 22px;
  box-shadow: 0 3px 16px 0 rgba(50,113,103,0.08);
  flex: 1 1 230px;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-item h3 {
  color: var(--brand-primary);
}
.service-item strong {
  color: var(--brand-secondary);
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-top: 8px;
  font-weight: 800;
}
.service-item:hover {
  box-shadow: 0 8px 30px rgba(36,56,76,0.12);
  transform: translateY(-2px) scale(1.015);
  transition: all 0.18s;
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.team-member {
  background: var(--brand-accent);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 4px 22px 0 rgba(50,113,103,0.07);
  flex: 1 1 240px;
  min-width: 210px;
  margin-bottom: 20px;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: var(--brand-accent);
  padding: 48px 0;
  margin-bottom: 48px;
  border-radius: 0 0 32px 32px;
}
.testimonials .container {
  align-items: flex-start;
}
.testimonial-list,
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--brand-white);
  color: var(--brand-secondary);
  padding: 28px 28px 18px 28px;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(36,56,76,0.11);
  min-width: 260px;
  max-width: 420px;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: var(--brand-secondary);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 6px;
}
.testimonial-card strong {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--brand-primary);
  letter-spacing: 0.02em;
}


/* ================
     HERO SECTION
================= */
.hero-section {
  min-height: 340px;
  padding: 70px 0 78px 0;
  background: linear-gradient(115deg, var(--brand-primary) 70%, var(--brand-accent) 100%);
  color: var(--brand-white);
  position: relative;
  border-radius: 0 0 32px 32px;
  margin-bottom: 52px;
  overflow: hidden;
}
.hero-section h1, .hero-section h2, .hero-section .text-section p {
  color: var(--brand-white);
}
.hero-section .text-section {
  max-width: 620px;
  padding: 0 8px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}


/* ===================
        CTA BUTTON
=================== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--brand-white);
  background: var(--brand-primary);
  border-radius: 36px;
  padding: 16px 38px;
  box-shadow: 0 2px 14px 0 rgba(50,113,103,0.14);
  text-transform: uppercase;
  border: none;
  margin-top: 10px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.18s, transform 0.12s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--brand-secondary);
  color: var(--brand-accent);
  transform: scale(1.04) translateY(-1px);
  box-shadow: 0 5px 20px 0 rgba(36,56,76,0.19);
}


/* ===============
      HEADER
================ */
header {
  width: 100%;
  background: var(--brand-white);
  box-shadow: 0 2px 16px 0 rgba(36,56,76,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}
.logo img {
  height: 42px;
  width: auto;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  margin-left: 12px;
}
nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.03rem;
  color: var(--brand-secondary);
  padding: 8px 0;    
  position: relative;
  transition: color 0.15s;
}
nav a:hover, nav a:focus {
  color: var(--brand-primary);
}

/* Hide burger menu on desktop, show on mobile */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--brand-primary);
  background: none;
  border: none;
  margin-left: 14px;
  cursor: pointer;
  z-index: 200;
  transition: color 0.15s, transform 0.18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  color: var(--brand-secondary);
  transform: scale(1.06);
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,56,76,0.75);
  z-index: 999;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.34s cubic-bezier(.6,.04,.98,.335), visibility 0.31s;
  pointer-events: none;
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu nav {
  background: var(--brand-white);
  border-radius: 0 0 0 32px;
  min-width: 270px;
  width: 80vw;
  max-width: 350px;
  box-shadow: -3px 0 32px 0 rgba(36,56,76,0.35);
  padding: 48px 26px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.6,.04,.98,.335);
  position: relative;
}
.mobile-menu.open nav {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: var(--brand-secondary);
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--brand-primary);
  transform: scale(1.11);
}
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--brand-secondary);
  font-size: 1.1rem;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  width: 100%;
  display: inline-block;
  transition: color 0.12s, background 0.16s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-primary);
  background: var(--brand-accent);
}


/* ===================
      FOOTER
=================== */
footer {
  background: var(--brand-secondary);
  color: var(--brand-white);
  padding: 38px 0 28px 0;
  border-radius: 32px 32px 0 0;
  margin-top: 74px;
}
footer .container {
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  gap: 32px;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
.footer-menu a {
  color: var(--brand-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.14s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--brand-accent);
}
.social-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.social-links img {
  width: 32px;
  height: 32px;
  filter: grayscale(0.3) opacity(0.85);
  transition: filter 0.13s, transform 0.14s;
  cursor: pointer;
}
.social-links img:hover, .social-links img:focus {
  filter: none;
  transform: scale(1.12) rotate(-7deg);
}
.copyright {
  color: #a9b9c4;
  font-size: 0.97rem;
  margin-left: 18px;
  font-family: var(--font-body);
}


/* ===============
    LEGAL PAGES
=============== */
.legal-section {
  background: var(--brand-accent);
  border-radius: 24px;
  padding: 48px 28px 38px 28px;
  margin: 40px 0 60px 0;
  box-shadow: 0 4px 24px 0 rgba(36,56,76,0.10);
}
.legal-section h1, .legal-section h2 {
  color: var(--brand-primary);
}
.legal-section ul {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}
.legal-section li {
  margin-bottom: 10px;
}


/* ===============
    ABOUT PAGE
=============== */
.about-short {
  background: var(--brand-accent);
  border-radius: 22px;
  margin-bottom: 46px;
  padding: 36px 24px 32px;
  box-shadow: 0 4px 18px rgba(50,113,103,0.09);
}

.team-section {
  margin-bottom: 60px;
  padding: 44px 0 28px 0;
}


/* ================
    CTA SECTIONS
================ */
.cta-section {
  background: var(--brand-primary);
  color: var(--brand-white);
  padding: 44px 0 38px 0;
  margin-bottom: 60px;
  border-radius: 28px;
  text-align: center;
}
.cta-section .text-section {
  align-items: center;
  justify-content: center;
}
.cta-section h2 {
  color: var(--brand-white);
}
.cta-section .cta-btn {
  background: var(--brand-accent);
  color: var(--brand-primary);
  transition: background 0.11s, color 0.12s;
}
.cta-section .cta-btn:hover, .cta-section .cta-btn:focus {
  background: var(--brand-secondary);
  color: var(--brand-accent);
}


/* ==========================
    CONTACT PAGE COMPONENTS
========================== */
.contact-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--brand-accent);
  border-radius: 16px;
  padding: 24px 18px;
  color: var(--brand-secondary);
  box-shadow: 0 3px 8px 0 rgba(50,113,103,0.07);
  margin-top: 16px;
}
.contact-details a {
  color: var(--brand-primary);
  text-decoration: underline;
}

.location-info {
  margin-bottom: 64px;
  padding: 44px 0 28px 0;
}
.location-info ul {
  margin: 14px 0 0 18px;
  padding-left: 14px;
  list-style: disc inside;
}

.confirmation-section {
  background: var(--brand-accent);
  border-radius: 24px;
  padding: 40px 28px 38px 28px;
  margin: 40px 0 64px 0;
  box-shadow: 0 4px 20px rgba(36,56,76,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}


/* ================
   MISC COMPONENTS
================ */
ul {
  margin-bottom: 12px;
  padding-left: 20px;
  list-style: disc outside;
}
li {
  margin-bottom: 7px;
}

hr {
  border: none;
  border-top: 2px solid var(--brand-accent);
  margin: 32px 0;
}

/* ===============================
   COOKIE CONSENT BANNER & MODAL
================================ */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--brand-dark);
  color: var(--brand-accent);
  box-shadow: 0 -3px 13px 0 rgba(36,56,76,0.16);
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1rem;
  animation: cookie-slide-up 0.44s ease;
}
.cookie-consent-banner span {
  color: var(--brand-accent);
  font-size: 1.09rem;
}
.cookie-btn-group {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  border: none;
  padding: 12px 24px;
  border-radius: 26px;
  background: var(--brand-primary);
  color: var(--brand-accent);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s, color 0.15s, transform 0.14s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--brand-accent);
  color: var(--brand-primary);
  transform: scale(1.04);
}
.cookie-btn.reject {
  background: #ffffff14;
  color: #fff;
  border: 2px solid var(--brand-accent);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--brand-white);
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}
.cookie-btn.settings {
  background: transparent;
  color: var(--brand-accent);
  border: 2px solid var(--brand-accent);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--brand-accent);
  color: var(--brand-primary);
}
@keyframes cookie-slide-up {
  from {transform: translateY(100%); opacity:0;}
  to {transform: translateY(0); opacity:1;}
}

.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(36,56,76,0.92);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.19s, opacity 0.25s;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal-content {
  background: var(--brand-white);
  color: var(--brand-secondary);
  width: 90vw;
  max-width: 400px;
  border-radius: 22px;
  padding: 36px 28px;
  box-shadow: 0 10px 48px 0 rgba(36,56,76,0.23);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 21px;
  animation: modal-fadeIn 0.35s cubic-bezier(.65,.49,.63,1);
  position: relative;
}
@keyframes modal-fadeIn {
  from { transform: scale(0.9) translateY(40px); opacity:0; }
  to   { transform: scale(1) translateY(0);   opacity:1; }
}
.cookie-modal-content h2 {
  color: var(--brand-primary);
  font-size: 1.23rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  width: 100%;
}
.cookie-category label {
  font-size: 1.03rem;
}
.cookie-category input[type="checkbox"] {
  width: 19px;
  height: 19px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 21px;
  font-size: 1.9rem;
  background: none;
  border: none;
  color: var(--brand-secondary);
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: var(--brand-primary);
  transform: scale(1.12);
}

/* ==================
     RESPONSIVE
================== */
@media (max-width: 1100px){
  .container{max-width:970px;}
  .content-wrapper, .card-container, .features-grid, .testimonial-list, .testimonial-slider {
    gap: 18px;
  }
}
@media (max-width: 900px){
  .container{max-width:98vw;}
  .content-wrapper, .service-list, .features-grid {
    gap: 14px;
  }
  .team-list, .testimonial-list, .testimonial-slider {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }

  /* Navbar */
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }

  nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .logo {
    margin-right: auto;
  }

  /* Containers row->col */
  .content-wrapper,
  .features-grid,
  .service-list,
  .team-list,
  .testimonial-list,
  .testimonial-slider {
    flex-direction: column;
    gap: 14px;
  }
  .section, .hero-section, .about-short, .cta-section, .contact-section, .legal-section {
    padding-left: 8px; padding-right: 8px;
  }
  .feature-item, .service-item, .team-member {
    min-width: unset; width: 100%;
  }
  .testimonial-card {
    min-width: unset; max-width: 99vw;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 10px 18px;
    font-size: 0.95rem;
  }
  .cookie-modal-content {
    padding: 28px 10px;
    width: 94vw;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .location-info, .team-section, .about-short, .cta-section, .testimonials,
    .legal-section, .confirmation-section {
    margin-bottom: 34px;
    border-radius: 14px;
    padding: 24px 6px 16px 6px;
  }
  footer {
    padding: 22px 0 18px 0;
    margin-top: 32px;
    border-radius: 12px 12px 0 0;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-menu {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
  }
  .copyright {
    margin-left: 0; margin-top: 6px;
  }
}
@media (max-width: 500px) {
  html { font-size: 14px; }
  .hero-section {
    min-height: 170px;
    padding: 44px 0 52px 0;
    border-radius: 0 0 14px 14px;
  }
  .testimonials {
    border-radius: 0 0 18px 18px;
  }
}

/* ==================
    MICRO-INTERACTIONS
=================== */
.btn, .cta-btn, .cookie-btn {
  transition: background 0.19s, color 0.17s, box-shadow 0.16s, transform 0.13s;
}
.feature-item, .service-item, .card {
  transition: box-shadow 0.15s, border-color 0.13s, transform 0.14s;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* =================
     UTILITY
================= */
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
.text-center { text-align: center; }

/* ===============
     VISUAL EXTRAS
================ */
/* Decorative geometric shape */
.hero-section::before {
  content: '';
  display: block;
  position: absolute;
  top: -60px; right: -70px;
  width: 290px; height: 190px;
  background: var(--brand-accent);
  opacity: 0.21;
  border-radius: 45% 65% 65% 45%;
  z-index: 1;
}
.hero-section > .container {
  position: relative;
  z-index: 3;
}

/* =================
     PRINT HIDE
================= */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-consent-banner, .cookie-modal, nav, .cta-btn, .footer-menu, .social-links { display: none!important; }
  header, footer { box-shadow: none; }
}
