/* ====================== 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;
}
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background: #FCFAF7;
  color: #37323E;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #3EB9AD;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover,
a:focus {
  color: #F67A69;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
strong {
  font-weight: 700;
}
/* Import playfully dynamic fonts: */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Lato:wght@400;700&display=swap');

/* ============================== COLOR PALETTE ============================== */
:root {
  --primary: #37323E; /* Deep muted anthracite */
  --secondary: #8EC6C5; /* Energetic light turquoise */
  --accent: #F2E9E4;   /* Soft delicate rose */
  --bright-pink: #F67A69;
  --yellow: #FFEB74;
  --sky: #8EC6C5;
  --mint: #A9E5BB;
  --lilac: #D4A5A5;
  --lemon: #FCD581;
  --contrast-dark: #37323E;
  --contrast-light: #fff;
  --shadow: rgba(65, 62, 80, 0.07);
}

/* ======================== SPACING & LAYOUT ========================= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-start;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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(--accent);
  border-radius: 24px;
  box-shadow: 0 6px 32px var(--shadow);
  margin-bottom: 20px;
  flex: 1;
  min-width: 260px;
  max-width: 420px;
  transition: transform 0.18s cubic-bezier(.33,1.1,.68,1), box-shadow 0.2s;
}
.testimonial-card blockquote {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--primary);
  font-style: italic;
  text-shadow: 0 2px 6px rgba(100,60,80,.03);
}
.testimonial-card p {
  font-size: 1rem;
  color: var(--primary);
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  transform: translateY(-4px) scale(1.04) rotate(-1deg);
  box-shadow: 0 12px 40px rgba(65, 62, 80, 0.16);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* ======================== TYPOGRAPHY ======================= */
h1, .headline {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 8px;
  line-height: 1.15;
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--bright-pink);
  margin-bottom: 18px;
  font-weight: 700;
}
h3 {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.35rem;
  color: var(--primary);
  font-weight: bold;
  margin-bottom: 8px;
}
.headline {
  font-size: 1.7rem;
  color: var(--secondary);
  font-family: 'Playfair Display', serif;
}
.subheadline {
  font-size: 1rem;
  color: var(--contrast-dark);
  opacity: 0.8;
  margin-bottom: 10px;
}
p, ul, li {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.8;
}
.teaser-links {
  margin: 24px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.teaser-links a {
  color: var(--bright-pink);
  font-weight: 700;
  font-size: 1rem;
  border-bottom: 2px dotted var(--bright-pink);
  transition: color .18s, border-bottom .16s;
}
.teaser-links a:hover,
.teaser-links a:focus {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}
.text-section {
  background: var(--accent);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 2px 18px var(--shadow);
  gap: 12px;
}
.text-section ul {
  list-style: circle inside;
  padding-left: 0;
  margin: 16px 0 8px 0;
}
.text-section li {
  margin-bottom: 8px;
}

/* ================================ NAVIGATION ================================ */
header {
  background: var(--contrast-light);
  border-bottom: 4px solid var(--secondary);
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 18px 0;
  font-family: 'Lato', Arial, sans-serif;
}
.main-nav img {
  height: 48px;
  width: auto;
  margin-right: 16px;
}
.main-nav a {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  padding: 6px 12px;
  border-radius: 12px;
  transition: background 0.12s, color 0.18s;
}
.main-nav a:not(.cta-primary):hover,
.main-nav a:not(.cta-primary):focus {
  background: var(--lemon);
  color: var(--bright-pink);
}
a.cta-primary {
  background: var(--secondary);
  color: var(--contrast-dark);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 8px 24px;
  border-radius: 40px;
  transition: background 0.17s, color 0.17s, box-shadow 0.18s;
  box-shadow: 0 2px 8px var(--shadow);
  letter-spacing: 0.5px;
  border: 2px solid var(--secondary);
}
a.cta-primary:hover,
a.cta-primary:focus {
  background: var(--bright-pink);
  color: var(--contrast-light);
  border-color: var(--bright-pink);
}

/* MOBILE MENU (burger) */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 22px;
  z-index: 120;
  background: var(--bright-pink);
  color: var(--contrast-light);
  border: none;
  border-radius: 50%;
  padding: 10px 16px;
  font-size: 2rem;
  box-shadow: 0 2px 12px var(--shadow);
  cursor: pointer;
  transition: background 0.17s, transform 0.13s;
}
.mobile-menu-toggle:active {
  background: var(--secondary);
  transform: scale(0.88);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--accent);
  z-index: 200;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 0 0 36px 0;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.4,1.3,.7,1.01);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--bright-pink);
  color: var(--contrast-light);
  border: none;
  border-radius: 50%;
  margin: 16px 22px 6px 0;
  padding: 8px 16px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 2px 12px var(--shadow);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin: 32px 0 0 34px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: var(--primary);
  padding: 12px 6px;
  border-radius: 10px;
  font-weight: 600;
  background: none;
  transition: background .17s, color .16s;
  min-width: 220px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--lemon);
  color: var(--bright-pink);
}

