/* =======================
   CSS RESET & BASE STYLES
   ======================= */
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 {
  scroll-behavior: smooth;
  background: #FAF9F7;
}
body {
  color: #232E39;
  background: #FAF9F7;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; }

/* ============================
   FONT FACE (GOOGLE FONTS)
   ============================ */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700&family=Roboto:wght@400;500;700&display=swap');

/* ======================
   BRAND COLORS & VARS
   ====================== */
:root {
  --color-primary: #232E39;
  --color-secondary: #D3B692;
  --color-accent: #F3DEC5;
  --color-bg: #FAF9F7;
  --color-white: #fff;
  --color-grey: #EFF0EE;
  --color-grey-dark: #8A9096;
  --color-shadow: rgba(35,46,57,0.07);
}

/* ================
   TYPOGRAPHY
   ================ */
h1, .h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
}
h2, .h2 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 20px;
  color: var(--color-primary);
}
h3, .h3 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 14px;
  color: var(--color-primary);
}
h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
}
p, li, a, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
}
strong, b {
  font-weight: 700;
}
.subheadline {
  font-size: 1.125rem;
  color: var(--color-grey-dark);
  margin-bottom: 18px;
  font-weight: 500;
}

/* =================
   LAYOUT STRUCTURE
   ================= */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 10px;
  }
}

/* ====================
   HEADER & NAVIGATION
   ==================== */
header {
  background: var(--color-white);
  box-shadow: 0 2px 10px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 0;
  color: var(--color-primary);
  border-bottom: 2px solid transparent;
  transition: border 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}
.cta-primary {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.0625rem;
  border: none;
  border-radius: 24px;
  padding: 10px 32px;
  box-shadow: 0 4px 16px var(--color-shadow);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.10s;
  outline: none;
  display: inline-block;
  margin-left: 16px;
  text-align: center;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 5px 24px var(--color-shadow);
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  z-index: 101;
  position: relative;
  margin: 0 0 0 12px;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--color-secondary);
}
@media (max-width: 900px) {
  .main-nav, .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE NAV OVERLAY MENU */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(250,249,247,0.96);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  transition: transform 0.4s cubic-bezier(0.44,0,0.01,1), opacity 0.3s;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  z-index: 120;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  padding: 18px 18px 12px 24px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 500;
  padding: 16px 0;
  width: 100%;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-grey);
  transition: background 0.16s, color 0.16s;
  margin-right: 24px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-secondary);
  background: var(--color-grey);
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* Overlay fix for scroll lock */
body.menu-open {
  overflow: hidden;
}

/* ===================
   HERO SECTION
   =================== */
.hero {
  background: var(--color-accent);
  min-height: 310px;
  padding: 48px 0 36px 0;
  display: flex;
  align-items: center;
  box-shadow: 0 6px 36px var(--color-shadow);
}
.hero .container {
  align-items: flex-start;
}
.hero .content-wrapper {
  gap: 20px;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .hero { padding: 24px 0 16px 0; }
}

/* =========================
   FLEXBOX SPACING PATTERNS
   ========================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  box-shadow: 0 4px 24px var(--color-shadow);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  flex: 1 1 240px;
}
.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;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* =========================
   BRAND FEATURE GRID/CARDS
   ========================= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}
.feature-grid > div {
  flex: 1 1 220px;
  background: var(--color-white);
  box-shadow: 0 2px 12px var(--color-shadow);
  border-radius: 14px;
  padding: 22px 18px 20px 18px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.21s, transform 0.16s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 28px var(--color-shadow);
  transform: translateY(-3px) scale(1.015);
}
.feature-grid img {
  width: 42px; height: 42px;
  margin-bottom: 6px;
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 15px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==========
   CARDS
   ========== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/* ==============
   TESTIMONIALS
   ============== */
.testimonial-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--color-white);
  box-shadow: 0 2px 16px var(--color-shadow);
  border-radius: 14px;
  margin-bottom: 20px;
  max-width: 730px;
  min-width: 0;
  transition: box-shadow 0.18s, transform 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px var(--color-shadow);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card p {
  color: var(--color-primary);
  font-size: 1.03rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card strong {
  color: var(--color-secondary);
  font-size: 1rem;
  display: block;
  margin-top: 10px;
  letter-spacing: 0.01em;
}
@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 12px;
  }
}

/* ========
   BUTTONS & MICRO-INTERACTIONS
   ======== */
button,
input[type="submit"],
.cta-primary {
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
}
button:focus, .cta-primary:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Links */
a {
  color: var(--color-primary);
  transition: color 0.19s;
}
a:hover, a:focus {
  color: var(--color-secondary);
}

/* Lists */
ul, ol {
  padding-left: 20px;
  margin-bottom: 14px;
}
ul li, ol li {
  margin-bottom: 6px;
  color: var(--color-primary);
}

/* =================
   FOOTER
   ================= */
