/* RESET & BASE TYPOGRAPHY */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #2D2A4A;
  background: #F7F7FF;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  border: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
a {
  color: #2D2A4A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ECBE7B;
}

/* CONTAINER & LAYOUT */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 24px 0 rgba(56,37,140,0.06);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  margin: 0 auto;
}

/* HEADERS */
header {
  background: #2D2A4A;
  color: #F7F7FF;
  padding: 0;
  z-index: 50;
  width: 100%;
  box-shadow: 0 4px 24px 0 rgba(56,37,140,0.09);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
}
header nav {
  display: flex;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #F7F7FF;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  font-size: 16px;
  transition: color 0.18s, border-bottom 0.18s;
}
header nav a:hover,
header nav a:focus {
  color: #ECBE7B;
  border-bottom: 2px solid #ECBE7B;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 30px;
  background: #ECBE7B;
  color: #2D2A4A;
  border-radius: 32px 8px 32px 8px;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 6px 16px 0 rgba(236,190,123,0.13);
  margin-left: 24px;
  outline: none;
  border: none;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.25s;
  text-shadow: 0 2px 8px rgba(255,255,255,0.14);
}
.cta-btn:hover, .cta-btn:focus {
  background: #2D2A4A;
  color: #ECBE7B;
  box-shadow: 0 12px 24px 0 rgba(45,42,74,0.12);
}
.mobile-menu-toggle {
  display: none;
  background: #ECBE7B;
  color: #2D2A4A;
  font-size: 2rem;
  line-height: 1;
  border-radius: 10px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: none;
  outline: none;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.2s, color 0.2s;
  z-index: 105;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #2D2A4A;
  color: #ECBE7B;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(45,42,74,0.93);
  z-index: 110;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.71,-0.12,.41,1.28);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #ECBE7B;
  font-size: 2.1rem;
  border-radius: 12px;
  align-self: flex-end;
  margin: 24px 24px 8px 0;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
  border: none;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #ECBE7B;
  color: #2D2A4A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  align-items: flex-start;
  padding: 38px 36px;
  margin-top: 20px;
}
.mobile-nav a {
  color: #F7F7FF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  padding: 11px 0;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #ECBE7B;
}

/* HERO, SECTIONS & TITLES */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  line-height: 1.18;
  color: #2D2A4A;
}
h1 {
  font-size: 2.9rem;
  color: #2D2A4A;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg,#2D2A4A,#7567FF,#ECBE7B 90%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
h2 {
  font-size: 2.0rem;
  margin-bottom: 10px;
  position: relative;
}
h2:before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 5px;
  background: #ECBE7B;
  border-radius: 3px;
  margin-bottom: 8px;
  margin-right: 12px;
  vertical-align: middle;
}
h3 {
  font-size: 1.32rem;
  margin-bottom: 7px;
  color: #2D2A4A;
}
.subheadline {
  color: #7567FF;
  font-size: 1.2rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* FLEX PATTERNS (MANDATORY) */
.card-container, .features-grid, .service-list, .testimonial-list, .steps-list, .next-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  min-width: 280px;
  flex: 1 1 290px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(56,37,140,0.07);
}
.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;
  background: #fffbe7;
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(236,190,123, 0.12);
  min-width: 280px;
  flex: 1 1 300px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURES GRID/CARDS */
.features-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 200px;
  background: #f4f2ff;
  border-radius: 17px 7px 19px 8px;
  box-shadow: 0 4px 14px 0 rgba(45,42,74,0.05);
  padding: 28px 20px 20px 20px;
  margin-bottom: 20px;
  flex: 1 1 240px;
  position: relative;
  z-index: 1;
  border: 2px solid #ECBE7B11;
  transition: box-shadow 0.17s, border 0.17s;
}
.features-grid > div:hover, .features-grid > div:focus-within {
  box-shadow: 0 8px 26px 0 rgba(236,190,123,0.23);
  border: 2px solid #ECBE7B;
}
.features-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

