/* --- RESET & BASES --- */
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, strong, sub, sup, 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, main, 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}
html {
  scroll-behavior: smooth;
  background: #F6F4F1;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #F6F4F1;
  color: #3E4348;
  min-height: 100vh;
  line-height: 1.6;
}

/* --- FONT IMPORTS --- */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Cormorant+Garamond:700,600,400&display=swap');

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  color: #3E4348;
  font-weight: 700;
  line-height: 1.12;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

p, li, span {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #3E4348;
  font-size: 1rem;
  margin-bottom: 10px;
}
strong {
  font-weight: 700;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.content-wrapper {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(62, 67, 72, 0.03);
}

section.hero {
  background: #F6F4F1;
  box-shadow: none;
  border-radius: 0 0 32px 32px;
  margin-bottom: 48px;
  padding: 60px 0 30px 0;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 1px 8px rgba(62, 67, 72, 0.04);
  position: relative;
  z-index: 900;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 20px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 25px;
}
nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
nav a {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #3E4348;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
nav a:hover, .footer-nav a:hover {
  background: #94705B22;
  color: #94705B;
}
.cta-primary {
  background: #94705B;
  color: #fff;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 32px;
  border: none;
  box-shadow: 0 2px 12px rgba(62,67,72,0.07);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  text-align: center;
  margin-left: 18px;
  letter-spacing: 0.5px;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #3E4348;
  color: #fff;
  box-shadow: 0 4px 20px rgba(148,112,91,0.11);
}
.cta-secondary {
  background: #fff;
  color: #94705B;
  border: 2px solid #94705B;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 11px 28px;
  border-radius: 32px;
  transition: all 0.22s;
  text-align: center;
  display: inline-block;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #94705B;
  color: #fff;
  border-color: #94705B;
}
button, .mobile-menu-toggle, .mobile-menu-close {
  font-family: inherit;
  outline: none;
  border: none;
  background: none;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #94705B;
  background: #FFF;
  padding: 9px 18px;
  border-radius: 10px;
  transition: background 0.18s;
  margin-left: 14px;
  cursor: pointer;
  z-index: 999;
  border: 1.5px solid #E6E2DC;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F6F4F1;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.65,.05,.36,1);
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
  box-shadow: 0 4px 32px rgba(62,67,72,0.13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  color: #3E4348;
  background: none;
  padding: 16px 14px 4px 0px;
  border-radius: 8px;
  transition: color 0.18s;
  cursor: pointer;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #94705B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
  align-items: flex-start;
  padding: 0 28px;
  flex: 1 1 auto;
}
.mobile-nav a {
  font-size: 1.17rem;
  padding: 12px 0;
  color: #3E4348;
  font-weight: 500;
  border-radius: 8px;
  min-width: 160px;
  transition: background 0.18s, color 0.18s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #94705B22;
  color: #94705B;
}
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 900px) {
  header .container {
    justify-content: space-between;
    min-height: 62px;
    padding: 12px 14px;
  }
}

/* --- HERO AREA --- */
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- FEATURES & FLEX LAYOUTS --- */
.features-grid, .testimonials-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.features-grid > div, .features-grid > a {
  background: #dbd1c2;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(62,67,72,0.045);
  padding: 24px 20px 22px 20px;
  flex: 1 1 250px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0;
  transition: box-shadow 0.18s, transform 0.14s;
}
.features-grid > div:hover, .features-grid > a:hover {
  box-shadow: 0 8px 36px rgba(62,67,72,0.11);
  transform: translateY(-6px) scale(1.03);
}
.features-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 5px;
}
.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;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 320px;
  min-width: 260px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 1.5px 16px rgba(62,67,72,0.06);
  transition: box-shadow .14s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(148,112,91,0.16);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 22px;
  gap: 14px;
}
.testimonials-list {
  gap: 24px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 20px 18px 24px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(148,112,91,0.07);
  min-width: 240px;
  min-height: 120px;
  flex: 1 1 300px;
  margin-bottom: 0;
  border: 1.5px solid #F6F4F1;
  transition: box-shadow .14s, border-color .14s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(62,67,72,0.1);
  border-color: #94705B33;
}
.testimonial-card p {
  font-size: 1.07rem;
  font-style: italic;
  color: #3E4348;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 1rem;
  color: #94705B;
  margin-top: 10px;
}
.customer-rating {
  color: #94705B;
  font-size: 1.25rem;
  margin-top: 6px;
  letter-spacing: 2px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

ul, ol {
  margin-top: 8px;
  margin-bottom: 8px;
  padding-left: 22px;
}
ul li, ol li {
  margin-bottom: 8px;
  list-style-type: disc;
  color: #3E4348;
}

/* --- FOOTER --- */
footer {
  background: #3E4348;
  color: #fff;
  margin-top: 60px;
  padding-top: 38px;
  padding-bottom: 0px;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1.5px solid #fff3;
}
.footer-brand img {
  width: 128px; height: auto;
  margin-bottom: 10px;
}
.footer-brand p {
  color: #E2DDDA;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #F6F4F1;
  font-size: 1rem;
  line-height: 1.9;
  transition: color .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #94705B;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #E2DDDA;
  font-size: 0.98rem;
  line-height: 1.6;
}
.footer-contact img {
  width: 18px; height: 18px;
}
.footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 12px;
}
.footer-social a img {
  filter: grayscale(0.19) brightness(1.03);
  opacity: .97;
  width: 30px;
  height: 30px;
  transition: filter .11s, opacity .13s;
}
.footer-social a:hover img {
  filter: none;
  opacity: 1;
}
.footer-bottom {
  text-align: center;
  color: #E2DCF0;
  margin: 16px auto 0 auto;
  font-size: 0.95rem;
  padding-bottom: 15px;
}

