/* ------------------------------------------------------
   CSS RESET & NORMALIZE (Mobile-first) 
---------------------------------------------------------*/
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,
main, 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;
}
/* HTML5 display-role reset */
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
    display: block;
}
body {
  line-height: 1.65;
  font-family: 'Open Sans', serif;
  color: #243447;
  background: #EFE7D7;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', serif;
  font-weight: 700;
  color: #243447;
  margin-bottom: 16px;
}
h1 { font-size: 2.2rem; line-height: 1.1; }
h2 { font-size: 1.5rem; line-height: 1.2; }
h3 { font-size: 1.18rem; line-height: 1.25; }

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: none;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
  font-size: 1rem;
}
strong {
  font-weight: 700;
}
a {
  color: #B68D40;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #7a5c20;
}
p {
  font-size: 1.08rem;
  margin-bottom: 12px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
th, td {
  border: 1px solid #ebdbbd;
  padding: 14px 8px;
  text-align: left;
  font-size: 1rem;
}
th {
  background: #f7f3ec;
  font-family: 'Montserrat', serif;
  color: #243447;
  font-weight: 700;
}

/* ------------------------------------------------------
   BRAND COLORS
---------------------------------------------------------*/
:root {
  --primary: #243447;
  --secondary: #B68D40;
  --accent: #EFE7D7;
  --muted-1: #F7F3EC;
  --muted-2: #ebdbbd;
  --shadow: rgba(36,52,71,0.07);
}

/* ------------------------------------------------------
   LAYOUT CONTAINERS & SPACING
---------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px var(--shadow);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

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

.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px var(--shadow);
  padding: 28px 24px;
  min-width: 280px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 4px 24px rgba(36,52,71,0.19);
  transform: translateY(-4px) scale(1.015);
  z-index: 2;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--muted-1);
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 0.5px 3px rgba(36,52,71,0.11);
}

.address-map {
  background: var(--muted-1);
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 1rem;
  margin-top: 12px;
}

/* ------------------------------------------------------
   HEADER & NAVIGATION (Desktop & Mobile)
---------------------------------------------------------*/
header {
  background: var(--accent);
  box-shadow: 0 1px 14px rgba(183,141,64,0.07);
  position:sticky;
  top:0; left:0; right:0;
  z-index: 30;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0 28px;
  justify-content: flex-start;
  padding: 16px 0;
  font-family: 'Montserrat', serif;
  font-size: 1.06rem;
}
.main-nav a {
  color: var(--primary);
  background: none;
  border: none;
  padding: 7px 5px;
  border-radius: 5px;
  transition: color 0.18s, background 0.18s;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.main-nav a.button-primary {
  background: var(--secondary);
  color: #fff;
  padding: 8px 18px;
  margin-left: 18px;
  border-radius: 99px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 14px rgba(182,141,64,0.10);
  border: 1px solid var(--secondary);
  transition: background 0.18s, color 0.18s, box-shadow .2s;
}
.main-nav a.button-primary:hover,
.main-nav a.button-primary:focus {
  background: #fff;
  color: var(--secondary);
  box-shadow: 0 3px 20px rgba(182,141,64,0.23);
  border: 1px solid var(--secondary);
}
.main-nav a:hover:not(.button-primary),
.main-nav a:focus:not(.button-primary) {
  background: var(--muted-2);
  color: var(--secondary);
}
.main-nav img {
  height: 42px;
  margin-right: 8px;
}

/* ------------------------------------------------------
   MOBILE MENU BUTTON & STYLES
---------------------------------------------------------*/
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: #fff;
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  padding: 8px 18px;
  margin: 8px 0 8px 12px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  z-index: 120;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #fff;
  color: var(--secondary);
  outline: 2px solid var(--secondary);
}
@media(min-width: 900px) {
  .mobile-menu-toggle { display: none; }
}
@media(max-width: 899px) {
  .main-nav {
    display: none;
  }
}
/* ------------------------------------------------------
   MOBILE MENU OVERLAY & NAV
---------------------------------------------------------*/
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 100vw; height: 100vh;
  background: #EFE7D7;
  z-index: 150;
  box-shadow: -8px 0 24px #0002;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(.70,0,.30,1), opacity 0.28s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 2rem;
  font-weight: 700;
  margin: 24px 32px 8px 0;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--primary);
}
.mobile-nav {
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  z-index: 160;
}
.mobile-nav a {
  color: var(--primary);
  background: none;
  border: none;
  padding: 14px 0 11px 0;
  width: 88vw;
  text-align: center;
  border-radius: 6px;
  font-size: 1.24rem;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  box-sizing: border-box;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--muted-2);
  color: var(--secondary);
}

