/* 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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  color: #263238;
  background: #fafaf8;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
button, input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
  padding: 0;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #263238;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  letter-spacing: -0.005em;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, li, address {
  font-size: 1.11rem;
  color: #354352;
  line-height: 1.7;
  margin-bottom: 12px;
}
strong, b {
  font-weight: 600;
}

/* LAYOUT CONTAINERS & FLEXBOX PATTERNS */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.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: 18px;
  box-shadow: 0 4px 18px rgba(38,50,56,.10), 0 1.5px 5px rgba(246,207,71,.11);
  padding: 28px 24px;
  transition: box-shadow .2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(38,50,56,.13), 0 3px 12px rgba(246,207,71,.15);
  z-index: 2;
}
.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;
  background: #fafaf8;
  color: #222;
  border-radius: 14px;
  box-shadow: 0 1.5px 12px rgba(246,207,71,.07), 0 1.5px 5px rgba(38,50,56,.07);
  padding: 28px 24px;
  margin-bottom: 20px;
  border-left: 6px solid #F6CF47;
  font-size: 1.09rem;
  min-width: 0;
}
.testimonial-card p {
  font-style: italic;
  font-size: 1.11rem;
  color: #222;
}
.testimonial-card span {
  color: #8D99AE;
  font-size: .99rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.02em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #ededeb;
  box-shadow: 0 1.5px 10px rgba(38,50,56,0.03);
  position: relative;
  z-index: 30;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 0 16px 0;
  position: relative;
}
.main-nav > a {
  display: flex;
  align-items: center;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav li {
  display: flex;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  padding: 8px 13px;
  border-radius: 7px;
  color: #263238;
  font-weight: 500;
  transition: background .18s, color .18s;
}
.main-nav a:not(.button-primary):hover, .main-nav a:not(.button-primary):focus {
  background: #f7f6f2;
  color: #F6CF47;
}
.button-primary, .button-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 33px;
  padding: 11px 35px;
  display: inline-block;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
  box-shadow: 0 1.5px 8px rgba(246,207,71,.095);
  text-align: center;
  border: none;
}
.button-primary {
  color: #fff;
  background: #263238;
  border: 2px solid #F6CF47;
  box-shadow: 0 2px 8px rgba(246,207,71,.06);
}
.button-primary:hover, .button-primary:focus {
  background: #F6CF47;
  color: #263238;
  box-shadow: 0 4px 16px rgba(246,207,71,.15);
}
.button-secondary {
  background: #fff;
  color: #263238;
  border: 2px solid #F6CF47;
}
.button-secondary:hover, .button-secondary:focus {
  background: #F6CF47;
  color: #263238;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #263238;
  border-radius: 8px;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 2px solid #F6CF47;
  box-shadow: 0 1px 8px rgba(38,50,56,0.07);
  cursor: pointer;
  position: absolute;
  right: 17px;
  top: 12px;
  z-index: 41;
  transition: background .20s, color .20s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F6CF47;
  color: #263238;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 10px 30px rgba(26,26,26,.13);
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-60vw);
  transition: opacity .35s cubic-bezier(.47,.06,.31,.93), transform .35s cubic-bezier(.47,.06,.31,.93);
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.15rem;
  color: #263238;
  position: absolute;
  right: 28px;
  top: 26px;
  z-index: 210;
  cursor: pointer;
  transition: color .17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F6CF47;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 27px;
  margin-top: 98px;
  margin-left: 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #263238;
  padding: 10px 0 10px 0;
  border-radius: 6px;
  font-weight: 600;
  transition: color .17s, background .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F6CF47;
  background: #f7f6f2;
}

