/* RESET & BASE STYLES */
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, menu, 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,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #2D3A2E;
  background: #FFF9F3;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #2D3A2E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B29B54;
  outline: none;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}

/* TYPOGRAPHY*/
h1, .h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #2D3A2E;
}
h2, .h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #2D3A2E;
}
h3, .h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.375rem;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #B29B54;
}
h4, .h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  font-weight: 600;
}
p, .text-section {
  font-size: 1rem;
  color: #2D3A2E;
  margin-bottom: 1rem;
}
.text-section {
  margin-bottom: 12px;
}

b, strong { font-weight: 700; }

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  background: #fff;
  border-radius: 20px;
  padding: 36px 24px;
  box-shadow: 0 7px 32px rgba(55,48,30,.06);
  margin-bottom: 32px;
}

/* SECTION SPACING */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(178,155,84,0.08);
  padding: 24px 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 7px 28px rgba(178,155,84,0.16);
  transform: translateY(-4px) scale(1.025);
}
.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;
  background: #E3D7C3;
  border-radius: 22px;
  box-shadow: 0 3px 16px rgba(45,58,46,0.08);
  margin-bottom: 20px;
  color: #2D3A2E;
}
.testimonial-card p {
  font-size: 1.125rem;
  font-style: italic;
  color: #2D3A2E;
}
.testimonial-card span {
  font-weight: 700;
  color: #B29B54;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SPECIAL GRIDS FOR FEATURES */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-bottom: 18px;
}
.feature-grid > div {
  min-width: 200px;
  flex: 1 1 220px;
  background: #FFF6E8;
  border-radius: 18px;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 10px rgba(178,155,84,0.06);
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover {
  box-shadow: 0 7px 28px rgba(178,155,84,0.18);
  transform: translateY(-2px) scale(1.016);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(178,155,84,0.10);
}

/* BUTTONS & CTA */
.cta-btn, button.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #B29B54;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(178,155,84,0.08);
  padding: 13px 32px;
  margin-top: 18px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.18s, transform 0.14s, box-shadow 0.14s;
}
.cta-btn:hover, .cta-btn:focus, button.cta-btn:hover, button.cta-btn:focus {
  background: #927933;
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 4px 20px rgba(178,155,84,0.16);
  color: #fff;
  outline: none;
}
.cta-btn[disabled], button.cta-btn[disabled] {
  opacity: .4;
  pointer-events: none;
}

/* HEADER NAVIGATION */
header {
  background: #FFF6E8;
  border-bottom: 1.5px solid #E3D7C3;
  position: relative;
  z-index: 4;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #2D3A2E;
  border-radius: 6px;
  padding: 6px 14px;
  transition: background 0.14s, color 0.16s;
}
header nav a:hover, header nav a:focus {
  background: #B29B54;
  color: #fff;
}
header img {
  max-height: 46px;
  border-radius: 14px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 16px;
  top: 16px;
  z-index: 101;
  background: #B29B54;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 14px;
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(178,155,84,0.10);
  cursor: pointer;
  transition: background 0.14s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #927933;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #FFF6E8;
  box-shadow: 0 0 100px rgba(45,58,46,0.14);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.36s cubic-bezier(0.34,1.56,0.64,1), opacity 0.22s;
  pointer-events: none; }
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  color: #B29B54;
  font-size: 2.2rem;
  border: none;
  align-self: flex-end;
  margin: 18px 24px 0 0;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #2D3A2E;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding: 36px 30px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #2D3A2E;
  padding: 10px 0;
  border-radius: 10px;
  transition: background 0.13s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #B29B54;
  color: #fff;
}

/* HERO SECTION */
.hero {
  background: #E3D7C3;
  border-radius: 0 0 44px 44px;
  box-shadow: 0 6px 32px rgba(178,155,84,0.12);
  padding: 56px 0 44px 0;
  margin-bottom: 44px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  text-align: center;
  padding: 0;
}
.hero h1 {
  color: #2D3A2E;
  margin-bottom: 18px;
  font-size: 2.6rem;
}
.hero p {
  font-size: 1.22rem;
  color: #2D3A2E;
  margin-bottom: 12px;
}

/* TESTIMONIAL SLIDER */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
}
.testimonial-card {
  min-width: 320px;
  flex: 1 1 320px;
  box-shadow: 0 4px 16px rgba(45,58,46,0.08);
}

/* FOOTER */
footer {
  background: #2D3A2E;
  color: #FFF9F3;
  padding: 44px 0 24px 0;
  box-shadow: 0 -3px 24px rgba(45,58,46,0.07);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #FFF9F3;
  font-size: 1rem;
  margin-bottom: 6px;
  border-radius: 5px;
  transition: background 0.14s, color 0.16s; 
  padding: 4px 10px;
}
footer nav a:hover, footer nav a:focus {
  background: #B29B54;
  color: #fff;
}
footer img {
  max-height: 40px;
  border-radius: 12px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 1rem;
}
.footer-contact img {
  width: 22px;
  height: 22px;
  margin-right: 9px;
  vertical-align: middle;
  border-radius: 7px;
  box-shadow: 0 1px 4px rgba(178,155,84,0.09);
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #FFF9F3;
}