/* ------------------------------------------------------
   BUTTONS & LINKS
---------------------------------------------------------*/
.button-primary, .button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  text-decoration: none;
  font-family: 'Montserrat', serif;
  font-weight: 700;
  font-size: 1.08rem;
  border-radius: 90px;
  padding: 10px 28px;
  border: 1px solid transparent;
  box-shadow: 0 2px 7px rgba(36,52,71,0.11);
  transition: background .18s, color .18s, box-shadow .20s, border .18s;
}
.button-primary {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}
.button-primary:hover, .button-primary:focus {
  background: #fff;
  color: var(--secondary);
  border: 1px solid var(--secondary);
  box-shadow: 0 4px 20px rgba(182,141,64,0.18);
}
.button-secondary {
  background: #fff;
  color: var(--secondary);
  border: 1px solid var(--secondary);
}
.button-secondary:hover, .button-secondary:focus {
  background: var(--secondary);
  color: #fff;
  border: 1px solid var(--secondary);
  box-shadow: 0 3px 16px rgba(182,141,64,0.13);
}

/* ------------------------------------------------------
   HERO, SECTION, CARDS
---------------------------------------------------------*/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px var(--shadow);
}
@media(max-width: 600px) {
  section { padding: 30px 8px; }
}


.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #F7F3EC;
  border-left: 6px solid var(--secondary);
  border-radius: 14px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px var(--shadow);
  color: #243447;
  min-width: 240px;
  max-width: 650px;
  transition: box-shadow .17s, transform .15s;
}
.testimonial-card strong {
  font-weight: 700;
  color: var(--secondary);
}
.testimonial-card:hover {
  box-shadow: 0 5px 24px rgba(182,141,64,0.12);
  transform: translateY(-3px) scale(1.008);
}

/* ------------------------------------------------------
   FOOTER
---------------------------------------------------------*/
footer {
  margin-top: 38px;
  background: #EFE7D7;
  font-size: 1rem;
  color: var(--primary);
  box-shadow: 0 -1.5px 16px var(--shadow);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  justify-content: center;
  padding: 28px 0 12px 0;
  font-family: 'Open Sans', serif;
}
.footer-nav a {
  color: var(--primary);
  font-size: 1.04rem;
  text-decoration: underline;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
}
.footer-nav span {
  font-size: .97rem;
  color: #7e7055;
  margin-left: 11px;
}

/* ------------------------------------------------------
   FAQ Accordion (simple expansion)
---------------------------------------------------------*/
.faq h3 {
  font-size: 1.15rem;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  margin-bottom: 9px;
  cursor: pointer;
  position: relative;
  padding-left: 7px;
  transition: color .15s;
}
.faq .text-section {
  margin-bottom: 16px;
  background: #f7f3ec;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 1.05rem;
  color: #253C4b;
  box-shadow: 0 1px 2px rgba(36,52,71,0.03);
}

/* ------------------------------------------------------
   CUSTOM ELEMENTS
---------------------------------------------------------*/
.signature {
  font-family: 'Montserrat', serif;
  font-size: 1.11rem;
  color: var(--primary);
  margin-top: 12px;
  letter-spacing: .01em;
}

/* ------------------------------------------------------
   RESPONSIVE DESIGN
---------------------------------------------------------*/
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .container { padding: 0 6vw; }
  .content-wrapper { padding: 0; }
}
@media (max-width: 768px) {
  .content-grid, .text-image-section, .card-container, .footer-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .main-nav { flex-direction: column; gap: 12px; }
  .content-wrapper { gap: 14px; }
  .testimonial-card { max-width: 100%; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.18rem; }
  .card { min-width: 100%; padding: 20px 10px; }
  section { padding: 20px 3vw; }
  .container { padding: 0 3vw; }
  .button-primary, .button-secondary { font-size: 0.97rem; padding: 9px 16px; }
}

