/* === CSS 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,
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F6F8F7;
  color: #252825;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
a {
  color: #33665C;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #285047;
}
ul, ol {
  list-style-position: inside;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: inline-block;
}

/* === CUSTOM PROPERTIES (with fallback) === */
:root {
  --primary: #33665C;
  --secondary: #92BFA0;
  --accent: #F4E9D5;
  --neutral-bg: #F6F8F7;
  --text-dark: #252825;
  --text-mid: #53816D;
  --danger: #B14D3A;
  --shadow: 0 4px 16px rgba(51,102,92,0.07);
  --radius-card: 18px;
  --radius-btn: 8px;
  --font-display: 'Montserrat', 'Impact', 'Arial Black', 'sans-serif';
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  line-height: 1.1;
  text-align: left;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 28px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.18rem;
}
p, li, span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0;
}
p {
  margin-bottom: 16px;
  color: var(--text-mid);
}
.text-section p {
  margin-bottom: 18px;
}
.cta-title {
  font-size: 2.1rem;
  color: var(--primary);
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

/* === CONTAINERS / GLOBAL LAYOUT === */
.container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
}
.text-section {
  gap: 16px;
}
.section, main section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  transition: box-shadow 0.21s;
}
.cta-section {
  background: var(--secondary);
  color: #fff;
  border-radius: var(--radius-card);
  margin-bottom: 60px;
  padding: 48px 20px;
}

/* === FLEXBOX LAYOUTS === */
.card-container,
.card-grid,
.feature-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius-card);
  background: var(--accent);
  box-shadow: 0 2px 10px rgba(51,102,92,0.08);
  min-width: 260px;
  margin-bottom: 20px;
  margin-top: 8px;
  transition: transform 0.18s, box-shadow 0.2s;
}
.testimonial-card:hover {
  transform: translateY(-2px) scale(1.015) rotate(-0.5deg);
  box-shadow: 0 7px 25px rgba(51,102,92,0.14);
}
.card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  transition: box-shadow 0.21s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 8px 30px rgba(51,102,92,0.14);
  transform: translateY(-4px) scale(1.01);
}

/* === HEADER & NAVIGATION === */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(146,191,160,0.13);
  position: relative;
  z-index: 10;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-right: 14px;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1.07rem;
  letter-spacing: 0.5px;
  font-weight: 500;
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.17s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}
header img {
  height: 48px;
  width: auto;
}
.cta-primary {
  display: inline-block;
  font-size: 1.09rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 1px;
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius-btn);
  padding: 12px 26px;
  margin-left: 8px;
  box-shadow: 0 2px 10px rgba(51,102,92,0.11);
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.15s, transform 0.12s;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--secondary);
  color: var(--primary) !important;
  box-shadow: 0 4px 18px rgba(51,102,92,0.19);
  transform: scale(1.035) skew(-1deg, 1deg);
}
.cta-secondary {
  display: inline-block;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  background: #fff;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
  border-radius: var(--radius-btn);
  padding: 11px 20px;
  transition: background 0.18s, color 0.15s, border 0.15s;
  margin-top: 8px;
  box-shadow: 0 2px 10px rgba(51,102,92,0.08);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--accent);
  color: var(--secondary) !important;
  border-color: var(--secondary);
}

/* --- Hamburger Button --- */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 6px rgba(146,191,160,0.18);
  cursor: pointer;
  position: relative;
  transition: background 0.18s, box-shadow 0.15s;
  z-index: 111;
}
.mobile-menu-toggle:focus {
  outline: 2px dashed var(--primary);
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(89deg, var(--accent) 55%, #fff 100%);
  border-bottom: 2px solid var(--secondary);
  min-height: 320px;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  margin-bottom: 60px;
  padding: 0;
}
.hero .container {
  padding-top: 38px;
  padding-bottom: 38px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  font-size: 2.8rem;
  color: var(--primary);
  text-shadow: 1px 2px 0 #F4E9D5;
}
.hero h2 {
  font-size: 1.3rem;
  color: var(--secondary);
  font-family: var(--font-display);
  line-height: 1.25;
  font-weight: 500;
  margin-bottom: 18px;
}

/* === CARD / FEATURE === */
.feature-grid > div {
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 14px;
  padding: 28px 22px 20px 22px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  gap: 10px;
  min-width: 220px;
  max-width: 320px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.10s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 30px rgba(51,102,92,0.13);
  transform: scale(1.017) rotate(-0.3deg);
}
.feature-grid img {
  height: 36px;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 1px #33665C31);
}

/* === BUTTONS === */
button, input[type=submit] {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 11px 20px;
  border-radius: var(--radius-btn);
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  margin: 0 6px 0 0;
  box-shadow: 0 1px 6px rgba(146,191,160,0.12);
  transition: background 0.17s, color 0.15s, box-shadow 0.15s, transform 0.12s;
}
button:hover, button:focus, input[type=submit]:hover, input[type=submit]:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(51,102,92,0.16);
  outline: none;
  transform: scale(1.025) skew(-1deg, 1.1deg);
}

