/* ---------------------------
   RESET & BASE STYLES
----------------------------*/
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
}

body {
  background: #F4F1ED;
  color: #232A34;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #846A2A;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #B89945;
  text-decoration: underline;
}
ul, ol {
  padding-left: 18px;
  margin: 16px 0;
}
li {
  margin-bottom: 10px;
}

strong {
  font-weight: 600;
  color: #232A34;
}

/* ---------------------------
   TYPOGRAPHY
----------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  color: #232A34;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; letter-spacing: 0.01em; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 14px; font-weight: 600; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 18px; font-size: 1rem; color: #232A34; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.15rem; }
}

/* ---------------------------
   LUXURY COLOR PALETTE & UTILS
----------------------------*/
:root {
  --brand-dark: #232A34;
  --brand-green: #85A059;
  --brand-cream: #F4F1ED;
  --brand-gold: #B89945;
  --brand-gold-soft: #F1DA8D;
  --brand-white: #fff;
  --shadow-premium: 0 2px 16px 0 rgba(35,42,52, 0.05);
  --border-radius: 14px;
  --transition: 0.21s cubic-bezier(.65,.05,.36,1);
}

/*-----------------------------
  CONTAINER & SECTION LAYOUTS
------------------------------*/
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-cream);
  border-radius: var(--border-radius);
}

/* Cards and Grid (No Grid, Flex only) */
.card-container, .content-wrapper, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.card {
  background: var(--brand-white);
  box-shadow: var(--shadow-premium);
  border-radius: var(--border-radius);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--transition);
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(35,42,52,0.13);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

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

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

@media (max-width: 768px) {
  .card-container, .content-wrapper, .content-grid { flex-direction: column; gap: 20px; }
  .text-image-section { flex-direction: column; gap: 20px; }
}

/* ---------------------------
   HEADER & NAVIGATION
----------------------------*/
header {
  width: 100%;
  background: var(--brand-white);
  box-shadow: 0 2px 12px rgba(35,42,52,0.08);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}
header img { height: 44px; margin-right: 30px; }
header nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--brand-dark);
  font-size: 1rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s, color 0.18s;
  font-weight: 500;
}
header nav a:hover, header nav a:focus {
  color: var(--brand-gold);
  border-bottom: 2px solid var(--brand-gold);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  font-size: 2.05rem;
  background: none;
  color: var(--brand-dark);
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border 0.18s, background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  border-color: var(--brand-gold);
  background: #faf5e7;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,42,52,0.97);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 38px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.3rem;
  color: #fff;
  background: none;
  border: none;
  position: absolute;
  top: 24px; right: 28px;
  cursor: pointer;
  z-index: 2100;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: var(--brand-gold); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.85em;
  margin-top: 32px;
  padding: 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.38rem;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(244,241,237,0.07);
  transition: color 0.14s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--brand-gold);
}

@media (max-width: 991px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 992px) {
  .mobile-menu { display: none !important; }
}

/* ---------------------------
   BUTTONS & CTAs
----------------------------*/
.cta-btn {
  background: linear-gradient(98deg, var(--brand-gold) 40%, #F1DA8D 120%);
  color: var(--brand-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 13px 38px;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 1px 10px rgba(185,153,69,0.08);
  transition: box-shadow 0.16s, filter 0.16s, background 0.16s;
  cursor: pointer;
  margin-top: 16px;
  letter-spacing: 0.03em;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--brand-gold);
  box-shadow: 0 4px 24px rgba(184,153,69,0.18);
  filter: brightness(1.07);
  color: #fff;
}
.button, button, input[type="submit"], input[type="button"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 9px 28px;
  border-radius: 32px;
  border: none;
  color: var(--brand-dark);
  background: var(--brand-gold-soft);
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(184,153,69,0.075);
  transition: background var(--transition), color var(--transition);
}
.button:hover, .button:focus, button:hover, button:focus, input[type="submit"]:hover, input[type="button"]:hover {
  background: var(--brand-gold);
  color: #fff;
}

/* ---------------------------
   FLEX SECTION SPACING PATTERNS
----------------------------*/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .section { padding: 28px 8px; margin-bottom: 38px; }
  .container { padding: 0 9px; }
  .card-container, .content-grid { flex-direction: column; }
  .testimonial-card { padding: 16px; }
}

/* ---------------------------
   SECTIONS: HERO, FEATURES, ETC.
----------------------------*/
main section {
  margin-bottom: 60px;
}
main section:last-child {
  margin-bottom: 0;
}

.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: flex-start;
}
@media (max-width: 768px) {
  .content-wrapper { flex-direction: column; gap: 20px; }
}

