/* --- 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, font, 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 {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
html {scroll-behavior: smooth;}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #23272B;
  background: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}
*::selection {
  background: #23272B;
  color: #fff;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; display: block; }
ul, ol { padding-left: 20px; }
b, strong { font-weight: 600; }
hr { border: none; border-top: 1px solid #ececec; margin: 32px 0; }

/* --- TYPOGRAPHY SCALE: Sophisticated Monochrome with Elegant Fonts --- */
h1, .h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  color: #111;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}
@media (min-width: 600px) {
  h1, .h1 { font-size: 3rem; }
}
h2, .h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  color: #23272B;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.18;
}
h3, .h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.375rem;
  color: #23272B;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.22;
}
h4, .h4 {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.125rem;
  color: #23272B;
  font-weight: 600;
  margin-bottom: 10px;
}
p, li {
  font-size: 1rem;
  color: #23272B;
  margin-bottom: 8px;
}
.subtitle {
  color: #555;
  font-size: 1.125rem;
  letter-spacing: 0.01em;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  margin-bottom: 24px;
}
blockquote {
  font-size: 1.125rem;
  font-family: 'Playfair Display', Georgia, serif;
  color: #23272B;
  border-left: 3px solid #23272B;
  padding-left: 16px;
  margin-bottom: 1em;
  font-style: italic;
  background: #f8f8f9;
}

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

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 0px;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(34,34,34,0.03),0 1.5px 6px 0 rgba(47,47,61,0.01);
}

/* --- NAVIGATION & HEADER --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
  z-index: 100;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
header a img {
  height: 38px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #23272B;
  padding: 6px 3px;
  border-radius: 3px;
  font-weight: 400;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #B59F6F;
  background: #ececec;
}

.btn-primary {
  background: #23272B;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 1.1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.20s, color 0.18s, box-shadow 0.22s;
  box-shadow: 0 2px 10px 0 rgba(34,34,34,0.08);
  margin-left: 12px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #B59F6F;
  color: #23272B;
  box-shadow: 0 5px 22px 0 rgba(34,34,34,0.10);
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #23272B;
  cursor: pointer;
  margin-left: 18px;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 39, 43, 0.98);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.65,.05,.36,1);
  box-shadow: 0 8px 40px rgba(39,41,44,0.13);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 1.8rem;
  color: #fff;
  background: none;
  border: none;
  align-self: flex-end;
  margin: 28px 24px 0 0;
  cursor: pointer;
  z-index: 1220;
} 
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  margin-top: 56px;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  padding: 8px 0;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 6px;
  transition: color 0.14s, background 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #B59F6F;
  background: #23272B;
}
/* --- RESPONSIVE NAVIGATION --- */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* --- CARDS, GRID, FLEX-LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2.5px 14px rgba(0,0,0,0.07);
  margin-bottom: 20px;
  padding: 28px;
  min-width: 220px;
  max-width: 380px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px rgba(34,34,34,0.16);
  z-index: 2;
}

.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;
}
.feature-grid {
  display: flex;
  flex-direction: row;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 24px;
  }
}
.feature-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fafbfc;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(34,34,34,0.02);
  padding: 22px 18px 16px 18px;
  min-width: 180px;
  flex: 1 1 210px;
  transition: box-shadow 0.18s, background 0.19s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 36px rgba(34,34,34,0.09);
  background: #F6F6F6;
}
.feature-grid img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-bottom: 7px;
}

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

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F6F6F6;
  border-radius: 14px;
  box-shadow: 0 2.5px 12px rgba(34,34,34,0.07);
  margin-bottom: 24px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 9px 45px rgba(34,34,34,0.12);
}
.testimonial-card blockquote {
  background: none;
  border-left: 3.5px solid #B59F6F;
  color: #23272B;
  font-size: 1.1rem;
  margin-bottom: 0;
}
.testimonial-card p {
  font-size: 1rem;
  color: #23272B;
  margin-bottom: 0;
}

/* --- LISTS, UL & OL --- */
ul, ol {
  margin-bottom: 16px;
  font-size: 1rem;
}
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 0.3em;
}
ul li strong, ol li strong {
  color: #23272B;
}

/* --- FORMS (Generic) --- */
input, textarea, select {
  font: inherit;
  border: 1px solid #b8b8b8;
  padding: 11px 14px;
  border-radius: 6px;
  background: #fff;
  color: #23272B;
  width: 100%;
  margin-bottom: 16px;
  transition: border 0.18s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #B59F6F;
  outline: none;
  box-shadow: 0 2px 9px rgba(34,34,34,0.07);
}
label {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #2a2d32;
  display: block;
}

