/* RESET & BASE STYLES ------------------------------------------- */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #31425A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #D9B161;
  outline-offset: 3px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
*, *::before, *::after {
  box-sizing: border-box;
}

/* TYPOGRAPHY ------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #31425A;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; line-height: 1.11; }
h2 { font-size: 2rem; margin-bottom: 14px; line-height: 1.15; }
h3 { font-size: 1.35rem; margin-bottom: 10px; line-height: 1.13; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p, .subtitle, li, dd {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #31425A;
  line-height: 1.7;
}
p.subtitle, .subtitle {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.18rem;
  color: #D9B161;
  margin-bottom: 12px;
}
strong, b {
  font-weight: 600;
  color: #31425A;
}
hr {
  border: none;
  border-top: 1px solid #ececec;
  margin: 32px 0;
}

/* CONTAINER & LAYOUT --------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* FLEX LAYOUT UTILITY CLASSES ------------------------------------ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(49,66,90,0.05);
  padding: 24px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 32px 0 rgba(49,66,90,0.12);
  transform: translateY(-2px) scale(1.012);
}
.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: #F6F6F6;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(49,66,90,0.06);
  min-width: 250px;
  flex: 1 1 250px;
  transition: box-shadow 0.2s;
}
.testimonial-card p {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  color: #31425A;
}
.testimonial-author {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.98rem;
  color: #a4a6ae;
  margin-left: 16px;
  white-space: nowrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER -------------------------------------------------------- */
header {
  background: #fff;
  border-bottom: 1px solid #ececec;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1001;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}
header img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #31425A;
  padding: 6px 8px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F6F6F6;
  color: #D9B161;
}

.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  display: inline-block;
  font-weight: 600;
  font-size: 1.04rem;
  color: #fff !important;
  background: #31425A;
  border: none;
  border-radius: 24px;
  padding: 10px 32px;
  margin-left: 8px;
  box-shadow: 0 2px 8px rgba(49,66,90,0.10);
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s, transform 0.13s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #D9B161;
  color: #31425A !important;
  box-shadow: 0 4px 18px 0 rgba(217,177,97,0.10);
  transform: translateY(-2px) scale(1.03);
}

/* MOBILE MENU --------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  padding: 8px 16px;
  color: #31425A;
  cursor: pointer;
  transition: color 0.15s;
  border-radius: 6px;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #D9B161;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.31,1.27,.53,1.01);
  box-shadow: -8px 0 48px 0 rgba(49,66,90,0.13);
  display: flex;
  flex-direction: column;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  padding: 10px 18px;
  color: #31425A;
  cursor: pointer;
  margin-bottom: 16px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 32px;
}
.mobile-nav a {
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #31425A;
  padding: 6px 4px 6px 0;
  border-radius: 4px;
  min-width: 120px;
  transition: background 0.12s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6F6F6;
  color: #D9B161;
}

/* HERO, FEATURES, SERVICES --------------------------------------- */
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
  align-items: center;
}
.feature-list li {
  background: #F6F6F6;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  padding: 8px 18px;
  border-radius: 12px;
  box-shadow: 0 1px 4px 0 rgba(49,66,90,0.04);
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: space-between;
}
.service-grid > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(49,66,90,0.07);
  padding: 20px 20px 18px 22px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.service-grid > div:hover {
  box-shadow: 0 6px 22px rgba(49,66,90,0.13);
  transform: translateY(-2px) scale(1.01);
}

/* PRICING TABLE -------------------------------------------------- */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.pricing-table th,
.pricing-table td {
  text-align: left;
  padding: 12px 16px;
}
.pricing-table th {
  background: #F6F6F6;
  color: #31425A;
  font-size: 1.07rem;
  font-weight: 600;
  border-bottom: 2px solid #ececec;
}
.pricing-table td {
  color: #31425A;
  border-bottom: 1px solid #ececec;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
.mini-faq dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #31425A;
  margin: 16px 0 4px 0;
  font-size: 1.09rem;
}
.mini-faq dd {
  margin: 0 0 12px 0;
  color: #31425A;
  font-size: 1.02rem;
}

/* FAQ PAGES ------------------------------------------------------ */
.faq-list dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  margin: 18px 0 5px 0;
  color: #31425A;
}
.faq-list dd {
  margin-bottom: 12px;
  color: #31425A;
}

/* SECTION STYLES ------------------------------------------------ */
section {
  width: 100%;
  background: #fff;
}
section:not(:last-of-type) {
  border-bottom: 1px solid #ececec;
}
section .container {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* BUTTONS ---------------------------------------------------------*/
button, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #31425A;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 10px 26px;
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.12s, box-shadow 0.12s, color 0.14s, transform 0.13s;
}
button:hover, button:focus, .btn:hover, .btn:focus {
  background: #D9B161;
  color: #31425A;
  box-shadow: 0 2px 6px rgba(217,177,97,0.09);
  outline: none;
}
.btn-secondary {
  background: #F6F6F6;
  color: #31425A;
  border: 1px solid #ececec;
  transition: background 0.16s, color 0.16s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #D9B161;
  color: #31425A;
}

