/* --- 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 { line-height: 1.5; background: #F6F2EB; color: #23281F; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; background-color: transparent; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; }

/* --- FONT IMPORTS (Google Fonts fallback) --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

:root {
  /* Brand palette + luxury accents */
  --color-primary: #3B5B3A;
  --color-secondary: #A8B799;
  --color-bg: #F6F2EB;
  --color-gold: #B89D51;
  --color-deep: #23281F;
  --color-white: #fff;
  --color-shadow: rgba(44, 49, 38, 0.07);
  --color-shadow-dark: rgba(44, 49, 38, 0.14);

  /* Font stacking */
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;

  /* Sizes */
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 4px 28px var(--color-shadow);
  --shadow-card: 0 2px 12px var(--color-shadow-dark);
  --border-gold: 1.5px solid var(--color-gold);

  /* Spacing */
  --g-xs: 8px;
  --g-sm: 16px;
  --g-md: 24px;
  --g-lg: 32px;
  --g-xl: 40px;
  --g-xxl: 60px;
}

body {
  background: var(--color-bg);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-deep);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--g-sm);
  padding-right: var(--g-sm);
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.75rem; line-height: 1.15; margin-bottom: var(--g-md); }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: var(--g-md); }
h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: var(--g-sm); color: var(--color-primary); }
h4, h5, h6 { font-size: 1.1rem; }
p, ul, ol, blockquote { font-size: 1rem; line-height: 1.6; }
p { margin-bottom: var(--g-md); }
ul, ol { margin-bottom: var(--g-md); }
blockquote {
  background: rgba(168, 183, 153, 0.10);
  border-left: 4px solid var(--color-gold);
  padding: var(--g-sm) var(--g-md);
  margin-bottom: var(--g-sm);
  border-radius: var(--radius);
  font-style: italic;
  color: var(--color-primary);
}
strong { font-weight: 600; color: var(--color-primary); }
a { transition: color 0.2s; }
a:hover, a:focus { color: var(--color-gold); }

/* Luxurious details */
hr { border: none; border-top: var(--border-gold); margin: var(--g-lg) 0; }

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--color-white);
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: var(--g-md) 0;
}
.content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--g-lg);
  justify-content: space-between;
}
/* Responsive logo */
header img {
  height: 42px;
  width: auto;
  min-width: 120px;
  display: block;
}

.main-nav {
  display: flex;
  gap: var(--g-md);
  align-items: center;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
  color: var(--color-primary);
}
.main-nav a:not(.cta-btn):hover, .main-nav a:not(.cta-btn):focus {
  color: var(--color-gold);
}
.main-nav .cta-btn {
  background: var(--color-gold);
  color: var(--color-deep);
  padding: 10px 30px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-family: var(--font-display);
  box-shadow: 0 2px 10px rgba(44, 49, 38, 0.06);
  border: 2px solid transparent;
  letter-spacing: 0.008em;
  margin-left: var(--g-md);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: var(--color-white);
  color: var(--color-gold);
  border-color: var(--color-gold);
}

/* Mobile Burger */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.0rem;
  color: var(--color-primary);
  cursor: pointer;
  margin-left: var(--g-sm);
  z-index: 1002;
}

/* ---- MOBILE MENU OVERLAY ---- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100vh;
  background: rgba(59,91,58,0.97);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(110%);
  transition: transform 0.35s cubic-bezier(.5,1.5,.5,1);
  box-shadow: -12px 0 32px var(--color-shadow-dark);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  color: var(--color-gold);
  border: none;
  font-size: 2.25rem;
  margin: var(--g-md);
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--g-lg);
  margin: var(--g-xl) var(--g-lg) var(--g-lg) var(--g-lg);
  width: 100%;
}
.mobile-nav a {
  color: var(--color-white);
  font-size: 1.5rem;
  font-family: var(--font-display);
  padding: 10px 0;
  width: 100%;
  transition: color 0.15s, background 0.2s;
  border-radius: var(--radius);
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(184, 157, 81, 0.17);
  color: var(--color-gold);
}

/* ---- HERO SECTION ---- */
.hero {
  background: linear-gradient(135deg, var(--color-bg) 80%, #fff 100%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 8px 36px var(--color-shadow-dark);
}
.hero .content-wrapper {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--g-lg);
  padding: var(--g-xl) 0 var(--g-lg) 0;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.2rem;
  margin-bottom: var(--g-sm);
}
.hero p {
  font-size: 1.2rem;
  max-width: 540px;
}

