/* ===== CSS RESET & BASE ===== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F9F7F5;
  color: #234153;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #234153;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.55,0,.1,1);
  font-weight: 600;
}
a:focus {
  outline: 2px solid #7AA88B;
  outline-offset: 2px;
}
ul, ol {
  margin-left: 22px;
  margin-bottom: 1.1em;
}
li {
  margin-bottom: 0.4em;
}
strong, b {
  font-weight: 700;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: -1px;
  font-weight: 800;
  line-height: 1.15;
  color: #234153;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p {
  font-size: 1.07rem;
  margin-bottom: 16px;
}

/* ===== BRAND CONTAINERS & UTILS ===== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 700px;
  margin: 0 auto;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 28px 0 rgba(35,65,83,.08);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.25s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(122,168,139,.18);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px 0 rgba(35,65,83,.06);
  padding: 24px 28px;
  margin-bottom: 20px;
  font-size: 1.12rem;
  color: #232f34;
  border-left: 6px solid #7AA88B;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 26px 0 rgba(122,168,139,.14);
  border-left-color: #234153;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.contact-info-box {
  background: #eaf2ef;
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ===== MAIN SECTIONS ===== */
.hero-section {
  background: #234153;
  color: #fff;
  padding: 70px 0 40px 0;
  text-align: left;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  max-width: 700px;
  gap: 22px;
  z-index: 2;
}
.hero-section h1 {
  color: #fff;
  font-size: 2.95rem;
  margin-bottom: 14px;
}
.hero-section p {
  color: #e8e7ed;
  font-size: 1.19rem;
}
.hero-section .cta-button {
  margin-top: 6px;
}

.features-section {
  background: #fff;
}
.features-section ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
  margin: 0;
}
.features-section li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: #234153;
  font-size: 1.15rem;
}
.features-section img {
  width: 28px;
  height: 28px;
}

.services-preview-section {
  background: #7AA88B;
  color: #fff;
  border-radius: 24px;
  margin-top: 40px;
  margin-bottom: 60px;
  box-shadow: 0 2px 18px 0 rgba(35,65,83,.06);
}
.services-preview-section h2 {
  color: #fff;
}
.services-preview-section ul {
  margin-bottom: 20px;
}
.services-preview-section a {
  display: inline-block;
  background: #fff;
  color: #234153;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 8px;
  margin-top: 12px;
  transition: background 0.18s, color 0.18s;
}
.services-preview-section a:hover {
  background: #234153;
  color: #fff;
}

.contact-cta-section {
  background: #fff;
  border-radius: 24px;
  margin-top: 44px;
  box-shadow: 0 2px 18px 0 rgba(35,65,83,.06);
}
.contact-cta-section h2 {
  font-size: 2rem;
}

/* ===== BUTTONS ===== */
.cta-button {
  display: inline-flex;
  padding: 14px 32px;
  background-color: #7AA88B;
  color: #234153;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px 0 rgba(35,65,83,0.09);
  transition: background 0.23s cubic-bezier(.55,0,.1,1), color 0.21s, box-shadow 0.23s;
}
.cta-button:hover, .cta-button:focus {
  background: #234153;
  color: #fff;
  box-shadow: 0 8px 22px 0 rgba(35,65,83,.09);
  outline: none;
}

/* ===== HEADER & NAV ===== */
header {
  background: #fff;
  border-bottom: 2px solid #eff2f5;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
header img {
  width: 180px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #234153;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 0;
  position: relative;
  transition: color 0.19s;
}
.main-nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: #7AA88B;
  transition: width 0.21s;
  position: absolute;
  left: 0;
  bottom: -5px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #7AA88B;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 66%;
}

.mobile-menu-toggle {
  display: none;
  background: #234153;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  border-radius: 7px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 18px;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #7AA88B;
}

/* ===== MOBILE NAV MENU ===== */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #234153;
  box-shadow: 0 0 100px 0 rgba(35,65,83,0.26);
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.68,-0.55,.27,1.55);
  will-change: transform;
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 22px 26px 12px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #7AA88B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.48rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 6px 0;
  transition: color 0.16s;
  padding: 3px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #7AA88B;
}