/* List icon features */
.content-wrapper ul img {
  width: 1.4em;
  vertical-align: middle;
  margin-right: 7px;
  margin-bottom: 3px;
  filter: grayscale(0.15) brightness(0.96);
}
.content-wrapper ul li {
  font-family: 'Roboto', Arial, sans-serif;
  color: #232A34;
  background: none;
  padding: 0 0 0 0.17em;
  font-size: 1rem;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

/* CTAs and hero block */
main .content-wrapper > a.cta-btn,
main .cta-btn {
  align-self: flex-start;
  margin-top: 14px;
  margin-bottom: 8px;
}

/* Highlight styles for e.g. .address-highlight */
.address-highlight {
  background: #fffbe6;
  border-left: 4px solid var(--brand-gold);
  color: var(--brand-dark);
  padding: 15px 22px;
  border-radius: 10px;
  font-size: 1.08rem;
  margin: 18px 0 12px 0;
  font-weight: 600;
}

/* Emphasized prices */
h3 span {
  color: var(--brand-gold);
  font-size: 0.97em;
  font-weight: 600;
  margin-left: 8px;
}

/* ---------------------------
   TESTIMONIALS CARDS
----------------------------*/
.testimonial-card {
  background: var(--brand-white);
  color: var(--brand-dark);
  box-shadow: 0 2px 18px rgba(35,42,52,0.08);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 364px;
  font-size: 1rem;
  padding: 20px 26px;
  transition: box-shadow 0.18s, border-color 0.18s;
  border-left: 6px solid var(--brand-gold);
  position: relative;
}
.testimonial-card strong {
  color: var(--brand-gold);
}
.testimonial-card div:last-child {
  color: var(--brand-gold);
  font-size: 1.14rem;
}
.testimonial-card p {
  color: var(--brand-dark);
  font-style: italic;
  font-size: 1.09rem;
  margin-bottom: 11px;
}
@media (max-width: 768px) {
  .testimonial-card { max-width: 100%; min-width: 0; }
}

/* ---------------------------
   FOOTER
----------------------------*/
footer {
  background: var(--brand-dark);
  color: #fff;
  padding: 40px 0 22px 0;
  margin-top: 60px;
  font-size: 1rem;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
footer nav a {
  color: var(--brand-gold-soft);
  font-weight: 500;
  font-size: 1.01rem;
  transition: color .15s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--brand-gold);
  text-decoration: underline;
}
footer .text-section {
  color: var(--brand-gold-soft);
  font-size: 0.98rem;
  margin-bottom: 0;
}

/* ---------------------------
   COOKIE CONSENT BANNER/MODAL
----------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 4000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background: rgba(35,42,52,0.97);
  color: #fff;
  padding: 20px 16px 18px 16px;
  gap: 28px;
  box-shadow: 0 -3px 24px rgba(35,42,52,0.13);
  font-size: 1.07rem;
  animation: slideUpFade .34s cubic-bezier(.55,.15,.26,1);
}
.cookie-banner p { color: #fff; margin-bottom: 0; }
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  padding: 9px 25px;
  border: none;
  margin: 0 0 0 0;
  transition: background .16s, color .16s;
  cursor: pointer;
  background: var(--brand-gold);
  color: var(--brand-dark);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #fff;
  color: var(--brand-gold);
  border: 1px solid var(--brand-gold);
}
.cookie-banner .cookie-settings-btn {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: var(--brand-gold);
  color: var(--brand-dark);
  border: 2px solid var(--brand-gold);
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    font-size: 0.96rem;
    align-items: stretch;
  }
  .cookie-banner .cookie-buttons { flex-wrap: wrap; gap: 10px; }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4100;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,42,52,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: var(--brand-white);
  border-radius: var(--border-radius);
  min-width: 330px;
  max-width: 98vw;
  box-shadow: 0 8px 44px rgba(35,42,52,0.19);
  padding: 33px 34px 22px 34px;
  position: relative;
  color: var(--brand-dark);
  animation: modalFadeIn 0.29s cubic-bezier(.33,1.41,.43,1.14);
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--brand-dark);
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal ul {
  margin-bottom: 22px;
}
.cookie-modal li {
  font-size: 1.03rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-toggle {
  position: relative;
  width: 44px; height: 24px;
  display: inline-block;
}
.cookie-toggle input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: #e6e2db;
  border-radius: 24px;
  transition: background 0.14s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: var(--brand-gold);
}
.cookie-slider:before {
  content: "";
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  background: var(--brand-dark);
  border-radius: 50%;
  transition: transform 0.19s;
}
.cookie-toggle input:checked + .cookie-slider:before {
  background: var(--brand-gold);
  transform: translateX(20px);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 14px;
  background: none;
  border: none;
  font-size: 1.65rem;
  color: var(--brand-gold);
  cursor: pointer;
  transition: color 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: var(--brand-dark); }
/* Essential cookies styling */
.cookie-modal li.essential {
  color: #888;
  font-style: italic;
}
.cookie-modal li.essential .cookie-toggle {
  pointer-events: none;
  opacity: 0.5;
}
@media (max-width: 500px) {
  .cookie-modal { padding: 20px 10px 14px 10px; min-width: 0; }
}

@keyframes slideUpFade {
  from { transform: translateY(48px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(.965); }
  to   { opacity: 1; transform: scale(1); }
}

/* ---------------------------
   ANIMATIONS & INTERACTIONS
----------------------------*/
.cta-btn, .button, button, input[type="submit"] {
  transition: background .16s, color .16s, box-shadow .16s, filter .16s, border .17s;
}
.card {
  transition: box-shadow .16s, border-color .14s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 32px rgba(35,42,52,0.16);
  border-color: var(--brand-gold);
}

/* ---------------------------
   FORMS (for e-mail links/forms)
----------------------------*/
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 11px 12px;
  border: 1.5px solid #dbdbdb;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 15px;
  color: var(--brand-dark);
  transition: border-color 0.19s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-gold);
}

/* ---------------------------
   HELPER CLASSES
----------------------------*/
.hide { display: none!important; }
.text-center { text-align: center!important; }
.text-right { text-align: right!important; }
.mt24 { margin-top: 24px!important; }
.mb24 { margin-bottom: 24px!important; }
.mt40 { margin-top: 40px!important; }
.mb40 { margin-bottom: 40px!important; }

/* ---------------------------
   SCROLLBAR (REFINED)
----------------------------*/
::-webkit-scrollbar { width: 12px; background: #fbf5e7; }
::-webkit-scrollbar-thumb {
  background: #DCC073;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #B89945;
}

/* ---------------------------
   ACCESSIBILITY
----------------------------*/
:focus {
  outline: 2px solid var(--brand-gold);
  outline-offset: 2px;
}

/* ---------------------------
   PRINT
----------------------------*/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  main { padding: 0; }
}