/* === TABLES === */
table {
  width: 100%;
  margin: 0 0 22px 0;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  font-family: var(--font-body);
  font-size: 1rem;
}
thead {
  background: var(--accent);
}
thead th {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 12px 10px;
  text-align: left;
}
tbody td, tbody th {
  padding: 12px 10px;
  border-bottom: 1px solid #ececec;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* === LISTS === */
ul, ol {
  margin-bottom: 18px;
}
ul li, ol li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--text-mid);
  font-size: 1rem;
}
ul li img {
  position: absolute;
  left: 0;
  top: 2px;
  height: 17px;
  width: 17px;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

/* === FOOTER === */
footer {
  background: var(--primary);
  color: #fff;
  padding: 36px 0 0 0;
  letter-spacing: 0.3px;
  border-radius: 24px 24px 0 0;
  margin-top: 48px;
  box-shadow: 0 -2px 16px rgba(51,102,92,0.07);
}
.footer-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  max-width: 1050px;
  margin: 0 auto;
  padding: 24px 16px 18px 16px;
}
.footer-wrapper img {
  height: 56px;
  width: auto;
  margin-bottom: 18px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 8px;
}
footer nav a {
  color: #fff;;
  font-family: var(--font-display);
  font-size: 1rem;
  opacity: 0.92;
  padding: 2px 0;
  transition: color 0.15s, opacity 0.1s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
  opacity: 1.0;
}
.footer-contact p {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 10px;
  color: #e4faed;
}
.footer-contact a {
  color: #bee9ce;
  text-decoration: underline;
}

/* === CARD SECTION AND SPECIFIC ALIGNMENTS === */
.card-container, .card-grid {
  gap: 24px;
  margin-bottom: 20px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

/* === TESTIMONIALS === */
.testimonial-card p,
.testimonial-card span {
  color: var(--text-dark);
}
.testimonial-card div {
  display: flex;
  gap: 1px;
  align-items: center;
}
.testimonial-card img {
  width: 22px;
  height: 22px;
  margin: 0;
}

/* === CONTENT SPACING & GAPS === */
.section, main section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .card-grid, .feature-grid, .content-grid {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
}
.feature-item {
  gap: 15px;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
}

/* === ADDRESS & CONTACT === */
.contact-info {
  background: var(--accent);
  padding: 22px 20px;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(146,191,160,0.09);
  margin-bottom: 18px;
}
.contact-info img {
  height: 19px;
  width: 19px;
  margin-right: 9px;
  vertical-align: text-bottom;
}
.address-block {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(146,191,160,0.09);
  padding: 18px 14px;
  font-size: 1rem;
  margin-top: 10px;
}

/* === MOBILE MENU === */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(51,102,92,0.97);
  z-index: 2000;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.55,0,.1,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: #fff;
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 2rem;
  align-self: flex-end;
  margin: 22px 24px 8px 0;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(146,191,160,0.17);
  transition: background 0.16s, color 0.1s;
  z-index: 2500;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 28px 30px 24px 34px;
  gap: 20px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.17rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.9px;
  border-radius: 8px;
  padding: 13px 0 11px 0;
  transition: color 0.15s, background 0.14s;
  min-width: 90%;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
  outline: none;
}

