/* ===== CSS RESET & NORMALIZE ===== */
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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background: #F7FAFC;
  color: #1A3F5A;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1A3F5A;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus { outline: 2px solid #377D62; outline-offset: 2px; }
button { font-family: inherit; background: none; border: none; cursor: pointer; }

/* ===== FONT IMPORTS ===== */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Merriweather:700&display=swap');

/* ===== TYPOGRAPHY ===== */
h1, .hero h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1A3F5A;
  margin-bottom: 16px;
  line-height: 1.18;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Merriweather', serif;
  color: #1A3F5A;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.235rem;
  font-weight: 600;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #157D39;
  margin-bottom: 10px;
}
h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
p, ul, ol, address {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #273B48;
  font-size: 1rem;
  margin-bottom: 12px;
}
strong { font-weight: 700; color: #1A3F5A; }
ul, ol {
  margin-left: 18px;
  margin-bottom: 12px;
  padding-left: 18px;
}
li { margin-bottom: 7px; }
address { font-style: normal; font-size: 0.97rem; color: #4E6C85; }

/* ===== CONTAINERS & LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  margin-bottom: 60px;
  padding: 40px 20px 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(26,63,90,0.045);
}

/* ===== HEADER ===== */
header {
  background: #ffffff;
  box-shadow: 0 2px 12px 0 rgba(26,63,90,0.07);
  border-bottom: 1px solid #e7eff6;
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 72px;
}
.logo img, .footer-logo img {
  height: 44px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-size: 1.02rem;
  font-weight: 600;
  color: #1A3F5A;
  transition: color 0.18s;
  padding: 7px 0;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #157D39;
}
.cta-button {
  background: #157D39;
  border-radius: 8px;
  color: #fff;
  padding: 12px 26px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-left: 20px;
  box-shadow: 0 1px 6px 0 rgba(21,125,57,0.08);
  display: inline-block;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  border:none;
  outline:none;
}
.cta-button:hover,
.cta-button:focus {
  background: #1A3F5A;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 16px 0 rgba(21,125,57,0.15);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #157D39;
  background: rgba(226,245,236,0.7);
  padding: 8px 12px;
  border-radius: 8px;
  margin-left: 18px;
  z-index: 22;
  border: none;
  transition: background 0.19s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #E7EFF6;
  outline: 2px solid #377D62;
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,63,90,0.95);
  transform: translateX(110%);
  transition: transform 0.32s cubic-bezier(0.6,0,0.41,1);
  z-index: 1111;
  padding: 0 0 0 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.05rem;
  color: #E7EFF6;
  background: transparent;
  margin: 24px 24px 0 0;
  align-self: flex-end;
  border-radius: 8px;
  padding: 8px 12px;
  border: none;
  cursor: pointer;
  transition: background 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #377D62;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 45px 28px 0 28px;
}
.mobile-nav a {
  color: #E7EFF6;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 16px 0;
  border-bottom: 1px solid rgba(231,239,246,0.16);
  width: 100%;
  transition: color 0.15s, background 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #FFD600;
  background: rgba(21,125,57,0.18);
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(100deg, #E7EFF6 60%, #fff 100%);
  padding: 60px 0 24px 0;
  border-bottom: 1px solid #E7EFF6;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 40px 0 0 0;
  margin-bottom: 32px;
}
.hero p {
  font-size: 1.18rem;
  max-width: 680px;
  color: #325875;
}

/* ===== FEATURES GRID, CARDS, FLEX LAYOUTS ===== */
.features-grid, .services-grid, .team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 28px 0 0 0;
}
.features-grid > div, .service-card, .team-list > div {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(26,63,90,0.04);
  padding: 22px 20px 22px 20px;
  min-width: 220px;
  min-height: 175px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.19s, transform 0.13s;
  margin-bottom: 20px;
}
.features-grid > div:hover,
.service-card:hover,
.team-list > div:hover {
  box-shadow: 0 6px 28px 0 rgba(26,63,90,0.10);
  transform: translateY(-4px) scale(1.025);
}
.features-grid img, .service-card img {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
}
.features-grid h3, .service-card h3 {
  margin-top: 0;
}

.services-grid {
  margin-top: 26px;
  margin-bottom: 10px;
}
.service-card .price {
  color: #157D39;
  font-weight: bold;
  font-size: 1.10rem;
  margin-top: 10px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(26, 63, 90, 0.06);
  padding: 24px 22px;
  margin-bottom: 20px;
  min-width: 260px;
  flex: 1 1 240px;
  transition: box-shadow 0.14s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 6px 22px 0 rgba(26,63,90,0.12);
  transform: translateY(-3px);
}

.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: #E7EFF6;
  border-radius: 10px;
  box-shadow: 0 1px 6px 0 rgba(26,63,90,0.05);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  max-width: 700px;
  color: #1A3F5A;
}
.testimonial-card p {
  font-size: 1.15rem;
  color: #1A3F5A;
  margin: 0 0 0 0;
  flex: 5 1 auto;
}
.testimonial-card span {
  color: #377D62;
  font-weight: 600;
  font-size: 1.06rem;
  flex: 2 0 120px;
  padding-left: 6px;
}
.testimonial-card div {
  color: #FFD600;
  font-size: 1.3rem;
  margin-left: auto;
}

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

