/* -------------------
   CSS RESET & BASE
---------------------- */
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 {
  min-height: 100vh;
  font-family: 'Lato', Arial, sans-serif;
  color: #254135;
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: inline-block;
}
a {
  color: #254135;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A3BCB6;
  outline: none;
}
ul, ol {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #254135;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.5rem; margin-bottom: 14px; }
h4 { font-size: 1.25rem; }
h5, h6 { font-size: 1rem; }
p, li, blockquote {
  font-family: 'Lato', Arial, sans-serif;
  margin-bottom: 14px;
  color: #254135;
}
blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  quotes: "\201C" "\201D" "\2018" "\2019";
  border-left: 3px solid #A3BCB6;
  padding-left: 18px;
  color: #254135;
  font-style: italic;
  margin-bottom: 8px;
}
strong {
  color: #254135;
  font-weight: 700;
}

/* Section/Container Layout */
.container {
  width: 100%;
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
section {
  width: 100%;
  background: #fff;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Card Layouts & Content Flex */
.card-container {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(37, 65, 53, 0.06);
  border-radius: 14px;
  margin-bottom: 20px;
  position: relative;
  padding: 28px 26px;
  min-width: 260px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 20px 0 rgba(37,65,53,0.15);
  transform: translateY(-2px) scale(1.012);
}
.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;
    align-items: flex-start;
    gap: 22px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(37,65,53,0.10);
  border-radius: 14px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 570px;
}
.testimonial-card blockquote {
  color: #254135;
  font-size: 1.1rem;
  margin: 0 0 6px 0;
}
.testimonial-card footer {
  font-size: 0.96rem;
  color: #42725B;
  opacity: 0.93;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* List with icons (features) */
.content-wrapper ul > li, .content-wrapper ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
  color: #254135;
  font-size: 1rem;
}
.content-wrapper ul > li img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  filter: grayscale(0.1) brightness(0.8);
}

@media (max-width: 460px) {
  .content-wrapper ul > li img { width: 22px; height: 22px; }
}

/* -------------------
   HEADER & NAVIGATION
---------------------- */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #E4ECE8;
  position: sticky;
  top: 0;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  color: #42725B;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.15s, color 0.20s;
}
header nav a:hover,
header nav a:focus {
  background: #A3BCB6;
  color: #254135;
}
.cta-btn {
  background: #254135;
  color: #fff !important;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 9px 24px;
  border-radius: 8px;
  box-shadow: 0 1px 5px 0 rgba(37,65,53,0.10);
  transition: background 0.18s, color 0.18s, box-shadow 0.24s, transform 0.22s;
  margin-left: 20px;
  display: inline-block;
  border: none;
  cursor: pointer;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #42725B;
  color: #fff;
  box-shadow: 0 3px 12px 0 rgba(37, 65, 53, 0.18);
  transform: translateY(-1px) scale(1.03);
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
  display: none;
  position: relative;
  background: none;
  border: none;
  color: #254135;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 130;
  margin-left: 10px;
  transition: color 0.16s, background 0.17s;
  padding: 4px 12px;
  border-radius: 8px;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #A3BCB6;
  background: #F6F9F7;
}
@media (max-width:1100px) {
  header .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 900px) {
  header nav { gap: 12px; }
  .cta-btn { margin-left: 10px; }
}
@media (max-width: 820px) {
  header nav { gap: 7px; font-size: 0.97rem; }
  .cta-btn { padding: 8px 15px; font-size: 0.98rem; }
}
@media (max-width: 640px) {
  header .container { padding: 10px 2.5vw 10px 16px; }
  header nav { display: none; }
  .cta-btn { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* -------------------------
   MOBILE MENU OVERLAY
--------------------------- */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,65,53,0.98);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-105vw);
  transition: transform 0.37s cubic-bezier(0.24,0.86,0.25,1.04);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 28px 10px 0;
  font-size: 2.0rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2011;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #A3BCB6;
  background: #25413544;
  border-radius: 8px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 30px;
  margin-left: 34px;
  margin-right: 12px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.20rem;
  letter-spacing: 0.02em;
  padding: 9px 0;
  font-family: 'Lato', Arial, sans-serif;
  border-radius: 8px;
  transition: background 0.16s, color 0.22s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #A3BCB6;
  color: #254135;
}
@media (min-width: 640px) {
  .mobile-menu,
  .mobile-menu-close { display: none !important; }
}

/* ----------------------
   MAIN SECTION STYLES
-------------------------*/
section {
  padding: 44px 0;
  margin-bottom: 0;
}
@media (max-width: 600px) {
  section { padding: 26px 0; }
  .section { padding: 24px 10px; margin-bottom: 40px; }
}

/* Contact Info */
.contact-info-snippet, .contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 18px 0 8px 0;
}
.contact-info-snippet p,
.contact-info-block p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #254135;
}
.contact-info-snippet img,
.contact-info-block img {
  width: 24px;
  height: 24px;
  opacity: 0.7;
}

