/* === CSS RESET & NORMALIZE === */
html {box-sizing: border-box;}
*, *::before, *::after {box-sizing: inherit; margin: 0; padding: 0;}
body {
  min-height: 100vh;
  background: #FAF8F3;
  color: #232323;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 16px;
}
li+li {
  margin-top: 6px;
}
/* === BRAND FONTS === */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');

/* === CONTAINERS & COMMON SPACING === */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
main {
  margin-top: 0;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(33,24,6,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 260px;
}
.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 28px 20px 28px;
  background: #fff9e5;
  color: #232323;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(170,140,34,0.11);
  min-width: 272px;
  max-width: 420px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(170,140,34,0.17);
}
.testimonial-meta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 15px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HEADER & NAVIGATION === */
header {
  background: #1152A3;
  color: #fff;
  width: 100%;
  box-shadow: 0 1px 12px rgba(17,82,163,0.07);
  padding: 0 0;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 30px;
}
.logo img {
  height: 40px;
  border-radius: 8px;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a {
  color: #fff9e5;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a:focus {
  background: #EBD970;
  color: #1152A3;
}
.btn-primary, .btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  outline: none;
  padding: 13px 32px;
  cursor: pointer;
  margin-left: 14px;
  transition: background 0.22s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 10px rgba(17, 82, 163, 0.09);
  display: inline-block;
}
.btn-primary {
  background: #EBD970;
  color: #1152A3;
}
.btn-primary:hover, .btn-primary:focus {
  background: #ffe599;
  color: #0e407c;
  box-shadow: 0 4px 18px rgba(235,217,112,0.18);
}
.btn-secondary {
  background: #1152A3;
  color: #fff;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #EBD970;
  color: #1152A3;
  box-shadow: 0 4px 18px rgba(17,82,163,0.13);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.4rem;
  color: #fff;
  cursor: pointer;
  padding: 7px 14px;
  border-radius: 10px;
  margin-left: 14px;
  transition: background 0.16s;
  z-index: 31;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #EBD970;
  color: #1152A3;
}

/* == MOBILE MENU == */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17,82,163,0.97);
  z-index: 120;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.85,0,.18,1.07);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.7rem;
  align-self: flex-end;
  margin: 24px 28px 0 0;
  cursor: pointer;
  border-radius: 10px;
  padding: 4px 15px;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #EBD970;
  color: #1152A3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin: 45px 0 0 30px;
}
.mobile-nav a {
  color: #fff9e5;
  font-size: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 13px 0;
  border-radius: 11px;
  width: fit-content;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EBD970;
  color: #1152A3;
}

/* === HERO SECTION === */
.hero {
  padding-top: 44px;
  padding-bottom: 56px;
  background: linear-gradient(120deg, #ffeec1 0%, #FFE599 75%, #fffceb 100%);
  border-radius: 0 0 34px 34px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #1152A3;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.subheadline {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.18rem;
  color: #7c712f;
  font-weight: 500;
  margin-bottom: 12px;
}

/* === FEATURES SECTION === */
.features {
  background: none;
  padding-top: 34px;
  padding-bottom: 26px;
}
.features h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1152A3;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: flex-start;
}
.feature {
  background: #fff;
  border-radius: 18px;
  padding: 24px 26px 24px 23px;
  box-shadow: 0 2px 13px rgba(130,113,19,0.07);
  min-width: 210px;
  max-width: 320px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.16s, transform 0.17s;
}
.feature img {
  height: 38px;
  width: 38px;
  margin-bottom: 8px;
}
.feature h3 {
  font-size: 1.08rem;
  color: #1152A3;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 5px;
}
.feature p {
  color: #232323;
  font-size: 15px;
}
.feature:hover {
  box-shadow: 0 4px 30px rgba(235,217,112,0.19);
  transform: translateY(-2px) scale(1.012);
}

/* === SERVICES SECTION === */
.services {
  padding-top: 30px;
}
.services h2 {
  color: #1152A3;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.55rem;
  margin-bottom: 18px;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 16px;
}
.service {
  background: #fff;
  border-radius: 18px;
  padding: 24px 24px 20px 24px;
  box-shadow: 0 2px 13px rgba(17,82,163,0.07);
  min-width: 220px;
  max-width: 350px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  position: relative;
  transition: box-shadow 0.16s, transform 0.16s;
}
.service h3 {
  font-size: 1.09rem;
  color: #1152A3;
  margin-bottom: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.service p {
  color: #232323;
  font-size: 15px;
  margin-bottom: 7px;
}
.service-meta {
  display: flex;
  gap: 21px;
  align-items: center;
  margin-top: 7px;
}
.price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #7c712f;
  background: #FFF9E5;
  border-radius: 25px;
  padding: 4px 17px;
  font-size: 16px;
  letter-spacing: 0.01em;
}
.service .btn-secondary {
  padding: 7px 19px;
  font-size: 15px;
  margin-left: 0;
}
.service:hover {
  box-shadow: 0 6px 26px rgba(17,82,163,0.12);
  transform: translateY(-2px) scale(1.012);
}