/* FORMS */
input[type="email"] {
  font-size: 1rem;
  padding: 11px 14px;
  border-radius: 18px;
  border: 1.5px solid #E3D7C3;
  background: #fff;
  margin-right: 12px;
  margin-bottom: 10px;
  outline: none;
  transition: border-color 0.13s;
  color: #2D3A2E;
  min-width: 180px;
}
input[type="email"]:focus {
  border-color: #B29B54;
}

/* Utility: Margin between all content cards/sections */
section + section {
  margin-top: 34px;
}

/* Cookie Banner & Modal */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #FFF6E8;
  color: #2D3A2E;
  border-top: 2px solid #E3D7C3;
  box-shadow: 0 -3px 24px rgba(45,58,46,0.08);
  z-index: 400;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 22px 14px;
  font-size: 1rem;
  transition: transform 0.32s cubic-bezier(0.36,1.3,0.47,1), opacity 0.21s;
}
.cookie-banner[aria-hidden="true"] {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner[aria-hidden="false"] {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner button {
  margin-right: 6px;
  margin-bottom: 0;
}
.cookie-banner .cta-btn {
  margin-top: 0;
  margin-bottom: 0;
  padding: 10px 24px;
  font-size: 1rem;
}
.cookie-banner .btn-secondary {
  background: #E3D7C3;
  color: #2D3A2E;
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  margin-left: 4px;
  cursor: pointer;
  transition: background 0.1s, color 0.13s;
}
.cookie-banner .btn-secondary:hover, .cookie-banner .btn-secondary:focus {
  background: #B29B54;
  color: #fff;
  outline: none;
}

.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(45,58,46,0.16);
  z-index: 420;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: background 0.19s;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px 22px 0 0;
  color: #2D3A2E;
  max-width: 440px;
  width: 95vw;
  padding: 32px 28px 26px 28px;
  box-shadow: 0 0 32px rgba(45,58,46,0.13);
  animation: cookieModalUp 0.34s cubic-bezier(0.2,1.1,0.55,1.07);
  position: relative;
  margin-bottom: 0;
}
@keyframes cookieModalUp {
  from { transform: translateY(70px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 9px 0;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  border-radius: 14px;
  background: #E3D7C3;
  position: relative;
  border: none;
  cursor: pointer;
  transition: background 0.13s;
  vertical-align: middle;
}
.cookie-toggle.active {
  background: #B29B54;
}
.cookie-toggle::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(178,155,84,0.10);
  transition: left 0.15s;
}
.cookie-toggle.active::before {
  left: 19px;
}
.cookie-modal .btn-group {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
}
.cookie-modal .btn-secondary,
.cookie-modal .cta-btn {
  margin-bottom: 0;
  margin-top: 0;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 14px; right: 19px;
  background: transparent;
  border: none;
  color: #B29B54;
  font-size: 1.7rem;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  color: #2D3A2E;
  outline: none;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1220px) {
  .container {
    max-width: 100%;
  }
}
@media (max-width: 992px) {
  .feature-grid,
  .card-container,
  .content-grid,
  .footer-contact {
    flex-direction: column;
    gap: 22px;
  }
  .feature-grid > div,
  .card {
    min-width: unset;
    width: 100%;
  }
  footer .container {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 1.7rem; }
  h2, .h2 { font-size: 1.32rem; }
  h3, .h3 { font-size: 1.1rem; }
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  .content-wrapper {
    padding: 22px 8px;
    margin-bottom: 21px;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 8px;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  header nav {
    display: none !important;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 11px 22px;
    margin-top: 12px;
    margin-bottom: 4px;
  }
  .hero {
    border-radius: 0 0 22px 22px;
    padding: 32px 0 20px 0;
    margin-bottom: 24px;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
  .text-image-section,
  .content-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-slider { flex-direction: column; gap: 16px; }
  .testimonial-card { min-width: unset; width: 100%; }
}

@media (max-width: 540px) {
  .content-wrapper {
    padding: 12px 3px;
    margin-bottom: 13px;
  }
  .hero {
    padding: 18px 0 12px 0;
    margin-bottom: 0;
    border-radius: 0 0 13px 13px;
  }
}

/* VISUAL HIERARCHY & MICRO-INTERACTIONS */
.card, .feature-grid > div, .testimonial-card, .content-wrapper {
  transition: box-shadow 0.20s, transform 0.19s, background 0.15s;
}

.card:active, .feature-grid > div:active {
  transform: scale(0.98);
}

button, .cta-btn {
  transition: background 0.18s, box-shadow 0.15s, transform 0.14s;
}

/* Accessibility: Focus Styles */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid #B29B54;
  outline-offset: 2px;
}

/* Hide mobile-menu by default on desktop */
@media (min-width: 769px) {
  .mobile-menu-toggle { display: none !important; }
  .mobile-menu { display: none !important; }
}

/* Ensure content cards and sections have minimum 20px margin between them */
.card + .card, .content-wrapper + .content-wrapper, .section + .section, .feature-grid > div + .feature-grid > div {
  margin-top: 20px;
}

/* Z-INDEX LAYERING FOR MENUS & BANNERS */
header { z-index: 4; }
.mobile-menu { z-index: 120; }
.cookie-banner { z-index: 400; }
.cookie-modal-backdrop { z-index: 420; }

/* --- END OF STYLE --- */
