/* --------------------------------------
   CSS RESET & 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,
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #191919;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
}
ul, ol {
  list-style: none;
}
img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}
button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  padding: 0;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
}
:focus {
  outline: 2px solid #191919;
  outline-offset: 2px;
}

/* --------------------------------------
   VARIABLES: Monochrome Sophisticated Palette
---------------------------------------- */
:root {
  --color-bg-main: #fff;
  --color-bg-alt: #f6f6f6;
  --color-bg-dark: #191919;
  --color-bg-mid: #eaeaea;
  --color-border: #c2c2c2;
  --color-accent: #B58422; /* Accent from brand */
  --color-primary: #191919;
  --color-secondary: #555;
  --color-light: #fff;
  --color-gray-100: #f5f5f5;
  --color-gray-200: #e0e0e0;
  --color-gray-300: #bdbdbd;
  --color-gray-400: #9e9e9e;
  --color-gray-700: #545454;
  --shadow-card: 0 2px 16px rgba(25,25,25,0.09);
  --shadow-elevate: 0 6px 28px -8px rgba(0,0,0,0.14);
  --radius-large: 20px;
  --radius-med: 12px;
  --radius-small: 6px;
  --transition: all 0.25s cubic-bezier(.4,0,.2,1);
}


/* --------------------------------------
   TYPOGRAPHY
---------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  line-height: 1.15;
}
h1 { font-size: 2.3rem; margin-bottom: 20px; }
h2 { font-size: 1.7rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; }
p, li, ul, ol {
  font-size: 16px;
  color: var(--color-secondary);
  line-height: 1.6;
}
b, strong {
  font-weight: 700;
  color: var(--color-primary);
}
a, .link {
  color: var(--color-primary);
  font-weight: 500;
  border-bottom: 1px solid var(--color-gray-300);
  transition: color .18s cubic-bezier(.4,0,.2,1);
}
a:hover, .link:hover {
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
}
.cta-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 32px;
  background: var(--color-primary);
  color: var(--color-light);
  border-radius: var(--radius-large);
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  letter-spacing: 0.02em;
  margin-top: 18px;
  border: none;
  transition: background .22s, color .22s, box-shadow .22s;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 6px 28px -6px rgba(0,0,0,0.22);
}


/* --------------------------------------
   MAIN LAYOUT
---------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-main);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 40px;
    border-radius: var(--radius-med);
  }
}


/* --------------------------------------
   HEADER / NAVIGATION
---------------------------------------- */
header {
  background: var(--color-bg-main);
  border-bottom: 1px solid var(--color-border);
  z-index: 50;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 4px;
  color: var(--color-primary);
  transition: color .18s cubic-bezier(.4,0,.2,1);
  border-radius: var(--radius-small);
  position: relative;
}
nav a:hover, nav a:focus {
  color: var(--color-accent);
  background: var(--color-bg-mid);
}

/* --------------------------------------
   MOBILE HAMBURGER MENU
---------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-bg-dark);
  color: var(--color-light);
  font-size: 2rem;
  border-radius: var(--radius-med);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
  border: none;
  margin-left: 10px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-accent);
  color: var(--color-bg-dark);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25,25,25,0.97);
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 2rem;
  color: var(--color-light);
  background: transparent;
  border: none;
  z-index: 1010;
  padding: 8px;
  border-radius: var(--radius-med);
  transition: background .18s, color .18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-bg-main);
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 80px 32px 0 32px;
  gap: 32px;
}
.mobile-nav a {
  color: var(--color-light);
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 14px 0 14px 0;
  border-bottom: 1px solid #333333;
  border-radius: 0;
  transition: color .16s, background .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  background: #272728;
}
@media (max-width: 1040px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1041px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Prevent scrolling when mobile menu open */
body.mobile-menu-active {
  overflow: hidden;
}


/* --------------------------------------
   MAIN CONTENT LAYOUT FLEX PATTERNS
---------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-main);
  border-radius: var(--radius-med);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 22px;
  min-width: 280px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  min-height: 105px;
  background: var(--color-gray-100);
  border-radius: var(--radius-med);
  box-shadow: 0 1px 4px rgba(25,25,25,0.07);
  margin-bottom: 20px;
  flex-direction: column;
  position: relative;
}
.testimonial-card p {
  color: #191919;
  font-size: 1.1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  margin-bottom: 12px;
}
.testimonial-card span {
  color: var(--color-gray-700);
  font-size: 0.98rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}
@media(min-width:700px){
  .testimonial-card {
    flex-direction: row;
    align-items: flex-start;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-secondary);
  font-size: 1rem;
}

/* Spacing for ".thank-you-next", ".text-section", etc. */
.thank-you-next, .text-section, .map-description {
  margin-bottom: 20px;
}


/* --------------------------------------
   LISTS AND ICON LISTS
---------------------------------------- */
ul, ol {
  margin-bottom: 10px;
  margin-top: 0;
  padding-left: 0;
}
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 32px;
  position: relative;
}
ul li::before, ol li::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  position: absolute;
  left: 11px; top: 9px;
}
ul li strong, ul li b {
  color: var(--color-primary);
}

/* Icon in list (about values) override */
ul li img {
  width: 22px; height: 22px;
  margin-right: 10px;
  margin-left: -30px !important;
  vertical-align: middle;
}


/* --------------------------------------
   FOOTER
---------------------------------------- */
footer {
  background: #191919;
  color: var(--color-light);
  padding: 32px 0 0 0;
}
footer .container {
  flex-direction: column;
  gap: 0;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 20px;
}
.logo-footer img {
  height: 38px;
  width: auto;
  margin-bottom: 8px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #fff;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 0.97rem;
  border-bottom: 1px solid var(--color-border);
  display: inline-block;
  padding: 4px 0;
}
footer nav a:hover {
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
}
footer .footer-contact div {
  color: #e4e4e4;
  font-size: 0.98rem;
}
@media (max-width: 800px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }
}


