/* 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
  background: #F5F3EF;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #F5F3EF;
  color: #483159;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  vertical-align: middle;
}
a {
  color: #A879A4;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #7C2E78;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
  padding: 0;
}
input, button, textarea, select {
  font: inherit;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  outline: none;
}

/* BRAND FONTS (for Google Fonts import, @import should be in HTML) */
h1, h2, h3, h4, h5, h6, .display {
  font-family: 'Cormorant Garamond', serif;
  color: #7C2E78;
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 9px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}

p, ul, ol, li, table, label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #483159;
  font-size: 1rem;
}
strong {
  font-weight: 700;
  color: #A879A4;
}

/* CONTAINER LAYOUTS & SPACING */
.container {
  width: 100%;
  max-width: 1090px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(122, 56, 115, 0.09);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* FLEXBOX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #F5F3EF;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(168, 121, 164, 0.15);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  transition: transform 0.16s, box-shadow 0.16s;
}
.card:hover {
  transform: translateY(-7px) scale(1.02) rotate(-1.7deg);
  box-shadow: 0 10px 28px 0 rgba(124,46,120,0.20);
  background: #fff6ff;
}
.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: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(124,46,120,0.13);
  margin-bottom: 20px;
  border-left: 8px solid #A879A4;
  transition: box-shadow 0.19s, transform 0.16s;
  position: relative;
  z-index: 1;
}
.testimonial-card:hover {
  box-shadow: 0 10px 40px 0 rgba(124,46,120,0.22);
  transform: scale(1.03) rotate(1deg);
  border-left-color: #7C2E78;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F5F3EF;
  border-radius: 14px;
  padding: 17px 22px;
  margin-bottom: 20px;
}

/* BUTTONS & CTAS */
.cta, .btn, .cookie-banner button, .cookie-modal-btn {
  background: linear-gradient(90deg, #A879A4 70%, #7C2E78 100%);
  color: #fff;
  border-radius: 27px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 11px 36px;
  margin-top: 10px;
  margin-bottom: 5px;
  border: none;
  outline: none;
  box-shadow: 0 2px 6px rgba(124,46,120,0.10);
  box-sizing: border-box;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.16s, color 0.16s, box-shadow 0.12s, transform 0.13s;
  text-align: center;
  display: inline-block;
  position: relative;
}
.cta:hover, .btn:hover, .cookie-banner button:hover, .cookie-modal-btn:hover {
  background: linear-gradient(90deg, #7C2E78 80%, #A879A4 100%);
  color: #FFF7FA;
  box-shadow: 0 5px 15px 0 rgba(124,46,120,0.18);
  transform: translateY(-1.5px) scale(1.02);
}

/* PRICES */
.price {
  font-size: 1em;
  font-weight: bold;
  color: #7C2E78;
  background: #f8ebff;
  border-radius: 9px;
  padding: 4px 12px;
  display: inline-block;
  margin-left: 12px;
}

/* TABLE */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: 0 2px 10px rgba(124,46,120,0.11);
}
thead {
  background: #A879A4;
  color: #fff;
}
th, td {
  padding: 14px 18px;
  text-align: left;
  font-size: 1.05em;
}
th {
  font-weight: 700;
}
tr:nth-child(even) td {
  background: #f7f3fa;
}
tr:hover td {
  background: #f1e1fb;
}

/* LISTS */
ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: disc inside none;
  margin-left: 20px;
}
ul li {
  position: relative;
  font-size: 1rem;
  padding-left: 8px;
}
ul li::before {
  content: '✧';
  color: #A879A4;
  font-size: 1.1em;
  position: absolute;
  left: -17px;
}

