/* --- CSS RESET & BASE TYPOGRAPHY --- */
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;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #FFFFFF;
  color: #22403D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #31625E;
  text-decoration: none;
  transition: color 0.16s;
}
a:hover, a:focus {
  color: #B68D4C;
  outline: none;
}

/* --- TYPOGRAPHY SCALE --- */
h1, .h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 30px;
  color: #22403D;
}
h2, .h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 24px;
  color: #22403D;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 14px;
  color: #22403D;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: #22403D;
}
p, ul, ol, li {
  font-size: 1rem;
  line-height: 1.6;
  color: #22403D;
}
.subheadline {
  font-size: 1.15rem;
  color: #31625E;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
}
strong {
  font-weight: 600;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1080px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* --- FLEXBOX STRUCTURES --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(34,64,61,0.08);
  padding: 24px 20px;
  transition: box-shadow 0.2s;
  min-width: 260px;
  flex: 1 1 260px;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 4px 18px rgba(34,64,61,0.13);
}

.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: #F4F1EE;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(34,64,61,0.07);
  margin-bottom: 20px;
  flex-direction: column;
}
.testimonial-card p {
  font-size: 1.08rem;
  font-style: italic;
  color: #22403D;
}
.testimonial-name {
  font-size: 1rem;
  font-weight: 600;
  color: #31625E;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 18px;
  list-style-position: outside;
}
ul.feature-grid {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
ul.feature-grid li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(34,64,61,0.07);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  font-size: 1rem;
  min-width: 200px;
  margin-bottom: 0;
  color: #22403D;
}
ul.feature-icons {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
}
ul.feature-icons li {
  background: #F4F1EE;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #FFFFFF;
  border-bottom: 1px solid #F4F1EE;
  position: sticky;
  top: 0;
  z-index: 150;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 18px 20px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  background: #FFFFFF;
}
.main-nav a {
  padding: 8px 10px;
  border-radius: 5px;
  transition: background 0.16s, color 0.16s;
  color: #31625E;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F4F1EE;
  color: #B68D4C;
}
.main-nav img {
  height: 40px;
  width: auto;
  margin-right: 8px;
}
.cta-btn {
  background: #31625E;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  padding: 10px 22px;
  border-radius: 28px;
  margin-left: 18px;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  box-shadow: 0 2px 10px rgba(22,42,40,0.07);
  text-align: center;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #22403D;
  color: #fff;
  box-shadow: 0 6px 26px rgba(34,64,61,0.11);
  outline: none;
}

/* ----- Mobile Nav Hamburger ----- */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #31625E;
  padding: 8px 12px;
  cursor: pointer;
  display: none;
  z-index: 301;
  margin-left: auto;
  transition: color 0.15s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #B68D4C;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 88vw;
  max-width: 340px;
  background: #FFFFFF;
  z-index: 300;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.4,0,.2,1);
  box-shadow: -2px 0 16px rgba(34,64,61,0.10);
  padding: 32px 28px 18px 28px;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #22403D;
  position: absolute;
  top: 18px;
  right: 18px;
  cursor: pointer;
  z-index: 302;
  border-radius: 26px;
  padding: 4px 7px;
  transition: background 0.13s;
}
.mobile-menu-close:hover {
  background: #F4F1EE;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 40px;
}
.mobile-nav a {
  font-size: 1.1rem;
  color: #31625E;
  padding: 10px 6px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F4F1EE;
  color: #B68D4C;
}

/* --- HERO & CTA STYLES --- */
.hero {
  background: #F4F1EE;
  padding: 60px 0 40px 0;
}
.hero .container,
.cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}
.cta {
  background: #31625E;
  color: #fff;
  text-align: center;
  padding: 50px 0 54px 0;
  margin-bottom: 0;
}
.cta h2, .cta p {
  color: #fff;
}
.cta .cta-btn {
  background: #B68D4C;
  color: #fff;
  margin-top: 18px;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: #31625E;
  color: #fff;
}

/* --- FOOTER --- */
footer {
  background: #F4F1EE;
  border-top: 1px solid #E9E6E1;
  margin-top: 46px;
  padding: 34px 0 18px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #31625E;
  font-size: 0.98rem;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.14s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #E9E6E1;
  color: #B68D4C;
}
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #22403D;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