/* Footer */
footer {
  width: 100%;
  background: #F6F9F7;
  border-top: 1px solid #E4ECE8;
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  padding-bottom: 26px;
}
.footer-menu {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #42725B;
  font-size: 0.99rem;
  opacity: 0.88;
  padding: 2px 8px;
  border-radius: 6px;
  transition: color 0.18s, background 0.22s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  background: #A3BCB6;
  color: #254135;
  opacity: 1;
}
.footer-logo img {
  width: 60px;
  height: auto;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contact span {
  font-size: 0.97rem;
  color: #254135;
  opacity: 0.86;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-contact img {
  width: 20px;
  opacity: 0.65;
}
@media(max-width: 950px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-contact { flex-direction: row; flex-wrap: wrap; gap: 16px; }
}
@media (max-width: 640px) {
  .footer-contact {
    flex-direction: column;
    gap: 10px;
  }
  .footer-logo img { width: 42px; }
  footer .container {
    padding: 20px 10px 18px 10px;
    gap: 18px;
  }
  .footer-menu { gap: 11px; }
}

/* -------------
   BUTTONS
---------------- */
button, .btn {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background: #254135;
  color: #fff;
  cursor: pointer;
  padding: 9px 20px;
  letter-spacing: 0.01em;
  transition: background 0.16s, box-shadow 0.18s, color 0.17s, transform 0.2s;
  outline: none;
}
button:hover,
button:focus, .btn:hover, .btn:focus {
  background: #42725B;
  color: #fff;
  box-shadow: 0 4px 12px 0 rgba(37,65,53,0.10);
  transform: translateY(-1px) scale(1.01);
}

/* Inline links and list navigation */
a {
  transition: color 0.15s; color: #254135;
}
a.underline, .content-wrapper a:not(.cta-btn) {
  border-bottom: 1px solid #E8C9D8;
  color: #C15895;
  font-weight: 500;
  padding-bottom: 2px;
  transition: border-color 0.13s, color 0.15s;
}
a.underline:hover, .content-wrapper a:not(.cta-btn):hover {
  color: #7A2B67;
  border-bottom: 1.5px solid #7A2B67;
}

/* -------------
   FORM ELEMENTS
----------------- */
input, textarea, select {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  color: #254135;
  background: #fff;
  border: 1px solid #A3BCB6;
  border-radius: 8px;
  padding: 9px 14px;
  transition: border-color 0.18s, box-shadow 0.18s;
  margin-bottom: 20px;
  outline: none;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #E8C9D8;
  box-shadow: 0 2px 6px 0 rgba(232,201,216,.11);
}

/* -------------
   COOKIES BANNER
----------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #254135;
  border-top: 1px solid #E4ECE8;
  box-shadow: 0 -2px 18px rgba(37,65,53,0.10);
  z-index: 4000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
  gap: 28px;
  transition: transform 0.30s cubic-bezier(0.35,0.86,0.36,1.05), opacity 0.18s;
}
.cookie-consent-banner.closed {
  pointer-events: none;
  opacity: 0;
  transform: translateY(110%);
}
.cookie-consent-banner .cookie-text {
  flex: 2 1 380px;
  font-size: 1rem;
  margin-right: 20px;
  min-width: 120px;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-consent-banner button {
  background: #254135;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 1rem;
  border: none;
  margin: 0;
  cursor: pointer;
  transition: background 0.17s, color 0.12s;
}
.cookie-consent-banner button.settings {
  background: #A3BCB6;
  color: #254135;
}
.cookie-consent-banner button.accept {
  background: #254135;
}
.cookie-consent-banner button.reject {
  background: #E8C9D8;
  color: #7A2B67;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  opacity: 0.92;
  background: #42725B;
}
.cookie-consent-banner button.settings:hover, .cookie-consent-banner button.settings:focus {
  background: #7A998A;
  color: #fff;
}
.cookie-consent-banner button.reject:hover, .cookie-consent-banner button.reject:focus {
  background: #C15895;
  color: #fff;
}
@media (max-width: 780px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 10px;
  }
  .cookie-consent-banner .cookie-text {
    margin-right: 0;
    font-size: 0.97rem;
  }
}

/* -----------------
   COOKIE MODAL
-------------------*/
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right:0; bottom:0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,65,53,0.61);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.19s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  padding: 34px 26px 20px 26px;
  border-radius: 16px;
  box-shadow: 0 6px 44px 0 rgba(37,65,53,0.19);
  min-width: 320px;
  max-width: 96vw;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 5100;
  animation: fadeInModal 0.27s cubic-bezier(0.48,0.93,0.42,1.10);
}
@keyframes fadeInModal {
  from { opacity:0; transform: scale(0.98) translateY(30px); }
  to   { opacity:1; transform: scale(1) translateY(0); }
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 1.8rem;
  color: #254135;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.14s;
  z-index: 5200;
}
.cookie-modal .modal-close:hover {
  color: #A3BCB6;
}
.cookie-modal h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.28rem;
  margin-bottom: 8px;
}
.cookie-category {
  font-size: 1rem;
  font-weight: 600;
  color: #254135;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #254135;
  margin-right: 8px;
  width: 19px;
  height: 19px;
}
.cookie-category.disabled {
  opacity: 0.57;
  text-decoration: line-through;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 15px;
}
.cookie-modal button {
  padding: 8px 20px;
  border-radius: 8px;
  border: none;
  background: #254135;
  color: #fff;
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  margin-right: 10px;
  transition: background 0.17s, color 0.14s;
}
.cookie-modal button.settings {
  background: #A3BCB6;
  color: #254135;
}
.cookie-modal button.reject {
  background: #E8C9D8;
  color: #7A2B67;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #42725B;
  color: #fff;
}
.cookie-modal button.settings:hover, .cookie-modal button.settings:focus {
  background: #7A998A;
  color: #fff;
}
.cookie-modal button.reject:hover, .cookie-modal button.reject:focus {
  background: #C15895;
  color: #fff;
}

