/* =====================================================
   CSS RESET & BASE STYLES
====================================================== */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #44306a;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
a { color: #c47131; text-decoration: none; transition: color 0.2s; }
a:focus, a:hover { color: #5C4D7D; text-decoration: underline; outline: none; }
img { max-width: 100%; display: block; border-radius: 12px; }
ul, ol { list-style: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; transition: background 0.2s, color 0.2s; }
input, textarea, select {
  font-family: inherit; font-size: 16px; padding: 8px 12px; border-radius: 8px; border: 1px solid #EFD9CE;
  background: #fff;
}

/* Brand font for headlines */
h1,h2,h3,h4,h5,h6,
.button.display, .display, .headline {
  font-family: 'Playfair Display', 'Georgia', serif;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: #44306a;
}
h1 { font-size: 2.25rem; margin-bottom: 16px; }
h2 { font-size: 1.75rem; margin-bottom: 12px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
.subheadline { font-size: 1.2rem; line-height: 1.5; margin-bottom: 20px; color: #5C4D7D; }

/* ========================
   LAYOUT CONTAINERS
========================== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* ============================
   FLEXBOX SPACING PATTERNS
============================ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(196, 113, 49, 0.05);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #FFF;
  border-radius: 16px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 16px rgba(196, 113, 49, 0.08);
  transition: box-shadow 0.2s;
  flex: 1 0 250px;
  min-width: 220px;
  max-width: 380px;
}
.card:hover { box-shadow: 0 7px 32px rgba(196, 113, 49, 0.12); }
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  padding: 20px 28px;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(92, 77, 125, 0.09);
  min-width: 260px;
  margin-bottom: 20px;
  flex: 1 1 310px;
  transition: transform .15s, box-shadow .15s;
}
.testimonial-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 40px rgba(92, 77, 125,0.13);
}
.testimonial-card p { color: #5C4D7D; font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.97rem;
  color: #44306a;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #EFD9CE;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(196,113,49,0.045);
  padding: 24px;
  transition: box-shadow 0.16s;
}
.feature-item:hover { box-shadow: 0 4px 24px rgba(92, 77, 125,0.09); }

/* ===============
   HEADER & NAV
================= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 16px rgba(92, 77, 125, 0.05);
  position: relative;
  z-index: 99;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}
header a img { height: 48px; width: auto; border-radius: 0; }
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  color: #44306a;
  font-weight: 500;
  font-size: 1rem;
  padding: 5px 2px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #EFD9CE;
  color: #c47131;
}
.button.primary {
  background: #c47131;
  color: #fff;
  padding: 13px 28px;
  border-radius: 28px;
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 16px rgba(92, 77, 125,0.045);
  letter-spacing: 0.03em;
  margin-left: 20px;
  transition: background 0.18s, box-shadow 0.15s, color 0.18s;
  cursor: pointer;
  display: inline-block;
  outline: none;
}
.button.primary:hover,
.button.primary:focus {
  background: #5C4D7D;
  color: #EFD9CE;
  box-shadow: 0 7px 36px rgba(196,113,49,0.14);
}

/* ===============
   MOBILE MENU
================= */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: #EFD9CE;
  color: #5C4D7D;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  transition: background 0.17s, color 0.17s;
  margin-left: 18px;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #c47131;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(92,77,125,0.93);
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.5,.88,.36,1.01);
  display: flex;
  flex-direction: column;
  z-index: 2010;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 28px 12px 0;
  background: none;
  font-size: 2.2rem;
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.19s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #c47131;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  margin-top: 32px;
}
.mobile-nav a {
  color: #FFF;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 21px;
  background: none;
  width: 78vw;
  text-align: center;
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #c47131;
  color: #fff;
}

/* Responsive Mobile Nav */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .button.primary { margin-left: 0; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* =====================
   SECTION/CARDS/GRID
====================== */
.feature-grid, .services-grid, .team-grid, .process-list, .faq-list, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
  align-items: flex-start;
  width: 100%;
}
.feature-grid > div, .services-grid > div, .team-grid > div, .process-list > div, .faq-list > div {
  flex: 1 1 260px;
  min-width: 240px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 12px rgba(196,113,49,0.07);
  padding: 20px 18px 18px 22px;
  margin-bottom: 24px;
  transition: box-shadow 0.18s;
}
.feature-grid > div:hover, .services-grid > div:hover, .team-grid > div:hover,
.process-list > div:hover, .faq-list > div:hover {
  box-shadow: 0 10px 36px rgba(196, 113, 49, 0.13);
}
.team-section h3 { margin-top: 32px; font-size: 1.15rem; color: #c47131; }

/* ===============================
   TESTIMONIAL/REVIEWS ENSURE CONTRAST
=================================== */
.testimonial-card {
  background: #fff;
  color: #44306a;
}
.testimonial-card strong { color: #5C4D7D; }
.testimonial-meta span {
  color: #c47131;
  font-weight: 600;
  margin-left: 8px;
  font-size: 1.05em;
  display: flex;
  align-items: center;
}
.testimonial-meta img { height: 18px; width: 18px; margin-right: 4px; }

/* ==========
   BUTTONS
============ */
.button, button {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 24px;
  color: #fff;
  background: #5C4D7D;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(196,113,49,0.075);
  transition: background 0.17s, color 0.17s, box-shadow 0.15s, transform 0.13s;
  outline: none;
}
.button.primary {
  background: #c47131;
  color: #fff;
}
.button.secondary {
  background: #EFD9CE;
  color: #44306a;
}
.button.secondary:hover, .button.secondary:focus { background: #c47131; color: #fff; }
.button:hover, button:hover, .button:focus, button:focus {
  background: #5C4D7D;
  color: #EFD9CE;
  box-shadow: 0 7px 24px rgba(196,113,49,0.18);
  transform: translateY(-2px) scale(1.025);
}

/* =============
   FORMS INPUTS
=============== */
input:focus, textarea:focus, select:focus {
  border-color: #c47131;
  box-shadow: 0 2px 8px rgba(196,113,49,0.09);
  outline: none;
}

/* ==============
   FOOTER
================ */
footer {
  background: #f9f6f4;
  padding: 44px 0 20px 0;
  margin-top: 40px;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  box-shadow: 0 -4px 34px rgba(92,77,125,0.04);
}
footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 22px;
}
.footer-nav a {
  color: #5C4D7D;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #c47131;
  text-decoration: underline;
}
.footer-contact {
  color: #44306a;
  font-size: 0.95rem;
}
.footer-contact a { color: #c47131; text-decoration: underline; }

/* Legal/Light Section */
.legal-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 10px rgba(196,113,49,0.05);
  padding: 26px 16px;
}

/* ================
   RESPONSIVE DESIGN
=================== */
@media (max-width: 1024px) {
  .container { max-width: 98vw; }
  .feature-grid, .services-grid, .team-grid, .process-list, .faq-list, .testimonial-slider {
    gap: 16px;
  }
  footer .container {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 6vw; }
  header .container {
    flex-direction: row;
    gap: 10px;
    padding: 12px 8px;
  }
  .section {
    padding: 28px 4vw;
    margin-bottom: 34px;
  }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  .subheadline { font-size: 1rem; }
  .feature-grid > div, .services-grid > div, .team-grid > div, .process-list > div, .faq-list > div, .testimonial-card {
    min-width: 98%;
    padding: 15px 10px 14px 16px;
  }
  .feature-grid, .services-grid, .team-grid, .process-list, .faq-list, .testimonial-slider {
    flex-direction: column;
    gap: 15px;
  }
  .testimonial-slider { gap: 20px; }
  .testimonial-card { flex-direction: column; gap: 10px; padding: 17px 12px; }
  .content-wrapper, .contact-section { gap: 16px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 16px; }
  .content-grid { flex-direction: column; gap: 10px; }
}
@media (max-width: 540px) {
  .container { padding: 0 2vw; }
  header .container { gap: 4px; padding: 9px 2vw; }
}

/* =================
   COOKIE CONSENT
=================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #EFD9CE;
  color: #44306a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 19px 18px 17px 18px;
  z-index: 3000;
  box-shadow: 0 -2px 18px rgba(221, 141, 75, 0.14);
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.32s cubic-bezier(.5,.88,.36,1.01), opacity 0.18s;
  animation: cookieDropIn 0.45s cubic-bezier(.5,.88,.36,1.01);
}
@keyframes cookieDropIn {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(200px);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  font-size: 1rem;
  max-width: 400px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 9px;
  align-items: center;
}
.cookie-banner .button, .cookie-banner button {
  font-size: 0.98rem;
  border-radius: 16px;
  padding: 9px 18px;
  font-family: 'Playfair Display', serif;
  min-width: 115px;
}
.cookie-banner .button.primary {
  background: #c47131;
  color: #fff;
}
.cookie-banner .button.secondary {
  background: #fff;
  color: #c47131;
  border: 1px solid #c47131;
}
.cookie-banner .button.secondary:hover {
  background: #c47131;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 11px;
    padding: 16px 7px 13px 7px;
    align-items: flex-start;
  }
  .cookie-banner .cookie-text { font-size: 0.98rem; max-width: 95vw; }
  .cookie-banner .cookie-btns { flex-direction: column; width: 100%; gap: 7px; }
}

/* ================
   COOKIE MODAL
================== */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(92,77,125,0.79);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  animation: modalIn .36s cubic-bezier(.5,.88,.36,1.01);
}
@keyframes modalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  padding: 36px 26px 22px 26px;
  border-radius: 26px;
  box-shadow: 0 8px 46px rgba(92,77,125,0.13);
  width: 90vw;
  max-width: 420px;
  color: #44306a;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: stretch;
  animation: modalBoxIn .33s cubic-bezier(.5,.88,.36,1.01);
}
@keyframes modalBoxIn {
  from { transform: translateY(50px) scale(0.93); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.32rem;
  color: #c47131;
  margin-bottom: 9px;
  margin-top: 0;
}
.cookie-modal .cookie-opt-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 17px;
}
.cookie-modal .cookie-opt-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  color: #5C4D7D;
}
.cookie-modal .cookie-switch {
  width: 32px; height: 18px;
  position: relative; display: inline-block;
}
.cookie-modal .cookie-switch input {
  opacity: 0; width: 0; height: 0;
}
.cookie-modal .cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #EFD9CE;
  border-radius: 24px;
  transition: background 0.21s;
}
.cookie-modal .cookie-switch input:checked + .cookie-slider {
  background: #c47131;
}
.cookie-modal .cookie-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: 20px;
  transition: .21s;
}
.cookie-modal .cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(14px);
}

