/* ======================== RESET & BASE ======================== */
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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  font-family: 'Open Sans', Georgia, "Times New Roman", Times, serif;
  font-size: 16px;
  background: #F4F6F8;
  color: #1A2634;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #1A2634;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #94713b;
  text-decoration: underline;
}
ul, ol {
  margin: 16px 0;
  padding-left: 24px;
}
li {
  margin-bottom: 10px;
}

/* ======================== TYPOGRAPHY ======================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  color: #1A2634;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
section h1 {
  font-size: 2.75rem;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, ul, ol, dl {
  margin-bottom: 18px;
}
strong {
  font-weight: bold;
}

/* ======================== CONTAINER & LAYOUT ======================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Flex layouts */
.card-container,
.feature-grid,
.card-grid,
.content-grid,
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 rgba(26,38,52,0.08);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
  min-width: 290px;
  flex: 1 1 320px;
  max-width: 100%;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(26,38,52,0.13);
  transform: translateY(-4px);
}
.card-content {
  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: 12px;
  padding: 28px 24px;
  border-radius: 10px;
  background: #fff;
  color: #222;
  box-shadow: 0 2px 8px rgba(26,38,52,0.07);
  margin-bottom: 20px;
  border: 1px solid #e7e5dd;
  transition: box-shadow 0.2s;
}
.testimonial-card strong {
  font-family: 'Montserrat', Georgia, serif;
  color: #94713b;
  font-size: 1.07rem;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(26,38,52,0.11);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 340px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(26,38,52,0.07);
  padding: 24px 18px 20px 18px;
  margin-bottom: 20px;
  border: 1px solid #e7e5dd;
  transition: box-shadow 0.2s;
}
.feature-grid > div img {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 32px 0 rgba(26,38,52,0.10);
}

/* ======================== HEADER & NAVIGATION ======================== */
header {
  background: #fff;
  box-shadow: 0 1px 8px 0 rgba(26,38,52,0.04);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  height: 42px;
  margin-right: 24px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
  letter-spacing: .01em;
  color: #1A2634;
  opacity: 0.93;
  padding: 6px 0;
  position: relative;
  transition: color 0.25s;
}
header nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #94713b;
  transition: width 0.22s;
  margin-top: 1px;
}
header nav a:hover, 
header nav a:focus {
  color: #94713b;
  opacity: 1;
}
header nav a:hover::after, header nav a:focus::after {
  width: 80%;
}
header .btn-primary {
  margin-left: 18px;
}

@media (max-width: 1024px) {
  header .container {
    flex-wrap: wrap;
    gap: 10px;
  }
  header nav {
    gap: 12px;
  }
}

/* ======================== BUTTONS ======================== */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 32px;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  background: #94713b;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(149, 113, 59, 0.07);
  text-align: center;
  text-decoration: none;
  transition: background 0.17s, color 0.18s, box-shadow 0.25s, transform 0.2s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #1A2634;
  color: #fff;
  box-shadow: 0 4px 18px rgba(26,38,52,0.13);
  transform: translateY(-2px) scale(1.01);
}
.btn-secondary {
  background: #F4F6F8;
  color: #94713b;
  border: 1px solid #94713b;
  margin-left: 12px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #94713b;
  color: #fff;
}

/* ======================== HERO BANNER ======================== */
.hero {
  min-height: 46vh;
  background: #F4F6F8;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding: 40px 0 48px 0;
  border-bottom: 2px solid #eae7df;
}
.hero .container {
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  max-width: 650px;
  background: rgba(255,255,255,0.85);
  border-radius: 14px;
  box-shadow: 0 6px 22px 0 rgba(26,38,52,0.10);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 2.25rem;
}


/* ======================== FOOTER ======================== */
footer {
  background: #1A2634;
  color: #fff;
  padding: 54px 0 32px 0;
  border-top: 2px solid #94713b;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: space-between;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 6px;
  transition: color 0.14s, opacity 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: #94713b;
  opacity: 1;
}
footer img {
  height: 38px;
  margin-bottom: 18px;
}
footer p {
  font-size: 0.97rem;
  color: #EDEBE4;
  margin-bottom: 7px;
}

