/* ---- CSS RESET & NORMALIZE ---- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F6F6F2;
  color: #31424A;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}
img, picture, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #31424A;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #76C1B5;
  outline-offset: 2px;
}

/* ---- TYPOGRAPHIC SCALE ---- */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: #31424A;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.625rem;
  font-weight: 700;
  color: #31424A;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1875rem;
  font-weight: 700;
  color: #31424A;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #31424A;
}
p, ul, ol, li {
  font-size: 1rem;
}

/* ---- BASE LAYOUT ---- */
.container {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.content-wrapper {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(49, 66, 74, 0.06), 0 1.5px 9px rgba(118, 193, 181, 0.13);
  padding: 40px 28px;
  margin-bottom: 40px;
  position: relative;
}
@media (max-width: 768px) {
  .content-wrapper {
    padding: 28px 14px;
    margin-bottom: 28px;
    border-radius: 16px;
  }
}

/* ---- SPACING & FLEX LAYOUTS ---- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(49, 66, 74, 0.09);
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(49,66,74,0.14);
  transform: translateY(-2px) scale(1.015);
  z-index: 1;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.testimonial-card {
  background: #fff;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(118, 193, 181, 0.10);
  border-left: 6px solid #76C1B5;
  transition: box-shadow 0.2s, border-color 0.2s;
  color: #222;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(49, 66, 74, 0.12);
  border-left-color: #31424A;
}
.testimonial-author {
  margin-left: auto;
  font-weight: 700;
  color: #76C1B5;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---- HEADER / NAVIGATION ---- */
header {
  background: #31424A;
  color: #F6F6F2;
  padding: 0;
  box-shadow: 0 1.5px 10px rgba(49,66,74,0.08);
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  min-height: 68px;
}
.logo img {
  height: 44px;
  width: auto;
  vertical-align: middle;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #F6F6F2;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 3px;
  border-radius: 3px;
  background: #76C1B5;
  width: 0%;
  transition: width 0.2s;
  margin: 2px auto 0 auto;
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 80%;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #76C1B5;
}
.cta-btn {
  background: #76C1B5;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  padding: 12px 40px;
  border-radius: 100px;
  border: none;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(49,66,74,0.08);
  cursor: pointer;
  margin-left: 28px;
  position: relative;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  display: inline-block;
  outline: none;
  text-shadow: 0 1px 3px rgba(49,66,74,0.11);
  letter-spacing: 0.03em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #31424A;
  color: #76C1B5;
  box-shadow: 0 8px 24px rgba(49, 66, 74, 0.21);
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
  .cta-btn {
    margin-left: 10px;
    padding: 10px 28px;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  header .container {
    min-height: 56px;
    gap: 10px;
  }
  .main-nav,
  .cta-btn {
    display: none;
  }
}

/* ---- MOBILE NAVIGATION ---- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 24px;
  background: #76C1B5;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  z-index: 1101;
  box-shadow: 0 3px 12px rgba(49,66,74,0.12);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 1200;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(49,66,74, 0.96);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(.7,.2,.1,1);
    box-shadow: 8px 0 30px rgba(49,66,74,0.08);
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.3rem;
    align-self: flex-end;
    margin: 22px 30px 0 0;
    cursor: pointer;
    transition: color 0.15s;
    z-index: 1;
  }
  .mobile-menu-close:hover { color: #76C1B5; }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 80px auto auto 32px;
    z-index: 1;
  }
  .mobile-nav a {
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.28rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 12px 8px;
    border-radius: 20px;
    transition: background 0.18s, color 0.2s, box-shadow 0.14s;
  }
  .mobile-nav a:hover,
  .mobile-nav a:focus {
    background: #76C1B5;
    color: #222;
    box-shadow: 0 3px 16px rgba(118,193,181,0.14);
  }
}

/* ---- SECTION & CARDS ---- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 38px;
    padding: 24px 8px;
  }
}
.service-cards, .team, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: 16px 36px 16px 36px;
  box-shadow: 0 6px 28px rgba(118,193,181, 0.06), 0 2px 8px rgba(49,66,74,0.09);
  padding: 28px 20px 26px 34px;
  min-width: 260px;
  margin-bottom: 20px;
  flex: 1 1 265px;
  border-left: 5px solid #31424A;
  position: relative;
  transition: border 0.2s, box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  border-left-color: #76C1B5;
  box-shadow: 0 12px 32px rgba(49, 66, 74, 0.16), 0 2px 8px rgba(118,193,181,0.09);
  transform: translateY(-2px) scale(1.018);
  z-index: 1;
}
.service-price {
  color: #31424A;
  font-weight: 800;
  font-size: 1.12rem;
  background: #E7F3F1;
  border-radius: 8px;
  padding: 4px 16px;
  margin-top: 16px;
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
}
.team-member {
  background: #F6F6F2;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(118,193,181,0.11);
  padding: 26px 20px;
  min-width: 180px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  margin-right: 16px;
}

/* ---- ICONIC LISTS ---- */
.features-list, .values-list, .benefits-list, .approach-list, .training-list, .blog-list, .tricks-list, .tips-list, .popular-tips-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.features-list li, .values-list li, .benefits-list li, .training-list li, .tricks-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 500;
  background: #E7F3F1;
  padding: 11px 12px 11px 18px;
  border-radius: 11px;
  color: #31424A;
  box-shadow: 0 2px 9px rgba(118,193,181,0.12);
  min-height: 46px;
}
.features-list li img, .values-list li img, .benefits-list li img, .training-list li img, .tricks-list li img {
  width: 26px;
  height: 26px;
}

/* ---- ORDERED LISTS ---- */
.steps-list, .tricks-list {
  counter-reset: stepCount;
  list-style: none;
}
.steps-list li, .tricks-list li {
  position: relative;
  padding-left: 42px;
  margin-bottom: 16px;
  min-height: 38px;
}
.steps-list li:before, .tricks-list li:before {
  counter-increment: stepCount;
  content: counter(stepCount);
  position: absolute;
  left: 0;
  top: 10px;
  background: #76C1B5;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1.09rem;
  text-align: center;
  line-height: 28px;
  font-weight: 700;
  box-shadow: 0 2px 9px rgba(49,66,74,0.10);
}
.steps-list li img, .tricks-list li img {
  position: absolute;
  left: 44px;
  width: 25px;
  height: 25px;
}

/* ---- BLOG & QUICK LINKS ---- */
.blog-list li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(118,193,181,0.07);
  padding: 20px 18px 18px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.blog-list li a,
.quick-links a {
  color: #76C1B5;
  font-weight: 700;
  margin-top: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.16s;
}
.blog-list li a:hover,
.quick-links a:hover {
  color: #31424A;
  text-decoration: underline;
}
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}

