/* RESET & BASE --------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F6F5F5;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #232323;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
a {
  color: #22577A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #38A3A5;
}
ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
}

/* TYPOGRAPHY ------------------------------------------------------ */
h1, h2, h3, h4, h5 {
  font-family: 'Rubik', Arial, sans-serif;
  color: #22577A;
  margin-bottom: 0.65em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.18;
}
h3 {
  font-size: 1.35rem;
  font-weight: 500;
}
h4, h5 {
  font-size: 1.13rem;
}
.subheadline {
  font-size: 1.2rem;
  color: #38A3A5;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 24px;
}
.text-section h3,
.faq-snippets h3 {
  margin-top: 24px;
}

/* LAYOUT CONTAINERS ----------------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
}
.section,
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(56,163,165,0.07), 0 4px 24px rgba(34,87,122,0.05);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.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;
}

/* CARD STYLES ---------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(56,163,165,0.09);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.18s, transform 0.2s;
  min-width: 260px;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(34,87,122,0.16);
  transform: translateY(-4px) scale(1.02);
}

/* Features Grid & Items ------------------------------------------ */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}
.features-grid > div {
  background: #fff6ec;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(250,190,88,0.12);
  padding: 20px 18px;
  flex: 1 1 260px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.2s;
}
.features-grid > div:hover {
  box-shadow: 0 6px 32px rgba(56,163,165,0.18);
}
.features-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: #FFF8F0;
  padding: 6px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff6ec;
  border-radius: 16px;
  padding: 16px;
}

/* TESTIMONIALS ---------------------------------------------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff7ef;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(56,163,165,0.09);
  margin-bottom: 20px;
  color: #1d2b32;
  flex: 1 1 300px;
  transition: box-shadow 0.12s;
}
.testimonial-card span {
  margin-left: 10px;
  font-size: 1em;
  color: #22577A;
  font-weight: 500;
}
.testimonial-card:hover {
  box-shadow: 0 8px 16px rgba(34,87,122,0.19);
}

.faq-snippets {
  background: #f5f7fa;
  border-radius: 16px;
  padding: 18px 20px;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(56,163,165,0.06);
}
.faq-snippets ul {
  margin: 0;
}

/* BUTTONS & CALL TO ACTION ---------------------------------------- */
.cta-btn {
  display: inline-block;
  padding: 12px 32px;
  background: #38A3A5;
  color: #fff;
  font-family: 'Rubik', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(56,163,165,0.17);
  margin-top: 16px;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.19s, transform 0.16s;
  letter-spacing: 0.1em;
  text-align: center;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #22577A;
  color: #fff;
  box-shadow: 0 6px 28px rgba(34,87,122,0.17);
  transform: translateY(-2px) scale(1.03);
}
button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  background: #38A3A5;
  color: #fff;
  cursor: pointer;
  transition: background 0.17s, color 0.15s, box-shadow 0.18s;
}
button:hover, button:focus {
  background: #22577A;
  color: #fff;
  box-shadow: 0 4px 18px rgba(34,87,122,0.11);
}

/* HEADER --------------------------------------------------------- */
header {
  background: #fff;
  border-bottom: 1px solid #ececec;
  position: relative;
  z-index: 20;
  box-shadow: 0 2px 12px rgba(34,87,122,0.05);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 16px;
}
header img {
  height: 48px;
  border-radius: 12px;
  margin-right: 24px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Rubik', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #22577A;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.16s;
}
header nav a:hover, header nav a:focus {
  background: #f0f6fa;
  color: #38A3A5;
}
header .cta-btn {
  margin-left: 18px;
  margin-top: 0;
}
.mobile-menu-toggle {
  display: none;
  background: #fff3e6;
  color: #22577A;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.15s;
  box-shadow: 0 4px 16px rgba(250,190,88,0.09);
}
.mobile-menu-toggle:focus {
  outline: 2px solid #22577A;
  background: #ffecd2;
}

/* MOBILE NAVIGATION ---------------------------------------------- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.7,.2,.2,1);
  box-shadow: 0 8px 38px rgba(34,87,122,0.18);
  padding: 60px 24px 32px 24px;
  overflow-y: auto;
}
.mobile-menu--open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #ffecd2;
  color: #22577A;
  font-size: 2.1rem;
  align-self: flex-end;
  margin-bottom: 22px;
  border-radius: 50%;
  padding: 8px 16px;
  box-shadow: 0 4px 20px rgba(250,190,88,0.11);
  transition: background 0.16s, color 0.14s;
  z-index: 2;
}
.mobile-menu-close:focus {
  outline: 2px solid #22577A;
  background: #ffe4b2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Rubik', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: #22577A;
  background: #fff9f1;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 0px;
  transition: background 0.16s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #38A3A5;
  color: #fff;
}

/* HERO ---------------------------------------------------------- */
.hero {
  background: linear-gradient(90deg, #fff6ec 60%, #f6f5f5 100%);
  padding: 48px 0 40px 0;
  margin-bottom: 56px;
  border-radius: 0 0 48px 48px;
  box-shadow: 0 6px 36px rgba(250,190,88,0.11);
}
.hero .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.hero .content-wrapper {
  max-width: 750px;
}
.hero h1 {
  margin-bottom: 18px;
}
.hero .cta-btn {
  margin-top: 26px;
}

/* CONTACT DETAILS ------------------------------------------------ */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 16px 0 20px 0;
  color: #1a2838;
}
.contact-details img {
  height: 20px;
  width: 20px;
  vertical-align: middle;
  margin-right: 7px;
  border-radius: 6px;
  background: #fdf6f0;
  padding: 2px;
}
.contact-summary {
  font-size: 1.11rem;
  color: #22577A;
  margin-bottom: 18px;
}

