/* ----- CSS RESET & NORMALIZATION ----- */
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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  color: #264932;
  background: #F8F6F0;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.02em;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}


/* ----- FONT FAMILY ----- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4,
.main-nav a, .mobile-nav a,
.cta-button {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.375rem;
  line-height: 1.14;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.875rem;
  margin-bottom: 20px;
  line-height: 1.18;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.2;
}
p, li, span, strong {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
strong {
  font-weight: 700;
}


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

/* ----- HEADER ----- */
header {
  background-color: #F8F6F0;
  border-bottom: 3.5px solid #BDA57B;
  box-shadow: 0 2px 8px rgba(38, 73, 50, 0.03);
  padding-top: 8px;
}
header .container {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  gap: 32px;
  min-height: 80px;
}
header a img {
  height: 48px;
  width: auto;
}

/* ----- NAVIGATION ----- */
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
.main-nav a {
  font-size: 1rem;
  color: #264932;
  opacity: 0.89;
  padding: 4px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  font-family: 'Playfair Display', serif;
}
.main-nav a:hover, .main-nav a:focus {
  background: #BDA57B;
  color: #F8F6F0;
  opacity: 1;
}

.cta-button.primary {
  background: #264932;
  color: #F8F6F0;
  padding: 11px 34px;
  border-radius: 32px 8px 32px 8px;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  box-shadow: 0 2px 12px rgba(38, 73, 50, 0.13);
  border: 2.4px solid #BDA57B;
  transition: background 0.24s, color 0.16s, box-shadow 0.2s;
  cursor: pointer;
  display: inline-block;
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: #BDA57B;
  color: #264932;
  border-color: #264932;
  box-shadow: 0 5px 20px rgba(38, 73, 50, 0.11);
}