/* ---- CONTACT, MAP & DETAILS ---- */
.contact-details {
  background: #E7F3F1;
  border-radius: 16px;
  padding: 18px 18px 16px 26px;
  box-shadow: 0 1px 8px rgba(118,193,181,0.10);
  margin-bottom: 18px;
  font-size: 1.04rem;
}
.map-embed {
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-embed img { width: 65px; height: 65px; }

/* ---- FOOTER ---- */
footer {
  background: #31424A;
  color: #E7F3F1;
  padding: 0 0 0 0;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 34px 0 9px 0;
  border-bottom: 1px solid #254144;
}
.footer-top img {
  width: 54px;
  height: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.footer-nav a {
  color: #E7F3F1;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transition: color 0.17s;
}
.footer-nav a:hover {
  color: #76C1B5;
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 18px 0;
  font-size: 0.96rem;
  gap: 10px;
  color: #AAC5BB;
}
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    padding: 24px 0 13px 0;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.91rem;
  }
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #31424A;
  color: #F6F6F2;
  z-index: 2001;
  box-shadow: 0 -5px 32px rgba(49,66,74,0.11);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  padding: 22px 12vw 22px 22px;
  gap: 34px;
  font-size: 1rem;
  animation: fadeInCookieBanner 0.4s cubic-bezier(.7,.2,.1,1);
}
@keyframes fadeInCookieBanner {
  from { transform:translateY(100%); opacity:0; }
  to { transform:translateY(0%); opacity:1; }
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 0.96rem;
  }
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 100px;
  font-size: 1.06rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  margin-top: 0;
  margin-bottom: 0;
}
.cookie-btn.accept {
  background: #76C1B5;
  color: #fff;
  box-shadow: 0 3px 14px rgba(118,193,181,0.13);
}
.cookie-btn.accept:hover { background: #56a195; }
.cookie-btn.reject {
  background: #fff;
  color: #31424A;
  border: 2px solid #AAC5BB;
}
.cookie-btn.reject:hover { background: #E7F3F1; color: #31424A; border-color: #76C1B5; }
.cookie-btn.settings {
  background: #31424A;
  color: #76C1B5;
  border: 2px solid #76C1B5;
}
.cookie-btn.settings:hover { background: #222; border-color: #31424A; }

/* ---- COOKIE SETTINGS MODAL ---- */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 2100;
  top: 50%;
  left: 50%;
  background: #fff;
  color: #31424A;
  box-shadow: 0 12px 44px rgba(49,66,74,0.21);
  padding: 42px 32px 32px 32px;
  border-radius: 22px;
  transform: translate(-50%, -50%) scale(0.95);
  min-width: 275px;
  max-width: 420px;
  animation: fadeInCookieModal 0.37s cubic-bezier(.7,.2,.1,1);
}
.cookie-modal.open {
  display: block;
  animation: fadeInCookieModal 0.34s cubic-bezier(.7,.2,.1,1) forwards;
}
@keyframes fadeInCookieModal {
  from { opacity:0; transform:translate(-50%,-60%) scale(0.92); }
  to { opacity:1; transform:translate(-50%,-50%) scale(1); }
}
.cookie-modal h2 {
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 1.03rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal .category-toggle {
  appearance: none;
  width: 44px;
  height: 24px;
  background: #E7F3F1;
  border-radius: 12px;
  position: relative;
  transition: background 0.14s;
  outline: none;
  border: none;
  cursor: pointer;
}
.cookie-modal .category-toggle:checked {
  background: #76C1B5;
}
.cookie-modal .category-toggle::after {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(49,66,74,0.12);
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.17s, background 0.14s;
}
.cookie-modal .category-toggle:checked::after {
  left: 22px;
}
.cookie-modal .cookie-category[data-essential] .category-toggle {
  opacity: 0.5;
  pointer-events: none;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  margin-top: 22px;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
  padding: 9px 18px;
}

/* ---- MICRO-INTERACTIONS & EFFECTS ---- */
.card, .service-card, .testimonial-card, .blog-list li, .team-member {
  transition: box-shadow 0.19s, transform 0.17s;
}
.cta-btn, .cookie-btn, .main-nav a, .footer-nav a, .mobile-nav a {
  transition: background 0.17s, color 0.14s, box-shadow 0.14s, border 0.17s;
}
.card:hover, .service-card:hover {
  transform: translateY(-5px) scale(1.012);
  box-shadow: 0 8px 28px rgba(49,66,74,0.17);
  z-index: 2;
}
.cta-btn:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* ---- ARTISTIC/CREATIVE TOUCHES ---- */
h1, h2 {
  background: linear-gradient(92deg, #31424A 60%, #76C1B5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
/* Fallback for browsers not supporting text-fill-color */
@supports not (-webkit-text-fill-color: transparent) {
  h1, h2 { color: #31424A; }
}
.section {
  border-left: 6px solid #76C1B5;
  border-radius: 0 26px 26px 0;
  background: #F6F6F2;
}
.content-wrapper {
  border-top: 6px solid #AAC5BB;
  border-bottom: 3px solid #76C1B5;
  position: relative;
  overflow: hidden;
}
.content-wrapper:before {
  content: '';
  position: absolute;
  top: -36px;
  right: -32px;
  width: 110px;
  height: 110px;
  background: #E7F3F1;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.6;
}
.content-wrapper > * {
  position: relative;
  z-index: 1;
}

/* ---- OVERLAPPING & Z-INDEX GUARD ---- */
.card, .testimonial-card, .service-card, .content-wrapper, .cookie-banner { z-index: 0; }
/* Only decorative or overlay elements should get z > 1000 */

/* ---- ANIMATIONS ---- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .cookie-banner, .cookie-modal { animation: none !important; }
}

/* ---- RESPONSIVE RULES ---- */
@media (max-width: 900px) {
  .service-cards, .team, .card-container, .content-grid {
    gap: 14px;
  }
  .service-card, .team-member {
    min-width: 180px;
    padding-left: 17px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
  .section {
    padding: 14px 4px;
    margin-bottom: 22px;
    border-left-width: 3px;
  }
  .content-wrapper {
    padding: 15px 4px;
    border-radius: 10px;
  }
  .service-card, .team-member {
    padding: 11px 8px;
    min-width: 120px;
    border-radius: 13px;
  }
}

/* ---- UTILITY CLASSES ---- */
.text-center {
  text-align: center;
}
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.mt-4 { margin-top: 4px; }


/* ---- END ---- */
