/* ========== CSS RESET AND 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: #ECE3CE;
  color: #35396C;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus {
  outline: 2px solid #B25C11;
  outline-offset: 2px;
}
ul, ol {
  padding-left: 1.5em;
}
button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}
*, *:before, *:after { box-sizing: inherit;}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  color: #35396C;
  letter-spacing: 0.015em;
  font-weight: 700;
}
h1 { font-size: 2.25rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.125rem; margin-bottom: 10px; }
h4 { font-size: 1rem; }
.subheadline {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: #B25C11;
  margin-bottom: 30px;
}
p, li {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #35396C;
  margin-bottom: 15px;
}
strong { font-weight: 700; }

/* ========== CONTAINER & SECTIONS ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(53,57,108,0.09);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ========== HEADER & NAV ========== */
header {
  background: #fff;
  border-bottom: 5px solid #CA7E3F;
  box-shadow: 0 1px 8px rgba(53,57,108,0.07);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}
header img {
  height: 52px;
  width: auto;
}
nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #35396C;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.22s cubic-bezier(.9,.1,.3,.99);
  position: relative;
  letter-spacing: 0.025em;
}
nav a:hover, nav a:focus {
  color: #B25C11;
}
.cta-button {
  background: #CA7E3F;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  border-radius: 12px 30px 12px 30px;
  padding: 14px 30px;
  box-shadow: 0 8px 28px rgba(202,126,63,0.12), 0 2px 8px rgba(53,57,108,0.07);
  border: none;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.18s cubic-bezier(.7,.1,.2,.99), transform 0.16s;
  outline: none;
  margin-left: 12px;
}
.cta-button:hover,.cta-button:focus {
  background: #B25C11;
  transform: translateY(-2px) scale(1.04);
}

