/* 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; }
*, *:before, *:after { box-sizing: inherit; }

body {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 16px;
  background: #F4F3F1;
  color: #233049;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: #705c2b;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #233049;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.35em;
  margin-bottom: 1.2em;
}
li {
  margin-bottom: 0.6em;
}
strong { font-weight: bold; }
blockquote {
  border-left: 4px solid #E1C699;
  color: #66604d;
  padding-left: 20px;
  font-style: italic;
  margin: 20px 0;
  background: #f8f6f3;
  border-radius: 4px;
}

/* Typography hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: #233049;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.005em;
}
h1 { font-size: 2.7rem; line-height: 1.15; }
h2 { font-size: 2rem;  margin-top: 24px; }
h3 { font-size: 1.4rem; margin-top: 16px; margin-bottom: 14px; }
h4 { font-size: 1.15rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
  h3, h4 { font-size: 1rem; }
}

p, address {
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

address {
  font-style: normal;
  background: #fcfbf8;
  padding: 10px 18px;
  border-radius: 6px;
  color: #233049;
  margin-bottom: 18px;
}

/* Container & Spacing */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 24px rgba(49, 41, 31, 0.07);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section {
  max-width: 680px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(34,48,73,0.06);
  margin-bottom: 20px;
  padding: 28px;
  position: relative;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 32px rgba(34,48,73,0.08);
}
.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 28px;
  margin-bottom: 20px;
  background: #fcfaf8;
  border-left: 6px solid #E1C699;
  border-radius: 8px;
  box-shadow: 0 3px 18px 0 rgba(49, 41, 31, 0.05);
  color: #233049;
  min-width: 0;
}
.testimonial-details {
  color: #835a1a;
  font-family: 'Georgia', serif;
  font-size: 0.98rem;
  margin-top: -5px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 12px;
}

/* Buttons */
.btn, a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Merriweather', serif;
  font-weight: 600;
  font-size: 1.12rem;
  background: #E1C699;
  color: #233049;
  border: none;
  border-radius: 7px;
  padding: 12px 28px;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 6px rgba(49,41,31,0.04);
  margin-top: 8px;
  margin-bottom: 8px;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
}
.btn.primary, a.btn.primary {
  background: #233049;
  color: #fff;
}
.btn:hover, a.btn:hover,
.btn:focus, a.btn:focus {
  background: #cbb070;
  color: #1d2435;
  outline: none;
  box-shadow: 0 4px 16px 0 rgba(49,41,31,0.13);
}
.btn.primary:hover, a.btn.primary:hover,
.btn.primary:focus, a.btn.primary:focus {
  background: #2d3952;
  color: #fff;
}

/* Header & Footer */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(34,48,73,0.06);
  padding: 0;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 900;
}
header .container {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  font-family: 'Merriweather', serif;
  font-size: 1.02rem;
}
header nav a {
  color: #233049;
  border-radius: 3px;
  padding: 6px 10px;
  transition: background 0.16s;
}
header nav a:hover, header nav a:focus {
  background: #F4F3F1;
  color: #705c2b;
}
header img {
  height: 44px;
  margin-right: 18px;
}