/* FOOTER ----------------------------------------------------------*/
footer {
  background: #fff;
  border-top: 1px solid #ececec;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding: 32px 20px 30px 20px;
  gap: 32px;
}
.footer-logo img {
  height: 52px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #31425A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  border-radius: 5px;
  padding: 4px 0;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #D9B161;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.97rem;
}
.footer-contact img {
  height: 16px;
  width: 16px;
  margin-right: 6px;
  vertical-align: middle;
}
.footer-contact p {
  color: #31425A;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* MISCELLANEOUS ---------------------------------------------------*/
ul, ol {
  margin-left: 24px;
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 8px;
}
ul li:last-child {
  margin-bottom: 0;
}
dt {
  margin-bottom: 4px;
}
dd {
  margin-left: 0;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}
.map-snippet {
  background: #F6F6F6;
  padding: 12px 14px;
  border-radius: 10px;
  margin: 18px 0 10px 0;
  font-size: 0.98rem;
  color: #31425A;
}
.contact-info ul {
  margin-bottom: 16px;
}
.contact-info ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 32px 6px;
  }
  .footer-logo img {
    height: 38px;
  }
  .container {
    padding: 0 8px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 8px 18px 8px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .service-grid, .content-grid, .feature-list, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ANIMATIONS & INTERACTIONS -------------------------------------- */
.btn-primary, .btn-secondary {
  transition: background 0.13s, color 0.15s, box-shadow 0.12s, transform 0.13s;
}
.testimonial-card, .card, .service-grid > div {
  transition: box-shadow 0.18s, transform 0.14s;
}
.btn-primary:active, .card:active, .service-grid > div:active {
  transform: scale(0.97);
}

/* TESTIMONIAL SLIDER FLEX LAYOUT --------------------------------- */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

/* COOKIE CONSENT BANNER & MODAL ---------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 24px;
  background: #31425A;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 18px 16px 18px 16px;
  z-index: 4000;
  box-shadow: 0 -2px 24px rgba(49,66,90,0.13);
  transition: bottom 0.27s;
}
.cookie-banner.hide {
  bottom: -100px;
  pointer-events: none;
  opacity: 0;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-banner button {
  font-size: 0.98rem;
  border-radius: 20px;
  padding: 7px 18px;
  min-width: 110px;
  box-shadow: none;
}
.cookie-banner .accept {
  background: #D9B161;
  color: #31425A;
}
.cookie-banner .settings {
  background: #F6F6F6;
  color: #31425A;
  border: 1px solid #ececec;
}
.cookie-banner .reject {
  background: #fff;
  color: #31425A;
  border: 1px solid #ececec;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  filter: brightness(0.98) contrast(1.03);
  outline: none;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.98rem;
    padding: 16px 8px 14px 8px;
  }
  .cookie-banner .cookie-buttons {
    gap: 8px;
  }
}

.cookie-modal-overlay {
  position: fixed;
  top: 0;left:0;right:0;bottom:0;
  background: rgba(49,66,90,0.19);
  z-index: 5001;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.22s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(49,66,90,0.19);
  max-width: 380px;
  width: 94vw;
  padding: 36px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalIn 0.22s;
}
@keyframes modalIn {
  from { transform: scale(0.95) translateY(40px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-modal-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.cookie-modal-header h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.16rem;
  font-weight: 600;
  color: #31425A;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #31425A;
  cursor: pointer;
  line-height: 1;
  padding: 3px 10px;
}
.cookie-modal-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal-category {
  background: #F6F6F6;
  padding: 12px 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  color: #31425A;
}
.cookie-modal-category .toggle {
  margin-left: 10px;
}
.cookie-toggle-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}
.cookie-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ececec;
  border-radius: 20px;
  transition: background 0.2s;
}
.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 1px 3px #aaa1;
}
.cookie-toggle-switch input:checked + .cookie-toggle-slider {
  background: #D9B161;
}
.cookie-toggle-switch input:checked + .cookie-toggle-slider:before {
  transform: translateX(16px);
  background: #31425A;
}
.cookie-toggle-switch input:disabled + .cookie-toggle-slider {
  background: #cbbd9f;
  opacity: 0.6;
}
.cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 8px;
}
.cookie-modal-footer button {
  padding: 9px 22px;
  font-size: 1.02rem;
  border-radius: 18px;
}

/* END OF CSS */
