/* RESET & BASE STYLES */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

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 {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #234052;
  background: #F5F0EA;
  font-size: 16px;
  line-height: 1.75;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
a {
  color: #b96200;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #234052;
  outline: none;
}
strong {
  font-weight: 600;
  color: #785100;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 12px;
}

/* TYPOGRAPHY */
h1, .display {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: #234052;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #234052;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #234052;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
p, address, cite, ul, ol, li, blockquote, th, td {
  font-size: 1rem;
  line-height: 1.8;
  color: #354C5B;
}
blockquote {
  font-style: italic;
  color: #876513;
  border-left: 5px solid #E0CBA8;
  padding-left: 18px;
  margin-bottom: 12px;
}
cite {
  font-size: 0.98rem;
  color: #555;
  font-style: normal;
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1172px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(168, 145, 106, 0.07);
  padding: 32px 24px;
  margin-bottom: 28px;
}
@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }
  .content-wrapper {
    padding: 22px 6px;
  }
}

/* SECTION SPACING (MANDATORY PATTERNS) */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  width: 100%;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(168, 145, 106, 0.10);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  min-width: 260px;
  flex: 1 1 240px;
}
.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;
  background: #FAF4EC;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(179, 98, 0, 0.05);
  flex: 1 1 320px;
  min-width: 260px;
  color: #352d1d;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  section { padding: 26px 6px; }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 11px;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
}

/* HEADER */
header {
  background: #fff;
  border-bottom: 2px solid #E0CBA8;
  position: relative;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(179, 98, 0, 0.03);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}
header img[src$='.svg'] {
  height: 46px;
  min-width: 120px;
  margin-right: 22px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  color: #234052;
  transition: background 0.15s, color 0.2s;
  letter-spacing: 0.01em;
}
header nav a:hover, header nav a:focus {
  background: #E0CBA8;
  color: #234052;
}
.cta-btn {
  display: inline-block;
  background: #234052;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 24px;
  padding: 11px 30px;
  margin-left: 18px;
  box-shadow: 0 2px 10px rgba(35, 64, 82, 0.12);
  text-align: center;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #b96200;
  color: #fff;
  box-shadow: 0 4px 16px rgba(224, 203, 168, 0.15);
  transform: translateY(-2px) scale(1.02);
}

/* MOBILE HEADER NAV */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #234052;
  cursor: pointer;
  margin-left: 12px;
  padding: 4px 12px;
  border-radius: 8px;
  transition: background 0.1s;
  z-index: 103;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F5F0EA;
  color: #b96200;
}
@media (max-width: 900px) {
  header nav { display: none; }
  .cta-btn { display: none; }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35, 64, 82, 0.98);
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.75,0,.21,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  margin: 28px 32px 10px 0;
  align-self: flex-end;
  cursor: pointer;
  z-index: 112;
  transition: color 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #E0CBA8;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 24px 32px;
  width: 100vw;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 2px;
  border-radius: 8px;
  transition: background 0.15s, color 0.18s;
  width: 100%;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #b96200;
  background: #FAF4EC;
}
@media (min-width: 901px) {
  .mobile-menu { display: none!important; }
}

/* MAIN BUTTONS, LINKS, MICRO-INTERACTIONS */
button, .cta-btn {
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
}
button:active, .cta-btn:active {
  transform: scale(0.99);
}

/* FEATURE & SERVICE LISTS */
.feature-list, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 32px 0;
  list-style: none;
}
.feature-list li,
.service-list li {
  background: #FAF4EC;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(224, 203, 168, 0.16);
  padding: 16px 18px 15px 18px;
  flex: 1 1 240px;
  min-width: 220px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  font-size: 1.05rem;
  color: #234052;
  transition: box-shadow 0.2s, background 0.2s;
}
.feature-list li:hover, .service-list li:hover {
  box-shadow: 0 4px 12px rgba(168, 145, 106, 0.16);
  background: #FFF4D7;
}
.feature-list img, .service-list img {
  height: 36px;
  width: 36px;
  margin-right: 14px;
  background: #fff;
  padding: 4px;
  border-radius: 8px;
  box-shadow: 0 0 4px rgba(224, 203, 168, 0.18);
}
@media (max-width: 900px) {
  .feature-list, .service-list {
    flex-direction: column;
    gap: 13px;
  }
  .feature-list li, .service-list li {
    min-width: unset;
    width: 100%;
  }
}

