/* RESET & NORMALIZE (MOBILE-FIRST) */
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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.52;
  background: #F4F4F2;
  color: #19223A;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  transition: background 0.4s;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  border-style: none;
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}


/********************************************
 * 1. COLORS (BRAND + PLAYFUL DYNAMIC EXTENSIONS)
 ********************************************/
:root {
  --color-primary: #19223A;
  --color-secondary: #F4F4F2;
  --color-accent: #DA1B60;
  --color-play-1: #FFD60A;
  --color-play-2: #1DB9C3;
  --color-play-3: #87F1FF;
  --color-play-4: #39D353;
  --color-white: #fff;
  --color-black: #101010;
  --color-grey: #A1A7B3;
  --shadow-md: 0 4px 24px 0 rgba(25,34,58,0.12);
  --shadow-sm: 0 2px 8px 0 rgba(25,34,58,0.07);
}

/********************************************
 * 2. TYPOGRAPHY
 ********************************************/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600&display=swap');
h1, h2, h3, .btn-primary {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  color: var(--color-accent);
  line-height: 1.16;
}
.subtitle, h2 {
  font-size: 1.5rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
  color: var(--color-play-2);
  font-weight: 700;
  margin-bottom: 12px;
}
p, ul, ol, li, blockquote {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 14px;
}
blockquote {
  font-style: italic;
  background: var(--color-play-3);
  color: var(--color-primary);
  border-left: 5px solid var(--color-accent);
  padding: 14px 24px 14px 18px;
  margin-bottom: 10px;
  border-radius: 16px;
}
strong {
  color: var(--color-accent);
}
.section-title {
  font-size: 2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-accent);
  margin-bottom: 32px;
}

/********************************************
 * 3. GLOBAL LAYOUT STRUCTURE
 ********************************************/
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  padding: 28px 20px;
  transition: box-shadow 0.2s, transform 0.2s;
  min-width: 220px;
}
.card:hover {
  box-shadow: 0 6px 30px 0 rgba(218,27,96,0.18);
  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;
  background: var(--color-play-3);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 8px 0;
}

/********************************************
 * 4. HERO SECTIONS
 ********************************************/
.hero {
  background: var(--color-play-1);
  background-size: 400% 400%;
  padding: 56px 0 40px 0;
  animation: colorMove 13s ease-in-out infinite;
}
@keyframes colorMove {
  0%,100% { background-color: var(--color-play-1); }
  20% { background-color: var(--color-play-2); }
  50% { background-color: var(--color-play-3); }
  80% { background-color: var(--color-play-4); }
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  font-size: 2.6rem;
  color: var(--color-accent);
  text-shadow: 2px 4px 0 var(--color-play-3);
  margin-bottom: 4px;
  font-weight: 900;
}
.hero h2,
.hero .subtitle {
  color: var(--color-primary);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero p {
  color: var(--color-primary);
  max-width: 540px;
  margin-bottom: 14px;
}

/*********************************************
 * 5. NAVIGATION (DESKTOP + MOBILE BURGER)
 *********************************************/
header {
  background: var(--color-secondary);
  box-shadow: 0 1px 12px 0 rgba(25,34,58,0.06);
  position: sticky;
  top: 0;
  z-index: 1060;
}
.main-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  height: 65px;
  padding: 0 18px;
  gap: 10px;
}
.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-center {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-play-2);
  color: var(--color-white);
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 12px 30px;
  border-radius: 30px 12px 30px 12px;
  font-size: 1.1rem;
  box-shadow: 0 2px 14px 0 rgba(218,27,96,0.11);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.25s, transform 0.19s, box-shadow 0.21s;
  border: none;
  display: inline-block;
  margin-top: 12px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-play-2);
  color: var(--color-white);
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 8px 28px 0 rgba(29,185,195,0.20);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  padding: 4px 18px;
  color: var(--color-accent);
  background: var(--color-play-3);
  border-radius: 12px;
  border: 2px solid var(--color-accent);
  margin-left: auto;
  transition: background 0.17s, color 0.19s;
  z-index: 1110;
}
.mobile-menu-toggle:focus {
  outline: 3px solid var(--color-play-2);
}

/*********************************************
 * 6. MOBILE NAVIGATION OVERLAY
 *********************************************/
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, var(--color-play-1), var(--color-play-2), var(--color-play-3));
  transition: transform 0.4s cubic-bezier(.61,.13,.26,.96);
  transform: translateX(-105%);
  z-index: 1200;
  padding: 34px 30px 20px 28px;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.3rem;
  color: var(--color-accent);
  background: var(--color-play-3);
  border-radius: 16px;
  padding: 4px 16px;
  margin-bottom: 26px;
  border: 2px solid var(--color-play-2);
  box-shadow: var(--shadow-sm);
  transition: background 0.14s, color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-accent);
  color: var(--color-white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
  width: 100%;
}
.mobile-nav a {
  padding: 16px 0 16px 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  border-radius: 10px;
  color: var(--color-primary);
  font-weight: 700;
  transition: background 0.18s, color 0.18s;
  margin-bottom: 2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-white);
}

