/* 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, 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F8F4ED;
  color: #3a2a13;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #62421D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #a67d32;
  text-decoration: underline;
}
ul, ol {
  padding-left: 28px;
  margin-bottom: 18px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
}

/* TYPOGRAPHY -------------------------------------------------------------- */
h1, h2, h3, h4, .logo, .btn-primary, .btn-secondary {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #62421D;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
  font-weight: 600;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  font-weight: 600;
  line-height: 1.2;
}
h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
}
p {
  font-size: 1.1rem;
  color: #513916;
  margin-bottom: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.7;
}
.text-section p,
.text-section ul,
.text-section li {
  color: #513916;
}

/* CONTAINER & LAYOUT ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(98, 66, 29, 0.07);
  display: flex;
  flex-direction: column;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}

.card {
  flex: 1 1 310px;
  min-width: 260px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(98,66,29,0.07);
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  background: #f3ede5;
  box-shadow: 0 2px 8px rgba(98,66,29,.09);
  margin-bottom: 20px;
  max-width: 600px;
  border-left: 5px solid #CBA86B;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card p {
  font-size: 1.15rem;
  color: #513916;
  font-style: italic;
}
.testimonial-card h3 {
  font-size: 1.1rem;
  color: #62421D;
  margin-bottom: 0;
  font-weight: 500;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px rgba(98,66,29,0.13);
  border-left: 5px solid #62421D;
}

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

/* BUTTONS & LINKS --------------------------------------------------------- */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  border-radius: 6px;
  padding: 12px 34px;
  font-size: 1.18rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, border 0.18s;
  text-decoration: none;
  margin-top: 10px;
  margin-bottom: 8px;
}
.btn-primary {
  background: #62421D;
  color: #fff;
  border: none;
  box-shadow: 0 2px 6px rgba(98,66,29,0.10);
}
.btn-primary:hover,
.btn-primary:focus {
  background: #CBA86B;
  color: #62421D;
  box-shadow: 0 4px 16px rgba(98,66,29,.15);
}
.btn-secondary {
  background: #CBA86B;
  color: #62421D;
  border: 2px solid #CBA86B;
  box-shadow: 0 1px 5px rgba(98,66,29,0.09);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #fff;
  color: #62421D;
  border: 2px solid #62421D;
  box-shadow: 0 2px 12px rgba(98,66,29,0.13);
}

/* HEADER & NAVIGATION ----------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 4px 16px rgba(98,66,29,0.08);
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  margin-right: 32px;
  display: flex;
  align-items: center;
  font-size: 2rem;
  font-weight: 700;
  color: #62421D;
}
.logo img {
  height: 54px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  flex-direction: row;
  flex: 1;
  gap: 16px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  color: #62421D;
  padding: 8px 0 8px 0;
  opacity: 0.98;
  border-bottom: 2px solid transparent;
  transition: border 0.2s, color 0.2s;
}
.main-nav a.btn-primary {
  margin-left: 16px;
}
.main-nav a:hover,
.main-nav a:focus {
  border-bottom: 2px solid #CBA86B;
  color: #3a2a13;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #62421D;
  cursor: pointer;
  margin-left: 18px;
  z-index: 40;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #CBA86B;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(248,244,237,0.98);
  box-shadow: 0 8px 24px rgba(98,66,29,0.15);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 90;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.74,.14,.27,.97), opacity 0.2s;
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #62421D;
  align-self: flex-end;
  margin: 18px 22px 8px 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #CBA86B;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  padding: 0 28px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  color: #62421D;
  padding: 10px 0 9px 0;
  width: 100%;
  border-bottom: 1px solid #ebe7d8;
  font-weight: 500;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #a67d32;
  background: #ede4d0;
}

/* Hide .main-nav and show menu toggle on mobile  */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* FOOTER --------------------------------------------------------- */
footer {
  background: #fff;
  border-top: 2px solid #f3ede5;
  margin-top: 80px;
  padding-top: 32px;
  padding-bottom: 24px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #62421D;
  font-size: 1rem;
  opacity: 0.93;
  transition: color 0.15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #CBA86B;
}
.footer-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.footer-info img {
  height: 32px;
  width: auto;
}
.footer-info p {
  font-size: 0.96rem;
  color: #a7823d;
  margin-bottom: 0;
}

/* CARDS, UL, FEATURES ---------------------------------------------- */
.text-section {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section ul li {
  margin-bottom: 7px;
}
ul {
  list-style-type: disc;
}

.card-grid, .card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
  margin-bottom: 30px;
}
.card-list .card {
  min-width: 220px;
  max-width: 440px;
}

/* MAP ------------------------------------------- */
.map {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8f4ed;
  border-radius: 7px;
  padding: 11px 20px;
  margin-bottom: 14px;
  color: #514315;
  font-size: 1rem;
}

/* ICONS --------------------------------------------- */
.text-section li img {
  vertical-align: -5px;
  margin-right: 8px;
  width: 22px;
  height: 22px;
  display: inline-block;
}
.text-section p img {
  vertical-align: -4px;
  margin-right: 8px;
  width: 22px;
  height: 22px;
  display: inline-block;
}

/* SPACING FOR SECTIONS, CARDS, TESTIMONIALS ------------------- */
.section > .container:not(:last-child) {
  margin-bottom: 20px;
}

.testimonial-card:not(:last-child) {
  margin-bottom: 20px !important;
}

.card:not(:last-child) {
  margin-right: 0;
}