/* ----- MOBILE NAVIGATION ----- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 26px;
  right: 24px;
  z-index: 3030;
  background: #264932;
  color: #F8F6F0;
  font-size: 2.125rem;
  width: 50px;
  height: 50px;
  border-radius: 12px 36px 12px 36px;
  box-shadow: 0 2px 18px rgba(38,73,50,0.18);
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  border: 2px solid #BDA57B;
}
.mobile-menu-toggle:active {
  background: #BDA57B;
  color: #264932;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F8F6F0;
  z-index: 4000;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.7,0,.3,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 0 0 0;
  box-shadow: -2px 0 32px rgba(38, 73, 50, 0.17);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 26px 26px 12px 0;
  background: #BDA57B;
  color: #264932;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 32px;
  transition: background 0.2s;
  border: 2px solid #264932;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #264932;
  color: #F8F6F0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 16px 32px;
}
.mobile-nav a {
  font-size: 1.19rem;
  color: #264932;
  padding: 9px 0 9px 12px;
  border-left: 4px solid #BDA57B;
  background: transparent;
  border-radius: 0 12px 12px 0;
  margin-left: 2px;
  width: 100%;
  font-family: 'Playfair Display', serif;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #BDA57B;
  color: #F8F6F0;
}

/* ----- HERO & SECTION STYLES ----- */
main {
  width: 100%;
  padding-bottom: 60px;
}
section {
  width: 100%;
  background: transparent;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 14px 34px 14px 34px;
  position: relative;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul, .text-section ol {
  margin-left: 22px;
  padding-left: 0;
  list-style: disc inside;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.text-section li {
  font-size: 1rem;
  padding-left: 4px;
  margin-bottom: 8px;
  line-height: 1.5;
}
.text-section li:last-child {
  margin-bottom: 0;
}
.text-section p {
  margin-bottom: 5px;
}

/* ----- FLEX LAYOUTS as per requirements ----- */
.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;
}


/* ----- FEATURE GRID & CARDS ----- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: flex-start;
}
.feature-item {
  background: #fff;
  border-radius: 18px 5px 18px 5px;
  border: 2.5px solid #BDA57B;
  box-shadow: 0 4px 32px rgba(38,73,50,0.07);
  padding: 32px 28px 24px 28px;
  min-width: 220px;
  max-width: 270px;
  flex: 1 1 240px;
  transition: box-shadow 0.19s, transform 0.18s;
  align-items: flex-start;
}
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 8px 40px rgba(38,73,50,.14);
  transform: translateY(-5px) scale(1.025);
}
.feature-item img {
  width: 44px;
  height: 44px;
}

/* ----- TESTIMONIALS ----- */
.testimonial-card {
  background: #FFFFFF;
  border: 2.5px solid #BDA57B;
  border-radius: 14px 44px 14px 44px;
  margin-bottom: 20px;
  box-shadow: 0 2px 13px rgba(38,73,50,0.09);
  color: #264932;
  max-width: 700px;
  font-size: 1.13rem;
  font-weight: 500;
  line-height: 1.6;
  transition: box-shadow 0.16s, border-color 0.2s;
}
.testimonial-card span {
  color: #BDA57B;
  font-size: 0.98rem;
  margin-left: 14px;
  font-style: italic;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 36px rgba(38,73,50,0.13);
  border-color: #264932;
}

/* ----- CARDS GENERIC STYLE ----- */
.card {
  background: #fff;
  border-radius: 18px 4px 18px 4px;
  border: 2.1px solid #BDA57B;
  min-width: 240px;
  max-width: 360px;
  padding: 32px 26px;
  box-shadow: 0 2px 16px rgba(38,73,50,0.08);
  transition: box-shadow 0.14s, border-color 0.18s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 28px rgba(38,73,50,0.13);
  border-color: #264932;
}

/* ----- CTA SECTION ----- */
section:last-of-type {
  background: #BDA57B;
  color: #fff;
  box-shadow: 0 4px 24px rgba(189,165,123,0.11);
}
section:last-of-type h2, section:last-of-type p, section:last-of-type strong {
  color: #264932;
}
section:last-of-type .cta-button {
  background: #264932;
  color: #fff;
  border: 2.1px solid #fff;
}
section:last-of-type .cta-button:hover,section:last-of-type .cta-button:focus {
  background: #fff;
  color: #264932;
  border-color: #264932;
}

/* ----- BUTTONS AND LINKS ----- */
.cta-button,
button,
[type=submit] {
  appearance: none;
  background: #BDA57B;
  color: #fff;
  border-radius: 10px 28px 10px 28px;
  padding: 12px 36px;
  min-width: 120px;
  font-size: 1rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  cursor: pointer;
  border: 2.2px solid #264932;
  transition: background 0.20s, color 0.20s, border 0.16s, box-shadow 0.18s;
  box-shadow: 0 2px 9px rgba(189,165,123, 0.08);
}
.cta-button:hover, .cta-button:focus,
button:hover, button:focus {
  background: #264932;
  color: #fff;
  border-color: #BDA57B;
  box-shadow: 0 4px 16px rgba(38,73,50,0.18);
}

/* ----- LISTS ----- */
ul, ol {
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 9px;
  position: relative;
  padding-left: 20px;
  color: #264932;
}
ul li::before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  top: 7px;
  width: 11px;
  height: 11px;
  background: #BDA57B;
  border-radius: 20% 60% 40% 80%;
}

/* ----- FOOTER ----- */
footer {
  background: #264932;
  color: #F8F6F0;
  padding: 40px 0 30px 0;
  border-radius: 28px 8px 0 0;
  margin-top: 40px;
  font-size: 1rem;
  box-shadow: 0 -4px 32px rgba(38,73,50,0.11);
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}
.footer-logo {
  flex: 0 0 80px;
  align-self: flex-start;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 220px;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.97rem;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  opacity: 0.88;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 135px;
}
.footer-nav a {
  color: #BDA57B;
  font-size: 1rem;
  transition: color 0.17s;
  font-family: 'Playfair Display', serif;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 17px;
  align-self: flex-end;
}
.footer-social a img {
  width: 26px; height: 26px;
  opacity: 0.88;
  transition: opacity 0.18s, transform 0.16s;
}
.footer-social a:hover img {
  opacity: 1;
  transform: scale(1.11) rotate(-8deg);
}

