/* 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 {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1D2331;
  background: #fff;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background-color: #fff;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: #1D2331;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; letter-spacing: -0.02em; }
h2 { font-size: 2rem; margin-bottom: 20px; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; margin-bottom: 16px; }
h4, h5, h6 { font-size: 1.125rem; }
p, li, span, strong {
  font-size: 1rem;
  color: #1D2331;
  line-height: 1.6;
}
strong { font-weight: 600; }
.text-section h2, .text-section h3 {
  margin-top: 16px;
  margin-bottom: 16px;
}

/* CONTAINER & LAYOUT */
.container {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(29,35,49,0.06);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 240px;
  min-width: 220px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(29,35,49,.07);
  transition: box-shadow .2s;
}
.card:hover {
  box-shadow: 0 4px 24px 0 rgba(29,35,49,.12);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 20px;
  gap: 16px;
}
.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;
  padding: 24px;
  background: #F4F4F4;
  border-radius: 14px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(29,35,49,0.08);
  min-width: 220px;
  max-width: 540px;
  transition: box-shadow .2s;
}
.testimonial-card strong {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 3px;
}
.testimonial-card span {
  color: #58B09C;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 6px;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px 0 rgba(88,176,156,.15);
  z-index: 1;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F4F4F4;
  border-radius: 12px;
  min-height: 80px;
  margin: 12px 0;
  padding: 16px;
  color: #1D2331;
  font-size: 1rem;
}

/* HEADER + NAVIGATION */
header {
  position: relative;
  z-index: 10;
  background: #fff;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 0;
  min-height: 68px;
  border-bottom: 1px solid #F4F4F4;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 32px;
  padding: 18px 0 18px 20px;
}
header .logo img { height: 38px; width: auto; }
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  flex: 1 1 auto;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #1D2331;
  padding: 8px 4px;
  opacity: 0.84;
  position: relative;
  transition: opacity 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  opacity: 1;
  color: #58B09C;
}

/* HEADER CTA BUTTON */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 48px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: #58B09C;
  box-shadow: 0 2px 10px 0 rgba(88,176,156,0.09);
  transition: background 0.16s, box-shadow 0.2s, transform .1s;
  margin-left: 20px;
  margin-right: 20px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #47A08A;
  box-shadow: 0 4px 24px 0 rgba(88,176,156,0.16);
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #1D2331;
  background: #F4F4F4;
  border-radius: 48px;
  padding: 10px 24px;
  border: none;
  margin-top: 16px;
  margin-bottom: 8px;
  transition: background 0.16s, color 0.16s, box-shadow .2s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #ECECEC;
  color: #58B09C;
  box-shadow: 0 2px 16px 0 rgba(88,176,156,0.07);
}

/* RESPONSIVE HEADER */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: #1D2331;
  background: none;
  border: none;
  padding: 8px 18px;
  margin-left: 10px;
  z-index: 201;
}

@media (max-width: 1060px) {
  .container { padding: 0 14px; }
  .main-nav { gap: 18px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 10px; }
}
@media (max-width: 768px) {
  header { flex-wrap: wrap; justify-content: space-between; }
  .main-nav { display: none !important; }
  .btn-primary { display: none !important; }
  .mobile-menu-toggle { display: inline-flex !important; } 
  .logo { margin-right: 0; padding: 18px 0 18px 14px; }
}

/* MOBILE MENU */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 300;
  transform: translateX(-110%);
  transition: transform 0.38s cubic-bezier(0.66,0,0.34,1);
  box-shadow: 6px 0 36px 0 rgba(29,35,49,0.10);
  padding-top: 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1D2331;
  padding: 18px 22px;
  margin-bottom: 30px;
  margin-top: 8px;
  cursor: pointer;
  transition: color 0.14s;
}
.mobile-menu-close:hover {
  color: #58B09C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 12px 32px 24px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.16rem;
  padding: 11px 0;
  color: #1D2331;
  border-bottom: 1px solid #F4F4F4;
  width: 100%;
  display: block;
  transition: color 0.16s, background 0.14s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #58B09C;
  background: #F4F4F4;
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* MAIN SECTIONS + CARDS */
main > section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: transparent;
}
@media (max-width: 600px) {
  main > section, .section {
    padding: 24px 6px;
  }
}

ul > li {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
}
ul > li img {
  width: 26px; height: 26px;
  margin-right: 8px;
  flex-shrink: 0;
}

/* BUTTON INTERACTION */
a.btn-primary, .btn-primary, a.btn-secondary, .btn-secondary {
  transition: background 0.18s, box-shadow 0.17s, color 0.14s, transform 0.12s;
}

/* SOCIAL LINKS IN FOOTER */
.social-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  width: 32px;
  border-radius: 50%;
  background: #F4F4F4;
  transition: background 0.15s, box-shadow 0.15s;
}
.social-links a img {
  width: 18px;
  height: 18px;
  filter: grayscale(0.5);
}
.social-links a:hover, .social-links a:focus {
  background: #58B09C;
}
.social-links a:hover img, .social-links a:focus img {
  filter: none;
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1px solid #F4F4F4;
  margin-top: 50px;
  padding: 30px 0 10px 0;
  font-size: 0.98rem;
}
footer .content-wrapper {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
footer .brand-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
footer .brand-info img {
  width: 36px; height: 36px; margin-right: 4px;
}
footer .footer-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
footer .footer-nav a {
  color: #1D2331;
  opacity: 0.8;
  font-size: 1rem;
  transition: color 0.18s, opacity 0.16s;
}
footer .footer-nav a:hover {
  color: #58B09C;
  opacity: 1;
}
@media (max-width: 1050px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  footer .footer-nav { gap: 10px; }
}
@media (max-width: 600px) {
  footer .content-wrapper {
    gap: 8px;
    padding: 0 5px;
  }
  footer {
    padding: 14px 0 8px 0;
  }
}

/* FORMS, TABLES & CODE (for future/addition) */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  background: #F4F4F4;
  border: 1px solid #ECECEC;
  border-radius: 8px;
  padding: 9px 15px;
  margin-bottom: 18px;
  transition: border-color 0.18s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #58B09C;
}