footer {
  margin-top: 48px;
  padding: 32px 0 24px 0;
  background: #f8f6f3;
  border-top: 1px solid #ede7df;
  font-size: 0.97rem;
}
footer .container {
  display: flex;
  justify-content: center;
  align-items: stretch;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
footer nav {
  display: flex;
  gap: 18px;
}
footer nav a {
  color: #453815;
}
footer nav a:hover, footer nav a:focus {
  color: #233049;
}
footer img {
  height: 36px;
  margin-bottom: 12px;
}

/*--- Responsive Layouts ---*/
@media (max-width: 1024px) {
  .container { max-width: 95vw; }
}
@media (max-width: 768px) {
  .container { padding: 0 10px; }
  .section { padding: 28px 6px; }
  .content-wrapper, .content-grid, .card-container { gap: 16px; }
  header .container { gap: 14px; min-height: 66px; }
  footer { padding: 22px 0 18px; }
}
@media (max-width: 600px) {
  .content-wrapper { gap: 10px; }
  .section { margin-bottom: 38px; padding: 20px 3px; }
  .testimonial-card { padding: 16px 10px; }
  address { padding: 8px 10px; }
  .btn, a.btn { font-size: 1rem; padding: 11px 16px; }
  header img, footer img { height: 32px; }
}

/* Flex direction changes on mobile */
@media (max-width: 768px) {
  .text-image-section, .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
}

/* Navigation Burger and Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: #F4F3F1;
  border: none;
  font-size: 2.1rem;
  color: #233049;
  border-radius: 7px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  transition: background 0.17s;
  z-index: 1200;
  position: absolute; right: 16px; top: 15px;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #e7e0d1;
  color: #83381a;
  outline: none;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #f7f5eeed;
  z-index: 2200;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.9,0.1,0.15,1);
  overflow-y: auto;
  box-shadow: -2px 0 24px 0 rgba(80,60,22,0.13);
  padding-top: 0;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2.2rem;
  color: #233049;
  align-self: flex-end;
  margin: 18px 18px 0 0;
  cursor: pointer;
  z-index: 2400;
  transition: color 0.14s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover { color: #c48818; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: stretch;
  padding: 32px 30px 36px 36px;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: #2d3952;
  padding: 15px 10px 13px 0;
  border-radius: 0 7px 7px 0;
  font-family: 'Merriweather', serif;
  background: none;
  transition: background 0.15s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E1C699;
  color: #233049;
}

@media (max-width: 1023px) {
  header nav, header .btn.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 1024px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  header nav, header .btn.primary {
    display: flex !important;
  }
}

/* Cookie Consent Banner & Modal */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: #fffbea;
  color: #233049;
  box-shadow: 0 -1px 16px rgba(140,120,60,0.07);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 18px 18px 18px 28px;
  font-family: 'Georgia', serif;
  font-size: 1.01rem;
  border-top: 1px solid #e7dab1;
  transition: transform 0.22s;
}
.cookie-banner.hidden {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0.6;
}
.cookie-banner .btn {
  margin-left: 10px;
  margin-right: 7px;
  padding: 10px 18px;
  font-size: 1rem;
}
.cookie-banner .btn.settings {
  background: #F4F3F1;
  color: #233049;
  border: 1px solid #E1C699;
}
.cookie-banner .btn.settings:hover { background: #E1C699; color: #233049; }

@media(max-width:600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 6px 10px 6px;
    font-size: 0.96rem;
  }
}

.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(51,37,15, 0.16);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeOverlayIn 0.28s;
}
@keyframes fadeOverlayIn {
  from { background: rgba(51,37,15,0) }
  to { background: rgba(51,37,15,0.16) }
}
.cookie-modal {
  min-width: 310px;
  max-width: 96vw;
  background: #fffdfa;
  border-radius: 13px;
  box-shadow: 0 9px 36px 0 rgba(82,64,29,0.15);
  padding: 32px 34px 26px 34px;
  font-family: 'Georgia', serif;
  color: #233049;
  position: relative;
  animation: slideModalIn 0.28s;
}
@keyframes slideModalIn {
  from { transform: translateY(80px) scale(0.97); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h2 { font-size: 1.32rem; margin-bottom: 18px; font-family: 'Merriweather', serif; }
.cookie-modal ul {
  margin: 0 0 18px 0;
  padding: 0;
  list-style: none;
}
.cookie-modal li {
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-modal label {
  font-size: 1rem;
  cursor: pointer;
}
.cookie-modal input[type=checkbox][disabled] {
  accent-color: #bfa060;
  cursor: not-allowed;
}
.cookie-modal .modal-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal .btn {
  min-width: 88px;
  padding: 9px 17px;
  font-size: 1rem;
}
.cookie-modal .close-btn {
  background: transparent;
  color: #a58530;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  position: absolute;
  right: 14px; top: 13px;
  transition: color 0.13s;
}
.cookie-modal .close-btn:hover, .cookie-modal .close-btn:focus {
  color: #92611a;
}
@media(max-width:600px) {
  .cookie-modal {
    padding: 18px 7px;
    font-size: 0.98rem;
  }
}

/* Inputs (for FAQ search, forms) */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"] {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 16px;
  border: 1px solid #e1c699;
  border-radius: 7px;
  background: #fff;
  color: #233049;
  outline: none;
  margin-bottom: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="search"]:focus, input[type="password"]:focus {
  border-color: #705c2b;
  box-shadow: 0 0 0 2px #e8dcc1;
}
input[disabled] {
  background: #f5f2eb;
  color: #aaa;
}

/* Icon handling in lists */
ul li img {
  width: 23px;
  height: 23px;
  margin-right: 10px;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: 3px;
}
ul li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- Custom Micro-Interactions --- */
.btn, a.btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner .btn, .cookie-modal .close-btn {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.09s;
}
.btn:active, a.btn:active, .mobile-menu-toggle:active, .mobile-menu-close:active {
  transform: scale(0.97);
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(200,172,94,0.13);
  border-left-color: #cbb070;
}

/* --- Misc Utilities --- */
.hide { display: none; }
.visible { display: block; }

/* --- Accessibility --- */
:focus-visible {
  outline: 2px solid #E1C699;
  outline-offset: 2px;
}

/* --- Print Styles (min) --- */
@media print {
  header, footer, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .section, .container, .content-wrapper { box-shadow: none !important; background: #fff !important; }
  body { color: #000; background: #fff; }
}
