/* 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; height: 100%; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  background-color: #F6F3ED;
  color: #3D3547;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: #3D3547; text-decoration: none; transition: color 0.2s cubic-bezier(.65,.05,.36,1); }
a:focus {outline: 2px solid #C3A36F; outline-offset: 2px;}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: #3D3547;
  text-transform: none;
  letter-spacing: 0.03em;
}
h1 { font-size: 2.75rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 18px; }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: 0.07em; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p, ul, ol { font-family: 'Montserrat', Arial, sans-serif; font-size: 1rem; margin-bottom: 18px; }
.subtitle {
  font-size: 1.2rem; color: #C3A36F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500; margin-bottom: 22px;
  letter-spacing: 0.05em;
}
ul, ol { padding-left: 24px; margin-bottom: 18px; }
li { margin-bottom: 8px; font-size: 1rem; }
dl { margin-bottom: 18px; }
dt { font-weight: bold; margin-bottom: 3px; }
dd { margin-bottom: 12px; }
strong, b { font-weight: 700; }

/* CONTAINER & GRIDS - FLEXBOX ONLY */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
}
.text-section { max-width: 780px; }

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 24px;
  position: relative;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(61,53,71,0.07);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  border: 1.5px solid #E2D8C1;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: #F6F3ED;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(61,53,71,0.05);
  min-width: 220px;
  max-width: 420px;
  border-left: 8px solid #C3A36F;
}
.testimonial-card p {
  color: #3D3547;
  font-weight: 500;
  font-size: 1.12rem;
  text-align: left;
}
.testimonial-author {
  color: #3D3547;
  font-size: 0.97rem;
  font-style: italic;
  font-weight: 600;
  align-self: flex-end;
}

/* SHAPES & GEOMETRIC VISUALS */
.feature {
  background: #fff;
  border-radius: 18px 5px 18px 5px;
  box-shadow: 0 2px 14px rgba(61,53,71,0.05);
  padding: 26px 18px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border: 1.5px solid #e2d8c1;
  transition: box-shadow 0.25s cubic-bezier(.59,.09,.56,.92), transform 0.18s;
}
.feature:hover {
  box-shadow: 0 4px 24px rgba(195,163,111,0.18);
  transform: translateY(-4px) scale(1.015);
}
.feature img {
  width: 38px; height: 38px; margin-bottom: 7px;
}
.feature h3 {
  color: #C3A36F; font-weight: 700; margin-bottom: 0;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 16px;
}
.service-item {
  background: #fff;
  border-radius: 5px 18px 5px 18px;
  box-shadow: 0 2px 16px rgba(61,53,71,0.09);
  padding: 22px 15px;
  min-width: 200px;
  flex: 1 1 220px;
  border: 1.5px solid #E2D8C1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-height: 160px;
  transition: box-shadow .22s cubic-bezier(.6,.08,.5,1), transform .15s;
}
.service-item img {
  width: 32px; height: 32px; margin-bottom: 5px;
}
.service-item:hover {
  box-shadow: 0 6px 24px rgba(61,53,71,0.14);
  transform: translateY(-3px) scale(1.012);
}

.team-bio-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.team-member {
  background: #fff;
  border-radius: 18px 5px 18px 5px;
  box-shadow: 0 2px 12px rgba(61,53,71,0.07);
  padding: 22px 17px;
  border: 1.5px solid #E2D8C1;
  flex: 1 1 220px;
  min-width: 180px;
}

/* TESTIMONIALS LIST/SLIDER */
.testimonial-list, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

/* CONTACT DETAILS */
.contact-info, .contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin: 14px 0 4px 0;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 8px rgba(61,53,71,0.07);
  border: 1px solid #e2d8c1;
  padding: 10px 17px;
  min-width: 175px;
}
.contact-detail img { width: 22px; height: 22px; }

/* BUTTONS / CTA */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  background: #C3A36F;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
  border: none;
  border-radius: 34px 6px 34px 6px;
  box-shadow: 0 2px 10px rgba(195,163,111,0.09);
  transition: background 0.20s, color 0.14s, box-shadow 0.21s, transform 0.12s;
  cursor: pointer;
  letter-spacing: 0.08em;
  min-width: 180px;
  min-height: 48px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #3D3547;
  color: #FFC780;
  box-shadow: 0 4px 24px rgba(61,53,71,0.15);
  transform: translateY(-2px) scale(1.03);
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  border-bottom: 2px solid #ECE6D8;
  box-shadow: 0 2px 12px rgba(61,53,71,0.05);
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
}
.logo img { height: 48px; width: auto; }

