/* 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
body {
  background-color: #F3EFEA;
  color: #24272B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 1.2em;
}

/* --- BRAND FONTS --- */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: local('Playfair Display'), local('PlayfairDisplay'), url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat'), local('Montserrat-Regular'), url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
}

:root {
  --color-primary: #24272B;
  --color-secondary: #B79B7B;
  --color-accent: #F3EFEA;
  --color-bright1: #FFF7D6;
  --color-bright2: #FEE59B;
  --color-pink: #FED8E1;
  --color-lavender: #E3DAFF;
  --brand-cyan: #A6F4F4;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Montserrat', Arial, sans-serif;
}

/* --- GENERAL SPACING & LAYOUTS --- */
.container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 6px 24px 0 rgba(183,155,123,0.10);
  padding: 32px 24px 24px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.3s, transform 0.22s;
}
.card:hover {
  transform: translateY(-6px) scale(1.04) rotate(-1deg);
  box-shadow: 0 12px 32px 0 rgba(183,155,123,0.30);
  z-index: 1;
}
.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: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #FFF7D6;
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(183,155,123,0.07);
  font-size: 16px;
  color: #24272B;
  transition: box-shadow 0.22s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 36px 0 rgba(183,155,123,0.15);
  background: #FEE59B;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 10px 0 rgba(183,155,123,0.07);
  margin-bottom: 20px;
}

/* ---- TYPOGRAPHY & HEADINGS ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: bold;
  color: #24272B;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 20px;
  line-height: 1.11;
  color: #24272B;
  text-shadow: 0 2px 0 var(--color-bright2), 1px 1px 0 var(--color-pink);
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--color-secondary);
  line-height: 1.18;
}
h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
  color: #B79B7B;
}
h4 {
  font-size: 1.15rem;
  color: #24272B;
}
p, ul li, ol li {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.68;
  margin-bottom: 8px;
  color: #24272B;
}
strong {
  font-weight: bold;
  color: #B79B7B;
}
a {
  color: var(--color-primary);
  text-decoration-skip-ink: auto;
  text-underline-offset: 3px;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #FF31B8;
  outline: none;
}

/* FUN FONTS + ANIMATED ELEMENTS */
body, button, input, select, textarea {
  font-family: var(--font-body);
}
.cta-banner h2 {
  font-family: var(--font-display);
  color: #FF31B8;
  font-size: 2rem;
  text-shadow: 0 3px 8px var(--brand-cyan);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  animation: bounce-text 2.2s infinite alternate;
}
@keyframes bounce-text {
  0% { transform: translateY(0); letter-spacing: -0.5px; }
  100% { transform: translateY(-6px); letter-spacing: 1px; }
}