/* TABLES */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(224, 203, 168, 0.09);
  margin-bottom: 24px;
}
thead tr {
  background: #E0CBA8;
}
th, td {
  padding: 14px 18px;
  text-align: left;
}
th {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #234052;
  font-weight: 700;
  font-size: 1.08rem;
}
tbody tr {
  border-bottom: 1px solid #f0e4ce;
}
tr:last-child {
  border-bottom: none;
}
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }
  thead { display: none; }
  tbody tr { margin-bottom: 16px; }
  td {
    padding: 10px 7px;
    border-bottom: 1px solid #eee;
  }
  td:before {
    display: none;
  }
}

/* ADDRESS & LOCATION */
address {
  font-style: normal;
  color: #234052;
  background: #FFF4D7;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 1.2em;
  font-size: 1rem;
  box-shadow: 0 1px 4px rgba(224,200,120, 0.11);
}
.location-icon img {
  height: 62px;
  width: 62px;
  margin-top: 14px;
  border-radius: 50%;
  background: #FFF4D7;
  box-shadow: 0 4px 10px rgba(224,203,168,0.17);
  padding: 12px;
}

/* FOOTER */
footer {
  background: #234052;
  color: #fff;
  font-size: 1rem;
  margin-top: 40px;
  border-top: 6px solid #E0CBA8;
  padding: 34px 0 13px 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
footer img {
  height: 32px;
  margin-bottom: 14px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 10px;
}
footer nav a {
  color: #E0CBA8;
  text-decoration: underline;
  font-size: 1rem;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
}
footer p {
  color: #FAF4EC;
  text-align: center;
  font-size: 0.97rem;
  margin-top: 8px;
}
@media (max-width: 600px) {
  footer .container { padding: 0 3px; }
  footer nav { gap: 11px; flex-direction: column; align-items: center; }
  footer img { margin-bottom: 10px; }
}

/* TESTIMONIALS */
.testimonial-card {
  background: #FFF4D7;
  border-radius: 18px;
  box-shadow: 0 3px 14px rgba(145, 98, 0, 0.07);
  padding: 24px 34px;
  margin-bottom: 20px;
  color: #312111;
  font-size: 1.13rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.testimonial-card blockquote {
  color: #876513;
  margin-bottom: 7px;
  border-left: 5px solid #E0CBA8;
  font-style: italic;
  font-size: 1.13rem;
  padding-left: 15px;
}
.testimonial-card cite {
  color: #673F0E;
  font-size: 1rem;
  font-style: normal;
  margin-top: 2px;
}

/* CARD DESIGN */
.card {
  border-radius: 16px;
  box-shadow: 0 3px 12px rgba(224,203,168,0.13);
  padding: 28px 22px;
  margin-bottom: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.18s, background 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 20px rgba(224,203,168,0.19);
  background: #FEFAF5;
}

/* ICONS IN LISTS */
ul li img {
  display: inline-block;
  margin-right: 10px;
  height: 28px;
  width: 28px;
  vertical-align: middle;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(224,203,168,0.12);
  background: #FFF4D7;
  padding: 2px;
}

/* FORMS (add if/when present) */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #E0CBA8;
  padding: 11px 14px;
  margin-bottom: 18px;
  background: #FAF4EC;
  color: #234052;
  width: 100%;
  outline: none;
  transition: border 0.14s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #b96200;
  box-shadow: 0 0 0 2px #FFF4D7;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #2a2a2a;
  display: block;
  margin-bottom: 6px;
}

/* ANIMATIONS AND TRANSITIONS */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.2s forwards;
}
@keyframes fadeIn {
  to { opacity: 1; }
}
.slide-in-right {
  opacity: 0;
  transform: translateX(32px);
  animation: slideInRight 0.8s forwards;
}
@keyframes slideInRight {
  to { opacity: 1; transform: translateX(0); }
}
.slide-in-up {
  opacity: 0;
  transform: translateY(32px);
  animation: slideInUp 0.8s forwards;
}
@keyframes slideInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* SCROLLBARS (for overlay on mobile menu) */
.mobile-menu, .cookie-consent-modal {
  scrollbar-color: #E0CBA8 #234052;
  scrollbar-width: thin;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #FFF4D7;
  color: #234052;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -2px 20px rgba(224,203,168,0.19);
  padding: 22px 28px 20px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 9999;
  font-size: 1rem;
  transition: transform 0.4s;
}
.cookie-consent-banner.hide {
  transform: translateY(100%);
}
.cookie-consent-banner .cookie-consent-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 18px;
  padding: 10px 22px;
  cursor: pointer;
  margin-left: 0px;
  transition: background 0.17s, color 0.17s, box-shadow 0.13s;
  font-weight: 600;
  outline: none;
}
.cookie-consent-banner .accept {
  background: #234052;
  color: #fff;
}
.cookie-consent-banner .accept:hover, .cookie-consent-banner .accept:focus {
  background: #b96200;
}
.cookie-consent-banner .reject {
  background: #fff;
  color: #b96200;
  border: 1.5px solid #b96200;
}
.cookie-consent-banner .reject:hover, .cookie-consent-banner .reject:focus {
  background: #E0CBA8;
}
.cookie-consent-banner .settings {
  background: #E0CBA8;
  color: #234052;
}
.cookie-consent-banner .settings:hover, .cookie-consent-banner .settings:focus {
  background: #234052;
  color: #fff;
}
@media (max-width: 800px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 7px 12px 7px;
  }
  .cookie-consent-banner .cookie-consent-actions {
    gap: 10px;
  }
}