/* ======================== MOBILE NAVIGATION ======================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1A2634;
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 1210;
  cursor: pointer;
  transition: color 0.2s, transform 0.18s;
}
.mobile-menu-toggle:active {
  transform: scale(0.92);
}
.mobile-menu {
  display: none;
}
@media (max-width: 950px) {
  header nav,
  header .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 2200;
    transform: translateX(100%);
    transition: transform 0.33s cubic-bezier(.5,0,.33,1);
    box-shadow: -2px 0 36px 0 rgba(26,38,52,0.16);
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    background: none;
    border: none;
    font-size: 2.1rem;
    color: #94713b;
    align-self: flex-end;
    margin: 22px 28px 0 0;
    cursor: pointer;
    transition: color 0.22s;
  }
  .mobile-nav {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
    margin-top: 36px;
  }
  .mobile-nav a {
    font-size: 1.3rem;
    color: #1A2634;
    font-family: 'Montserrat', serif;
    font-weight: 500;
    background: transparent;
    border-radius: 4px;
    padding: 12px 26px;
    transition: background 0.15s, color 0.16s;
    margin: 0;
  }
  .mobile-nav a:hover, .mobile-nav a:focus {
    background: #f9f6f0;
    color: #94713b;
  }
}

/* ======================== COOKIE CONSENT BANNER ======================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 3000;
  background: #fff;
  box-shadow: 0 -2px 24px 0 rgba(26,38,52,0.13);
  border-top: 2px solid #94713b;
  padding: 24px 18px 22px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.36,0,0.24,1), opacity 0.28s;
}
.cookie-banner.show {
  opacity: 1;
  pointer-events: initial;
  transform: translateY(0);
}
.cookie-banner p {
  flex: 1 1 320px;
  color: #222;
  font-size: 15px;
  margin: 0 0 0 0;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}
.cookie-banner button {
  min-width: 110px;
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  font-size: 15px;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.22s;
}
.cookie-banner .btn-accept {
  background: #94713b;
  color: #fff;
}
.cookie-banner .btn-accept:hover, .cookie-banner .btn-accept:focus {
  background: #1A2634;
  color: #fff;
}
.cookie-banner .btn-reject {
  background: #F4F6F8;
  color: #94713b;
  border: 1px solid #94713b;
}
.cookie-banner .btn-reject:hover, .cookie-banner .btn-reject:focus {
  background: #94713b;
  color: #fff;
}
.cookie-banner .btn-settings {
  background: transparent;
  color: #1A2634;
  border: 1px solid #ddd;
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  background: #F4F6F8;
  color: #94713b;
}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 4000;
  background: rgba(26,38,52,0.45);
  justify-content: center;
  align-items: center;
  animation: fadein 0.22s;
}
.cookie-modal-overlay.show {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 48px 0 rgba(26,38,52,0.16);
  padding: 38px 28px 30px 28px;
  min-width: 320px;
  max-width: 95vw;
  min-height: 200px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
  color: #94713b;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid #EEE8D9;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-weight: 600;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #94713b;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .cookie-close {
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #94713b;
  position: absolute;
  right: 23px;
  top: 20px;
  cursor: pointer;
}

@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ======================== RESPONSIVE LAYOUTS ======================== */
@media (max-width: 1200px) {
  .container {
    max-width: 970px;
  }
  .content-wrapper {
    max-width: 750px;
  }
}
@media (max-width: 1020px) {
  .card,
  .feature-grid > div {
    min-width: 176px;
    flex: 1 1 200px;
  }
  .feature-grid {
    gap: 18px;
  }
  footer .container {
    flex-direction: column;
    gap: 36px;
    align-items: flex-start;
  }
}
@media (max-width: 800px) {
  .hero .content-wrapper {
    padding: 20px 10px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 6px;
  }
  .content-wrapper {
    max-width: 96vw;
    padding: 0 3px;
  }
  .section {
    padding: 24px 5px;
    margin-bottom: 36px;
  }
  .hero {
    padding: 18px 0 24px 0;
  }

  .card-container,
  .feature-grid,
  .card-grid,
  .content-grid,
  .features {
    flex-direction: column;
    gap: 18px;
  }
  .card,
  .feature-grid > div {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .testimonial-card {
    padding: 18px 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
@media (max-width: 480px) {
  .hero .content-wrapper {
    border-radius: 8px;
    gap: 7px;
    padding: 8px 0;
  }
  h1 { font-size: 1.50rem; }
  h2 { font-size: 1.15rem; }
  .btn-primary,
  .btn-secondary {
    padding: 10px 18px;
    font-size: 0.99rem;
  }
}

/* ======================== MICRO-INTERACTIONS & EFFECTS ======================== */
.card, .testimonial-card, .feature-grid > div {
  transition: box-shadow 0.23s, transform 0.18s;
}
.card:hover, .feature-grid > div:hover {
  box-shadow: 0 12px 36px rgba(26,38,52,0.10);
  transform: translateY(-3px) scale(1.017);
}
.btn-primary:active,
.card:active, .feature-grid > div:active {
  transform: scale(.98);
}

/* ======================== CLASSIC ELEGANT ADJUSTMENTS ======================== */
.card,
.feature-grid > div,
.testimonial-card {
  border: 1px solid #e7e5dd;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(149, 113, 59, 0.03);
  background: #fff;
}
.content-wrapper > h2, .content-wrapper > h1 {
  border-left: 4px solid #94713b;
  padding-left: 12px;
  margin-top: 0;
}

/* ======================== DL/TEXT CLARITY ======================== */
dl {
  margin-top: 16px;
  margin-bottom: 16px;
}
dt {
  font-family: 'Montserrat', serif;
  font-weight: 600;
  color: #94713b;
  font-size: 1.13rem;
  margin-top: 7px;
}
dd {
  margin-left: 24px;
  margin-bottom: 16px;
}

/* ======================== FORMS (for contact forms if any added) ======================== */
input, textarea, select {
  font-family: 'Open Sans', serif;
  font-size: 1rem;
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #E1DFD7;
  margin-top: 8px;
  margin-bottom: 18px;
  width: 100%;
  background: #F4F6F8;
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #94713b;
  background: #fff;
}

/* ======================== SCROLLBARS (elegant style) ======================== */
::-webkit-scrollbar {
  width: 11px;
  background: #eae7df;
}
::-webkit-scrollbar-thumb {
  background: #94713b;
  border-radius: 720px;
  border: 3px solid #f4f6f8;
}

/* ======================== ACCESSIBILITY: FOCUS OUTLINE ======================== */
:focus {
  outline: 2px solid #94713b;
  outline-offset: 1px;
}

/* ======================== MISC. SPACING ======================== */
section + section {
  margin-top: 26px;
}
.card + .card, .feature-grid > div + div, .testimonial-card + .testimonial-card {
  margin-top: 20px;
}

/* ======================== PRINT FRIENDLY ======================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner { display: none; }
  body { background: #fff; }
  .card, .feature-grid > div, .testimonial-card { box-shadow: none !important; border-color: #ada176; }
}
