/* RESET & BASE STYLES */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: linear-gradient(120deg, #F5F0E8 0%, #fff 70%);
  color: #342B47;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #4C3E76;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B06A32;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: #4C3E76;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #B06A32;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.12rem;
  margin-bottom: 6px;
}
p {
  margin-bottom: 16px;
  color: #342B47;
  font-size: 1rem;
  line-height: 1.6;
}
b,strong {
  font-weight: bold;
}
ul, ol {
  margin-bottom: 16px;
  margin-left: 24px;
  color: #342B47;
  font-size: 1rem;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.text-section ul,
.text-section ol {
  margin-bottom: 24px;
}

/* BUTTONS */
.button-primary, .button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 28px;
  padding: 12px 36px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(76,62,118,0.07);
  transition: background 0.3s, color 0.2s, box-shadow 0.2s, transform 0.12s;
  margin-top: 10px;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.button-primary {
  background: linear-gradient(90deg, #4C3E76 20%, #B06A32 100%);
  color: #fff;
  box-shadow: 0 4px 20px 0 rgba(76,62,118,0.09);
}
.button-primary:hover, .button-primary:focus {
  background: linear-gradient(90deg, #B06A32 50%, #4C3E76 100%);
  color: #fff;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(176,106,50,0.11);
}
.button-secondary {
  background: #F5F0E8;
  color: #4C3E76;
  border: 2px solid #B06A32;
}
.button-secondary:hover, .button-secondary:focus {
  background: #B06A32;
  color: #fff;
  border-color: #B06A32;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 18px 0 rgba(176,106,50,0.11);
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 24px 0 rgba(76,62,118,0.06);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
header img {
  height: 48px;
  width: auto;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
header nav a {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #342B47;
  padding: 4px 12px;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a.active {
  background: #F5F0E8;
  color: #B06A32;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #4C3E76;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  margin-right: 0;
  z-index: 22;
}

@media (max-width: 1024px) {
  header .container {
    flex-wrap: wrap;
    gap: 10px;
  }
  header img {
    height: 40px;
  }
  header nav {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .button-primary {
    display: none !important;
  }
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 110;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.54,.05,.58,1.0);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 32px;
  padding-left: 26px;
  padding-right: 26px;
  padding-bottom: 28px;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: -4px 0 32px 0 rgba(76,62,118,0.12);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #4C3E76;
  font-size: 2.3rem;
  align-self: flex-end;
  margin-bottom: 8px;
  cursor: pointer;
  z-index: 120;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.21rem;
  color: #342B47;
  padding: 14px 0;
  border-radius: 10px;
  transition: background 0.21s, color 0.18s;
}
.mobile-nav a:hover {
  background: #F5F0E8;
  color: #B06A32;
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* MAIN LAYOUT */
main {
  width: 100%;
  min-height: 70vh;
  padding-top: 10px;
  padding-bottom: 40px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.text-section {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 18px 0 rgba(76,62,118,0.09);
  padding: 26px 20px;
  transition: box-shadow 0.18s, transform 0.13s;
  min-width: 250px;
  flex: 1 1 270px;
  max-width: 100%;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(76,62,118,0.18);
  transform: translateY(-3px) scale(1.025);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

@media (max-width: 992px) {
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
}

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

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F5F0E8;
  border-radius: 16px;
  padding: 20px 28px;
  box-shadow: 0 2px 10px 0 rgba(176,106,50,0.04);
  margin-bottom: 24px;
  position: relative;
  min-width: 260px;
  max-width: 560px;
}
.testimonial-card p {
  color: #342B47;
  font-size: 1.05rem;
  margin-bottom: 10px;
  font-style: italic;
  letter-spacing: 0.01em;
}
.testimonial-card div b {
  color: #4C3E76;
  font-size: 1.01rem;
}
.testimonial-card span {
  color: #B06A32;
  font-size: 1.18rem;
  margin-left: 8px;
}

/* VISUAL ELEMENTS */
.map-placeholder {
  background: linear-gradient(90deg,#f5f0e8 60%,#e9e3da 100%);
  border-radius: 14px;
  color: #4C3E76;
  padding: 16px 18px;
  font-size: 1.01rem;
  margin-top: 16px;
  min-height: 60px;
  box-shadow: 0 2px 8px 0 rgba(76,62,118,0.04);
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, #4C3E76 0%, #B06A32 100%);
  color: #fff;
  padding-top: 36px;
  padding-bottom: 24px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}
footer nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: color 0.16s, text-decoration 0.18s;
  font-size: 0.98rem;
  padding: 5px 10px;
  border-radius: 8px; 
}
footer nav a:hover {
  background: #fff;
  color: #4C3E76;
}
footer .social-links {
  display: flex;
  gap: 12px;
}
footer .social-links img {
  width: 24px;
  height: 24px;
  filter: brightness(96%);
  transition: filter 0.17s;
}
footer .social-links a:hover img {
  filter: brightness(70%);
}
footer > .container > div {
  font-size: 0.92rem;
  margin-top: 10px;
}

@media (max-width: 800px) {
  footer .container { flex-direction: column; gap: 18px; align-items: flex-start; }
}

/* SPACING & LAYOUT (MANDATORY PATTTERNS) */
.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; }

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.45rem; }
  .section { margin-bottom: 36px; padding: 24px 10px; }
  .container { padding-left: 10px; padding-right: 10px; }
  .card { padding: 18px 10px; }
  .card-container { gap: 14px; }
  .content-grid { flex-direction: column; gap: 16px; }
  .testimonial-card { padding: 10px 10px; }
  .footer .container { flex-direction: column; gap: 9px; }
  .mobile-menu { padding-left: 10px; padding-right: 10px; }
}

/* MICRO-INTERACTIONS */
.card:focus-within, .card:active {
  box-shadow: 0 10px 36px 0 rgba(76,62,118,0.13);
  outline: none;
}
.button-primary:active, .button-secondary:active {
  transform: scale(0.97);
}

/* ACCESSIBILITY: FOCUS STATES */
a:focus, button:focus {
  outline: 2px dashed #B06A32;
  outline-offset: 3px;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 4px solid #B06A32;
  box-shadow: 0 -4px 28px 0 rgba(76,62,118,0.08);
  z-index: 300;
  padding: 22px 18px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: center;
  animation: cookie-fadein 0.42s cubic-bezier(.31, .86, .56, 1.06);
}
@keyframes cookie-fadein {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #342B47;
  font-size: 1rem;
  margin-bottom: 0;
  max-width: 600px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  border: none;
  border-radius: 24px;
  background: #4C3E76;
  color: #fff;
  padding: 8px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin: 0 3px;
  cursor: pointer;
  transition: background 0.23s, color 0.14s, transform 0.11s;
}
.cookie-btn.accept {
  background: #B06A32;
  color: #fff;
}
.cookie-btn.reject {
  background: #F5F0E8;
  color: #B06A32;
  border: 2px solid #B06A32;
}
.cookie-btn.settings {
  background: #4C3E76;
  color: #fff;
  border: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #c9936d;
  color: #fff;
  transform: translateY(-1px) scale(1.04);
}
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(52,43,71,0.32);
  z-index: 350;
  display: none;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fadein 0.23s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes cookie-modal-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 36px 0 rgba(76,62,118,0.17);
  padding: 38px 30px 28px 30px;
  min-width: 320px;
  width: 96%;
  max-width: 420px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.38rem;
  margin-bottom: 14px;
  color: #4C3E76;
  letter-spacing: -0.02em;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 1.01rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #B06A32;
  width: 18px; height: 18px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 10px;
  font-size: 1.7rem;
  color: #B06A32;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2;
}

@media (max-width: 550px) {
  .cookie-modal { min-width: 0; padding: 16px 7vw 18px 7vw; }
  .cookie-banner { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* OTHER UTILS */
::-webkit-input-placeholder { color: #B7B7B7; opacity: 1; }
::-moz-placeholder { color: #B7B7B7; opacity:1; }
:-ms-input-placeholder { color: #B7B7B7; opacity:1; }
::placeholder { color: #B7B7B7; opacity:1; }

/**** CUSTOM FONTS ****/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Playfair+Display:wght@700&display=swap');

/**** HELPER CLASSES ****/
.mb-0 { margin-bottom: 0!important; }
.mb-16 { margin-bottom: 16px!important; }
.gap-20 { gap: 20px!important; }
.mt-12 { margin-top: 12px!important; }

/**** VISUAL HIERARCHY & EFFECTS ****/
section {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 22px 0 rgba(76,62,118,0.05);
  margin-bottom: 40px;
  transition: box-shadow 0.19s;
}
section:hover {
  box-shadow: 0 10px 40px 0 rgba(76,62,118,0.07);
}

/* FORM ELEMENTS (if present in contact forms) */
input[type=text], input[type=email], textarea {
  border: 1px solid #B7B7B7;
  border-radius: 10px;
  font-size: 1rem;
  padding: 11px 16px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  outline: none;
  background: #F5F0E8;
  transition: border 0.17s;
  margin-bottom: 14px;
  width: 100%;
}
input[type=text]:focus, input[type=email]:focus, textarea:focus {
  border-color: #B06A32;
  background: #fff;
}

/* Card background visual for "gradient_modern" */
.card, .testimonial-card, .cookie-modal {
  background: linear-gradient(110deg, #fff 80%, #f5f0e8 100%);
}

/**** ENSURE ALL GAP/MARGIN PATTERNS ARE ENFORCED ****/
.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; }

/**** END OF CSS ****/