/* --- FOOTER --- */
footer {
  background: #23272B;
  color: #fff;
  padding: 42px 0 32px 0;
  width: 100%;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  opacity: 0.95;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.19s, background 0.13s;
  font-weight: 400;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #B59F6F;
  background: #2a2d32;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 400;
  font-size: 1rem;
  opacity: 0.88;
}
.footer-brand img {
  width: 38px;
  height: 38px;
  filter: grayscale(1) brightness(1.08);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: #fff;
  color: #23272B;
  box-shadow: 0 -2px 24px rgba(34,34,34,0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 30px;
  font-size: 1rem;
  border-radius: 22px 22px 0 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.34s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 7px;
  padding: 10px 22px;
  border: none;
  background: #23272B;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.17s, color 0.15s, box-shadow 0.16s;
  box-shadow: 0 1.5px 7px rgba(34,34,34,0.08);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #B59F6F;
  color: #23272B;
}
.cookie-banner .secondary {
  background: #F6F6F6;
  color: #23272B;
  border: 1.5px solid #23272B;
  transition: background 0.19s, color 0.18s, border 0.21s;
}
.cookie-banner .secondary:hover, .cookie-banner .secondary:focus {
  background: #23272B;
  color: #fff;
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  display: flex;
  position: fixed;
  z-index: 3100;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
  background: rgba(34, 39, 43, 0.66);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s ease;
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(34,34,34,0.13);
  min-width: 320px;
  max-width: 96vw;
  padding: 34px 30px 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.55rem;
  color: #23272B;
  margin-bottom: 10px;
  font-family: 'Playfair Display',serif;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin-bottom: 8px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #B59F6F;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.cookie-category label {
  font-size: 1rem;
  color: #23272B;
  font-weight: 500;
  margin-bottom: 0;
  cursor: pointer;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 15px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #23272B;
  cursor: pointer;
  z-index: 1;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #B59F6F;
}
/* --- Hide modal on mobile if in overlay --- */
@media (max-width: 550px) {
  .cookie-modal {
    min-width: 0;
    padding: 20px 10px 16px 10px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 9px;
  }
}

/* --- SPACING & LAYOUT ADJUSTMENTS --- */
section {
  margin-bottom: 60px;
  padding: 40px 0px;
}
@media (max-width: 600px) {
  section {
    margin-bottom: 36px;
    padding: 20px 0;
  }
}
main {
  min-height: 60vh;
  background: #fff;
}

/* --- RESPONSIVE: MOBILE-FIRST FLEX ADJUSTMENTS --- */
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
  }
  .footer-brand {
    margin-top: 18px;
    justify-content: flex-start;
  }
  .section { padding: 20px 3px; }
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* --- MICRO-INTERACTIONS: FOCUS, HOVER, TRANSITIONS --- */
a, button, input, textarea, select {
  outline: none;
  transition: box-shadow 0.18s, color 0.15s, background 0.15s, border 0.12s;
}
a:focus-visible, .btn-primary:focus-visible {
  outline: 2px solid #B59F6F;
  outline-offset: 2px;
}

/* --- ELEGANT MONOCHROME SHADOWS & EFFECTS --- */
.card, .testimonial-card, .feature-grid > div {
  transition: box-shadow 0.19s;
}
.card:focus-within, .feature-grid > div:focus-within {
  z-index: 4;
  box-shadow: 0 13px 40px 0 rgba(34,34,34,0.17);
}

/* --- IMPROVE VISUAL HIERARCHY --- */
h1, h2, h3 {
  letter-spacing: 0.02em;
}
h1 {
  margin-bottom: 20px;
}
h2 {
  margin-bottom: 18px;
}

/* --- ACCENT COLOR FOR LINKS --- */
a[href^="mailto"] {
  color: #B59F6F;
  transition: color 0.18s;
}
a[href^="mailto"]:hover, a[href^="mailto"]:focus {
  text-decoration: underline;
  color: #23272B;
}

/* --- ACCENT RULE FOR EMPHASIS --- */
em {
  color: #B59F6F;
  font-style: normal;
}

/* --- Accessibility: High Contrast for Testimonials --- */
.testimonial-card, .testimonial-card p, .testimonial-card blockquote {
  background: #F6F6F6;
  color: #23272B;
}

/* --- Utility: Hide visually but keep accessible --- */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* --- Utility: z-index fix for mobile nav and overlay --- */
.mobile-menu { z-index: 1200; }
.cookie-modal-overlay { z-index: 3100; }

/* --- Print Optimization --- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { color: #000; background: #fff; }
  h1, h2, h3, h4, p, ul, ol, li { color: #000 !important; }
}