.cookie-modal .cookies-desc {
  font-size: .93rem;
  color: #44306a;
  margin-top: -10px;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .button {
  min-width: 110px;
  font-size: 1.01rem;
  border-radius: 17px;
  padding: 9px 18px;
}
.cookie-modal .button.primary { background: #c47131; color: #fff; }
.cookie-modal .button.secondary { background: #EFD9CE; color: #c47131; border: 1px solid #c47131; }
.cookie-modal .button.secondary:hover { background: #c47131; color: #fff; }
.cookie-modal .button.close-modal {
  background: #fff;
  color: #5C4D7D;
  border: 1px solid #EFD9CE;
  margin-right: auto;
  font-weight: 500;
  padding: 9px 18px;
}
.cookie-modal .button.close-modal:hover  {
  background: #EFD9CE;
  color: #c47131;
}

/* ==============
   MISC & UTILS
================ */
::-webkit-scrollbar { width: 12px; background: #e8e4e0; border-radius: 8px; }
::-webkit-scrollbar-thumb { background: #EFD9CE; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #c47131; }

hr { border: none; border-top: 1px solid #EFD9CE; margin: 24px 0; }

/* ================
   SPACING & VISUALS
=================== */
section { margin-bottom: 60px; padding: 40px 20px; }

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


/* ===================================================
   END OF STYLES
===================================================== */