/* ------------------------------------------------------
   COOKIE CONSENT BANNER
---------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff8ef;
  color: #243447;
  border-top: 1.5px solid #ebdbbd;
  z-index: 5000;
  box-shadow: 0 -1px 16px rgba(36,52,71,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 18px 3vw 18px 3vw;
  font-size: 1rem;
  font-family: 'Open Sans', serif;
  animation: banner-slide-in 0.82s cubic-bezier(.17,1.29,.36,1);
}
@keyframes banner-slide-in {
  from { transform: translateY(100%); opacity:0; } to { transform: translateY(0); opacity:1; }
}
.cookie-banner-message {
  flex: 1 1 320px;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  border: 1px solid var(--secondary);
  background: var(--secondary);
  color: #fff;
  border-radius: 90px;
  padding: 9px 21px;
  font-size: 1rem;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  cursor: pointer;
  transition: background .17s, color .17s, border .17s;
}
.cookie-banner button.cookie-settings {
  background: #fff;
  color: var(--secondary);
  border: 1px solid var(--secondary);
}
.cookie-banner button:not(.cookie-settings):hover,
.cookie-banner button:not(.cookie-settings):focus {
  background: #fff;
  color: var(--secondary);
}
.cookie-banner button.cookie-settings:hover,
.cookie-banner button.cookie-settings:focus {
  background: var(--secondary);
  color: #fff;
}

@media(max-width:720px){
  .cookie-banner { flex-direction: column; gap: 14px; align-items: flex-start; }
  .cookie-banner-actions { gap: 10px; }
}
@media (max-width:480px) {
  .cookie-banner { font-size: 0.97rem; padding: 15px 2vw; }
}

/* ---------- COOKIE MODAL ---------- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  inset:0;
  background: rgba(36,52,71,0.15);
  animation: modal-overlay-fadein .26s;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes modal-overlay-fadein {
  from { opacity: 0;} to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 5px 38px #24344722;
  color: #243447;
  max-width: 410px;
  width: 97vw;
  padding: 30px 24px 22px 24px;
  z-index: 10002;
  animation: cookie-modal-open .34s cubic-bezier(.62,1.7,.34,.99);
}
@keyframes cookie-modal-open {
  from { transform: translateY(60px) scale(.97); opacity:0;} to {transform:translateY(0) scale(1); opacity:1;}
}
.cookie-modal h2 {
  font-size: 1.28rem;
  margin-bottom: 11px;
  font-family: 'Montserrat', serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 11px;
  padding: 11px 0;
}
.cookie-category label {
  font-size: 1.05rem;
  color: #253c4b;
  font-weight: 600;
  flex: 1 1 auto;
}
.cookie-switch {
  position: relative;
  width: 46px;
  height: 23px;
  display: inline-block;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  background: #ccc;
  border-radius: 23px;
  top: 0;
  left: 0;
  right: 0;bottom: 0;
  transition: background 0.18s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--secondary);
}
.cookie-slider:before {
  content: '';
  position: absolute;
  height: 17px; width: 17px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .19s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(23px);
}
.cookie-category .category-fixed {
  font-size: 0.99rem;
  color: #AAA;
  font-style: italic;
  margin-left: 5px;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal-actions button {
  font-size: 1rem;
  font-family: 'Montserrat', serif;
  border-radius: 90px;
  padding: 8px 20px;
  background: var(--secondary);
  color: #fff;
  border: 1px solid var(--secondary);
  transition: background .17s, color .17s, box-shadow .1s;
}
.cookie-modal-actions button.secondary {
  background: #fff;
  color: var(--secondary);
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: #fff;
  color: var(--secondary);
  border: 1px solid var(--secondary);
}
.cookie-modal-actions button.secondary:hover, .cookie-modal-actions button.secondary:focus {
  background: var(--secondary);
  color: #fff;
}

/* ------------------------------------------------------
   UTILITY & TYPOGRAPHY
---------------------------------------------------------*/
.centered {
  display: flex;
  align-items: center;
  justify-content: center;
}
.text-center { text-align: center; }

/* ------------------------------------------------------
   ICONS & INLINE SVG
---------------------------------------------------------*/
ul img, .footer-nav img, .button-primary img, .button-secondary img {
  display: inline-block;
  height: 23px;
  width: 23px;
  object-fit: contain;
  margin-right: 7px;
  vertical-align: middle;
}
@media (max-width:480px){
  ul img, .footer-nav img, .button-primary img, .button-secondary img {
    height: 18px; width: 18px;
  }
}

/* ------------------------------------------------------
   MISC STYLES
---------------------------------------------------------*/
::-webkit-scrollbar { width: 7px; background: #efe7d7; }
::-webkit-scrollbar-thumb { background: #B68D40; border-radius: 12px; }
::-webkit-input-placeholder { color: #aabbba }
::placeholder { color: #aabbba }

/* ------------------------------------------------------
   OVERRIDES FOR PAGE SPECIFICS
---------------------------------------------------------*/
section:has(.testimonial-card) {
  background: #FCFAF6;
}
section:has(table) {
  background: #F8F5EC;
  box-shadow: 0 1px 6px var(--shadow);
}
section:has(.faq) {
  background: #FCF8F1;
}

/* ------------------------------------------------------
   ELEVATION/MICRO-ANIMATION (for buttons & cards)
---------------------------------------------------------*/
.card, .testimonial-card, .button-primary, .button-secondary {
  transition: box-shadow 0.18s, transform 0.16s, background 0.18s, color 0.18s;
}
.card:active, .testimonial-card:active {
  transform: scale(0.98);
  box-shadow: 0 1px 6px var(--shadow);
}
.button-primary:active,
.button-secondary:active {
  transform: scale(0.97);
}

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