/* ===== 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: #FAF9F6;
  color: #20473A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

a {
  color: #005069;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: #E06B3B;
  text-decoration: underline;
}

ul, ol {
  margin-left: 1.5em;
  margin-bottom: 20px;
}

li {
  margin-bottom: 12px;
  list-style-type: disc;
}

strong, b { font-weight: 700; }
em, i { font-style: italic; }

/* ===== Nature Organic Brand Colors ===== */
:root {
  --brand-primary: #005069;
  --brand-primary-dark: #00394e;
  --brand-secondary: #E0E9ED;
  --brand-accent: #E06B3B;
  --brand-accent-light: #F3987A;
  --brand-bg: #FAF9F6;
  --earth-olive: #72846A;
  --nature-green: #70884d;
  --organic-beige: #F7F3EF;
  --organic-sand: #EBE6D8;
  --deep-bark: #564C3B;
  --leaf-green: #9AB969;
  --soft-shadow: 0 2px 28px rgba(60,72,60,.07);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #18302D;
  font-weight: 700;
  line-height: 1.17;
  margin-bottom: 16px;
}
h1 { font-size: 2.8rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }

p {
  margin-bottom: 20px;
  color: #20473A;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.section > .container {
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--organic-sand);
  border-radius: 34px 18px 28px 38px / 28px 36px 34px 16px;
  box-shadow: var(--soft-shadow);
  position: relative;
}

.container {
  width: 100%;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
}

.content-wrapper {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.text-section {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #20473A;
}

/* ===== Flex Layout Mandates ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #FFFFFF;
  border-radius: 18px 36px 22px 30px;
  padding: 28px 24px;
  box-shadow: var(--soft-shadow);
  min-width: 260px;
  max-width: 320px;
  flex: 1 1 290px;
  position: relative;
  margin-bottom: 20px;
}

.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: row;
  align-items: center;
  gap: 20px;
  background: var(--organic-beige);
  border-radius: 20px 12px 32px 26px;
  box-shadow: 0 2px 12px rgba(80, 96, 64, 0.07);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 270px;
  border-left: 6px solid var(--nature-green);
}
.testimonial-content p {
  color: #234A31;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.testimonial-content span {
  font-size: 0.97rem;
  color: #70884d;
}
.testimonial-stars {
  font-size: 1.3rem;
  color: var(--brand-accent);
  margin-left: 8px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF;
  border-radius: 18px 32px 16px 30px;
  box-shadow: var(--soft-shadow);
  padding: 18px 18px 16px 18px;
  min-width: 225px;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.services-list > div {
  background: #FFF;
  border-radius: 22px 12px 32px 21px;
  box-shadow: 0 2px 12px rgba(65, 88, 80, 0.075);
  padding: 24px 18px;
  flex: 1 1 240px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s;
}
.services-list > div:hover {
  box-shadow: 0 4px 26px rgba(34,72,60,0.12);
}

.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 18px;
  font-size: 1.05rem;
}
.pricing-table th, .pricing-table td {
  padding: 15px 13px;
  text-align: left;
  border-bottom: 1px solid #E0E9ED;
}
.pricing-table th {
  background: var(--nature-green);
  color: #FBF9F4;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.service-comments {
  color: #7C9B81;
  font-size: 0.99rem;
  margin-bottom: 16px;
}

ol {
  margin-left: 1.6em;
  margin-bottom: 20px;
}
ol li {
  margin-bottom: 10px;
  list-style: decimal;
}

/* ===== Buttons & CTAs ===== */
.cta-primary, .cta-secondary, button, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 38px 12px 26px 32px / 25px 22px 40px 13px;
  cursor: pointer;
  transition: background 0.17s, color 0.18s, box-shadow 0.18s, transform 0.2s;
  font-weight: 600;
  outline: none;
}
.cta-primary {
  background: var(--brand-primary);
  color: #fff;
  padding: 13px 36px;
  box-shadow: 0 2px 8px rgba(0,42,24,0.05);
  font-size: 1.1rem;
  letter-spacing: 0.025em;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--brand-accent);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 22px rgba(0,80,105,0.14);
}

.cta-secondary {
  background: var(--leaf-green);
  color: #fff;
  padding: 11px 28px;
  font-size: 1rem;
  box-shadow: 0 1px 6px rgba(123,155,105,0.09);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--brand-primary);
  color: #fff;
  transform: scale(1.03);
}