@media (max-width: 480px) {
  .cookie-modal { padding: 17px 6vw 11px 6vw; }

}

/* ---------------------
   GENERAL SPACING & WHITE SPACE
------------------------ */
main, .container, .content-wrapper {
  width: 100%;
}
main {
  display: flex;
  flex-direction: column;
  gap: 42px;
}
@media (max-width: 540px) {
  main { gap: 21px; }
  .content-wrapper h1 { font-size: 1.65rem; }
  .section { margin-bottom: 21px; padding: 18px 2vw; }
}

/* -----------
   UTILITIES
----------------- */
.gap-32 { gap: 32px; }
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }
.p-20 { padding: 20px !important; }
.mb-32 { margin-bottom: 32px; }
.mb-20, .content-wrapper > * + * { margin-bottom: 20px; }
@media (max-width: 540px) {
  .gap-32 { gap: 16px }
  .gap-24 { gap: 12px }
}

/* Hide visually only (for accessibility) */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* -------------
   SCROLLBAR
--------------- */
body::-webkit-scrollbar {
  width: 8px;
  background: #fff;
}
body::-webkit-scrollbar-thumb {
  background: #E8C9D8;
  border-radius: 5px;
}

/* Apple-style input autofill fix */
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #254135 !important;
}

/* -----------------
   ANIMATIONS & INTERACTIONS
--------------------*/
.card, .testimonial-card {
  transition: box-shadow 0.28s, transform 0.18s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 7px 30px 0 rgba(37,65,53,0.18);
  transform: translateY(-4px) scale(1.01);
}

.cta-btn:active, button:active, .btn:active {
  transform: scale(0.98) !important;
}

/* --------------
   RESPONSIVE LAYOUT
--------------- */
@media (max-width: 930px) {
  .container { max-width: 96vw; }
  .content-wrapper { max-width: 98vw; }
}
@media (max-width: 700px) {
  .container, .content-wrapper { padding: 0 4vw; }
  .card, .testimonial-card { padding: 19px 9px; min-width: 150px; }
  .content-wrapper h2 { font-size: 1.22rem; }
}
@media (max-width: 520px) {
  .card, .testimonial-card { padding: 12px 4vw; border-radius: 10px; }
}

/* --------------
   MISC STYLES
----------------*/
hr {
  border: none;
  border-bottom: 1px solid #E4ECE8;
  margin: 24px 0;
}

/* CLASSES FROM MANDATORY PATTERN */
.section { margin-bottom:60px; padding:40px 20px; }
.card-container { display:flex; flex-wrap:wrap; gap:24px; }
.card { margin-bottom: 20px; position:relative; }
.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; align-items:center; gap:20px; padding:20px; }
.feature-item { display:flex; flex-direction:column; align-items:flex-start; gap:15px; }


/* -------------
   PRINT MEDIA
----------------- */
@media print {
  header,.mobile-menu,.cookie-consent-banner,.cookie-modal-overlay,footer { display: none !important; }
  .container, main, .content-wrapper { max-width: none !important; padding: 0 !important; }
}

/* -----------
   BRAND FONTS
-------------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Cormorant Garamond'),url('https://fonts.gstatic.com/s/cormorantgaramond/v17/EJRMQgErUN8XuHNEtX81i9TmEkrnWEvYJA.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Lato'),url('https://fonts.gstatic.com/s/lato/v24/S6uyw4BMUTPHjxAwXjeu.woff2') format('woff2');
}

/* ---------------
   ACCESSIBILITY
------------------- */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 2px solid #E8C9D8;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #E8C9D824;
}

[tabindex="-1"]:focus { outline: none !important; }

/* Hide mobile nav links on desktop */
@media (min-width: 640px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}
