/* ================== CSS RESET & BASE ====================== */
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, 
main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #f4f6fa;
  color: #21235b;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #21235b;
  text-decoration: none;
  transition: color 0.22s;
}
a:hover, a:focus {
  color: #b6810c;
}
ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
li {
  margin-bottom: 0.5em;
  font-size: 1em;
}
strong {
  font-weight: 700;
}

/* ================= BRAND TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #21235b;
  font-weight: 700;
  margin-bottom: 0.5em;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-top: 1.5em; }
h3 { font-size: 1.5rem; margin-top: 1.2em; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }
p, ul, ol { font-size: 1.12rem; color: #333347; }

@media (max-width:768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.15rem; }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(245,191,35,0.10);
  padding: 32px;
  margin-bottom: 24px;
}
@media (max-width: 600px) {
  .text-section { padding: 18px; }
}

/* ====================== HEADER & NAV ======================= */
header {
  background: #fffbe8;
  box-shadow: 0 2px 8px rgba(33,35,91,0.06);
  padding: 0 0;
  position: sticky;
  top: 0;
  z-index: 99;
  border-bottom: 1px solid #f5bf23;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 13px;
  color: #21235b;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #f5bf23;
  color: #21235b;
}
header nav img {
  height: 38px;
  width: auto;
  border-radius: 9px;
  margin-right: 18px;
  background: none;
}
header .mobile-menu-toggle {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 2em;
  color: #f5bf23;
  cursor: pointer;
  display: none;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.18s;
}
header .mobile-menu-toggle:focus,
header .mobile-menu-toggle:hover {
  background: #21235b11;
}

/* Responsive Nav */
@media (max-width: 900px) {
  header nav {
    gap: 13px;
    font-size: 0.99em;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  header .mobile-menu-toggle {
    display: inline-block;
  }
}

/* =================== MOBILE MENU ======================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right:0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,35,91,0.98);
  transform: translateX(-100vw);
  transition: transform 0.31s cubic-bezier(.68,-0.42,.77,1.5);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu .mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #f5bf23;
  font-size: 2.2rem;
  padding: 18px 24px 8px 0;
  cursor: pointer;
  margin: 0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 24px 32px;
  width:100%;
}
.mobile-nav a {
  color: #fffbe8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 13px;
  font-size: 1.2em;
  padding: 11px 18px;
  transition: background 0.16s, color 0.16s;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f5bf23; color: #21235b;
}
@media (min-width:769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ============= CTA BUTTONS & MICRO-INTERACTIONS ========== */
.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  padding: 14px 32px;
  margin-top: 16px;
  margin-bottom: 12px;
  border-radius: 25px;
  border: none;
  box-shadow: 0 3px 14px rgba(245,191,35,0.12);
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.22s, transform 0.14s;
  text-align: center;
}
.cta-primary {
  background: #f5bf23;
  color: #21235b;
}
.cta-primary:hover, .cta-primary:focus {
  background: #ffe9a0;
  color: #21235b;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 7px 18px rgba(245,191,35,0.16);
}
.cta-secondary {
  border: 2px solid #f5bf23;
  background: #fff;
  color: #21235b;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #21235b;
  color: #fff;
  border-color: #f5bf23;
}
button, .cta-primary, .cta-secondary {
  outline: none;
  user-select: none;
}

/* =============== FLEXBOX CARDS & CONTENT GRIDS ========= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 28px rgba(245,191,35,0.13);
  padding: 28px 24px;
  flex: 1 1 370px;
  min-width: 260px;
  transition: box-shadow 0.20s, transform 0.19s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card:hover, .card:focus {
  box-shadow: 0 12px 44px rgba(245,191,35,0.20);
  transform: translateY(-8px) scale(1.017);
}

.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; }
  .content-grid { flex-direction: column; }
  .card-container { flex-direction: column; }
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  flex: 1;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(245,191,35,0.11);
  padding: 20px 18px;
}

/* ================= TESTIMONIALS =========== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  margin-bottom: 24px;
  border-radius: 18px;
  background: #fff8e1;
  box-shadow: 0 2px 10px rgba(33,35,91,0.10);
  position: relative;
  flex-direction: column;
  min-width: 260px;
  max-width: 650px;
}
.testimonial-card p {
  font-size: 1.18em;
  color: #21235b;
  margin-bottom: 7px;
  font-family: 'Roboto',Arial, Helvetica, sans-serif;
}
.client-name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #21235b;
  font-size: 1.07em;
  margin-right: 1em;
}
.star-rating {
  color: #f5bf23;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2em;
  letter-spacing: 0.12em;
  font-weight: 700;
}
@media (min-width:500px) {
  .testimonial-card { flex-direction: row; }
}
@media (max-width:600px) {
  .testimonial-card {
    padding: 13px 8px;
  }
}

/* ============= PRICES, BADGES, ETC =============== */
.price {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #e49e16;
  background: #fff8e1;
  border-radius: 12px;
  font-size: 1em;
  padding: 3px 13px;
  margin-left: 8px;
  margin-bottom: 0.5em;
  font-weight: 600;
}

