/* --- CSS RESET & NORMALIZATION --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  font-size: 16px;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F9F7F1;
  color: #28445A;
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #4EA796;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFB62A;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

/* --- PLAYFUL DYNAMIC COLORS --- */
:root {
  --color-primary: #28445A;
  --color-secondary: #4EA796;
  --color-accent: #F9F7F1;
  --color-highlight: #FFD444;
  --color-bright-1: #FF6594;
  --color-bright-2: #604DDB;
  --color-bright-3: #F38141;
  --color-bright-4: #43C3F9;
  --color-white: #fff;
  --color-dark: #262626;
  --shadow-card: 0 4px 20px rgba(40,68,90,0.09);
  --shadow-hover: 0 6px 32px rgba(40,68,90,0.18);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  color: #28445A;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 18px;
  text-wrap: balance;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 26px;
  color: var(--color-bright-2);
  text-shadow: 1px 2px 0 var(--color-highlight), 0 2px 10px #0001;
}
h2, .section h2 {
  font-size: 2rem;
  margin-bottom: 22px;
  color: var(--color-primary);
  position: relative;
}
h2::after {
  content: '';
  display: inline-block;
  margin-left: 12px;
  width: 28px;
  height: 8px;
  background: var(--color-highlight);
  border-radius: 8px;
  vertical-align: middle;
  opacity: 0.7;
}
h3 {
  font-size: 1.25rem;
  color: var(--color-bright-3);
}
p, li {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #28445A;
}
strong {
  font-weight: bold;
}

/* --- LAYOUT STRUCTURE --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
}

/* --- FLEXBOX PATTERNS + SPACING --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.24s, transform 0.18s;
  min-width: 220px;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px) scale(1.03);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.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: 12px;
  background: var(--color-white);
  color: var(--color-dark);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 240px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s, transform 0.18s;
  border-left: 8px solid var(--color-bright-1);
  position: relative;
  z-index: 1;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-dark);
}
.testimonial-card span {
  color: var(--color-bright-2);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 6px;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  border-left-color: var(--color-bright-4);
  transform: scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HEADER --- */
header {
  background: var(--color-primary);
  padding: 0;
  margin-bottom: 0;
}
header .container {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header a img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px #0003);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.main-nav a {
  color: var(--color-accent);
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-bright-1);
  color: var(--color-white);
}
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--color-bright-1), var(--color-bright-4));
  color: var(--color-white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  padding: 13px 34px;
  border-radius: 36px;
  border: none;
  box-shadow: 0 2px 14px #28445a12;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: box-shadow 0.24s, filter 0.15s, transform 0.11s;
  text-transform: uppercase;
  margin-left: 10px;
  animation: bounceIn 1.2s cubic-bezier(.29,1.44,.62,1);
}
.cta-btn:hover, .cta-btn:focus {
  box-shadow: 0 8px 26px 0 #604ddb33, 0 2px 14px #28445a22;
  filter: brightness(1.08) contrast(1.1);
  transform: translateY(-2px) scale(1.03) rotate(-1deg);
}
@keyframes bounceIn {
  0% { transform: scale(.7) translateY(-24px); opacity: 0; }
  70% { transform: scale(1.07) translateY(6px); opacity: 1; }
  100% { transform: scale(1) translateY(0); }
}

/* --- HERO SECTIONS --- */
main section:first-of-type {
  background: linear-gradient(95deg, #fff9ef 0%, #F9F7F1 60%, #fffcf8 100%);
  margin-bottom: 60px;
  padding: 58px 0 38px 0;
  border-radius: 0 0 48px 48px;
  box-shadow: 0 14px 22px -9px #ffb62a18;
  min-height: 230px;
}
main section:first-of-type .content-wrapper {
  align-items: flex-start;
  gap: 12px;
}
main section:first-of-type h1 {
  color: var(--color-bright-2);
  font-size: 2.6rem;
  text-shadow: 2px 0 1px var(--color-highlight);
}
main section:first-of-type p {
  margin-bottom: 22px;
  max-width: 580px;
  color: var(--color-primary);
}

/* --- SECTION STYLING --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section .container > h2 {
  margin-bottom: 24px;
}

/* --- CUSTOM LISTS AND ICONS --- */
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
ul li img, ol li img {
  width: 28px;
  height: 28px;
  margin-right: 7px;
  background: var(--color-highlight);
  border-radius: 7px;
  padding: 4px;
  box-shadow: 0 0 6px #F3814140;
  transition: transform 0.22s;
}
ul li:hover img, ol li:hover img {
  transform: scale(1.13) rotate(-8deg);
}
ul li strong {
  color: var(--color-bright-1);
  font-weight: 700;
}

/* --- HOME & FEATURE SECTIONS --- */
.content-wrapper > ul,
.content-wrapper > ol {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 22px;
  padding-left: 0;
}
.content-wrapper > ul > li, .content-wrapper > ol > li {
  margin-bottom: 12px;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 18px 16px;
  min-width: 220px;
  font-size: 1.04rem;
  position: relative;
  z-index: 1;
  transition: box-shadow 0.22s, transform 0.16s;
}
.content-wrapper > ul > li:hover, .content-wrapper > ol > li:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.02) rotate(-1deg);
}

