/* =============================================
   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;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background: #FFF;
  color: #424B3D;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, picture {
  max-width: 100%;
  display: block;
}
a {
  color: #AD9466;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #424B3D;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  border: none;
  background: none;
}
button {
  cursor: pointer;
}

/* =============================================
   BRAND COLORS & FONTS
============================================== */
:root {
  --color-primary: #424B3D;
  --color-secondary: #E8E2D0;
  --color-accent: #AD9466;
  --color-bg: #FFF;
  --color-neutral: #FAF9F7;
  --color-section-bg: #FAF6EF;
  --color-shadow: rgba(66,75,61,0.08);
  --color-border: #EBE7DD;
  --color-text: #424B3D;
  --color-subtle: #7B715C;
  --color-light: #FFF;
  --color-highlight: #FFF7E9;
  --color-warning: #E7BC50;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Source Sans Pro', Arial, sans-serif;
}

/* =============================================
   LAYOUT CONTAINER & SPACING
============================================== */
.container {
  width: 100%;
  margin: 0 auto;
  max-width: 1080px;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-section-bg);
  border-radius: 32px;
  box-shadow: 0 4px 32px var(--color-shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}
.features-grid,
.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card-container {
  gap: 24px;
}
.card {
  background: var(--color-light);
  border-radius: 20px;
  box-shadow: 0 4px 18px var(--color-shadow);
  margin-bottom: 20px;
  padding: 24px;
  flex: 1 1 320px;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px rgba(66,75,61,0.17);
  transform: translateY(-3px) scale(1.02);
}
.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;
  background: var(--color-light);
  border-radius: 24px;
  box-shadow: 0 2px 16px var(--color-shadow);
  padding: 20px;
  margin-bottom: 20px;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  position: relative;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #2D342A;
  font-style: italic;
  margin-bottom: 4px;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.97rem;
  color: var(--color-subtle);
  font-style: normal;
  font-family: var(--font-body);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.cta-text {
  font-size: 1.18rem;
  color: var(--color-primary);
  font-family: var(--font-body);
  margin-bottom: 16px;
}

/* =============================================
   TYPOGRAPHY
============================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: bold;
  color: var(--color-primary);
}
h1 {
  font-size: 2.75rem;
  letter-spacing: -1px;
  margin-bottom: 10px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  letter-spacing: -.5px;
  margin-bottom: 8px;
}
h3 {
  font-size: 1.35rem;
  letter-spacing: 0px;
  margin-bottom: 8px;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
  font-weight: 600;
}
.subheadline {
  font-size: 1.3rem;
  font-family: var(--font-body);
  color: var(--color-accent);
  margin-bottom: 10px;
  font-weight: 500;
  letter-spacing: 0.2px;
}
p, ul, ol {
  font-size: 1.06rem;
  color: var(--color-text);
  font-family: var(--font-body);
}

/* =============================================
   HEADER & NAVIGATION
============================================== */
header {
  background: var(--color-light);
  box-shadow: 0 2px 10px var(--color-shadow);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  min-height: 64px;
  gap: 12px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
  padding: 6px 10px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
header img {
  height: 38px;
  width: auto;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #FFF;
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 600;
  border-radius: 20px;
  padding: 12px 28px;
  margin-left: 12px;
  box-shadow: 0 2px 8px var(--color-shadow);
  border: none;
  transition: background 0.18s, box-shadow 0.2s, transform 0.18s;
  letter-spacing: 0.2px;
  text-decoration: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(172,144,90, 0.18);
  transform: translateY(-1px) scale(1.04);
}

/* =============================================
   MOBILE NAVIGATION BURGER MENU
============================================== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 1.9rem;
  line-height: 1;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  box-shadow: 0 2px 10px var(--color-shadow);
  transition: background 0.16s;
  z-index: 105;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-section-bg);
  box-shadow: 0 0 40px rgba(66,75,61, 0.20);
  transform: translateX(-100vw);
  transition: transform 0.27s cubic-bezier(.41,.79,.36,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 36px 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-accent);
  color: #fff;
  font-size: 2.2rem;
  border-radius: 50%;
  border: none;
  width: 48px;
  height: 48px;
  margin: 20px 0 20px 18px;
  transition: background 0.16s;
  align-self: flex-start;
  z-index: 205;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 32px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-primary);
  padding: 14px 12px;
  border-radius: 14px;
  background: var(--color-light);
  margin-bottom: 10px;
  transition: background .16s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
@media (max-width: 1020px) {
  header .container {
    flex-wrap: wrap;
  }
}
@media (max-width: 920px) {
  header nav {
    gap: 12px;
  }
}
@media (max-width: 860px) {
  header nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 630px) {
  header .container {
    padding: 9px 10px;
  }
}

/* =============================================
   MAIN & CARDS
============================================== */
main {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 60px;
}
.features-grid > div {
  flex: 1 1 220px;
  background: var(--color-light);
  border-radius: 18px;
  box-shadow: 0 2px 14px var(--color-shadow);
  padding: 30px 18px 20px 18px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid var(--color-border);
  transition: transform 0.15s, box-shadow 0.2s;
  margin-bottom: 0;
}
.features-grid > div:hover, .features-grid > div:focus {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 8px 24px rgba(66,75,61,0.14);
  z-index: 3;
}
.features-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 2px;
}
.features-grid h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 6px 0;
}
.features-grid p {
  color: #56523E;
}