/* CTA & BUTTONS */
.cta {
  background: #1152A3;
  padding: 32px 14px;
  border-radius: 22px;
  margin-bottom: 54px;
}
.cta .content-wrapper {
  align-items: center;
}
.cta .btn-primary, .cta .btn-secondary {
  margin: 0 14px 0 0;
}

/* === TESTIMONIALS === */
.testimonials {
  background: none;
}
.testimonials h2 {
  color: #1152A3;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.47rem;
  font-weight: 700;
  margin-bottom: 22px;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card p {
  font-size: 1.05rem;
  font-style: italic;
  color: #232323;
  margin-bottom: 14px;
}
.testimonial-meta {
  color: #1758A8;
  font-size: 15px;
  line-height: 1.3;
}
.testimonial-meta .name {
  font-weight: 700;
}
.testimonial-meta .location {
  color: #7c712f;
  font-style: normal;
  font-weight: 500;
}

/* === CONTACT SECTION === */
.contact h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1152A3;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.contact .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  justify-content: flex-start;
}
.text-section {
  background: #fff;
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 0 2px 12px rgba(17,82,163,0.05);
  font-size: 15.8px;
  flex: 1 1 320px;
  min-width: 220px;
}
.text-section ul {
  list-style-type: none;
  margin-left: 0;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.text-section li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #34332e;
  font-size: 15.2px;
}
.text-section li img {
  height: 24px;
  width: 24px;
  margin-right: 4px;
  border-radius: 0;
}
.map-placeholder {
  background: #FFF9E5;
  border-radius: 16px;
  padding: 24px 18px;
  min-width: 180px;
  flex: 1 1 190px;
  color: #1152A3;
  box-shadow: 0 2px 12px rgba(235,217,112,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  font-size: 15.4px;
}

/* === STATIC TEXT PAGES (content) === */
.content h1, .content h2 {
  color: #1152A3;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 16px;
  font-weight: 700;
}
.content h1 {
  font-size: 2rem;
  margin-top: 18px;
}
.content h2 {
  font-size: 1.22rem;
  margin-top: 14px;
}
.content ul {
  margin-left: 1.5em;
}
.content p, .content li {
  font-size: 16px;
  margin-bottom: 9px;
}
.content a {
  color: #1152A3;
  text-decoration: underline;
}
.content a:hover {
  color: #EBD970;
}

/* === FOOTER === */
footer {
  background: #F8F6E5;
  color: #444;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -2px 8px rgba(17,82,163,0.05);
  padding-top: 30px;
  padding-bottom: 18px;
  margin-top: 30px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}
.footer-menu a {
  color: #1758A8;
  font-size: 15px;
  padding: 7px 9px;
  border-radius: 8px;
  transition: background 0.15s, color 0.17s;
}
.footer-menu a:hover {
  background: #EBD970;
  color: #1152A3;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-family: 'Lato', Arial, sans-serif;
}
.footer-brand img {
  height: 32px;
  width: 32px;
}

/* === TYPOGRAPHY HIERARCHY === */
h1 {
  font-size: 2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  margin-bottom: 12px;
}
h2 {
  font-size: 1.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 11px;
}
h3 {
  font-size: 1.12rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 5px;
}
strong {font-weight: bold;}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #FFF9E5;
  color: #232323;
  box-shadow: 0 -3px 22px rgba(235,217,112,0.14);
  padding: 24px 20px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 2000;
  font-size: 15.8px;
  animation: cookieBannerSlideIn 0.5s cubic-bezier(.18,.85,.4,1.22) 1;
}
@keyframes cookieBannerSlideIn {
  from {transform: translateY(100%);} to {transform: translateY(0);}
}
.cookie-banner p {
  text-align: left;
  color: #232323;
  max-width: 620px;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 15px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: none;
  outline: none;
  border-radius: 22px;
  padding: 8px 23px;
  margin: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.13s;
}
.cookie-btn.accept {
  background: #EBD970;
  color: #1152A3;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #ffe599;
  color: #0e407c;
}
.cookie-btn.reject {
  background: #fff;
  color: #1152A3;
  border: 1px solid #edd657;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ffe599;
  color: #0e407c;
}
.cookie-btn.settings {
  background: #1152A3;
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #EBD970;
  color: #1152A3;
}