/* ========== MOBILE NAV ========== */
.mobile-menu-toggle {
  display: none;
  background: #CA7E3F;
  color: #fff;
  font-size: 2.1rem;
  padding: 7px 20px;
  border-radius: 10px;
  border: none;
  margin-left: auto;
  transition: background .2s;
  z-index: 101;
}
.mobile-menu-toggle:hover { background: #B25C11; }
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  height: 100vh; width: 100vw;
  background: #ffffff;
  box-shadow: 0 22px 44px rgba(53,57,108,0.13);
  z-index: 100;
  padding: 30px 30px 50px 30px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.88,.01,.2,.98);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.5rem;
  background: none;
  color: #35396C;
  margin-bottom: 30px;
  border: 0;
  border-radius: 8px;
  padding: 3px 24px 3px 3px;
  line-height: 1;
  transition: background .19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #ECE3CE;
  color: #CA7E3F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  margin-top: 8px;
  margin-bottom: 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #35396C;
  padding: 14px 0 8px 5px;
  border-radius: 8px;
  transition: background 0.18s, color 0.17s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f5ede2;
  color: #B25C11;
}
@media (max-width: 1100px) {
  nav {
    gap: 18px;
  }
}
@media (max-width: 920px) {
  header .container nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ========== HERO SECTIONS ========== */
.hero {
  background: linear-gradient(120deg, #ECE3CE 70%, #fff 100%);
  padding: 32px 0 32px 0;
  margin-bottom: 0px;
  border-radius: 0 0 42px 42px;
  box-shadow: 0 6px 24px rgba(53,57,108,0.06);
}
.hero .container {
  flex-direction: row;
  align-items: center;
  gap: 34px;
}
.hero .content-wrapper {
  justify-content: center;
}

/* ========== FEATURE / CARD GRIDS ========== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #fff;
  border: 2.5px solid #CA7E3F;
  border-radius: 22px;
  box-shadow: 0 3px 16px rgba(53,57,108,0.06);
  padding: 28px 24px;
  min-width: 240px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.14s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 36px rgba(202,126,63,0.11), 0 3px 12px rgba(53,57,108,0.08);
  transform: translateY(-4px) scale(1.024);
  z-index: 2;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== CARDS ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 18px rgba(53,57,108,0.08);
  position: relative;
  padding: 32px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow .18s, transform .15s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(53,57,108,0.13);
  transform: translateY(-3px) scale(1.018);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
}

.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: flex-start;
  }
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f7f6f2;
  border-left: 5px solid #CA7E3F;
  border-radius: 18px;
  box-shadow: 0 1px 8px rgba(53,57,108,0.09);
  min-width: 280px;
  max-width: 600px;
  margin-bottom: 20px;
  transition: box-shadow .17s, border .16s;
}
.testimonial-card p {
  color: #35396C;
  font-style: italic;
  flex: 1 1 auto;
  font-size: 1.07rem;
}
.testimonial-card span {
  color: #B25C11;
  font-family: Montserrat, Arial Black, Arial, sans-serif;
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(202,126,63,0.07), 0 1.5px 8px rgba(53,57,108,0.16);
  border-left-color: #B25C11;
}

/* ========== TEXT SECTION ========== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

/* ========== MAP SNIPPET ========== */
.map-snippet {
  background: #ECE3CE;
  border: 3px dashed #CA7E3F;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  margin-bottom: 16px;
}

/* ========== FOOTER ========== */
footer {
  background: #35396C;
  color: #fff;
  padding: 42px 0 16px 0;
  border-radius: 42px 42px 0 0;
  margin-top: 38px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 48px;
  justify-content: space-between;
}
footer img {
  max-height: 48px;
  margin-bottom: 8px;
  width: auto;
}
footer nav {
  flex-direction: column;
  gap: 16px;
}
footer nav a {
  color: #F7F6F9;
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
  font-size: 0.97rem;
  margin-bottom: 0;
  transition: color .16s;
}
footer nav a:hover {
  color: #CA7E3F;
  text-decoration: underline;
}
.footer-contact {
  font-size: 0.95rem;
  color: #ECE3CE;
  background-color: #ECE3CE;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-contact img {
  display: inline-block;
  vertical-align: middle;
  height: 1.1em;
  margin-right: 4px;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 4px solid #CA7E3F;
  box-shadow: 0 -2.5px 12px rgba(53,57,108,0.08);
  z-index: 300;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 38px;
  padding: 24px 18px 18px 18px;
  transition: transform .42s cubic-bezier(.8,.05,.19,.99);
}
.cookie-banner.fade-out {
  transform: translateY(120%);
}
.cookie-banner__text {
  font-size: 1rem;
  color: #35396C;
  font-family: 'Roboto', Arial, sans-serif;
  margin-right: 18px;
}
.cookie-banner__actions {
  display: flex;
  gap: 17px;
  align-items: center;
}
.cookie-button {
  background: #35396C;
  color: #fff;
  border-radius: 13px 14px 13px 14px;
  border: none;
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 700;
  padding: 11px 24px;
  margin-right: 3.5px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(53,57,108,0.07);
  transition: background 0.15s, transform 0.12s;
}
.cookie-button.accept {
  background: #CA7E3F;
  color: #fff;
}
.cookie-button.reject {
  background: #ECE3CE;
  color: #35396C;
  border: 1.2px solid #CA7E3F;
}
.cookie-button.settings {
  background: #fff;
  color: #B25C11;
  border: 1.2px solid #B25C11;
}
.cookie-button.accept:hover, .cookie-button.accept:focus {
  background: #B25C11;
}
.cookie-button.reject:hover, .cookie-button.reject:focus {
  background: #CA7E3F;
  color: #fff;
}
.cookie-button.settings:hover, .cookie-button.settings:focus {
  background: #B25C11;
  color: #fff;
}

/* ========== COOKIE PREFERENCES MODAL ========== */
.cookie-modal-overlay {
  background: rgba(53,57,108,0.75);
  position: fixed;
  z-index: 400;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open { display: flex; }
.cookie-modal {
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 10px 60px rgba(53,57,108,0.16);
  padding: 38px 30px 28px 30px;
  max-width: 440px;
  width: 97vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: fadeInModal 0.36s cubic-bezier(.81,.03,.3,.97);
}
@keyframes fadeInModal {
  0% { transform: scale(0.84) translateY(80px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.4rem;
  color: #35396C;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #35396C;
}
.cookie-toggle input[type="checkbox"] {
  accent-color: #CA7E3F;
  width: 19px;
  height: 19px;
  cursor: pointer;
}
.cookie-toggle input[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}
.cookie-modal__actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  align-items: center;
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  font-size: 2rem;
  background: none;
  color: #CA7E3F;
  border: none;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background .18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #ECE3CE;
  color: #B25C11;
}

/* ========== RESPONSIVE LAYOUTS ========== */
@media (max-width: 950px) {
  .footer-contact, footer nav {
    font-size: 0.9rem;
    gap: 10px;
  }
  .feature-grid {
    gap: 18px;
  }
  .container {
    max-width: 92vw;
    padding-left: 13px;
    padding-right: 13px;
  }
}
@media (max-width: 768px) {
  .container,
  .section {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  .footer-contact {
    font-size: 0.9rem;
    gap: 5px;
  }
  .hero {
    border-radius: 0 0 22px 22px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .hero .container {
    gap: 13px;
  }
  footer .container {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
  .feature-grid > div, .card {
    min-width: 168px;
    max-width: 100%;
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 17px;
    padding: 13px 10px 13px 10px;
    min-width: 130px;
    max-width: 100%;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.12rem; }
  .cookie-modal { padding: 19px 7px 14px 10px; border-radius: 16px; }
  .cookie-banner { flex-direction: column; gap: 15px; padding: 14px 4px 14px 7px; }
}

/* ========== MICRO-INTERACTIONS & BUTTON EFFECTS ========== */
button, .cta-button, .cookie-button {
  transition: background 0.15s, color 0.13s, box-shadow 0.15s, transform 0.1s;
}
button:active, .cta-button:active, .cookie-button:active {
  transform: scale(.98);
}

/* ========== GEOMETRIC STRUCTURED DECORATIVE MOTIFS ========== */
/* Geometric Section Dividers (optional for visual separation) */
.section {
  border-top: 6px solid #B25C11;
  box-shadow: 0 4px 24px rgba(53,57,108,0.07);
  clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
}

/* Geometric Bullet Styling */
ul li::marker, ol li::marker {
  color: #CA7E3F;
  font-size: 1.5em;
}

/* BRAND COLOR CLASSES */
.bg-primary { background: #35396C !important; }
.bg-accent { background: #B25C11 !important; }
.bg-secondary { background: #ECE3CE !important; }
.txt-accent { color: #B25C11 !important; }
.txt-primary { color: #35396C !important; }
.txt-secondary { color: #fff !important; }

/* ========== GEOMETRIC BUTTON HOVER RIPPLE ========== */
.cta-button, .cookie-button {
  position: relative;
  overflow: hidden;
}
.cta-button:after, .cookie-button:after {
  content: "";
  display: block;
  position: absolute;
  left: 50%; top: 50%;
  width: 4px; height: 4px;
  pointer-events: none;
  background: rgba(202,126,63,0.1);
  border-radius: 50%;
  transform: scale(1);
  opacity: 0;
  transition: opacity 0.18s, transform 0.22s;
}
.cta-button:active:after, .cookie-button:active:after {
  width: 88px; height: 88px;
  left: 50%; top: 50%;
  opacity: 1;
  transform: translate(-50%,-50%) scale(1.8);
  transition: none;
  background: rgba(202,126,63,0.18);
}

/* ========== GENERAL SPACING ========== */
main > section {
  margin-bottom: 60px;
  padding-top: 0;
  padding-bottom: 0;
}
main > section:last-child {
  margin-bottom: 0;
}

/* ========== MINIMUM MARGIN & GAP BETWEEN CARDS ========== */
.card-container, .feature-grid, .content-grid {
  gap: 20px !important;
}
.card, .feature-grid > div, .testimonial-card {
  margin-bottom: 20px !important;
}
.section + .section {
  margin-top: 28px;
}

/* ========== FOCUS VISIBLE ========== */
a:focus-visible, button:focus-visible, .cta-button:focus-visible, .cookie-button:focus-visible {
  outline: 2.5px solid #CA7E3F;
  outline-offset: 1.5px;
}

/* ========== BRAND FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;700&display=swap');

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