/* ==========================================================================
   RESET & BASE TYPOGRAPHY
   ========================================================================== */
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;
  vertical-align: baseline;
  font-size: 100%;
  background: transparent;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #F7F4EF;
  color: #33383B;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
:focus {
  outline: 2px solid #CBB67A;
  outline-offset: 2px;
}
a {
  color: #33383B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #CBB67A;
}
strong {
  font-weight: bold;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}
li {
  margin-bottom: 0.5em;
}

/* TYPOGRAPHY -------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  color: #33383B;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
}
h4 {
  font-size: 1.125rem;
}
p, .subheadline {
  font-size: 1rem;
  margin-bottom: 16px;
}
.subheadline {
  color: #756945;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

/* LAYOUT UTILITIES -------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

/* GLOBAL SECTION SPACING & CARD LAYOUTS ----------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 28px 8px;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(51, 56, 59, 0.06);
  padding: 30px 22px;
  transition: box-shadow 0.26s;
  flex: 1 1 310px;
  min-width: 270px;
  max-width: 380px;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(203, 182, 122, 0.13);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(51,56,59,0.06);
  color: #22252A;
  min-width: 260px;
  max-width: 340px;
  font-size: 1rem;
  transition: box-shadow 0.23s;
  margin-bottom: 20px;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px rgba(203, 182, 122, 0.16);
}
/* Ensures testimonials are readable */
.testimonial-card p, .testimonial-card span, .testimonial-card strong {
  color: #22252A;
}

.testimonial-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  padding: 28px 18px 20px 18px;
  min-width: 230px;
  max-width: 270px;
  box-shadow: 0 2px 10px rgba(203, 182, 122, 0.07);
  margin-bottom: 18px;
  transition: box-shadow 0.23s, transform 0.22s;
}
.feature-item:hover {
  box-shadow: 0 4px 22px rgba(203, 182, 122, 0.17);
  transform: translateY(-2px) scale(1.013);
}
.feature-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 24px;
}

/* HERO SECTION ----------------------------------------------------------- */
.hero {
  background: linear-gradient(90deg, #F7F4EF 70%, #ECE7DF 100%);
  padding: 54px 0 46px 0;
  margin-bottom: 44px;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 1px 25px rgba(203, 182, 122,0.055);
}
.hero .content-wrapper {
  align-items: flex-start;
  text-align: left;
  gap: 10px;
}
@media (max-width: 768px) {
  .hero {
    padding: 32px 0 30px;
    border-radius: 0 0 10px 10px;
    margin-bottom: 24px;
  }
}

/* HEADER & NAVIGATION ---------------------------------------------------- */
header {
  background: #fff;
  border-bottom: 1.5px solid #F7F4EF;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.logo img {
  height: 43px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.main-nav a {
  color: #33383B;
  font-weight: 500;
  position: relative;
  padding: 3px 0;
  transition: color 0.17s;
}
.main-nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #CBB67A;
  transition: width .26s;
  border-radius: 4px;
  margin-top: 3px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #CBB67A;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
}

.btn-primary {
  display: inline-block;
  background: #CBB67A;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  padding: 12px 26px;
  box-shadow: 0 2px 8px rgba(203,182,122,0.07);
  cursor: pointer;
  transition: background .19s, color .15s, box-shadow .21s;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #b29f6b;
  color: #fff;
  box-shadow: 0 4px 14px rgba(203,182,122,0.16);
}

/* HEADER MOBILE NAV ------------------------------------------------------ */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #33383B;
  cursor: pointer;
  padding: 8px 10px;
  margin-left: 12px;
  z-index: 1002;
  border-radius: 6px;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F7F4EF;
  color: #CBB67A;
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(51, 56, 59, 0.52);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu nav {
  background: #fff;
  width: 82vw;
  max-width: 360px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 44px 28px 18px 28px;
  box-shadow: 6px 0 24px 0 rgba(51,56,59,0.11);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.7,0,0.3,1);
}
.mobile-menu.open nav{
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 26px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #33383B;
  cursor: pointer;
  z-index: 2002;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #CBB67A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 28px;
}
.mobile-nav a {
  color: #33383B;
  font-size: 1.11rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  padding: 9px 0;
  border-radius: 4px;
  transition: background 0.17s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #CBB67A;
}
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .btn-primary {
    display: none;
  }
}
@media (min-width: 993px) {
  .mobile-menu, .mobile-menu-close, .mobile-menu-toggle {
    display: none !important;
  }
}

