/* ------------------------------------------------------------
   CSS RESET & BASELINE 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, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {display: block;}
body { line-height: 1; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
table { border-collapse: collapse; border-spacing: 0; }
img { max-width: 100%; height: auto; display: block; border: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ------------------------------------------------------------
   CSS CUSTOM PROPERTIES (for fallback use directly in rules)
------------------------------------------------------------ */
:root {
  --primary: #283A47;
  --secondary: #79B4A9;
  --accent: #F4F7FA;
  --creative-orange: #FFA163;
  --creative-lilac: #9979B4;
  --creative-pink: #F2709C;
  --white: #fff;
  --black: #222;
  --gray: #8DA1B2;
}

/* ------------------------------------------------------------
   FONTS
------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
body, input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: var(--primary);
  background: var(--accent);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
}
h1 { font-size: 2.8rem; line-height: 1.1; margin-bottom: 24px; }
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
}
h2 { font-size: 2rem; line-height: 1.25; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--secondary); }
p, ul, ol { color: var(--primary); line-height: 1.7; margin-bottom: 18px; font-size: 1rem; }
strong { font-weight: 700; }

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

/* ------------------------------------------------------------
   HEADER & NAVIGATION
------------------------------------------------------------ */
header {
  background: var(--white);
  box-shadow: 0 2px 14px 0 rgba(140, 162, 178, 0.10);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 80px;
}
header img { height: 48px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  padding: 7px 8px;
  position: relative;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--white);
}

.btn.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: linear-gradient(90deg, var(--creative-pink), var(--creative-orange));
  color: var(--white);
  padding: 12px 32px;
  border: none;
  border-radius: 28px;
  box-shadow: 0 3px 20px 0 rgba(250, 170, 100, 0.13);
  transition: background 0.22s cubic-bezier(0.32,0,0.67,0), transform 0.15s;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  cursor: pointer;
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
  background: linear-gradient(90deg, var(--creative-orange), var(--creative-pink));
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 24px 0 rgba(250, 170, 100, 0.14);
}
.btn.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  border-radius: 20px;
  padding: 10px 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-right: 15px;
  border: none;
  transition: background 0.16s, color 0.16s, transform 0.2s;
}
.btn.btn-secondary:hover, .btn.btn-secondary:focus {
  background: var(--primary);
  color: var(--creative-orange);
  transform: scale(1.04);
}

/* ------------------------------------------------------------
   MOBILE BURGER MENU
------------------------------------------------------------ */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 151;
  background: var(--primary);
  color: var(--white);
  font-size: 2rem;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  box-shadow: 0 5px 24px -6px var(--secondary);
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--primary);
  color: var(--white);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(0.8, 0.4, 0.2, 1);
}
.mobile-menu.active {
  transform: translateX(0%);
  box-shadow: 4px 0 32px 2px rgba(40,58,71,0.21);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 24px 0 0;
  background: none;
  border: none;
  color: var(--gray);
  font-size: 2.2rem;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover {
  color: var(--creative-orange);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-top: 36px;
  padding-left: 32px;
  gap: 20px;
}
.mobile-nav a {
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 12px 0;
  border-radius: 6px;
  width: 100%;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: var(--creative-pink);
  color: var(--white);
}
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}


