/* --- 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,
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.4;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #F8FAFB;
  color: #21243D;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
b, strong { font-weight: 600; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; background: none; border: none; cursor: pointer; }

/* --- THEME PALETTE (Soft Pastel with brand colors) --- */
:root {
  --primary: #21243D;
  --secondary: #F3F6F9;
  --accent: #FB6B46;
  --pastel-blue: #dde4fc;
  --pastel-pink: #ffeaf6;
  --pastel-green: #defbe6;
  --pastel-yellow: #fef6d9;
  --pastel-lilac: #f1ecf9;
  --white: #fff;
  --black: #1a1a1a;
  --shadow: 0 6px 20px rgba(120,120,150,0.08);
  --radius: 18px;
  --radius-lg: 34px;
  --transition: all 0.2s cubic-bezier(0.5,0.3,0.2,1);
}

@media (max-width: 480px) {
  html { font-size: 95%; }
}
@media (max-width: 350px) {
  html { font-size: 87%; }
}

/* --- TYPOGRAPHY & HEADINGS --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  text-shadow: none;
}
h1 {
  font-size: 2.2rem; 
  line-height: 1.13;
  letter-spacing: 0.01em;
}
h2 {
  font-size: 1.6rem; 
  margin-bottom: 10px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
@media (min-width: 640px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.35rem; }
}
p, ul, ol {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--primary);
  margin-bottom: 12px;
}
p.subheadline {
  color: var(--primary);
  font-size: 1.12rem;
  margin-bottom: 26px;
  opacity: 0.77;
}
@media (min-width: 768px) {
  p, ul, ol { font-size: 1.16rem; }
  .subheadline { font-size: 1.19rem; }
}
/* Subtle pastel text-shadows for dreamy effect */
h1, h2 {
  text-shadow: 0 4px 17px #eef3fb60;
}

/* --- SECTIONS & SPACING RULES --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--pastel-blue);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
}
section:nth-of-type(even) {
  background: var(--pastel-pink);
}
section:last-child {
  margin-bottom: 0;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  padding: 0 16px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex: 1 1 290px;
  min-width: 240px;
  transition: box-shadow 0.14s, transform 0.16s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 10px 36px 0 #ececff80;
  transform: translateY(-3px) scale(1.01);
}

.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: 18px;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 0;
}

/**** --- BUTTONS & CTA --- ****/
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #FBC2EB 0%, #A6C1EE 100%);
  color: var(--primary);
  font-family: 'Oswald', 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 13px 34px;
  border-radius: 32px;
  box-shadow: 0 2px 18px rgba(245,146,179,0.08);
  border: none;
  transition: var(--transition);
  margin-top: 16px;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #d9e7fa 0%, #fef6d9 100%);
  color: var(--accent);
  box-shadow: 0 8px 36px rgba(120,120,180, 0.13);
}
.cta-btn.secondary {
  background: var(--pastel-yellow);
  color: var(--primary);
  border: 2px solid #FBC2EB;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: var(--pastel-pink);
  color: var(--accent);
  border-color: #A6C1EE;
}

/* --- HEADER & NAV --- */
header {
  background: var(--pastel-blue);
  padding: 0 0;
  box-shadow: 0 2px 12px #e0e7f880;
  position: sticky;
  top: 0; left: 0; right: 0; z-index: 33;
}
nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
nav > a img {
  height: 36px;
  width: auto;
}
nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
nav ul li {
  display: inline-block;
}
nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 6px 7px 6px 7px;
  border-radius: 8px;
  color: var(--primary);
  transition: background 0.16s, color 0.14s;
}
nav ul li a:hover, nav ul li a:focus {
  background: var(--pastel-pink);
  color: var(--accent);
}
nav .cta-btn {
  margin-left: 16px;
  margin-top: 0;
}