/* SERVICE LIST */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.service-item {
  background: #fff;
  border-radius: 16px 6px 18px 8px;
  box-shadow: 0 4px 16px 0 rgba(45,42,74, 0.09);
  padding: 26px 22px 20px 22px;
  margin-bottom: 20px;
  min-width: 260px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 1;
  border: 1.8px solid #2D2A4A07;
  transition: box-shadow 0.18s, border 0.19s;
}
.service-item:hover, .service-item:focus-within {
  box-shadow: 0 10px 22px 0 #2D2A4A17;
  border: 1.8px solid #2D2A4A50;
}
.service-price {
  background: #ECBE7B;
  color: #2D2A4A;
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: 7px;
  align-self: flex-start;
  margin-top: 5px;
  padding: 5px 12px;
  box-shadow: 0 2px 7px 0 rgba(236,190,123, 0.18);
  letter-spacing: 0.025em;
}
.service-item a {
  color: #7567FF;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.04em;
  text-decoration: underline;
  margin-top: 4px;
  transition: color 0.15s;
}
.service-item a:hover, .service-item a:focus {
  color: #ECBE7B;
  text-decoration: none;
}

/* TESTIMONIALS */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FFF9EA;
  border-radius: 16px 7px 18px 8px;
  box-shadow: 0 2px 12px 0 rgba(236,190,123, 0.16);
  color: #2D2A4A;
  min-width: 220px;
  flex: 1 1 300px;
  padding: 20px 22px;
  font-size: 1.03rem;
  margin-bottom: 20px;
  position: relative;
  border-bottom: 4px solid #ECBE7B;
  z-index: 1;
  transition: box-shadow 0.13s;
}
.testimonial-card p {
  margin-right: 10px;
  font-style: italic;
}
.testimonial-card span {
  color: #2D2A4A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 24px 0 #ECBE7B27;
}

/* STEPS & OTHER FLEX BLOCKS */
.steps-list {
  flex-direction: column;
  gap: 13px;
  margin-bottom: 30px;
}
.steps-list h3 {
  margin-bottom: 9px;
}
.steps-list ol {
  padding-left: 16px;
}
.steps-list li {
  margin-bottom: 8px;
  font-size: 1.09rem;
}
.next-steps ul {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  list-style: disc inside;
  margin-bottom: 14px;
}
.next-steps li {
  font-size: 1.13rem;
}

/* TEXT-IMAGE SECTION */
.text-section, .text-image-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.text-section ul, .text-section ol {
  margin-left: 22px;
}
.text-section li {
  margin-bottom: 8px;
}

/* CONTACT FOOTER DETAILS */
.contact-footer {
  display: flex;
  flex-direction: row;
  gap: 38px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 0.98rem;
  align-items: center;
}
.contact-footer p {
  display: flex;
  align-items: center;
  gap: 9px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 1.12rem;
  padding: 16px 0 10px 0;
}
.map-location {
  margin-top: 8px;
  background: #ECBE7B10;
  border-radius: 8px;
  padding: 12px 16px;
}

/* FOOTER */
footer {
  background: #2D2A4A;
  color: #F7F7FF;
  margin-top: 55px;
  padding: 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 36px 20px 24px 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #F7F7FF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  margin-bottom: 4px;
  transition: color 0.14s;
}
footer nav a:hover,
footer nav a:focus {
  color: #ECBE7B;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #2D2A4A;
  color: #F7F7FF;
  box-shadow: 0 -2px 20px 0 rgba(45,42,74,0.14);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 28px 22px;
  gap: 18px;
  z-index: 9999;
  font-size: 1.05rem;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.83,.09,.42,.98), opacity 0.22s;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 9px 23px;
  border-radius: 24px 7px 18px 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px 0 rgba(236,190,123,0.07);
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
}
.cookie-banner .accept-btn {
  background: #ECBE7B;
  color: #2D2A4A;
}
.cookie-banner .accept-btn:hover {
  background: #7567FF;
  color: #F7F7FF;
}
.cookie-banner .reject-btn {
  background: #7567FF;
  color: #F7F7FF;
}
.cookie-banner .reject-btn:hover {
  background: #ECBE7B;
  color: #2D2A4A;
}
.cookie-banner .settings-btn {
  background: #2D2A4A;
  color: #ECBE7B;
  border: 2px solid #ECBE7B;
}
.cookie-banner .settings-btn:hover {
  background: #ECBE7B;
  color: #2D2A4A;
}

