/* RESET & BASE STYLES */
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;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background: #F3F4F6;
  color: #243E4D;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.64;
  min-height: 100vh;
  font-weight: 400;
}

/* FONT-FACE FOR BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  color: #243E4D;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  font-weight: 700;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

p, li, ul, ol {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #243E4D;
  font-weight: 400;
}
p {
  margin-bottom: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 32px 0 rgba(36,62,77,0.05);
}

/* CONTAINER & FLEX UTILITIES */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.text-section {
  margin-bottom: 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(36,62,77,0.08);
  padding: 30px 24px;
  min-width: 250px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 10px 30px rgba(36,62,77,0.13);
  transform: translateY(-4px) scale(1.01);
  z-index: 1;
}
.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 2px 16px rgba(36,62,77,0.09);
  margin-bottom: 20px;
  border-left: 5px solid #A89476;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(36,62,77,0.14);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* NAVIGATION BAR & HEADER */
header {
  background: #fff;
  box-shadow: 0 4px 20px 0 rgba(36,62,77,0.06);
  position: sticky;
  top: 0;
  z-index: 800;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 0;
  padding-top: 16px;
  padding-bottom: 16px;
}
header img {
  height: 52px;
  width: auto;
  margin-right: 36px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  flex: 1 1 auto;
}
nav a {
  padding: 8px 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #243E4D;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.12s, color 0.15s;
}
nav a:hover, nav a:focus {
  background: #A89476;
  color: #fff;
}

.cta.primary, .cta.secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 10px;
  border: none;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 3px 14px 0 rgba(100,100,100,0.07);
  transition: background .16s, color .18s, transform 0.15s, box-shadow 0.2s;
  margin-left: 24px;
}
.cta.primary {
  background: #243E4D;
  color: #fff;
  letter-spacing: 0.06em;
}
.cta.primary:hover, .cta.primary:focus {
  background: #A89476;
  color: #243E4D;
  transform: translateY(-2px) scale(1.045);
  box-shadow: 0 7px 20px 0 rgba(168,148,118,0.12);
}
.cta.secondary {
  background: #A89476;
  color: #fff;
  letter-spacing: 0.06em;
  margin-left: 0;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #243E4D;
  color: #fff;
  box-shadow: 0 7px 20px 0 rgba(36,62,77,0.11);
  transform: scale(1.03);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: #243E4D;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 7px;
  padding: 6px 16px;
  margin-left: 24px;
  cursor: pointer;
  transition: background 0.14s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #A89476;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  overflow-y: auto;
  top: 0;
  right: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 0 50px rgba(36,62,77,0.18);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(.7,0,.3,1);
  transform: translateX(100vw);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: transparent;
  border: none;
  color: #243E4D;
  padding: 12px 24px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #A89476;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 24px 24px 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
  color: #243E4D;
  text-decoration: none;
  padding: 16px;
  border-radius: 10px;
  transition: background 0.14s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A89476;
  color: #fff;
}

/* HERO HEADER */
.hero {
  background: linear-gradient(95deg,#243E4D 60%,#A89476 120%);
  color: #fff;
  display: flex;
  align-items: center;
  min-height: 300px;
  margin-bottom: 60px;
  padding: 0;
}
.hero .container {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 20px 80px;
}
.hero h1 {
  color: #fff;
}
.hero p {
  color: #F3F4F6;
  margin-bottom: 28px;
  font-size: 1.25rem;
}
.hero .cta.primary {
  margin-left: 0;
  margin-top: 12px;
  background: #A89476;
  color: #fff;
}
.hero .cta.primary:hover,
.hero .cta.primary:focus {
  background: #fff;
  color: #243E4D;
}

/* FEATURES & ICON LISTS */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 32px 0 rgba(36,62,77,0.05);
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 34px;
  margin-top: 14px;
  list-style: none;
  align-items: flex-start;
  justify-content: flex-start;
}
.features ul li {
  flex: 1 1 240px;
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #F3F4F6;
  padding: 22px 18px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(36,62,77,0.04);
  color: #243E4D;
  font-size: 1.09rem;
}
.features ul li img {
  width: 34px;
  min-width: 34px;
  height: 34px;
  object-fit: contain;
}
.features h2, .features h1 {
  color: #243E4D;
  margin-bottom: 8px;
}

/* TESTIMONIALS */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonials .testimonial-card {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: #243E4D;
  quotes: "\201C" "\201D" "\2018" "\2019";
}
.testimonial-meta {
  font-size: 1rem;
  color: #243E4D;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  margin-top: 8px;
}
.testimonial-card .testimonial-meta span {
  display: inline-block;
  margin-right: 12px;
}

/* SERVICE SECTIONS */
.services ul, .services ol {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  margin-bottom: 16px;
}
.services li {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  color: #243E4D;
}

/* CARDS, CONFIRMATION & LEGAL */
.confirmation, .legal, .about, .contact {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 32px 0 rgba(36,62,77,0.05);
}

/* LINKS */
a {
  color: #A89476;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #243E4D;
}

/* BORDERED TABLES/LISTS if used */
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1.5px solid #F3F4F6;
}

