/* ========================= CSS 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  color: #2F3C4C;
  background: #FFFFFF;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:focus { outline: 2px solid #B68D4C; outline-offset: 2px; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; border: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid #EFEDE8; }
th { background: #F5F3F0; font-weight: 700; }

/* ========================= BRAND FONTS ========================= */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');

h1, h2, h3, h4, h5, h6, blockquote {
  font-family: 'Playfair Display', serif;
  color: #2F3C4C;
  font-feature-settings: "liga" 1, "kern" 1;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 24px; line-height: 1.15; }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: 18px; }
h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
h4 { font-size: 1.1rem; font-weight: 500; }

p, li, span, address, table, summary {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #2F3C4C;
  line-height: 1.7;
}
blockquote {
  font-size: 1.2rem;
  font-style: italic;
  background: #F5F3F0;
  padding: 24px 26px;
  color: #2F3C4C;
  border-left: 4px solid #B68D4C;
  margin: 24px 0 24px 0;
  border-radius: 8px;
}

strong { font-weight: 700; color: #98712F; }

/* ========================= BRAND COLORS ========================= */
:root {
  --primary: #2F3C4C;
  --secondary: #D7D4CE;
  --secondary-light: #F5F3F0;
  --accent: #B68D4C;
  --gold: #98712F;
  --white: #FFFFFF;
  --card-bg: #FFFFFF;
  --input-bg: #EFEDE8;
  --shadow: 0 4px 20px 0 rgba(47,60,76,0.07);
  --border-radius: 16px;
}

/* ========================= SPACING CONTAINERS ========================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
}

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

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

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

.card-container, .feature-grid, .card-grid, .blog-list, .category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  background: var(--card-bg);
  position: relative;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  flex: 1 1 320px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.feature-grid > div {
  flex: 1 1 280px;
  min-width: 220px;
  background: var(--secondary-light);
  border-radius: 14px;
  padding: 28px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, border-color 0.2s;
  border: 1px solid #ECE7DC;
  box-shadow: 0 2px 8px rgba(176, 164, 145, 0.06);
}
.feature-grid > div:hover {
  box-shadow: 0 6px 28px 0 rgba(47,60,76,0.12);
  border-color: var(--accent);
}
.feature-grid img { width: 36px; height: 36px; margin-bottom: 10px; }

.features, .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;
}

.cta-banner, .cta-section {
  background: var(--secondary-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

/* ========================= BUTTONS & LINKS ========================= */
.cta-button {
  background: linear-gradient(90deg, #B68D4C, #98712F 80%);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.07rem;
  letter-spacing: 0.04em;
  border: none;
  padding: 15px 32px;
  border-radius: 28px;
  transition: background 0.24s, box-shadow 0.18s, color 0.16s;
  box-shadow: 0 2px 16px #98712f13;
  text-shadow: 0 1px 3px #00000013;
  margin-top: 12px;
  cursor: pointer;
  display: inline-block;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #98712F 30%, #B68D4C 100%);
  color: #fffbe6;
  box-shadow: 0 6px 24px #98712f24;
}
nav a:not(.cta-button) {
  position: relative;
  padding: 8px 0;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  margin-right: 18px;
  transition: color 0.2s;
}
nav a:not(.cta-button):hover, nav a:not(.cta-button):focus {
  color: var(--accent);
}

/* ========================= HEADER & NAVIGATION ========================= */
header {
  background: #fff;
  border-bottom: 1px solid #EFEDE8;
  box-shadow: 0 2px 10px #b19b6e10;
  margin-bottom: 0;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 80px;
}
header img {
  height: 48px;
  max-width: 200px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 0;
}
header .cta-button {
  margin-left: 18px;
  font-size: 1rem;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--primary);
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: background 0.12s;
  z-index: 31;
}
.mobile-menu-toggle:hover {
  background: #f9f6ef;
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(47, 60, 76, 0.95);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.5,.1,0,1) 0s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px; right: 20px;
  font-size: 2.2rem;
  color: #fff;
  background: none;
  cursor: pointer;
  z-index: 1201;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.mobile-menu-close:hover {
  background: #806526;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  gap: 10px;
  margin-top: 80px;
  padding-left: 42px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Lato', Arial, sans-serif;
  margin-bottom: 10px;
  padding: 14px 0;
  border-bottom: 1px solid #574e3d44;
  transition: color 0.18s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
}

/* ========================= MAIN & LAYOUTS ========================= */
main {
  flex: 1 1 auto;
  margin-bottom: 48px;
}

/* ========================= TESTIMONIALS ========================= */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: #fff;
  color: #2F3C4C;
  border-radius: 12px;
  box-shadow: 0 3px 16px #98712f18;
  padding: 28px 32px;
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 560px;
  font-size: 1.1rem;
  line-height: 1.6;
  border: 1.5px solid #EEE6D8;
  position: relative;
}
.testimonial-card p {
  color: #2F3C4C;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.1rem;
  margin-bottom: 6px;
  text-align: center;
}
.testimonial-card span {
  color: #98712F;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 1rem;
  margin-top: 3px;
  text-align: center;
}

