/* =======================================================
   RESET & NORMALIZE
========================================================*/
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, blockquote, pre, form, fieldset, legend, figure, figcaption { margin: 0; padding: 0; font: inherit; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, picture, video, canvas, svg { display: inline-block; max-width: 100%; height: auto; border: 0; }
input, button, textarea, select { font: inherit; color: inherit; background: none; border: none; outline: none; }
button { cursor: pointer; background: none; border: none; }

/* ====================================================
   VARIABLES & BASE
===================================================== */
:root {
  --primary: #0A2948;
  --secondary: #F1A040;
  --accent: #F7FAFC;
  --bright-1: #FC8D4D;
  --bright-2: #11D6E2;
  --bright-3: #FBE84C;
  --dark: #081A31;
  --neutral: #FFFFFF;
  --shadow-card: 0 4px 24px rgba(20,50,85,0.11);
  --shadow-btn: 0 2px 8px rgba(241,160,64,0.16);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --ff-display: 'Montserrat', Arial, sans-serif;
  --ff-body: 'Open Sans', Arial, sans-serif;
}
body {
  font-family: var(--ff-body);
  color: var(--primary);
  background: var(--accent);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  transition: background 0.4s;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--neutral);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(10,41,72, 0.04);
}
main > section { margin-bottom: 60px; }

/* ===================================================
   TYPOGRAPHY: PLAYFUL + ENERGETIC
=================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  letter-spacing: -0.01em;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.13;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; }
.subtitle, .section h2 span {
  font-family: var(--ff-display);
  color: var(--secondary);
  font-weight: 600;
}
p, ul li, ol li, blockquote, dd {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 16px;
}
strong { color: var(--bright-1); font-weight: 700; }
blockquote {
  font-style: italic;
  color: var(--dark);
  border-left: 6px solid var(--bright-1);
  padding: 8px 18px 8px 16px; 
  background: var(--accent);
  border-radius: var(--radius-md);
}

a, .cta-secondary { color: var(--primary); transition: color 0.2s; }
a:focus-visible, a:hover, .cta-secondary:focus-visible, .cta-secondary:hover {
  color: var(--bright-2);
  text-decoration: underline wavy var(--secondary);
}

/* PLAYFUL HEADERS */
h1, h2 {
  position: relative;
  z-index: 1;
}
h1::after, h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 10px;
  border-radius: 8px;
  background: var(--bright-2);
  margin-top: 8px;
  margin-bottom: 0;
  opacity: 0.2;
}

/* Fun Font for Price/Meta */
.service-price, .testimonial-meta {
  font-family: var(--ff-display);
  color: var(--bright-1);
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: .02em;
}
.testimonial-meta {
  color: var(--secondary);
  font-size: 0.97rem;
}

/* ===================================================
   HEADER/NAVIGATION
=================================================== */
header {
  background: var(--primary);
  box-shadow: 0 2px 10px rgba(42,42,42,0.07);
  padding: 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 101;
  transition: box-shadow .18s;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 18px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  color: var(--accent);
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background .18s, color .18s;
}
header nav a:hover, header nav a:focus-visible {
  background: var(--secondary);
  color: var(--dark);
}
.cta-primary {
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--ff-display);
  border-radius: 100px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 11px 28px;
  margin-left: 18px;
  font-size: 1.12rem;
  display: inline-block;
  box-shadow: var(--shadow-btn);
  border: none;
  transition: background 0.18s, color 0.18s, transform .16s;
  position: relative;
}
.cta-primary::after {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 42px;
  height: 7px;
  background: var(--bright-3);
  opacity: 0.22;
  border-radius: 100px;
  transform: translateX(-50%);
  transition: opacity .15s;
}
.cta-primary:hover, .cta-primary:focus-visible {
  background: var(--bright-1);
  color: var(--neutral);
  transform: translateY(-2px) scale(1.04);
}
.cta-primary:hover::after, .cta-primary:focus-visible::after { opacity: .35; }