/* --- SPACING and CARD RULES MANDATORY --- */
.section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.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; }

/* --- ACCESSIBILITY --- */
:focus-visible {
  outline: 2px dotted #94705B;
  outline-offset: 1.5px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 2px solid #94705B33;
  box-shadow: 0 -2px 18px rgba(62,67,72,0.07);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 28px 18px 20px 18px;
  transition: transform 0.33s;
}
.cookie-banner.hide {
  transform: translateY(130%);
}
.cookie-banner__text {
  flex: 1 1 260px;
  color: #3E4348;
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  padding: 9px 24px;
  border-radius: 32px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
  font-weight: 500;
  background: #F6F4F1;
  color: #3E4348;
}
.cookie-btn.accept {
  background: #94705B;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #3E4348;
}
.cookie-btn.reject {
  border: 2px solid #94705B;
  color: #94705B;
  background: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #94705B;
  color: #fff;
}
.cookie-btn.settings {
  border: 2px solid #3E4348;
  color: #3E4348;
  background: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #3E4348;
  color: #fff;
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(62,67,72,0.34);
  z-index: 3600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal__content {
  background: #fff;
  border-radius: 22px;
  padding: 30px 32px 28px 32px;
  max-width: 420px;
  min-width: 290px;
  box-shadow: 0 6px 32px rgba(62,67,72,0.13);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: #3E4348;
}
.cookie-modal__content h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.cookie-modal__close {
  position: absolute;
  right: 16px; top: 12px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #94705B;
  cursor: pointer;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
}
.cookie-category input[type='checkbox'],
.cookie-category input[type='radio'] {
  accent-color: #94705B;
  width: 18px;
  height: 18px;
  margin-right: 9px;
}
.cookie-category.disabled label {
  opacity: .7;
}
.cookie-modal__actions {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 12px;
  justify-content: flex-end;
}

/* --- GENERAL ANIMATIONS and MICROINTERACTIONS --- */
button, a, .cta-primary, .cta-secondary, .mobile-menu-toggle, .mobile-menu-close, .features-grid > div, .features-grid > a, .card, .testimonial-card, .cookie-btn {
  transition: background .18s, color .18s, box-shadow .17s, transform .14s;
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
  }
}
@media (max-width: 960px) {
  .features-grid, .testimonials-list {
    flex-wrap: wrap;
    gap: 18px;
  }
  .features-grid > div, .features-grid > a, .testimonial-card {
    flex: 1 1 290px;
    min-width: 168px;
    max-width: 100%;
  }
  .footer-wrapper {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 28px 7px;
    margin-bottom: 38px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.17rem;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  header .container {
    min-height: 52px;
    padding: 9px 7px;
  }
  .hero .container {
    padding: 0 8px;
  }
  .content-wrapper {
    max-width: 97vw;
    padding: 0 4px;
  }
  .features-grid, .testimonials-list {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .cookie-modal__content {
    min-width: 90vw;
    padding: 20px 8vw 22px 6vw;
  }
}
@media (max-width: 500px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 16px 6px 16px 6px;
    font-size: .96rem;
  }
  .cookie-banner__actions {
    gap: 10px;
  }
  .cookie-modal__content {
    padding: 14px 2vw 16px 2vw;
  }
}

/* --- FORM ELEMENTS (CONTACT, ETC.) --- */
input, textarea, select {
  border: 1.5px solid #DDD7D3;
  border-radius: 9px;
  padding: 11px 18px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  margin-bottom: 14px;
  background: #F6F4F1;
  color: #3E4348;
  width: 100%;
  transition: border .13s;
  outline: none;
  box-shadow: none;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #94705B;
}
label {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 3px;
  display: block;
  color: #3E4348;
}

/* --- TABLES (for potential policies, privacy) --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
  background: #fff;
  border-radius: 9px;
  overflow: hidden;
}
th, td {
  padding: 13px 14px;
  border-bottom: 1px solid #ECEDEF;
  color: #3E4348;
  font-size: 1rem;
}
th {
  background: #F6F4F1;
  font-weight: 700;
}

/* --- LINKS --- */
a {
  color: #94705B;
  transition: color 0.16s;
}
a:hover, a:focus {
  color: #3E4348;
}

/* --- SECTIONS & LAYOUT GAPS --- */
.body > main > section, .body > main > .section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}

/* --- NO OVERLAP minor fix for cards --- */
.card, .testimonial-card {
  margin-bottom: 20px !important;
}

/* --- Z-INDEX FIXES --- */
header {
  z-index: 900;
}
.mobile-menu {
  z-index: 2000;
}
.cookie-banner {
  z-index: 3500;
}
.cookie-modal {
  z-index: 3600;
}

/* --- SCROLLBAR STYLES (subtle, optional for scandi look) --- */
::-webkit-scrollbar {
  width: 11px;
  background: #F6F4F1;
}
::-webkit-scrollbar-thumb {
  background: #E5DFD7;
  border-radius: 7px;
  border: 2px solid #F6F4F1;
}

/* --- CUSTOM CHECKBOX/RADIO for cookies (w/ fallback) --- */
input[type='checkbox'], input[type='radio'] {
  accent-color: #94705B;
  width: 18px; height: 18px;
}

/* --- HIDE VISUALLY-ONLY --- */
.visually-hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

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