/* RESET & BASELINE --------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--accent);
  color: var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}
img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  margin: 0 0 1.5em 0;
  padding-left: 1.2em;
}
ul[class], ol[class] {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  word-break: break-word;
}
h1 { font-size: 2.5rem; line-height: 1.1; letter-spacing: -1px; }
h2 { font-size: 2rem; line-height: 1.15; }
h3 { font-size: 1.5rem; line-height: 1.2; }

p { margin: 0 0 1em 0; max-width: 48em; }
address { font-style: normal; margin-bottom: 1em; }
strong { font-weight: 700; }
em { color: var(--secondary); font-style: italic; }

:root {
  --primary: #242833;
  --secondary: #15A3BF; /* replaced brand secondary with brighter playful tone */
  --accent: #F5EFE6;
  --fun1: #FFC93C;
  --fun2: #FF61A6; /* playful pink */
  --fun3: #8EC6C5;
  --shadow: 0 4px 24px 0 rgba(36,40,51,0.10);
  --radius: 18px;
  --radius-card: 28px;
  --transition: 0.25s cubic-bezier(.52,.3,.23,.99);
}

/* LAYOUT CONTAINERS --------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: var(--radius-card);
}
.text-section { margin-bottom: 24px; }

/* MAIN NAVIGATION --------------------------- */
header {
  background: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 90;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  padding: 16px 18px;
  justify-content: flex-start;
}
.main-nav a {
  color: var(--primary);
  text-decoration: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  position: relative;
  padding: 4px 10px;
  border-radius: 14px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.main-nav a:not(.cta-primary):hover,
.main-nav a:not(.cta-primary):focus {
  color: var(--secondary);
  background: var(--accent);
}
.main-nav img {
  width: 42px;
  height: 42px;
  margin-right: 14px;
}
.cta-primary {
  background: linear-gradient(90deg, var(--secondary) 60%, var(--fun2) 100%);
  color: #fff !important;
  font-weight: 900;
  border-radius: 20px;
  padding: 12px 26px;
  box-shadow: 0 4px 18px 0 rgba(21,163,191,0.08);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  letter-spacing: 0.5px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: none;
  outline: none;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, var(--fun2) 60%, var(--secondary) 100%);
  transform: translateY(-2px) scale(1.04) rotate(-1deg);
  box-shadow: 0 8px 26px 0 rgba(255,105,166,0.13);
}

.mobile-menu-toggle {
  background: var(--fun2);
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 14px 16px;
  font-size: 1.6rem;
  cursor: pointer;
  display: none;
  margin-left: 8px;
  transition: background var(--transition), transform var(--transition);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--secondary);
  transform: scale(1.08) rotate(7deg);
  outline: 2px solid var(--fun1);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding-top: 22px;
  padding-right: 0;
  transition: transform 0.4s cubic-bezier(.7,.3,.15,1.12);
  transform: translateX(-110vw);
  box-shadow: 0 6px 54px 0 rgba(36,40,51,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  color: var(--primary);
  background: var(--secondary);
  border: none;
  font-size: 2.2rem;
  border-radius: 50%;
  padding: 6px 16px;
  margin-right: 26px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  outline: none;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--fun2);
  color: #fff;
  transform: scale(1.09) rotate(-8deg);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  width: 100%;
  margin-top: 38px;
  padding: 0 32px;
}
.mobile-nav a {
  color: var(--primary);
  text-decoration: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  background: var(--accent);
  border-radius: 18px;
  padding: 13px 18px;
  margin: 2px 0;
  min-width: 180px;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}

/* Show/hide for nav & mobile UI*/
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu { display: none !important; }
}

/* FOOTER --------------------------- */
footer {
  margin-top: auto;
  background: #fff;
  border-top: 4px solid var(--fun2);
  padding: 22px 0 18px 0;
}
.footer-nav{
  display: flex;
  flex-direction: row;
  gap: 22px;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
}
.footer-nav a {
  color: var(--secondary);
  text-decoration: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 4px 12px;
  transition: background var(--transition), color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  background: var(--secondary);
  border-radius: 12px;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  justify-content: center;
  font-size: 1.04rem;
  color: var(--primary);
}
.footer-brand img {
  width: 36px;
}

