/* === CSS RESET & BASELINE === */
/* Use Normalize + Reset Hybrid Approach */
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,
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { min-height: 100vh; background: #FAFAF7; color: #24252A; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; background: transparent; transition: color 0.2s; }
img {
  max-width: 100%;
  display: block;
  border: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
}
button {
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}
:focus {
  outline: 2px solid #6FC1B6;
  outline-offset: 2px;
}

/* === FONT DEFINITIONS === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');
html {
  font-size: 16px;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.62;
  background: #FAFAF7;
  color: #24252A;
  font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #24252A;
  letter-spacing: 0.01em;
  margin-bottom: 0.6em;
}
h1 { font-size: 2.5rem; margin-bottom: 0.5em; }
h2 { font-size: 2rem; margin-top: 1em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p, ul, ol, blockquote, li {
  font-size: 1rem;
  margin-bottom: 1.3em;
}

strong { font-weight: 600; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* === HEADER & NAVIGATION === */
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.logo-link img {
  width: 160px;
  height: auto;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}

.main-nav a {
  color: #24252A;
  padding: 8px 4px;
  font-size: 1rem;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #6FC1B6;
  color: #fff;
}

.cta.primary {
  background: #24252A;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 28px;
  font-size: 1.05rem;
  box-shadow: 0 2px 10px rgba(36,37,42,0.04);
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  border: none;
  margin-left: 16px;
  position: relative;
  z-index: 1;
}
.cta.primary:hover, .cta.primary:focus {
  background: #6FC1B6;
  color: #fff;
  box-shadow: 0 4px 20px rgba(36, 37, 42, 0.10);
}
.cta.secondary {
  background: none;
  color: #24252A;
  border: 1.5px solid #6FC1B6;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 28px;
  font-size: 1.05rem;
  margin-top: 24px;
  margin-bottom: 0;
  box-shadow: none;
  transition: background 0.18s, color 0.18s;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #6FC1B6;
  color: #fff;
  border-color: #6FC1B6;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #24252A;
  background: none;
  border: none;
  z-index: 10020;
  margin-left: 16px;
  transition: background 0.18s, color 0.18s;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #6FC1B6;
  color: #fff;
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #FAFAF7;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.65,.05,.36,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 20px 20px 24px;
  gap: 30px;
  box-shadow: -4px 0 32px rgba(36,37,42,0.06);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: none;
  color: #24252A;
  border: none;
  width: 48px; height: 48px;
  display: flex;
  align-items: center; justify-content: center;
  border-radius: 50%;
  margin-bottom: 16px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #6FC1B6;
  color: #fff;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  padding: 12px 8px;
  color: #24252A;
  border-radius: 6px;
  background: none;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #6FC1B6;
  color: #fff;
}

@media (max-width: 1023px) {
  .main-nav, .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .header-bar {
    gap: 12px;
  }
}
@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}

/* === HERO SECTION === */
.hero {
  padding: 50px 0 60px 0;
  background: #FAFAF7;
  display: flex;
  align-items: center;
  min-height: 360px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero h1 {
  font-size: 2.7rem;
  margin-bottom: 0.5em;
  font-weight: 700;
}
.hero .subheadline {
  font-size: 1.25rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 34px;
}

/* === SECTIONS & SPACING === */
.features,
.services-preview,
.about-preview,
.testimonials,
.cta-section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 36px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(36,37,42,0.06);
  padding: 30px 24px 22px 24px;
  min-width: 230px;
  flex: 1 1 250px;
  max-width: 355px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-item img {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
}
.feature-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #24252A;
  margin-bottom: 0.2em;
}
.feature-item p {
  color: #555;
  margin-bottom: 0;
}
.feature-item:hover {
  box-shadow: 0 8px 40px rgba(36,37,42,0.14);
  transform: translateY(-4px) scale(1.03);
}