/* Hide navigation on mobile, show burger */
@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 992px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ========================== HERO & SECTIONS =========================== */
main section {
  margin-bottom: 60px;
  padding: 40px 0;
}

/* ======================== FEATURE GRID / ICONIC SERVICES ======================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 24px;
  justify-content: space-between;
}
.feature-grid li {
  flex: 1 1 210px;
  min-width: 180px;
  max-width: 250px;
  background: var(--contrast-light);
  border-radius: 24px;
  box-shadow: 0 2px 14px var(--shadow);
  padding: 28px 18px 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.16s, box-shadow 0.18s;
  border: 2px solid var(--accent);
  position: relative;
  margin-bottom: 20px;
}
.feature-grid li img {
  width: 42px;
  height: 42px;
  margin-bottom: 6px;
}
.feature-grid li h3 {
  color: var(--bright-pink);
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}
.feature-grid li p {
  font-size: 0.97rem;
  text-align: center;
  color: var(--primary);
}
.feature-grid li:hover, .feature-grid li:focus-within {
  transform: translateY(-6px) scale(1.05) rotate(-2deg);
  box-shadow: 0 10px 38px rgba(246, 122, 105, 0.12);
  border-color: var(--bright-pink);
}

/* ======================== FOOTER ========================= */
footer {
  background: var(--accent);
  padding: 28px 0 10px 0;
  margin-top: 48px;
  border-top: 4px solid var(--secondary);
  font-size: 1rem;
  text-align: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
  font-size: 1.08rem;
}
.footer-links a {
  color: var(--primary);
  font-weight: 600;
  opacity: 0.8;
  transition: color 0.17s;
}
.footer-links a:hover, .footer-links a:focus {
  color: var(--bright-pink);
  opacity: 1;
}
.footer-address {
  color: var(--primary);
  font-weight: 400;
  margin-bottom: 8px;
}
footer p {
  color: var(--primary);
  opacity: 0.72;
  margin-bottom: 8px;
}

/* ======================= BUTTONS & CTA ======================= */
button, .button, input[type="submit"] {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 28px;
  border-radius: 48px;
  border: none;
  cursor: pointer;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 2px 8px var(--shadow);
  transition: background 0.18s, color 0.18s, box-shadow 0.12s, transform 0.12s;
  margin: 0 8px 0 0;
  outline: none;
}
.button-primary,
.cta-primary,
button.primary {
  background: var(--bright-pink);
  color: var(--contrast-light);
  border: 2px solid var(--bright-pink);
}
.button-primary:hover,
.cta-primary:hover,
.button-primary:focus,
.cta-primary:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
  box-shadow: 0 6px 22px var(--shadow);
  transform: scale(1.06) rotate(-3deg);
}
.button-secondary,
button.secondary {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.button-secondary:hover,
button.secondary:hover {
  background: var(--bright-pink);
  color: var(--contrast-light);
  border-color: var(--bright-pink);
}
button.outline,
.button-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--bright-pink);
}
button.outline:hover,
.button-outline:hover {
  background: var(--bright-pink);
  color: var(--contrast-light);
}