/* ------------------------------------------------------------
   HERO SECTION
------------------------------------------------------------ */
.hero {
  background: linear-gradient(120deg, #fff 55%, var(--creative-lilac) 100%);
  min-height: 320px;
  padding: 64px 0 32px 0;
  position: relative;
}
.hero .container {
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 650px;
}
.hero h1 {
  font-size: 2.6rem;
  color: var(--creative-lilac);
}
.hero p { font-size: 1.15rem; margin-bottom: 8px; }
.hero .btn {
  margin-top: 8px;
}
@media (max-width: 768px) {
  .hero { padding: 44px 0 20px 0; }
  .hero .container {
    justify-content: flex-start;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
}

/* ------------------------------------------------------------
   SECTIONS, CARDS, FLEX PATTERNS
------------------------------------------------------------ */
section {
  margin-bottom: 60px; 
  padding: 40px 20px;
  background: none;
  position: relative;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative; /* For decorative overlays if needed */
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 4px 24px -8px rgba(40, 58, 71, 0.14), 0 2px 5px 0 rgba(249, 112, 156, 0.07);
  padding: 32px 30px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow 0.24s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 10px 34px 0 rgba(153, 121, 180, 0.15), 0 7px 18px 0 rgba(255,161,99,.09);
  transform: translateY(-4px) scale(1.03);
}
.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;
  min-width: 220px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(153,121,180,0.13), 0 2px 5px 0 rgba(249, 112, 156, 0.05);
  margin-bottom: 20px;
  flex-direction: column;
  border-left: 5px solid var(--creative-pink);
  transition: box-shadow 0.24s, border-color 0.2s;
}
.testimonial-card:hover {
  border-left: 5px solid var(--creative-orange);
  box-shadow: 0 10px 32px 0 rgba(249,112,156,.13), 0 7px 22px 0 rgba(153,121,180,.09);
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.04rem;
  line-height: 1.75;
  margin-bottom: 8px;
}
.testimonial-card strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--creative-lilac);
  letter-spacing: 0.04em;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border-radius: 18px;
  background: var(--accent);
  padding: 24px 22px;
  min-width: 230px;
  max-width: 320px;
  flex: 1 1 220px;
  box-shadow: 0 3px 14px 0 rgba(121,180,169,0.06);
  border-top: 5px solid var(--creative-orange);
  transition: box-shadow 0.21s, border-color 0.21s, background 0.22s;
  margin-bottom: 20px;
}
.feature-item:hover, .feature-item:focus {
  border-top: 5px solid var(--creative-lilac);
  background: #FFF7F4;
  box-shadow: 0 8px 36px 0 rgba(249,112,156,0.10);
}
.feature-item img {
  width: 52px; height: 52px; border-radius: 10px; background: var(--white);
  box-shadow: 0 2px 7px 0 rgba(249, 112, 156, 0.09);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* ------------------------------------------------------------
   CARDS, LISTS, and ARTICLE ELEMENTS
------------------------------------------------------------ */
ul, ol {
  margin-top: 5px;
  margin-bottom: 18px;
  padding-left: 20px;
}
ul li, ol li {
  margin-bottom: 10px;
  font-size: 1em;
  line-height: 1.6;
  position: relative;
}
ul li::marker, ol li::marker {color: var(--creative-orange); font-size: 1.2em;}
ul li strong, ol li strong {color: var(--creative-lilac);}
.recent-articles li a {
  color: var(--creative-pink);
  font-weight: 600;
  text-decoration: underline;
}

/* ------------------------------------------------------------
   MAP PLACEHOLDER (Contact Page)
------------------------------------------------------------ */
.map-placeholder {
  width: 100%;
  min-height: 180px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px 0 rgba(121, 180, 169, 0.08);
  margin-top: 12px;
}

/* ------------------------------------------------------------
   FOOTER
------------------------------------------------------------ */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 46px 0 32px 0;
  box-shadow: 0 -2px 26px 0 rgba(153,121,180,0.05);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo-social img { height: 42px; margin-bottom: 12px; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--secondary);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 2px;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--creative-orange);
}
.footer-contact {
  font-size: 0.98rem;
}
.footer-contact p {
  color: var(--accent);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.footer-contact img {
  height: 18px; width: 18px;
}

/* ------------------------------------------------------------
   SPECIAL SECTIONS: COOKIES/CATEGORY & POLICY
------------------------------------------------------------ */
.privacy-policy, .gdpr, .cookies-policy, .terms-of-use, .thank-you {
  background: linear-gradient(99deg,#fff 80%,var(--creative-pink) 140%);
  border-radius: 20px;
  box-shadow: 0 2px 18px 0 rgba(249,112,156,.05);
  padding: 40px 24px 42px 24px;
}
.privacy-policy h1,
.gdpr h1,
.cookies-policy h1,
.terms-of-use h1,
.thank-you h1 {
  color: var(--creative-lilac);
  font-size: 2.2rem;
}
/* To avoid overlapping for single-sections */
.privacy-policy .container, .gdpr .container,
.cookies-policy .container, .terms-of-use .container,
.thank-you .container {
  max-width: 650px;
}

/* ------------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL LAYER
------------------------------------------------------------ */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  background: var(--white);
  color: var(--primary);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 -3px 24px 0 rgba(249,112,156,0.14);
  padding: 26px 12px 20px 12px;
  font-size: 1rem;
  z-index: 3000;
  animation: banner-slide-in 0.6s cubic-bezier(0.7, 0, 0.23, 1);
}
@keyframes banner-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p { flex: 1 1 250px; margin-bottom: 0; }
.cookie-consent-btn, .cookie-settings-btn {
  background: var(--creative-orange);
  color: var(--white);
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 22px;
  margin-right: 10px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 3px 10px 0 rgba(255,161,99,0.07);
  transition: background 0.16s, transform 0.15s;
}
.cookie-consent-btn:last-child, .cookie-settings-btn:last-child {
  margin-right: 0;
}
.cookie-consent-btn:hover, .cookie-consent-btn:focus {
  background: var(--creative-lilac);
  color: var(--white);
  transform: translateY(-2px) scale(1.04);
}
.cookie-reject-btn {
  background: var(--gray);
  color: var(--white);
  margin-right: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 22px;
  font-size: 1rem;
  border: none;
  transition: background 0.16s, transform 0.15s;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus {
  background: var(--creative-pink);
  color: var(--white);
  transform: scale(1.04);
}

.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; width:100vw; height:100vh;
  background: rgba(40, 58, 71, 0.44);
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: overlay-fade-in 0.22s;
}
@keyframes overlay-fade-in {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 11px 38px 0 rgba(153,121,180,0.15),0 2px 5px 0 rgba(249,112,156,.11);
  min-width: 300px;
  max-width: 96vw;
  padding: 36px 28px 26px 28px;
  position: relative;
  animation: modal-zoom-in 0.27s cubic-bezier(.83,0,.17,1);
}
@keyframes modal-zoom-in {
  from { transform: scale(0.9) translateY(60px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--gray);
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal-close:hover {
  color: var(--creative-lilac);
}
.cookie-modal h2 {
  color: var(--creative-lilac);
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 26px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--accent);
  border-radius: 12px;
  padding: 14px 18px;
}
.cookie-category label {
  font-weight: 600;
  color: var(--primary);
  font-size: 1.06rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 22px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gray);
  border-radius: 12px;
  transition: 0.2s;
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--creative-orange);
}
.toggle-slider:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  transition: 0.2s;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(22px);
}