.service-cards, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 34px 0 20px 0;
}
.service-list > li {
  flex: 1 1 270px;
}
.service-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(36,37,42,0.06);
  padding: 28px 22px 22px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 230px;
  flex: 1 1 220px;
  max-width: 355px;
  border: 1.5px solid #fff;
  transition: border 0.17s, box-shadow 0.17s, transform 0.17s;
}
.service-card:hover, .service-card:focus-within {
  border-color: #6FC1B6;
  box-shadow: 0 6px 36px rgba(111, 193, 182, 0.15);
  transform: translateY(-3px) scale(1.01);
}
.service-card h3 {
  margin-bottom: 0.2em;
  font-size: 1.13rem;
}
.service-price {
  color: #6FC1B6;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-top: 0.5em;
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 36px;
}
.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 18px rgba(36,37,42,0.07);
  padding: 24px 20px 18px 20px;
  min-width: 200px;
  flex: 1 1 220px;
  max-width: 320px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.benefit-item img {
  width: 40px;
  height: 40px;
}
.benefit-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #24252A;
  margin-bottom: 0.1em;
}
.benefit-item:hover {
  box-shadow: 0 8px 32px rgba(111, 193, 182, 0.16);
  transform: translateY(-2px) scale(1.02);
}

.metrics, .realization-highlights, .key-results {
  margin: 36px 0 32px 0;
}
.metrics ul, .realization-highlights ul, .key-results ul {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.metrics li, .realization-highlights li, .key-results li {
  background: #fff;
  border-radius: 10px;
  padding: 16px 24px;
  color: #555;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 12px;
  box-shadow: 0 1px 8px rgba(36,37,42,0.06);
}

.cta-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(36,37,42,0.09);
  margin-bottom: 50px;
  padding: 40px 20px;
  text-align: center;
}

.confirmation-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 30px 20px 46px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(111, 193, 182, 0.07);
}

