/* CSS RESET & 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 {
  /* 16px base for body, use rem scaling */
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: #fff;
  color: #473468;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  min-height: 100vh;
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: #B3342F;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.5,.26,.36,1.3);
  font-weight: 500;
}
a:hover, a:focus {
  color: #473468;
  outline: none;
  text-decoration: underline;
}
strong, b {
  font-weight: 700;
}
ul, ol {
  margin-left: 32px;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-weight: 700;
  color: #473468;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.25;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.3;
}
p, blockquote {
  font-size: 1.125rem;
  color: #2d2040;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
blockquote {
  font-style: italic;
  border-left: 4px solid #E1706C;
  padding-left: 16px;
  margin-bottom: 8px;
  background: #F3E3F9;
}

/* GENERAL LAYOUT */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  margin-bottom: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(71,52,104,0.04), 0 1.5px 4px rgba(71,52,104,0.05);
}

@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 40px;
    border-radius: 16px;
  }
  .container {
    padding: 0 8px;
  }
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  min-width: 280px;
  background: #F3E3F9;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(71,52,104,0.10);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s cubic-bezier(.5,.26,.36,1.3), transform .24s cubic-bezier(.5,.26,.36,1.3);
}
.card:hover {
  box-shadow: 0 8px 24px rgba(71,52,104,0.16);
  transform: translateY(-2px) scale(1.022);
}
.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;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-left: 6px solid #E1706C;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(71,52,104,0.06);
  margin-bottom: 20px;
  transition: box-shadow 0.22s cubic-bezier(.5,.26,.36,1.3);
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(227, 112, 108, 0.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(71,52,104,0.04);
  padding: 24px;
  margin-bottom: 20px;
}

/* HIERARCHY & SPACING */
main {
  margin-top: 40px;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  main {
    margin-top: 22px;
    margin-bottom: 40px;
  }
}
.text-section {
  margin-top: 12px;
  font-size: 1rem;
  color: #473468;
  line-height: 1.5;
}

/* HEADER LAYOUT */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 14px rgba(71,52,104,.06);
  position: sticky;
  top: 0px;
  z-index: 100;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  padding: 18px 20px 18px 20px;
}
nav img {
  height: 45px;
  width: auto;
  margin-right: 14px;
}

header nav a {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #473468;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s, color .2s;
}
header nav a:hover, header nav a:focus {
  background: #F3E3F9;
  color: #E1706C;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  font-size: 2rem;
  color: #473468;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.17s, color .17s;
  border-radius: 10px;
  padding: 7px 16px;
  z-index: 201;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #F3E3F9;
  color: #E1706C;
}
@media (max-width: 1024px) {
  nav {
    gap: 14px;
    padding: 13px 8px 13px 8px;
  }
}
@media (max-width: 900px) {
  header nav a:not(:first-child) {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(71,52,104,0.93);
  transform: translateX(100%);
  transition: transform .37s cubic-bezier(.86,0,.07,1.12);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  /* hidden initially */
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #fff;
  background: transparent;
  border: none;
  margin: 18px 30px 0 0;
  cursor: pointer;
  align-self: flex-end;
  z-index: 20000;
  transition: color 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E1706C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 55px 32px 0 0;
  align-items: flex-end;
}
.mobile-nav a {
  color: #fff;
  font-weight: 700;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: none;
  padding: 5px 0;
  border-radius: 0;
  transition: color .18s, background .18s;
  text-align: right;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F3E3F9;
  background: none;
}
@media (max-width: 600px) {
  .mobile-nav {
    margin-right: 14px;
    gap: 16px;
  }
}

/* CTA BUTTON */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  background: #E1706C;
  color: #fff;
  border: none;
  border-radius: 32px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 18px 0;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(227, 112, 108, 0.17);
  transition: background 0.32s, box-shadow .19s, color 0.20s;
}
.cta-button:hover, .cta-button:focus {
  background: #B3342F;
  color: #fff;
  box-shadow: 0 2px 24px rgba(179,52,47,0.17);
  outline: none;
}

/* FORM ELEMENTS (for potential future use) */
input, textarea, select, button {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
input, textarea, select {
  border: 2px solid #F3E3F9;
  border-radius: 10px;
  padding: 12px 16px;
  outline: none;
  background: #fff;
  color: #473468;
  margin-bottom: 18px;
  width: 100%;
  transition: border-color 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #E1706C;
}

/* TABLES for cookie preference, legal etc. */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #fff;
  border-radius: 12px;
}
th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #F3E3F9;
}
th {
  color: #473468;
  font-weight: 700;
  background: #F3E3F9;
}

/* FOOTER */
footer {
  background: #473468;
  color: #fff;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  padding: 36px 0 24px 0;
  margin-top: 80px;
  border-radius: 24px 24px 0 0;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  background: none;
  padding: 0;
  margin-bottom: 12px;
}
footer nav a {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 8px;
  border-radius: 6px;
  background: none;
  transition: color 0.18s, background .18s;
}
footer nav a:hover, footer nav a:focus {
  color: #F3E3F9;
  background: #E1706C;
}
footer .text-section {
  color: #fff;
  opacity: 0.92;
  font-size: 1rem;
  text-align: center;
  margin-top: 12px;
}
.footer-socials {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 14px;
}
@media (max-width: 768px) {
  footer {
    padding: 22px 0 18px 0;
    margin-top: 44px;
    border-radius: 16px 16px 0 0;
  }
  footer .text-section {
    font-size: 0.94rem;
  }
}

