/* 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: 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.6;
  -webkit-font-smoothing: antialiased;
  background: #FCFAFC;
  color: #2E3338;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}
img, video {
  max-width: 100%;
  height: auto;
}
a {
  color: #547baf;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #F4B942;
  outline: none;
}

/* SOFT PASTEL COLORS */
:root {
  --primary: #2E3338;
  --secondary: #FFFFFF;
  --accent: #F4B942;
  --pastel-blue: #AED7E6;
  --pastel-lilac: #E8EAF5;
  --pastel-yellow: #FFF7D6;
  --pastel-green: #D6F7E5;
  --pastel-pink: #F8E0E7;
  --shadow-card: 0 6px 24px 0 rgba(150,157,165,0.09);
}

/* FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

body, p, ul, ol, label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
}

strong {
  font-weight: 700;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

.content-wrapper {
  padding: 0;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--pastel-lilac);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  transition: background 0.18s;
}
.section:nth-of-type(even) {
  background: var(--pastel-yellow);
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--secondary);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 28px 24px 26px 24px;
  flex: 1 1 280px;
  min-width: 250px;
  max-width: 392px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 10px 36px 0 rgba(150,157,165,0.18);
}
.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: var(--pastel-blue);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  flex-direction: column;
  min-width: 220px;
  max-width: 540px;
  word-break: break-word;
  color: #2E3338;
}
.testimonial-card p {
  font-size: 1.07rem;
  color: #2E3338;
}
.testimonial-card strong {
  display: block;
  font-size: 1rem;
  margin-top: 10px;
  color: #687291;
}
.star-rating {
  font-size: 1.2rem;
  color: #F4B942;
  margin-top: 4px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* LISTS */
ul, ol {
  margin-left: 22px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 8px;
}

/* HEADER & NAVIGATION */
header {
  background: var(--secondary);
  box-shadow: 0 2px 12px rgba(124,138,191,0.06);
  position: relative;
  z-index: 21;
}
header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 0 15px 0;
  min-height: 72px;
}
.logo img {
  height: 37px;
  width: auto;
  display: block;
  vertical-align: middle;
}
nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
  padding: 7px 12px;
  border-radius: 9px;
  transition: background 0.17s, color 0.16s;
  font-size: 1rem;
}
nav a:hover, nav a:focus {
  background: var(--pastel-pink);
  color: var(--accent);
}
.cta {
  display: inline-block;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 27px;
  font-size: 1.09rem;
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(150,157,165,0.07);
  outline: none;
  border: none;
  text-align: center;
  transition: background 0.2s, color 0.16s, box-shadow 0.18s;
  margin-left: 14px;
}
.cta.primary {
  background: linear-gradient(90deg, #FFEFBA 0%, #AED7E6 100%);
  color: var(--primary);
  border: 2px solid var(--pastel-blue);
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--pastel-pink);
  color: var(--primary);
  border-color: var(--accent);
  box-shadow: var(--shadow-card), 0 0 0 3px #f8e0e794;
}
.cta.secondary {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--pastel-blue);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--pastel-blue);
  color: var(--primary);
  border-color: var(--accent);
  box-shadow: var(--shadow-card), 0 0 0 3px #F4B94222;
}

button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.16s, color 0.16s;
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2.05rem;
  background: var(--pastel-blue);
  color: var(--primary);
  border: none;
  padding: 7px 10px;
  border-radius: 10px;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--accent);
  color: var(--secondary);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: #F8E0E7CC;
  z-index: 8000;
  padding: 0;
  transition: transform 0.32s cubic-bezier(.74,.09,.33,.98);
  transform: translateX(100%);
}
.mobile-menu.open {
  display: block;
  transform: translateX(0%);
}
.mobile-menu-close {
  font-size: 2rem;
  position: absolute;
  top: 10px;
  right: 20px;
  color: var(--primary);
  background: none;
  z-index: 8300;
  border-radius: 10px;
  padding: 5px 8px;
  transition: background 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--accent);
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 100px 32px 32px 32px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  color: var(--primary);
  border-radius: 10px;
  padding: 11px 18px;
  margin: 0;
  background: none;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--pastel-blue);
  color: var(--accent);
}

/* MAIN CONTENT */
main {
  padding: 38px 0 48px 0;
  min-height: 50vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
label {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 2px;
}
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.7px solid var(--pastel-blue);
  border-radius: 9px;
  background: var(--secondary);
  font-size: 1rem;
  transition: border 0.14s, box-shadow 0.15s;
  margin-bottom: 3px;
  box-sizing: border-box;
  color: var(--primary);
}
input:focus, textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px #F4B94222;
}
textarea {
  min-height: 110px;
  resize: vertical;
}
button[type="submit"] {
  align-self: flex-start;
}