/* FLEXBOX PATTERNS --------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 28px 25px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(36,40,51,0.17);
  transform: translateY(-6px) 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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(36,40,51,0.09);
  border-radius: 26px;
  margin-bottom: 20px;
  max-width: 600px;
  transition: box-shadow var(--transition), transform var(--transition);
  border: 2px dashed var(--fun1);
  position: relative;
  z-index: 1;
}
.testimonial-card:hover {
  box-shadow: 0 6px 22px 0 rgba(255,195,60,0.25), 0 8px 36px 0 rgba(21,163,191,0.13);
  transform: scale(1.022) rotate(-0.5deg);
  border-color: var(--fun2);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURE & SERVICE LISTS --------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 20px;
  margin-top: 2px;
}
.feature-grid li {
  flex: 1 1 220px;
  background: linear-gradient(90deg, var(--fun1) 40%, var(--fun2) 100%);
  color: var(--primary);
  border-radius: 18px;
  padding: 18px 14px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 16px 0 rgba(255,195,60,0.07);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.feature-grid li img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.feature-grid li:hover, .feature-grid li:focus {
  background: linear-gradient(90deg, var(--fun2) 30%, var(--secondary) 100%);
  color: #fff;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 18px;
}
.service-list li {
  background: var(--fun1);
  color: var(--primary);
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(255,195,60,0.08);
  padding: 18px 18px 14px 18px;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.service-list li strong {
  color: var(--fun2);
}
.service-list li span, .service-list li div {
  font-size: 0.97em;
  color: var(--secondary);
  font-weight: 700;
  margin-top: 2px;
}
.service-list li:hover, .service-list li:focus {
  background: var(--fun2);
  color: #fff;
}
.service-list li:hover span,
.service-list li:hover div,
.service-list li:focus span,
.service-list li:focus div {
  color: var(--fun1);
}

/* HEADLINES & TYPOGRAPHY --------------------------- */
.subheadline {
  color: var(--fun2);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: -0.5em;
  margin-bottom: 0.9em;
  letter-spacing: 0.2px;
}

h1, h2, h3 {
  background: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
}
h2 {
  color: var(--secondary);
  position: relative;
  margin-bottom: 0.7em;
}
h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 6px;
  border-radius: 3px;
  background: var(--fun2);
  margin-top: 9px;
}

.testimonial-client {
  color: var(--fun2);
  font-size: 0.98rem;
  font-weight: bold;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-top: -10px;
}

.text-section ul li, ul li {
  margin-bottom: 10px;
  font-size: 1.09em;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  line-height: 1.7;
  color: var(--primary);
}
.text-section ul li img {
  width: 22px; height: 22px; vertical-align: middle; margin-right: 5px;
}