.cta-secondary {
  background: var(--bright-2);
  color: var(--dark);
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 1rem;
  font-family: var(--ff-display);
  font-weight: 600;
  box-shadow: var(--shadow-btn);
  margin-top: 28px;
  display: inline-block;
  border: none;
  transition: background .18s, color .18s, transform .14s;
}
.cta-secondary:hover, .cta-secondary:focus-visible {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-1.5px) scale(1.03);
}

.mobile-menu-toggle {
  display: none;
}

/* ================================
   HERO
=================================*/
.hero {
  background: linear-gradient(95deg, var(--accent), #FFF7EA 98%);
  min-height: 350px;
  display: flex;
  align-items: center;
  flex: 1 0 auto;
  margin-bottom: 32px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 12px 24px rgba(240,170,80,0.04);
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 350px;
  z-index: 2;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 38px 0 38px 0;
  max-width: 600px;
}
.hero h1 {
  color: var(--primary);
  text-shadow: 1px 2px 0 var(--bright-3), 0 1px 16px #fff0882b;
  margin-bottom: 6px;
}
.hero p {
  color: var(--dark);
  margin-bottom: 12px;
  font-size: 1.17rem;
}

/* =========================================
   PLAYFUL ICONS IN LISTS
=========================================*/
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 0;
  margin-bottom: 16px;
  font-size: 1.08rem;
}
ul li img, ol li img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  background: var(--accent);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 6px #f1a04022;
  margin-right: 6px;
}

/* ============================================
   SERVICE CARDS & TESTIMONIALS
   ================================================= */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 30px 0 20px 0;
}
.service-cards > div {
  background: var(--accent);
  border-radius: var(--radius-lg);
  min-width: 240px;
  max-width: 340px;
  flex: 1 1 260px;
  box-shadow: var(--shadow-card);
  padding: 28px 18px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .18s, transform .18s;
  margin-bottom: 20px;
  position: relative;
  animation: cardPopIn .6s cubic-bezier(.72,-0.06,.2,1.17) both;
}
.service-cards > div:hover {
  box-shadow: 0 8px 36px #f1a0402b, 0 2px 6px #0a294800;
  transform: translateY(-4px) scale(1.03);
}
@keyframes cardPopIn { from { opacity: 0; transform: translateY(45px) scale(.97);} to { opacity: 1; transform: none; } }
.service-cards h3, .service-cards h2 {
  color: var(--primary);
  font-family: var(--ff-display);
}
.service-cards p {
  color: var(--dark);
  font-size: 1rem;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--neutral);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 26px 18px 20px 18px;
  transition: box-shadow .17s, transform .17s;
}
.card:hover {
  box-shadow: 0 6px 30px #F1A04033;
  transform: translateY(-2px) scale(1.02);
}

/* Testimonial Cards */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 20px;
  min-width: 260px;
  max-width: 380px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  z-index: 1;
  transition: box-shadow .15s, transform .12s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 38px #0A294840, 0 2px 4px #fbe84c18;
  transform: translateY(-1.2px) scale(1.02);
}
.testimonial-card blockquote {
  border-left: 6px solid var(--bright-2);
  color: var(--primary);
  background: #fff;
  font-size: 1.13rem;
}
.testimonial-meta {
  color: var(--primary);
  opacity: 0.84;
}