/* FOOTER */
footer {
  background: var(--pastel-green);
  width: 100%;
  box-shadow: 0 -2px 18px 0 rgba(150,157,165,0.05);
  padding: 50px 0 26px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
footer nav a {
  font-size: 1rem;
  color: #2E3338;
  opacity: 0.8;
  border-radius: 10px;
  padding: 7px 13px;
  transition: background 0.17s, color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--pastel-pink);
  color: var(--accent);
}
.footer-contact {
  font-size: 1rem;
  opacity: 0.90;
  color: #2E3338;
}
.footer-contact a {
  color: #547baf;
  text-decoration: underline;
  transition: color 0.13s;
}
.footer-contact a:hover {
  color: var(--accent);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FFF7D6;
  color: #2E3338;
  border-top: 2px solid #F8E0E7;
  box-shadow: 0 -2px 22px 0 rgba(150,157,165,0.10);
  z-index: 9000;
  padding: 25px 18px 20px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: center;
  transition: transform 0.33s, opacity 0.3s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-btn {
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  background: var(--secondary);
  border: 2px solid #D6F7E5;
  margin-left: 6px;
  margin-right: 6px;
  transition: background 0.15s, color 0.15s, border-color 0.14s;
}
.cookie-banner .cookie-btn.accept {
  background: var(--accent);
  color: #2E3338;
  border-color: var(--accent);
}
.cookie-banner .cookie-btn.accept:hover, .cookie-banner .cookie-btn.accept:focus {
  background: #FFD066;
}
.cookie-banner .cookie-btn.reject {
  background: var(--pastel-pink);
  color: #2E3338;
  border-color: #F8E0E7;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #FFD6D6;
}
.cookie-banner .cookie-btn.settings {
  background: var(--secondary);
  color: #2E3338;
  border: 2px solid var(--pastel-blue);
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: var(--pastel-blue);
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed; left:0; top:0; width:100vw; height:100vh;
  background: #B3A6C6CC;
  z-index: 9100;
}
.cookie-modal {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 98%;
  max-width: 420px;
  background: var(--secondary);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 0 32px rgba(150,157,165,0.20);
  z-index: 9200;
  padding: 32px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 1;
  transition: opacity 0.25s, transform 0.25s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #E8EAF5;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category label {
  margin: 0;
  font-weight: 500;
}
.cookie-toggle {
  appearance: none;
  width: 38px; height: 22px;
  background: #E8EAF5;
  border-radius: 14px;
  position: relative;
  transition: background 0.17s;
  outline: none;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #A0F0D7;
}
.cookie-toggle::before {
  content: '';
  display: block;
  position: absolute;
  top: 3.5px; left: 5px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #F8E0E7;
  transition: transform 0.19s;
}
.cookie-toggle:checked::before {
  background: #3EDFA2;
  transform: translateX(13px);
}
.cookie-category input[disabled], .cookie-category input[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.5;
}
.cookie-modal .modal-btns {
  margin-top: 16px;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .modal-btns button {
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 1rem;
  background: var(--accent);
  color: #2E3338;
  border: none;
  font-family: inherit;
  font-weight: 600;
  transition: background 0.12s;
}
.cookie-modal .modal-btns button:hover, .cookie-modal .modal-btns button:focus {
  background: #FFD066;
}

/* MICRO-INTERACTIONS */
.cta, .card, .testimonial-card, .cookie-banner, .cookie-btn, input, textarea, .cookie-modal {
  transition: box-shadow 0.22s, border 0.15s, background 0.18s, color 0.17s, transform 0.2s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 14px 36px 0 rgba(150,157,165,0.15);
  transform: translateY(-3px);
}

/* SPACING OVERRIDES FOR FLEX */
.card + .card {
  margin-left: 0;
}
.content-wrapper > * + * {
  margin-top: 18px;
}

/* MISC UTILS */
.hide {
  display: none !important;
}
.show {
  display: block !important;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .container {
    max-width: 890px;
  }
  .footer-contact {
    min-width: 210px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 6px;
  }
  header .container {
    gap: 10px;
    padding-left: 6px;
    padding-right: 6px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .cta {
    margin-left: 0;
  }
  /* Footer stacks vertical */
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  section, .section {
    padding: 24px 4px;
    border-radius: 13px;
  }
  h1 {
    font-size: 1.53rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 98vw;
    padding: 12px 10px;
    font-size: 1rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 13px;
  }
  .cookie-modal {
    max-width: 99vw;
    padding: 20px 6px 18px 6px;
    border-radius: 14px 14px 0 0;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.25rem;
  }
  h2 {
    font-size: 1.08rem;
  }
  .section, section {
    padding: 14px 1px;
  }
  .content-wrapper { padding: 0 1px; }
}

/* ACCESSIBILITY OUTLINES */
a:focus-visible, button:focus-visible, .cta:focus-visible {
  outline: 2px dashed var(--accent);
  outline-offset: 2px;
}

/* END OF STYLE CSS */