/* === TESTIMONIALS === */
.testimonials, .testimonial-list {
  margin-bottom: 0;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 34px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px 24px 32px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 8px 36px rgba(36,37,42,0.09);
  margin-bottom: 20px;
  min-width: 270px;
  flex: 1 1 300px;
  max-width: 470px;
  border-left: 4px solid #6FC1B6;
  transition: box-shadow 0.16s, border-color 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 44px rgba(36,37,42,0.16);
  border-left: 4px solid #24252A;
}
.testimonial-card blockquote {
  font-size: 1.07rem;
  font-weight: 400;
  color: #24252A;
  letter-spacing: 0.02em;
  line-height: 1.7;
  margin-bottom: 8px;
  margin-top: 0;
}
.testimonial-card .client-name {
  color: #6FC1B6;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

/* === FOOTER === */
footer {
  background: #FAFAF7;
  padding: 56px 0 36px 0;
  margin-top: 60px;
  border-top: 1.5px solid #e6e6e2;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
  width: 100%;
}
.footer-content > * { margin-bottom: 16px; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a {
  font-size: 1.03rem;
  color: #888;
  margin-bottom: 4px;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #24252A;
}
.footer-contact p {
  font-size: 1rem;
  color: #7c7c76;
  margin-bottom: 2px;
}
footer img {
  height: 44px;
  width: auto;
  display: block;
  margin-bottom: 12px;
}

/* === FORMATTING: TEXT BLOCKS, SECTION GRIDS === */
.text-section {
  margin-bottom: 28px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 15px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 1px 10px rgba(36,37,42,0.11);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(36,37,42,0.13);
  transform: translateY(-4px);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* === BLOG POST LISTS === */
.blog-post-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.blog-post-list h3 {
  font-size: 1.13rem;
}

/* === CHECKLISTS, UL, OL === */
ul, ol {
  margin-left: 1.1em;
  margin-bottom: 1.2em;
}
ul li, ol li {
  margin-bottom: 6px;
  position: relative;
  color: #24252A;
}
ul li::before {
  content: '\2022';
  color: #6FC1B6;
  font-size: 1em;
  margin-right: 0.8em;
  vertical-align: middle;
}
ol li {
  list-style-type: decimal;
  margin-left: 1.2em;
  color: #24252A;
}

.before-after {
  margin: 38px 0 18px 0;
}

/* === FORMATTING: PROCESS STEPS === */
.process-steps {
  counter-reset: step;
  margin-bottom: 32px;
}
.process-steps li {
  position: relative;
  margin-bottom: 18px;
  padding-left: 38px;
  color: #24252A;
}
.process-steps li:before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #6FC1B6;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
}

/* === LINKS === */
a {
  color: #24252A;
  transition: color 0.15s, background 0.15s;
}
a:hover, a:focus {
  color: #6FC1B6;
}

.text-section a {
  color: #6FC1B6;
  font-weight: 600;
  text-decoration: underline;
}
.text-section a:hover, .text-section a:focus {
  color: #24252A;
  text-decoration: underline;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #24252A;
  border-top: 1.5px solid #e6e6e2;
  box-shadow: 0 -4px 32px rgba(36, 37, 42, 0.08);
  z-index: 9999;
  padding: 23px 16px 19px 16px;
  display: flex;
  align-items: flex-start;
  gap: 34px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.23s, transform 0.23s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(80px);
}
.cookie-banner .cookie-text {
  max-width: 500px;
  font-size: 1rem;
  color: #24252A;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 20px;
  padding: 11px 22px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  background: #e8eceb;
  color: #24252A;
  transition: background 0.16s, color 0.16s;
}
.cookie-banner button.accept {
  background: #6FC1B6;
  color: #fff;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: #24252A;
  color: #fff;
}
.cookie-banner button.reject {
  background: #fff0ef;
  color: #24252A;
  border: 1.2px solid #e6e6e2;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #F39393;
  color: #fff;
}
.cookie-banner button.settings {
  background: #fff;
  border: 1.5px solid #6FC1B6;
  color: #24252A;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #6FC1B6;
  color: #fff;
}

/* COOKIE MODAL (overlay) */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(36,37,42,0.22);
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 48px rgba(36,37,42,0.15);
  padding: 34px 28px 28px 28px;
  max-width: 420px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadeInScale 0.28s cubic-bezier(.53,.03,.36,1);
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal .modal-close {
  position: absolute;
  top: 8px; right: 12px;
  background: none;
  font-size: 2rem;
  color: #24252A;
  border: none;
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex;
  align-items: center; justify-content: center;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #6FC1B6;
  color: #fff;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"], .cookie-category input[type="radio"] {
  accent-color: #6FC1B6;
  width: 17px; height: 17px;
}
.cookie-category.essential {
  opacity: 0.7;
  pointer-events: none;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 16px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 20px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  background: #e8eceb;
  color: #24252A;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal button.save {
  background: #6FC1B6;
  color: #fff;
}
.cookie-modal button.save:hover, .cookie-modal button.save:focus {
  background: #24252A;
  color: #fff;
}
.cookie-modal button.cancel {
  background: #fff;
  border: 1.5px solid #6FC1B6;
  color: #24252A;
}
.cookie-modal button.cancel:hover, .cookie-modal button.cancel:focus {
  background: #6FC1B6;
  color: #fff;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1280px) {
  .container { max-width: 1000px; }
}
@media (max-width: 1023px) {
  .container { max-width: 720px; }
  .footer-content { gap: 18px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .header-bar {
    flex-direction: row;
    gap: 12px;
  }
  .hero .container {
    padding-left: 0;
    padding-right: 0;
  }
  .section, .features, .services-preview, .about-preview, .testimonials, section, .cta-section {
    padding: 26px 7vw !important;
    margin-bottom: 42px;
  }
  .feature-grid,
  .service-cards,
  .service-list,
  .benefits-grid,
  .testimonial-list,
  .footer-content {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
  .feature-item,
  .service-card,
  .benefit-item,
  .testimonial-card {
    max-width: 100%;
    min-width: unset;
  }
  .hero {
    min-height: unset;
    padding: 30px 0 32px 0;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 15px 7vw 13px 7vw;
  }
}
@media (max-width: 520px) {
  html { font-size: 14px; }
  .header-bar {
    padding-top: 18px; padding-bottom: 18px;
  }
  .logo-link img { width: 122px; }
}

/* --- Misc Alignment and Accessibility --- */
::-webkit-input-placeholder { color: #aaa; opacity: 1; }
::-moz-placeholder { color: #aaa; opacity: 1; }
:-ms-input-placeholder { color: #aaa; opacity: 1; }
::placeholder { color: #aaa; opacity: 1; }

/* === UTILITY CLASSES === */
.hide { display: none !important; }
.visible { display: block !important; }

/* === TRANSITIONS, MICRO-INTERACTIONS === */
.card, .feature-item, .service-card, .benefit-item, .testimonial-card, .cta.primary, .cta.secondary {
  will-change: transform, box-shadow;
  transition: box-shadow 0.16s cubic-bezier(.57,.19,.46,1.08), transform 0.13s cubic-bezier(.57,.19,.46,1.08);
}

/* === PRINT OVERRIDE === */
@media print {
  .header-bar, .main-nav, .cta.primary, .cta.secondary, .footer-content, .mobile-menu, .cookie-banner, .cookie-modal { display:none !important; }
}
