/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FFF8F3;
  color: #422E18;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
ol, ul {
  list-style: disc inside;
}
a {
  background-color: transparent;
  text-decoration: none;
  color: #B98328;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #885a12;
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
button,
input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

/* Root colors and brand font stack */
:root {
  --color-primary: #1A232E;
  --color-secondary: #D4BFA3;
  --color-accent: #ffffff;
  --color-warmbg: #FFF8F3;
  --color-shadow: rgba(81, 49, 23, 0.10);
  --color-link: #B98328;
  --color-link-hover: #855908;
  --color-text-dark: #422E18;
  --color-text-light: #fff;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 18px;
  line-height: 1.15;
}
h2 {
  font-size: 1.625rem;
  margin-bottom: 14px;
  line-height: 1.17;
}
h3 {
  font-size: 1.20rem;
  margin-bottom: 10px;
  line-height: 1.23;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.26;
}
p, ul, ol, li {
  font-size: 1rem;
  color: var(--color-text-dark);
  margin-bottom: 10px;
  line-height: 1.7;
}
strong {
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/******************************************************
    HEADER & MAIN NAVIGATION
******************************************************/
header {
  background: var(--color-warmbg);
  border-bottom: 1px solid #efd8c3;
  position: relative;
  box-shadow: 0 2px 10px var(--color-shadow);
  z-index: 99;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
  min-height: 70px;
}
.logo img {
  height: 46px;
  border-radius: 8px;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-display);
}
nav a {
  font-size: 1.02rem;
  color: var(--color-primary);
  font-weight: 600;
  border-radius: 18px;
  padding: 8px 13px;
  letter-spacing: 0.01em;
  transition: background 0.2s, color 0.18s;
}
nav a:hover, nav a.active, nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.primary-cta, .secondary-cta {
  font-family: var(--font-display);
  font-size: 1rem;
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 24px;
  font-weight: 700;
  padding: 10px 28px;
  margin-left: 14px;
  box-shadow: 0 2px 12px var(--color-shadow);
  border: none;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: box-shadow 0.16s, background 0.18s, color 0.17s;
  outline: none;
}
.primary-cta:hover,
.primary-cta:focus {
  background: #C8A67F;
  color: var(--color-text-light);
  box-shadow: 0 4px 16px rgba(180,153,101,0.21);
}
.secondary-cta {
  background: #fff4e3;
  color: var(--color-primary);
  border: 1px solid var(--color-secondary);
  margin-left: 0;
}
.secondary-cta:hover,
.secondary-cta:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/******************************************************
    MOBILE NAVIGATION
******************************************************/
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  border: none;
  margin-left: 8px;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.15s;
  cursor: pointer;
  z-index: 210;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #e5ceb2;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFF8F3;
  box-shadow: 0 8px 32px 0 rgba(68,31,0,0.19);
  transform: translateX(-100vw);
  will-change: transform;
  transition: transform 0.29s cubic-bezier(0.6,0.09,0.31,1.16);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 26px;
  padding-left: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-right: 23px;
  margin-bottom: 10px;
  background: transparent;
  color: var(--color-primary);
  font-size: 2.1rem;
  border-radius: 50%;
  transition: background 0.19s;
  width: 44px;
  height: 44px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #e5ceb2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding: 8px 32px 32px 32px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: var(--color-primary);
  border-radius: 20px;
  padding: 12px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.17s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
@media (max-width: 1000px) {
  header .container nav {
    display: none;
  }
  .primary-cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }
}

@media (max-width: 768px) {
  header .container {
    gap: 10px;
    padding-left: 8px;
    padding-right: 8px;
    min-height: 54px;
  }
  .logo img {
    height: 36px;
  }
}

/******************************************************
    SECTION BASIC & FLEX LAYOUTS
******************************************************/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 8px 40px rgba(181, 108, 38, 0.09);
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 20px;
  box-shadow: 0 4px 24px var(--color-shadow);
  transition: box-shadow 0.19s, transform 0.2s;
  position: relative;
  padding: 20px 22px 20px 22px;
}
.card:hover {
  box-shadow: 0 10px 32px 0 rgba(160,87,8,.13);
  transform: translateY(-3px) scale(1.017);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
}

