/* RESET & NORMALIZE */
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;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F3F3F3;
  color: #252B35;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
a {
  color: #43556A;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}
a:focus {
  box-shadow: 0 0 0 2px #F5C249;
  border-radius: 4px;
}
ul, ol {
  list-style: none;
}

strong, b {
  font-weight: bold;
}

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

/* TYPOGRAPHY */
h1, .headline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  color: #252B35;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  color: #43556A;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #252B35;
  letter-spacing: 0.01em;
}
h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #252B35;
}
p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #252B35;
  margin-bottom: 16px;
}

.text-section h2, .text-section h3 {
  margin-top: 30px;
}

.headline {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #43556A;
  font-size: 1.1rem;
  margin: 8px 0;
}

/* STRUCTURED GEOMETRIC LAYOUTS */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.content-wrapper.center {
  align-items: center;
  text-align: center;
}
.text-section {
  margin-top: 20px; 
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* GEOMETRIC BUTTON STYLES */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 32px;
  margin-top: 15px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border-color 0.18s;
  position: relative;
  box-shadow: 0 2px 12px 0 rgba(67,85,106,0.06);
}
.cta.primary {
  background: #43556A;
  color: #fff;
  border: 2px solid #43556A;
}
.cta.primary:hover, .cta.primary:focus {
  background: #344255;
  border-color: #344255;
  color: #F5C249;
}
.cta.secondary {
  background: #F5C249;
  color: #252B35;
  border: 2px solid #F5C249;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #fff;
  color: #F5C249;
  border-color: #F5C249;
}
button.cta {
  width: auto;
  min-width: 120px;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(67,85,106,0.10);
  border-bottom: 3px solid #F5C249;
  position: sticky;
  top: 0;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 18px;
}
.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin-right: 16px;
}
.logo img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #43556A;
  padding: 8px 3px;
  border-radius: 6px;
  position: relative;
  transition: color 0.15s, background 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F5C249;
  color: #43556A;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  font-size: 1.65rem;
  background: none;
  border: none;
  color: #43556A;
  cursor: pointer;
  z-index: 25;
  margin-left: 18px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background .15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F5C249;
  color: #252B35;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 32px 0 rgba(67,85,106,0.10);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px;
  transform: translateX(-110vw);
  transition: transform 0.38s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  color: #43556A;
  cursor: pointer;
  margin-bottom: 10px;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background .18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #F5C249;
  color: #252B35;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #43556A;
  padding: 16px 6px;
  border-radius: 6px;
  transition: background 0.12s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F5C249;
  color: #252B35;
}

