/* RESET & BASE STYLES */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(135deg, #f5f5f5 0%, #e2e2e2 100%);
  color: #14212B;
  min-height: 100vh;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}
li {
  margin-bottom: 8px;
}
a {
  color: #14212B;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #A89F91;
}
address {
  font-style: normal;
  color: #14212B;
  margin-bottom: 16px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #14212B;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 14px;
}
.subtitle {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #A89F91;
  font-size: 1.25rem;
  margin-bottom: 24px;
  font-weight: 500;
}
p {
  margin-bottom: 16px;
  color: #14212B;
  font-size: 1rem;
  line-height: 1.7;
}
strong {
  font-weight: 600;
}

/* CONTAINERS & SECTION SPACING */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(118deg,#f5f5f5 40%, #e2e2e2 100%);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(20,33,43,.04);
}

/* FLEXBOX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(20,33,43,0.08);
  padding: 28px 22px;
  flex: 1 1 300px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(20,33,43,0.13);
  transform: translateY(-4px) scale(1.025);
}
.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;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(20,33,43,0.06);
  margin-bottom: 24px;
  font-size: 1.125rem;
  color: #262626;
}
.testimonial-card p {
  color: #14212B;
  font-style: italic;
  margin-bottom: 4px;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #A89F91;
  font-size: 1rem;
  font-style: normal;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO & WRAPPER CONTENT */
.content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  min-height: 260px;
}

/* FEATURE GRID (used for services & icons) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 20px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(20,33,43,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 18px;
  flex: 1 1 250px;
  min-width: 240px;
  max-width: 330px;
  transition: box-shadow 0.24s, transform 0.24s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 24px rgba(168,159,145,0.07), 0 2px 10px rgba(20,33,43,0.12);
  transform: translateY(-3px);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
}

/* CTA BUTTONS */
.cta-primary {
  display: inline-block;
  background: linear-gradient(90deg,#14212B 60%, #A89F91 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.16rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  margin-top: 12px;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(20,33,43,0.06);
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(100deg, #A89F91 0%, #14212B 100%);
  box-shadow: 0 6px 22px rgba(20,33,43,0.13);
  transform: translateY(-2px) scale(1.025);
  outline: none;
}

/* TEXT SECTION */
.text-section {
  margin-bottom: 20px;
}
.text-section h2 {
  margin-top: 0;
}
.text-section ul {
  margin-top: 10px;
}
.text-section ul li::before {
  content: '\2022';
  color: #A89F91;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  font-size: 1.1em;
  vertical-align: middle;
}

/* HEADER & MAIN NAVIGATION */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  background: linear-gradient(90deg,#fff 84%, #f5f5f5 100%);
  box-shadow: 0 2px 10px rgba(20,33,43,0.03);
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 16px 20px;
  max-width: 1180px;
  margin: 0 auto;
}
header nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 18px;
}
header nav ul li {
  margin-bottom: 0;
}
header nav ul li:last-child {
  margin-left: 20px;
}
header nav ul li .cta-primary {
  margin-top: 0;
  padding: 10px 24px;
  font-size: 1rem;
}

/* Hide burger on desktop, shown on mobile */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  font-size: 2rem;
  color: #14212B;
  cursor: pointer;
  z-index: 201;
  transition: color 0.2s, transform 0.2s;
  border-radius: 8px;
  padding: 8px 15px 6px 15px;
  box-shadow: 0 2px 10px rgba(20,33,43,0.03);
}
.mobile-menu-toggle:focus {
  color: #A89F91;
  outline: 2px solid #A89F91;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,33,43,0.84);
  box-shadow: 0 8px 40px rgba(20,33,43,.23);
  z-index: 250;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.77,.03,.41,.91);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #fff;
  color: #14212B;
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  margin: 22px 26px 2px 0;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 252;
  box-shadow: 0 2px 14px rgba(20,33,43,0.12);
}
.mobile-menu-close:focus {
  background: #A89F91;
  color: #fff;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 90%;
  max-width: 340px;
  margin: 40px 36px 0 0;
  gap: 18px;
}
.mobile-nav a {
  display: block;
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 13px 10px 13px 6px;
  width: 100%;
  border-radius: 5px;
  margin-bottom: 2px;
  transition: background 0.22s, color 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A89F91;
  color: #fff;
}

