/* =======================
   RESET & BASE TYPOGRAPHY
   ======================= */

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: #F1F5F9;
  color: #161E2F;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  margin-left: 24px;
  margin-top: 8px;
  margin-bottom: 20px;
}
li {
  padding-left: .25em;
  margin-bottom: 8px;
  font-size: 1rem;
}
a {
  color: #13A3A1;
  text-decoration: none;
  transition: color .18s cubic-bezier(.4,0,.2,1);
}
a:hover,
a:focus {
  color: #161E2F;
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #161E2F;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.08rem;
  margin-top: 12px;
  font-weight: 600;
  color: #13A3A1;
}
p, .text-section p, .text-section ul {
  font-size: 1.08rem;
  margin-bottom: 16px;
}

strong, b {
  font-weight: 700;
}

/* =============
   LAYOUT SPACING & CONTAINERS
   ============= */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 5px 28px rgba(22,30,47,0.08);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  min-width: 250px;
  flex: 1 1 240px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(22,30,47,0.21);
  transform: translateY(-4px) scale(1.01);
  z-index: 2;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: none;
  font-size: 1.08rem;
  width: 100%;
}

.section > .container > h2 {
  margin-bottom: 24px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 8px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 5px 28px rgba(22,30,47,0.08);
  padding: 28px 20px 20px 20px;
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  border-bottom: 4px solid #13A3A1;
  transition: box-shadow .2s, border-color .2s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 32px rgba(22,30,47,0.18);
  border-bottom: 4px solid #161E2F;
}
.feature-grid img {
  width: 40px;
  height: 40px;
}

.promo-banner {
  margin-top: 20px;
  padding: 16px 20px;
  background: #13A3A1;
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  font-size: 1.08rem;
  box-shadow: 0 2px 12px rgba(22,30,47,0.06);
}

/* Testimonials */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  color: #161E2F;
  border-radius: 18px;
  box-shadow: 0 6px 28px rgba(22,30,47,0.12);
  font-size: 1.1rem;
  min-width: 260px;
  max-width: 500px;
  width: 100%;
  border-left: 6px solid #13A3A1;
  transition: box-shadow .2s, border-left-color .18s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 36px rgba(22,30,47,0.17);
  border-left-color: #161E2F;
}
.testimonial-card .stars {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  margin-top: -10px;
}
.testimonial-card h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #13A3A1;
  font-size: 1.04rem;
  margin-bottom: 0;
  font-weight: 600;
  margin-top: 12px;
}

/* Contact List Icon style */
.text-section ul li img,
ul li img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
}

/* CTA Buttons */
.cta {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  background: #13A3A1;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 42px;
  border: none;
  box-shadow: 0 2px 18px rgba(19,163,161,0.14);
  letter-spacing: .06em;
  transition: background .16s cubic-bezier(.4,0,.2,1), box-shadow .18s, transform .16s;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 12px;
  gap: 7px;
}
.cta.primary {
  background: #161E2F;
  color: #fff;
  box-shadow: 0 4px 24px rgba(22,30,47,0.18);
}
.cta:hover,
.cta:focus {
  background: #13A3A1;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 30px rgba(22,30,47,0.19);
  text-decoration: none;
  outline: none;
}
.cta:active {
  transform: scale(.98);
}

/* HEADER/NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px rgba(22,30,47,.10);
  padding: 0 0 0 0;
  z-index: 100;
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  min-height: 74px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header > a {
  margin-left: 24px;
  margin-right: 18px;
  display: flex;
  align-items: center;
  height: 64px;
}
header img {
  height: 54px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #161E2F;
  font-size: 1.09rem;
  padding: 8px 16px;
  border-radius: 24px;
  letter-spacing: 0.01em;
  transition: background .15s, color .15s;
}
nav a:hover, nav a:focus {
  background: #13A3A1;
  color: #fff;
}
nav a.cta.primary {
  margin-left: 32px;
  background: #13A3A1;
  color: #fff;
  font-weight: 800;
  letter-spacing: .03em;
  box-shadow: 0 4px 20px rgba(19,163,161,0.10);
  border: none;
  padding: 10px 26px;
}
nav a.cta.primary:hover, nav a.cta.primary:focus {
  background: #161E2F;
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  background: #13A3A1;
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 101;
  margin-left: 24px;
  cursor: pointer;
  transition: background .14s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #161E2F;
  color: #fff;
}

/* ====== MOBILE MENU ====== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 200;
  transform: translateX(-110vw);
  box-shadow: 0 8px 64px rgba(22,30,47,0.21);
  opacity: 0;
  pointer-events: none;
  transition: transform .42s cubic-bezier(.44,1.44,.38,.99), opacity .25s;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 14px 20px 0 0;
  background: #13A3A1;
  color: #fff;
  border: none;
  font-size: 2.25rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  transition: background .12s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #161E2F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
  height: 80vh;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #161E2F;
  font-size: 1.30rem;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: 16px;
  transition: background .16s, color .15s;
  min-width: 180px;
  text-align: center;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #13A3A1;
  color: #fff;
}

/* =============
   FOOTER
   ============= */