.cta-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(55,125,98,0.06);
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 22px;
  margin-bottom: 24px;
}
.cta-box .cta-button {
  margin: 0 0 0 0;
  align-self: flex-start;
}

.usp-list {
  margin-top: 23px;
  margin-bottom: 0;
  padding-left: 1.6rem;
  font-size: 1rem;
}
.usp-list li {
  margin-bottom: 7px;
  line-height: 1.62;
}

.faq-list {
  margin-top: 15px;
  margin-bottom: 0;
  padding-left: 1.6rem;
  font-size: 1rem;
}
.faq-list li {
  margin-bottom: 14px;
  line-height: 1.58;
}

.team-list {
  gap: 32px;
}
.team-list > div {
  min-width: 220px;
  min-height: 160px;
}
.team-values {
  margin-top: 32px;
  font-size: 1.08rem;
  color: #377D62;
  font-weight: 600;
}

.map-placeholder {
  background: #E7EFF6;
  border-radius: 7px;
  padding: 20px 14px;
  color: #3667A6;
  font-size: 1.04rem;
  margin: 16px 0 18px 0;
  font-style: italic;
}
.contact-details ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}
.contact-details li {
  margin-bottom: 7px;
}

/* ===== FOOTER ===== */
footer {
  background: #1A3F5A;
  color: #fff;
  padding: 38px 0 0 0;
  margin-top: 50px;
  border-top: 1px solid #e7eff6;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  justify-content: center;
}
.footer-logo img {
  height: 34px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #E7EFF6;
  font-size: 1rem;
  transition: color 0.17s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #FFD600;
}
footer address {
  color: #B7CFDD;
  font-size: 0.98rem;
  text-align: center;
  margin-bottom: 18px;
  margin-top: 0px;
}