/* VISUAL HIERARCHY & BREADTH -------------------------------------- */
.section h2 {
  margin-bottom: 14px;
}
.section h3 {
  margin-top: 6px;
  margin-bottom: 7px;
  font-size: 1.17rem;
}

/* COOKIE CONSENT BANNER ---------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #fffbe6;
  box-shadow: 0 -4px 16px rgba(98,66,29,0.12);
  border-top: 2px solid #CBA86B;
  z-index: 200;
  padding: 19px 12px 21px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  animation: fadeInUp 0.5s;
}
@keyframes fadeInUp {
  from { opacity:0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: 5px;
  border: none;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.cookie-btn.accept {
  background: #62421D;
  color: #fff;
}
.cookie-btn.accept:hover {
  background: #CBA86B;
  color: #62421D;
}
.cookie-btn.reject {
  background: #ede2c7;
  color: #62421D;
  border: 1px solid #CBA86B;
}
.cookie-btn.reject:hover {
  background: #fff;
  border: 1.5px solid #62421D;
}
.cookie-btn.preferences {
  background: transparent;
  color: #a7823d;
  border: 1.5px solid #CBA86B;
}
.cookie-btn.preferences:hover {
  background: #ede2c7;
}

/* COOKIE PREFERENCES MODAL ---------------------------------------------- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(64,51,22,0.21);
  z-index: 250;
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal-content {
  background: #fffbe6;
  border-radius: 16px;
  box-shadow: 0 5px 26px rgba(98,66,29,0.17);
  max-width: 370px;
  width: 96%;
  padding: 36px 28px 29px 28px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: modalBounceIn 0.35s;
}
@keyframes modalBounceIn {
  from {
    opacity: 0;
    transform: scale(.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.cookie-modal-header {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.37rem;
  color: #62421D;
  margin-bottom: 9px;
  font-weight: 700;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.cookie-modal .category-desc {
  font-size: 0.98rem;
  color: #9a824a;
  margin-left: 8px;
}
.cookie-toggle {
  appearance: none;
  width: 40px; height: 21px;
  background: #e0d3b6;
  border-radius: 16px;
  position: relative;
  outline: none;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #CBA86B;
}
.cookie-toggle:before {
  content: '';
  width: 17px; height: 17px;
  background: #fff;
  border-radius: 50%;
  top: 2px; left: 2px;
  box-shadow: 0 1px 4px rgba(98,66,29,0.12);
  position: absolute;
  transition: left 0.18s;
}
.cookie-toggle:checked:before {
  left: 21px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 10px;
  justify-content: flex-end;
}

/* FORM, INPUTS & MAP ------------ */
input, select, textarea {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 4px;
  padding: 10px;
  border: 1px solid #dad2bd;
  background: #f8f4ed;
  margin-bottom: 14px;
  transition: border 0.19s;
}
input:focus, select:focus, textarea:focus {
  border: 1.5px solid #CBA86B;
  outline: 0;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #62421D;
  margin-bottom: 4px;
  display: block;
}

/* RESPONSIVE ADJUSTMENTS --------------------------------- */
@media (max-width: 820px) {
  .container {
    padding: 0 12px;
  }
  .content-wrapper {
    max-width: 98vw;
    padding: 0;
  }
  .section {
    padding: 30px 6px;
  }
  footer .footer-nav {
    gap: 11px;
  }
}
@media (max-width: 680px) {
  .section {
    margin-bottom: 35px;
    padding: 22px 3px;
  }
  .card-container, .content-grid, .card-grid {
    gap: 13px;
  }
  .footer-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  h1 {
    font-size: 1.62rem;
    margin-bottom: 11px;
  }
  h2 {
    font-size: 1.23rem;
    margin-bottom: 8px;
  }
  .btn-primary, .btn-secondary {
    font-size: 1rem;
    padding: 10px 14px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .card-container, .content-grid,
  .card-grid, .card-list {
    flex-direction: column;
    gap: 16px;
  }
  .footer-info {
    flex-direction: column;
    align-items: center;
  }
  .container {
    padding: 0 7px;
  }
}
@media (max-width: 475px) {
  .section {
    padding: 12px 1px;
  }
  .footer-info img {
    height: 24px;
  }
}

/* MICRO-INTERACTIONS, HOVER/FOCUS ------------------------ */
.card, .testimonial-card {
  transition: box-shadow 0.17s, border 0.17s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(98, 66, 29, 0.13);
}

.btn-primary, .btn-secondary, .cookie-btn {
  transition: background 0.2s, color 0.2s, box-shadow 0.21s;
}

input, textarea, select {
  transition: border 0.17s;
}

/* UTILITY CLASSES -------------------------------------------- */
.d-none { display: none !important; }
.text-center { text-align: center !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-16 { margin-top: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }

/* PRINT ------------------------------------------------------ */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  .section, .card, .testimonial-card {
    background: none !important;
    box-shadow: none !important;
  }
}

/* FONT FACE FALLBACKS ---------------------------------------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  src: local('Cormorant Garamond'), local('CormorantGaramond-Regular'),
    url('https://fonts.gstatic.com/s/cormorantgaramond/v16/5aUk9_a8oxmIfMJaERwtFnaR4VTA6bO9.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat'), local('Montserrat-Regular'),
    url('https://fonts.gstatic.com/s/montserrat/v25/JTURjIg1_i6t8kCHKm459WlhzQ.woff2') format('woff2');
}

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