/* Modal for Cookie Settings */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 82, 163, 0.16);
  z-index: 2050;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 38px rgba(17,82,163,0.14);
  padding: 34px 26px 26px 26px;
  min-width: 320px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalFadeIn 0.26s;
}
@keyframes cookieModalFadeIn {
  from {opacity:0; transform: scale(0.98);} to {opacity: 1; transform: scale(1);}
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1152A3;
  font-size: 1.24rem;
  margin-bottom: 13px;
  font-weight: 700;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 8px 0;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #EBD970;
}
.cookie-category label {
  font-size: 16px;
  color: #232323;
}
.cookie-category.essential label {
  font-weight: 600;
  color: #1152A3;
}
.cookie-modal-btnbar {
  display: flex;
  gap: 15px;
  margin-top: 12px;
}

/* === TRANSITIONS FOR INTERACTIONS === */
a, button, .btn-primary, .btn-secondary, .card, .feature, .service, .testimonial-card {
  transition-property: background, color, box-shadow, transform, border;
  transition-duration: 0.15s, 0.17s, 0.22s, 0.14s, 0.17s;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
  .container {
    max-width: 980px;
  }
  nav {
    gap: 10px;
  }
  .feature-grid, .service-list, .testimonials .content-wrapper {
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .container {
    max-width: 720px;
  }
  .features, .services {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    padding: 9px 8px 9px 8px;
    gap: 0;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding-top: 24px;
    padding-bottom: 34px;
    border-radius: 0 0 22px 22px;
  }
  .content-wrapper, .feature-grid, .service-list, .testimonials .content-wrapper, .contact .content-wrapper {
    flex-direction: column !important;
    gap: 20px;
    align-items: stretch;
  }
  .feature, .service, .testimonial-card, .text-section, .map-placeholder {
    min-width: 0;
    max-width: 98vw;
  }
  .footer-menu {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .cta {
    border-radius: 16px;
    padding: 22px 4px;
  }
}
@media (max-width: 540px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .section, section {
    padding: 18px 4px !important;
    margin-bottom: 28px;
  }
  .hero {
    padding-top: 14px;
    padding-bottom: 19px;
  }
  h1, .hero h1, .content h1 {
    font-size: 1.19rem !important;
  }
  h2, .content h2, .features h2, .testimonials h2 {
    font-size: 1.04rem !important;
  }
  .btn-primary, .btn-secondary {
    font-size: 15px;
    padding: 10px 18px;
  }
  .mobile-menu-close {
    font-size: 1.9rem;
    margin: 20px 14px 0 0;
    padding: 2px 10px;
  }
  .mobile-nav {
    margin: 26px 0 0 15px;
    gap: 16px;
  }
  .testimonial-card, .feature, .service {
    padding: 16px 12px !important;
  }
  .footer-brand {
    font-size: 13px;
    gap: 6px;
  }
  .footer-brand img {
    height: 19px; width: 19px;
  }
}

/* === MICRO-INTERACTIONS === */
.card:focus-within, .card:hover {
  box-shadow: 0 6px 28px rgba(17,82,163,0.13);
}
.testimonial-card:active {
  transform: scale(0.97);
}
.btn-primary:active, .btn-secondary:active, .cookie-btn:active {
  transform: scale(0.98);
}

/* === SCROLLBAR === */
html {
  scrollbar-width: thin;
  scrollbar-color: #EBD970 #FFF9E5;
}
::-webkit-scrollbar {
  width: 8px;
  background: #FFF9E5;
}
::-webkit-scrollbar-thumb {
  background: #EBD970;
  border-radius: 8px;
}

/* == VISUAL ACCESSIBILITY: CONTRAST IN TESTIMONIALS == */
.testimonial-card {
  background: #fff9e5;
  color: #232323;
}

/* == MODAL OVERLAYS (Z-INDEX) == */
.cookie-modal,
.cookie-modal-backdrop {
  z-index: 2051;
}
.mobile-menu {
  z-index: 120;
}

/* === UTILITY CLASSES === */
.d-none {display: none !important;}
.gap-20 {gap: 20px !important;}
.mb-20 {margin-bottom: 20px !important;}
.w-100 {width: 100%;}

/* === END OF STYLE.CSS === */