/* ------------------------
   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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { 
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background: #FAFAF7;
  color: #21281F;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  min-height: 100vh;
}
*, *:before, *:after { box-sizing: inherit; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; border: 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #254B36;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: .55em;
}
h1 { font-size: 2.25rem; line-height: 1.16; }
h2 { font-size: 1.625rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; }
p,
li,
span,
.site-tagline {
  font-size: 1rem;
  color: #21281F;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
}
strong { font-weight: 700; }
.site-tagline {
  font-size: 1.15rem;
  color: #877B46;
  font-style: italic;
  margin-top: 2px;
}
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ----------------------------
  LUXURY PREMIUM DESIGN SYSTEM
------------------------------*/
:root {
  --color-primary: #254B36;
  --color-secondary: #E4C86D;
  --color-accent: #FFFFFF;
  --color-dark: #1c2321;
  --color-highlight: #CDAF53;
  --color-border: #e9e6d3;
  --color-bg-card: #fffdfa;
  --color-bg-hero: #f4f1e7;
  --shadow-card: 0 4px 24px 0 rgba(37,75,54,0.09);
  --shadow-nav: 0 2px 12px 0 rgba(37,75,54,0.06);
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

/* ------------------
    HEADER & NAV
-------------------*/
header {
  background: var(--color-accent);
  box-shadow: var(--shadow-nav);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 22px 0 8px 0;
}
.logo-title img {
  height: 50px;
  width: auto;
  margin-bottom: 0;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-start;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  font-weight: 500;
  margin: 0 0 5px 0;
  padding: 0 0 14px 0;
}
.main-nav a {
  color: var(--color-primary);
  position: relative;
  padding: 5px 0;
  border-radius: var(--radius-sm);
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
  background: rgba(228,200,109,0.11);
  outline: none;
}

/* Mobile Burger Setup */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  padding: 8px 14px;
  margin-left: auto;
  z-index: 1100;
  cursor: pointer;
  border-radius: 99px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #eee1;
  box-shadow: 0 1px 8px 0 #ddd6;
}
.mobile-menu {
  display: none;
}
.mobile-menu.active {
  display: flex;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37,75,54, 0.94);
  z-index: 2000;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  animation: mobilemenuIn 0.32s cubic-bezier(.6,1.2,0.7,1.02);
}
@keyframes mobilemenuIn {
  0% { transform: translateX(100%); opacity: 0; }
 100% { transform: translateX(0); opacity: 1; }
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #E4C86D;
  font-size: 2.2rem;
  margin: 28px 30px 10px 0;
  align-self: flex-end;
  cursor: pointer;
  border-radius: 99px;
  transition: background 0.12s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: rgba(39,39,39,0.09);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin-top: 16px;
}
.mobile-nav a {
  color: #fffdfa;
  padding: 22px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(228,200,109,0.23);
  transition: color 0.15s, background 0.19s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: rgba(228,200,109,0.13);
  color: var(--color-secondary);
  outline: none;
}
/* Hide main-nav/show burger on mobile */
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 991px) {
  .mobile-menu,
  .mobile-menu.active,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* -------------------
   HERO & SECTIONS
--------------------*/
.hero {
  background: var(--color-bg-hero);
  padding: 44px 0 40px 0;
  min-height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 44px;
}
.hero .container { height: 100%; }
.hero .content-wrapper {
  gap: 10px;
  align-items: flex-start;
  justify-content: center;
}
.hero h1 {
  font-size: 2.4rem;
  letter-spacing: 0.01em;
  color: var(--color-primary);
  margin-bottom: 5px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.hero p {
  font-size: 1.18rem;
  color: var(--color-dark);
  max-width: 560px;
  margin-bottom: 18px;
}
/* .section = critical spacing pattern */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* CARD CONTAINERS, FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  padding: 28px 22px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.22s;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 360px;
  border: 1px solid var(--color-border);
}
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 30px 0 rgba(37, 75, 54, 0.18);
  transform: translateY(-6px) scale(1.021);
  outline: none;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* FEATURE GRID & SERVICE LISTS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 26px 0 16px 0;
}
.feature-grid > li {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  flex: 1 1 220px;
  max-width: 320px;
  padding: 28px 18px 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  min-width: 190px;
  border: 1px solid var(--color-border);
  gap: 12px;
  transition: box-shadow 0.21s, transform 0.16s;
}
.feature-grid > li:hover {
  box-shadow: 0 6px 20px 0 rgba(37,75,54,0.15);
  transform: translateY(-4px) scale(1.012);
}
.feature-grid img {
  height: 50px;
  width: 50px;
  object-fit: contain;
}
.feature-grid h3 {
  color: var(--color-primary);
  margin-bottom: 4px;
  font-size: 1.15rem;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 24px 0 0 0;
}
.service-list > li {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: 22px 20px 20px 24px;
  flex: 1 1 240px;
  min-width: 190px;
  max-width: 340px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--color-border);
  position: relative;
  justify-content: flex-start;
  transition: box-shadow 0.16s, transform 0.16s;
}
.service-list > li strong {
  color: var(--color-primary);
  font-size: 1.07rem;
  margin-bottom: 3px;
}
.service-list > li span {
  display: inline-block;
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 3px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.service-list > li:hover {
  box-shadow: 0 5px 17px 0 rgba(37,75,54,0.13);
  transform: translateY(-3px) scale(1.012);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0 0 0;
}
.feature-list > li {
  flex: 1 1 220px;
  min-width: 180px;
  padding: 10px 0 8px 0;
  color: var(--color-primary);
  font-weight: 500;
}

/* SECTION SPACING AND TYPOGRAPHY */
section {
  margin-bottom: 44px;
}
section:last-child {
  margin-bottom: 0;
}

.text-section {
  padding: 20px;
  border-radius: var(--radius-md);
  background: #F8F7F2;
  box-shadow: 0 1px 6px 0 rgba(37,75,54,0.04);
}
.text-section h1, 
.text-section h2, 
.text-section h3 {
  color: var(--color-primary);
}
.text-section a {
  color: var(--color-primary);
  font-weight: 600;
  border-bottom: 1px solid var(--color-secondary);
  transition: color 0.16s, border 0.16s;
}
.text-section a:hover {
  color: var(--color-secondary);
  border-color: var(--color-primary);
}
.text-section ul {
  margin: 10px 0 8px 18px;
  padding-left: 0;
}
.text-section li {
  margin-bottom: 8px;
  list-style-type: disc;
  font-size: 1rem;
}


/* --------------------
    BUTTONS & CTA
----------------------*/
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 34px;
  background: var(--color-primary);
  color: var(--color-secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  border: none;
  border-radius: 42px;
  cursor: pointer;
  box-shadow: 0 2px 9px 0 rgba(37,75,54,0.10);
  transition: background 0.2s, color 0.22s, box-shadow 0.18s, transform 0.16s;
  outline: none;
  text-shadow: 0 1px 0 #fff4;
  margin-top: 8px;
  letter-spacing: 0.03em;
  border: 1.5px solid var(--color-secondary);
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 4px 16px 0 rgba(228,200,109,0.20);
  border-color: var(--color-primary);
  transform: scale(1.044);
  outline: none;
}

/* Inline buttons for cookie-banner etc. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 21px;
  border-radius: 32px;
  border: none;
  margin-right: 13px;
  transition: background 0.16s, color 0.18s, box-shadow 0.14s;
  cursor: pointer;
  min-width: 120px;
  outline: none;
}
.btn-accept {
  background: var(--color-primary);
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.btn-accept:hover, .btn-accept:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.btn-reject {
  background: #eae6d4;
  color: var(--color-primary);
  border: 1.5px solid #cda400;
}
.btn-reject:hover, .btn-reject:focus {
  background: #f3e9ba;
  color: var(--color-dark);
}
.btn-settings {
  background: transparent;
  color: var(--color-secondary);
  border: 1.5px dashed var(--color-secondary);
}
.btn-settings:hover, .btn-settings:focus {
  background: #fff9ec;
  color: var(--color-primary);
  border-style: solid;
}

/* --------- CARDS/TILES --------- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --------------------------
   TESTIMONIALS, REVIEWS
----------------------------*/
.testimonial-card {
  background: #fffdfa;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 26px 18px 22px;
  margin-bottom: 20px;
  box-shadow: 0 3px 14px 0 rgba(37,75,54,0.059);
  border: 1.5px solid var(--color-border);
  transition: box-shadow 0.19s, border 0.16s;
  position: relative;
  color: #141c14;
}
.testimonial-card p {
  font-size: 1.11rem;
  color: #1c2321;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: 1rem;
  color: #877B46;
  font-style: italic;
}
.testimonial-card strong {
  color: var(--color-primary);
  font-size: 1.05em;
}
.testimonial-card:before {
  content: '\201C';
  color: var(--color-secondary);
  position: absolute;
  left: 14px; top: 12px;
  font-size: 2.5rem;
  opacity: .14;
  font-family: serif;
  pointer-events: none;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 9px 32px 0 rgba(228,200,109,0.10);
  border-color: var(--color-secondary);
}

/* -------------
   FOOTER
-------------- */
footer {
  background: #23412f;
  padding: 34px 0 24px 0;
  color: #FFFDF7;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-nav a {
  color: #e2dbb9;
  transition: color 0.18s;
}
.footer-nav a:hover {
  color: var(--color-secondary);
}
.footer-brand {
  margin-top: 6px;
}
.footer-brand img {
  height: 36px;
  width: auto;
  filter: brightness(92%) contrast(120%);
}

/* ---------------------------
   COOKIE CONSENT BANNER & MODAL
----------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fffdfa;
  border-top: 2px solid var(--color-secondary);
  box-shadow: 0 -2px 36px 0 rgba(37,75,54,0.075);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 10px;
  gap: 22px;
  animation: cookiefadeIn 0.22s;
}
@keyframes cookiefadeIn {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner-message {
  font-size: 1.08rem;
  color: #473b17;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-right: 15px;
  max-width: 420px;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 21px 9px;
  }
}
/* Cookie Modal Overlay */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37,75,54,0.88);
  z-index: 4000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: cookiemodalAppear 0.2s;
}
@keyframes cookiemodalAppear {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-content {
  background: #fffdfa;
  border-radius: var(--radius-lg);
  padding: 34px 28px 30px 28px;
  box-shadow: 0 8px 40px 0 rgba(37,75,54,0.15);
  min-width: 330px;
  max-width: 94vw;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  margin-bottom: 18px;
  font-size: 1.3rem;
}
.cookie-category {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  border-radius: 16px;
  background: #E4C86D;
  position: relative;
  border: 1.5px solid #cfb24b;
  transition: background 0.13s;
  cursor: pointer;
  flex-shrink: 0;
}
.cookie-toggle[aria-checked="true"] {
  background: var(--color-primary);
}
.cookie-toggle-inner {
  position: absolute; left: 3px; top: 3px;
  width: 18px; height: 18px;
  background: #fffdfa;
  border-radius: 50%;
  box-shadow: 0 1px 6px 0 #dfc95b33;
  transition: left 0.15s, background 0.16s;
}
.cookie-toggle[aria-checked="true"] .cookie-toggle-inner {
  left: 23px;
  background: #E4C86D;
}
.cookie-category-title {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category-desc {
  color: #847f6b;
  font-size: 0.95rem;
  margin-left: 6px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-secondary);
  cursor: pointer;
  border-radius: 99px;
  transition: background 0.14s;
  padding: 4px 10px 2px 10px;
}
.cookie-modal-close:focus,
.cookie-modal-close:hover {
  background: rgba(39,39,39,0.09);
}

/* Always Enabled badge for Essential Cookies */
.essential-badge {
  display: inline-block;
  font-size: 0.89em;
  padding: 2px 9px;
  border-radius: 11px;
  background: #e4c86d;
  color: #2c2c19;
  margin-left: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* -----------------------
   RESPONSIVE DESIGN
------------------------*/
@media (max-width: 1190px){
  .container { max-width: 97vw; }
}
@media (max-width: 990px){
  .hero {
    padding: 32px 0 26px 0;
    min-height: unset;
    margin-bottom: 28px;
  }
  .feature-grid,
  .service-list {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 720px){
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.19rem; }
  h3 { font-size: 1.02rem; }
  .hero p { font-size: 1.04rem; }
  .content-wrapper { gap: 11px; }
  .feature-grid > li,
  .service-list > li { padding: 18px 11px 16px 12px; }
  .card { padding: 14px 7px; }
  .section { padding: 24px 4px; }
  .footer-nav { font-size: 0.95rem; }
}
@media (max-width: 520px){
  .logo-title img { height: 34px; }
  .feature-grid,
  .service-list,
  .content-grid { gap: 11px; }
  .hero .content-wrapper { padding: 6px 0; }
}

/* -------------------
   MISC
--------------------*/
::-webkit-scrollbar {
  width: 11px; background: #edead6; border-radius: 20px;
}
::-webkit-scrollbar-thumb {
  background: #d1b04c;
  border-radius: 20px;
}

:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 3px;
}

::selection {
  background: #E4C86D22;
}

/* Transition helpers */
.card, .feature-grid>li, .service-list>li, .testimonial-card, .cta-button, .btn {
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.14s, background 0.14s, color 0.18s;
}

/* Prevent overlapping critical content */
.card, .feature-grid>li, .service-list>li, .testimonial-card {
  margin-bottom: 20px;
}

/* Hide visually but keep accessible (for cookie category switches) */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
}


/* -----------------
   PRINT SUPPORT
-----------------*/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  main, section, .container{ box-shadow: none !important; background: #fff !important; color: #000 !important; }
}