/* HEADER & NAV */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 5px 18px 0 rgba(124,46,120,0.05);
  position: sticky;
  top: 0;
  z-index: 89;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  max-width: 1090px;
  margin: 0 auto;
}
header nav a img {
  max-height: 43px;
}
header nav ul {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-left: 5px;
}
header nav ul li {
  display: flex;
  align-items: center;
}
header nav ul li a {
  font-size: 1rem;
  color: #483159;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 20px;
  transition: background 0.16s, color 0.16s;
}
header nav ul li a.cta {
  background: linear-gradient(90deg,#A879A4 55%, #7C2E78 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 5px rgba(168,121,164,0.10);
}
header nav ul li a:hover,
header nav ul li a:focus {
  background: #F5F3EF;
  color: #A879A4;
}
header nav ul li a.cta:hover {
  background: #7C2E78;
  color: #fff7f8;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  font-size: 2.3rem;
  background: #A879A4;
  color: #fff;
  border-radius: 50%;
  width: 47px;
  height: 47px;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 120;
  box-shadow: 0 2px 14px rgba(124,46,120,0.09);
  border: none;
  transition: background 0.14s, color 0.14s, box-shadow 0.13s;
}
.mobile-menu-toggle:active {
  background: #7C2E78;
}

/* MOBILE MENU STYLES */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #FFF7FA;
  z-index: 250;
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(0.44,0.01,0,1);
  box-shadow: -16px 0 30px rgba(124,46,120,0.16);
  display: flex;
  flex-direction: column;
  padding: 0;
  min-width: 240px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #A879A4;
  color: #fff;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 43px;
  height: 43px;
  align-self: flex-end;
  margin: 16px 19px 8px 0;
  box-shadow: 0 2px 12px rgba(124,46,120,0.13);
  transition: background 0.12s;
}
.mobile-menu-close:hover {
  background: #7C2E78;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 32px 34px 0 34px;
  margin-top: 0;
}
.mobile-nav a {
  color: #7C2E78;
  font-weight: 600;
  font-size: 1.19rem;
  letter-spacing: 0.008em;
  border-radius: 22px;
  padding: 11px 3px 11px 13px;
  transition: background 0.17s, color 0.15s;
}
.mobile-nav a:hover {
  background: #F5F3EF;
  color: #A879A4;
}