/* ----- COOKIE CONSENT BANNER & MODAL ----- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 2.5px solid #BDA57B;
  box-shadow: 0 -4px 32px rgba(38,73,50,0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 32px;
  z-index: 4900;
  font-size: 1rem;
  transition: transform 0.29s cubic-bezier(.74,.02,.13,1.01), opacity 0.18s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: #264932;
  font-size: 1rem;
  flex: 1 1 60%;
  margin-right: 24px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-banner button {
  border-radius: 12px 36px 12px 36px;
  border: 2px solid #264932;
  padding: 10px 26px;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  background: #BDA57B;
  color: #fff;
  transition: background 0.16s, color 0.16s, border 0.13s;
  box-shadow: 0 1.5px 9px rgba(189,165,123, 0.05);
  cursor: pointer;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #264932;
  color: #fff;
}
.cookie-settings-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(38,73,50,0.21);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.25s;
}
.cookie-settings-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 24px 8px 24px 8px;
  padding: 38px 44px 32px 44px;
  max-width: 450px;
  width: 96vw;
  box-shadow: 0 8px 64px rgba(38,73,50, 0.19);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-content h3 {
  color: #264932;
  font-family: 'Playfair Display', serif;
  margin-bottom: 8px;
}
.cookie-modal-content .close-cookie-modal {
  position: absolute;
  top: 12px; right: 18px;
  background: none;
  border: none;
  color: #264932;
  font-size: 2.2rem;
  cursor: pointer;
  opacity: 0.76;
  transition: opacity 0.13s;
}
.cookie-modal-content .close-cookie-modal:hover {
  opacity: 1;
}
.cookie-consent-category {
  padding: 12px 0 8px 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.2px solid #BDA57B;
}
.cookie-consent-category:last-child {
  border-bottom: none;
}
.cookie-consent-category label {
  font-size: 1.07rem;
  font-weight: 500;
  color: #264932;
}
.cookie-consent-category input[type=checkbox],
.cookie-consent-category input[type=radio] {
  accent-color: #264932;
  width: 20px; height: 20px;
  margin-left: 11px;
}
.cookie-consent-category input[disabled] {
  filter: grayscale(90%);
  cursor: not-allowed;
}
.cookie-modal-content .save-cookie-settings {
  margin-top: 15px;
  background: #264932;
  color: #fff;
  border-radius: 12px 36px 12px 36px;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  padding: 14px 40px;
  border: 2px solid #BDA57B;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal-content .save-cookie-settings:hover,
.cookie-modal-content .save-cookie-settings:focus {
  background: #BDA57B;
  color: #264932;
}

/* ----- RESPONSIVE DESIGN (MOBILE-FIRST) ----- */
@media (max-width: 1080px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  header .container {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  header .container,
  .footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .main-nav {
    gap: 13px;
  }
}
@media (max-width: 820px) {
  footer .container, .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-social {
    align-self: flex-start;
    margin-top: 12px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
  }
  .main-nav {
    display: none;
  }
  .cta-button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .footer-logo{
    margin-bottom: 10px;
  }
}
@media (max-width: 670px) {
  section {
    padding: 28px 8px;
    margin-bottom: 34px;
    border-radius: 8px 22px 8px 22px;
  }
  .content-wrapper {
    gap: 16px;
    max-width: 100vw;
  }
  h1 {
    font-size: 1.48rem;
  }
  h2 {
    font-size: 1.14rem;
  }
  h3 {
    font-size: 1rem;
  }
  .footer-social a img {
    width: 21px; height: 21px;
  }
  .feature-item {padding: 18px 12px 12px 12px; min-width: 150px;}
}
@media (max-width: 500px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 14px 18px 14px;
    gap: 18px;
  }
  .cookie-banner p {
    margin-right: 0;
  }
  .cookie-banner .cookie-btns {
    gap: 10px;
  }
  .cookie-modal-content {
    padding: 18px 8px 18px 16px;
  }
}
@media (max-width: 580px) {
  .footer-contact, .footer-social {
    align-self: unset;
  }
}
/* ----- GENERIC UTILITIES ----- */
.hide { display: none !important; }
.show { display: block !important; }
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }

/* ----- GEOMETRIC ACCENTS ----- */
section {
  position: relative;
  overflow: visible;
}

/* ----- FOCUS VISIBLE ----- */
a:focus, button:focus, .cta-button:focus {
  outline: 2.5px solid #BDA57B;
  outline-offset: 2px;
}

/* ----- ANIMATIONS ----- */
.fade-in {
  animation: fadeIn 0.65s cubic-bezier(.58,0,1,1) 1;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
section, .cta-button, .testimonial-card, .cookie-banner, .feature-item, .card {
  will-change: transform, box-shadow;
}

/* --- END CSS --- */
