/* 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, 
main, 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 {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #F4F4F9;
  color: #2C2D31;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 16px;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #2C2D31;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #79A7A6;
  outline: none;
}
b, strong {
  font-weight: 600;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #2C2D31;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  line-height: 1.13;
}
h1 {
  font-size: 2rem;
  margin-bottom: 24px;
  text-transform: uppercase;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
  font-weight: 600;
}
.text-section h3 { /* extra space in text sections */
  margin-top: 16px;
  margin-bottom: 8px;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
}

em {
  font-style: italic;
  color: #79A7A6;
}

/* LAYOUT CONTAINERS */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 12px 0 rgba(44,45,49,0.07);
  display: flex;
  flex-direction: column;
  padding: 28px 20px;
  min-width: 240px;
  flex: 1 1 280px;
  border: 2px solid #F4F4F9;
  transition: box-shadow 0.2s, border 0.2s;
}
.card:hover {
  border: 2px solid #79A7A6;
  box-shadow: 0 8px 28px 0 rgba(44,45,49,0.12);
  z-index: 2;
}

.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 {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px 26px 14px 26px;
  box-shadow: 0 3px 14px 0 rgba(44,45,49,0.10);
  margin-bottom: 20px;
  border-left: 5px solid #79A7A6;
  border-right: 5px solid #2C2D31;
  min-width: 230px;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.testimonial-card p {
  color: #202123;
  font-style: italic;
}
.testimonial-card div {
  font-size: 15px;
  font-weight: 500;
  color: #2C2D31;
  min-width: 120px;
}
.testimonial-card:hover {
  box-shadow: 0 10px 32px 0 rgba(44,45,49,0.18);
  transform: translateY(-2px) scale(1.01);
  border-left-color: #2C2D31;
  border-right-color: #79A7A6;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 9px 0 rgba(44,45,49,0.05);
  padding: 20px 18px 20px 18px;
  margin-bottom: 20px;
  min-width: 220px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.features-grid > div {
  background: #fff;
  border-radius: 16px;
  border: 2.5px solid #E3E6EA;
  box-shadow: 0 3px 14px 0 rgba(44,45,49,0.05);
  min-width: 210px;
  flex: 1 1 260px;
  padding: 28px 16px 24px 16px;
  text-align: left;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.features-grid img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 16px;
}
.features-grid h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
  color: #2C2D31;
}
.features-grid p {
  font-size: 1rem;
  color: #363740;
}
.features-grid > div:hover {
  border-color: #79A7A6;
  box-shadow: 0 8px 32px 0 rgba(44,45,49,0.13);
  transform: translateY(-3px) scale(1.02);
  z-index: 1;
}

.text-section {
  margin-bottom: 24px;
}

/* HERO SECTION */
.hero {
  background: #fff;
  padding: 60px 0 48px 0;
  margin-bottom: 60px;
  border-bottom: 6px solid #79A7A6;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  max-width: 900px;
}
.hero h1 {
  font-size: 2.2rem;
  letter-spacing: 0.04em;
}
.hero p {
  font-size: 1.18rem;
  color: #505050;
  margin-bottom: 32px;
}

/* CTA BUTTONS */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #2C2D31;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  border: none;
  border-radius: 32px;
  padding: 13px 33px 13px 33px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 10px;
  cursor: pointer;
  box-shadow: 0 3px 18px 0 rgba(44,45,49,0.10);
  transition: background 0.14s, color 0.14s, box-shadow 0.13s, transform 0.18s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #79A7A6;
  color: #2C2D31;
  transform: translateY(-1px) scale(1.024);
}

/* NAVIGATION */
header {
  background: #fff;
  border-bottom: 2px solid #E3E6EA;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 90;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0 20px;
  min-height: 68px;
  gap: 12px;
}
header .logo img {
  height: 46px;
  width: auto;
  margin-right: 25px;
  display: block;
}
header nav .logo {
  margin-right: 18px;
}
header nav a:not(.logo) {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 12px 14px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
header nav a:not(.cta-primary):hover,
header nav a:not(.cta-primary):focus {
  background: #F4F4F9;
  color: #79A7A6;
}

/* Hide mobile menu toggle by default on desktop */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  color: #2C2D31;
  margin-left: auto;
  z-index: 110;
  transition: color 0.2s;
  padding: 0 16px;
  align-self: center;
}
.mobile-menu-toggle:focus {
  color: #79A7A6;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #2C2D31;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.87,-0.41,.19,1.44);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  position: absolute;
  top: 26px;
  right: 24px;
  z-index: 2100;
  cursor: pointer;
  padding: 0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding-top: 55px;
  padding-left: 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.22rem;
  color: #fff;
  letter-spacing: 0.05em;
  border-radius: 8px;
  padding: 13px 18px;
  transition: background 0.18s, color 0.18s;
  margin-right: 24px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #79A7A6;
  color: #2C2D31;
}

