/* ---- CSS RESET (Normalize and base) ---- */
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;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background-color: #fff;
  color: #191919;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a { color: inherit; text-decoration: none; transition: color 0.3s; }
a:focus { outline: 2px solid #191919; }

/* ---- ROOT COLORS: Monochrome Sophisticated Palette ---- */
:root {
  --brand-primary: #191919;
  --brand-secondary: #fff;
  --brand-gray: #F7F7F7;
  --mid-gray: #d9d9d9;
  --light-gray: #ECECEC;
  --brand-accent: #444;
  --accent-contrast: #111;
  --real-black: #000;
  --brand-green: #215D3A; /* From brand guidelines, subtle for button hovers */
  --brand-brown: #86411A;
  --brand-orange: #B75B25;
}

/* ---- TYPOGRAPHY ---- */
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: var(--brand-primary);
  background-color: var(--brand-secondary);
  
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--real-black);
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.25;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
p, ul li, ol li {
  font-size: 1rem;
  color: var(--brand-primary);
  margin-bottom: 14px;
  line-height: 1.7;
}
.text-section { font-size: 1.08rem; color: #222; margin-bottom: 1.5em; }
.subheadline {
  font-size: 1.2rem;
  font-weight: 400;
  color: #444;
  margin-bottom: 24px;
}
strong {
  font-weight: bold;
  color: var(--real-black);
}

/* ---- CONTAINER AND SECTION LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
section {
  background: transparent;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
}
@media (max-width: 768px) {
  section {
    padding: 28px 8px;
    margin-bottom: 34px;
  }
  .container { padding: 0 8px; }
}

/* ---- NAVIGATION (Desktop & Mobile burger) ---- */
header {
  background: var(--brand-secondary);
  border-bottom: 1px solid var(--light-gray);
  position: relative;
  z-index: 110;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  padding: 18px 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.main-nav > a img {
  height: 44px;
  width: auto;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.main-nav ul li {
  display: flex;
  align-items: center;
}
.main-nav ul li a {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  color: #222;
  opacity: 0.92;
  padding: 4px 2px;
  transition: color 0.2s, opacity 0.2s;
  border-radius: 6px;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
  color: var(--brand-brown);
  opacity: 1;
  background: var(--brand-gray);
}
.cta-btn {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  color: var(--brand-secondary);
  background: var(--real-black);
  border: none;
  border-radius: 22px;
  padding: 10px 30px;
  margin-left: 16px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(20,20,20,0.07);
  transition: background 0.25s, color 0.25s, transform 0.15s;
  display: inline-block;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--brand-brown);
  color: var(--brand-secondary);
  transform: translateY(-2px) scale(1.04);
}

/* --- Mobile NAV TOGGLE --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--real-black);
  z-index: 130;
  margin-left: 12px;
  line-height: 1;
}
@media (max-width: 1024px) {
  .main-nav ul,
  .main-nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- Mobile MENU MODAL --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 3200;
  background: rgba(20,20,20,0.89);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.67,.2,.34,1.01);
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  margin: 30px 30px 0 0;
  cursor: pointer;
  align-self: flex-end;
  z-index: 9991;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--brand-brown);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 30px 20px 40px;
  align-items: flex-end;
  width: 100vw;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.3rem;
  color: #fff;
  font-weight: 600;
  padding: 8px 0 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  width: 100%;
  max-width: 330px;
  text-align: right;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-brown);
  background: transparent;
}
@media (max-width: 480px) {
  .mobile-nav {
    padding: 36px 12px 12px 14px;
    gap: 18px;
  }
  .mobile-nav a {
    font-size: 1.07rem;
    padding: 8px 0;
  }
  .mobile-menu-close {
    font-size: 2rem;
    margin: 18px 18px 0 0;
  }
}

/* ---- Footer ---- */
footer {
  background: var(--mid-gray);
  border-top: 1px solid var(--light-gray);
  padding-top: 30px;
  padding-bottom: 0;
  color: #1d1d1d;
}
footer section {
  padding: 30px 20px 16px 20px;
  margin-bottom: 0;
  border-radius: 0;
  background: none;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  color: #252525;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  opacity: 1;
  color: var(--brand-brown);
}
.footer-brand {
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 16px;
  color: #383838;
}
.footer-contact {
  margin-top: 0.5em;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
}
@media (max-width: 700px) {
  .footer-nav { gap: 10px; }
  .footer-contact, .footer-brand { font-size: 0.91rem; }
}

/* ---- Section & Card Patterns (Flex) ---- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(24, 24, 24, 0.055);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  max-width: 430px;
  transition: box-shadow 0.25s, transform 0.2s;
  border: 1px solid #ececec;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 30px 0 rgba(24,24,24,.12);
  transform: translateY(-4px) scale(1.013);
}
.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, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .card {
    min-width: 90%;
    padding: 24px 14px;
  }
}

/* ---- Testimonials ---- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--brand-gray);
  border-radius: 13px;
  margin-bottom: 20px;
  box-shadow: 0 2px 7px 0 rgba(40,40,40,.04);
  border: 1px solid #e5e5e5;
  max-width: 640px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 5px 16px rgba(32,32,32,0.12);
}
.testimonial-card p {
  font-size: 1.07rem;
  color: #222;
  margin-bottom: 2px;
}
.testimonial-card strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  color: #191919;
}
@media (max-width: 500px) {
  .testimonial-card { padding: 14px 7px; }
}

/* ---- Features, lists, and service items ---- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}
ul {
  margin-left: 0;
  margin-bottom: 18px;
  padding-left: 0;
}
ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  line-height: 1.6;
  color: #222;
}
ul li:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #111;
  position: absolute;
  left: 4px;
  top: 9px;
  opacity: 0.14;
}

ul li strong {
  color: var(--real-black);
  font-weight: 700;
}

/* ---- Buttons & Interactive Elements ---- */
button, .cta-btn {
  outline: none;
}
button:focus-visible, .cta-btn:focus-visible {
  outline: 2px solid var(--brand-brown);
  outline-offset: 1px;
}

/* Animations for buttons */
button, .cta-btn, .mobile-menu-toggle { transition: background 0.2s, color 0.2s, box-shadow 0.18s, transform 0.14s; }

/* ---- Cookie Consent Banner ---- */
#cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5001;
  background: #181818;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-end;
  box-shadow: 0 -2px 16px rgba(20,20,20,.08);
  padding: 26px 5% 22px 6%;
  font-size: 0.96rem;
  border-top: 2px solid #222;
  animation: fadein-bounce 0.6s;
}
@media (max-width: 700px) {
  #cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    padding: 16px 2% 15px 2%;
    font-size: 0.94rem;
  }
}
@keyframes fadein-bounce {
  0% { transform: translateY(60px); opacity: 0; }
  70% { transform: translateY(-10px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
#cookie-consent-banner p {
  color: #fff;
  margin-bottom: 0;
  margin-right: auto;
  font-size: 1rem;
}
.cookie-btn {
  background: #fff;
  color: #101010;
  border: none;
  border-radius: 18px;
  padding: 9px 19px;
  margin-left: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(40,40,40,.06);
  transition: background 0.23s, color 0.23s, transform 0.14s;
}
.cookie-btn.primary {
  background: #222;
  color: #fff;
}
.cookie-btn.primary:hover, .cookie-btn.primary:focus {
  background: var(--brand-brown);
  color: #fff;
}
.cookie-btn.secondary {
  background: #fff;
  color: #111;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #ECECEC;
  color: #191919;
}

/* Cookie modal overlay */
#cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(15, 15, 15, 0.87);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5555;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
#cookie-modal.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  color: #181818;
  border-radius: 15px;
  max-width: 420px;
  width: 97vw;
  box-shadow: 0 8px 42px rgba(20,20,20,0.13);
  padding: 32px 30px 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modal-appear 0.34s;
}
@keyframes modal-appear {
  from { transform: translateY(58px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-content h3 {
  font-size: 1.25rem;
  color: #101010;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F7F7F7;
  border-radius: 9px;
  padding: 10px 18px;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-category label {
  display: flex;
  align-items: center;
  gap: 9px;
}
.cookie-toggle {
  margin-left: 10px;
  width: 38px;
  height: 22px;
  background: #efefef;
  position: relative;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid #ccc;
  transition: background 0.17s;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle span {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #bbb;
  transition: left 0.19s, background 0.19s;
}
.cookie-toggle input:checked + span {
  left: 19px;
  background: var(--brand-brown);
}
/* Always enabled (essential) visually dim */
.cookie-category.essential .cookie-toggle span {
  background: #848484 !important;
}
.cookie-category.essential .cookie-toggle {
  opacity: 0.64;
  pointer-events: none;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  right: 15px;
  top: 13px;
  font-size: 1.45rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--brand-brown);
}
@media (max-width: 500px) {
  .cookie-modal-content {
    padding: 16px 8px 10px 8px;
    max-width: 99vw;
  }
}

/* ---- Forms (optional) ---- */
input, textarea, select {
  border: 1px solid #dadada;
  border-radius: 7px;
  padding: 9px 15px;
  font-size: 1rem;
  font-family: inherit;
  width: 100%;
  margin-bottom: 14px;
  background: #fff;
  color: #181818;
  transition: border 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-brown);
  outline: none;
}
label { font-weight: 600; margin-bottom: 7px; display: block; font-size: 0.98rem; }

/* ---- Utility ---- */
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 30px !important; }
.text-center { text-align: center !important; }

/* ---- Responsive: container width, font size ---- */
@media (max-width: 1200px) {
  .container { max-width: 970px; }
}
@media (max-width: 900px) {
  .container { max-width: 750px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.05rem; }
  body { font-size: 15px; }
  .container { max-width: 97vw; }
}

/* ---- Microinteractions & Shadows ---- */
.card, .testimonial-card, .cta-btn, .cookie-btn, .mobile-menu, .cookie-modal-content {
  will-change: transform, box-shadow;
}

/* Scrollbar (subtle and monochrome) ---- */
::-webkit-scrollbar {
  width: 8px;
  background: #ececec;
}
::-webkit-scrollbar-thumb {
  background: #b5b5b5;
  border-radius: 8px;
}

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