/* --------------------------------------
   RESPONSIVE: Layouts & Section Spacing
---------------------------------------- */
@media (max-width: 900px) {
  .container {
    max-width: 90vw;
  }
}
@media (max-width: 700px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.23rem; }
  .content-wrapper, .section {
    gap: 16px;
  }
  .card {
    padding: 16px 8px;
  }
}
@media (max-width: 480px) {
  html, body { font-size: 15px; }
  .container { padding: 0 4px; }
  .section {
    padding: 16px 1px;
  }
}
@media (max-width: 700px) {
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card {
    gap: 12px;
    padding: 14px 8px;
  }
}


/* --------------------------------------
   BUTTONS
---------------------------------------- */
button, .button {
  border: none;
  background: var(--color-bg-dark);
  color: var(--color-light);
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-large);
  transition: background .22s, color .22s, box-shadow .18s;
  box-shadow: 0 2px 10px rgba(20,20,20,0.07);
  outline: none;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: var(--shadow-elevate);
}

/* Secondary/outline style (used on cookie) */
.button-outline {
  background: #fff;
  color: var(--color-primary);
  border: 1.2px solid var(--color-gray-300);
  transition: background .18s, color .18s, border-color .18s;
}
.button-outline:hover, .button-outline:focus {
  background: var(--color-bg-dark);
  color: var(--color-light);
  border: 1.2px solid var(--color-accent);
}


/* --------------------------------------
   MICRO-INTERACTIONS & SHADOWS
---------------------------------------- */
.card, .section, .testimonial-card, .cookie-banner, .cookie-modal {
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.16s, background .16s;
}
.card:hover, .section:hover, .testimonial-card:hover {
  box-shadow: var(--shadow-elevate);
}


/* --------------------------------------
   COOKIE CONSENT BANNER & MODAL
---------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1.5px solid var(--color-border);
  box-shadow: 0 -4px 24px rgba(25,25,25,0.12);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 22px 16px;
  z-index: 1070;
  gap: 30px;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.28s cubic-bezier(.4,0,.2,1), opacity 0.2s;
  font-size: 1rem;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner-message {
  max-width: 420px;
  color: #232323;
  font-size: 1.04rem;
  margin-right: 22px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 5px 20px 8px;
  }
  .cookie-banner-message {
    margin-right: 0;
    max-width: none;
  }
  .cookie-banner-actions {
    gap: 8px;
  }
}

.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(19,19,19,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s;
}
.cookie-modal {
  background: #fff;
  color: var(--color-primary);
  border-radius: var(--radius-large);
  padding: 40px 32px 28px 32px;
  min-width: 340px;
  max-width: 95vw;
  box-shadow: 0 4px 32px rgba(20,20,20,0.13);
  z-index: 1110;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  animation: cookie-modal-in 0.33s cubic-bezier(.7,0,.2,1);
}
@keyframes cookie-modal-in {
  0% {transform: translateY(40px) scale(.98); opacity:0;}
  100% {transform: none; opacity:1;}
}
.cookie-modal h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: var(--color-accent);
}
.cookie-modal-close {
  position: absolute;
  top: 15px; right: 15px;
  font-size: 1.8rem;
  background: none;
  color: var(--color-primary);
  border: none;
  border-radius: var(--radius-med);
  cursor: pointer;
  transition: background .16s;
  padding: 4px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-bg-mid);
  color: var(--color-accent);
}
.cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 12px;
}
.cookie-essential {
  color: var(--color-accent);
  font-weight: 600;
  margin-left: 2px;
}
.cookie-modal .cookie-category.disabled input {
  opacity: .50;
}
.cookie-modal .cookie-category.disabled label {
  color: var(--color-gray-400);
}
@media(max-width:500px){
  .cookie-modal {
    padding: 20px 4px 8px 8px;
    min-width: 80vw;
  }
}


/* --------------------------------------
   SCROLLBAR CUSTOMIZATION
---------------------------------------- */
::-webkit-scrollbar {
  width: 9px;
  background: #e0e0e0;
}
::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 6px;
}


/* --------------------------------------
   FORM ELEMENTS
---------------------------------------- */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-primary);
  border-radius: var(--radius-med);
  border: 1.4px solid var(--color-border);
  padding: 10px 14px;
  background: #f9f9f9;
  margin-bottom: 16px;
  transition: border .14s;
}
input:focus, textarea:focus, select:focus {
  border: 1.7px solid var(--color-accent);
}


/* --------------------------------------
   Z-INDEX LAYERS
---------------------------------------- */
header { z-index: 50; }
.mobile-menu { z-index: 1002; }
.cookie-banner { z-index: 1070; }
.cookie-modal-backdrop { z-index: 1100; }


/* --------------------------------------
   UTILITIES
---------------------------------------- */
.text-center { text-align: center !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 2px !important; }
.mt-8 { margin-top: 8px !important; }
.mt-20 { margin-top: 20px !important; }
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.hide { display: none !important; }

/* Prevent content overlap */
.section, .card, .testimonial-card, .feature-item, .content-wrapper > * {
  margin-bottom: 20px;
}


/* --------------------------------------
   PRINT OPTIMIZATION
---------------------------------------- */
@media print {
  header, nav, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  body, .container, .section {
    background: #fff !important;
    color: #111 !important;
    box-shadow: none !important;
  }
}