/********************************************
 * 7. RESPONSIVE LAYOUT (MOBILE-FIRST)
 ********************************************/
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 7px;
  }
  .section {
    padding: 32px 8px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.0rem; }
  .subtitle, h2, .hero h2 { font-size: 1.15rem; }
  .section-title { font-size: 1.5rem; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .hero {
    padding: 40px 0 28px 0;
    min-height: 320px;
  }
  .container { padding: 0 6px; }
  .feature-grid, .team-grid, .card-container, .content-grid { flex-direction: column !important; gap: 18px; }
  .text-image-section { flex-direction: column; gap: 20px; }
  .testimonial-card { flex-direction: column; gap: 10px; }
  .footer-main { flex-direction: column; gap: 18px; align-items: flex-start; }
}
@media (min-width: 769px) {
  .feature-grid, .team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: space-between;
  }
  .feature-grid > div, .team-grid > div {
    flex: 1 1 260px;
    min-width: 260px;
    background: var(--color-white);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    padding: 26px 18px 20px 18px;
    margin-bottom: 12px;
    transition: box-shadow 0.2s, transform 0.16s;
  }
  .feature-grid > div:hover, .team-grid > div:hover {
    box-shadow: 0 10px 30px rgba(29,185,195,0.31);
    transform: translateY(-4px) scale(1.03);
  }
}

/********************************************
 * 8. CTA SECTIONS
 ********************************************/
.cta-section {
  background: var(--color-play-2);
  color: var(--color-primary);
  border-radius: 40px 0 40px 0 / 40px 0 40px 0;
  padding-bottom: 34px;
  margin-bottom: 60px;
  box-shadow: 0 8px 54px 0 rgba(29,185,195,0.13);
  animation: ctaBounce 2.4s infinite alternate linear;
}
@keyframes ctaBounce {
  from { box-shadow: 0 8px 54px 0 rgba(29,185,195,0.13); }
  to { box-shadow: 0 16px 64px 0 rgba(218,27,96,0.12); }
}
.cta-section .btn-primary {
  margin-top: 16px;
}

/********************************************
 * 9. FOOTER
 ********************************************/
footer {
  background: var(--color-secondary);
  box-shadow: 0 -1px 15px 0 rgba(25,34,58,0.07);
  padding-top: 40px;
  padding-bottom: 0;
  border-radius: 30px 30px 0 0;
  margin-top: 36px;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  font-size: 1rem;
  color: var(--color-play-2);
  padding: 4px 0;
  border-radius: 8px;
  transition: background 0.17s, color 0.18s;
  font-weight: 600;
}
.footer-nav a:hover {
  color: var(--color-accent);
}
.footer-contact {
  font-size: 0.97rem;
  color: var(--color-primary);
  max-width: 340px;
}
.footer-bottom {
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-grey);
  padding: 13px 0 13px 0;
  margin-top: 21px;
  background: rgba(220,220,250,0.05);
}

/********************************************
 * 10. CARDS & ELEMENTS
 ********************************************/
.card {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  border-radius: 18px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.17s;
}
.card img {
  max-width: 64px;
  margin-bottom: 14px;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(218,27,96,0.13);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  align-items: flex-start;
}

/********************************************
 * 11. TESTIMONIALS
 ********************************************/
.testimonial-card {
  background: var(--color-play-3);
  color: var(--color-primary);
  border-radius: 20px;
  box-shadow: 0 3px 22px 0 rgba(25,34,58,0.06);
  margin-bottom: 24px;
  font-size: 1.02rem;
}
.testimonial-card strong {
  color: var(--color-accent);
}

/********************************************
 * 12. FORMS (if present)
 ********************************************/
input, textarea, select {
  border: 2px solid var(--color-play-2);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
  outline: none;
  transition: border 0.16s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid var(--color-accent);
  box-shadow: 0 2px 10px 0 rgba(218,27,96,0.12);
}

