/* ================================================== */
/* CSS RESET & BASE NORMALIZATION */
/* ================================================== */
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,
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;
}

html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  min-height: 100vh;
  background: #F9F6F2;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #21213F;
  font-size: 16px;
  line-height: 1.7;
  background-color: #F2E9E4;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #22223B;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #C9ADA7;
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

strong, b {
  font-weight: 700;
  color: #22223B;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.18;
  color: #22223B;
  letter-spacing: 0.01em;
}

h1 { font-size: 2.4rem; margin-bottom: 24px; }
h2 { font-size: 1.7rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1rem; margin-bottom: 8px; }

p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 16px;
}

/* ============================================== */
/* BRAND PALETTE & SOFT PASTEL VARIABLES */
/* ============================================== */
:root {
  --primary: #22223B;
  --secondary: #F2E9E4;
  --accent: #C9ADA7;
  --pastel-blue: #A7C7E7;
  --pastel-pink: #FFE1E9;
  --pastel-mint: #CFF6E3;
  --pastel-yellow: #FFF6DC;
  --pastel-lavender: #E6EAFB;
  --soft-shadow: 0 2px 14px 0 rgba(34,34,59,0.08), 0 1.5px 8px 0 rgba(201,173,167,0.08);
  --radius-large: 22px;
  --radius-medium: 14px;
  --radius-small: 8px;
}

body {
  background: var(--secondary);
}

/* ============================================== */
/* CONTAINERS & LAYOUTS */
/* ============================================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-large);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

main > section {
  margin-bottom: 60px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-medium);
  background: #fff;
  box-shadow: var(--soft-shadow);
  padding: 24px 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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  margin-bottom: 24px;
  border-radius: var(--radius-medium);
  background: var(--pastel-blue);
  box-shadow: var(--soft-shadow);
  color: #21213F;
  max-width: 400px;
  flex: 1 1 280px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(34,34,59,0.14), 0 3px 16px 0 rgba(201,173,167,0.12);
  transform: translateY(-4px) scale(1.04);
  background: var(--pastel-lavender);
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature {
  background: var(--pastel-pink);
  border-radius: var(--radius-medium);
  box-shadow: var(--soft-shadow);
  padding: 28px 24px 22px 24px;
  flex: 1 1 270px;
  min-width: 240px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.24s, transform 0.22s;
}
.feature:hover {
  box-shadow: 0 7px 30px 0 rgba(34,34,59,0.18), 0 6px 24px 0 rgba(201,173,167,0.13);
  background: var(--pastel-mint);
  transform: translateY(-6px) scale(1.05);
}
.feature img {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: var(--pastel-lavender);
  border-radius: var(--radius-small);
  padding: 18px 16px;
  box-shadow: 0 1px 4px rgba(34,34,59,0.06);
  transition: box-shadow 0.2s;
}
.faq-item h3 {
  font-size: 1.08rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.contact-summary {
  margin-top: 36px;
  background: var(--pastel-yellow);
  border-radius: var(--radius-medium);
  box-shadow: var(--soft-shadow);
  padding: 30px;
}
.contact-summary .text-section p img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 10px;
}

.contact {
  background: var(--pastel-mint);
  border-radius: var(--radius-medium);
  box-shadow: var(--soft-shadow);
  padding: 28px 24px;
}
.contact .text-section p img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 10px;
}

.legal {
  background: #fff;
  border-radius: var(--radius-large);
  margin-bottom: 32px;
  padding: 40px 20px;
  box-shadow: var(--soft-shadow);
}

.confirmation {
  background: var(--pastel-mint);
  padding: 40px 24px;
  border-radius: var(--radius-large);
  box-shadow: var(--soft-shadow);
  text-align: center;
}

/* ============================================== */
/* HEADER & NAVIGATION */
/* ============================================== */
header {
  width: 100%;
  background: var(--pastel-pink);
  box-shadow: 0 1px 10px rgba(201,173,167,0.13);
  border-bottom-left-radius: var(--radius-large);
  border-bottom-right-radius: var(--radius-large);
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
  padding-top: 18px;
  padding-bottom: 18px;
  min-height: 70px;
}
header img {
  height: 42px;
  width: auto;
  margin-right: 28px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  flex: 1 1 auto;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--primary);
  padding: 8px 10px;
  transition: color 0.21s, background 0.21s;
  border-radius: var(--radius-small);
  font-weight: 500;
}
header nav a:hover, header nav a.active {
  background: var(--accent);
  color: #fff;
}
.cta-button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: var(--primary);
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-medium);
  font-weight: 700;
  font-size: 1.08rem;
  margin-left: 8px;
  box-shadow: 0 2px 14px 0 rgba(34,34,59,0.12);
  cursor: pointer;
  transition: background 0.2s, transform 0.17s;
  position: relative;
  z-index: 9;
}
.cta-button:hover, .cta-button:focus {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px) scale(1.03);
}