/* Mark Essential as always enabled */
.cookie-category .essential {
  color: var(--creative-lilac);
  font-weight: bold;
  font-size: 1.04rem;
  opacity: 0.93;
}

/* ------------------------------------------------------------
   RESPONSIVE & FLEXBOX
------------------------------------------------------------ */
@media (max-width: 1024px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    padding: 0 12px;
  }
}
@media (max-width: 900px) {
  .card-container, .feature-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  .hero .container,
  section .container {
    padding: 0 6px;
  }
  section {
    margin-bottom: 40px;
    padding: 28px 5px;
  }
  .content-wrapper { gap: 16px; }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }
  .feature-item,
  .card {
    min-width: 0;
    max-width: 100%;
    padding: 18px 12px;
  }
  .about, .gdpr, .privacy-policy, .cookies-policy, .thank-you, .terms-of-use {
    padding: 22px 8px 26px 8px;
  }
  .footer-logo-social img { height: 36px; }
}
@media (max-width: 580px) {
  h1 { font-size: 1.35rem; }
  .btn.btn-primary, .btn.btn-secondary {
    padding: 10px 16px;
    font-size: 0.95rem;
  }
}

/* ------------------------------------------------------------
   MICRO-INTERACTIONS & VISUAL DETAILS
------------------------------------------------------------ */
a, .btn, .feature-item, .testimonial-card, .btn-primary, .btn-secondary {
  transition: all 0.16s cubic-bezier(0.6,0.22,0.36,1);
}
::-webkit-input-placeholder { color: #bdbfc2; }
:-moz-placeholder { color: #bdbfc2; }
::-moz-placeholder { color: #bdbfc2; }
:-ms-input-placeholder { color: #bdbfc2; }

/* ------------------------------------------------------------
   COLORS, BACKGROUNDS & ARTISTIC DECOR
------------------------------------------------------------ */
/* Colorful artistic bubbles as page art (example only, optional) */
body::before {
  content: '';
  position: fixed;
  right: -120px;
  top: -90px;
  width: 230px;
  height: 230px;
  background: radial-gradient(circle at 60% 40%, var(--creative-pink), var(--creative-lilac) 100%);
  opacity: 0.18;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
body::after {
  content: '';
  position: fixed;
  left: -110px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at 60% 40%, var(--creative-orange), var(--creative-pink) 100%);
  opacity: 0.13;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* Artistic font accents */
h1, h2, h3 {
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(153,121,180,0.14);
}

/* Artistic underline for sections */
section > h2 {
  border-bottom: 3px solid var(--creative-orange);
  padding-bottom: 8px;
  display: inline-block;
  margin-bottom: 26px;
}

/* ------------------------------------------------------------
   MISC & UTILITIES
------------------------------------------------------------ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Ensure minimum margin between all cards/sections */
section + section { margin-top: 12px; }
.card + .card, .testimonial-card + .testimonial-card, .feature-item + .feature-item {
  margin-top: 20px !important;
}

/* Prevent all overlapping by enforcing spacing */
.card, .feature-item, .testimonial-card, .text-section {
  margin-bottom: 20px;
}
/* ------------------------------------------------------------
   END OF CSS
------------------------------------------------------------ */