/* BUTTONS */
.btn-primary,
.btn-secondary {
  font-family: var(--font-body);
  border: none;
  border-radius: 32px;
  padding: 13px 38px;
  font-size: 18px;
  font-weight: 700;
  margin-top: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.17s;
  box-shadow: 0 3px 12px 0 rgba(246, 49, 184,0.08), 0 1.5px 7px 0 rgba(166, 244, 244, 0.10);
}
.btn-primary {
  background: linear-gradient(90deg, #FF31B8 60%, #A6F4F4 100%);
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(36,39,43,0.12);
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #A6F4F4 0%, #FF31B8 100%);
  color: #24272B;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 24px 0 rgba(246, 49, 184,0.15), 0 2px 12px 0 rgba(166, 244, 244, 0.18);
}
.btn-secondary {
  background: linear-gradient(90deg, #FFD747 0%, #B79B7B 100%);
  color: #24272B;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: linear-gradient(90deg, #B79B7B 0%, #FFD747 100%);
  color: #fff;
}

/* --- NAVIGATION (DESKTOP) --- */
header {
  background: #fff;
  box-shadow: 0 1px 8px 0 rgba(183,155,123,0.09);
  position: sticky;
  top: 0;
  z-index: 100;
}
nav.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 20px 18px 20px;
}
nav.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  align-items: center;
}
nav.main-nav ul li a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: #B79B7B;
  padding: 4px 14px;
  border-radius: 20px;
  transition: background 0.18s, color 0.18s;
}
nav.main-nav ul li a:hover,
nav.main-nav ul li a:focus {
  background: #FF31B8;
  color: #fff;
}
nav.main-nav img {
  height: 34px;
  width: auto;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: linear-gradient(90deg, #FFD747 80%, #FF31B8 120%);
  border: none;
  color: #24272B;
  font-size: 2.3rem;
  padding: 6px 20px 6px 10px;
  border-radius: 16px;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 18px;
  z-index: 1202;
  transition: background 0.14s, color 0.14s, box-shadow 0.15s;
  box-shadow: 0 2px 6px 0 rgba(36,39,43,0.05);
}
.mobile-menu-toggle:focus {
  outline: 2px solid #FFD747;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1201;
  background: #F3EFEA;
  box-shadow: 0 8px 24px 0 rgba(36,39,43,0.19);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-110vw);
  transition: transform 0.37s cubic-bezier(0.62,0.01,0.5,1.02);
  gap: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  padding: 12px 18px 12px 6px;
  cursor: pointer;
  color: #FF31B8;
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 1212;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFD747;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 58px;
  width: 100%;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: #24272B;
  background: #FFF7D6;
  padding: 12px 28px 12px 22px;
  border-radius: 18px;
  text-decoration: none;
  box-shadow: 0 1.5px 7px 0 rgba(166,244,244,0.04);
  transition: background .16s, color .16s;
  min-width: 180px;
  min-height: 24px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FF31B8;
  color: #fff;
}
@media (max-width: 1020px) {
  nav.main-nav ul {
    gap: 10px;
  }
}
@media (max-width: 910px) {
  .container {
    max-width: 97vw;
    padding: 0 8px;
  }
  nav.main-nav {
    gap: 10px;
    padding: 10px 9px 12px 7px;
  }
}
@media (max-width: 768px) {
  nav.main-nav ul { display: none; }
  .btn-primary { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* ---- LAYOUTS/MEDIA QUERIES ---- */
@media (max-width: 768px) {
  .section,
  .cta-banner,
  .content-wrapper {
    padding: 18px 5px 18px 5px;
    gap: 18px;
  }
  .content-grid,
  .card-container,
  .text-image-section,
  .feature-item {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    font-size: 15px;
    padding: 13px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
  .card { padding: 16px 7px 16px 11px; }
}

/* ---- INTERACTIVE ELEMENTS & MICRO-INTERACTIONS ---- */
section h2 {
  position: relative;
}
section h2::after {
  content: '';
  display: block;
  width: 58px;
  height: 7px;
  background: linear-gradient(90deg, #FFD747 0%, #FF31B8 100%);
  border-radius: 18px;
  margin-top: 7px;
  animation: fadebar 2.2s infinite alternate-reverse;
}
@keyframes fadebar {
  0% { opacity: 1; width: 46px; }
  100% { opacity: 0.76; width: 76px; }
}
.text-section h3 {
  margin-bottom: 5px;
}
ul, ol {
  margin-bottom: 12px;
  margin-top: 7px;
}
ul li, ol li {
  margin-bottom: 9px;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

.feature-item img, .feature-item svg {
  width: 38px;
  height: 38px;
  margin-bottom: 5px;
}

/* ---- SPECIAL ELEMENTS: HERO, SERVICES, ADVANTAGES ---- */
.hero {
  background: #A6F4F4;
  border-radius: 32px;
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 36px 20px;
  margin-bottom: 48px;
  box-shadow: 0 12px 32px 0 rgba(36,39,43,0.13);
  animation: fadeinup 1s;
}
@keyframes fadeinup {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* CTA Banner */
.cta-banner {
  background: #E3DAFF;
  color: #24272B;
  border-radius: 24px;
  box-shadow: 0 6px 26px 0 rgba(183,155,123,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 38px 12px 34px 12px;
  gap: 16px;
  margin-bottom: 48px;
  margin-top: 8px;
  margin-left: 0px;
  margin-right: 0px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  left: -60px;
  top: -40px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #FF31B8;
  opacity: 0.16;
  animation: floatshape 4s infinite alternate ease-in-out;
}
@keyframes floatshape {
  0% { left: -60px; top: -40px; }
  100% { left: 80vw; top: 70px; }
}
.cta-banner * {
  position: relative;
  z-index: 1;
}

/* ---- TESTIMONIALS ---- */
.testimonial-card {
  background: var(--color-bright1);
  color: #24272B;
  border-left: 7px solid #FF31B8;
  font-style: italic;
  box-shadow: 0 4px 16px 0 rgba(183,155,123,0.07);
}
.testimonial-card strong {
  color: #FF31B8;
  font-style: normal;
}
.testimonial-card div:last-child {
  font-size: 1.3em;
  letter-spacing: 1px;
  color: #FFD747;
  margin-bottom: 2px;
  font-family: 'Playfair Display','Montserrat',serif;
  font-weight: 700;
  text-shadow: 0 1px 5px #fff7d6;
}

/* ---- FOOTER ---- */
footer {
  background: #24272B;
  color: #fff;
  padding: 42px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  border-bottom: 1px solid #B79B7B;
  padding: 0 22px 21px 22px;
}
.footer-nav img {
  height: 30px;
}
.footer-nav nav {
  display: flex;
  gap: 18px;
}
.footer-nav nav a {
  color: #B79B7B;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.17s;
}
.footer-nav nav a:hover, .footer-nav nav a:focus {
  color: #FFD747;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  padding: 22px 22px 33px 22px;
  align-items: flex-start;
  font-size: 1rem;
}
.footer-contact a {
  color: #FFD747;
  text-decoration: underline;
}
@media (max-width: 700px) {
  .footer-nav, .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 12px 7px 10px 7px;
  }
  footer {
    padding: 18px 0 0 0;
  }
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 3000;
  background: #24272B;
  color: #fff;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 26px;
  padding: 22px 16px 20px 16px;
  font-size: 1rem;
  box-shadow: 0 -6px 24px 0 rgba(36,39,43,0.13);
  transition: transform 0.33s cubic-bezier(.52,.04,.44,1.12), opacity 0.33s;
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(90px);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-text {
  flex: 1;
  margin-right: 12px;
}
.cookie-banner button, .cookie-banner .btn-cookie {
  background: #FFD747;
  border: none;
  color: #24272B;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 18px;
  padding: 11px 29px;
  margin-right: 9px;
  margin-top: 6px;
  margin-bottom: 3px;
  cursor: pointer;
  transition: background 0.2s, color 0.16s, box-shadow 0.22s;
  box-shadow: 0 2px 4px 0 rgba(246, 49, 184,0.08);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #FF31B8;
  color: #FFF;
  outline: none;
}
.cookie-banner .btn-cookie-settings {
  background: #B79B7B;
  color: #fff;
}
.cookie-banner .btn-cookie-settings:hover, .cookie-banner .btn-cookie-settings:focus {
  background: #FFD747;
  color: #24272B;
}
@media (max-width: 660px) {
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
  .cookie-banner .cookie-banner-text {
    margin-right: 0;
  }
}

/* ----- COOKIE MODAL ----- */
#cookie-modal {
  display: none;
  position: fixed;
  z-index: 3100;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(36,39,43,0.53);
  align-items: center;
  justify-content: center;
  animation: fadeinup 0.39s;
}
#cookie-modal.open { display: flex; }
.cookie-modal-window {
  background: #fff;
  color: #24272B;
  min-width: 288px;
  max-width: 96vw;
  border-radius: 24px;
  box-shadow: 0 8px 48px 0 rgba(183,155,123,0.11);
  padding: 32px 23px 19px 23px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadeinup 0.39s;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 17px;
  background: none;
  border: none;
  color: #B79B7B;
  font-size: 2rem;
  cursor: pointer;
  transition: color .13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #FF31B8;
  outline: none;
}
.cookie-modal-window h2 {
  font-size: 1.6rem;
  color: #FF31B8;
  font-family: var(--font-display);
}
.cookie-category {
  margin: 13px 0 9px 0;
  display: flex;
  align-items: center;
  gap: 19px;
}
.cookie-category input[type=checkbox] {
  accent-color: #FF31B8;
  width: 22px; height: 22px;
}
.cookie-category label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #24272B;
  font-weight: 700;
}
.cookie-modal-note {
  font-size: 0.93rem;
  color: #B79B7B;
  margin-top: 9px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  border-radius: 15px;
  background: #FFD747;
  font-weight: 700;
  font-size: 1rem;
  color: #24272B;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: #FF31B8;
  color: #fff;
}
/* Essential cookies are always enabled visually */
.cookie-category input[disabled] + label {
  color: #B79B7B;
  text-decoration: underline dotted;
}

/* ----- UTILITIES ----- */
.mt-2 { margin-top: 16px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }

/* --- SPECIFIC GLOBAL CLASSES --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Accessibility: focus outline for all focusable */
a:focus, button:focus, input:focus, select:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2.5px solid #FF31B8;
  outline-offset: 2px;
}

/* --- For minimum spacing between elements --- */
.card + .card, .testimonial-card + .testimonial-card, .feature-item + .feature-item {
  margin-top: 20px;
}
.content-wrapper > * + * {
  margin-top: 14px;
}

/* --- PREVENT OVERLAP, NO ABSOLUTE FOR CARDS --- */
.card, .testimonial-card, .feature-item {
  z-index: 1;
  position: relative;
}

/* --- Responsive display for key flex containers --- */
@media (max-width: 768px) {
  .content-grid, .card-container, .text-image-section, .feature-item {
    flex-direction: column;
    gap: 16px;
  }
}

/* --- Playful/dynamic micro-decoration --- */
section {
  position: relative;
}
section .decoration-ball {
  position: absolute; left: -40px; top: 28px;
  width: 46px; height: 46px;
  background: #FF31B8;
  opacity: 0.09;
  border-radius: 50%;
  z-index: 0;
  animation: ballmove 5s infinite alternate linear;
}
@keyframes ballmove {
  0% { left: -40px; top: 28px; }
  40% { left: 80px; top: 52px; }
  80% { left: 20vw; top: 58px; }
  100% { left: 18vw; top: 23px; }
}

/* --- Print styles (for legal/privacy pages) --- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  .container, .content-wrapper { margin: 0; padding: 0; }
}
