/* === CSS 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, 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: #fff;
  color: #27284A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}

/* === BRAND FONTS === */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #27284A;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  font-weight: 700;
}
h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; line-height: 1.25; }
h3 { font-size: 1.25rem; font-weight: 600; }

p, li, ul, ol {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #27284A;
  font-size: 1rem;
  margin-bottom: 16px;
}

strong {
  font-weight: 600;
  color: #27284A;
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(39,40,74,0.04);
}
@media (max-width: 600px) {
  .section {
    padding: 32px 8px;
    margin-bottom: 36px;
    border-radius: 8px;
  }
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.card-container, .feature-grid, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(39,40,74,0.08);
  padding: 24px;
  min-width: 240px;
  flex: 1 1 300px;
  transition: box-shadow 0.3s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(39,40,74,0.12);
}
.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: 18px;
  }
}

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

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F5F3E7;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(39,40,74,0.06);
  margin-bottom: 24px;
  max-width: 750px;
  transition: box-shadow 0.3s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px rgba(39,40,74,0.12);
  transform: translateY(-3px);
}
.review-client {
  margin-top: 8px;
  font-size: 0.96rem;
  color: #B18956;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.2px;
}

/* === HEADER/NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(39,40,74,0.02);
  padding: 0;
  z-index: 1000;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1200px;
  gap: 16px;
}
.desktop-menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.desktop-menu a {
  color: #27284A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 6px 4px;
  border-radius: 4px;
  position: relative;
  transition: color 0.2s, background 0.2s;
}
.desktop-menu a:hover, .desktop-menu a:focus {
  color: #B18956;
  background: rgba(177,137,86,0.04);
}

.cta-button {
  background: #27284A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 26px;
  box-shadow: 0 2px 12px rgba(39,40,74,0.05);
  cursor: pointer;
  margin-left: 18px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.18s;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #B18956;
  color: #27284A;
  box-shadow: 0 4px 22px rgba(39,40,74,0.15);
  transform: translateY(-2px);
}

/* === HAMBURGER MENU (MOBILE ONLY) === */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #27284A;
  cursor: pointer;
  margin-left: 14px;
  z-index: 1201;
  line-height: 1;
  transition: color 0.18s;
}

@media (max-width: 1024px) {
  .desktop-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(39,40,74,0.25);
  z-index: 1200;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(.44,.43,.2,1);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu nav.mobile-nav {
  background: #fff;
  min-width: 74vw;
  max-width: 340px;
  height: 100vh;
  box-shadow: -2px 0 18px rgba(39,40,74,0.10);
  display: flex;
  flex-direction: column;
  padding: 44px 28px 24px 24px;
  gap: 18px;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(.44,.43,.2,1);
}
.mobile-menu.open nav.mobile-nav {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #27284A;
  font-size: 2.1rem;
  position: absolute;
  top: 20px;
  right: 22vw;
  z-index: 1203;
  cursor: pointer;
  padding: 4px 10px;
  line-height: 1;
  transition: color 0.18s;
}
.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  color: #27284A;
  border-bottom: 1px solid #F5F3E7;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #B18956;
  background: rgba(177,137,86,0.05);
  border-radius: 4px;
}
@media (max-width:600px) {
  .mobile-menu nav.mobile-nav {
    min-width: 100vw;
    padding: 54px 14px 24px 16px;
  }
  .mobile-menu-close {
    right: 10px;
    font-size: 2.1rem;
  }
}

/* === MAIN CONTENT === */
main {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
  padding-top: 32px;
  margin-bottom: 80px;
}
@media (max-width: 600px) {
  main {
    padding-top: 18px;
    gap: 30px;
  }
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(39,40,74,0.04);
  padding: 22px 18px;
  min-width: 190px;
  transition: box-shadow 0.22s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 22px rgba(39,40,74,0.12);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  opacity: .86;
}

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

/* === FOOTER === */
footer {
  background: #f7f7f7;
  padding: 36px 0 12px 0;
  position: relative;
  box-shadow: 0 -2px 16px rgba(39,40,74,0.03);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.footer-menu {
  display: flex;
  gap: 10px;
  font-size: .95rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #AAA;
  margin-bottom: 0;
}
.footer-menu a {
  color: #27284A;
  opacity: .81;
  transition: color 0.16s;
}
.footer-menu a:hover {
  color: #B18956;
  opacity: 1;
}
.contact-info {
  font-size: 1rem;
  color: #76777D;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.contact-info img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 8px;
  opacity: .65;
}

@media (min-width:768px) {
  footer .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
  }
}

/* === LISTS & TEXT BLOCKS === */
ul, ol {
  list-style:square inside;
  margin-bottom: 16px;
  margin-top: 6px;
}
ul li, ol li {
  margin-bottom: 9px;
  padding-left: 3px;
}
.text-section {
  padding: 18px 0 2px 0;
}