/* HERO SECTION */
.hero {
  background: #F3F3F3;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 6px 32px 0 rgba(245,194,73,0.10);
  min-height: 260px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero p {
  font-size: 1.25rem;
  color: #43556A;
}

/* FEATURE GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 10px;
}
.feature-grid li {
  flex: 1 1 260px;
  min-width: 220px;
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 10px 0 rgba(67,85,106,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  gap: 15px;
  transition: transform 0.17s, box-shadow 0.17s;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  transform: translateY(-4px) scale(1.03) rotate(-0.5deg);
  box-shadow: 0 8px 30px 0 rgba(67,85,106,0.17);
}
.feature-grid img {
  height: 44px;
  width: 44px;
  margin-bottom: 10px;
}

/* SERVICES OVERVIEW */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.service-list li {
  flex: 1 1 260px;
  min-width: 220px;
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px 24px 24px;
  box-shadow: 0 2px 10px 0 rgba(67,85,106,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 13px;
  transition: box-shadow 0.18s, transform 0.11s;
}
.service-list li:hover, .service-list li:focus-within {
  box-shadow: 0 8px 28px 0 rgba(67,85,106,0.16);
  transform: translateY(-2px) scale(1.01);
}
.service-list a {
  margin-top: auto;
  align-self: flex-start;
  color: #43556A;
  background: #F5C249;
  border-radius: 5px;
  padding: 7px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid transparent;
  transition: background 0.17s, color 0.17s, border 0.13s;
}
.service-list a:hover, .service-list a:focus {
  background: #fff;
  color: #F5C249;
  border: 1.5px solid #F5C249;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  color: #252B35;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(67,85,106,0.09);
  padding: 20px 28px;
  margin-bottom: 20px;
  min-width: 180px;
  max-width: 540px;
  transition: box-shadow 0.17s, transform 0.13s;
}
.testimonial-card p {
  color: #252B35;
  font-size: 1.05rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card span {
  color: #43556A;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 28px 0 rgba(67,85,106,0.16);
  transform: scale(1.017) rotate(0.4deg);
}

/* CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 26px 0 10px 0;
}
.contact-details a {
  color: #43556A;
  text-decoration: underline;
}
.contact-details a:hover, .contact-details a:focus {
  color: #F5C249;
}

/* FOOTER */
footer {
  background: #43556A;
  color: #fff;
  padding: 54px 0 24px 0;
  box-shadow: 0 -3px 24px 0 rgba(67,85,106,0.10);
}
footer .container {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 34px 40px;
  justify-content: space-between;
}
.footer-logo {
  flex: 0 0 auto;
}
.footer-logo img {
  height: 38px;
  width: auto;
}
.footer-nav, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.18s;
  margin-bottom: 2px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F5C249;
}
.footer-contact a {
  color: #F5C249;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #fff;
}
.footer-copy {
  width: 100%;
  margin-top: 30px;
  font-size: 0.95rem;
  color: #F5C249;
  text-align: center;
  font-family: 'Roboto', Arial, sans-serif;
  letter-spacing: 0.01em;
}

/* UTILITY SPACING CLASSES */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(67,85,106,0.07);
  padding: 24px 20px;
  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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* COOKIES CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background: #43556A;
  color: #fff;
  z-index: 50;
  padding: 24px 12px;
  box-shadow: 0 -2px 18px 0 rgba(67,85,106,0.13);
  gap: 20px;
  font-size: 1.05rem;
  font-family: 'Roboto', Arial, sans-serif;
  animation: slideUpBanner 0.65s cubic-bezier(.77,0,.18,1);
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-left: 28px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 20px;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, box-shadow 0.13s;
}
.cookie-banner .accept {
  background: #F5C249;
  color: #252B35;
  font-weight: 600;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #252B35;
  color: #F5C249;
}
.cookie-banner .reject {
  background: #fff;
  color: #43556A;
  border: 1.2px solid #F5C249;
  font-weight: 500;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #F5C249;
  color: #252B35;
}
.cookie-banner .settings {
  background: transparent;
  color: #fff;
  border: 1.2px solid #fff;
  font-weight: 500;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #fff;
  color: #43556A;
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  background: rgba(67,85,106,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.cookie-modal.active {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  color: #252B35;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(67,85,106,0.16);
  min-width: 320px;
  max-width: 95vw;
  padding: 38px 30px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: scalePopCookie .4s cubic-bezier(.77,0,.18,1);
}
@keyframes scalePopCookie {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h2 {
  color: #43556A;
  font-size: 1.4rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 17px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  flex: 1 0 auto;
}
.cookie-category input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: #F5C249;
}
.cookie-toggle {
  width: 42px;
  height: 24px;
  background: #E4E9F0;
  border-radius: 12px;
  position: relative;
  transition: background .17s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: #F5C249;
}
.cookie-slider {
  height: 100%; width: 100%;
  border-radius: 12px;
  position: absolute;
  left: 0; top: 0;
  background: #E4E9F0;
  transition: background 0.15s;
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 42px;
  height: 24px;
  position: absolute;
  left: 0; top: 0; z-index: 1;
  margin: 0;
  cursor: pointer;
}
.cookie-toggle .cookie-knob {
  position: absolute;
  top: 2px; left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(67,85,106,0.09);
  transition: left 0.19s;
}
.cookie-toggle input[type="checkbox"]:checked ~ .cookie-knob {
  left: 20px;
}
.cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal-content .close-modal {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #43556A;
  cursor: pointer;
  transition: color .13s, background .11s;
  padding: 4px 8px;
  border-radius: 8px;
}
.cookie-modal-content .close-modal:hover, .cookie-modal-content .close-modal:focus {
  background: #F5C249;
  color: #252B35;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1080px) {
  .container {
    max-width: 980px;
  }
  .feature-grid li, .service-list li {
    min-width: 180px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 780px;
  }
  .feature-grid, .service-list {
    gap: 16px;
  }
}
@media (max-width: 800px) {
  .container {
    max-width: 99vw;
  }
  .footer-logo, .footer-contact {
    margin-bottom: 22px;
  }
  footer .container {
    gap: 16px 0;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    gap: 8px;
  }
  .main-nav, .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid, .service-list, .card-container {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 18px;
  }
  .feature-grid li, .service-list li, .card {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .content-wrapper, .content-grid {
    gap: 16px;
    padding: 0 4px;
  }
  .hero {
    border-radius: 0 0 20px 20px;
    padding-top: 24px;
    min-height: unset;
  }
  .footer-logo img {
    height: 30px;
  }
  .footer-copy {
    margin-top: 24px;
  }
  .section {
    margin-bottom: 40px;
    padding: 24px 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 98vw;
    padding: 17px 10px;
  }
}
@media (max-width: 520px) {
  h1, .headline {
    font-size: 1.63rem;
  }
  h2 {
    font-size: 1.23rem;
  }
  .hero .content-wrapper {
    gap: 11px;
    padding: 0 2px;
  }
  .feature-grid li, .service-list li {
    padding: 20px 10px 16px 10px;
  }
  .cookie-modal-content {
    padding: 22px 8px 18px 8px;
    min-width: 0;
  }
  .cookie-banner {
    font-size: 0.96rem;
    padding: 16px 3px 16px 3px;
    flex-direction: column;
    gap: 12px;
  }
}

/* FOCUS STYLES FOR ACCESSIBILITY */
:focus {
  outline: 2px solid #F5C249;
  outline-offset: 2px;
}

/* CUSTOM SCROLLBAR FOR MODALS/NAVIGATION */
::-webkit-scrollbar {
  width: 8px;
  background: #E4E9F0;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: #F5C249;
  border-radius: 4px;
}

/* PRINT OPTIMIZATION */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal, footer {
    display: none !important;
  }
  body, main, section, .container {
    background: #fff !important;
    color: #000 !important;
  }
  a {
    text-decoration: underline;
    color: #000;
  }
}

/* SELECTION COLOR */
::selection {
  background: #F5C249;
  color: #252B35;
}