/* ---- SECTION LAYOUTS ---- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- CARDS, GRID & FLEX CONTAINERS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--g-lg);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--g-md);
  border: var(--border-gold);
}
.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 must have dark text on light bg */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 10px rgba(44, 49, 38, 0.07);
  border-left: 5px solid var(--color-gold);
  font-size: 1.1rem;
  color: var(--color-primary);
}
.testimonial-card blockquote {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-size: 1.1rem;
  font-style: normal;
  color: var(--color-deep);
}
.testimonial-card strong {
  color: var(--color-gold);
  font-size: 1rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--g-md);
  margin-bottom: 20px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  flex: 1 1 250px;
  min-width: 230px;
  max-width: 340px;
  padding: var(--g-lg) var(--g-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--g-sm);
  border-left: 3px solid var(--color-gold);
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 8px 30px var(--color-shadow-dark);
  transform: translateY(-2px) scale(1.02);
}
.feature-grid img {
  width: 44px;
  margin-bottom: var(--g-sm);
}

/* --- CTA BUTTON --- */
.cta-btn {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-deep);
  border: none;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 13px 44px;
  box-shadow: 0 4px 18px var(--color-shadow);
  margin-top: var(--g-md);
  margin-bottom: var(--g-xs);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s, border 0.15s;
  outline: none;
  border: 2px solid transparent;
  position: relative;
  z-index: 1;
}
.cta-btn:after {
  content: "";
  position: absolute;
  left: 5%; right: 5%; top: 20%; bottom: 20%;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-gold);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.18s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-white);
  color: var(--color-gold);
  border-color: var(--color-gold);
  box-shadow: 0 6px 30px var(--color-shadow-dark);
}
.cta-btn:hover:after, .cta-btn:focus:after {
  opacity: 1;
}

/* --- LISTS, TABLES, MISC --- */
ul, ol {
  padding-left: var(--g-md);
}
ul li, ol li {
  margin-bottom: var(--g-xs);
}
.text-section ul {
  list-style-type: disc inside;
  color: var(--color-primary);
  margin-bottom: var(--g-md);
}
address {
  font-style: normal;
  color: var(--color-primary);
  margin-top: var(--g-lg);
}
address p {
  display: flex;
  align-items: center;
  gap: var(--g-xs);
  margin-bottom: var(--g-xs);
  font-size: 1rem;
}
address img {
  width: 20px; height: 20px; opacity: 0.80;}

/* ----- TEXT SECTIONS ----- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: var(--g-md);
  color: var(--color-deep);
}
.text-section h3 {
  color: var(--color-primary);
  margin-bottom: var(--g-xs);
}
.text-section a {
  color: var(--color-gold);
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.18s;
}
.text-section a:hover, .text-section a:focus {
  color: var(--color-primary);
}

.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ECE5D4;
  min-height: 120px;
  border-radius: var(--radius);
  font-style: italic;
  color: var(--color-secondary);
  font-size: 1.08rem;
  margin-top: var(--g-md);
}

/* ---- BUTTONS ---- */
button, .button {
  font-family: var(--font-display);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 10px 22px;
  font-size: 1rem;
  background: var(--color-secondary);
  color: var(--color-deep);
  transition: background 0.16s, color 0.16s, box-shadow 0.14s;
  box-shadow: 0 2px 8px var(--color-shadow);
}
button:hover, button:focus {
  background: var(--color-gold);
  color: var(--color-deep);
}

/* ---- FOOTER ---- */
footer {
  background: #fff;
  border-top: 2px solid var(--color-gold);
  padding: var(--g-xl) 0 var(--g-lg) 0;
  color: var(--color-primary);
  box-shadow: 0 -8px 32px var(--color-shadow);
}
footer .content-wrapper {
  flex-direction: row;
  gap: var(--g-lg);
  align-items: flex-start;
  justify-content: space-between;
}
footer img {
  width: 64px;
  height: auto;
  margin-bottom: var(--g-md);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--g-xs);
}
.footer-nav a {
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 4px;
  font-family: var(--font-display);
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-gold);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 2003;
  background: var(--color-white);
  box-shadow: 0 -4px 26px var(--color-shadow-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--g-lg);
  gap: var(--g-lg);
  transition: transform 0.31s cubic-bezier(0.24,1,0.32,1), opacity 0.25s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner__msg {
  flex: 1;
  color: var(--color-primary);
  font-size: 1.05rem;
  max-width: 640px;
}
.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: var(--g-sm);
}
.cookie-btn-accept, .cookie-btn-reject, .cookie-btn-settings {
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: var(--radius);
  padding: 11px 22px;
  margin-right: 0;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.18s, box-shadow 0.13s;
}
.cookie-btn-accept {
  background: var(--color-gold);
  color: var(--color-deep);
  font-weight: 600;
  box-shadow: 0 2px 8px var(--color-shadow);
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: var(--color-primary);
  color: var(--color-white);
}
.cookie-btn-reject {
  background: #ece5d4;
  color: var(--color-primary);
  font-weight: 500;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: var(--color-secondary);
}
.cookie-btn-settings {
  background: transparent;
  color: var(--color-primary);
  font-weight: 500;
  border: 1.5px solid var(--color-gold);
  box-shadow: none;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: var(--color-gold);
  color: var(--color-white);
}

