/* CSS 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,
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;
  box-sizing: border-box;
  vertical-align: baseline;
}
html {
  line-height: 1.5;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #FFFDF8;
  color: #10203E;
  font-size: 16px;
  position: relative;
  overflow-x: hidden;
}
img, picture {
  max-width: 100%;
  display: block;
  border: 0;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
  list-style-position: outside;
}
a {
  color: #E65A41;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.59,.01,.84,.72);
  cursor: pointer;
  font-weight: 600;
}
a:hover, a:focus {
  color: #10203E;
  text-decoration: underline dashed 2px #F9E576;
}
button, .cta-primary, .cta-secondary {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}
strong {
  font-weight: 700;
}

/* BRAND FONTS */
h1, h2, h3, h4, .cta-primary, .cta-secondary {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}
h1 { font-size: 2.5rem; line-height: 1.1; font-weight: 800; margin-bottom: 16px; letter-spacing: -2px; }
h2 { font-size: 2rem; line-height: 1.1; font-weight: 700; margin-bottom: 12px; letter-spacing: -1px; }
h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.5px; }
p, li, ul, ol { font-size: 1rem; }
.subheadline { font-size: 1.15rem; color: #10203E; margin-bottom: 28px; font-weight: 500; }

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 20px;
}
.text-section {
  background: #F9E57612;
  box-shadow: 0 2px 16px 0 rgba(230,90,65,0.09);
  border-radius: 20px;
  padding: 32px 20px;
  margin: 32px 0 0 0;
}

/* SECTION SPACING (MANDATORY) */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEX & RESPONSIVE PATTERNS */
.feature-grid, .service-overview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.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: #FFFDE6;
  border-radius: 16px;
  box-shadow: 0 3px 14px 0 rgba(16,32,62,0.14);
  margin: 20px 0;
  position: relative;
  animation: bounceIn .7s cubic-bezier(.22,1,.36,1.1);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 1024px) {
  .feature-grid, .service-overview-grid, .content-grid {
    flex-direction: column;
    gap: 28px;
  }
  .card-container { flex-direction: column; }
}
@media (max-width: 768px) {
  .feature-grid, .service-overview-grid, .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 24px;
  }
  .container { padding: 0 8px; }
  section { padding: 32px 8px; }
  .content-wrapper { gap: 18px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
}

/* MAIN NAVIGATION & HEADER */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 20px -10px #E65A4160;
  position: sticky;
  top: 0;
  z-index: 20;
}
.main-nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 24px 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.main-nav > a img {
  width: 55px;
  height: auto;
  margin-right: 16px;
  border-radius: 12px;
  transition: transform .2s;
}
.main-nav > a:hover img {
  transform: rotate(-6deg) scale(1.08);
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  align-items: center;
}
.main-nav ul li a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 12px;
  color: #10203E;
  transition: background 0.2s, color 0.2s;
}
.main-nav ul li a:hover {
  background: #F9E576;
  color: #E65A41;
}
.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 60px;
  font-size: 1.08rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 16px 0 #F9E57644;
  transition: background .18s, color .18s, transform .16s;
  text-align: center;
  text-decoration: none;
  padding: 13px 33px;
}
.cta-primary {
  background: #F9E576;
  color: #10203E;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #E65A41;
  color: #fff;
  transform: scale(1.06) rotate(-1deg);
  box-shadow: 0 8px 24px 0 #E65A4140;
}
.cta-secondary {
  background: #fff;
  color: #E65A41;
  border: 2px solid #E65A41;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #E65A41;
  color: #fff;
  transform: scale(1.04) rotate(1deg);
  border-color: #F9E576;
}
/* Burger Button */
.mobile-menu-toggle {
  display: none;
  background: #F9E576;
  color: #10203E;
  border: none;
  border-radius: 50%;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 10px #F9E57640;
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 101;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #E65A41;
  color: #fff;
}