/* COOKIE CONSENT */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2C2D31;
  color: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 -4px 30px 0 rgba(44,45,49,0.10);
  padding: 22px 16px 20px 16px;
  gap: 16px;
  font-size: 1rem;
  transition: transform 0.34s cubic-bezier(.66,-0.41,.19,1.44), opacity 0.18s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.cookie-banner .cookie-banner-text {
  max-width: 710px;
  text-align: center;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 11px 28px;
  margin: 0;
  border: none;
  border-radius: 22px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
  box-shadow: 0 2px 7px rgba(44,45,49,0.07);
  outline: none;
}
.cookie-btn.accept {
  background: #79A7A6;
  color: #2C2D31;
  font-weight: 700;
}
.cookie-btn.reject {
  background: #fff;
  color: #2C2D31;
  border: 2px solid #79A7A6;
  font-weight: 500;
}
.cookie-btn.settings {
  background: #2C2D31;
  color: #fff;
  border: 2px solid #79A7A6;
  font-weight: 500;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #F4F4F9;
  color: #2C2D31;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #2C2D31;
  color: #79A7A6;
}
/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,45,49,0.52);
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s;
}
.cookie-modal {
  background: #fff;
  color: #2C2D31;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(44,45,49,0.19);
  padding: 44px 26px 32px 26px;
  min-width: 320px;
  max-width: 420px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.cookie-modal h2 {
  font-size: 1.23rem;
  font-weight: 700;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 11px 0;
}
.cookie-modal-category label {
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-modal-switch {
  appearance: none;
  width: 42px;
  height: 22px;
  background: #E3E6EA;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  outline: none;
}
.cookie-modal-switch:checked {
  background: #79A7A6;
}
.cookie-modal-switch::before {
  content: '';
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  width: 17px;
  height: 17px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.15s;
  box-shadow: 0 2px 6px rgba(44,45,49,0.07);
}
.cookie-modal-switch:checked::before {
  transform: translateX(18px);
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  position: absolute;
  top: 17px;
  right: 17px;
  cursor: pointer;
  color: #2C2D31;
  transition: color 0.13s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  color: #79A7A6;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 2px solid #E3E6EA;
  padding: 26px 20px 18px 20px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 18px;
  align-items: center;
  justify-content: flex-start;
}
footer nav a {
  font-size: 0.97rem;
  color: #2C2D31;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.82;
  letter-spacing: 0.02em;
  transition: color 0.16s, opacity 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: #79A7A6;
  opacity: 1;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  color: #808085;
  font-size: 0.96rem;
}
.footer-brand img {
  height: 38px;
  width: auto;
}

/* GENERAL UTILITIES */
.rounded {
  border-radius: 17px;
}
.shadow {
  box-shadow: 0 2px 9px 0 rgba(44,45,49,0.11);
}
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }

/* ANIMATIONS AND TRANSITIONS */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.slide-in-right {
  animation: slideInRight 0.37s cubic-bezier(.66,-0.41,.19,1.44) forwards;
}
@keyframes slideInRight {
  0% { transform: translateX(100%); }
  100% { transform: translateX(0); }
}
.slide-in-bottom {
  animation: slideInBottom 0.38s cubic-bezier(.66,-0.41,.19,1.44) forwards;
}
@keyframes slideInBottom {
  0% { transform: translateY(60px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .container {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
  header nav {
    gap: 4px;
  }
  .footer-brand img { height: 32px; }
}

@media (max-width: 900px) {
  .features-grid {
    gap: 18px;
  }
  .features-grid > div,
  .card {
    min-width: 44vw;
    flex: 1 1 270px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .features-grid {
    flex-direction: column;
    gap: 18px;
  }
  .features-grid > div,
  .card {
    min-width: 95vw;
    flex: 1 1 98vw;
  }
  .testimonial-card {
    min-width: 96vw;
    max-width: 98vw;
    flex-direction: column;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .section, .hero {
    padding: 30px 6px;
  }
  .hero {
    padding-top: 38px;
    padding-bottom: 36px;
  }
  .content-wrapper {
    padding: 0;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.08rem; }
  h3 { font-size: 0.99rem; }
  .hero p, .features-grid p { font-size: 0.98rem; }
  .footer-brand img { height: 27px; }
}

@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HANDLE OVERLAPPING & FLEX LAYOUTS */
/* Ensure cards/sections NEVER overlap: always proper gap/margin */
.card, .features-grid > div, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}
.section > *:not(:last-child),
.content-wrapper > *:not(:last-child),
.text-section > *:not(:last-child) {
  margin-bottom: 16px;
}

/* =============== GEOMETRIC STRUCTURED DECOR =============== */
/* Geometric accents as pseudo elements for hero sections */
.hero .container {
  position: relative;
}
.hero .container::before,
.hero .container::after {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.hero .container::before {
  width: 60px;
  height: 60px;
  background: #79A7A6;
  border-radius: 20% 80% 45% 55%/25% 85% 55% 25%;
  left: -32px;
  top: -32px;
  opacity: 0.10;
}
.hero .container::after {
  width: 94px;
  height: 44px;
  background: #2C2D31;
  border-radius: 13px 44px 16px 24px;
  right: -40px;
  bottom: -17px;
  opacity: 0.08;
}
.features-grid > div::before {
  content: '';
  display: block;
  width: 22px; height: 6px;
  background: #79A7A6;
  border-radius: 3px 10px 3px 10px;
  margin-bottom: 10px;
  opacity: 0.25;
}
.features-grid > div h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ========== FORMS ===================================================================== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 10px;
  border-radius: 7px;
  border: 1.5px solid #E3E6EA;
  background: #fff;
  color: #2C2D31;
  margin-bottom: 14px;
  box-sizing: border-box;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #79A7A6;
  outline: none;
}
button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: #79A7A6;
  color: #fff;
  transition: background 0.15s, color 0.15s;
}
button:hover, button:focus {
  background: #2C2D31;
  color: #fff;
}

/* ========== ACCESSIBILITY ========== */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid #79A7A6;
  outline-offset: 2px;
}

/* ========== PRINT STYLE ========== */
@media print {
  header, footer, .mobile-menu, .cookie-banner { display: none !important; }
  .section, .hero { padding: 10px 0 !important; }
  body { color: #000; background: #fff; }
}
/* Optional: utility classes for geometric layout detail */
.divider {
  width: 100px;
  height: 4px;
  background: #79A7A6;
  border-radius: 4px;
  margin: 34px 0 20px 0;
}
section {
  padding: 10px 0;
}