/*
RESET & BASELINE
--------------------------------------------------*/
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,
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;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F4F0;
  color: #223B5B;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
img, picture {
  max-width: 100%;
  display: block;
}
a {
  color: #223B5B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD13B;
  outline: none;
}
ul, ol {
  list-style: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}

/*
TYPOGRAPHY
--------------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #223B5B;
}
h1 { font-size: 2.25rem; margin-bottom: 24px; }
h2 { font-size: 1.5rem; margin-bottom: 20px; }
h3 { font-size: 1.125rem; margin-bottom: 16px; }
p, li, td, th {
  font-size: 1rem;
  color: #223B5B;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.65;
}
strong {
  font-weight: 800;
  color: #223B5B;
}

@media (min-width: 540px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.25rem; }
}
@media (min-width: 900px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
}

/*
CORE LAYOUT
--------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(34,59,91,0.05);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/*
HEADER & NAVIGATION
--------------------------------------------------*/
header {
  background: #fff;
  box-shadow: 0 4px 18px rgba(34, 59, 91, 0.07);
  position: relative;
  z-index: 90;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
header img {
  max-height: 50px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 0 2px 0;
  letter-spacing: 0.04em;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: #FFD13B;
  border-bottom: 3px solid #FFD13B;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  background: #FFD13B;
  color: #223B5B;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  transition: background 0.18s, box-shadow 0.18s, transform 0.2s;
  box-shadow: 0 2px 10px rgba(34,59,91,0.08);
  cursor: pointer;
  letter-spacing: 0.03em;
}
.btn-primary:hover, .btn-primary:focus {
  background: #223B5B;
  color: #FFD13B;
  box-shadow: 0 4px 18px rgba(34, 59, 91, 0.16);
  outline: none;
  transform: translateY(-2px) scale(1.03);
}

/* Burger Menu Button */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #FFD13B;
  color: #223B5B;
  font-size: 2rem;
  font-family: inherit;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-left: 16px;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(34,59,91,0.1);
  transition: background 0.16s;
  display: none;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #223B5B;
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 330px;
  max-width: 100vw;
  height: 100vh;
  background: #223B5B;
  box-shadow: -6px 0 28px #223B5Bb0;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.85,0,.05,1);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  padding: 0 0 30px 0;
  gap: 40px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: #FFD13B;
  border: none;
  background: transparent;
  margin: 28px 28px 0 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus {
  outline: 2px solid #FFD13B;
}
.mobile-nav {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  text-transform: uppercase;
  padding: 10px 0;
  position: relative;
  border-radius: 5px;
  width: 100%;
  transition: color 0.2s, background 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FFD13B;
  background: rgba(255,209,59,0.12);
}
@media (max-width: 1024px) {
  header nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/*
MAIN HERO & SECTIONS
--------------------------------------------------*/
.hero {
  background: linear-gradient(135deg, #FFD13B 0%, #F5F4F0 100%);
  background-color: #FFD13B;
  margin-bottom: 60px;
  padding: 64px 0 48px 0;
  box-shadow: 0 2px 16px #FFD13B25;
  border-radius: 0 0 40px 40px;
}
.hero .content-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
}
.hero h1 {
  color: #223B5B;
  text-shadow: 0 3px 20px #fff7b95b;
}
.hero p {
  font-size: 1.13rem;
  color: #223B5B;
}

/* Section Patterns (Flexbox only) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 5px 20px rgba(34,59,91,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 360px;
}
.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: 16px;
  padding: 24px 28px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 5px 32px rgba(34,59,91,0.08);
  margin-bottom: 24px;
  min-width: 260px;
  max-width: 500px;
  border-left: 7px solid #FFD13B;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card p {
  font-size: 1.13rem;
  color: #223B5B;
}
.testimonial-card span {
  color: #223B5B;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-top: 8px;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 40px #FFD13B38;
  border-left: 7px solid #223B5B;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* Service Grid */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.service-card {
  flex: 1 1 220px;
  background: #fefefe;
  border-radius: 10px;
  box-shadow: 0 4px 12px #223B5B11;
  padding: 26px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  min-width: 180px;
  max-width: 300px;
  margin-bottom: 20px;
  border-left: 5px solid #FFD13B;
  transition: box-shadow 0.13s,border 0.18s;
}
.service-card:hover, .service-card:focus {
  box-shadow: 0 8px 28px #FFD13B26;
  border-left-color: #223B5B;
}
.price {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #FFD13B;
  font-size: 1.15rem;
  margin-top: 12px;
}

/* List Icons */
ul > li img {
  height: 28px;
  width: 28px;
  margin-right: 8px;
  vertical-align: middle;
}
ul > li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
ul, ol {
  margin-left: 0;
  margin-bottom: 12px;
}

/* Blog Post Grid */
.blog-post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.blog-post-grid article {
  flex: 1 1 260px;
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  padding: 22px 18px;
  box-shadow: 0 2px 14px #223B5B11;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.13s;
}
.blog-post-grid article:hover {
  box-shadow: 0 6px 28px #FFD13B22;
}
.blog-post-grid a {
  font-weight: 700;
  color: #223B5B;
  margin-top: 8px;
  text-decoration: underline;
  transition: color 0.16s;
}
.blog-post-grid a:hover, .blog-post-grid a:focus {
  color: #FFD13B;
}

.category-filter {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  color: #223B5B;
  margin-bottom: 10px;
}
.category-filter span {
  background: #FFD13B;
  color: #223B5B;
  border-radius: 6px;
  padding: 3px 10px;
  font-weight: 700;
  margin-right: 2px;
}

/* TABLES */
table {
  width: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px #223B5B13;
  margin-bottom: 28px;
  overflow: hidden;
}
thead {
  background: #FFD13B;
  color: #223B5B;
}
thead th {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.07rem;
  text-align: left;
  padding: 14px 13px;
  border-bottom: 3px solid #F5F4F0;
}
tbody td {
  padding: 13px 13px;
  border-bottom: 1px solid #F5F4F0;
  color: #223B5B;
}
tbody tr:last-child td {
  border-bottom: none;
}
tbody tr:hover td {
  background: #FFF9DC;
  color: #223B5B;
}
@media (max-width: 700px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
  thead {
    display: none;
  }
  tbody td {
    padding: 11px 10px;
    border: none;
    border-bottom: 1px solid #F5F4F0;
    position: relative;
  }
  tbody td:before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    color: #FFD13B;
    margin-bottom: 6px;
    font-size: 0.91rem;
  }
}

/*
CONTACT INFO & MAP
--------------------------------------------------*/
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
.contact-info img {
  width: 22px;
  height: 22px;
  margin-right: 3px;
}
.location-map {
  margin-top: 15px;
}

/*
FOOTER
--------------------------------------------------*/
footer {
  background: #223B5B;
  color: #fff;
  margin-top: 60px;
  padding-top: 28px;
  padding-bottom: 18px;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -2px 18px #223B5B18;
}
footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer nav a {
  color: #FFD13B;
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  opacity: 0.82;
  transition: opacity 0.16s, color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  opacity: 1;
}
footer span {
  font-size: 0.96rem;
  color: #fff;
  opacity: 0.78;
  margin-top: 10px;
}
@media (max-width: 600px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  footer nav {
    gap: 10px;
  }
}

/*
LEGAL/TEXT-HEAVY SECTIONS
--------------------------------------------------*/
.footer-legal {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 7px 20px rgba(34,59,91,0.07);
}
.footer-legal .content-wrapper {
  flex-direction: column;
  gap: 18px;
}
.footer-legal h1 { font-size: 2rem; margin-bottom: 16px; }
.footer-legal h2 { font-size: 1.18rem; color: #FFD13B; margin-top: 20px; margin-bottom: 7px; }

.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.text-section ul {
  margin-left: 20px;
  margin-bottom: 8px;
}

/*
RESPONSIVE: ADAPTIVE LAYOUTS (Mobile-First)
--------------------------------------------------*/
@media (max-width: 900px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .hero {
    padding: 44px 0 36px 0;
    border-radius: 0 0 20px 20px;
  }
  .section, .footer-legal {
    padding: 32px 11px;
    border-radius: 13px;
  }
  .service-card {
    max-width: 100%;
    min-width: 0;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width: 768px) {
  .content-grid, .service-grid, .blog-post-grid, .card-container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .hero .content-wrapper {
    align-items: flex-start;
    text-align: left;
  }
}

/*
SPACING ENFORCEMENT & FLEXBOX GAP
--------------------------------------------------*/
.section,
.card-container,
.card,
.content-grid,
.text-image-section,
.testimonial-card,
.feature-item {
  margin-bottom: 20px;
}
.card-container, .service-grid, .content-grid, .blog-post-grid {
  gap: 20px;
}
.section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}

/*
BUTTONS, CTAs, & INTERACTIVE
--------------------------------------------------*/
.btn-primary:active {
  transform: scale(0.98);
  box-shadow: 0 1px 7px #FFD13B33;
}
button, .btn-primary {
  -webkit-tap-highlight-color: transparent;
}

/* HOVER MICRO-INTERACTIONS */
.service-card:hover, .blog-post-grid article:hover, .testimonial-card:hover {
  box-shadow: 0 8px 30px #FFD13B34;
  transition: box-shadow 0.15s;
}

/*
COOKIE CONSENT BANNER
--------------------------------------------------*/
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #223B5B;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 28px;
  z-index: 9999;
  box-shadow: 0 -2px 24px #223B5B35, 0 8px 32px #FFD13B34 inset;
  gap: 18px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  animation: cookie-banner-slide-in 0.4s cubic-bezier(.69,0,.21,1);
}
@keyframes cookie-banner-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
}
.cookie-consent-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  padding: 10px 22px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: box-shadow 0.16s, background 0.15s, color 0.15s;
  margin: 0;
}
.cookie-btn.accept {
  background: #FFD13B;
  color: #223B5B;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #fff;
  color: #223B5B;
  box-shadow: 0 2px 8px #FFD13B55;
}
.cookie-btn.reject {
  background: #fff;
  color: #223B5B;
  border: 2px solid #FFD13B;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FFD13B;
  color: #223B5B;
  border-color: #FFD13B;
}
.cookie-btn.settings {
  background: transparent;
  color: #FFD13B;
  border: 2px solid #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FFD13B;
  color: #223B5B;
  border-color: #FFD13B;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; width:100vw; height: 100vh;
  background: rgba(34,59,91,0.87);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.3s;
}
@keyframes modal-fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #223B5B;
  min-width: 300px;
  max-width: 470px;
  width: 88vw;
  border-radius: 18px;
  box-shadow: 0 10px 50px #223B5B40, 0 1px 8px #FFD13B33 inset;
  padding: 36px 28px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modal-pop-in 0.28s cubic-bezier(.77,0,.16,1.1);
}
@keyframes modal-pop-in {
  from {transform: scale(0.9); opacity:0;}
  to   {transform: scale(1); opacity:1;}
}
.cookie-modal h2 {
  color: #223B5B;
  font-size: 1.32rem;
  margin-bottom: 4px;
}
.cookie-category {
  margin-bottom: 14px;
  padding-bottom: 7px;
  border-bottom: 1px solid #F5F4F0;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
}
.cookie-toggle {
  width: 46px;
  height: 22px;
  border-radius: 17px;
  background: #FFD13B;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-toggle[aria-checked="false"] {
  background: #ccc;
}
.cookie-toggle-inner {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #223B5B;
  border-radius: 50%;
  transition: left 0.19s cubic-bezier(.69,0,.21,1);
}
.cookie-toggle[aria-checked="true"] .cookie-toggle-inner {
  left: 27px;
  background: #fff;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  background: transparent;
  border: none;
  color: #FFD13B;
  font-size: 1.7rem;
  cursor: pointer;
}
.cookie-modal-close:focus {
  outline: 2px solid #FFD13B;
}

/*
UTILITIES
--------------------------------------------------*/
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.pt-0 { padding-top: 0 !important; }

/*
ACCESSIBILITY: FOCUS STYLES
--------------------------------------------------*/
a:focus, button:focus, .btn-primary:focus {
  outline: 2px solid #FFD13B;
  outline-offset: 2px;
}

/*
PRINT SUPPORT (Minimal for Legal pages)
--------------------------------------------------*/
@media print {
  header, footer, .btn-primary, .mobile-menu, .mobile-menu-toggle, .cookie-consent-banner, .cookie-modal-overlay { display: none !important; }
  .container { padding: 0 !important; }
  .section, .footer-legal { box-shadow: none !important; background: #fff !important; }
}

/*
GEOMETRIC DECORATIVE SHAPES (Modern_Bold Accent)
--------------------------------------------------*/
/* Example accent shape: Add below sections with .accent-shape if desired (HTML) */
.accent-shape {
  position: absolute;
  width: 80px;
  height: 80px;
  background: #FFD13B;
  border-radius: 25% 65% 45% 70%;
  top: -35px;
  right: -48px;
  z-index: 0;
  opacity: 0.17;
  pointer-events: none;
}

/*
END OF STYLE.CSS
--------------------------------------------------*/