/* =========== COOKIE CONSENT BANNER =========== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 18px rgba(51,102,92,0.08);
  z-index: 5000;
  padding: 22px 14px 18px 14px;
  gap: 16px;
  animation: cookiebannerIn 0.6s cubic-bezier(.33,.85,.45,1.2);
}
@keyframes cookiebannerIn {
  from { transform: translateY(90px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  font-size: 1rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 4px;
}
.cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 5px;
}
.cookie-consent-banner button {
  border: none;
  border-radius: var(--radius-btn);
  padding: 9px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 4px;
}
.cookie-consent-banner .accept {
  background: var(--primary);
  color: #fff;
}
.cookie-consent-banner .accept:hover, .cookie-consent-banner .accept:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-consent-banner .reject {
  background: #fff;
  color: var(--danger);
  border: 2px solid var(--danger);
}
.cookie-consent-banner .reject:hover, .cookie-consent-banner .reject:focus {
  background: var(--danger);
  color: #fff;
}
.cookie-consent-banner .settings {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-consent-banner .settings:hover, .cookie-consent-banner .settings:focus {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

/* --- Cookie Preferences Modal --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(51,102,92,0.58);
  z-index: 7000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookiemodalBgIn 0.42s;
}
@keyframes cookiemodalBgIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 36px rgba(51,102,92,.18);
  padding: 38px 26px 27px 26px;
  max-width: 360px;
  width: 90vw;
  animation: cookiemodalIn 0.43s cubic-bezier(.7,.15,.18,1.12);
  display: flex;
  flex-direction: column;
  gap: 21px;
}
@keyframes cookiemodalIn {
  from { transform: translateY(72px) scale(0.99); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.19rem;
  margin-bottom: 7px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.cookie-modal input[type=checkbox] {
  accent-color: var(--primary);
  width: 19px;
  height: 19px;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  flex-direction: row;
  gap: 11px;
  margin-top: 9px;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
  .footer-wrapper { max-width: 98vw; }
}
@media (max-width: 950px) {
  .container, .footer-wrapper { max-width: 98vw; padding: 16px 10px 16px 10px; }
}
@media (max-width: 850px) {
  .feature-grid > div, .card-container > .card, .card-grid > .card {
    flex: 1 1 220px;
    min-width: 160px;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2, .cta-title { font-size: 1.25rem; }
  .section, main section {
    padding: 25px 6px; margin-bottom: 36px;
  }
  .cta-section {
    padding: 32px 10px;
  }
  header {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 11px 10px 11px 8px;
    gap: 10px;
  }
  header nav, header .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .feature-grid, .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    text-align: left;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding: 19px 8px 12px 12px;
  }
  .hero .container {
    padding-top: 24px;
    padding-bottom: 25px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  table, thead th, tbody td, tbody th {
    font-size: 12.7px;
    padding: 6px 7px;
  }
}
@media (max-width: 480px) {
  body { font-size: 15px; }
  header img { height: 36px; }
  .container, .footer-wrapper, .section, main section, .cta-section {
    padding-left: 3.5vw; padding-right: 3.5vw;
  }
  .cookie-modal { padding: 22px 8px 19px 8px; }
}

/* === GENERAL SHADOWS, SHAPES, and DECORATIVE ELEMENTS === */
/* Geometric accents for headers */
h1, h2, h3 {
  position: relative;
}
h2:after {
  content: '';
  display: block;
  background: var(--secondary);
  height: 4px;
  width: 60px;
  border-radius: 2px;
  margin-top: 7px;
  margin-bottom: -14px;
}
@media (max-width: 768px) {
  h2:after { width: 36px; }
}

/* Geometric backgrounds to sections (subtle) */
.section:before {
  content: '';
  display: block;
  position: absolute;
  top: -25px;
  right: 18px;
  width: 48px; height: 48px;
  background: rgba(146,191,160,0.10);
  border-radius: 0 21px 0 0;
  z-index: 1;
  pointer-events: none;
  filter: blur(0.5px);
}
.section {
  position: relative;
  overflow: hidden;
  z-index: 2;
}

/* Prevent content overlap, ensure minimum spacing*/
.card:not(:last-child),
.feature-grid > div:not(:last-child),
.testimonial-card:not(:last-child),
.section:not(:last-child) {
  margin-bottom: 24px;
}

/* Animations for hover/microinteractions */
.card, .feature-grid > div, .testimonial-card, .cta-primary, .cta-secondary, button, input[type=submit] {
  transition: box-shadow 0.18s, transform 0.13s, background 0.17s, color 0.13s;
}

/* Prevent accidental content overlapping (flex layouts) */
.card-container > *, .feature-grid > *, .content-grid > *, .testimonial-card, .section > .container, .content-wrapper > * {
  min-width: 0;
  max-width: 98vw;
}

/* === UTILITY CLASSES IF USED IN HTML === */
.text-center { text-align: center !important; }
.w100 { width: 100%; }

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

/* FIN. */
