/* 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, 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #1A2330;
  background-color: #fff;
  line-height: 1.62;
  font-size: 1rem;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1A2330;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style-position: inside;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  margin: 0;
  padding: 0;
}
button {
  cursor: pointer;
}

/* BRAND TYPOGRAPHY */
h1, .h1 {
  font-family: 'Merriweather', serif;
  color: #1A2330;
  font-size: 2.75rem;
  line-height: 1.13;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
h2, .h2 {
  font-family: 'Merriweather', serif;
  color: #1A2330;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: 'Merriweather', serif;
  color: #1A2330;
  font-size: 1.35rem;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: 'Merriweather', serif;
  color: #1A2330;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
p, ul, ol {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #293044;
  margin-bottom: 14px;
}
strong, b {
  font-weight: 700;
}
small {
  font-size: 0.785rem;
  color: #5e6370;
}

/* LAYOUT CONTAINERS & SECTION SPACING */
.container {
  width: 100%;
  max-width: 1220px;
  padding: 0 20px;
  margin: 0 auto;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
}
.text-section, .contact-details, .address-map {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-container, .card-grid, .feature-grid, .service-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card, .feature, .service-card, .testimonial-card {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 3px 18px 0 rgba(26,35,48,0.09);
  border-radius: 14px;
  padding: 24px 24px 20px 24px;
  flex: 1 1 310px;
  min-width: 270px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .feature:hover, .service-card:hover {
  box-shadow: 0 8px 32px 0 rgba(26,35,48,0.13);
  transform: translateY(-4px);
  z-index: 2;
}

/* FLEX UTILITY ALIGNMENT */
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 32px 24px 32px;
  background: #EDEAE1;
  border-left: 5px solid #A69E7C;
  box-shadow: 0 3px 18px 0 rgba(26,35,48,0.10);
  border-radius: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border-color 0.2s;
  max-width: 650px;
}
.testimonial-card:hover {
  border-color: #1A2330;
  box-shadow: 0 8px 32px 0 rgba(26,35,48,0.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO BANNERS */
.hero {
  background: #F7F8FA;
  padding: 60px 0 60px 0;
  position: relative;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 650px;
}
.hero h1, .hero h2, .hero h3 {
  color: #1A2330;
}

/* NAVIGATION HEADER */
header {
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  box-shadow: 0 3px 18px 0 rgba(26,35,48,0.05);
  position: sticky;
  top: 0;
  z-index: 30;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 30px;
}
.main-navigation {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-right: 36px;
}
.main-navigation a {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #1A2330;
  font-weight: 600;
  padding: 4px 0 2px;
  transition: color 0.23s, border-color 0.13s;
  border-bottom: 2px solid transparent;
}
.main-navigation a:hover, .main-navigation a:focus {
  color: #A69E7C;
  border-bottom: 2px solid #A69E7C;
}
.cta {
  display: inline-block;
  background: #1A2330;
  color: #fff !important;
  border-radius: 8px;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 10px rgba(26,35,48,0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  border: 2px solid #1A2330;
}
.cta:hover, .cta:focus {
  background: #A69E7C;
  color: #fff !important;
  border-color: #A69E7C;
  box-shadow: 0 6px 18px rgba(26,35,48,0.13);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #1A2330;
  color: #fff;
  border-radius: 6px;
  border: none;
  font-size: 1.7rem;
  padding: 5px 18px;
  margin-left: 16px;
  transition: background 0.2s, color 0.2s;
  z-index: 50;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #A69E7C;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,35,48,0.94);
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2.1rem;
  position: absolute;
  top: 28px;
  right: 26px;
  z-index: 5;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #A69E7C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 84px 0 0 34px;
  height: 100vh;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.45rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border-color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #A69E7C;
  border-bottom: 1px solid #A69E7C;
}

/* HERO CTA BUTTON ALIGNMENT */
.hero .cta {
  margin-top: 24px;
  font-size: 1.125rem;
}

/* FEATURE CARDS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature {
  background: #fff;
  border-radius: 12px;
  padding: 28px 22px 24px 22px;
  box-shadow: 0 2px 9px rgba(26,35,48,0.07);
  flex: 1 1 290px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, border-color 0.13s;
}
.feature img {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
}
.feature h3 {
  color: #1A2330;
  font-size: 1.25rem;
  margin-bottom: 13px;
}
.feature p {
  color: #293044;
  font-size: 1rem;
  margin-bottom: 0;
}

/* SERVICE CARDS */
.service-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.service-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 9px rgba(26,35,48,0.07);
  flex: 1 1 270px;
  min-width: 210px;
  padding: 24px 20px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
  transition: box-shadow 0.16s, border-color 0.13s;
}
.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.service-card p {
  margin-bottom: 6px;
}

/* BUTTONS & INTERACTIVE ELEMENTS */
button, .button {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  background: #1A2330;
  color: #fff;
  padding: 12px 26px;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
  cursor: pointer;
}
button:hover, .button:hover,
button:focus, .button:focus {
  background: #A69E7C;
  color: #fff;
  box-shadow: 0 6px 18px rgba(26,35,48,0.12);
}

/* FOOTER */
footer {
  background: #1A2330;
  color: #fff;
  width: 100%;
  padding: 38px 0 18px 0;
  box-shadow: 0 -2px 18px rgba(26,35,48,0.05);
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
.footer-navigation {
  display: flex;
  gap: 22px;
}
.footer-navigation a {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.93;
  transition: color 0.16s;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  color: #A69E7C;
}
.social-links {
  display: flex;
  gap: 16px;
}
.social-links img {
  width: 28px;
  height: 28px;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.18s;
}
.social-links img:hover {
  opacity: 1;
}
.legal-info {
  color: #EDEAE1;
  font-size: 0.83rem;
  opacity: 0.75;
  margin-top: 10px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #1A2330;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  z-index: 250;
  box-shadow: 0 -2px 24px 0 rgba(26,35,48,0.16);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s, transform 0.4s;
  font-size: 1rem;
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-banner .cookie-btn {
  background: #A69E7C;
  color: #fff;
  border-radius: 7px;
  padding: 10px 22px;
  border: none;
  margin-left: 0;
  transition: background 0.19s, color 0.19s;
  font-weight: 700;
  font-size: 1rem;
}
.cookie-banner .cookie-btn.cookie-settings {
  background: #fff;
  color: #1A2330;
  border: 1px solid #A69E7C;
  font-weight: 700;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #1A2330;
  color: #fff;
}
.cookie-banner .cookie-btn.cookie-settings:hover, .cookie-banner .cookie-btn.cookie-settings:focus {
  background: #A69E7C;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 260;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,35,48,0.87);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.31s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: #1A2330;
  border-radius: 16px;
  min-width: 340px;
  max-width: 97vw;
  padding: 42px 38px 32px 38px;
  box-shadow: 0 4px 44px 0 rgba(26,35,48,0.21);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInModal 0.42s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: transparent;
  border: none;
  color: #1A2330;
  font-size: 1.7rem;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .cookie-modal-close:focus, .cookie-modal .cookie-modal-close:hover {
  color: #A69E7C;
}
.cookie-modal h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
}
.cookie-category-label {
  flex: 1 1 0px;
  color: #1A2330;
  font-weight: 600;
  font-size: 1rem;
}
.cookie-modal .toggle-switch {
  width: 44px;
  height: 22px;
  border-radius: 44px;
  background: #EDEAE1;
  position: relative;
  margin-right: 8px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-modal .toggle-switch input {
  display: none;
}
.cookie-modal .toggle-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #A69E7C;
  transition: left 0.22s, background 0.13s;
}
.cookie-modal .toggle-switch.checked {
  background: #A69E7C;
}
.cookie-modal .toggle-switch.checked .toggle-slider {
  background: #fff;
  left: 24px;
}
.cookie-category-desc {
  font-size: 0.97rem;
  color: #4c5767;
  margin-left: 6px;
  font-weight: 400;
}
.cookie-modal .cookie-save-btn {
  margin-top: 20px;
  background: #1A2330;
  color: #fff;
  border-radius: 8px;
  font-size: 1rem;
  padding: 10px 22px;
  font-weight: 600;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal .cookie-save-btn:hover, .cookie-modal .cookie-save-btn:focus {
  background: #A69E7C;
  color: #fff;
}

/* GENERAL SECTION LISTS */
ul, ol {
  margin-bottom: 14px;
  padding-left: 22px;
  color: #293044;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

/* SPECIAL CLASSES */
.confirmation-message {
  color: #198dee;
  background: #f2f7ff;
  border-left: 4px solid #A69E7C;
  padding: 18px 32px;
  border-radius: 10px;
  margin: 18px 0 14px 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
}
@media (max-width: 992px) {
  .content-wrapper, .content-grid, .card-container, .card-grid, .feature-grid, .service-card-grid, .footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 820px) {
  .container {
    max-width: 100vw;
    padding: 0 6px;
  }
  header, .footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .main-navigation {
    gap: 16px;
    margin-right: 0;
    margin-bottom: 12px;
  }
  .cta {
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  /* NAVIGATION & HEADER */
  .main-navigation, .cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header {
    padding: 14px 0 14px 0;
  }
  /* FLEXBOX DIRECTION OVERRIDES */
  .content-wrapper, .feature-grid, .service-card-grid, .card-container, .card-grid {
    flex-direction: column !important;
    align-items: stretch;
    gap: 18px;
  }
  .hero .content-wrapper {
    max-width: 100%;
    align-items: flex-start;
  }
  .feature, .service-card, .card {
    min-width: 0;
    width: 100%;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 20px 14px 20px 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .footer .content-wrapper {
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.375rem; }
  h3, .h3 { font-size: 1rem; }
  .hero {
    padding: 38px 0 38px 0;
  }
  .testimonial-card {
    padding: 16px 8px 16px 10px;
    font-size: 0.95rem;
  }
  .cookie-modal {
    padding: 22px 8px 16px 8px;
    min-width: 0;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.98rem;
    padding: 18px 8px;
  }
}

/* PRINT OPTIMIZATIONS */
@media print {
  header, nav, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
}
