/* ==== 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;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #222;
  background: linear-gradient(135deg,#f5f5f4 0%, #eaf3f6 100%);
  min-height: 100vh;
  line-height: 1.7;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
ul, ol {
  margin-left: 18px;
}
a {
  color: #26547C;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #2E8C47;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* ==== TYPOGRAPHY ==== */
h1, .h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #26547C;
  letter-spacing: -0.5px;
  line-height: 1.16;
}
h2, .h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #2E8C47;
  line-height: 1.2;
}
h3, .h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #26547C;
}
h4, .h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 14px;
}
.subheadline {
  font-size: 1.25rem;
  color: #26547C;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-weight: 400;
  margin-bottom: 20px;
  opacity: .88;
}
strong, b {
  font-weight: 600;
}

.price-tag {
  background: #e2f3e7;
  color: #2E8C47;
  padding: 6px 16px;
  border-radius: 18px;
  font-weight: 600;
  display: inline-block;
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 12px;
}

/* ==== CONTAINER & LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 22px;
  padding-right: 22px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-grid, .card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 26px;
}

.feature-grid .service, .feature-item, .card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(38,84,124,.08), 0 1.5px 10px 0 rgba(46,140,71,.06);
  padding: 28px 24px;
  flex: 1 1 265px;
  margin-bottom: 20px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow .22s,transform .18s;
}
.feature-grid .service:hover, .card:hover {
  box-shadow: 0 6px 28px 0 rgba(38,84,124,0.14);
  transform: translateY(-4px) scale(1.025);
}
.card {
  margin-bottom: 20px;
  position: relative;
}

/* ==================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.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;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #f5f5f4;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(38,84,124,.06);
  color: #1a2330;
  font-size: 1.06rem;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.testimonial-author {
  font-style: italic;
  font-size: 0.97rem;
  color: #2E8C47;
  font-weight: 600;
}
.star-rating {
  color: #2E8C47;
  font-size: 1.15rem;
  letter-spacing: .05em;
  margin-bottom: 2px;
}

/* == CTA BUTTONS == */
.cta-btn,
.cta-btn.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 32px;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.09rem;
  padding: 14px 34px;
  min-width: 150px;
  box-shadow: 0 2px 18px 0 rgba(38,84,124,.08);
  transition: background 0.24s, color 0.18s, box-shadow 0.22s, transform 0.18s;
  cursor: pointer;
  margin: 12px 0 0 0;
  border: none;
}
.cta-btn {
  background: #e2f3e7;
  color: #2E8C47;
}
.cta-btn.primary {
  background: #26547C;
  color: #fff;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #2E8C47;
  color: #fff;
  box-shadow: 0 7px 24px 0 rgba(46,140,71,0.11);
  transform: translateY(-2px) scale(1.03);
}
.cta-btn:hover, .cta-btn:focus {
  background: #2E8C47;
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(46,140,71,0.09);
}