.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 9px 14px;
  color: #3D3547;
  border-radius: 6px 14px 6px 14px;
  font-size: 1rem;
  letter-spacing: 0.04em;
  transition: background 0.18s, color 0.14s, box-shadow 0.14s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #C3A36F;
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  background: #C3A36F;
  color: #fff;
  border: none;
  border-radius: 7px 18px 7px 18px;
  font-size: 2.3rem;
  padding: 5px 22px 3px 18px;
  cursor: pointer;
  position: absolute;
  right: 34px;
  top: 20px;
  z-index: 101;
  transition: background 0.17s, color 0.13s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #C3A36F;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #3D3547;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.76,.06,.6,1);
  box-shadow: 2px 0 24px rgba(61,53,71,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #C3A36F;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 11;
  border-radius: 8px 18px 8px 18px;
  padding: 3px 16px 1px 14px;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-close:focus {
  outline: 2px solid #FFC780;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 86px;
  width: 100%;
  gap: 12px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 500;
  padding: 16px 32px;
  width: 100%;
  border-radius: 4px 12px 4px 12px;
  letter-spacing: 0.06em;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #C3A36F;
  color: #fff7ec;
}

/* FOOTER */
footer {
  background: #3D3547;
  color: #fff;
  padding: 50px 0 22px 0;
  position: relative;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 1rem;
}
.footer-brand{
  display: flex;
  flex-direction: column;
  gap: 19px;
  max-width: 320px;
  align-items: flex-start;
}
.footer-brand img { max-width: 60px; }
.footer-brand p { color: #fff; font-size: 1rem; line-height: 1.7; }
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a, .footer-legal a {
  color: #C3A36F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-legal a:hover {
  color: #fff;
}
.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 10px;
}
.footer-social img { width: 30px; height: 30px; opacity: .88; transition: opacity 0.12s; }
.footer-social img:hover { opacity: 1; }

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: #fff;
  color: #3D3547;
  box-shadow: 0 -2px 28px rgba(61,53,71,0.12);
  border-top: 2.5px solid #C3A36F;
  padding: 22px 16px;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  animation: cookie-slide-in .55s cubic-bezier(.76,.06,.6,1);
}
@keyframes cookie-slide-in {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-message {
  flex: 2 1 320px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #3D3547;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  flex: 1 1 144px;
}
.cookie-btn, .cookie-settings-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 9px 24px;
  border: none;
  background: #C3A36F;
  color: #fff;
  border-radius: 24px 6px 24px 6px;
  cursor: pointer;
  box-shadow: 0 1.5px 5px rgba(195,163,111,0.09);
  transition: background 0.16s, color 0.12s, transform 0.13s;
}
.cookie-btn:focus, .cookie-settings-btn:focus { outline: 2px solid #C3A36F; }
.cookie-btn:hover {
  background: #3D3547;
  color: #FFC780;
  transform: scale(1.025);
}
.cookie-btn.reject {
  background: #ECE6D8;
  color: #3D3547;
}
.cookie-btn.reject:hover {
  background: #3D3547;
  color: #C3A36F;
}
.cookie-settings-btn {
  background: #F6F3ED;
  color: #3D3547;
  border: 1px solid #C3A36F;
}
.cookie-settings-btn:hover {
  background: #C3A36F;
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10001;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(61,53,71,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in .38s cubic-bezier(.76,.06,.6,1);
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  padding: 38px 22px 30px 22px;
  border-radius: 18px 6px 18px 6px;
  max-width: 480px;
  min-width: 270px;
  width: 95vw;
  box-shadow: 0 6px 35px rgba(61,53,71,0.18);
  color: #3D3547;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-slide-in .33s cubic-bezier(.76,.06,.6,1);
}
@keyframes modal-slide-in {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1.2rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}
.cookie-modal-close {
  background: #C3A36F;
  color: #fff;
  border: none;
  border-radius: 12px 4px 12px 4px;
  padding: 3px 12px 1px 12px;
  font-size: 1.7rem;
  cursor: pointer;
  transition: background 0.14s;
  line-height: 1.1;
}
.cookie-modal-close:focus { outline: 2px solid #C3A36F; }
.cookie-modal-section {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.cookie-toggle-label {
  flex: 1 1 auto;
  font-size: 1rem;
  color: #3D3547;
}
.cookie-toggle-switch {
  width: 34px; height: 20px; border-radius: 19px;
  background: #ECE6D8; position: relative; display: inline-block; vertical-align: middle;
  transition: background 0.2s;
}
.cookie-toggle-switch[aria-checked="true"] {
  background: #C3A36F;
}
.cookie-toggle-switch::after {
  content: "";
  display: block;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  position: absolute; top: 2px; left: 2px;
  transition: left 0.2s;
}
.cookie-toggle-switch[aria-checked="true"]::after {
  left: 16px;
}

/* FAQ/PROCESS-LIKE CONTENT */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}
.process-steps li {
  background: #fff;
  border-radius: 14px 4px 14px 4px;
  border: 1.5px solid #E2D8C1;
  padding: 12px 20px;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(195,163,111,0.07);
}
.process-steps li img {
  width: 26px; height: 26px;
  margin-right: 5px;
}

/* ANIMATIONS & MICROINTERACTIONS */
a, .cta-btn, .cookie-btn, .cookie-settings-btn, .feature, .service-item {
  transition: color 0.17s, background 0.17s, box-shadow 0.18s, transform 0.2s;
}

/* GEO-STRUCTURED DECORATIVE ELEMENTS */
.section:before, .section:after {
  content: '';
  display: block;
  position: absolute;
  z-index: 1;
}
.section:before {
  top: -30px; left: -42px;
  width: 68px; height: 68px;
  background: #C3A36F;
  opacity: 0.07;
  border-radius: 10px 30px 10px 30px;
  transform: rotate(-8deg);
}
.section:after {
  bottom: -33px; right: -32px;
  width: 40px; height: 40px;
  background: #3D3547;
  opacity: 0.07;
  border-radius: 22px 8px 22px 8px;
  transform: rotate(13deg);
}
/* To keep content above decoration */
.section > * { position: relative; z-index: 2; }

/* RESPONSIVE DESIGN (MOBILE-FIRST) */
@media (max-width: 1024px) {
  .container { max-width: 94vw; }
  .footer-brand { max-width: 240px; }
  .team-bio-list, .feature-grid, .service-list { gap: 16px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 10px; }
  footer .container { gap: 20px; }
}
@media (max-width: 850px) {
  .footer-brand { max-width: 180px; }
  .content-wrapper { gap: 19px; }
}
@media (max-width: 768px) {
  .container { padding-left: 8px; padding-right: 8px; }
  .content-wrapper { gap: 11px; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    position: relative;
    min-height: 64px;
  }
  .section {
    padding: 24px 5px;
    margin-bottom: 38px;
    border-radius: 13px;
  }
  .card, .feature, .service-item, .team-member, .testimonial-card, .contact-detail {
    min-width: unset;
    width: 100%;
    border-radius: 12px;
    padding-left: 11px; padding-right: 11px;
    font-size: 0.98rem;
  }
  .feature-grid, .service-list, .team-bio-list, .testimonial-list, .testimonial-slider, .process-steps {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section, .content-grid, .contact-info, .contact-details {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  .footer-nav, .footer-legal {
    flex-direction: column;
    gap: 8px;
  }
  footer .container {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.4rem; }
  .cta-btn { min-width: 130px; padding: 13px 10px; font-size: 0.98rem; }
  .section:before, .section:after {
    display: none;
  }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cookie-banner-message { font-size: 0.98rem; }
  .cookie-modal { min-width: 0; width: 97vw; padding: 23px 7px 18px 7px; }
}
@media (max-width: 430px) {
  .logo img { height: 36px; }
  .content-wrapper { gap: 6px; }
  .footer-brand img { max-width: 34px; }
}

/* ACCESSIBILITY */
::-webkit-input-placeholder { color: #B2A89A; }
::-moz-placeholder { color: #B2A89A; }
:-ms-input-placeholder { color: #B2A89A; }
::placeholder { color: #B2A89A; }

/* MISC PATTERNS FOR SPACING & CONSISTENCY */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