/* ---------------------------------- */
/* MOBILE NAVIGATION (BURGER MENU) */
/* ---------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  padding: 10px 18px 10px 12px;
  cursor: pointer;
  margin-left: 18px;
  transition: background 0.19s;
  z-index: 51;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--primary);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(255,254,253,0.97);
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  z-index: 500;
  padding: 0 0 0 0;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.37s cubic-bezier(.69,.2,.4,1.04), opacity 0.24s;
  box-shadow: 0 2px 24px rgba(34,34,59,0.13);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 30px 28px 10px 0;
  cursor: pointer;
  z-index: 52;
  transition: color 0.18s;
}
.mobile-menu-close:hover {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  margin: 48px 0 0 42px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  color: var(--primary);
  padding: 10px 8px;
  border-radius: var(--radius-medium);
  transition: background 0.21s, color 0.21s;
  font-weight: 600;
}
.mobile-nav a:hover {
  background: var(--accent);
  color: #fff;
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 980px) {
  header .container nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 980px) {
  .mobile-menu {
    display: flex;
  }
}

/* ========================================== */
/* HERO SECTION */
/* ========================================== */
.hero {
  background: linear-gradient(135deg, var(--pastel-blue) 0%, var(--pastel-pink) 100%);
  padding: 54px 0 42px 0;
  border-radius: var(--radius-large);
  margin-bottom: 40px;
  min-height: 280px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  gap: 16px;
  text-align: center;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.6rem;
  font-weight: 800;
}
.hero p {
  color: #444;
  font-size: 1.17rem;
  margin-bottom: 2px;
}

/* CTA SECTION */
.cta {
  background: var(--pastel-blue);
  border-radius: var(--radius-medium);
  padding: 40px 18px;
  text-align: center;
  box-shadow: var(--soft-shadow);
  margin-bottom: 40px;
}
.cta .content-wrapper {
  align-items: center;
  gap: 10px;
}

/* ============================================== */
/* FOOTER */
/* ============================================== */
footer {
  background: var(--pastel-pink);
  border-top-left-radius: var(--radius-large);
  border-top-right-radius: var(--radius-large);
  padding: 32px 0 18px 0;
  box-shadow: 0 -1px 10px rgba(201,173,167,0.10);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 7px;
  justify-content: center;
}
footer nav a {
  color: var(--primary);
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  opacity: 0.76;
  transition: opacity 0.22s, color 0.2s;
  padding: 3px 6px;
}
footer nav a:hover {
  opacity: 1;
  color: var(--accent);
}
footer p {
  color: #444;
  font-size: 0.96rem;
  opacity: 0.85;
}