/* =============================================
   FOOTER
============================================== */
footer {
  background: var(--color-neutral);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 18px rgba(66,75,61,0.07);
  padding: 40px 0 5px 0;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding: 0 20px;
}
.footer-brand {
  flex: 0 0 72px;
  margin-right: 24px;
}
.footer-brand img {
  width: 48px;
  height: auto;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
footer nav a {
  color: var(--color-primary);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: color .18s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-accent);
}
.footer-contact {
  font-size: 0.95rem;
  color: var(--color-subtle);
  font-family: var(--font-body);
  line-height: 1.5;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 4px;
  margin-bottom: 2px;
}
@media (max-width: 900px) {
  footer .container {
    gap: 14px;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 10px;
  }
  .footer-brand {
    margin-right: 0;
    margin-bottom: 12px;
  }
}
@media (max-width: 644px) {
  footer {
    padding: 28px 0 6px 0;
  }
}

/* =============================================
   COOKIE CONSENT BANNER & MODAL
============================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 9999;
  background: var(--color-section-bg);
  padding: 24px 16px 18px 16px;
  box-shadow: 0 -2px 18px rgba(66,75,61,0.17);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  animation: cookieBannerIn 0.54s cubic-bezier(.41,.79,.36,1);
}
@keyframes cookieBannerIn {
  from {transform: translateY(110%);} to {transform: translateY(0);}
}
.cookie-banner p {
  color: var(--color-text);
  font-size: 1.04rem;
  text-align: center;
  margin-bottom: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  border: none;
  outline: none;
  border-radius: 16px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  padding: 10px 26px;
  margin-bottom: 2px;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
}
.cookie-btn-accept {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 2px 8px var(--color-shadow);
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: var(--color-primary);
}
.cookie-btn-reject {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn-settings {
  background: transparent;
  border: 1.5px solid var(--color-accent);
  color: var(--color-accent);
  padding: 10px 19px;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: var(--color-accent);
  color: #fff;
}
/* Cookie Modal Popup */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 12000;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(66,75,61, 0.13);
  justify-content: center;
  align-items: center;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fadeIn .36s cubic-bezier(.41,.79,.36,1);
}
@keyframes fadeIn {
  from {opacity:0;} to {opacity:1;}
}
.cookie-modal {
  background: var(--color-light);
  border-radius: 22px;
  box-shadow: 0 8px 44px rgba(66,75,61,0.14);
  max-width: 420px;
  width: 94vw;
  min-height: 230px;
  padding: 32px 28px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalBounce .47s cubic-bezier(.41,.79,.36,1);
}
@keyframes modalBounce {
  0% {transform: scale(.80); opacity:0.4;}
  40% {transform: scale(1.02); opacity:.95;}
  80% {transform: scale(.98); opacity:1;}
  100% {transform: scale(1);}
}
.cookie-modal h2 {
  font-size: 1.32rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cookie-category-label {
  font-size: 1.05rem;
  color: var(--color-text);
}
.cookie-switch {
  width: 44px;
  height: 24px;
  border-radius: 16px;
  background: var(--color-secondary);
  position: relative;
  transition: background .2s;
  margin-left: 10px;
  flex-shrink: 0;
}
.cookie-switch input {
  display: none;
}
.cookie-switch-on {
  background: var(--color-accent);
}
.cookie-switch-slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: left .17s;
  box-shadow: 0 1px 5px rgba(173,148,102,0.09);
}
.cookie-switch-on .cookie-switch-slider {
  left: 22px;
  background: var(--color-primary);
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  border: none;
  width: 30px;
  height: 30px;
  font-size: 1.18rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-primary);
}
.cookie-modal-desc {
  font-size: 0.98rem;
  color: #6C6557;
  margin-bottom: 6px;
}

/* =============================================
   GENERAL UI ELEMENTS & FORMATS
============================================== */
::-webkit-scrollbar {
  width: 10px;
  background: var(--color-section-bg);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 8px;
}
hr {
  border: none;
  border-top: 1.5px solid var(--color-border);
  margin: 38px 0;
}
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section {
    padding: 30px 7px;
    margin-bottom: 44px;
    border-radius: 0;
  }
}

/* =============================================
   RESPONSIVE ADJUSTMENTS
============================================== */
@media (max-width: 768px) {
  .section, .card, .features-grid > div {
    border-radius: 12px;
    padding: 20px 10px 18px 10px;
  }
  .container {
    padding: 0 6px;
  }
  .content-wrapper {
    gap: 15px;
  }
  .features-grid, .card-container, .card-grid, .content-grid {
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 8px;
    min-width: 0;
  }
}

@media (max-width: 540px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .cta-btn {
    padding: 10px 13px;
    font-size: 1rem;
    border-radius: 15px;
  }
  .features-grid > div {
    min-width: 90vw;
    padding: 15px 7px 14px 7px;
  }
  .testimonial-card {
    font-size: 0.97rem;
    border-radius: 12px;
    padding: 12px 5px;
  }
}

/* =============================================
   ANIMATIONS, TRANSITIONS, MICRO-INTERACTIONS
============================================== */
.card, .features-grid > div {
  transition: box-shadow .2s cubic-bezier(.41,.79,.36,1),
              transform .12s cubic-bezier(.41,.79,.36,1);
}
.button, .cta-btn, .cookie-btn, .mobile-menu-toggle {
  transition: background .18s, color .16s, box-shadow .18s, transform .14s;
}
.mobile-menu,
.cookie-banner,
.cookie-modal,
.cookie-modal-overlay {
  transition: transform .2s, opacity .2s;
}

/* =============================================
   Utility Classes
============================================== */
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.mt-1 { margin-top: 8px!important; }
.mb-1 { margin-bottom: 8px!important; }
.mt-2 { margin-top: 16px!important; }
.mb-2 { margin-bottom: 16px!important; }
.mt-3 { margin-top: 24px!important; }
.mb-3 { margin-bottom: 24px!important; }
.mt-4 { margin-top: 32px!important; }
.mb-4 { margin-bottom: 32px!important; }

/* =============================================
   END
============================================== */