/* UTILITIES & HELPERS */
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; }

/* --- RESPONSIVE & FLEX REALIGNMENT --- */
@media (max-width: 900px) {
  .content-wrapper, .text-image-section, .content-grid, .card-container {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .container { padding: 0 8px; }
  .testimonial-card { min-width: 0; max-width: 100%; }
}

/* COOKIES BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 14px 0 rgba(29,35,49,0.11);
  border-top: 1px solid #ECECEC;
  z-index: 1005;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  gap: 32px;
  font-size: 1rem;
  transition: transform 0.38s cubic-bezier(0.4,0.34,0.4,1), opacity 0.18s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner-message {
  flex: 1 1 180px;
  color: #1D2331;
}
.cookie-banner-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 24px;
  border: none;
  margin: 0 0 0 0;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.18s;
}
.cookie-btn.accept {
  background: #58B09C;
  color: #fff;
}
.cookie-btn.reject {
  background: #ECECEC;
  color: #1D2331;
}
.cookie-btn.settings {
  background: #F4F4F4;
  color: #1D2331;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #3D8871;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e0e0e0;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #e6e6e6;
}
@media (max-width: 640px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 8px 18px 8px;
    gap: 14px;
  }
  .cookie-banner-actions {
    justify-content: flex-end;
    gap: 12px;
  }
}

/* COOKIES MODAL */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(29,35,49,0.26);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 36px 0 rgba(29,35,49,0.17);
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 420px;
  min-width: 280px;
  z-index: 2000;
  gap: 16px;
  opacity: 1;
  animation: fadeInUp 0.34s;
}
@keyframes fadeInUp {
  from { opacity: 0; transform:translateY(40px); }
  to   { opacity: 1; transform:translateY(0); }
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1D2331;
}
.cookie-modal-body {
  margin-bottom: 24px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.cookie-toggle {
  width: 40px; height: 22px;
  border-radius: 11px;
  background: #ECECEC;
  position: relative;
  margin-right: 8px;
  transition: background 0.18s;
  flex-shrink: 0;
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 40px; height: 22px;
  position: absolute;
  left: 0; top: 0;
}
.cookie-toggle .toggle-slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px 0 rgba(29,35,49,0.09);
  transition: left 0.18s, background 0.18s;
}
.cookie-toggle input[type="checkbox"]:checked + .toggle-slider {
  left: 20px;
  background: #58B09C;
}
.cookie-toggle input[type="checkbox"]:checked ~ .toggle-slider,
.cookie-toggle input[type="checkbox"]:checked + .toggle-slider {
  background: #58B09C;
}
.cookie-category-label {
  font-size: 1rem;
  color: #1D2331;
  flex: 1 1 auto;
}
.cookie-category-desc {
  font-size: 0.99rem;
  color: #69707F;
  opacity: 0.9;
  flex: 1 1 auto;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 20px;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  min-width: 90px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 20px;
  font-size: 1.45rem;
  color: #59B09C;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  width: 32px; height: 32px;
  display: flex;
  align-items: center; justify-content: center;
  transition: background 0.13s;
}
.cookie-modal-close:hover {
  background: #F4F4F4;
}

@media (max-width: 480px) {
  .cookie-modal { padding: 18px 10px; min-width: unset; }
  .cookie-modal-title { font-size: 1.07rem; }
}

/* ACCESSIBILITY: FOCUS VISIBLE */
a:focus-visible, button:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible, .cookie-btn:focus-visible {
  outline: 2px solid #58B09C;
  outline-offset: 2px;
  z-index: 21;
}

/* CUSTOM SCROLLBAR*/
::-webkit-scrollbar { width: 9px; background:#F4F4F4; }
::-webkit-scrollbar-thumb { background:#ECECEC; border-radius:6px; }
::-webkit-scrollbar-thumb:hover { background: #D5D5D5; }

/* TRANSITIONS & MICRO-INTERACTIONS */
.card,.testimonial-card,.btn-primary,.btn-secondary,.cookie-btn,.mobile-menu {
  transition-property: background, box-shadow, color, transform, opacity;
  transition-duration: 0.14s,0.18s,0.15s,0.13s,0.18s;
}

/* VISUAL HIERARCHY */
section h1 + p, section h2 + p,
.content-wrapper > h1 + p, .content-wrapper > h2 + p {
  margin-top: -10px;
}
@media (max-width: 640px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.28rem; }
  h3 { font-size: 1.1rem; }
  .testimonial-card { padding: 13px 8px; }
}

/* Z-INDEX REFERENCE */
.mobile-menu { z-index: 300; }
.cookie-consent-banner { z-index: 1005; }
.cookie-modal-backdrop { z-index: 1200; }

/* PREVENT OVERLAPPING - GAPS */
main > section:not(:last-child) { margin-bottom: 60px; }
.section:not(:last-child) { margin-bottom: 60px; }
.card:not(:last-child), .testimonial-card:not(:last-child) { margin-bottom: 20px; }
.content-wrapper > *:not(:last-child) { margin-bottom: 0; }

/* NO ABSOLUTE POSITION FOR CARDS, ONLY DECORATIVE ALLOWED */

/* PRINT FRIENDLY */
@media print {
  header, footer, .cookie-consent-banner, .cookie-modal-backdrop { display:none !important; }
  .container { padding: 0; }
}