/* FOOTER ----------------------------------------------------------------- */
footer {
  background: #fff;
  border-top: 1.5px solid #ECE7DF;
  margin-top: 48px;
  padding: 36px 0 24px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 1.26rem;
  font-weight: 700;
}
.footer-brand img {
  width: 36px;
  height: 36px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-nav a {
  font-size: 1rem;
  color: #33383B;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #B29F6B;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  color: #565A5D;
}
footer a {
  word-break: break-word;
}
@media (max-width: 950px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
@media (max-width: 600px) {
  footer {
    padding: 24px 0 16px 0;
  }
}


/* SERVICES & LISTS ------------------------------------------------------- */
.service-list,
.text-section ul, .text-section ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #3A3E44;
  margin-bottom: 24px;
  padding-left: 1.7em;
}
.text-section {
  padding-bottom: 16px;
  max-width: 740px;
}
.text-section h2, .text-section h3 {
  margin-top: 12px;
}
.text-section h3 {
  color: #CBB67A;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 10px;
}
.text-section a {
  color: #B29F6B;
  text-decoration: underline;
  font-weight: 500;
}
.text-section a:hover {
  color: #33383B;
}

.service-list li {
  margin-bottom: 11px;
}


/* RESPONSIVE ADAPTIVE ASPECTS -------------------------------------------- */
@media (max-width: 900px) {
  .card-container, .feature-grid, .testimonial-row, .content-grid {
    gap: 14px;
  }
}
@media (max-width: 650px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.34rem;
  }
  .feature-item, .card {
    min-width: 94vw;
    max-width: 99vw;
  }
}
@media (max-width: 530px) {
  .container {
    padding: 0 8px;
  }
}


/* FORM & CTA BUTTONS (for potential forms/future scaling) ---------------- */
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #ECE7DF;
  padding: 10px 13px;
  margin-bottom: 16px;
  background: #fff;
  color: #22252A;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #CBB67A;
  outline: none;
}

/* COOKIE CONSENT BANNER & MODAL ------------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #33383B;
  color: #fff;
  padding: 26px 20px 20px 20px;
  box-shadow: 0 -2px 18px rgba(51,56,59,0.12);
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  justify-content: center;
  flex-wrap: wrap;
  min-height: 90px;
  opacity: 1;
  transition: transform 0.35s, opacity 0.28s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.cookie-banner .cookie-text {
  flex: 1 1 200px;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
}
.btn-cookie {
  background: #CBB67A;
  color: #fff;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  padding: 9px 21px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.14s;
  box-shadow: 0 1px 3px rgba(51,56,59,0.1);
}
.btn-cookie:hover, .btn-cookie:focus {
  background: #b29f6b;
}
.btn-cookie.settings {
  background: #fff;
  color: #33383B;
  border: 1px solid #ECE7DF;
}
.btn-cookie.settings:hover {
  background: #F7F4EF;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 19px 8px 16px 8px;
  }
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(51,56,59,0.32);
  z-index: 4010;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  min-width: 315px;
  max-width: 97vw;
  padding: 30px 30px 18px 30px;
  border-radius: 12px;
  box-shadow: 0 5px 44px rgba(51,56,59,0.18);
  color: #22252A;
  z-index: 4020;
  animation: cookieModalAppear 0.32s cubic-bezier(0.64,0,0.29,1);
  position: relative;
}
@keyframes cookieModalAppear {
  0% { transform: translateY(40px) scale(0.98); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 10px;
  color: #33383B;
  font-size: 1.15rem;
  font-family: 'Playfair Display', serif;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
}
.cookie-category-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-category-row label {
  flex: 1;
  font-weight: 500;
}
/* Switch for toggles */
.switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 23px;
}
.switch input {
  opacity: 0;
  width: 0; height: 0;
}
.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ECE7DF;
  border-radius: 14px;
  transition: background 0.23s;
}
.switch input:checked + .slider {
  background-color: #CBB67A;
}
.switch .slider:before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.23s;
}
.switch input:checked + .slider:before {
  transform: translateX(13px);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-bottom: 4px;
}
.cookie-modal-close {
  position: absolute;
  right: 13px;
  top: 14px;
  font-size: 1.7rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #33383B;
  z-index: 4030;
}
.cookie-modal-close:hover {
  color: #CBB67A;
}
@media (max-width: 470px) {
  .cookie-modal {
    padding: 14px 5vw 10px 5vw;
  }
}

/* MICRO-ANIMATIONS ------------------------------------------------------- */
.btn-primary, .btn-cookie {
  transition: background 0.13s, box-shadow 0.15s, color .15s;
}
.card, .testimonial-card, .feature-item {
  transition: box-shadow .21s, transform .17s;
}

/* ACCESSIBILITY/UTILITIES ------------------------------------------------ */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

/* CUSTOM OVERRIDES FOR PAGES --------------------------------------------- */
main {
  margin-bottom: 36px;
}
h1 + .subheadline {
  margin-top: -18px;
  margin-bottom: 20px;
}

/* OTHER STRUCTURAL ADJUSTMENTS ------------------------------------------- */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
  .card-container, .content-grid, .testimonial-row, .feature-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    justify-content: flex-start;
  }
}

/* END ==================================================================== */