/* ============ FOOTER ========= */
footer {
  background: #21235b;
  color: #fff;
  padding: 40px 0 18px 0;
  margin-top: 60px;
  border-radius: 24px 24px 0 0;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
footer nav a {
  color: #f5bf23;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 13px;
  padding: 8px 16px;
  transition: background 0.16s, color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  background: #f5bf23;
  color: #21235b;
}
footer p {
  color: #ffe399;
  text-align: center;
  font-size: 1em;
  margin: 0;
}
@media (max-width:500px) {
  footer { padding: 26px 0 9px 0; }
}

/* ========== RESPONSIVE GENERAL SPACING ========== */
@media (max-width: 600px) {
  .container { padding: 0 4vw; }
  .section { padding: 20px 4vw; }
}

/* ========== COOKIE CONSENT BANNER =========== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 5000;
  background: #fffbe1;
  color: #21235b;
  box-shadow: 0 -2px 24px rgba(245,191,35,0.13);
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner p {
  font-size: 1.01em;
  flex: 1 1 270px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.cookie-btn {
  background: #f5bf23;
  color: #21235b;
  border: none;
  border-radius: 17px;
  font-size: 1em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  padding: 8px 22px;
  cursor: pointer;
  transition: background 0.18s, color 0.13s, transform 0.12s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #21235b;
  color: #fffbe1;
  transform: scale(1.04);
}
.cookie-btn.settings {
  background: #fff;
  color: #b6810c;
  border: 1.4px solid #f5bf23;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #f5bf23;
  color: #21235b;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 7px;
  }
}

/* ============= COOKIE MODAL (PREFERENCES POPUP) ======= */
.cookie-modal-overlay {
  position: fixed;
  z-index: 7000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33,35,91,0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.cookie-modal {
  background: #fff;
  border-radius: 33px;
  box-shadow: 0 8px 50px rgba(33,35,91,0.18);
  padding: 38px 38px 28px 38px;
  max-width: 430px;
  min-width: 265px;
  width: 93vw;
  margin: 0 7px;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-modal h3 {
  margin-bottom: 8px;
  color: #21235b;
  font-size: 1.33rem;
  font-weight: 700;
}
.cookie-modal label, .cookie-modal strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #21235b;
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.10em;
}
.cookie-modal .switch {
  appearance: none;
  width: 38px;
  height: 22px;
  border-radius: 12px;
  background: #eee9c2;
  transition: background 0.2s;
  position: relative;
  outline: none;
  cursor: pointer;
}
.cookie-modal .switch:checked {
  background: #f5bf23;
}
.cookie-modal .switch:before {
  content: "";
  display: block;
  position: absolute;
  left: 4px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.19s;
}
.cookie-modal .switch:checked:before {
  left: 18px;
  background: #fff3c0;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #b6810c;
  font-size: 1.5em;
  align-self: flex-end;
  cursor: pointer;
  padding: 2px 10px;
  border-radius: 14px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #f5bf23;
  color: #21235b;
}
.cookie-modal .cookie-mandatory {
  background: #f8f7ef;
  color: #a09e88;
  font-size: 0.99em;
  padding: 3px 13px;
  border-radius: 8px;
  font-weight: 600;
  margin-left: 8px;
}

/* ======== FORMS, CONTACT, ETC ============ */
.contact-details, .contact-info {
  background: #fffbe1;
  border-radius: 15px;
  box-shadow: 0 1px 7px rgba(245,191,35,0.13);
  padding: 14px 19px;
  margin: 0 0 18px 0;
  line-height: 1.7;
  font-size: 1.05em;
}
.contact-details a, .contact-info a {
  color: #b6810c;
  text-decoration: underline;
}
@media (max-width:500px) {
  .contact-details, .contact-info {
    padding: 9px 7px;
    font-size: 1em;
  }
}

/* ========== UTILITY CLASSES ============= */
.gap-32 { gap: 32px; }
.gap-16 { gap: 16px; }
.rounded {
  border-radius: 19px;
}
.shadow-soft {
  box-shadow: 0 4px 17px rgba(245,191,35,0.11);
}

/* ============= ANIMATIONS =========== */
.fade-in {
  animation: fadeIn .7s ease-in;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.slide-in-left {
  animation: slideInLeft 0.32s cubic-bezier(.68,-0.42,.77,1.5);
}
@keyframes slideInLeft {
  from { transform: translateX(-100vw); }
  to { transform: translateX(0); }
}

/* ============= SCROLLBAR ============ */
body::-webkit-scrollbar {
  width: 11px;
  background: #f4f6fa;
}
body::-webkit-scrollbar-thumb {
  background: #f5bf23;
  border-radius: 12px;
}

/* ============ HIDE OUTLINES FOR MOUSE USERS =========== */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid #b6810c;
  outline-offset: 1.2px;
}

/* ======== PRINT STYLES ======= */
@media print {
  header, footer, .mobile-menu, .cookie-banner { display: none !important; }
}

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