.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== CTA Section =========== */
.cta {
  background: linear-gradient(92deg, var(--bright-2) 0%, var(--secondary) 110%);
  color: var(--primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 48px #11d6e226, 0 2px 8px #f1a0403d;
  min-height: 170px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  animation: ctaWiggle 1.65s both;
}
@keyframes ctaWiggle {
  0% { transform: scale(.98) rotate(-1deg); }
  98% { transform: scale(1.008) rotate(.7deg); }
  100% { transform: none; }
}
.cta h2, .cta p {
  color: var(--dark);
}
.cta .cta-primary { background: var(--primary); color: var(--accent); margin-top: 20px; }
.cta .cta-primary:hover, .cta .cta-primary:focus-visible {
  background: var(--bright-2); color: var(--primary); 
}

/* =============== FOOTER ============= */
footer {
  padding: 32px 0 0 0;
  background: var(--primary);
  color: var(--accent);
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 24px;
  margin-bottom: 8px;
  border-bottom: 1.5px solid #F1A04044;
}
.footer-columns > div {
  flex: 1 1 210px;
}
footer a {
  color: var(--accent);
  transition: color .16s;
  font-family: var(--ff-display);
  font-size: 1.02rem;
  font-weight: 500;
}
footer nav a {
  margin-bottom: 8px;
  display: inline-block;
}
footer nav a:hover, footer nav a:focus-visible {
  color: var(--bright-1);
}
.footer-bottom {
  padding: 12px 0 12px 0;
  text-align: center;
  color: var(--bright-2);
  font-size: 0.97rem;
  letter-spacing: .03em;
}

/* =====================================================
   MOBILE MENU (BURGER)
======================================================*/
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.7rem;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  transition: background .19s, color .16s, box-shadow .14s;
  box-shadow: 0 2px 8px #f1a04048;
}
.mobile-menu-toggle:focus-visible, .mobile-menu-toggle:hover {
  background: var(--bright-2);
  color: var(--dark);
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--primary);
  z-index: 300;
  transform: translateX(-110%);
  transition: transform 0.4s cubic-bezier(.9,-0.41,.40,1.35);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 22px 22px 16px;
  width: 100vw; height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: var(--secondary);
  background: none;
  border: none;
  margin-bottom: 16px;
  margin-right: 2px;
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  transition: background .18s, color .18s;
}
.mobile-menu-close:focus-visible, .mobile-menu-close:hover {
  background: var(--bright-2);
  color: var(--dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 18px;
}
.mobile-nav a {
  color: var(--accent);
  font-size: 1.38rem;
  font-family: var(--ff-display);
  font-weight: 600;
  padding: 14px 0 12px 8px;
  transition: color .17s, background .12s;
  border-radius: var(--radius-md);
  background: none;
  outline: none;
}
.mobile-nav a:focus-visible, .mobile-nav a:hover {
  color: var(--bright-1);
  background: var(--accent);
}

/* =============== COOKIE BANNER =============== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 -4px 38px #0A294820, 0 2px 4px #fbe84c18;
  z-index: 400;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 22px 22px 22px 22px;
  font-size: 1.045rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  animation: cookieIn .64s cubic-bezier(.71,.2,.37,1.13) both;
}
@keyframes cookieIn { from {transform: translateY(100%);} to {transform: none;} }
.cookie-banner p { margin-bottom: 0; max-width: 440px; }
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.cookie-btn, .cookie-settings-btn {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 100px;
  border: none;
  font-family: var(--ff-display);
  font-weight: 600;
  padding: 9px 23px;
  margin: 0;
  font-size: 1rem;
  transition: background 0.19s, color 0.19s, box-shadow .15s;
  box-shadow: var(--shadow-btn);
  cursor: pointer;
}
.cookie-btn:hover, .cookie-btn:focus-visible, .cookie-settings-btn:hover, .cookie-settings-btn:focus-visible {
  background: var(--bright-2);
  color: var(--dark);
}

.cookie-btn.reject {
  background: #ECE9E0;
  color: var(--dark);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus-visible {
  background: var(--bright-1);
  color: var(--neutral);
}

/* =========== COOKIE MODAL ============== */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10,41,72,0.45);
  z-index: 420;
  animation: fadeIn .35s both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 48px #0A294842;
  z-index: 500;
  width: 92vw;
  max-width: 420px;
  padding: 32px 28px 24px 28px;
  animation: popup .5s cubic-bezier(.66,1.1,.47,1.06) both;
}
@keyframes popup {
  from { opacity: 0; transform: translate(-50%, -60%) scale(.98); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1.01);}
}
.cookie-modal h3 { color: var(--primary); margin-bottom: 14px; font-family: var(--ff-display); }
.cookie-toggle-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
  margin-top: 8px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  background: #fbe84c15;
  border-radius: var(--radius-md);
  padding: 12px 10px 11px 16px;
  font-family: var(--ff-display);
}
.cookie-category label {
  flex: 1;
  font-weight: 600;
  color: var(--primary);
}
.cookie-switch {
  width: 38px;
  height: 22px;
  background: #EEF3F6;
  border-radius: 12px;
  position: relative;
  display: inline-block;
  transition: background .12s;
}
.cookie-switch input { display: none; }
.cookie-switch-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bright-2);
  transition: transform .19s, background .22s;
}
.cookie-switch input:checked + .cookie-switch-slider {
  transform: translateX(16px);
  background: var(--secondary);
}
.cookie-category.essential {
  opacity: 0.75;
  cursor: not-allowed;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 10px;
}