/********************************************
 * 13. COOKIE CONSENT BANNER
 ********************************************/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-play-2);
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5000;
  padding: 20px 10px;
  box-shadow: 0 -6px 28px 0 rgba(25,34,58,0.16);
  animation: cookieBounce 0.55s 1 cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes cookieBounce {
  from { transform: translateY(110%); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  margin-bottom: 12px;
  text-align: center;
  color: var(--color-primary);
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 7px;
}
.cookie-btn {
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  border-radius: 16px;
  border: none;
  padding: 11px 24px;
  transition: background 0.18s, transform 0.19s, color 0.21s;
  box-shadow: 0 4px 16px 0 rgba(218,27,96,0.13);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-play-1);
  color: var(--color-accent);
}
.cookie-btn.secondary {
  background: var(--color-play-2);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: var(--color-accent);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--color-play-1);
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-accent);
  color: #fff;
}

/********************************************
 * 14. COOKIE SETTINGS MODAL
 ********************************************/
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-55%) scale(1);
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: 20px;
  box-shadow: 0 10px 60px 0 rgba(29,185,195,0.33);
  padding: 32px 24px 22px 24px;
  z-index: 6000;
  width: 94vw;
  max-width: 370px;
  animation: modalIn 0.35s ease;
}
@keyframes modalIn {
  from { transform:translate(-50%,-40%) scale(0.82); opacity:0; }
  to   { transform:translate(-50%,-55%) scale(1); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.4rem;
  color: var(--color-accent);
  margin-bottom: 14px;
  font-weight: 900;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-toggle {
  width: 36px;
  height: 20px;
  background: var(--color-grey);
  border-radius: 10px;
  position: relative;
  transition: background 0.17s;
  margin-left: auto;
}
.cookie-toggle[data-checked="true"] {
  background: var(--color-play-4);
}
.cookie-toggle .circle {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(29,185,195,0.13);
  transition: left 0.18s;
}
.cookie-toggle[data-checked="true"] .circle {
  left: 18px;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
}

/********************************************
 * 15. PLAYFUL DECOR & MICRO-ANIMATIONS
 ********************************************/
.card, .feature-item, .feature-grid > div, .team-grid > div, .cta-section, .btn-primary {
  transition: box-shadow 0.19s, transform 0.17s, background 0.18s;
}
.card:hover, .feature-grid > div:hover, .team-grid > div:hover {
  transform: rotate(-1.2deg) scale(1.025);
  box-shadow: 0 8px 36px 0 rgba(29,185,195,0.29);
}
.btn-primary:active {
  transform: scale(0.96) rotate(1deg);
  box-shadow: 0 2px 8px 0 rgba(218,27,96,0.09);
}
.card:active {
  transform: scale(0.98);
}

/* Fun playful bubbles in hero and footer (decor only) */
.hero::before, footer::after {
  content: '';
  pointer-events: none;
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(4px);
}
.hero::before {
  top: -30px; right: 5vw;
  width: 120px; height: 120px;
  background: var(--color-play-4);
  opacity: 0.15;
  animation: floatB 8s infinite alternate;
}
@keyframes floatB {
  from { transform: translateY(0); }
  to   { transform: translateY(20px) scale(1.07); }
}
footer::after {
  left: -50px; bottom: -46px;
  width: 120px; height: 120px;
  background: var(--color-play-2);
  opacity: 0.10;
  animation: floatF 9s infinite alternate-reverse;
}
@keyframes floatF {
  from { transform: translateY(0); }
  to   { transform: translateY(-14px) scale(0.91); }
}

/********************************************
 * 16. ACCESSIBILITY: FOCUS VISIBLE
 ********************************************/
a:focus, button:focus, .btn-primary:focus, input:focus, .cookie-btn:focus {
  outline: 2px solid var(--color-play-1);
  box-shadow: 0 0 8px 2px var(--color-play-2);
}

/********************************************
 * 17. OTHER UTILITIES
 ********************************************/
.mt-lg { margin-top: 48px; }
.mt-md { margin-top: 28px; }
.mt-sm { margin-top: 12px; }
.mb-lg { margin-bottom: 48px; }
.mb-md { margin-bottom: 28px; }
.mb-sm { margin-bottom: 12px; }
.text-center { text-align: center; }
.rounded-xxl { border-radius: 38px; }
.bg-accent { background: var(--color-accent) !important; color: #fff !important; }
.gap-20 { gap: 20px !important; }

/********************************************
 * 18. ENSURE CONSISTENT SPACING
 ********************************************/
section + section {
  margin-top: 60px;
}
.card + .card {
  margin-left: 20px;
}
@media (max-width:768px){
  .card + .card {
    margin-left: 0;
  }
}

/********************************************
 * 19. VISIBILITY UTILITIES
 ********************************************/
@media (max-width: 768px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
}
@media (min-width: 769px) {
  .desktop-only { display: block !important; }
  .mobile-only { display: none !important; }
}

/********************************************
 * 20. PRINT
 ********************************************/
@media print {
  .main-nav, .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
}