/* COOKIES BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 22220;
  background: #473468;
  color: #fff;
  padding: 24px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -1.5px 12px rgba(71,52,104,0.18);
  gap: 12px;
  font-size: 1.1rem;
  animation: cookieIn 0.62s cubic-bezier(.5,.26,.36,1.3);
}
@keyframes cookieIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.cookie-banner button, .cookie-banner .cookie-btn {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #E1706C;
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 9px 26px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #F3E3F9;
  color: #473468;
}
.cookie-banner .cookie-btn-secondary {
  background: #222;
  color: #fff;
  border: 2px solid #E1706C;
  margin-left: 0;
}
.cookie-banner .cookie-btn-secondary:hover, .cookie-banner .cookie-btn-secondary:focus {
  background: #E1706C;
  color: #fff;
}

/* COOKIES MODAL OVERLAY */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 22230;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(71,52,104,0.73);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalIn .7s cubic-bezier(.5,.26,.36,1.3);
}
@keyframes modalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #473468;
  border-radius: 20px;
  padding: 36px 30px;
  box-shadow: 0 8px 32px rgba(71,52,104,0.22);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  min-width: 340px;
  max-width: 95vw;
}
@media (max-width: 540px) {
  .cookie-modal { padding: 20px 9px; min-width: 0; }
}
.cookie-modal h3 {
  color: #B3342F;
  margin-bottom: 6px;
  font-size: 1.35rem;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F3E3F9;
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(71,52,104,0.06);
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  color: #473468;
  font-weight: 700;
}
.cookie-modal .toggle-switch {
  position: relative;
  width: 44px;
  height: 22px;
}
.cookie-modal .toggle-switch input[type=checkbox] {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal .toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #bdb2d8;
  border-radius: 22px;
  transition: background .16s;
}
.cookie-modal .toggle-switch input:checked + .toggle-slider {
  background: #B3342F;
}
.cookie-modal .toggle-slider:before {
  content: '';
  position: absolute;
  height: 16px; width: 16px;
  left: 4px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .19s cubic-bezier(.5,.26,.36,1.3);
  box-shadow: 0 1px 3px rgba(71,52,104,.11);
}
.cookie-modal .toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button, .cookie-modal .cookie-modal-actions .cookie-btn {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #E1706C;
  color: #fff;
  border-radius: 18px;
  padding: 8px 26px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background .19s, color .17s;
}
.cookie-modal .cookie-modal-actions button:hover, .cookie-modal .cookie-modal-actions button:focus {
  background: #B3342F;
  color: #fff;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  color: #473468;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: color .17s, opacity .17s;
}
.cookie-modal .close-modal-btn:hover, .cookie-modal .close-modal-btn:focus {
  color: #E1706C;
  opacity: 1;
}

/* MODERN BOLD GEOMETRIC SHAPES */
.section {
  position: relative;
}
.section:after {
  content: "";
  display: block;
  position: absolute;
  top: 18px; right: -32px;
  width: 80px; height: 80px;
  background: #F3E3F9;
  border-radius: 38% 62% 40% 60%;
  box-shadow: 0 6px 24px rgba(227, 112, 108, 0.09);
  z-index: 0;
  opacity: 0.4;
  pointer-events: none;
}
@media (max-width: 1024px) {
  .section:after {
    display: none;
  }
}

/* HIERARCHY & SPACING IMPROVEMENT */
.content-wrapper > *:not(:last-child) {
  margin-bottom: 22px;
}
.container > .content-wrapper {
  margin-top: 0;
  margin-bottom: 0;
}

/* BUTTONS GENERAL */
button {
  cursor: pointer;
}

/* ACCESSIBILITY: FOCUS STYLES */
a:focus, button:focus, .cta-button:focus {
  outline: 2px solid #E1706C;
  outline-offset: 2px;
}

/* MISC ELEMENT STYLES */
hr {
  border: none;
  border-top: 2px solid #F3E3F9;
  margin: 32px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
    margin-bottom: 14px;
  }
  h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  h3 {
    font-size: 1.08rem;
    margin-bottom: 8px;
  }
  .cta-button {
    font-size: 1rem;
    padding: 12px 20px;
    border-radius: 20px;
  }
  .content-grid,
  .card-container {
    gap: 12px;
  }
  .card {
    padding: 16px 10px;
    min-width: 0;
  }
  .feature-item {
    padding: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 9px;
  }
}

/* --- SCROLLBAR STYLING FOR MODERN FEEL --- */
body::-webkit-scrollbar {
  width: 10px;
  background: #F3E3F9;
}
body::-webkit-scrollbar-thumb {
  background: #473468;
  border-radius: 10px;
}

/* --- END --- */