@media (max-width: 900px) {
  nav ul {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  nav ul,
  nav .cta-btn {
    display: none !important;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  color: var(--primary);
  background: var(--pastel-yellow);
  border-radius: 50%;
  box-shadow: 0 2px 16px #f6d7ff52;
  width: 48px;
  height: 48px;
  z-index: 90;
  margin-left: 12px;
  transition: box-shadow .26s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  box-shadow: 0 4px 30px #f3b5d04d;
  background: var(--pastel-pink);
}

@media (min-width: 769px) {
  .mobile-menu-toggle { display: none; }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(250,255,255, 0.82);
  backdrop-filter: blur(8px);
  pointer-events: none;
  opacity: 0;
  transform: translateX(-100vw);
  transition: opacity 0.25s, transform 0.38s cubic-bezier(.46,.7,.41,1.19);
  z-index: 800;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  pointer-events: all;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 24px;
  top: 24px;
  font-size: 2.1rem;
  color: var(--accent);
  background: var(--pastel-pink);
  border-radius: 50%;
  padding: 7px 11px 7px 9px;
  z-index: 900;
  box-shadow: 0 2px 16px #e1badc49;
  transition: background 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--pastel-yellow);
}
.mobile-menu .mobile-nav {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.mobile-nav a {
  font-size: 1.45rem;
  font-family: 'Oswald', 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
  background: var(--pastel-blue);
  border-radius: 24px;
  padding: 13px 38px;
  min-width: 180px;
  text-align: center;
  margin-bottom: 2px;
  box-shadow: 0 2px 12px #a9d5ff18;
  transition: var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-pink);
  color: var(--accent);
  font-size: 1.5rem;
}

/* --- FOOTER --- */
footer {
  background: var(--pastel-blue);
  box-shadow: 0 -1px 10px #f1ecf9cc;
  padding: 16px 0 0 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 20px 10px 14px 10px;
}
footer ul {
  display: flex;
  flex-direction: row;
  gap: 18px;
  padding: 5px 0 12px 0;
}
footer ul li a {
  color: var(--primary);
  font-weight: 500;
  padding: 4px 7px;
  border-radius: 7px;
  transition: background 0.13s;
}
footer ul li a:hover { background: var(--pastel-pink); color: var(--accent); }
.footer-contact {
  color: var(--primary);
  text-align: center;
  font-size: 0.98rem;
}
.footer-contact address {
  font-style: normal;
  color: var(--accent);
  font-weight: bold;
}

@media (min-width: 660px) {
  footer .container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
  }
  .footer-contact { text-align: right; }
}

/* --- CARDS, TESTIMONIALS & CONTENT BLOCKS --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 3px 18px #c3cbe533;
  font-size: 1.03rem;
  color: var(--black);
  min-width: 220px;
  max-width: 540px;
  transition: box-shadow 0.16s;
}
.testimonial-card p {
  color: var(--primary);
  opacity: 1;
}
.testimonial-card span {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.98rem;
}

.text-section {
  background: var(--pastel-green);
  border-radius: var(--radius);
  padding: 22px 18px;
  margin-bottom: 12px;
}

/* --- LISTS --- */
ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 22px 0;
}
ul li {
  padding-left: 0px;
  font-size: 1rem;
  position: relative;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 60%;
  margin-right: 10px;
  vertical-align: middle;
}
ul strong, ul b {
  font-weight: 700;
  color: var(--primary);
}
ul span {
  color: var(--accent);
  font-weight: 600;
  background: var(--pastel-yellow);
  border-radius: 8px;
  padding: 3px 9px;
  margin-left: 12px;
  font-size: 0.98em;
}

@media (max-width: 700px) {
  ul { gap: 11px; }
  .testimonial-card { max-width: 100%; }
}

/* --- FORMS & INPUTS (newsletter, etc.) --- */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: var(--radius);
  border: 1px solid #dee8f2;
  padding: 11px 15px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px #e6e8f45c;
  outline: none;
  background: #fdfcff;
  transition: box-shadow 0.15s, border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--accent);
  box-shadow: 0 2px 15px #fec8a690;
}