/* --- CARDS & OTHER COMPONENTS --- */
.map-placeholder {
  background: #F4F1EE;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.98rem;
  color: #31625E;
  margin-top: 12px;
  margin-bottom: 8px;
  box-shadow: 0 1px 6px rgba(34,64,61,0.04);
}
.contact-info-block {
  background: #F4F1EE;
  padding: 20px 18px;
  border-radius: 10px;
  margin-bottom: 22px;
}
.contact-info-block h3 {
  margin-bottom: 8px;
}
.no-form-message {
  margin-top: 14px;
  padding: 14px 16px;
  background: #fffbe5;
  border-radius: 8px;
  color: #A17B2E;
  font-size: 1.01rem;
}

/* --- CONFIRMATION PAGE --- */
.confirmation {
  background: #F4F1EE;
  padding: 54px 0 54px 0;
  border-radius: 0 0 12px 12px;
}
.confirmation .cta-btn {
  margin-top: 24px;
}
.confirmation ul {
  margin-bottom: 22px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 16px rgba(34,64,61,0.10);
  border-top: 1px solid #F4F1EE;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 20px 10px 18px 10px;
  font-size: 0.98rem;
  transition: transform 0.27s cubic-bezier(.4,0,.2,1), opacity 0.27s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}
.cookie-btn {
  background: #F4F1EE;
  color: #22403D;
  font-family: inherit;
  font-size: 1rem;
  border: none;
  border-radius: 22px;
  padding: 8px 22px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-btn.accept {
  background: #31625E;
  color: #fff;
  font-weight: 600;
}
.cookie-btn.accept:hover {
  background: #22403D;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  border: 1px solid #B68D4C;
  color: #B68D4C;
}
.cookie-btn.reject:hover {
  background: #fffbe5;
  color: #9A7132;
}
.cookie-btn.settings {
  color: #31625E;
  background: #F4F1EE;
  border: 1px solid #F4F1EE;
}
.cookie-btn.settings:hover {
  background: #efede7;
  color: #22403D;
}
/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(34,64,61,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(.4,0,.2,1);
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal__content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 32px rgba(34,64,61,0.18);
  padding: 40px 28px 30px 28px;
  min-width: 295px;
  max-width: 92vw;
  max-height: 88vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  right: 22px;
  top: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #A17B2E;
}
.cookie-modal__group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}
.cookie-modal__toggle {
  margin-left: 12px;
  accent-color: #31625E;
}
.cookie-modal__actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

/* --- RESPONSIVE DESIGN (Mobile-First) --- */
@media (max-width: 1024px) {
  .main-nav {
    gap: 10px;
    font-size: 0.97rem;
    padding: 14px 7px;
  }
  .footer-nav {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .hero .container,
  .cta .container {
    min-height: 170px;
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.5rem; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 18px;
    top: 13px;
  }
  header {
    min-height: 59px;
  }
  .hero, .cta, .section {
    padding-left: 0;
    padding-right: 0;
  }
  .section, .hero, .cta {
    padding: 28px 0;
  }
  .testimonial-card, .card, .content-grid, .feature-grid, .feature-icons {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  ul.feature-grid, ul.feature-icons {
    flex-direction: column;
    gap: 18px;
  }
  .footer-info {
    flex-direction: column;
    align-items: center;
    gap: 7px;
  }
}
@media (max-width: 480px) {
  .card, .testimonial-card, .contact-info-block {
    padding-left: 12px;
    padding-right: 12px;
  }
  .cookie-modal__content {
    padding: 18px 8px 18px 8px;
    border-radius: 10px;
  }
}

/* --- MICRO-INTERACTIONS & TRANSITIONS --- */
button, .cta-btn, .cookie-btn {
  transition: box-shadow 0.18s, background 0.16s, color 0.16s;
  outline: none;
}
button:active, .cta-btn:active, .cookie-btn:active {
  opacity: 0.87;
}
input, textarea, select {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #F4F1EE;
  padding: 10px 12px;
  background: #fff;
  color: #22403D;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #31625E;
  outline: none;
}

/* --- UTILITY CLASSES --- */
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.text-center { text-align: center !important; }

/* --- VISIBILITY ANNOUNCEMENT FOR ACCESSIBILITY --- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* -- END CSS -- */