/* BUTTONS & LINKS --------------------------- */
a,
.button, button {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.button, button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border-radius: 16px;
  border: none;
  padding: 10px 20px;
  background: var(--secondary);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 3px 12px 0 rgba(21,163,191,0.10);
  font-size: 1.1rem;
}
.button:hover, .button:focus, button:hover, button:focus {
  background: var(--fun2);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

/* MICRO-ANIMATIONS & INTERACTIONS ---------------- */
@media (prefers-reduced-motion: no-preference) {
  .cta-primary, .card, .feature-grid li, .service-list li, .testimonial-card {
    transition: box-shadow var(--transition), transform var(--transition), background var(--transition), color var(--transition);
  }
  .cta-primary:hover, .cta-primary:focus,
  .feature-grid li:hover, .feature-grid li:focus,
  .service-list li:hover, .service-list li:focus,
  .card:hover, .testimonial-card:hover {
    filter: brightness(1.04);
    box-shadow: 0 10px 28px 0 rgba(36,40,51,0.12);
    transform: scale(1.018) rotate(-1.2deg);
  }
}

/* RESPONSIVENESS --------------------------- */
@media (max-width: 900px) {
  .container { max-width: 748px; padding: 0 10px; }
  .feature-grid, .service-list, .card-container, .content-grid {
    gap: 16px;
  }
  .section {
    padding: 24px 6px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: inline-block; }
  .container { padding: 0 2vw; }
  .section { padding: 22px 3px; margin-bottom: 30px; }
  .content-wrapper { gap: 16px; }
  .feature-grid, .service-list, .card-container, .content-grid, .testimonial-card {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .testimonial-card {
    padding: 14px 11px;
    font-size: 0.99rem;
  }
  .feature-grid li { font-size: 1em; padding: 12px 12px; }
  .service-list li {font-size: 1em; padding: 11px 9px 10px 12px;}
  .text-image-section { flex-direction: column; align-items: stretch; gap: 18px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.44rem; }
  h3 { font-size: 1.1rem; }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  .feature-grid li img, .service-list li img {
    width: 24px; height: 24px;
  }
}

/* WHITE SPACE & SPACING --------------------------- */
main section {
  margin-bottom: 60px;
}
footer, header, .section, .container {
  box-sizing: border-box;
}

/* COOKIE CONSENT BANNER ------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 500;
  width: 100vw;
  background: #242833;
  color: #fff;
  box-shadow: 0 -2px 18px 0 rgba(36,40,51,0.16);
  padding: 28px 24px 22px 24px;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  animation: cookie-bar-in 0.6s cubic-bezier(.93,-0.02,.15,1.14);
}
@keyframes cookie-bar-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.11rem;
  font-weight: 900;
  color: var(--fun1);
  margin-bottom: 4px;
  margin-top: 0;
}
.cookie-consent-banner p {
  color: #fff;
  margin-bottom: 6px;
  font-size: 0.95em;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 6px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.99rem;
  padding: 10px 24px;
  border-radius: 16px;
  border: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--fun2);
  color: #fff;
  transform: scale(1.06);
}
.cookie-btn.reject {
  background: var(--fun2);
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--fun1);
  color: var(--primary);
  transform: scale(1.06);
}
.cookie-btn.settings {
  background: transparent;
  color: var(--fun1);
  border: 2px solid var(--fun1);
}
.cookie-btn.settings:hover,.cookie-btn.settings:focus{
  background: var(--fun1);
  color: var(--primary);
  transform: scale(1.055);
}

/* COOKIE MODAL --------------------------- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36,40,51,0.61);
  z-index: 601;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fadein .4s;
}
@keyframes cookie-modal-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  padding: 30px 24px 18px 24px;
  border-radius: 28px;
  color: var(--primary);
  min-width: 340px;
  max-width: 98vw;
  box-shadow: 0 6px 38px 0 rgba(21,163,191,0.18);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookie-modal-slidein .5s cubic-bezier(.93,-0.04,.12,1.11);
}
@keyframes cookie-modal-slidein {
  from { transform: translateY(90px) scale(0.89); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: var(--fun2);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.26rem;
  width: 32px;
  height: 32px;
  text-align: center;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.cookie-modal-close:hover,.cookie-modal-close:focus{
  background: var(--secondary);
  transform: scale(1.075);
}
.cookie-modal h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin: 0 0 4px 0;
  color: var(--fun2);
  font-size: 1.1rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 1.01rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 20px;
  height: 20px;
  margin-left: 10px;
}
.cookie-category.essential label {
  color: var(--primary);
  font-weight: bold;
}
.cookie-category .cookie-category-status {
  color: var(--fun1);
  font-size: 0.97em;
  margin-left: 8px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  justify-content: flex-end;
}
/* -- END COOKIE BANNER */

/* PLAYFUL DYNAMIC VISUAL ACCENTS ----------------- */
body {
  /* playful confetti dots as accent (pseudo style) */
}
.section {
  position: relative;
  /* randomly colored spotlight (as pseudo-element) */
}
.section::before {
  content: '';
  position: absolute;
  top: -28px; left: -32px;
  width: 88px; height: 88px;
  z-index: 0;
  border-radius: 50%;
  background: var(--fun2);
  opacity: 0.12;
  filter: blur(10px);
  pointer-events: none;
}
.section:nth-child(2n)::before {
  left: auto; right: -32px; top: 0;
  background: var(--fun1);
  opacity: 0.10;
}
.section:nth-child(2n+1)::before {
  background: var(--fun2);
  opacity: 0.14;
}

/* Scrollbar (fun accent color) */
::-webkit-scrollbar { width: 9px; background: var(--accent); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, var(--fun1), var(--fun2));
  border-radius: 8px;
}

/* SELECTION COLOR */
::selection { background: var(--fun2); color: #fff; }

/* FOCUS STATES ------------------- */
a:focus, button:focus, .cta-primary:focus, input:focus, .cookie-btn:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* MISC --------------------------- */
hr {
  border: 0;
  border-top: 2px dashed var(--fun1);
  margin: 32px 0;
}

/* Utitlity classes (for flexibility) */
.mt-2  { margin-top: 12px !important; }
.mb-2  { margin-bottom: 12px !important; }
.mt-4  { margin-top: 24px !important; }
.mb-4  { margin-bottom: 24px !important; }

/* Hide visually but readable by screen reader */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* END */