/* ==== HEADER & NAVIGATION ==== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 18px 0 rgba(38,84,124,0.05);
  position: relative;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-left: 28px;
}
.main-nav a {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #26547C;
  padding: 5px 12px;
  border-radius: 8px;
  transition: background .18s, color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #e2f3e7;
  color: #2E8C47;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.14rem;
  color: #2E8C47;
  background: transparent;
  border-radius: 8px;
  padding: 3px 14px;
  border: none;
  margin-left: auto;
  z-index: 45;
  transition: background .17s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #e2f3e7;
}

@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw; height: 100vh;
  background: rgba(38, 84, 124, 0.91);
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  transform: translateX(100%);
}
.mobile-menu.open {
  pointer-events: all;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  color: #fff;
  font-size: 2.15rem;
  background: none;
  border: none;
  position: absolute;
  right: 30px;
  top: 24px;
  z-index: 101;
  padding: 3px 7px;
  border-radius: 10px;
  transition: background .18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #2E8C47;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #fff;
  padding: 44px 40px 40px 32px;
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
  min-width: 270px;
  height: 100vh;
  align-items: flex-start;
  box-shadow: -4px 0 24px 0 rgba(38,84,124,0.13);
  overflow-y: auto;
  margin-left: auto;
}
.mobile-nav a {
  font-size: 1.15rem;
  font-weight: 600;
  color: #26547C;
  padding: 10px 6px;
  transition: color .17s, background .18s;
  border-radius: 6px;
  letter-spacing: 0.01em;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e2f3e7;
  color: #2E8C47;
}

@media (max-width: 600px) {
  .mobile-nav {
    padding: 36px 12px 32px 10px;
    min-width: 180px;
  }
}

/* ==== HERO SECTION ==== */
.hero {
  background: linear-gradient(114deg,#f5f5f4 60%, #d1e5f5 100%);
  padding: 54px 0 40px 0;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: #26547C;
}
.hero .cta-btn {
  margin-top: 18px;
}

.confirmation {
  background: linear-gradient(97deg,#e2f3e7 60%,#c2e3fa 100%);
  padding: 54px 0 40px 0;
}
.confirmation .container .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}

/* ==== FOOTER ==== */
footer {
  background: linear-gradient(90deg, #26547C 90%, #2E8C47 100%);
  color: #fff;
  padding: 0 0 0 0;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 30px;
  padding-bottom: 18px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.footer-top nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 140px;
}
.footer-top nav a {
  color: #e2f3e7;
  font-size: 1rem;
  font-family: 'Source Sans Pro', Arial,sans-serif;
  opacity: 0.91;
  transition: color .18s, opacity .16s;
}
.footer-top nav a:hover,
.footer-top nav a:focus {
  color: #fff;
  opacity: 1;
  text-decoration: underline;
}
.footer-top img {
  width: 54px;
  margin-bottom: 10px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 14px;
  font-size: 0.96rem;
  flex-wrap: wrap;
}
.footer-bottom .social-media {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-bottom .social-media img {
  width: 28px;
  height: 28px;
  vertical-align: middle;
  transition: filter .2s,transform .13s;
  filter: grayscale(0.15);
}
.footer-bottom .social-media img:hover,
.footer-bottom .social-media img:focus {
  filter: brightness(1.15) drop-shadow(0 0 4px #2E8C47);
  transform: scale(1.10) rotate(-5deg);
}

/* ==== FEATURE & LISTS ==== */
ul, ol {
  color: #26547C;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 22px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== CARDS & SHADOWS ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px 0 rgba(38,84,124,0.07);
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .22s, transform .18s;
}
.card:hover {
  box-shadow: 0 10px 36px 0 rgba(38,84,124,.13);
  transform: translateY(-5px) scale(1.026);
}

/* ==== MAP PLACEHOLDER ==== */
.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 210px;
  background: #eaf3f6;
  border: 1.2px solid #c0d2df;
  border-radius: 14px;
  color: #26547C;
  font-size: 1.1rem;
  margin-bottom: 14px;
  margin-top: 8px;
}

/* ==== RESPONSIVE LAYOUTS (FLEXBOX) ==== */
@media (max-width: 1000px) {
  .container {
    max-width: 100vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .feature-grid, .card-container, .card-grid, .content-grid {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .feature-grid, .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .feature-grid .service, .card {
    min-width: 0;
    width: 100%;
    padding: 18px 10px;
  }
  .section {
    padding: 26px 5px 32px 5px;
  }
  .hero, .confirmation {
    padding: 36px 0 22px 0;
  }
  .footer-top {
    flex-direction: column;
    gap: 15px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

/* ==== TABLES, FORMS (if any) ==== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
}
th, td {
  border: 1px solid #eaf3f6;
  padding: 10px;
}
th {
  background: #e2f3e7;
  color: #2E8C47;
  font-weight: 600;
}

/* ==== MICRO-INTERACTIONS & TRANSITIONS ==== */
input, textarea, select {
  border-radius: 7px;
  border: 1.3px solid #dbe8ee;
  padding: 10px 14px;
  background: #f5f5f4;
  font-size: 1rem;
  margin-bottom: 12px;
  outline: none;
  font-family: inherit;
  transition: border .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #2E8C47;
}
label {
  font-size: 1rem;
  color: #26547C;
  display: block;
  margin-bottom: 6px;
}

/* ==== COOKIE CONSENT ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 20001;
  width: 100vw;
  background: #26547C;
  color: #fff;
  padding: 26px 16px 18px 16px;
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 0 30px 10px rgba(38,84,124,0.12);
  font-size: 1rem;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  opacity: 1;
  pointer-events: all;
  transition: opacity .21s,transform .33s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.cookie-banner .cookie-text {
  flex: 2 1 300px;
  font-size: 1rem;
  opacity: 0.97;
  margin-right: 10px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  border-radius: 34px;
  font-family: 'Source Sans Pro', Arial,sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 22px;
  border: none;
  background: #2E8C47;
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(46,140,71,.10);
  margin: 0;
  transition: background .18s, color .17s, box-shadow .18s, transform .11s;
}
.cookie-btn.settings {
  background: #fff;
  color: #26547C;
  border: 1px solid #2E8C47;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: #2E8C47;
  box-shadow: 0 6px 20px 0 rgba(46,140,71,0.10);
  outline: none;
  transform: scale(1.04);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #2E8C47;
  color: #fff;
}

@media (max-width: 730px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 9px 8px 9px;
    gap: 12px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-btns {
    gap: 9px;
    flex-wrap: wrap;
  }
}

/* ==== COOKIE MODAL ==== */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 20005;
  background: rgba(38,84,124,0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  transition: opacity .18s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 17px;
  max-width: 430px;
  box-shadow: 0 8px 60px rgba(38,84,124,.21);
  padding: 36px 30px 30px 30px;
  color: #26547C;
  animation: cookieModalPop .28s cubic-bezier(0.65,0.04,0.24,1.34);
  display: flex;
  flex-direction: column;
  gap: 21px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 18px;
  background: #fff;
  color: #2E8C47;
  font-size: 1.7rem;
  border: none;
  border-radius: 7px;
  padding: 3px 10px;
  transition: background .15s;
  z-index: 22;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #e2f3e7;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category label {
  margin-bottom: 0;
  color: #26547C;
  font-size: 1rem;
}
.cookie-modal .toggle {
  appearance: none;
  width: 34px;
  height: 18px;
  background: #e2f3e7;
  border-radius: 16px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .19s;
  border: 1.5px solid #c7e6d2;
}
.cookie-modal .toggle:checked {
  background: #2E8C47;
  border-color: #21793b;
}
.cookie-modal .toggle::before {
  content: '';
  display: block;
  position: absolute;
  left: 2px; top: 2.3px;
  width: 13px; height: 13px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 .5px 2.5px 0 rgba(46,140,71,.12);
  transition: left .17s;
}
.cookie-modal .toggle:checked::before {
  left: 17px;
}

@keyframes cookieModalPop {
  0% {
    transform: scale(.92) translateY(28px);
    opacity: 0.5;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@media (max-width:540px) {
  .cookie-modal-content {
    max-width: 97vw;
    padding: 18px 8px;
    gap: 12px;
  }
}

/* ========== SPACING, LISTS, OLs ========== */
ul li, ol li {
  margin-bottom: 9px;
  padding-left: 0;
}
ol {
  margin-left: 28px;
}

.section + .section {
  margin-top: 12px;
}

/* ========== ACCESSIBILITY & HIDE ========== */
[hidden] { display: none!important; }

/* ========== OTHER OVERRIDES ========== */
::-webkit-input-placeholder { color: #7e929c; opacity:.7; }
::-moz-placeholder { color: #7e929c; opacity:.7; }
:-ms-input-placeholder { color: #7e929c; opacity:.7; }
::placeholder { color: #7e929c; opacity:.7; }

/* ===== ACTIVE STATES FOR NAV ===== */
.main-nav a.active, .mobile-nav a.active {
  background: #2E8C47;
  color: #fff !important;
  font-weight: 700;
}

/* == Misc. == */
.section:last-child {
  margin-bottom: 0;
}

/* ===== BRAND FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Source+Sans+Pro:wght@400;600&display=swap');