/* FOOTER --------------------------------------------------------- */
footer {
  background: #fff;
  border-top: 1px solid #ececec;
  padding: 36px 0 14px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  gap: 18px;
}
footer nav {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 14px;
}
footer nav a {
  color: #22577A;
  font-family: 'Rubik', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.16s;
  padding: 3px 14px;
  border-radius: 8px;
}
footer nav a:hover {
  color: #38A3A5;
  background: #f2f4f7;
}
.footer-info {
  text-align: center;
  color: #5a686d;
  font-size: 0.99rem;
  margin-top: 0;
}

/* COOKIE BANNER -------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #fff6ec;
  color: #1d2b32;
  border-top: 1px solid #ffe2b6;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px;
  box-shadow: 0 -2px 18px rgba(250,190,88,0.09);
  gap: 16px;
  transition: transform 0.25s ease;
}
.cookie-banner .cookie-text {
  flex: 1 1 auto;
  font-size: 1.07rem;
  margin-right: 12px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cookie-banner button {
  border-radius: 18px;
  padding: 10px 24px;
  font-size: 1rem;
  font-family: 'Rubik', Arial, sans-serif;
  border: none;
  outline: none;
  transition: background 0.14s, color 0.13s;
  font-weight: 600;
}
.cookie-banner .accept {
  background: #38A3A5;
  color: #fff;
  box-shadow: 0 2px 9px rgba(56,163,165,0.12);
}
.cookie-banner .accept:hover {
  background: #22577A;
  color: #fff;
}
.cookie-banner .reject {
  background: #fff;
  color: #db6f44;
  border: 1.5px solid #ffd1b6;
}
.cookie-banner .reject:hover {
  background: #ffe2b6;
}
.cookie-banner .settings {
  background: #fff;
  color: #38A3A5;
  border: 1.5px solid #38A3A5;
}
.cookie-banner .settings:hover {
  background: #e9fff9;
}
.cookie-banner--hide {
  transform: translateY(100%);
}

/* COOKIE MODAL --------------------------------------------------- */
.cookie-modal-overlay {
  background: rgba(34,87,122,0.38);
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.20s;
}
.cookie-modal {
  background: #fff7ef;
  color: #1d2b32;
  padding: 38px 26px 26px 26px;
  border-radius: 24px;
  box-shadow: 0 8px 38px rgba(250,190,88,0.15);
  min-width: 95%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  position: relative;
  animation: popup-fadein 0.34s cubic-bezier(.7,.2,.2,1);
}
@keyframes popup-fadein {
  0% { transform: scale(0.92) translateY(22px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 0.7em;
  text-align: left;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  margin-bottom: 6px;
  border-bottom: 1px solid #ffe6cb;
}
.cookie-modal label {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #22577A;
  font-weight: 500;
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ffd2ae;
  border-radius: 24px;
  transition: background 0.14s;
}
.cookie-modal .switch input:checked + .slider {
  background: #38A3A5;
}
.cookie-modal .slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  left: 3px;
  bottom: 3px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(56,163,165,0.17);
  transition: transform 0.20s;
}
.cookie-modal .switch input:checked + .slider::before {
  transform: translateX(20px);
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 12px;
  align-self: flex-end;
}
.cookie-modal .cookie-actions button {
  padding: 10px 22px;
  font-size: 1rem;
}

/* UTILITY CLASSES ------------------------------------------------ */
.text-section {
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* RESPONSIVE ----------------------------------------------------- */
@media (max-width: 1020px) {
  .container {
    max-width: 93vw;
  }
  .features-grid > div {
    min-width: 190px;
    font-size: 0.97rem;
  }
}
@media (max-width: 900px) {
  .features-grid {
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  body {
    font-size: 0.98rem;
  }
  .container {
    padding: 0 10px;
  }
  .section, main > section {
    padding: 28px 6px;
    margin-bottom: 39px;
  }
  .features-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px;
  }
  .footer-info {
    font-size: 0.93rem;
  }
  .hero {
    padding: 32px 0 20px 0;
    border-radius: 0 0 24px 24px;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
  header nav {
    display: none !important;
  }
  header .cta-btn {
    display: none !important;
  }
}
@media (max-width: 540px) {
  html { font-size: 14px; }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 8px;
    gap: 9px;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }
  .cookie-banner .cookie-text {
    margin-right: 0;
    font-size: 0.98rem;
  }
  .cookie-modal {
    min-width: 96vw;
    max-width: 98vw;
    padding: 18px 6px 10px 10px;
  }
  header img { height: 38px; }
}

/* ACCESSIBILITY -------------------------------------------------- */
:focus {
  outline: 2px solid #38A3A5;
  outline-offset: 2px;
}

/* MICRO-INTERACTIONS & ANIMATIONS -------------------------------- */
.cta-btn, button, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.15s, color 0.17s, box-shadow 0.19s, transform 0.19s;
}
.card, .features-grid > div, .testimonial-card {
  transition: box-shadow 0.165s, transform 0.17s;
}

/* SPECIAL LAYOUTS & DETAILS -------------------------------------- */
ul li img {
  vertical-align: middle;
  margin-right: 8px;
  height: 18px;
}

/* Hide mobile menu by default, show with open modifier */
.mobile-menu {
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.mobile-menu--open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}

/* Hide scroll bar on mobile menu for smooth look */
.mobile-menu {
  scrollbar-width: none;
}
.mobile-menu::-webkit-scrollbar {
  display: none;
}

/* UTILITIES ------------------------------------------------------ */
.gap-top { margin-top: 32px; }
.gap-bottom { margin-bottom: 32px !important; }

/* END */
