/* === CSS RESET & NORMALIZATION === */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  background: #F4F5EF;
  color: #364156;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #364156;
  text-decoration: none;
  transition: color .2s;
}
ul, ol {
  list-style: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  text-align: left;
  padding: 12px 16px;
}
th {
  background: #364156;
  color: #fff;
  font-weight: normal;
  letter-spacing: 1px;
}
td {
  background: #fff;
  color: #364156;
}
::-webkit-input-placeholder { color:#7e879c; }
::-moz-placeholder { color:#7e879c; }
:-ms-input-placeholder { color:#7e879c; }
::placeholder { color:#7e879c; }

/* === BRAND TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #364156;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.18;
}
h1 { font-size: 2.5rem; letter-spacing: -1px; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; }
h4, h5, h6 { font-size: 1.125rem; }
p, ul, ol, table { margin-bottom: 20px; }
ul li, ol li { margin-bottom: 10px; }

strong { font-weight: bold; color: #364156; }

/* === GLOBAL CONTAINER & LAYOUT === */
.container {
  width: 100%;
  max-width: 1180px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 rgba(54,65,86,.06);
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: #fff;
  border-bottom: 1px solid #ece6d8;
  position: sticky;
  top: 0;
  z-index: 600;
  box-shadow: 0px 2px 18px 0 rgba(54,65,86,.04);
  padding-top: 0;
  padding-bottom: 0;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: flex;
  align-items: center;
  height: 52px;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 24px;
}
.main-nav a {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  color: #364156;
  padding: 8px 0;
  position: relative;
  transition: color .2s;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #B4975A;
  transition: width .3s cubic-bezier(.19,1,.22,1);
  position: absolute;
  left: 0;
  bottom: -2px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #B4975A;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}
.main-nav .cta-btn {
  margin-left: 28px;
}

/* === CTA BUTTON === */
.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 32px;
  background: #B4975A;
  color: #fff;
  border-radius: 32px;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .5px;
  box-shadow: 0 2px 12px 0 rgba(180,151,90,.08);
  border: none;
  cursor: pointer;
  position: relative;
  transition: background .18s, color .18s, box-shadow .18s, transform .13s;
  margin-top: 12px;
  text-shadow: 0 1px 2px rgba(54,65,86,.10);
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #8a702b;
  color: #fffbe3;
  box-shadow: 0 4px 18px 0 rgba(180,151,90,.14);
  transform: translateY(-2px) scale(1.03);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #B4975A;
  padding: 0 10px;
  cursor: pointer;
  display: none;
  transition: color .2s;
  z-index: 1101;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #B4975A;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(244,245,239,0.98);
  box-shadow: 0 8px 40px 0 rgba(54,65,86,0.12);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform .36s cubic-bezier(.17,.67,.33,1.01);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding: 32px 24px 16px 24px;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  color: #364156;
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 20px;
  line-height: 1;
  transition: color .2s;
}
.mobile-menu-close:focus {
  color: #B4975A;
  outline: 2px solid #B4975A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.22rem;
  font-family: 'Playfair Display', serif;
  color: #364156;
  padding: 12px 0;
  border-bottom: 1px solid #ece6d8;
  transition: color .2s, background .2s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #B4975A;
  background: #fff8ea;
  border-radius: 6px;
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* === MAIN STRUCTURE & FLEX PATTERNS === */
main {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-bottom: 36px;
  margin-top: 0;
}
section {
  width: 100%;
}

/* --- MANDATORY FLEX CONTAINERS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px 0 rgba(54,65,86,.09);
  margin-bottom: 20px;
  position: relative;
  padding: 18px 22px;
  flex: 1 0 300px;
  min-width: 260px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px 0 rgba(54,65,86,.11);
  min-width: 260px;
  max-width: 460px;
  color: #222;
  margin-bottom: 22px;
  border-left: 4px solid #B4975A;
  flex: 1 0 270px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.features-grid > div {
  flex: 1 1 245px;
  min-width: 220px;
  background: #F4F5EF;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(54,65,86,.06);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow .18s;
  border-left: 3px solid #B4975A;
}
.features-grid > div:hover {
  box-shadow: 0 8px 32px 0 rgba(54,65,86,.11);
}
.features-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 7px;
}

.contact-box {
  background: #F4F5EF;
  border-radius: 11px;
  box-shadow: 0 2px 10px 0 rgba(54,65,86,.07);
  padding: 20px 28px;
  margin-bottom: 20px;
  color: #364156;
  font-size: 1.05rem;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 12px 0 rgba(54,65,86, .05);
  padding: 20px 18px;
  margin-bottom: 20px;
}
.map-box {
  background: #F4F5EF;
  border-radius: 8px;
  padding: 22px 18px;
  box-shadow: 0 2px 12px 0 rgba(54,65,86,.07);
}

/* Testimonial slider wrapper */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 10px;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: #222;
}
.testimonial-card span {
  font-family: 'Lato', Arial, sans-serif;
  font-size: .99rem;
  color: #887b65;
  margin-left: 14px;
}

/* === TABLE STYLES === */
table {
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 11px 0 rgba(180,151,90, 0.05);
}
thead {
  background: #B4975A;
}
th {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .5px;
}
tbody tr:nth-child(odd) td {
  background: #f4f4ed;
}
tbody tr:nth-child(even) td {
  background: #fff;
}
td, th {
  border-bottom: 1px solid #ece6d8;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* === FOOTER === */
footer {
  background: #364156;
  color: #fff;
  padding: 0 0 18px 0;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  padding-top: 38px;
}
.footer-brand img {
  height: 34px;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  transition: color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #B4975A;
}
.footer-contact {
  font-size: .99rem;
  color: #ece6d8;
  line-height: 1.6;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff8ea;
  color: #364156;
  box-shadow: 0 -2px 24px 0 rgba(54,65,86,.10);
  padding: 28px 12px 18px 12px;
  z-index: 2000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: center;
  transition: transform .4s cubic-bezier(.48,.44,.2,1.08);
  border-top: 2px solid #B4975A;
}
.cookie-banner.hidden {
  transform: translateY(150%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner p {
  flex: 1 1 200px;
  max-width: 600px;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  padding: 10px 28px;
  border-radius: 24px;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .13s;
  box-shadow: 0 2px 10px 0 rgba(54,65,86,.06);
  outline: none;
}
.cookie-btn.accept {
  background: #B4975A;
  color: #fff;
  font-weight: 700;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #8a702b;
}
.cookie-btn.reject {
  background: transparent;
  border: 1.5px solid #B4975A;
  color: #B4975A;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F4F5EF;
}
.cookie-btn.settings {
  background: #fff;
  color: #364156;
  border: 1.5px solid #ece6d8;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  border-color: #B4975A;
  color: #B4975A;
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2100;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(54,65,86,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein .25s;
}

@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff8ea;
  border-radius: 20px;
  box-shadow: 0 4px 36px 0 rgba(54,65,86,.14);
  padding: 36px 30px 24px 30px;
  max-width: 420px;
  width: 92vw;
  color: #364156;
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.44rem;
  color: #B4975A;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}
.cookie-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #B4975A;
  cursor: pointer;
  transition: color .21s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #364156;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-category input[type=checkbox], .cookie-category input[type=radio] {
  width: 20px; height: 20px;
  accent-color: #B4975A;
}
.cookie-category label {
  font-family: 'Lato', Arial, sans-serif;
  color: #364156;
}
.cookie-category.essential label {
  font-weight: bold;
  color: #364156;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  justify-content: flex-end;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
  .container {
    max-width: 100vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .footer-brand, .footer-contact, .footer-nav {
    align-items: flex-start;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .features-grid {
    gap: 18px;
  }
  .features-grid > div {
    min-width: 160px;
    padding: 18px;
    font-size: 95%;
  }
  .testimonial-slider {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.15rem; }
  .section {
    margin-bottom: 38px;
    padding: 24px 8px;
  }
  .main-nav { display: none; }
  .content-wrapper { gap: 16px; }
  .features-grid, .testimonial-slider, .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    max-width: 98vw;
  }
  .footer-brand img {
    height: 28px;
  }
  .card {
    min-width: 0;
    padding: 15px 6vw;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .cookie-modal {
    padding: 18px 7vw 18px 7vw;
    min-width: 0;
    max-width: 98vw;
  }
}
@media (max-width: 480px) {
  body { font-size: 0.97rem; }
  .section {
    padding: 13px 2vw;
    margin-bottom: 20px;
    border-radius: 8px;
  }
  .features-grid > div,
  .card,
  .testimonial-card {
    padding: 12px 5vw;
    border-radius: 6px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 5px 10px 5px;
    gap: 8px;
  }
  .cookie-modal {
    padding: 10px 3vw 11px 3vw;
    border-radius: 7px;
  }
  .cookie-modal-close {
    top: 11px;
    right: 11px;
    font-size: 1.45rem;
  }
}

/* === FORM & INTERACTION HOVERS === */
input, textarea, select {
  font-family: 'Lato', Arial, sans-serif;
  border-radius: 8px;
  border: 1.5px solid #ece6d8;
  padding: 12px 14px;
  background: #fff;
  color: #364156;
  font-size: 1rem;
  margin-bottom: 16px;
  width: 100%;
  transition: border-color .13s, box-shadow .13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #B4975A;
  box-shadow: 0 2px 10px 0 rgba(180,151,90,0.1);
  outline: none;
}
button, .cta-btn, .cookie-btn {
  transition: background .18s, color .18s, transform .19s;
  outline: none;
}
button:active, .cta-btn:active, .cookie-btn:active {
  transform: scale(.97);
}

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid #B4975A;
  outline-offset: 2px;
}

/* === GOLD ACCENTS & DELICATE DETAILS === */
h2:before {
  content: '';
  display: inline-block;
  width: 38px;
  height: 3px;
  background: #B4975A;
  border-radius: 2px;
  margin-right: 12px;
  vertical-align: middle;
  margin-bottom: 6px;
}

/* === VISUAL HIERARCHY SPACING === */
.section + .section {
  margin-top: 0;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 12px;
}

/* === SHADOWS AND DEPTH === */
.card, .testimonial-card, .features-grid > div, .contact-box {
  transition: box-shadow .18s;
}
.card:hover, .testimonial-card:hover, .features-grid > div:hover {
  box-shadow: 0 10px 34px 0 rgba(54,65,86,.14);
}

/* === ADDITIONAL DECORATIVE DETAILS === */
.features-grid > div:after {
  content: '';
  display: block;
  height: 2px;
  width: 42px;
  background: #B4975A;
  border-radius: 1.5px;
  margin-top: 12px;
  opacity: 0.18;
}

/* === ANIMATION MICRO-INTERACTIONS === */
.cta-btn, .cookie-btn {
  will-change: transform, box-shadow;
}
.cta-btn:active {
  transform: scale(.97);
}
section {
  padding: 15px;
}
/* --- END --- */