/* ===== BUTTONS & LINK STYLES ===== */
button, .cta-button, input[type="submit"] {
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  outline: none;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #1A3F5A;
  color: #fff;
  box-shadow: 0 -2px 12px 0 rgba(26,63,90,0.13);
  z-index: 7777;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px 18px 18px 18px;
  font-size: 1.05rem;
  gap: 18px;
  animation: slideUpCookie 0.45s 0s cubic-bezier(0.6,0,0.41,1) both;
}
@keyframes slideUpCookie {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 17px;
  margin-top: 7px;
}
.cookie-banner button {
  border-radius: 7px;
  padding: 9px 18px;
  font-size: 1rem;
  font-weight: 600;
  background: #E7EFF6;
  color: #1A3F5A;
  border: none;
  transition: background 0.17s, color 0.17s;
}
.cookie-banner .accept {
  background: #157D39;
  color: #fff;
}
.cookie-banner .accept:hover { background: #377D62; }
.cookie-banner .reject { background: #E7EFF6; color: #1A3F5A; }
.cookie-banner .reject:hover { background: #D3E4F0; }
.cookie-banner .settings {
  background: #fff;
  color: #1A3F5A;
}
.cookie-banner .settings:hover { background: #ADCEDD; }

/* ===== COOKIE CONSENT MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(26,63,90,0.60);
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModalBg 0.2s cubic-bezier(0.41,1,0.6,1) both;
}
@keyframes fadeInModalBg {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #1A3F5A;
  padding: 32px 26px;
  border-radius: 15px;
  width: 98%;
  max-width: 410px;
  box-shadow: 0 6px 30px 0 rgba(26,63,90,0.16);
  z-index: 9991;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: scaleInModal 0.25s cubic-bezier(0.41,1,0.6,1) both;
}
@keyframes scaleInModal {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 15px; right: 20px;
  background: transparent;
  color: #377D62;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 7px;
  transition: background 0.15s;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  background: #E7EFF6;
}
.cookie-prefs-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-pref-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.07rem;
  margin-bottom: 5px;
}
.cookie-pref-label {
  font-weight: 600;
  color: #1A3F5A;
}
.cookie-pref-toggle {
  width: 19px;
  height: 19px;
  accent-color: #157D39;
  cursor: pointer;
}
.cookie-pref-essential {
  font-size: 0.92rem;
  color: #377D62;
  font-weight: 600;
  margin-left: 1rem;
}

.cookie-modal .cookie-btns {
  display: flex;
  gap: 14px;
  margin-top: 7px;
}
.cookie-modal .accept {
  background: #157D39;
  color: #fff;
}
.cookie-modal .accept:hover { background: #1A3F5A; }
.cookie-modal .reject { background: #E7EFF6; color: #1A3F5A; }
.cookie-modal .reject:hover { background: #377D62; color: #fff; }


/* ===== MEDIA QUERIES ===== */
@media (max-width: 1150px) {
  .container {
    max-width: 100%;
    padding: 0 11px;
  }
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
  .footer-nav {
    gap: 15px;
  }
  .features-grid, .services-grid, .team-list {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .features-grid > div, .service-card, .team-list > div, .card {
    min-width: 160px;
    flex: 1 1 340px;
    padding: 18px 10px 18px 10px;
  }
}
@media (max-width: 768px) {
  .header .container,
  header .container {
    flex-direction: row;
    min-height: 64px;
    padding: 0 8px;
  }
  .logo img, .footer-logo img {
    height: 33px;
  }
  .main-nav {
    display: none;
  }
  .cta-button {
    margin-left: 0;
    font-size: 1rem;
    padding: 10px 16px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .features-grid, .services-grid, .team-list {
    flex-direction: column;
    gap: 12px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .section, .content-wrapper {
    padding: 26px 8px 0 8px;
  }
  .hero .content-wrapper {
    padding: 30px 6px 0 6px;
    margin-bottom: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 15px 12px;
    max-width: 100%;
    font-size: 0.98rem;
  }
  footer .container {
    flex-direction: column;
    gap: 12px;
    padding: 0 6px;
  }
  .team-list {
    gap: 12px;
  }
  .cta-box {
    padding: 14px 8px;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 21px;
    align-items: center;
  }
}
@media (max-width: 520px) {
  h1, .hero h1 {
    font-size: 2rem;
  }
  h2 { font-size: 1.36rem; }
  .content-wrapper, .section {
    padding: 14px 3px 0 3px;
  }
  .hero { padding: 27px 0 12px 0; }
  .cta-button { font-size: 0.97rem; padding: 8px 10px; }
  .map-placeholder {
    padding: 14px 3px;
    font-size: 0.99rem;
  }
  .features-grid > div, .service-card, .team-list > div {
    min-width: 0;
    padding: 11px 6px 11px 6px;
  }
}

/* ===== UTILITIES ===== */
.mt-30 { margin-top: 30px; }
.mt-16 { margin-top: 16px; }
.mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ===== MICRO-INTERACTIONS TRANSITIONS ===== */
.card, .features-grid > div, .service-card, .team-list > div, .cta-box, .cta-button, .main-nav a, .footer-nav a {
  transition: box-shadow 0.17s, background 0.18s, color 0.17s, transform 0.16s;
}

/* ===== HIGHLIGHTS ===== */
::selection {
  background: #E7EFF6;
  color: #1A3F5A;
}

/* ===== FORM ELEMENTS ===== */
input, textarea, select {
  border-radius: 6px;
  border: 1px solid #ADCEDD;
  padding: 8px 12px;
  font-size: 1rem;
  margin-bottom: 14px;
  font-family: inherit;
  box-shadow: 0 1px 4px 0 rgba(26,63,90,0.03);
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #377D62;
  outline: 2px solid #157D39;
}

/* ===== OTHER ===== */
.social-snippet {
  color: #377D62;
  font-size: 1.03rem;
  margin-bottom: 12px;
  font-style: italic;
}

/* === Hide scroll from body when mobile menu or modal is open (set via JS/class) === */
.body-modal-open {
  overflow: hidden;
  touch-action: none;
}
