/* ===== CSS RESET & NORMALIZE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  width: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
  background: #F7F6F3;
  color: #2B2A28;
}
body {
  font-family: 'Roboto', serif;
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.01em;
  background: #F7F6F3;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #236B4C;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #6EC1B6;
  outline: none;
}
ul, ol {
  padding-left: 2rem;
  margin-bottom: 1.25em;
}
ul li, ol li {
  margin-bottom: 0.75em;
}
strong, b {
  font-weight: 600;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(44,43,40,0.04);
}
th, td {
  padding: 16px 12px;
  border-bottom: 1px solid #E6E4DF;
  font-size: 1rem;
  text-align: left;
}
th {
  background: #FFEAD6;
  font-weight: 700;
  font-family: 'Montserrat', serif;
  letter-spacing: 0.03em;
}
tr:last-child td {
  border-bottom: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  color: #236B4C;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  letter-spacing: 0.025em;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
  line-height: 1.18;
}
h2 {
  font-size: 1.65rem;
  margin-bottom: 20px;
  line-height: 1.23;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p {
  margin-bottom: 1.15em;
  font-size: 1rem;
  color: #2B2A28;
}

/* ===== LAYOUT - CONTAINER, SECTIONS ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 16px;
}
section:last-of-type {
  margin-bottom: 0!important;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero {
  background: #FFEAD6;
  border-radius: 18px;
  padding: 46px 0 34px 0;
  margin-bottom: 54px;
  box-shadow: 0 6px 24px rgba(44,43,40,0.07);
}
.hero .container {
  align-items: flex-start;
  justify-content: center;
}
.hero h1 {
  font-size: 2.4rem;
  color: #236B4C;
  margin-bottom: 16px;
}
.hero p {
  color: #3A554A;
  font-size: 1.18rem;
  max-width: 560px;
  margin-bottom: 28px;
}

/* ===== FLEXBOX STRUCTURE ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.card {
  flex: 1 1 250px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(44,43,40,0.09);
  padding: 30px 26px 28px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 36px rgba(44,43,40,0.11);
  transform: translateY(-2px) scale(1.015);
  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;
  flex-direction: column;
  background: #fff;
  color: #2B2A28;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 26px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(44,43,40,0.07);
  margin-bottom: 20px;
  flex: 1 1 270px;
  max-width: 370px;
  min-width: 260px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(44,43,40,0.14);
  transform: translateY(-2px) scale(1.01);
  background: #FFF6ED;
}
.testimonial-card p {
  font-size: 1.12rem;
  margin-bottom: 10px;
  color: #2B2A28;
}
.testimonial-card span {
  font-size: 0.94rem;
  color: #236B4C;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #236B4C;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 13px 32px;
  font-family: 'Montserrat', serif;
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.2s, box-shadow 0.2s, transform 0.14s;
  box-shadow: 0 1px 5px rgba(44,43,40,0.09);
  cursor: pointer;
  text-decoration: none;
  margin-top: 17px;
  margin-bottom: 7px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #1c573e;
  box-shadow: 0 4px 18px rgba(44,43,40,0.16);
  transform: translateY(-1.5px) scale(1.01);
  outline: none;
}

/* ===== NAVIGATION - MAIN ===== */
header {
  background: #fff;
  box-shadow: 0 1px 8px rgba(44,43,40,0.03);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  position: relative;
  z-index: 20;
  margin-bottom: 7px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', serif;
  font-size: 1.05rem;
  letter-spacing: 0.015em;
  color: #2B2A28;
  padding: 5px 0px;
  font-weight: 550;
  position: relative;
  transition: color 0.17s;
}
header nav a:hover, header nav a:focus {
  color: #236B4C;
  text-decoration: underline;
}
header a.btn-primary {
  margin: 0 0 0 16px;
  padding: 11px 22px;
  font-size: 0.98rem;
  min-width: 140px;
}

/* ===== MOBILE BURGER MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #236B4C;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 103;
  padding: 8px;
  border-radius: 6px;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #e0f3e7;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35, 107, 76, 0.97);
  z-index: 105;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100%);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.37s cubic-bezier(.66,.18,.37,1.09), opacity 0.2s;
}
.mobile-menu.open {
  transform: translateX(0%);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.05rem;
  align-self: flex-end;
  margin: 23px 18px 8px 0;
  cursor: pointer;
  padding: 5px;
  transition: background 0.2s;
  border-radius: 6px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #ffe4c3;
  color: #236B4C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 23px;
  width: 100%;
  align-items: flex-start;
  padding: 10px 34px 10px 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  opacity: 0.93;
  transition: color 0.16s, opacity 0.18s;
  border-radius: 6px;
  padding: 8px 6px;
  margin-left: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #6EC1B6;
  opacity: 1;
  background: #226b4c26;
}
@media (max-width: 1000px) {
  header .container nav,
  header .container > a.btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===== FOOTER ===== */