/* COOKIE MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 10001;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(45,42,74,0.85);
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  color: #2D2A4A;
  border-radius: 18px;
  max-width: 400px;
  width: 95%;
  padding: 36px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 8px 38px 0 rgba(56,37,140,0.12);
  position: relative;
  animation: popfadein 0.38s cubic-bezier(0.61,0.17,0.44,1.12);
}
@keyframes popfadein {
  0% { opacity: 0; transform: scale(.94) translateY(35px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal-content h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
  color: #2D2A4A;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
  color: #2D2A4A;
}
.cookie-modal-content input[type="checkbox"] {
  accent-color: #ECBE7B;
  width: 20px;
  height: 20px;
}
.cookie-modal-content .actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal-content .close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  color: #ECBE7B;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  transition: color 0.12s;
}
.cookie-modal-content .close-btn:hover, .cookie-modal-content .close-btn:focus {
  color: #2D2A4A;
}
.cookie-modal-content .action-btn {
  padding: 9px 20px;
  border-radius: 18px 6px 16px 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: #ECBE7B;
  color: #2D2A4A;
  transition: background 0.14s, color 0.14s;
}
.cookie-modal-content .action-btn:hover, .cookie-modal-content .action-btn:focus {
  background: #2D2A4A;
  color: #ECBE7B;
}

/* COMMON ELEMENTS */
ul, ol {
  margin-left: 22px;
  margin-bottom: 18px;
}
li {
  margin-bottom: 7px;
  font-size: 1rem;
}

/* FORMS (IF USED) */
input, textarea {
  border: 1.5px solid #7567FF;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 1rem;
  color: #2D2A4A;
  background: #F7F7FF;
  margin-bottom: 18px;
  outline: none;
  transition: border 0.15s;
  width: 100%;
}
input:focus, textarea:focus {
  border-color: #ECBE7B;
}

/* ANIMATIONS & MICROINTERACTIONS */
.cta-btn, .service-item, .features-grid > div, .testimonial-card, .cookie-banner button {
  transition: box-shadow 0.18s, background 0.19s, color 0.19s, border 0.16s;
}
button:active, a:active {
  transform: scale(0.97);
}

/* DECORATIVE STRIPES & PAINT-LIKE LINES */
h2:before, .service-item:before, .features-grid > div:before {
  content: '';
  display: block;
  position: absolute;
  left: -13px;
  top: -13px;
  width: 46px;
  height: 7px;
  background: #7567FF;
  border-radius: 8px;
  opacity: 0.16;
  z-index: 0;
}

/* Hide stripes on small screens */
@media (max-width: 600px) {
  h2:before, .service-item:before, .features-grid > div:before {
    display: none;
  }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding: 0 7vw;
  }
  .content-wrapper {
    gap: 19px;
  }
}
@media (max-width: 900px) {
  .features-grid, .service-list, .testimonial-list {
    flex-direction: column;
  }
  .features-grid > div,
  .service-item,
  .testimonial-card {
    min-width: unset;
    flex: 1 1 100%;
  }
  .content-wrapper {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 9px;
    padding: 13px 12px;
  }
  header nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
    padding: 10px 18px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-wrapper {
    gap: 12px;
  }
  .section {
    padding: 26px 7px;
    margin-bottom: 36px;
    border-radius: 13px;
  }
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.36rem;
  }
  .features-grid > div,
  .service-item,
  .testimonial-card {
    padding: 17px 13px 15px 14px;
    border-radius: 11px;
  }
  .testimonial-list {
    gap: 12px;
  }
  .steps-list ol {
    padding-left: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .contact-footer {
    gap: 13px;
    font-size: .98rem;
    flex-direction: column;
    margin-top: 8px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 19px;
    align-items: flex-start;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 15px 10px;
    font-size: 0.97rem;
  }
}
@media (max-width: 480px) {
  body {
    font-size: 15px;
  }
  .container {
    padding: 0 2vw;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.08rem;
  }
  .section {
    padding: 12px 2px;
    margin-bottom: 18px;
    border-radius: 7px;
  }
}

/* GOOGLE FONTS FALLBACKS */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  src: local('Montserrat'), local('Montserrat-Regular');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  src: local('Open Sans'), local('Open Sans-Regular');
}

/* END */