/* FOOTER */
footer {
  width: 100%;
  background: #fff;
  border-top: 1px solid #f0d6f7;
  margin-top: 62px;
  font-size: 15px;
}
footer .container {
  padding-top: 34px;
  padding-bottom: 25px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
footer nav a {
  color: #A879A4;
  font-weight: 600;
  transition: color 0.15s;
  font-size: 1rem;
}
footer nav a:hover {
  color: #7C2E78;
}
.brand-footer img {
  max-height: 38px;
  display: block;
  margin: 6px 0 0 0;
}
.footer-contact, .legal-info {
  color: #483159;
  font-size: 0.98rem;
  opacity: 0.97;
  line-height: 1.45;
}
.legal-info {
  margin-top: 7px;
  font-size: 0.95rem;
  opacity: 0.8;
}

/* MAP PLACEHOLDER */
.map-placeholder {
  background: #F5F3EF;
  color: #A879A4;
  font-weight: bold;
  font-size: 1.04rem;
  border-radius: 8px;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2.5px solid #f4d7fb;
  margin: 17px 0 6px 0;
}

/* ANIMATIONS */
@keyframes pop {
  0% { transform: scale(0.97); }
  80% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
@keyframes slide-in-right {
  0% { transform: translateX(100%); }
  100% { transform: translateX(0); }
}
@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.card:hover, .testimonial-card:hover, .cta:hover {
  animation: pop 0.44s cubic-bezier(0.44,0.01,0,1);
}
.mobile-menu.active {
  animation: slide-in-right 0.37s cubic-bezier(0.44,0.01,0,1);
}

/* COOKIE CONSENT (bottom banner) */
.cookie-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 98vw;
  max-width: 520px;
  background: #A879A4;
  color: #fff;
  border-radius: 27px 27px 0 0;
  box-shadow: 0 -4px 24px rgba(124,46,120,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px 24px 17px 24px;
  z-index: 490;
  font-size: 1rem;
  animation: fade-in 0.8s;
}
.cookie-banner p {
  color: #fff;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 10px;
}
.cookie-banner-btns {
  display: flex;
  flex-direction: row;
  gap: 17px;
  margin: 0 auto;
}
.cookie-banner button {
  background: #fff;
  color: #A879A4;
  font-weight: 700;
  padding: 8px 19px;
  font-size: 1rem;
  border: none;
  border-radius: 21px;
  margin: 0 2px;
  transition: background 0.18s, color 0.18s, box-shadow 0.14s;
  box-shadow: 0 2px 4px rgba(124,46,120,0.10);
}
.cookie-banner button:hover {
  background: #F5F3EF;
  color: #7C2E78;
}
.cookie-banner .cookie-settings {
  background: #F5F3EF;
  color: #7C2E78;
}

/* COOKIE MODAL OVERLAY */
.cookie-modal-overlay {
  position: fixed;
  z-index: 640;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(40,18,55,0.64);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.4s;
}
.cookie-modal {
  background: #fff;
  color: #483159;
  max-width: 420px;
  border-radius: 24px;
  box-shadow: 0 8px 44px rgba(124,46,120,0.30);
  padding: 34px 31px 28px 31px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  position: relative;
  animation: pop 0.28s cubic-bezier(0.44,0.01,0,1);
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 9px;
  color: #A879A4;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}
.cookie-modal-label {
  color: #483159;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-modal-toggle {
  margin-left: 6px;
  appearance: none;
  width: 42px;
  height: 22px;
  background: #F5F3EF;
  border-radius: 21px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-modal-toggle:checked {
  background: #A879A4;
}
.cookie-modal-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.17s;
  box-shadow: 0 2px 7px rgba(168,121,164,0.12);
}
.cookie-modal-toggle:checked:before {
  transform: translateX(20px);
}
.cookie-modal-btns {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 7px;
}
.cookie-modal-btn {
  background: #A879A4;
  color: #fff;
  padding: 9px 22px;
  border-radius: 20px;
  border: none;
  font-weight: 700;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal-btn:hover {
  background: #7C2E78;
}
.cookie-modal-close {
  position: absolute;
  top: 20px;
  right: 19px;
  background: #F5F3EF;
  color: #A879A4;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal-close:hover {
  background: #A879A4;
  color: #fff;
}
.cookie-modal-category.essential label {
  opacity: 0.75;
}
.cookie-modal-category.essential .cookie-modal-toggle {
  background: #A879A4;
  cursor: not-allowed;
}
.cookie-modal-category.essential .cookie-modal-toggle:before {
  background: #fff6ff;
}
.cookie-modal-category.essential .cookie-modal-toggle:checked:before {
  background: #fff6ff;
}

/* HERO ANIMATION */
section .content-wrapper.text-section h1, section .content-wrapper.text-section h2 {
  animation: fade-in 1s;
}
section .cta {
  animation: pop 0.55s 90ms cubic-bezier(0.25, 0.84, 0.42, 1) both;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1000px) {
  .container {
    max-width: 94vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .testimonial-card, .card {
    padding: 16px 9px;
  }
}
@media (max-width: 850px) {
  header nav ul {
    gap: 12px;
  }
  .content-wrapper {
    gap: 15px;
  }
  .footer .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  /* Header nav hides, burger shows */
  header nav ul {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
    position: fixed;
    right: 16px;
    top: 13px;
  }
  .section,
  .container {
    padding: 32px 5vw;
  }
  .content-wrapper, .footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .card-container, .content-grid, .feature-list {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section, .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  table {
    font-size: 0.97em;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.21rem;
  }
  .section, .container {
    padding: 18px 2vw;
  }
  .testimonial-card, .card {
    border-radius: 13px;
    font-size: 0.97em;
  }
  .cookie-banner {
    max-width: 98vw;
    padding: 12px 8px 12px 8px;
  }
  .cookie-modal {
    max-width: 95vw;
    padding: 19px 7px 14px 13px;
  }
}

/* PLAYFUL DYNAMIC EXTRAS */
.cta:after {
  content: '';
  display: inline-block;
  margin-left: 8px;
  width: 15px;
  height: 15px;
  background: url('../assets/cta-sparkle.svg') no-repeat center/contain;
  vertical-align: -3px;
  animation: pop 0.5s 0.25s;
}

/* Hide cta sparkle on very small screens */
@media (max-width: 500px) {
  .cta:after {
    display: none;
  }
}

/* FUN HEADLINE COLOR BLENDS (optional for playful accent) */
h1 span, h2 span {
  color: #CBA6E7;
}

/* Misc Spacing for Adequate White Space */
.section + .section {
  margin-top: 20px !important;
}

/* Ensure no elements overlap (strict spacing for main content) */
.section, .card, .testimonial-card, .feature-item, .content-wrapper, .container {
  margin-bottom: 20px;
}

/* Specificity for Testimonials: readable text, high contrast */
.testimonial-card {
  background: #fff;
  color: #3d2a49;
  border-left: 8px solid #A879A4;
}
.testimonial-card strong {
  color: #7C2E78;
}
.testimonial-card p {
  font-size: 1.05em;
  line-height: 1.5;
}

/* Modal accessibility fix: hide when not shown */
.cookie-modal-overlay[aria-hidden="true"] {
  display: none !important;
}
/* Banner accessibility fix: hide when not shown */
.cookie-banner[aria-hidden="true"] {
  display: none !important;
}
/* Hide mobile nav by default (handled via JS/class toggle) */
.mobile-menu:not(.active) { pointer-events: none; }

/* Focus outlines for accessibility */
a:focus, button:focus, .cta:focus {
  outline: 2px solid #A879A4;
  outline-offset: 2px;
}

/* Toasty "Thank you" message highlight */
.thankyou {
  background: #7C2E78;
  color: #fff;
  padding: 20px 30px;
  border-radius: 20px;
  text-align: center;
  margin: 40px 0;
}