@media (max-width: 1100px) {
  .container {
    max-width: 970px;
  }
  .main-nav ul {
    gap: 11px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
  .main-nav ul {
    gap: 7px;
  }
  .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 850px) {
  .container {
    padding-left: 11px;
    padding-right: 11px;
  }
}
/* MOBILE NAV STYLES */
@media (max-width: 768px) {
  .main-nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .main-nav {
    padding-right: 62px;
  }
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* FEATURES (SERVICE LIST, ETC) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature-grid li {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(246,207,71,.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 26px 22px 22px 22px;
  transition: box-shadow .2s;
  border-left: 5px solid #F6CF47;
  margin-bottom: 20px;
}
.feature-grid li img {
  width: 36px;
  height: 36px;
  margin-bottom: 9px;
}
.feature-grid li h3 {
  color: #263238;
  font-size: 1.15rem;
  margin-bottom: 5px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature-grid li p {
  color: #3a3a3a;
  font-size: 1.03rem;
}
/* Service list for services.html */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}
.service-list li {
  background: #fff;
  box-shadow: 0 2px 16px rgba(38,50,56,.075);
  border-left: 5px solid #F6CF47;
  border-radius: 14px;
  padding: 24px 21px 19px 21px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  position: relative;
}
.service-list h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  color: #263238;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
}
.service-price {
  font-size: .98rem;
  color: #F6CF47;
  font-weight: 700;
}

/* PAGE SECTIONS */
section {
  background: transparent;
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

/* CTA BANNERS */
.content-wrapper.text-section a.button-primary, .content-wrapper.text-section a.button-secondary {
  margin-top: 16px;
}

/* TEXT-LIST ALIGNMENT */
.text-section ul, .text-section ol {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 17px;
}
.text-section ul li, .text-section ol li {
  list-style-type: disc;
  color: #263238;
  font-size: 1.08rem;
}
.text-section ol {
  gap: 8px;
  padding-left: 21px;
}
.text-section ol li {
  list-style-type: decimal;
}
.text-section address {
  font-style: normal;
  color: #38404a;
}

/* FOOTER */
footer {
  background: #263238;
  color: #f6f6f4;
  padding: 48px 0 18px 0;
  margin-top: 68px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
  flex: 1 1 180px;
}
.footer-brand img {
  width: 136px;
  height: auto;
  filter: brightness(1.08) contrast(1.05);
}
.footer-brand p {
  color: #F6CF47;
  font-size: 1.03rem;
  margin-top: 8px;
  max-width: 180px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 54px;
  flex: 2 1 330px;
  margin-bottom: 8px;
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #f6f6f4;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 2px 0 2px 0;
  border-radius: 5px;
  transition: color .17s, background .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F6CF47;
  background: #21282d;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 1 200px;
}
.footer-contact address {
  color: #f6f6f4;
  font-size: 1.01rem;
  line-height: 1.55;
  font-style: normal;
}
.footer-contact a {
  color: #F6CF47;
  font-weight: 600;
  transition: color .16s, text-decoration .16s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #fff700;
  text-decoration: underline;
}
@media (max-width: 950px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
  .footer-nav {
    gap: 24px;
  }
}
@media (max-width: 500px) {
  footer {
    padding: 29px 0 12px 0;
  }
  .footer-brand img {
    width: 110px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fffdfa;
  box-shadow: 0 -2px 30px rgba(38,50,56,.17);
  z-index: 1000;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 19px 12px 18px 12px;
  transition: transform .36s cubic-bezier(.5,1,.46,.98), opacity .17s;
}
.cookie-banner.hide {
  transform: translateY(200px);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  color: #263238;
  font-size: 1.01rem;
  font-family: 'Roboto', Arial, sans-serif;
  max-width: 550px;
}
.cookie-banner__actions {
  display: flex;
  gap: 19px;
}
.cookie-banner button {
  border-radius: 27px;
  padding: 9px 25px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin: 0;
  border: none;
  background: #F6CF47;
  color: #263238;
  font-weight: 700;
  cursor: pointer;
  transition: background .17s, color .17s, box-shadow .17s;
  box-shadow: 0 2px 12px rgba(246,207,71,.04);
}
.cookie-banner button.cookie-settings {
  background: #fff;
  color: #263238;
  border: 1.5px solid #F6CF47;
}
.cookie-banner button.cookie-settings:hover,
.cookie-banner button.cookie-settings:focus {
  background: #F6CF47;
  color: #263238;
}
.cookie-banner button.deny {
  background: #fff;
  color: #263238;
  border: 1.5px solid #8D99AE;
}
.cookie-banner button.deny:hover,
.cookie-banner button.deny:focus {
  background: #8D99AE;
  color: #fff;
}
.cookie-banner button.accept {
  background: #F6CF47;
  color: #263238;
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus {
  background: #263238;
  color: #F6CF47;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1500;
  width: 100vw;
  height: 100vh;
  background: rgba(38,50,56, 0.52);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal__dialog {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 28px rgba(38,50,56,.16), 0 2px 5px rgba(246,207,71,.05);
  padding: 40px 30px 30px 30px;
  min-width: 325px;
  max-width: 96vw;
  max-height: 90vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: cookie-modal-in .45s cubic-bezier(.74,.18,.21,.98);
}
@keyframes cookie-modal-in {
  0% { opacity: 0; transform: translateY(84px) scale(.97); }
  70% { opacity: .97; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal__close {
  position: absolute;
  right: 21px;
  top: 21px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #263238;
  cursor: pointer;
  transition: color .18s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #F6CF47;
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #263238;
  margin-bottom: 10px;
}
.cookie-modal__category {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  margin-bottom: 14px;
}
.cookie-modal__toggle {
  appearance: none;
  background: #8d99ae11;
  width: 42px;
  height: 25px;
  border-radius: 14px;
  border: 1.5px solid #8D99AE;
  transition: background .18s;
  position: relative;
  cursor: pointer;
}
.cookie-modal__toggle:checked {
  background: #F6CF47;
  border-color: #F6CF47;
}
.cookie-modal__toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 4px;
  top: 4px;
  width: 17px;
  height: 17px;
  background: #fff;
  border-radius: 50%;
  transition: left .18s;
  box-shadow: 0 2px 8px rgba(38,50,56,0.06);
}
.cookie-modal__toggle:checked:before {
  left: 21px;
}
.cookie-modal .essential-label {
  font-size: 1.03rem;
  color: #263238;
  font-weight: 700;
  opacity: 1.0;
}
.cookie-modal__footer {
  display: flex;
  gap: 12px;
  margin-top: 11px;
}
.cookie-modal__footer button {
  min-width: 110px;
}

/* ANIMATIONS */
.button-primary, .button-secondary, .mobile-menu-toggle, .mobile-menu-close, .mobile-nav a, .cookie-banner button, .footer-nav a {
  transition: background .17s, color .16s, box-shadow .14s;
}

/* MISCELLANEOUS */
::-webkit-scrollbar {
  width: 9px;
  background: #ede8e3;
}
::-webkit-scrollbar-thumb {
  background: #8D99AE;
  border-radius: 3px;
}
::-webkit-input-placeholder { color: #8D99AE; }
::-moz-placeholder { color: #8D99AE; }
:-ms-input-placeholder { color: #8D99AE; }
::placeholder { color: #8D99AE; }

/* Responsive styles */
@media (max-width: 768px) {
  
  h1 {
    font-size: 2.1rem;
    margin-bottom: 17px;
  }
  h2 {
    font-size: 1.35rem;
    margin-bottom: 13px;
  }
  h3 {
    font-size: 1.09rem;
  }
  .content-wrapper, .content-grid, .feature-grid, .service-list {
    flex-direction: column !important;
    gap: 16px;
  }
  .container {
    padding: 0 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .feature-grid li,
  .service-list li {
    min-width: 0;
    max-width: 99vw;
    padding: 18px 11px 15px 13px;
  }
  .footer-brand img {
    width: 80px;
  }
  .footer-nav {
    gap: 6px;
    flex-direction: column;
  }
  .footer-contact {
    font-size: .97rem;
  }
  section {
    padding: 18px 0 18px 0;
    margin-bottom: 28px;
  }
  .testimonial-card {
    padding: 16px 12px;
  }
  .card {
    padding: 15px 10px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 8px 13px 8px;
  }
  .cookie-modal__dialog {
    padding: 18px 6px 12px 6px;
    min-width: 0;
  }
}