footer {
  background: #161E2F;
  color: #F1F5F9;
  padding: 40px 0 14px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer-links {
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-links a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color .15s;
  padding: 4px 10px;
  border-radius: 10px;
}
.footer-links a:hover,
.footer-links a:focus {
  color: #13A3A1;
  background: #fff;
}
footer img {
  height: 36px;
  width: auto;
  margin: 12px auto;
}
.social-media {
  display: flex;
  gap: 18px;
  margin: 10px 0 0 0;
}
.social-media a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #13A3A1;
  height: 38px;
  width: 38px;
  border-radius: 50%;
  transition: background .16s, transform .14s;
}
.social-media a:hover {
  background: #fff;
  transform: scale(1.10) rotate(-6deg);
}
.social-media img {
  width: 21px;
  height: 21px;
}
.footer-legal {
  font-size: 0.97rem;
  margin-top: 12px;
  color: #F1F5F9;
  opacity: 0.87;
}

/* ============
   MISCELLANEOUS & UTILITY
   ============ */
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 2px 12px rgba(22,30,47,0.07);
  margin: 14px 0 14px 0;
}
.map-placeholder img {
  width: 38px;
  height: 38px;
}

.section:last-child {
  margin-bottom: 0;
}

/* === FORMATTING HTML ELEMENTS/CONTENT === */
.text-section a {
  color: #4ffffd;
  font-weight: 500;
  border-bottom: 2px solid #13A3A1;
  transition: color .17s, border-color .2s;
}
.text-section a:hover, .text-section a:focus {
  color: #161E2F;
  border-bottom: 2px solid #161E2F;
}

/* ==============
  COOKIE BANNER
   ============== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 250;
  background: #fff;
  color: #161E2F;
  box-shadow: 0 -6px 32px rgba(22,30,47,0.12);
  padding: 30px 24px 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  animation: slideUpCookie 0.55s cubic-bezier(.6,2.0,.3,1) 1;
}
@keyframes slideUpCookie {
  from {transform: translateY(100%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  border-radius: 30px;
  padding: 11px 26px;
  margin: 0;
  cursor: pointer;
  transition: background .16s, color .15s, transform .13s;
  background: #13A3A1;
  color: #fff;
  box-shadow: 0 2px 12px rgba(19,163,161,0.09);
}
.cookie-banner button.reject {
  background: #fff;
  color: #161E2F;
  border: 2px solid #13A3A1;
}
.cookie-banner button.settings {
  background: #161E2F;
  color: #fff;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #161E2F;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  outline: none;
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 300;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(22,30,47,0.40);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
  animation: fadeInModal .2s ease-in 1;
}
@keyframes fadeInModal {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal {
  background: #fff;
  color: #161E2F;
  border-radius: 18px;
  box-shadow: 0 12px 56px rgba(22,30,47,0.22);
  padding: 36px 28px;
  max-width: 420px;
  min-width: 270px;
  width: 97vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideModal .38s cubic-bezier(.54,2,.28,1) 1;
}
@keyframes slideModal {
  from {transform: translateY(120px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-modal h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #f1f5f9;
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 12px;
}
.cookie-category .desc {
  max-width: 70%;
  font-size: 1rem;
  color: #444b5d;
}
.cookie-category .toggle {
  min-width: 58px;
  min-height: 32px;
}
.toggle-switch {
  appearance: none;
  width: 44px;
  height: 24px;
  background: #d0d6df;
  border-radius: 14px;
  position: relative;
  outline: none;
  border: none;
  transition: background .14s;
  cursor: pointer;
}
.toggle-switch:checked {
  background: #13A3A1;
}
.toggle-switch::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 2.5px;
  width: 19px;
  height: 19px;
  background: #fff;
  border-radius: 50%;
  transition: transform .19s cubic-bezier(.52,1.34,.17,1);
  box-shadow: 0 1px 3px rgba(22,30,47,0.09);
}
.toggle-switch:checked::before {
  transform: translateX(18px);
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .cookie-actions button {
  font-size: 1rem;
  padding: 10px 22px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 10px; right: 12px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: #161E2F;
  cursor: pointer;
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  h1 {
    font-size: 2rem;  
  }
  h2 {
    font-size: 1.45rem;
  }
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 20px;
  }
  .feature-grid {
    gap: 14px;
  }
  .card-container, .content-grid {
    gap: 15px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
    margin-right: 10px;
  }
  header > a {
    margin-left: 12px;
  }
  .section {
    padding: 26px 6px;
    margin-bottom: 44px;
  }
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
  .testimonial-card {
    min-width: 0;
    padding: 12px;
    font-size: 1rem;
  }
  .testimonials {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div, .card {
    min-width: 160px;
    max-width: 100%;
    padding: 16px 10px 14px 10px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .card-container {
    flex-direction: column;
  }
  .footer-legal {
    text-align: center;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 10px 14px 12px;
    font-size: 0.97rem;
  }
  .cookie-modal {
    padding: 16px 6px 24px 8px;
    box-shadow: 0 6px 32px rgba(22,30,47,0.13);
    min-width: 0;
    width: 99vw;
  }
}

@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  nav {
    display: flex;
  }
}