/* FOOTER */
footer {
  background: linear-gradient(90deg,#14212B 84%, #A89F91 100%);
  color: #fff;
  padding: 38px 16px 22px 16px;
  margin-top: 60px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  transition: color 0.25s;
}
footer nav a:hover,footer nav a:focus {
  color: #A89F91;
}
.footer-branding {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1rem;
}
.footer-branding img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin-right: 6px;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 3000;
  background: linear-gradient(90deg,#fff 0%, #f5f5f5 100%);
  color: #14212B;
  box-shadow: 0 -4px 24px rgba(20,33,43,0.08);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding: 22px 6px 22px 6px;
  gap: 20px;
  font-size: 1.02rem;
  transition: transform 0.35s, opacity 0.3s;
}
.cookie-banner.banner--hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-left: 10px;
}
.cookie-banner button,
.cookie-banner .cookie-settings-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 7px;
  padding: 10px 22px;
  margin-right: 2px;
  cursor: pointer;
  transition: background 0.22s, color 0.19s, box-shadow 0.19s;
  background: #A89F91;
  color: #fff;
  box-shadow: 0 2px 8px rgba(20,33,43,0.10);
}
.cookie-banner button:hover,
.cookie-banner button:focus,
.cookie-banner .cookie-settings-btn:hover {
  background: #14212B;
  color: #fff;
  box-shadow: 0 5px 20px rgba(20,33,43,0.13);
}
.cookie-banner button:last-child {
  margin-right: 0;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3100;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20,33,43, 0.73);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(20,33,43,0.19);
  padding: 36px 30px 30px 30px;
  min-width: 330px;
  max-width: 97vw;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: cookieModalOpen .32s cubic-bezier(.35,1.4,.75,1.01);
}
@keyframes cookieModalOpen {
  from { transform: translateY(60px) scale(0.9); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 13px;
}
.cookie-modal .cookie-category label {
  font-size: 1.07rem;
  color: #14212B;
  font-weight: 500;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #A89F91;
  width: 20px;
  height: 20px;
}
.cookie-modal .category-description {
  color: #6d6e72;
  font-size: 0.97rem;
  margin-bottom: 8px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 13px;
}
.cookie-modal .modal-actions button {
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.22s;
}
.cookie-modal .accept-all {
  background: #A89F91;
  color: #fff;
}
.cookie-modal .accept-all:hover,
.cookie-modal .accept-all:focus {
  background: #14212B;
  color: #fff;
}
.cookie-modal .reject-all {
  background: #fff;
  color: #14212B;
  border: 1.2px solid #A89F91;
}
.cookie-modal .reject-all:hover,
.cookie-modal .reject-all:focus {
  background: #A89F91;
  color: #fff;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 11px;
  right: 13px;
  background: transparent;
  color: #A89F91;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 3201;
}
.cookie-modal .modal-close:hover { color: #14212B; }

/* RESPONSIVE DESIGN */
@media (max-width: 1140px) {
  .container {
    max-width: 98vw;
  }
  header nav,
  .footer-branding {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .feature-grid,
  .content-grid,
  .card-container {
    flex-wrap: wrap;
    gap: 16px;
  }
  .feature-grid > div {
    min-width: 180px;
    max-width: 100%;
    flex: 1 1 160px;
  }
  .card {
    flex: 1 1 240px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 30px 6px;
    margin-bottom: 36px;
    border-radius: 12px;
  }
  .container {
    padding: 0 6px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  .footer-branding {
    flex-direction: column;
    gap: 6px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid > div {
    min-width: 100%;
    max-width: 100%;
  }
  .content-wrapper, .text-section {
    align-items: flex-start;
    gap: 12px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header nav ul {
    display: none;
  }
}
@media (max-width: 580px) {
  h1 { font-size: 1.36rem; }
  .cookie-modal { min-width: 95vw; padding: 20px 8px; }
  .content-wrapper, .text-section {
    gap: 6px;
  }
  .cta-primary {
    font-size: 1rem;
    padding: 10px 14px;
    min-width: 160px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* MICRO-INTERACTIONS */
.card, .feature-grid > div, .testimonial-card, .cta-primary, .cookie-banner button, .cookie-settings-btn {
  transition: box-shadow 0.24s, background 0.23s, transform 0.20s, color 0.16s;
}

/* VISUAL ACCENTS */
hr {
  border: 0;
  border-top: 1px solid #e2e2e4;
  margin: 36px 0 24px 0;
}

/* SCROLLBAR MODERNIZATION */
::-webkit-scrollbar {
  width: 10px;
  background: #f5f5f5;
}
::-webkit-scrollbar-thumb {
  background: #A89F91;
  border-radius: 6px;
}

/* ACCESSIBILITY (FOCUS STYLES) */
a:focus, button:focus,
.cookie-banner button:focus,
.cookie-settings-btn:focus {
  outline: 2px dashed #A89F91;
  outline-offset: 2px;
}

/* Hide mobile menu overlay when not open */
.mobile-menu {
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
}

/* Print styles for clarity */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
}