/* --- SERVICE PRICES & BADGES --- */
.service-price {
  background: var(--color-bright-1);
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 4px 16px;
  border-radius: 12px;
  margin-top: 8px;
  display: inline-block;
}

/* --- CARDS & GRIDS --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* --- NEWSLETTER & PROMO BANNERS --- */
.newsletter-banner, .promo-banner {
  background: var(--color-bright-4);
  color: var(--color-white);
  border-radius: 18px;
  padding: 30px 20px;
  margin-bottom: 40px;
  text-align: center;
}
.newsletter-banner h2 {
  color: var(--color-white);
}

/* --- FOOTER --- */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 32px 0 0 0;
  border-top-left-radius: 64px;
  box-shadow: 0 -4px 13px #28445a22;
}
footer .container {
  padding-bottom: 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 20px;
}
.footer-nav a {
  color: var(--color-accent);
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.13s;
}
.footer-nav a:hover {
  color: var(--color-bright-3);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.98rem;
  margin-bottom: 18px;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-accent);
}
.footer-contact img {
  width: 22px;
  height: 22px;
  background: var(--color-bright-4);
  border-radius: 7px;
  padding: 2px;
  box-shadow: 0 0 6px #43C3F926;
}
.brand-footer {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-top: 6px;
  margin-bottom: 0;
}
.brand-footer img {
  width: 54px;
  height: auto;
  filter: drop-shadow(1px 2px 7px #fff7) drop-shadow(1px 2px 18px #4ea79635);
}

/* --- BURGER & MOBILE NAV --- */
.mobile-menu-toggle {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 1002;
  background: var(--color-bright-1);
  color: var(--color-white);
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  box-shadow: 0 2px 8px #f3814122;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  outline: none;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-bright-3);
  transform: scale(0.95);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(250, 250, 250, 0.97);
  z-index: 1200;
  transform: translateX(110vw);
  transition: transform 0.35s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  padding-top: 50px;
  box-shadow: 0 4px 32px #28445a2d, 0 2px 6px #fff5;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: var(--color-bright-1);
  color: var(--color-white);
  font-size: 2.2rem;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.16s;
  z-index: 1300;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-bright-3);
  transform: scale(0.92);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  margin-top: 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-bright-2);
  background: var(--color-accent);
  padding: 13px 32px;
  border-radius: 32px;
  margin-bottom: 0;
  transition: background 0.17s, color 0.17s;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 15px #4ea79618;
  min-width: 66vw;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-bright-1);
  background: var(--color-bright-4);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 3000;
  background: var(--color-primary);
  color: var(--color-accent);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -2px 13px #26262636;
  padding: 32px 20px 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  animation: slideBannerUp 0.7s cubic-bezier(.24,1.22,.62,1);
}
@keyframes slideBannerUp {
  from {transform: translateY(120%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner__text {
  flex: 1 1 220px;
  font-size: 1rem;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.cookie-banner__choices {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  background: var(--color-bright-4);
  color: var(--color-white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 28px;
  padding: 12px 28px;
  margin: 0;
  cursor: pointer;
  transition: background 0.22s, filter 0.13s, transform 0.11s;
  box-shadow: 0 2px 7px #4ea79618;
}
.cookie-btn--accept {
  background: var(--color-bright-3);
}
.cookie-btn--accept:hover, .cookie-btn--accept:focus {
  background: var(--color-bright-1);
}
.cookie-btn--reject {
  background: #bbb6f8;
  color: var(--color-primary);
}
.cookie-btn--reject:hover, .cookie-btn--reject:focus {
  background: #cac5e3;
  color: var(--color-dark);
}
.cookie-btn--settings {
  background: var(--color-bright-4);
  color: var(--color-white);
}
.cookie-btn--settings:hover, .cookie-btn--settings:focus {
  background: var(--color-primary);
  color: var(--color-bright-4);
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(40,68,90,0.43);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.35s;
}
@keyframes fadeIn { from {opacity: 0;} to {opacity:1;}}
.cookie-modal {
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: 22px;
  box-shadow: 0 10px 50px #28445a33;
  width: 94vw;
  max-width: 430px;
  padding: 32px 24px 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: scaleIn 0.33s cubic-bezier(.45,1.54,.62,1);
}
@keyframes scaleIn { from { transform: scale(0.72); opacity:0;} to { transform: scale(1); opacity:1;}}
.cookie-modal h3 {
  font-size: 1.3rem;
  color: var(--color-bright-2);
  margin-bottom: 8px;
}
.cookie-modal label {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 12px;
}
.cookie-category-toggle {
  width: 38px;
  height: 24px;
  background: #ddd;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
  outline: none;
}
.cookie-category-toggle[data-checked="true"] {
  background: var(--color-bright-3);
}
.cookie-category-toggle::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 6px #8882;
  transition: left 0.21s;
}
.cookie-category-toggle[data-checked="true"]::after {
  left: 16px;
}
.cookie-modal .cookie-btn {
  margin-top: 10px;
  width: 100%;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
  .container { max-width: 97vw; }
}
@media (max-width: 900px) {
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .main-nav {
    gap: 12px;
  }
  .footer-nav {
    gap: 11px;
  }
}
@media (max-width: 768px) {
  
  h1 { font-size: 1.6rem; }
  h2, .section h2 { font-size: 1.2rem; }
  main section:first-of-type {
    padding: 36px 0 24px 0;
    border-radius: 0 0 36px 36px;
    min-height: auto;
  }
  .container {
    padding: 0 9px;
  }
  .content-wrapper { gap: 14px; }
  section { padding: 22px 6px; margin-bottom: 45px; }
  .section { padding: 22px 6px; }
  .testimonial-card { min-width: 0; }
  .content-grid, .card-container{
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .content-wrapper > ul, .content-wrapper > ol {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  header .container {
    flex-direction: row;
    justify-content: space-between;
  }
  .main-nav {
    display: none !important;
  }
  .cta-btn {
    padding: 12px 20px;
    font-size: 0.98rem;
    margin-left: 0;
  }
  .mobile-menu {
    padding-top: 25px;
  }
  .mobile-menu-toggle {
    display: flex !important;
    top: 15px;
    right: 13px;
    width: 44px;
    height: 44px;
    font-size: 1.7rem;
  }
  .mobile-menu-close {
    font-size: 2rem;
    width: 44px;
    height: 44px;
    top: 15px;
    right: 13px;
  }
}
@media (min-width: 769px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 470px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 20px 8px 13px 8px;
  }
  .cookie-banner__choices {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
  }
  .cookie-modal {
    padding: 20px 7px 20px 12px;
  }
}

/* --- ANIMATED ELEMENTS / PLAYFUL DETAILS --- */
.cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: box-shadow 0.19s, transform 0.13s, background 0.13s;
}
.cta-btn:active, .cookie-btn:active, .mobile-menu-toggle:active, .mobile-menu-close:active {
  transform: scale(.98);
}
.card, .testimonial-card, .content-wrapper > ul > li, .content-wrapper > ol > li {
  transition: box-shadow 0.19s, transform 0.14s;
}
.card:hover, .content-wrapper > ul > li:hover, .content-wrapper > ol > li:hover {
  animation: pulse 0.24s 1;
  z-index: 3;
}
@keyframes pulse {
  0% { box-shadow: 0 6px 32px #ffb62a21; }
  50% { box-shadow: 0 10px 42px #604ddb21; }
  100% { box-shadow: var(--shadow-card); }
}

/** Accessibility: Focus rings for all buttons and links **/
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px dashed var(--color-bright-4);
  outline-offset: 3px;
}

/* --- Utility classes for margin/gap if needed --- */
.mt-0 { margin-top: 0 !important; }
.mt-16 { margin-top: 16px !important; } 
.mb-0 { margin-bottom: 0 !important; }
.mb-16 { margin-bottom: 16px !important; }
.gap-16 { gap: 16px !important; }

/* --- Hide visually but keep for screen readers --- */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