@media (max-width: 900px) {
  .main-nav ul, .main-nav .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  z-index: 200;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #10203ED8;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform .34s cubic-bezier(.63,.01,.86,.94), opacity .26s cubic-bezier(.67,.21,.92,.57);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.5rem;
  border: none;
  position: absolute;
  right: 24px;
  top: 24px;
  z-index: 220;
  cursor: pointer;
  transition: color .14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F9E576;
}
.mobile-nav {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  gap: 22px;
}
.mobile-nav a {
  color: #F9E576;
  background: #fff0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  padding: 18px 36px;
  border-radius: 28px;
  width: 90vw;
  max-width: 380px;
  text-align: center;
  font-weight: 800;
  letter-spacing: .5px;
  transition: background .20s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F9E576;
  color: #E65A41;
}

/* CARDS, FEATURE, ARTICLE */
.feature-grid > div, .service-overview-grid > div, .featured-article {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 18px -8px #10203E30;
  padding: 24px 20px;
  min-width: 0;
  flex: 1 1 250px;
  transition: transform .19s cubic-bezier(.53,.17,.93,.81), box-shadow .16s;
  position: relative;
  margin-bottom: 0 !important;
}
.feature-grid > div:hover, .service-overview-grid > div:hover, .featured-article:hover {
  transform: translateY(-8px) scale(1.03) rotate(-2deg);
  box-shadow: 0 12px 40px -12px #E65A4155;
  z-index: 2;
}
.feature-grid img, .service-overview-grid img {
  width: 50px; height: 50px; margin-bottom: 14px;
  transition: transform .18s;
}
.feature-grid > div:hover img {
  transform: rotate(7deg) scale(1.17);
}
.service-overview-grid > div h3 {
  margin-bottom: 8px;
  font-size: 1.10rem;
  color: #E65A41;
}
.featured-article {
  background: #F9E57622;
  border: 1.5px dashed #E65A41;
  text-align: left;
  margin: 42px 0 0 0;
}

/* TESTIMONIALS */
.testimonial-card {
  background: #F9E576;
  color: #10203E;
  box-shadow: 0 4px 20px -12px #10203E70;
  min-width: 0;
  max-width: 700px;
  margin-bottom: 20px;
  font-size: 1.10rem;
  font-style: italic;
  position: relative;
  border-left: 8px solid #E65A41;
  z-index: 2;
  animation: fadeInUp .8s cubic-bezier(.41,.96,.67,1.05);
}
.testimonial-card p {
  margin: 0;
}
.testimonial-card span {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  color: #10203E;
  margin-top: 8px;
}

/* BUTTONS & LINKS */
button, .cta-primary, .cta-secondary {
  outline: none;
}
button:focus, .cta-primary:focus, .cta-secondary:focus {
  outline: 2px solid #E65A41;
  outline-offset: 2px;
}

/* TYPOGRAPHY SCALE */
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
p, li, ul, ol, span { font-size: 1rem; }
@media (max-width: 600px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
}

/* LISTS */
ul, ol {
  margin-left: 1.5em;
  margin-top: 0.5em;
}
ul {
  list-style-type: disc;
}
ol {
  list-style-type: decimal;
}

/* FOOTER */
footer {
  background: #10203E;
  color: #F9E576;
  padding: 36px 0 20px 0;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
footer img {
  width: 64px;
  margin-bottom: 8px;
}
footer nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
footer nav a {
  color: #F9E576;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: underline dotted 1.6px #E65A41;
  margin: 0 8px;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  text-decoration: underline wavy 2px #fff;
}
.address-block {
  color: #fff;
  font-size: 0.99rem;
  margin: 10px 0 0 0;
  text-align: center;
  opacity: 0.82;
}

/* SPACING UTILITIES */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }

/* FORM STYLES (for potential forms) */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 12px;
  padding: 11px 14px;
  border: 1.5px solid #F9E576;
  margin-bottom: 16px;
  outline: none;
  transition: border-color 0.18s;
  width: 100%;
  background: #fff;
  color: #10203E;
}
input:focus, textarea:focus, select:focus {
  border-color: #E65A41;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 10px; background: #fff; }
::-webkit-scrollbar-thumb { background: #F9E576; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #E65A41; }

/* ANIMATIONS */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounceIn {
  from { opacity: 0; transform: scale(.9); }
  60% { opacity: 1; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1); }
}

/* PLAYFUL MICRO-INTERACTIONS */
.cta-primary, .cta-secondary, button {
  transition: background .19s, color .18s, box-shadow .13s, transform .13s;
}
.cta-primary:active, .cta-secondary:active, button:active {
  transform: scale(.97) rotate(-2.5deg);
}

/* PLAYFUL DYNAMIC DECORATIVE ACCENTS */
.feature-grid > div:after, .service-overview-grid > div:after {
  content: '';
  position: absolute;
  bottom: -14px; right: 12px;
  width: 28px; height: 10px;
  background: #F9E576;
  opacity: .4;
  border-radius: 10px;
  transform: rotate(-7deg);
  z-index: 0; 
}
.featured-article:before {
  content: '';
  position: absolute;
  left: 10px; top: -13px;
  width: 18px; height: 18px;
  background: #E65A41;
  border-radius: 10px 4px 22px 13px;
  opacity: 0.18;
  z-index: 0; 
}
.testimonial-card:before {
  content: '★';
  position: absolute;
  left: -24px; top: 50%;
  transform: translateY(-50%) rotate(-10deg);
  color: #E65A41;
  font-size: 2.2rem;
  opacity: 0.14;
  z-index: 1;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  left: 0; bottom: 0; width: 100%;
  background: #FFFDE6;
  color: #10203E;
  padding: 24px 16px;
  z-index: 9990;
  box-shadow: 0 -2px 10px #E65A4133;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  gap: 18px;
  animation: fadeInUp .6s;
}
.cookie-banner p {
  margin: 0;
  flex: 2 1 360px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex: 1 1 auto;
}
.cookie-banner button {
  cursor: pointer;
  background: #F9E576;
  color: #10203E;
  border: none;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 9px 22px;
  margin: 0;
  transition: background .17s, color .16s, box-shadow .13s;
  box-shadow: 0 2px 10px #F9E57636;
}
.cookie-banner button:focus, .cookie-banner button:hover {
  background: #E65A41;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: #fff;
  border: 2px dashed #F9E576;
  color: #E65A41;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #F9E576;
  color: #10203E;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 19px 4px;
  }
  .cookie-banner .cookie-buttons {
    flex-wrap: wrap;
    gap: 8px;
  }
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 11000;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #10203E88;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 8px 40px 0 #10203E51;
  min-width: 90vw;
  max-width: 420px;
  padding: 36px 24px 28px 24px;
  animation: bounceIn .47s;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h2 {
  color: #E65A41;
  font-size: 1.18rem;
  margin-bottom: 10px;
  margin-top: 4px;
}
.cookie-modal p {
  font-size: 1rem;
  color: #10203E;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-category input[type='checkbox'] {
  width: 23px; height: 23px;
  accent-color: #E65A41;
}
.cookie-essential {
  opacity: 0.6;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 16px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px;
  right: 22px;
  background: transparent;
  color: #E65A41;
  border: none;
  font-size: 2.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: color .17s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #10203E;
}

/* PLAYFUL FONTS (GOOGLE FONTS INTEGRATION) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;500;700&display=swap');

/* PLAYFUL COLOR ACCENTS */
::-moz-selection { background: #F9E576; color: #10203E; }
::selection { background: #F9E576; color: #10203E; }

/* HIGHLIGHTED DETAILS */
mark {
  background: #F9E576;
  color: #10203E;
  border-radius: 6px;
  padding: 2px 6px;
}

/* ERROR/SUCCESS/INFO BADGES */
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.89rem;
  font-weight: 700;
}
.badge--success { background: #79e693; color: #10203E; }
.badge--error { background: #E65A41; color: #fff; }
.badge--info { background: #F9E576; color: #10203E; }

/* VISUAL HIERARCHY: SHADOWS, ROUNDED, GAPS */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Z-INDEX FOR HEADER, MENUS, MODALS */
header, .main-nav { z-index: 100; position: relative; }
.mobile-menu { z-index: 200; }
.cookie-banner { z-index: 9990; }
.cookie-modal-overlay { z-index: 11000; }

/* PREVENT UNWANTED OVERLAPS */
section + section, .section + .section { margin-top: 8px; }
.card + .card, .testimonial-card + .testimonial-card {
  margin-top: 20px;
}

/* ACCESSIBILITY FOCUS FOR ALL INTERACTIVE ELEMENTS */
:focus-visible {
  outline: 2px solid #E65A41;
  outline-offset: 2px;
}

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