/* ========================= TABLES ========================= */
table {
  border-radius: 10px;
  overflow: hidden;
  background: #F5F3F0;
  box-shadow: 0 1px 8px #98712f19;
}

th, td {
  border: none;
  border-bottom: 1px solid #EFEDE8;
  padding: 12px 16px;
  font-size: 1.02rem;
}
tr:last-child td {
  border-bottom: none;
}
th {
  background: #f7f3ee;
  color: #2F3C4C;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

/* ========================= FOOTER ========================= */
footer {
  background: #fff;
  color: #fff;
  padding: 42px 0 18px 0;
  border-top: 7px solid var(--accent);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 36px 30px;
}
footer img {
  height: 44px;
  margin-bottom: 18px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #fff;
  font-size: 0.98rem;
  margin-right: 0 !important;
  margin-bottom: 6px;
  padding: 0;
  font-family: 'Lato', Arial, sans-serif;
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--gold);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.99rem;
  color: #f2ede2;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 5px;
  margin-bottom: -2px;
  vertical-align: middle;
  display: inline-block;
}
.footer-note {
  flex: 1 1 100%;
  font-size: 0.96rem;
  color: #D7D4CE;
  margin-top: 18px;
  text-align: center;
}

/* ========================= BLOG ========================= */
.blog-list {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.blog-list li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px #98712f19;
  padding: 22px 24px;
  min-width: 210px;
  flex: 1 1 260px;
  margin-bottom: 20px;
}
.category-list {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
}
.category-list a {
  color: var(--accent);
  font-weight: 600;
  background: #fff8ea;
  border-radius: 22px;
  padding: 7px 18px;
  font-size: 0.97rem;
  margin-bottom: 6px;
  border: 1.2px solid #e3d6bc;
  transition: background 0.15s, color 0.15s;
}
.category-list a:hover, .category-list a:focus {
  background: var(--accent);
  color: #fff;
}

/* ========================= BLOG/POST DETAILS/FAQ ========================= */
details {
  background: #F7F3ED;
  border-radius: 10px;
  padding: 18px 22px;
  margin: 16px 0 12px 0;
}
details summary {
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--accent);
  margin-bottom: 12px;
}
details[open] {
  box-shadow: 0 4px 14px #98712f13;
}
details ul {
  padding-left: 15px;
  margin: 14px 0 0 0;
}

