/* ================================================== 
   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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: linear-gradient(135deg, #f2f2f2 50%, #e9e7e1 100%);
  color: #283747;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #283747;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
p, ul, ol {
  color: #283747;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 400;
}
strong { font-weight: bold; }
ul, ol { padding-left: 24px; margin-bottom: 18px; }

/* ===============
   LAYOUT SPACING & FLEXBOX STRUCTURE
   =============== */
.container {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container, .card-grid, .feature-grid, .service-list, .content-grid, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card, .service-item, .faq-item {
  background: #fff;
  box-shadow: 0 4px 18px rgba(40, 55, 71, 0.08);
  border-radius: 16px;
  padding: 24px 16px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .service-item:hover, .faq-item:hover {
  box-shadow: 0 8px 24px rgba(40, 55, 71, 0.12);
  transform: translateY(-2px) scale(1.01);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 200px;
  background: #fff;
  border-radius: 14px;
  padding: 24px 14px 18px 14px;
  box-shadow: 0 2px 10px rgba(40,55,71,0.08);
  transition: box-shadow 0.18s;
}
.feature-item img {
  max-width: 36px;
  margin-bottom: 12px;
}
.feature-item:hover {
  box-shadow: 0 6px 25px rgba(40,55,71,0.17);
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f8f6f2;
  color: #253148;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(40, 55, 71, 0.07);
  font-size: 1.05rem;
}
.testimonial-card p {
  color: #253148;
}
.usp-list {
  list-style: disc inside;
  padding-left: 22px;
  margin-bottom: 16px;
  color: #283747;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-list {
  width: 100%;
  flex-direction: column;
}
.faq-item h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.map-snippet {
  margin-top: 8px;
  font-size: 0.98rem;
  color: #888;
  padding: 10px 0;
}

/* Card Content Helper */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===============
   BUTTONS & LINKS 
   =============== */
.cta-button, .service-item a, .feature-item a, .cookie-btn, .mobile-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.08rem;
  padding: 12px 32px;
  border-radius: 40px;
  border: none;
  background: linear-gradient(90deg, #283747 50%, #BFA87A 100%);
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(40,55,71,0.09);
  transition: background 0.18s, box-shadow 0.18s, transform 0.17s;
  margin-top: 12px;
  cursor: pointer;
  min-width: 120px;
}
.cta-button:hover, .cta-button:focus, .cookie-btn:hover, .cookie-btn:focus, .mobile-nav a:hover {
  background: linear-gradient(90deg, #BFA87A 20%, #283747 99%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(40,55,71,0.16);
  outline: none;
  text-decoration: none;
  transform: translateY(-2px) scale(1.03);
}
nav a {
  color: #283747;
  font-weight: 500;
  margin-right: 24px;
  text-decoration: none;
  font-size: 1.04rem;
  border-radius: 24px;
  padding: 8px 16px;
  transition: background 0.13s, color 0.13s;
  display: inline-flex;
}
nav a:last-child { margin-right: 0; }
nav a:hover, nav a:focus {
  background: #eeeae0;
  color: #BFA87A;
  outline: none;
}
a {
  transition: color 0.13s;
  color: #283747;
  text-decoration: underline;
}
a:hover {
  color: #BFA87A;
  text-decoration: none;
}

/* ===============
   HEADER & NAVIGATION (DESKTOP)
   =============== */
header {
  width: 100%;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  box-shadow: 0 2px 8px rgba(40, 55, 71, 0.07);
  z-index: 50;
  min-height: 64px;
  position: relative;
}
header nav {
  display: flex;
  align-items: center;
  gap: 0;
}
header nav img {
  max-height: 44px;
  width: auto;
  margin-right: 36px;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #283747;
  font-size: 2.1rem;
  border: none;
  cursor: pointer;
  margin-left: 18px;
  transition: color 0.13s;
  z-index: 200;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #BFA87A;
}

/* ===============
   MOBILE MENU & OVERLAY
   =============== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #283747;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.42, 0.11, 0.22, 1.0);
  box-shadow: 0 0 0 0 rgba(0,0,0,0.07);
}
.mobile-menu.open {
  transform: translateX(0%);
  box-shadow: -4px 0 32px rgba(40,55,71,0.22);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 18px 22px 10px 0;
  cursor: pointer;
  transition: color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #BFA87A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  padding-left: 28px;
  padding-top: 16px;
  gap: 10px;
}
.mobile-nav a {
  color: #fff;
  background: none;
  padding: 14px 6px;
  font-size: 1.16rem;
  font-weight: 500;
  min-width: 180px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.13s, color 0.13s;
  margin: 2px 0;
}
.mobile-nav a:hover {
  background: #BFA87A;
  color: #283747;
}

/* Hide main desktop navigation on mobile */
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
/* Show desktop nav above 1024px */
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===============
   FOOTER 
   =============== */
footer {
  background: #283747;
  color: #fff;
  width: 100%;
  padding: 45px 0 16px 0;
  font-size: 1rem;
  margin-top: 30px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}
footer nav a {
  color: #fff;
  background: transparent;
  font-size: 1rem;
  font-weight: 400;
  border: none;
  margin: 0;
}
footer nav a:hover, footer nav a:focus {
  color: #BFA87A;
  background: transparent;
  text-decoration: underline;
}
footer p {
  color: #fff;
  margin-bottom: 0;
}

/* ===============
   COOKIE CONSENT BANNER
   =============== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #283747;
  color: #fff;
  z-index: 3100;
  box-shadow: 0 -2px 16px rgba(40,55,71,0.17);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 18px 16px 18px 20px;
  font-size: 1rem;
  animation: slideBannerUp 0.4s cubic-bezier(.33,1.23,.43,1.17);
}
@keyframes slideBannerUp {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn {
  margin-left: 12px;
}
.cookie-banner .cookie-btn {
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 32px;
  border: none;
  background: linear-gradient(90deg, #BFA87A 20%, #283747 99%);
  color: #fff;
  box-shadow: 0 1px 8px rgba(40,55,71,0.07);
  margin-right: 7px;
  margin-top: 0;
  transition: background 0.13s, box-shadow 0.13s, transform 0.14s;
  cursor: pointer;
}
.cookie-banner .cookie-btn.secondary {
  background: #fff;
  color: #283747;
  border: 1.5px solid #BFA87A;
}
.cookie-banner .cookie-btn.secondary:hover, .cookie-banner .cookie-btn.secondary:focus {
  background: #BFA87A;
  color: #fff;
  border-color: #BFA87A;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 4000;
  background: #fff;
  color: #283747;
  min-width: 90vw;
  max-width: 390px;
  width: 100%;
  max-height: 95vh;
  border-radius: 18px;
  box-shadow: 0 10px 64px rgba(40,55,71,0.27), 0 2px 8px rgba(40,55,71,0.13);
  transform: translate(-50%,-55%) scale(1);
  padding: 34px 25px 20px 25px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  animation: fadeInModal 0.35s;
  transition: box-shadow 0.13s;
}
@keyframes fadeInModal {
  0% { opacity: 0; transform: translate(-50%,-62%) scale(0.93); }
  100% { opacity: 1; transform: translate(-50%,-55%) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.cookie-modal .cookie-modal-section {
  margin-bottom: 18px;
}
.cookie-modal label {
  font-size: 1rem;
  margin-left: 8px;
  cursor: pointer;
}
.cookie-modal .cookie-modal-btns {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}
.cookie-modal .cookie-btn {
  width: 100%;
}
.cookie-modal .modal-close-btn {
  position: absolute;
  right: 14px;
  top: 10px;
  font-size: 1.75rem;
  background: none;
  border: none;
  color: #283747;
  cursor: pointer;
  z-index: 10;
  transition: color 0.13s;
}
.cookie-modal .modal-close-btn:hover {
  color: #BFA87A;
}

/* ===============
   RESPONSIVE DESIGN
   =============== */
@media (max-width: 1024px) {
  .container {
    max-width: 970px;
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 720px;
  }
}
@media (max-width: 768px) {
  header {
    min-height: 56px;
    padding: 0 6px;
  }
  header nav img {
    max-height: 38px;
    margin-right: 18px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 40px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .card-container, .card-grid, .feature-grid, .service-list, .faq-list, .content-grid {
    gap: 18px;
  }
  .feature-item, .card, .service-item {
    min-width: 150px;
    padding: 16px 10px;
  }
  .testimonial-card { padding: 14px; font-size: 1rem; }
  .usp-list, ul, ol { font-size: .96rem; }
  .faq-item { padding: 14px 10px; }
}
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.1rem; }
  .container {
    padding: 0 4px;
    max-width: 99vw;
  }
  .section {
    padding: 14px 2px;
    margin-bottom: 20px;
  }
  .testimonial-card { padding: 9px 5px; font-size: .986rem; }
}
/* Responsive flex directions */
@media (max-width: 768px) {
  .text-image-section,
  .content-grid,
  .feature-grid,
  .card-container, .service-list {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ===============
   TYPOGRAPHY SCALE, QUOTES, MICRO-INTERACTIONS
   =============== */
.subheadline {
  font-size: 1.24rem;
  color: #5a5e6a;
  margin-bottom: 22px;
  font-weight: 400;
}
q, blockquote {
  font-style: italic;
  color: #253148;
  quotes: '\201C''\201D''\2018''\2019';
}
blockquote:before, q:before {
  content: open-quote;
  color: #BFA87A;
  font-size: 2.5rem;
  vertical-align: sub;
  margin-right: 2px;
}
blockquote:after, q:after {
  content: close-quote;
  color: #BFA87A;
  font-size: 2.3rem;
  vertical-align: sub;
  margin-left: 2px;
}

/* ===============
   MISCELLANEOUS & UTILITIES
   =============== */
img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
hr {
  border: 0;
  border-top: 1.5px solid #ececec;
  margin: 32px 0;
}

::-webkit-input-placeholder { color: #A8A9B4; }
::-moz-placeholder { color: #A8A9B4; }
:-ms-input-placeholder { color: #A8A9B4; }
::placeholder { color: #A8A9B4; }

body {
  overflow-x: hidden;
}

/* Focus styles */
a:focus, button:focus, input:focus, select:focus {
  outline: 2px solid #BFA87A;
  outline-offset: 2px;
}

/* Hide scroll for mobile menu when open */
body.menu-open {
  overflow: hidden;
}

/* ===============
   SPECIAL SECTIONS
   =============== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: #fff;
  border-radius: 14px;
  padding: 22px 16px 18px 16px;
  box-shadow: 0 2px 10px rgba(40,55,71,0.08);
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow 0.18s;
}
.service-item strong {
  color: #BFA87A;
  font-size: 1.07rem;
}
.service-item h3 {
  margin-bottom: 8px;
}
.service-item:hover {
  box-shadow: 0 8px 22px rgba(40,55,71,0.14);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.faq-item {
  min-width: 220px;
}

/* ===============
   Z-INDEX STANDARDS
   =============== */
header, .mobile-menu, .cookie-banner, .cookie-modal { z-index: 1000; }
footer { z-index: 100; }

/* ===============
   ACCESSIBILITY & CONTRAST
   =============== */
.testimonial-card, .testimonial-card p, .testimonial-card strong {
  color: #253148;
  background: #f8f6f2;
}

/* ===============
   PRINT STYLES (optional, very basic)
   =============== */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal, footer {
    display: none !important;
  }
  .container, .section { padding: 0 !important; }
}