/* ======================= CARD DESIGNS ======================= */
.card {
  background: var(--contrast-light);
  border-radius: 20px;
  box-shadow: 0 2px 14px var(--shadow);
  padding: 24px 20px 22px 20px;
  min-width: 220px;
  transition: transform 0.13s, box-shadow 0.13s;
}
.card:hover, .card:focus-within {
  transform: scale(1.012) rotate(-1deg);
  box-shadow: 0 8px 36px rgba(65, 62, 80, 0.12);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* ======================== UTILITIES ========================= */
.hide-mobile { display: none !important; }
.show-mobile { display: block !important; }
@media (min-width: 768px) {
  .hide-mobile { display: block !important; }
  .show-mobile { display: none !important; }
}

/* =================================== COOKIE BANNER & MODAL =================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--accent);
  color: var(--primary);
  padding: 22px 8px 16px 8px;
  box-shadow: 0 -6px 38px var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 970;
  font-size: 1rem;
  animation: cookieSlideIn 0.7s cubic-bezier(.16,1.1,.42,1) 0.1s;
}
@keyframes cookieSlideIn {
  0% { transform: translateY(120px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner button {
  margin: 0 5px;
}
.cookie-banner .button.cookie-settings {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--secondary);
  margin: 0 5px;
}
.cookie-banner .button.cookie-settings:hover {
  background: var(--bright-pink);
  color: var(--contrast-light);
  border-color: var(--bright-pink);
}

.cookie-modal-backdrop {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(67,62,80,.13);
  animation: fadein 0.3s;
  display: flex;
  align-items: flex-end;
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  position: fixed;
  z-index: 10000;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%) scale(0.96);
  width: 96vw;
  max-width: 360px;
  background: var(--contrast-light);
  border-radius: 20px;
  box-shadow: 0 12px 44px var(--shadow);
  padding: 36px 28px 28px 28px;
  font-size: 1rem;
  animation: modalPopup 0.42s cubic-bezier(.65,1.7,.6,1.02) 0s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@keyframes modalPopup {
  0% { transform: translateX(-50%) scale(0.82); opacity: 0; }
  100% { transform: translateX(-50%) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  color: var(--bright-pink);
  font-size: 1.2rem;
  font-family: 'Playfair Display', serif;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 22px;
  height: 22px;
}
.cookie-modal .modal-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}
.cookie-modal .button {
  min-width: 90px;
  padding: 8px 20px;
}
.cookie-modal-close {
  position: absolute;
  right: 24px;
  top: 20px;
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 1.45rem;
  cursor: pointer;
}

/* ======================== RESPONSIVE / FLEXBOX ========================= */
@media (max-width: 991px) {
  .container { max-width:100vw; }
  .feature-grid {
    gap: 18px;
    justify-content: flex-start;
  }
  .card-container,
  .content-grid {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 8px; }

  .main-nav img {
    height: 38px;
  }
  .section, main section {
    padding: 32px 6px;
    margin-bottom: 36px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid li {
    max-width: 100%;
  }
  .content-wrapper, .text-section {
    padding: 18px !important;
    gap: 10px;
  }
  .testimonial-card {
    min-width: 180px;
    max-width: 100%;
    font-size: .95rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 12px;
  }
  .teaser-links {
    flex-direction: column;
    gap: 4px;
    margin: 16px 0 0 0;
  }
}
@media (max-width: 600px) {
  h1, .headline { font-size: 1.35rem; }
  h2 { font-size: 1.1rem; }
  .section, main section {
    padding: 20px 0 18px 0;
    margin-bottom: 22px;
  }
}
@media (max-width: 450px) {
  .container { padding: 0 2vw; }
  .footer-links { gap: 8px; }
}
/* FLEX DIRECTION for text-image-section */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* ======================== MICRO-INTERACTIONS & ANIMATION ======================== */
.cta-primary, .button, .feature-grid li, .testimonial-card, .card {
  transition: box-shadow .16s, background .14s, color .14s, border-color .13s, transform .13s;
}
.cta-primary:active, .button:active {
  transform: scale(.97) rotate(1deg);
  filter: brightness(.97);
}

/* FUN BUBBLE ANIMATION – Section backgrounds on playful pages */
.section {
  position: relative;
  overflow: visible;
}
.section:before {
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
  top: -30px;
  left: -50px;
  width: 80px;
  height: 80px;
  background: var(--yellow);
  opacity: .21;
  border-radius: 100%;
  filter: blur(1px);
  animation: floatbubble 5s ease-in-out infinite alternate;
}
@keyframes floatbubble {
  from { transform: translateY(0) scale(1.0); opacity: .13; }
  50% { transform: translateY(18px) scale(1.15); opacity: .28; }
  to { transform: translateY(-6px) scale(1.25); opacity: .2; }
}
.section:after {
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
  bottom: -40px;
  right: -40px;
  width: 52px;
  height: 52px;
  background: var(--mint);
  opacity: .14;
  border-radius: 50%;
  filter: blur(1px);
  animation: floatbubble2 6s ease-in-out infinite alternate-reverse;
}
@keyframes floatbubble2 {
  from { transform: translateY(0) scale(1.1); opacity: .14; }
  60% { transform: translateY(-14px) scale(1.21); opacity: .25; }
  to { transform: translateY(12px) scale(1.13); opacity: .18; }
}

/* ======================= FORM STYLES (optional, for future) ======================== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 15px;
  border-radius: 12px;
  border: 2px solid var(--secondary);
  background: #fff;
  color: var(--primary);
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
  transition: border .15s, box-shadow .15s;
}
input:focus, textarea:focus {
  border: 2.5px solid var(--bright-pink);
  outline: none;
  box-shadow: 0 4px 16px var(--shadow);
}
label {
  font-weight: 600;
  color: var(--bright-pink);
  font-size: 1.06rem;
  margin-bottom: 6px;
  font-family: 'Lato', Arial, sans-serif;
}

/* ======================= THANK YOU PAGE ======================== */
.thank-you-message {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 12px;
}
.next-steps-info {
  font-size: 1rem;
  color: var(--primary);
  opacity: .82;
  margin-bottom: 24px;
}

/* ======================= MISC UTILS ========================= */
::selection {
  background: var(--lemon);
  color: var(--primary);
}

/* ========================== ACCESSIBILITY ============================== */
:focus {
  outline: 2px solid var(--bright-pink);
  outline-offset: 2px;
}

/* ================== PRINT =================== */
@media print {
  header, footer, .cookie-banner, .mobile-menu, .mobile-menu-toggle, .cta-primary, .button { display: none !important; }
  .container { box-shadow: none !important; padding: 0 !important; }
}