/******************************************************
    FEATURE LISTS & FLEX WRAP GRIDS (USPS)
******************************************************/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 16px;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 210px;
  background: #fff8ef;
  border-radius: 22px;
  box-shadow: 0 2px 22px 0 rgba(174,140,62,0.10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 18px 22px 18px;
  transition: box-shadow 0.18s, transform 0.17s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 26px 0 rgba(149,105,28,0.11);
  transform: translateY(-2px) scale(1.013);
}
.feature-grid img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 6px;
  border-radius: 12px;
  background: #EEE2D2;
  padding: 7px;
  box-shadow: 0 2px 10px 0 rgba(209,192,148,0.16);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 900px) {
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
  }
}

/******************************************************
    TESTIMONIALS & RATING
******************************************************/
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 6px 0;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 24px 0 rgba(119,70,10,0.10);
  margin-bottom: 20px;
  flex: 1 1 310px;
  max-width: 390px;
  font-size: 1.12rem;
  transition: box-shadow 0.17s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(152,123,49,0.13);
  transform: scale(1.018);
}
.testimonial-card p {
  color: var(--color-primary);
  font-style: italic;
  font-family: var(--font-body);
  font-size: 1.12rem;
  margin: 0 0 8px 0;
  flex: 1 1 auto;
}
.testimonial-card span {
  color: #8C661F;
  font-size: 0.96rem;
  opacity: 0.75;
  font-family: var(--font-display);
}
.client-ratings, .rating-summary {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #8E6927;
  margin-top: 10px;
}

/******************************************************
    ARTICLES, BLOG & LISTS
******************************************************/
.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 18px;
}
.article-list li {
  background: #fff8ef;
  border-radius: 20px;
  padding: 20px 18px;
  box-shadow: 0 2px 10px 0 rgba(186,152,83,0.07);
  margin-bottom: 0;
  font-size: 1.07rem;
}
.category-highlight span {
  background: var(--color-secondary);
  color: var(--color-primary);
  padding: 6px 18px;
  border-radius: 16px;
  font-family: var(--font-display);
  font-size: 1.07rem;
  margin-top: 8px;
  display: inline-block;
}

/******************************************************
    CONTACT DETAILS & MAP EMBED
******************************************************/
.contact-details {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 18px 18px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.10rem;
}
.contact-details img {
  width: 24px;
  height: 24px;
  background: #F2E7DC;
  border-radius: 6px;
  padding: 2px;
}
.map-embed {
  background: #f6e7d0;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 13px;
  font-family: var(--font-display);
  color: #7B5A2C;
}
.cta-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 18px;
}

/******************************************************
    FOOTER
******************************************************/
footer {
  background: #fff8ef;
  box-shadow: 0 -2px 12px 0 rgba(181,108,38,0.06);
  padding: 46px 0 26px 0;
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-logo img {
  height: 44px;
  background: #FFFAF5;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(181, 108, 38, 0.07);
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
footer nav a {
  font-size: 1.02rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  border-radius: 10px;
  padding: 4px 6px;
  transition: background 0.14s, color 0.11s;
}
footer nav a:hover {
  background: var(--color-secondary);
  color: #6D4D24;
}
.contact-footer {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 10px;
  font-size: 1.05rem;
  color: #684804;
}
.contact-footer span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.contact-footer img {
  width: 22px;
  height: 22px;
  background: #efe2d1;
  border-radius: 8px;
  padding: 2px;
}

@media (max-width: 860px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-logo {
    margin-bottom: 12px;
  }
}

/******************************************************
    COOKIE CONSENT BANNER
******************************************************/
#cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff8ef;
  box-shadow: 0 -4px 32px rgba(129, 96, 13, 0.13);
  padding: 22px 18px 16px 18px;
  z-index: 300;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  font-size: 1.05rem;
  border-top: 1px solid #f2deb5;
  animation: cookieSlideIn 0.37s cubic-bezier(.17,.67,.67,1.02);
}
@keyframes cookieSlideIn {
  from { transform: translateY(120%); }
  to { transform: translateY(0); }
}
#cookie-banner .cookie-text {
  flex: 1 1 0;
  color: #704E16;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
#cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  cursor: pointer;
  box-shadow: 0 1px 8px var(--color-shadow);
  transition: background 0.14s, color 0.13s;
}
#cookie-accept {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 600;
}
#cookie-accept:hover {
  background: #c6a67f;
}
#cookie-reject {
  background: #e7dad1;
  color: var(--color-primary);
}
#cookie-reject:hover {
  background: #d6baa3;
}
#cookie-settings,
#cookie-close-modal {
  background: transparent;
  color: #835523;
  border: 1px solid var(--color-secondary);
}
#cookie-settings:hover, #cookie-close-modal:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* Cookie preferences modal */
#cookie-modal-overlay {
  position: fixed;
  z-index: 400;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(42, 26, 7, 0.20);
  display: none;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.28s ease-out;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