/* COOKIE CONSENT MODAL */
.cookie-consent-modal {
  position: fixed;
  z-index: 10001;
  top: 0; left: 0; width: 100vw; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: rgba(35, 64, 82, 0.76);
  opacity: 0; pointer-events: none;
  transition: opacity 0.34s;
}
.cookie-consent-modal.show {
  opacity: 1;
  pointer-events: auto;
}
.cookie-consent-modal .modal-content {
  background: #fff;
  border-radius: 22px;
  width: 98%;
  max-width: 420px;
  box-shadow: 0 4px 24px rgba(168, 145, 106, 0.14);
  padding: 40px 20px 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-consent-modal .close-modal {
  position: absolute;
  right: 20px;
  top: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #234052;
  cursor: pointer;
  transition: color .2s;
}
.cookie-consent-modal .close-modal:hover, .cookie-consent-modal .close-modal:focus {
  color: #b96200;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FAF4EC;
  padding: 13px 8px;
  border-radius: 12px;
  margin-bottom: 9px;
  box-shadow: 0 1px 4px rgba(220,180,110,0.09);
}
.cookie-category label {
  flex: 1;
  margin: 0;
  font-weight: bold;
  font-size: 1.07rem;
  color: #234052;
  cursor: pointer;
}
.cookie-category .toggle {
  appearance: none;
  width: 40px;
  height: 22px;
  background: #E0CBA8;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .21s;
}
.cookie-category .toggle:checked {
  background: #b96200;
}
.cookie-category .toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left .21s;
  box-shadow: 0 2px 4px rgba(200,173,112,0.09);
}
.cookie-category .toggle:checked:before {
  left: 20px;
}
.cookie-category .always-on {
  color: #b96200;
  font-weight: 600;
  font-size: 0.93rem;
  margin-left: 16px;
}
.cookie-consent-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 18px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-consent-modal .modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 16px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-consent-modal .modal-actions .save {
  background: #234052;
  color: #fff;
}
.cookie-consent-modal .modal-actions .save:hover, .cookie-consent-modal .modal-actions .save:focus {
  background: #b96200;
}
.cookie-consent-modal .modal-actions .cancel {
  background: #fff;
  border: 1.5px solid #E0CBA8;
  color: #234052;
}
.cookie-consent-modal .modal-actions .cancel:hover, .cookie-consent-modal .modal-actions .cancel:focus {
  background: #E0CBA8;
}
@media (max-width: 600px) {
  .cookie-consent-modal .modal-content {
    padding: 20px 4px;
  }
  .cookie-consent-modal .modal-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
}

/* ACCESSIBILITY */
:focus-visible {
  outline: 2px solid #b96200;
  outline-offset: 2px;
}

/* WHITE SPACE & VISUAL HIERARCHY */
h1, h2, h3, h4, h5, .cta-btn, .feature-list, .service-list, .content-wrapper, .card, .testimonial-card {
  margin-bottom: 20px;
}
.card, .testimonial-card, .content-wrapper, section {
  margin-bottom: 60px !important;
}
main > section:last-child, .content-wrapper:last-child, .card:last-child, .testimonial-card:last-child {
  margin-bottom: 0 !important;
}

/* RESPONSIVE FONT SIZES */
@media (max-width: 600px) {
  h1, .display { font-size: 1.85rem; }
  h2 { font-size: 1.33rem; }
  h3, th, td { font-size: 1.09rem; }
}