/* =============== FAQ / ACCORDIONS ================= */
dt {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--accent);
  background: var(--bright-2);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  font-size: 1.08rem;
}
dd {
  margin: 0 0 18px 0;
  color: var(--dark);
  font-size: 1rem;
  padding-left: 8px;
}

/* =============== CATEGORY MENU =============== */
.category-menu {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 16px 0 14px 0;
}
.category-menu a {
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--radius-md);
  padding: 7px 17px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.025rem;
  transition: background .14s, color .13s, box-shadow .1s;
}
.category-menu a:hover, .category-menu a:focus-visible {
  background: var(--secondary);
  color: var(--dark);
}

/* =============== CONTACT INFO =============== */
.contact-info {
  font-family: var(--ff-display);
  color: var(--primary);
  margin-bottom: 18px;
  background: var(--accent);
  padding: 18px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  font-size: 1.09rem;
}

/* ====================== MEDIA QUERIES ===================== */
@media (max-width: 1000px) {
  .footer-columns { flex-direction: column; gap: 20px; }
  .service-cards, .testimonial-list { flex-direction: column; align-items: stretch; }
  .container { max-width: 98vw; }
}

@media (max-width: 768px){
  body { font-size: 15px; }
  .container { padding: 0 8px; }
  header .container {
    min-height: 56px;
    padding: 0 10px;
  }
  header nav {
    display: none;
  }
  .cta-primary { font-size: 1rem; padding: 9px 20px; margin-left: 9px; }
  .mobile-menu-toggle { display: flex; }
  .hero .container, .section .container { flex-direction: column; min-height: unset; }
  .hero { min-height: 195px; padding: 0; border-radius: 0 0 var(--radius-md) var(--radius-md); }
  .footer-columns { gap: 16px; }
  .service-cards { flex-direction: column; gap: 18px; }
  .testimonial-list { flex-direction: column; gap: 14px; }
  .feature-item { gap: 10px; }
  .content-grid, .card-container, .footer-columns {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section { flex-direction: column; gap: 20px; }
  .card { min-width: unset; }
  .testimonial-card { min-width: unset; max-width: unset; }
  .category-menu { gap: 9px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 18px 10px; }
}
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .service-cards > div, .testimonial-card, .card { padding: 16px 10px 14px 10px; }
  .footer-bottom { font-size: 0.9rem; }
  .cookie-modal { padding: 16px 6px; }
}

/* ================= ANIMATION CLASSES ================== */
.animated-bounce {
  animation: bouncey .85s cubic-bezier(.66,.4,.22,1.52) 1;
}
@keyframes bouncey {
  0%,100% { transform: translateY(0); } 20% { transform: translateY(-14px); } 40% { transform: translateY(6px); } 60% { transform: translateY(-9px); } 80% { transform: translateY(4px); }
}
.animated-fade-in { animation: fadeIn .41s cubic-bezier(.93,0,.34,1.4) both; }

/* ===================== UTILITIES ===================== */
.bg-accent { background: var(--accent) !important; }
.bg-primary { background: var(--primary) !important; color: var(--accent) !important; }
.bg-secondary { background: var(--secondary) !important; color: var(--primary) !important; }
.rounded { border-radius: var(--radius-md); }
.shadow { box-shadow: var(--shadow-card); }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-4 { margin-bottom: 16px !important; }
.mb-6 { margin-bottom: 24px !important; }
.mt-4 { margin-top: 16px !important; }
.gap-2 { gap: 8px !important; }
.gap-4 { gap: 16px !important; }
.w-full { width: 100%; }

/* =================== Hide visually but Accessible ================== */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px; width: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  position: absolute;
}
footer.nav {
  display: grid;
}
section {
  padding: 15px 0;
}