#cookie-modal-overlay.active {
  display: flex;
}
#cookie-modal {
  background: #fff8ef;
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(157,123,44,0.19);
  max-width: 95vw;
  width: 360px;
  padding: 32px 28px 24px 28px;
  z-index: 410;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1.06rem;
  animation: modalAppear 0.32s cubic-bezier(.18,.78,.38,1.27);
}
@keyframes modalAppear {
  from { transform: translateY(90px) scale(0.94); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 9px 0 9px 0;
  border-bottom: 1px solid #efe7d5;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 18px;
  background: #DDD2C2;
  position: relative;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.15s;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
}
.cookie-toggle input {
  display: none;
}
.cookie-slider {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 5px 0 rgba(170,130,45,0.13);
  transition: left 0.19s, background 0.14s;
}
.cookie-toggle input:checked + .cookie-slider {
  left: 19px;
  background: var(--color-secondary);
}
.cookie-category.essential {
  opacity: 0.65;
  pointer-events: none;
}

/******************************************************
    MEDIA QUERIES & RESPONSIVE STACKS
******************************************************/
@media (max-width: 900px) {
  .testimonial-list {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}
@media (max-width: 700px) {
  .section {
    margin-bottom: 38px;
    padding: 26px 6px;
  }
}
@media (max-width: 900px) {
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 600px) {
  .footer-logo img {
    height: 34px;
  }
  .footer-logo {
    margin-bottom: 7px;
  }
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 8px 8px 8px;
    font-size: 0.98rem;
  }
}

/******************************************************
    INTERACTIVE HOVER/FOCUS & SHADOW EFFECTS
******************************************************/
button,
.primary-cta,
.secondary-cta {
  transition: box-shadow 0.13s, background 0.14s, color 0.12s, transform 0.09s;
}
button:active,
.primary-cta:active,
.secondary-cta:active {
  transform: scale(0.97);
  box-shadow: 0 1px 5px var(--color-shadow);
}

/******************************************************
    UTILITY CLASSES
******************************************************/
.rounded {
  border-radius: 16px;
}
.soft-shadow {
  box-shadow: 0 4px 26px 0 rgba(186,152,83,0.11);
}
.bg-warm {
  background: #FFF8F3;
}

/******************************************************
    Z-INDEX MAINTENANCE
******************************************************/
header, .mobile-menu, #cookie-banner, #cookie-modal-overlay { z-index: 200; }
#cookie-banner { z-index: 300; }
#cookie-modal-overlay { z-index: 400; }
#cookie-modal { z-index: 410; }

/******************************************************
    ENSURE MINIMUM SPACING
******************************************************/
.card, .testimonial-card, .feature-grid > div, .article-list li {
  margin-bottom: 20px;
}

/******************************************************
    CUSTOMER LOGOS (on testimonials page)
******************************************************/
.customer-logos {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 10px 0 14px 0;
}
.customer-logos img {
  height: 38px;
  border-radius: 7px;
  background: #fff9ef;
  padding: 5px;
  box-shadow: 0 1px 10px 0 rgba(181,108,38,0.07);
}

/******************************************************
    MISCELLANEA
******************************************************/
hr {
  border: none;
  border-top: 1.5px solid #e4cfb1;
  margin: 30px 0;
}
::-webkit-input-placeholder { color: #a68d5d; opacity: 1; }
::-moz-placeholder { color: #a68d5d; opacity: 1; }
:-ms-input-placeholder { color: #a68d5d; opacity: 1; }
::placeholder { color: #a68d5d; opacity: 1; }

/******************************************************
    ACCESSIBILITY & CONTRAST
******************************************************/
.testimonial-card p,
.testimonial-card span,
.rating-summary,
.client-ratings {
  color: #2e1b05;
  background: none;
  /* Always dark text on light background for best contrast */
}

/* END OF STYLE.CSS */