button, input[type="submit"], input[type="button"] {
  padding: 10px 24px;
  font-size: 1.02rem;
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
button:hover, button:focus {
  background: var(--brand-accent);
  color: #FFF;
  box-shadow: 0 3px 14px rgba(224,107,59,0.15);
}

/* ===== Header and Navigation ===== */
header {
  background: #F7F3EF;
  box-shadow: 0 1px 16px rgba(112,136,77,0.04);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px 18px 20px;
  min-height: 65px;
}
header img {
  height: 50px;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--brand-primary);
  padding: 7px 13px;
  border-radius: 14px 15px 18px 10px;
  transition: background 0.15s, color 0.15s, box-shadow 0.16s;
  font-size: 1rem;
}
nav a:hover, nav a:focus {
  background: var(--nature-green);
  color: #FFF;
  box-shadow: 0 1px 10px rgba(155,186,98,0.09);
}
nav a.cta-primary {
  background: var(--brand-accent);
  color: #fff;
  font-weight: 700;
  margin-left: 12px;
}

/* ===== Mobile Menu ===== */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-primary);
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-left: 18px;
  box-shadow: 0 2px 8px rgba(0,80,105,0.08);
  z-index: 51;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(38, 56, 41, 0.88);
  z-index: 1002;
  flex-direction: column;
  transition: transform 0.33s cubic-bezier(0.55,0,0.1,1);
  transform: translateX(-100vw);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  animation: slideInMenu 0.33s cubic-bezier(0.55,0,0.1,1);
}
@keyframes slideInMenu { from { transform: translateX(-100vw);} to { transform: translateX(0);} }
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  color: #FFF;
  font-size: 2.3rem;
  margin: 24px 26px 0 0;
  border: none;
  box-shadow: none;
  cursor: pointer;
  padding: 0;
}
.mobile-nav {
  margin: 30px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 13px 0;
  width: 220px;
  text-align: center;
  background: rgba(224,233,237,0.10);
  border-radius: 22px 14px 18px 26px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-accent);
  color: #FFFCEA;
}

/* Hide desktop nav/show burger on mobile */
@media (max-width: 990px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none!important;
  }
  .mobile-menu-toggle {
    display: none!important;
  }
}