/* ---- COOKIE MODAL ---- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,49,38,0.64);
  z-index: 2010;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.24s;
  pointer-events: auto;
}
.cookie-modal-overlay.hide { opacity: 0; pointer-events: none; }

.cookie-modal {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  min-width: 340px;
  max-width: 96vw;
  box-shadow: 0 10px 38px var(--color-shadow-dark);
  padding: var(--g-xl) var(--g-lg);
  margin: 0 12px;
  display: flex;
  flex-direction: column;
  gap: var(--g-lg);
  position: relative;
  z-index: 2012;
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 28px;
  font-size: 2rem;
  color: var(--color-gold);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-primary);
}
.cookie-modal h2 {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: var(--g-sm);
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: var(--g-sm);
  margin-bottom: 6px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-gold);
  width: 18px; height: 18px;
  margin-top: 4px;
}
.cookie-modal-actions {
  display: flex;
  gap: var(--g-sm);
  align-items: center;
}

/* ---- RESPONSIVE FLEXBOX LAYOUTS --- */
@media (max-width: 1020px) {
  .container { max-width: 96vw; padding-left: var(--g-xs); padding-right: var(--g-xs); }
  .footer-nav { flex-direction: column; }
  footer .content-wrapper { flex-direction: column; gap: var(--g-lg); }
}
@media (max-width: 900px) {
  .content-grid, .feature-grid, .card-container { flex-direction: column; gap: var(--g-lg); }
  .content-wrapper { gap: var(--g-lg); }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  header .content-wrapper { flex-direction: row; gap: var(--g-md); }
  .hero, section { padding-left: var(--g-xs); padding-right: var(--g-xs); }
  .hero h1 { font-size: 1.4rem; }
  section { margin-bottom: 36px; padding: 24px 8px; }
  .feature-grid > div, .feature-item, .card, .testimonial-card { max-width: 100%; min-width: unset; }
}
@media (max-width: 540px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: var(--g-sm); padding: 15px var(--g-xs); }
  .cookie-banner__msg { font-size: 0.98rem; }
  section { padding-left: 2px; padding-right: 2px; }
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.05rem; }
}
@media (max-width: 480px) {
  .cookie-modal { padding: var(--g-lg) var(--g-md); min-width: 90vw; }
  .hero h1 { font-size: 1.08rem; }
}

/* --- TRANSITIONS & MICRO-INTERACTIONS --- */
.card, .feature-item, .feature-grid > div, .cta-btn, button, .testimonial-card {
  transition: box-shadow 0.12s, transform 0.13s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 12px 38px var(--color-shadow-dark);
  transform: translateY(-3px) scale(1.01);
  border-color: var(--color-gold);
}

/* ---- UTILITIES ---- */
.text-center { text-align: center; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.flex-col { flex-direction: column; }
.gap-sm { gap: var(--g-sm); }
.gap-md { gap: var(--g-md); }
.gap-lg { gap: var(--g-lg); }

/* --- Z-INDEX LAYERING --- */
header   { z-index: 100; position: relative; }
footer   { z-index: 12; position: relative; }
main     { z-index: 10; position: relative; }

/* --- PREVENTING OVERLAPPING --- */
.content-wrapper > *, .card-container > *, .feature-grid > * {
  margin-bottom: 20px;
}
.section > *:not(:last-child) { margin-bottom: 20px; }

/* --- ICONS --- */
img[alt^="icon-"], img[src*="icon-"] {
  filter: grayscale(0.14) brightness(1) sepia(0.12);
  opacity: 0.95;
}

/* --- MISC (MAP PLACEHOLDER, ETC) --- */
.map-placeholder {
  min-height: 100px;
  background: #e3dfca;
  color: #a8b799;
  border: 1.5px dashed var(--color-secondary);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-lg);
}

/* --- PRINT OVERRIDE --- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
}