/* FOOTER */
footer {
  background: #243E4D;
  color: #fff;
  padding: 44px 0 18px;
  position: relative;
  width: 100%;
  font-size: 1rem;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  gap: 18px;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 10px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  padding: 3px 10px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
footer nav a:hover, footer nav a:focus {
  background: #A89476;
  color: #fff;
}
footer .contact-details {
  color: #fff;
}
footer a {
  color: #A89476;
}
footer a:hover, footer a:focus {
  color: #fff;
}

/* CONTACT PAGE */
.contact strong {
  font-weight: 700;
  color: #A89476;
}
.contact a {
  color: #243E4D;
  text-decoration: underline;
}
.contact a:hover {
  color: #A89476;
}
.contact img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 6px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #243E4D;
  color: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 24px 14px;
  box-shadow: 0 -3px 20px rgba(36,62,77,0.13);
  transition: transform 0.26s cubic-bezier(.7,0,.3,1), opacity 0.2s;
  gap: 32px;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-right: 12px;
  max-width: 500px;
}
.cookie-banner__buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 10px 25px;
  font-weight: 900;
  border-radius: 8px;
  border: none;
  margin: 0;
  cursor: pointer;
  transition: background 0.13s, color 0.18s;
  box-shadow: 0 2px 12px 0 rgba(36,62,77,0.08);
}
.cookie-btn.accept {
  background: #A89476;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #fff;
  color: #243E4D;
}
.cookie-btn.reject {
  background: #fff;
  color: #243E4D;
  border: 1.5px solid #A89476;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #A89476;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: #A89476;
  border: 1.5px solid #A89476;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #A89476;
  color: #fff;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(36,62,77,0.44);
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 14px 50px 0 rgba(36,62,77,0.18);
  padding: 36px 32px;
  min-width: 310px;
  min-height: 220px;
  max-width: 95vw;
  color: #243E4D;
  animation: modalFadeIn 0.32s cubic-bezier(.6,0,.4,1);
}
@keyframes modalFadeIn {
  0% { opacity: 0; transform: scale(0.93); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal .modal-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}
.cookie-modal label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #243E4D;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #A89476;
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-category.essential label {
  opacity: 0.45;
}
.cookie-modal .cookie-footer {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 24px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 124px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px;
  right: 34px;
  font-size: 1.85rem;
  color: #243E4D;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color .18s;
}
.cookie-modal .close-modal:hover {
  color: #A89476;
}

/* MEDIA QUERIES FOR RESPONSIVENESS */
@media (max-width: 1060px) {
  .container {
    max-width: 95vw;
    padding-inline: 10px;
  }
  .features ul {
    gap: 18px 6px;
  }
}

@media (max-width: 900px) {
  nav {
    gap: 14px;
  }
}

@media (max-width: 800px) {
  .section, .features, .confirmation, .legal, .about, .contact, .testimonials {
    padding: 32px 8px;
  }
  .hero .container {
    padding: 37px 10px 55px;
  }
}
@media (max-width: 768px) {
  header .container { flex-direction: row; }
  nav { display: none; }
  .cta.primary, .cta.secondary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
  .container {
    max-width: 99vw;
    padding-inline: 4px;
  }
  .features ul, .services ul, .services ol {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .feature-item, .features ul li {
    min-width: unset;
    flex: 1 1 90px;
  }
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px;
  }
  .cookie-banner__text { max-width: 94vw; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 18px; padding:22px 7px; }
  .cookie-banner__buttons { flex-direction: column; gap: 8px; width: 100%; }
}
@media (max-width: 550px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .cta.primary, .cta.secondary {
    font-size: 0.98rem;
    padding: 10px 18px;
  }
  .hero .container { padding: 24px 4px 32px; }
}

@media (max-width: 400px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1rem; }
  .card, .testimonial-card, .features, .section {
    padding: 11px 4px;
    border-radius: 10px;
  }
}

/* MICRO-INTERACTIONS */
.card, .testimonial-card, .features ul li, .cta, .cookie-banner, .cookie-btn {
  transition: box-shadow 0.17s, transform 0.13s, background 0.18s, color 0.16s;
}
.card:active,
.cta:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* VISUAL BOLD MODERN ACCENTS */
.features ul li::before {
  content: '';
  display: block;
  width: 8px;
  height: 32px;
  border-radius: 6px;
  background: #A89476;
  margin-right: 18px;
}
.features ul li img {
  margin-left: -26px;
}

/* Z-INDEX FOR OVERLAYS */
.mobile-menu { z-index: 1100; }
.cookie-modal-overlay { z-index: 2100; }
.cookie-banner { z-index: 2000; }

/* Ensure minimum spacing between content cards and sections */
.section, .features, .testimonials, .about, .services, .contact, .confirmation, .legal {
  margin-bottom: 60px;
  min-width: 0;
}
.card, .testimonial-card, .features ul li {
  margin-bottom: 20px;
}

/* Prevent overlapping of elements with extra margin for edge cases */
.card:not(:last-child), .testimonial-card:not(:last-child), .features ul li:not(:last-child) {
  margin-bottom: 24px;
}

/* DEBUG/HELPERS (to distinguish geometric layout if needed) */
/* .section, .card, .testimonial-card { outline: 0px dotted #A89476; } */