footer {
  background: var(--color-bg);
  border-top: 2px solid var(--color-accent);
  padding: 32px 0 10px 0;
  margin-top: 48px;
  box-shadow: 0 1px 10px var(--color-shadow);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-nav a {
  font-size: 0.98rem;
  color: var(--color-grey-dark);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}
.footer-nav a:hover {
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-secondary);
}
.footer-contact {
  font-size: 0.98rem;
  color: var(--color-grey-dark);
  max-width: 340px;
}
.footer-contact a { color: var(--color-primary); word-break: break-all; }
@media (max-width: 1000px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-nav {
    gap: 12px;
  }
  .footer-contact { max-width: 100%; }
}

/* =====================
   COOKIE CONSENT BANNER
   ===================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: var(--color-white);
  box-shadow: 0 -2px 14px var(--color-shadow);
  border-top: 3px solid var(--color-secondary);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  gap: 28px;
  animation: fadeInUp 0.6s cubic-bezier(0.38,0,0.08,1);
}
.cookie-banner__text {
  flex: 1 1 auto;
  font-size: 1rem;
  color: var(--color-primary);
}
.cookie-banner__actions {
  display: flex;
  gap: 18px;
}
.cookie-banner button,
.cookie-banner .banner-btn {
  border: none;
  border-radius: 18px;
  padding: 9px 20px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.18s, color 0.18s, transform 0.10s;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-1px) scale(1.025);
}
.cookie-banner__actions .banner-btn-secondary {
  background: var(--color-grey);
  color: var(--color-primary);
}
.cookie-banner__actions .banner-btn-secondary:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 10px;
  }
  .cookie-banner__actions {
    width: 100%;
    justify-content: flex-start;
    gap: 11px;
  }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: none; }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 12000;
  left: 0; top: 0; right: 0; bottom:0;
  background: rgba(35,46,57,0.15);
  animation: fadeIn 0.27s linear;
}
@keyframes fadeIn {
  from {opacity:0;} to {opacity:1;}
}
.cookie-modal {
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(35,46,57,0.13);
  padding: 36px 32px 32px 32px;
  min-width: 320px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: modalUp 0.36s cubic-bezier(0.22,1,0.36,1);
}
@keyframes modalUp {
  from { opacity:0; transform: translateY(40px); }
  to { opacity:1; transform: none; }
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--color-primary);
  align-self: flex-end;
  margin-top: -24px;
  margin-bottom: 3px;
  cursor: pointer;
  transition: color 0.19s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: var(--color-secondary);
}
.cookie-settings-title {
  font-family: 'Merriweather', serif;
  font-size: 1.18rem;
  margin-bottom: 2px;
  color: var(--color-primary);
  font-weight: bold;
}
.cookie-settings-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 1rem;
  padding: 4px 0;
}
.cookie-setting-row .cookie-toggle {
  margin-left: 8px;
}
.cookie-toggle {
  appearance: none;
  width: 34px;
  height: 20px;
  background: var(--color-grey);
  border-radius: 20px;
  position: relative;
  outline: none;
  transition: background 0.21s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--color-secondary);
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 1px 2px var(--color-shadow);
  transition: transform 0.21s;
}
.cookie-toggle:checked:before {
  transform: translateX(14px);
}
.cookie-setting-always {
  font-size: 0.98rem;
  color: var(--color-grey-dark);
  padding-left: 11px;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}
.cookie-modal-actions button {
  padding: 8px 20px;
  border-radius: 15px;
  background: var(--color-secondary);
  border: none;
  color: var(--color-primary);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 1px 6px var(--color-shadow);
}
.cookie-modal-actions button:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
@media (max-width: 480px) {
  .cookie-modal {
    max-width: 96vw;
    padding: 22px 6vw 18px 6vw;
  }
}

/* =================
   MAP PLACEHOLDER
   ================= */
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--color-accent);
  border-radius: 12px;
  padding: 11px 19px 11px 12px;
  margin-top: 12px;
  margin-bottom: 18px;
  box-shadow: 0 1px 8px var(--color-shadow);
}

/* =================
   RESPONSIVE DESIGN
   ================= */
@media (max-width: 1240px) {
  .container { max-width: 95vw; }
}
@media (max-width: 850px) {
  .feature-grid > div { min-width: 150px; }
}
@media (max-width: 640px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.12rem; }
}

/* ==============
   UTILITY CLASSES
   =============== */
.text-section { margin-bottom: 10px; }
.mt-16 { margin-top: 16px; }
.mb-24 { margin-bottom: 24px; }
.mt-32 { margin-top: 32px; }

/* Accessibility focus outlines */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Hide visually but keep accessible */
.sr-only {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ===================
   SCROLLBAR STYLING
   =================== */
body::-webkit-scrollbar { width: 9px; background: var(--color-grey); }
body::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 7px;
}

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