/* ========================= COOKIE CONSENT BANNER ========================= */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #fffbea;
  border-top: 2px solid var(--accent);
  box-shadow: 0 -4px 28px #98712f10;
  padding: 22px 20px 18px 20px;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1rem;
  animation: fadein-banner 0.45s cubic-bezier(.5,.1,0,1);
}
@keyframes fadein-banner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  color: #2F3C4C;
  font-family: 'Lato', Arial, sans-serif;
  flex: 1;
}
.cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  padding: 10px 22px;
  border-radius: 22px;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
  box-shadow: 0 2px 6px #98712f12;
}
.cookie-btn.accept {
  background: var(--accent);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #98712F;
  color: #fffbe6;
}
.cookie-btn.reject {
  background: #EFEDE8;
  color: var(--primary);
  border: 1.3px solid #98712F;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fff;
  color: #98712F;
}
.cookie-btn.settings {
  background: #fffbea;
  color: var(--primary);
  border: 1.3px solid #beb193;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #EFEDE8;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10001;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(47,60,76,0.75);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  transition: opacity 0.24s cubic-bezier(.5,.1,0,1);
}
.cookie-modal {
  background: #fffbea;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 36px #98712f28, 0 2px 14px #98712f12;
  padding: 34px 26px 26px 26px;
  max-width: 98vw;
  width: 410px;
  animation: slideUpCookie 0.35s cubic-bezier(.5,.1,0,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@keyframes slideUpCookie {
  from { transform: translateY(70px); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-modal h3 {
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.cookie-category label {
  font-weight: 500;
  min-width: 140px;
  font-size: 1rem;
  color: var(--primary);
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
}
.cookie-category input[disabled] {
  opacity: .54;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 20px;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  font-size: 1.5em;
  color: var(--gold);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 20003;
}

/* ========================= RESPONSIVE: MOBILE-FIRST ========================= */
@media (max-width: 1100px) {
  .container { max-width: 98vw; }
  header img, footer img { max-width: 165px; }
}
@media (max-width: 900px) {
  header .container { flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .footer-contact { max-width: 100%; }
}
@media (max-width: 768px) {
  html { font-size: 97%; }

  header nav { display: none; }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    max-width: 100vw;
    padding: 0 11px;
  }
  .section { padding: 28px 6px; margin-bottom: 34px; }
  .content-wrapper, .text-section, .card-content, .feature-item, .category-list { gap: 16px; }
  .feature-grid, .card-container, .content-grid, .blog-list { flex-direction: column; gap: 20px; }
  .testimonial-card, .feature-grid > div, .card { padding: 18px 10px; min-width: 0; }
  .cta-banner, .cta-section { padding: 19px 7px; }
  footer .container { flex-direction: column; gap: 24px; align-items: center; }
  footer img { margin-bottom: 12px; }
}
@media (max-width: 576px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.08rem; }
  .testimonial-card { padding: 13px 5px; }
  .cookie-consent-banner { flex-direction: column; align-items: stretch; gap: 13px; padding: 15px 7px 10px 7px; font-size: 0.98rem; }
  .cookie-modal { width: 97vw; padding-left: 12px; padding-right: 12px; }
}

/* ========================= UTILITY: SPACING ========================= */
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }
.gap-10 { gap: 10px; }

/* ========================= FORM ELEMENTS ========================= */
input, textarea, select {
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--primary);
  border: 1px solid #D7D4CE;
  font-size: 1.02rem;
  padding: 12px 12px;
  width: 100%;
  margin-bottom: 14px;
  font-family: 'Lato', Arial, sans-serif;
  transition: border-color 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  outline: none;
}

/* ========================= CUSTOM SCROLLBAR ========================= */
::-webkit-scrollbar {
  width: 12px;
  background: #F7F3ED;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb {
  background: #E0D0B1;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover {
  background: #B68D4C;
}

/* ========================= ELEMENT STATE ANIMATION ========================= */
button, .cta-button, .cookie-btn, .category-list a {
  transition: background 0.17s, color 0.17s, box-shadow 0.21s, border 0.13s;
}
.feature-grid > div, .testimonial-card, .card {
  transition: box-shadow 0.22s, border-color 0.18s;
}

/* ========================= LUXURY ACCENT LINES ========================= */
h1, h2 {
  position: relative;
}
h1:after, h2:after {
  content: "";
  display: block;
  width: 60px;
  height: 2.5px;
  background: var(--gold);
  border-radius: 2.5px;
  margin-top: 16px;
}
@media (max-width:600px) { h1:after, h2:after { width: 38px; } }

/* ========================= MISCELLANEOUS ========================= */
address { font-style: normal; color: #745d33; line-height: 1.7; }

::-selection { background: #FFEBC0; color: #2F3C4C; }

/* ================== END OF CSS ================== */