/* ============================================== */
/* COOKIE CONSENT STYLES */
/* ============================================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100%;
  background: linear-gradient(90deg, var(--pastel-lavender), var(--pastel-pink));
  box-shadow: 0 -2px 16px rgba(34,34,59,0.07), 0 -1px 4px rgba(201,173,167,0.10);
  padding: 24px 10px 18px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 9999;
  animation: fadeInUp 0.6s cubic-bezier(.53,-0.07,.85,.73);
}
@keyframes fadeInUp {
  0% { transform: translateY(100%); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  color: #444;
  font-size: 1rem;
  text-align: center;
}
.cookie-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.cookie-btn, .cookie-btn-alt {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: var(--radius-medium);
  border: none;
  padding: 10px 24px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 1px 8px rgba(201,173,167,0.10);
  margin: 0 2px;
  transition: background 0.19s, color 0.17s, transform .18s;
}
.cookie-btn {
  background: var(--primary);
  color: #fff;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: var(--accent);
  color: var(--primary);
  transform: scale(1.03);
}
.cookie-btn-alt {
  background: var(--pastel-mint);
  color: var(--primary);
}
.cookie-btn-alt:hover,
.cookie-btn-alt:focus {
  background: var(--accent);
  color: #fff;
  transform: scale(1.03);
}

/* Cookie preferences modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  background: #fff;
  border-radius: var(--radius-large);
  box-shadow: 0 9px 42px rgba(34,34,59,0.19);
  min-width: 340px;
  max-width: 94vw;
  padding: 40px 25px 28px 25px;
  z-index: 10051;
  transform: translate(-50%, -50%) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.33s cubic-bezier(.53,-0.07,.85,.73), transform 0.37s cubic-bezier(.42,.89,.47,1.06);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.13rem;
  margin-bottom: 6px;
  text-align: center;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-category-row label {
  color: #21213F;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-category-row .toggle {
  position: relative;
  width: 38px;
  height: 21px;
}
.cookie-category-row input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-category-row .slider {
  position: absolute;
  cursor: pointer;
  border-radius: 21px;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #D9D9DF;
  transition: background 0.18s;
  width: 38px; height: 21px;
}
.cookie-category-row input:checked + .slider {
  background: var(--accent);
}
.cookie-category-row .slider:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 2.7px;
  width: 16px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  transition: transform .22s;
}
.cookie-category-row input:checked + .slider:before {
  transform: translateX(15px);
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}
.cookie-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.9rem;
  position: absolute;
  top: 18px;
  right: 19px;
  cursor: pointer;
}
.cookie-close:hover {
  color: var(--accent);
}

/* ============================================== */
/* RESPONSIVENESS & FLEXBOX ADAPTATION */
/* ============================================== */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .testimonial-list {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .section { padding: 30px 12px; margin-bottom: 38px; }
  header .container { gap: 12px; }
  .hero { padding: 36px 0 26px 0; }
  .hero h1 { font-size: 1.7rem; }
  .feature { padding: 18px 14px 14px 14px; }
  .card {
    padding: 18px 10px;
  }
  .feature-grid,
  .testimonial-list,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .about, .contact, .contact-summary, .legal, .confirmation, .cta {
    border-radius: var(--radius-small);
    padding: 18px 5px;
  }
  .accordion {
    gap: 12px;
  }
}
@media (max-width: 600px) {
  html { font-size: 14px; }
  .container { padding: 0 7px; }
  .hero { min-height: 180px; }
  .feature, .testimonials .testimonial-card { min-width: unset; }
  .modal { min-width: 98vw; }
}

/* ============================================== */
/* SCROLLBAR & FOCUS STYLES */
/* ============================================== */
::-webkit-scrollbar {
  width: 10px;
  background: var(--pastel-lavender);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 8px;
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ============================================== */
/* ANIMATIONS & MICRO-INTERACTIONS */
/* ============================================== */
.feature, .feature:hover, .testimonial-card, .testimonial-card:hover, .cookie-btn, .cookie-btn-alt, .cta-button {
  transition-property: box-shadow, transform, background, color;
  transition-duration: .22s;
  transition-timing-function: cubic-bezier(.55,.09,.44,.94);
}

/* ============================================== */
/* UTILITIES FOR FLEXBOX SPACING */
/* ============================================== */
.mb-20 { margin-bottom: 20px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-32 { margin-top: 32px !important; }
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }

/* ============================================== */
/* ACCESSIBILITY */
/* ============================================== */
@media (forced-colors: active) {
  header, footer, .cta, .section, .feature, .testimonial-card, .legal, .cookie-banner, .cookie-modal {
    forced-color-adjust: auto;
  }
}

/* ============================================== */
/* PRINT STYLES */
/* ============================================== */
@media print {
  * { color: #222 !important; background: #fff !important; box-shadow: none !important; }
  header, footer, .cookie-banner, .cookie-modal { display: none !important; }
}