/* ===== Footer ===== */
footer {
  background: var(--brand-primary);
  color: #FFF;
  padding: 46px 0 36px 0;
  border-radius: 38px 0 0 0/18px 0 0 0;
  position: relative;
  z-index: 1;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-branding {
  margin-bottom: 18px;
}
.footer-branding img {
  height: 54px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #F7F3EF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.13s;
}
.footer-nav a:hover {
  color: var(--brand-accent);
}
.footer-contact {
  font-size: 1rem;
  color: #E0E9ED;
  margin-bottom: 8px;
}
.footer-contact strong {
  color: #FFF;
  font-weight: 700;
}

/* ===== Cookie Consent Banner ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  background: #E0E9ED;
  color: #18302D;
  padding: 22px 18px 25px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -3px 24px rgba(112, 136, 77, 0.13);
  z-index: 9998;
  animation: bannerAppear 0.42s cubic-bezier(0.7,0,0.22,1);
}
@keyframes bannerAppear { from { opacity: 0; transform: translateY(46px);} to {opacity:1;transform:translateY(0);} }
.cookie-banner p {
  flex: 1 1 250px;
  color: #18302D;
  margin-bottom: 0;
}
.cookie-btn {
  padding: 10px 20px;
  margin: 0 5px 0 0;
  color: #fff;
  background: var(--leaf-green);
  border: none;
  border-radius: 18px 11px 15px 25px;
  transition: background 0.15s, box-shadow 0.13s;
  font-weight: 600;
  min-width: 110px;
}
.cookie-btn.accept {
  background: var(--brand-accent);
}
.cookie-btn.reject {
  background: #6e6e58;
}
.cookie-btn.settings {
  background: var(--brand-primary);
}
.cookie-btn:hover, .cookie-btn:active, .cookie-btn:focus {
  background: var(--nature-green);
  color: #fff;
  box-shadow: 0 2px 7px rgba(155,186,105,0.17);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(16,32,29,0.54);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.28s;
  opacity: 1;
}
.cookie-modal {
  background: #FFFFFF;
  padding: 32px 24px 28px 24px;
  border-radius: 32px 21px 28px 20px;
  box-shadow: 0 4px 36px rgba(48,65,35,0.13);
  min-width: 310px;
  max-width: 420px;
  animation: modalPopIn 0.32s cubic-bezier(0.67, 0.17, 0.5, 1.07);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
@keyframes modalPopIn { from { opacity: 0; transform: scale(0.85);} to { opacity:1; transform: scale(1);} }
.cookie-modal h3 {
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  color: #234A31;
}
.cookie-cat input[type="checkbox"] {
  width: 20px; height: 20px;
}
.cookie-cat.disabled label {
  color: #7A786C;
  font-style: italic;
  opacity: 0.65;
  pointer-events: none;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 11px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--brand-primary);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ===== General Elements ===== */
main {
  background: transparent;
  padding-bottom: 35px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 36px 18px 28px 38px / 28px 36px 34px 16px;
  background: var(--organic-sand);
  box-shadow: var(--soft-shadow);
}
section:last-child {
  margin-bottom: 0;
}

.table {
  width: 100%;
}

hr {
  border: 0;
  height: 1.5px;
  background: var(--nature-green);
  margin: 24px 0 18px 0;
  border-radius: 2px;
}

/* ===== Natural, Organic Visual Elements ===== */
.section, .card, .testimonial-card, .feature-item, .services-list > div, .cookie-modal {
  border-radius: 32px 12px 38px 20px / 22px 38px 14px 32px;
  background-clip: padding-box;
}

.card, .testimonial-card, .feature-item, .services-list > div {
  box-shadow: 0 2px 18px rgba(155,186,105,0.08);
  border: 1px solid #EBE6D8;
}

/* Subtle textures */
.section {
  background: repeating-linear-gradient(120deg, #FBF9F4 0 24px, #EBE6D8 24px 42px);
  position: relative;
}
.section:before {
  content: '';
  position: absolute; left: 18px; top: 18px;
  width: 60px; height: 60px;
  background: radial-gradient(circle at 75% 40%, #9AB96926, transparent 85%);
  z-index: 0;
  opacity: 0.6;
  border-radius: 50%;
}
.section > .container, .card, .testimonial-card, .feature-item, .cookie-modal {
  position: relative;
  z-index: 1;
}

.card::after {
  content: '';
  position: absolute; bottom: 6px; right: 13px;
  width: 28px; height: 16px;
  background: radial-gradient(ellipse at 70% 60%, #9AB96929, transparent 85%);
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.2;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
  }
  .section {
    padding: 34px 7vw;
  }
}
@media (max-width: 900px) {
  .services-list, .card-container, .content-grid {
    gap: 18px;
  }
  section, .section {
    padding: 32px 6vw;
  }
  .testimonial-card {
    gap: 15px;
    padding: 17px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    padding: 17px 12px 15px 12px;
  }
  .section, section {
    padding: 24px 6vw;
  }
  .content-wrapper {
    padding: 0 3vw;
    gap: 18px;
  }
  .services-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 15px 11px;
  }
  .card, .feature-item, .services-list > div {
    min-width: 0;
    max-width: 100vw;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  footer {
    padding: 32px 0 28px 0;
  }
}
@media (max-width: 550px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.34rem; }
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 20px 7px 24px 7px;
    font-size: 0.95rem;
  }
  .cookie-btn {
    width: 100%;
    max-width: 230px;
  }
  .cookie-modal {
    min-width: 98vw;
    max-width: 99vw;
    padding: 17px 6vw 18px 6vw;
  }
  .pricing-table th, .pricing-table td {
    padding: 9px 3px;
    font-size: 0.98rem;
  }
}

/* ===== Accessibility & Focus ===== */
a, button, input, .cta-primary, .cta-secondary {
  outline: none;
}
a:focus-visible, button:focus-visible, .cta-primary:focus-visible, .cta-secondary:focus-visible {
  outline: 2.5px dashed var(--brand-accent);
  outline-offset: 2px;
}

/* ===== Micro Animations ===== */
a, .cta-primary, .cta-secondary, button, .cookie-btn, nav a {
  transition: color 0.17s, background 0.18s, transform 0.18s, box-shadow 0.17s;
}
.card, .testimonial-card, .feature-item, .services-list > div {
  transition: transform 0.16s, box-shadow 0.2s;
}
.card:hover, .feature-item:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 6px 24px rgba(112,136,77,0.13);
}

/* ===== Utility Classes ===== */
.hide {
  display: none !important;
}
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}

/* ===== Icon styling (for SVG and img icons) ===== */
ul li img, .services-list img, .feature-item img {
  vertical-align: middle;
  height: 28px;
  width: 28px;
  margin-right: 11px;
  border-radius: 12px 10px 18px 13px;
  background: #F7F3EF;
  box-shadow: 0 2px 5px rgba(112,136,77,0.07);
}

/* ===== End of CSS ===== */