/* === FORMS === */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #e2e2e2;
  padding: 9px 12px;
  background: #fff;
  margin-bottom: 18px;
  width: 100%;
  outline: none;
  box-shadow: 0 1px 3px rgba(39,40,74,0.03);
  transition: border 0.17s, box-shadow 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #B18956;
  box-shadow: 0 0 0 2px rgba(177,137,86,0.14);
}
button {
  font-family:'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  background: #27284A;
  color: #fff;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.13s;
}
button:hover, button:focus {
  background: #B18956;
  color: #27284A;
  box-shadow: 0 2px 10px rgba(39,40,74,0.09);
}

/* === COOKIE CONSENT BANNER === */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1800;
  background: #fff;
  box-shadow: 0 -2px 18px rgba(39,40,74,0.07);
  border-top: 1px solid #F5F3E7;
  padding: 28px 16px 18px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: transform 0.3s cubic-bezier(.44,.43,.2,1), opacity 0.28s;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-consent-message {
  color: #27284A;
  font-size: 1rem;
  flex: 1 1 auto;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-btn {
  padding: 9px 15px;
  border-radius: 6px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #F5F3E7;
  color: #27284A;
  border: 1px solid #e2e2e2;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border 0.18s;
}
.cookie-btn.accept {
  background: #B18956;
  color: #fff;
  border: 1px solid #B18956;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #27284A;
  color: #fff;
  border-color: #27284A;
}
.cookie-btn.reject {
  background: #fff;
  color: #B18956;
  border: 1px solid #B18956;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #B18956;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: #27284A;
  border: 1px solid #F5F3E7;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F5F3E7;
  color: #B18956;
}
@media (max-width: 750px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 20px 8px 10px 8px;
  }
}

/* Cookie Preferences Modal */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(39,40,74,0.18);
  z-index: 1910;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 44px rgba(39,40,74,0.16);
  padding: 38px 30px 30px 30px;
  max-width: 490px;
  width: 90vw;
  z-index: 1912;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeInModal .2s cubic-bezier(.44,.43,.2,1);
}
@keyframes fadeInModal {
  0% {transform: translateY(40px) scale(0.98); opacity:0;}
  100%{transform: translateY(0) scale(1); opacity:1;}
}
.cookie-modal-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cookie-modal-header h2 {
  font-size: 1.3rem;
  margin-bottom: 0;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #27284A;
  cursor: pointer;
  padding: 2px 8px;
  line-height: 1;
  transition: color 0.17s;
}
.cookie-modal-close:hover {
  color: #B18956;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid #F5F3E7;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category-label strong {
  font-weight: 600;
  color: #27284A;
  margin-right: 6px;
}
.cookie-toggle-switch {
  position: relative;
  width: 41px;
  height: 22px;
  display: inline-flex;
  align-items: center;
}
.cookie-switch-checkbox {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-switch-slider {
  position: absolute;
  cursor: pointer;
  left: 0; right:0; top:0; bottom:0;
  background: #F5F3E7;
  border-radius: 22px;
  transition: background 0.18s;
}
.cookie-switch-checkbox:checked + .cookie-switch-slider {
  background: #B18956;
}
.cookie-switch-slider:before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(39,40,74,0.10);
  transition: transform 0.19s;
}
.cookie-switch-checkbox:checked + .cookie-switch-slider:before {
  transform: translateX(19px);
}

.cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 10px;
  justify-content: flex-end;
}
@media (max-width:600px) {
  .cookie-modal {
    padding: 22px 8px 16px 8px;
    border-radius: 9px;
    max-width: 99vw;
  }
  .cookie-modal-header h2 {
    font-size: 1.1rem;
  }
  .cookie-modal-footer {
    flex-direction: column;
    gap: 8px;
  }
  .cookie-category {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* === SPACING/ALIGNMENT === */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; }
.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; }

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

/* === SUBTLE SHADOWS (all cards/sections) === */
.section, .card, .testimonial-card, .feature-grid>div {
  box-shadow: 0 1px 8px rgba(39,40,74,0.05);
  border-radius: 14px;
}

/* === TRANSITIONS FOR BUTTONS & ELEMENTS === */
a, .cta-button, button, .card, .feature-grid>div, .testimonial-card {
  transition: background 0.2s, color 0.2s, box-shadow 0.22s, transform 0.18s;
}

/* === RESPONSIVE: GENERAL === */
@media (max-width: 980px) {
  .container { max-width: 98vw; }
  .section { padding: 28px 6px; }
}
@media (max-width: 768px) {
  .container { padding: 0 6px; }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
  }
  main {
    margin-bottom: 38px;
    gap: 20px;
  }
}

/* === UTILITIES === */
.hide-mobile { display: block !important; }
@media (max-width: 1024px) {
  .hide-mobile { display: none !important; }
}

/* === TYPOGRAPHY SCALE === */
.display-1 { font-size: 2.6rem; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; }
.display-2 { font-size: 2rem; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; }
.display-3 { font-size: 1.5rem; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; }

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