/* --- ANIMATIONS + MICRO-INTERACTIONS --- */
a, .cta-btn, .mobile-nav a, .mobile-menu-toggle, .mobile-menu-close, .card, .testimonial-card {
  transition: var(--transition);
}
.card:active,
.testimonial-card:active,
.cta-btn:active {
  transform: scale(0.985);
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: var(--pastel-blue);
  color: var(--primary);
  border-top: 3px solid var(--pastel-pink);
  box-shadow: 0 -2px 20px #bdbffd36;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 36px;
  padding: 28px 22px 25px 22px;
  font-size: 1.02rem;
  opacity: 1;
  transition: transform 0.35s cubic-bezier(.59,.18,.21,.99), opacity 0.23s;
}
.cookie-banner.closed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin-left: 18px;
}
.cookie-banner button {
  font-family: 'Oswald', 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 9px 24px;
  border-radius: 24px;
  font-size: 1.04rem;
  box-shadow: 0 2px 11px #fb6b4622;
  cursor: pointer;
  margin-left: 1px;
  transition: var(--transition);
}
.cookie-banner button.cookie-settings {
  background: var(--pastel-yellow);
  color: var(--primary);
  border: 2px solid var(--accent);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--pastel-pink);
  color: var(--accent);
  border-color: var(--accent);
}
.cookie-banner button.cookie-settings:hover, .cookie-banner button.cookie-settings:focus {
  background: var(--pastel-blue);
  color: var(--accent);
  border-color: var(--accent);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    font-size: 1rem;
    padding: 16px 5vw 18px 5vw;
    align-items: flex-start;
  }
  .cookie-banner .cookie-buttons {
    margin-left: 0;
    gap: 12px;
  }
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  z-index: 10000;
  background: rgba(245,245,250, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  transition: opacity 0.33s cubic-bezier(.59,.28,.51,1.08);
}
.cookie-modal-overlay.closed {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--white);
  min-width: 310px;
  max-width: 410px;
  width: 90vw;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 48px #bdbffd37;
  padding: 32px 26px 28px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 10001;
  animation: fadeInModal 0.5s;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.92) translateY(30px);} 
  to { opacity: 1; transform: none; }
}
.cookie-modal h2 {
  margin-bottom: 13px;
  font-size: 1.25rem;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 18px;
  top: 16px;
  font-size: 1.4rem;
  background: var(--pastel-blue);
  color: var(--accent);
  border-radius: 50%;
  padding: 7px 10px;
  border: none;
  opacity: 0.85;
  transition: background .18s;
  z-index: 2;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: var(--pastel-yellow);
  color: var(--primary);
  opacity: 1;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f7eafe;
}
.cookie-category:last-child { border: none; }
.cookie-category label {
  font-weight: 600;
  color: var(--primary);
}
.cookie-category input[type="checkbox"]:not(:disabled) {
  accent-color: var(--accent);
  width: 1.2em; height: 1.2em;
  margin-right: 0;
}
.cookie-category input[type="checkbox"]:disabled {
  accent-color: #ccc;
  cursor: not-allowed;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: inherit;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 1rem;
  box-shadow: 0 3px 12px #fb6b4665;
  cursor: pointer;
  margin-left: 1px;
  transition: var(--transition);
}
.cookie-modal button.secondary {
  background: var(--pastel-yellow);
  color: var(--primary);
  border: 2px solid var(--accent);
}
.cookie-modal button.secondary:hover, .cookie-modal button.secondary:focus {
  background: var(--pastel-pink);
  color: var(--accent);
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: var(--pastel-pink);
  color: var(--accent);
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 17px 7vw 13px 7vw;
    min-width: unset;
  }
}

/* --- ACCESSIBILITY: FOCUS VISIBLE FOR KEYS --- */
*:focus-visible {
  outline: 3px dashed var(--accent);
  outline-offset: 2px;
}

/* --- UTILITIES --- */
.mt-2 { margin-top: 2px; }
.mb-2 { margin-bottom: 2px; }
.mt-4 { margin-top: 4px; }
.mb-4 { margin-bottom: 4px; }
.mt-8 { margin-top: 8px; }
.mb-8 { margin-bottom: 8px; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.text-center { text-align: center; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
  .container { max-width: 100%; padding: 0 3vw; }
  section { padding: 34px 4vw; }
  .footer-contact { font-size: 0.93rem; }
}
@media (max-width: 600px) {
  section { padding: 26px 2vw; border-radius: 18px; }
  header nav {
    padding: 15px 6px;
  }
  footer .container { padding: 17px 0 7px 0; }
}
@media (max-width: 500px) {
  section, .text-section { border-radius: 10px; }
}

/* --- Z-INDEX FOR OVERLAY ELEMENTS --- */
.mobile-menu,
.cookie-modal-overlay {
  z-index: 8000;
}
.cookie-banner { z-index: 9999; }

/* Prevent overlapping of content below overlays */
body.menu-open, body.cookie-modal-open {
  overflow: hidden !important;
  height: 100vh;
}

/* --- PRINT -- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-overlay { display: none !important; }
  section, .container { box-shadow: none !important; background: #fff !important; }
}