footer {
  background: #fff;
  border-top: 1px solid #eeeae2;
  margin-top: 38px;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 20px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
footer nav a {
  color: #236B4C;
  font-family: 'Montserrat', serif;
  font-size: 0.99rem;
  letter-spacing: 0.01em;
}
footer nav a:hover, footer nav a:focus {
  color: #6EC1B6;
  text-decoration: underline;
}
footer span {
  color: #8F9282;
  font-size: 0.95rem;
  margin-right: 10px;
}
footer a img {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-left: 8px;
  vertical-align: middle;
  transition: opacity 0.2s, filter 0.18s;
}
footer a:hover img, footer a:focus img {
  opacity: 0.78;
  filter: brightness(0.96) sepia(0.12) contrast(1.12) saturate(1.2);
}

/* ===== COOKIE CONSENT BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100%;
  background: #236B4C;
  color: #fff;
  box-shadow: 0 -4px 24px rgba(44,43,40,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 19px 22px;
  z-index: 9999;
  font-size: 1rem;
  transition: transform 0.35s, opacity 0.18s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-text {
  flex: 2 1 320px;
  color: #fff;
  font-size: 1rem;
  font-family: 'Roboto', serif;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
}
.cookie-banner button, .cookie-banner .cookie-btn {
  border: none;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  border-radius: 6px;
  padding: 8.5px 23px;
  margin: 0 2px;
  cursor: pointer;
  background: #fff;
  color: #236B4C;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner button:hover, .cookie-banner .cookie-btn:hover {
  background: #FFEAD6;
  color: #236B4C;
}
.cookie-banner .cookie-btn.cookie-settings {
  background: #6EC1B6;
  color: #fff;
}
.cookie-banner .cookie-btn.cookie-settings:hover {
  background: #52a499;
  color: #fff;
}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 10001;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35, 107, 76, 0.75);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 410px;
  width: 94vw;
  padding: 38px 27px 28px 27px;
  box-shadow: 0 8px 36px rgba(44,43,40,0.13);
  color: #2B2A28;
  animation: fadeInModal 0.35s cubic-bezier(.77,.27,.62,1.14);
  display: flex;
  flex-direction: column;
  gap: 23px;
  position: relative;
}
@keyframes fadeInModal {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 11px;
  right: 18px;
  background: none;
  border: none;
  color: #236B4C;
  font-size: 1.45rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 5px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #e0f3e7;
}
.cookie-modal h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #236B4C;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cookie-category label {
  font-family: 'Roboto', serif;
  font-size: 1.01rem;
  color: #2B2A28;
}
.toggle-switch {
  display: inline-block;
  width: 38px;
  height: 22px;
  position: relative;
}
.toggle-switch input {
  opacity: 0; width: 0; height: 0;
}
.toggle-slider {
  position: absolute;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #D5F3EB;
  border-radius: 15px;
  transition: background 0.2s;
}
.toggle-switch input:checked + .toggle-slider {
  background: #236B4C;
}
.toggle-slider:before {
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  transition: transform 0.18s;
  border-radius: 50%;
  box-shadow: 0 0 2px #B3B3B3;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(16px);
}

.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 6px;
}
.cookie-modal-actions button {
  font-size: 1rem;
  padding: 8px 22px;
}
@media (max-width: 630px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    padding: 18px 14px;
    font-size: 0.96rem;
  }
}

/* ===== TABLE STYLES (ALREADY SET) ===== */

/* ===== CARD SPACING & DEMARCATION ===== */
.card-container, .content-grid, .testimonial-card, .card, .feature-item, .text-image-section {
  margin-bottom: 20px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding: 0 10px;
  }
  footer .container, header .container {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
    padding: 16px 10px;
  }
  section, .section {
    padding: 30px 7px;
  }
  .hero {
    padding: 34px 7px 22px 7px;
  }
  .card {
    padding: 22px 13px 20px 13px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.27rem;
  }
  .hero h1 {
    font-size: 1.35rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* ===== FORM ELEMENTS ===== */
input, textarea, select {
  font-family: 'Roboto', serif;
  font-size: 1rem;
  border: 1.3px solid #dfdfd7;
  border-radius: 7px;
  padding: 10px 13px;
  background: #fff;
  margin-bottom: 16px;
  width: 100%;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #236B4C;
  outline: none;
}

button {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
}

/* ===== VISUAL ELEMENTS: SHADOWS, ROUNDED CORNERS ETC ===== */
section, .card, .testimonial-card, .hero, .cookie-modal, .cookie-banner {
  box-shadow: 0 1.5px 14px rgba(44,43,40,0.06);
}
section {
  background: #fff;
  border-radius: 15px;
}

/* ===== UTILITIES & GENERAL ===== */
::-webkit-input-placeholder { color: #90a19c; }
::-moz-placeholder { color: #90a19c; }
:-ms-input-placeholder { color: #90a19c; }
::placeholder { color: #90a19c; }

[tabindex]:focus, button:focus, a:focus {
  outline: 2px solid #6EC1B6;
  outline-offset: 2px;
}

/* Spacing utilities */
.mb-20 { margin-bottom: 20px!important; }
.mb-32 { margin-bottom: 32px!important; }
.mt-24 { margin-top: 24px!important; }

/* Hide visually */
.sr-only {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ===== ELEGANT CLASSIC ACCENTS ===== */
h1, h2, h3, h4 {
  text-shadow: 0 1px 0 #fff5ef;
}

hr {
  border: none;
  border-top: 1.5px solid #E6E4DF;
  margin: 32px 0 28px 0;
}

/* ===== PRINT OPTIMIZATION ===== */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer {
    display: none !important;
  }
  section, .section, .container {
    background: #fff !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* ===== ELEGANT SPACING FOR CARD GRIDS ===== */
.card-container, .content-grid {
  gap: 24px;
}

/* ===== MISC ===== */
::-webkit-scrollbar {
  width: 12px;
  background: #f7f6f3;
}
::-webkit-scrollbar-thumb {
  background: #E6E4DF;
  border-radius: 10px;
}