/* ===== FOOTER ===== */
footer {
  background: #234153;
  color: #fff;
  padding: 56px 0 28px 0;
  margin-top: 68px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  gap: 38px;
  align-items: flex-end;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #7AA88B;
  font-weight: 700;
  font-size: 1.06rem;
  margin-bottom: 2px;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-contact {
  font-size: 1.01rem;
  color: #e5e8ee;
  margin-bottom: 8px;
}
.footer-brand img {
  width: 68px;
  height: auto;
  display: block;
  margin-right: 0;
}

/* ===== STAR RATING ===== */
.star-rating-summary {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-family: 'Montserrat', Arial, sans-serif;
  gap: 8px;
  font-size: 1.25rem;
  color: #7AA88B;
  margin: 14px 0 4px 0;
}
.star-rating-summary img {
  width: 32px;
  height: 32px;
}

/* ===== TABLES & FORMS (future proofing) ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.75em;
}
th, td {
  border: 1px solid #eaf2ef;
  padding: 12px 10px;
  text-align: left;
}
th {
  background: #eaf2ef;
  color: #234153;
  font-weight: bold;
}
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: 2px solid #7AA88B;
  border-radius: 7px;
  padding: 10px;
  margin-bottom: 16px;
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #234153;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #234153;
  color: #fff;
  padding: 26px 12px 24px 12px;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 -2px 18px 0 rgba(35,65,83,.18);
  animation: bannerIn 0.55s cubic-bezier(.61,-0.3,.22,1.35);
}
@keyframes bannerIn {
  from { transform: translateY(100%) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-banner p {
  font-size: 1rem;
  margin: 0;
  flex: 1 1 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 26px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-btn.accept {
  background: #7AA88B;
  color: #234153;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #fff;
  color: #234153;
}
.cookie-btn.reject {
  background: #fff;
  color: #234153;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #d1efe2;
  color: #234153;
}
.cookie-btn.settings {
  background: none;
  border: 2px solid #7AA88B;
  color: #7AA88B;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #7AA88B;
  color: #234153;
}

/* Cookie settings modal */
.cookie-modal {
  position: fixed;
  z-index: 12000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35, 65, 83, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.cookie-modal.open {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  color: #234153;
  padding: 40px 28px 28px 28px;
  border-radius: 18px;
  min-width: 330px;
  max-width: 94vw;
  box-shadow: 0 8px 32px 0 rgba(35,65,83,.16);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalIn 0.42s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes modalIn {
  from { transform: scale(0.89); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h3 {
  font-size: 1.45rem;
  margin-bottom: 0;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 10px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 1.09rem;
}
.cookie-cat input[type="checkbox"] {
  accent-color: #7AA88B;
  width: 19px;
  height: 19px;
}
.cookie-cat .locked {
  color: #7AA88B;
  font-size: 1.03rem;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  font-size: 1.55rem;
  color: #234153;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #7AA88B;
}

/* ===== MEDIA QUERIES: RESPONSIVE ===== */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
  }
  .footer-brand img {
    width: 54px;
  }
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .main-nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .section {
    margin-bottom: 40px;
    padding: 26px 8px;
  }
  .hero-section {
    padding: 46px 0 28px 0;
    text-align: left;
  }
  .services-preview-section, .contact-cta-section {
    margin-top: 18px;
    margin-bottom: 34px;
    border-radius: 9px;
    padding: 20px 8px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .testimonial-card {
    padding: 16px 12px;
    border-radius: 9px;
  }
  .contact-info-box {
    padding: 12px 9px;
    border-radius: 7px;
  }
  .star-rating-summary img {
    width: 22px;
    height: 22px;
  }
  footer {
    padding: 30px 0 18px 0;
    margin-top: 28px;
  }
}
@media (max-width: 640px) {
  .container {
    max-width: 99vw;
    padding-left: 4px;
    padding-right: 4px;
  }
  h1 {
    font-size: 1.95rem;
  }
  h2 {
    font-size: 1.33rem;
  }
  .mobile-nav a {
    font-size: 1.13rem;
  }
  .footer-contact {
    font-size: 0.98rem;
  }
  .hero-section {
    padding: 31px 0 15px 0;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 16px 6px 15px 6px;
  }
  .cookie-modal-content {
    min-width: 98vw;
    padding: 18px 5px 20px 9px;
    border-radius: 11px;
  }
}
@media (max-width: 480px) {
  .cookie-modal-content {
    min-width: 100vw;
    padding: 8px 3px 6px 5px;
  }
  .star-rating-summary img {
    width: 18px;
    height: 18px;
  }
}

/* ===== FLEXBOX-BASED LAYOUTS (NO GRID, NO COLUMNS) ===== */
/* (Additional flex usage already applied to all containers, see above) */

/* ===== DESIGN DECORATION ===== */
.hero-section::before {
  content: '';
  display: block;
  position: absolute;
  right: -80px;
  top: 0;
  width: 280px;
  height: 85%;
  background: rgba(122,168,139,0.14);
  border-radius: 99px 0 0 99px;
  z-index: 0;
}
.features-section ul li::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #7AA88B;
  border-radius: 3px;
  margin-right: 11px;
  vertical-align: middle;
}

/* ===== SMOOTH ANIMATIONS ===== */
.cta-button, .cookie-btn {
  transition: background 0.21s, color 0.18s, box-shadow 0.23s;
}
.card, .testimonial-card, .contact-info-box {
  transition: box-shadow 0.19s, border-left-color 0.21s;
}
.mobile-menu, .mobile-menu-close {
  transition: transform 0.34s cubic-bezier(.68,-0.55,.27,1.55), color 0.18s;
}

/* ===== VISIBILITY UTILS ===== */
.sr-only {
  display: inline-block;
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
  border: 0; padding: 0; margin: 0;
}

/* ===== SPECIAL CASES ===== */
.text-image-section {
  flex-direction: row;
  align-items: center;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===== END OF CSS ===== */
