/* ================================================= 
   CSS 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;
  line-height: 1.5;
  scroll-behavior: smooth;
  background: #191b1d;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #181b1d;
  font-family: 'Open Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}
*,*::before,*::after{
  box-sizing: inherit;
}
img, iframe {
  max-width: 100%;
  display: block;
}

/* Typography
--------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #101013;
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 { font-size: 2.5rem; line-height: 1.16; margin-bottom: 28px; }
h2 { font-size: 2rem; line-height: 1.22; margin-bottom: 22px; }
h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 14px; font-weight: 600;}
h4, h5, h6 { margin-bottom: 12px; font-weight: 600;}
p,li,blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #222426;
}
strong {font-weight: 600;}
ul, ol { margin-left: 1.3em; margin-bottom: 20px; }
ul li, ol li{margin-bottom: 8px;}
address {font-style: normal; color: #43464a; font-size: 1rem; margin-bottom: 8px;}

/* Links */
a {
  color: #183153;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #111315;
  text-decoration: none;
}

/* Containers & Layout
--------------------------------------------*/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 1024px) {
  .container {
    max-width: 94vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .section {
    padding: 30px 8px;
    margin-bottom: 40px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 24px 4vw;
    margin-bottom: 32px;
  }
  .content-wrapper{
    gap: 16px;
  }
  h1{font-size: 2rem;}
  h2{font-size: 1.25rem;}
}

/* Header & Navigation
--------------------------------------------*/
header {
  background: #191b1d;
  box-shadow: 0 2px 16px 0 rgba(10,10,10,0.05);
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.main-nav a {
  color: #dfdfdf;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 8px 5px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a.active {
  color: #F8C471;
  background: #22242a;
}

.cta-button.primary {
  background: #101013;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border-radius: 28px;
  padding: 11px 28px;
  margin-left: 12px;
  border: none;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 2px 14px 0 rgba(10,10,10,0.10);
  cursor: pointer;
  display: inline-block;
  transition: background 0.23s, color 0.23s, box-shadow 0.23s, transform 0.2s;
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: #183153;
  color: #F8C471;
  box-shadow: 0 4px 22px 0 rgba(24,49,83,0.08);
  transform: translateY(-2px) scale(1.04);
}

/* Responsive Header */
@media (max-width: 900px) {
  header .main-nav { display: none; }
  .cta-button.primary { display:none; }
}

/* Hamburger Mobile Menu
--------------------------------------------*/
.mobile-menu-toggle {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 1002;
  width: 48px;
  height: 48px;
  background: #fff;
  border: 2px solid #22262a;
  border-radius: 50%;
  font-size: 2rem;
  color: #181b1d;
  cursor: pointer;
  display: none;
  line-height: 1;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px 0 rgba(24,49,83,0.07);
  transition: background 0.15s;
}
.mobile-menu-toggle:active {
  background: #ececec;
}
@media (max-width: 900px) {
  .mobile-menu-toggle { display: flex; }
}

.mobile-menu {
  position: fixed;
  inset: 0 0 0 0;
  background: rgba(24, 31, 37, 0.97);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(.7,0,.2,1), opacity 0.3s;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 24px 24px 10px 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  align-self: flex-end;
  z-index: 1200;
  transition: color 0.2s;
  padding: 2px 10px;
}
.mobile-menu-close:hover { color: #F8C471; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  align-items: flex-start;
  padding: 20px 32px 20px 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fcfcfc;
  font-size: 1.28rem;
  font-weight: 600;
  padding: 12px 0 12px 6px;
  text-decoration: none;
  border-radius: 4px;
  width: 100%;
  display: block;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #232b34;
  color: #F8C471;
}

@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
}

/* =============== MAIN STYLES ================= */
main {
  min-height: 48vh;
  background: #fff;
}
.hero {
  background: #101013 url('../assets/hero-bg.png') top right no-repeat;
  color: #fff;
  padding: 72px 0 48px 0;
  margin-bottom: 62px;
  min-height: 380px;
}
.hero .container { justify-content: center; }
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  max-width: 560px;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 2px 24px rgba(8,9,10,0.12);
}
.hero p {
  color: #ececec;
  font-size: 1.15rem;
}
.hero .cta-button.primary {
  margin-left: 0;
  background: #F8C471;
  color: #183153;
  font-weight: 700;
  box-shadow: 0 3px 18px 0 rgba(248,196,113,0.23);
}
.hero .cta-button.primary:hover, 
.hero .cta-button.primary:focus{
  background: #dfb254;
  color: #191b1d;
}
@media (max-width: 768px) {
  .hero {
    padding: 36px 0 22px 0;
    min-height: 220px;
    margin-bottom: 32px;
  }
  .hero .content-wrapper { gap: 14px; }
  .hero h1 { font-size: 1.4rem; }
}

/* Features and Services Grids
--------------------------------------*/
.feature-grid, .service-list, .benefit-list, .process-steps, .process-timeline, .testimonial-list, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  margin: 0 0 18px 0;
  padding: 0;
}
.feature-grid li, .service-list li, .benefit-list li, .process-steps li, .process-timeline li, .faq-list li {
  background: #fff;
  color: #181b1d;
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 rgba(33,33,33,0.07);
  padding: 28px 22px 23px 22px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  min-width: 200px;
  transition: box-shadow 0.2s, transform 0.21s;
}
.feature-grid li:hover, .service-list li:hover, .benefit-list li:hover, .process-steps li:hover, .process-timeline li:hover, .faq-list li:hover {
  box-shadow: 0 6px 36px 0 rgba(24,49,83,0.14);
  transform: translateY(-3px) scale(1.022);
}
.feature-grid img, .service-list img, .benefit-list img, .process-steps img, .process-timeline img {
  width: 44px;
  height: 44px;
  margin-bottom: 9px;
  opacity: 0.95;
}
.service-list.detailed li h2 { font-size: 1.38rem; }
.service-list strong, .service-list.detailed strong { color: #183153; font-weight: 700; letter-spacing: 0.03em; }
.process-steps li h3, .process-timeline li h2 {
  color: #183153;
}
.faq-list li h3 {font-size: 1rem; color: #191b1d;}

@media (max-width: 900px) {
  .feature-grid, .service-list, .benefit-list, .process-steps, .process-timeline, .testimonial-list, .faq-list {
    gap: 17px;
  }
}
@media (max-width: 768px) {
  .feature-grid li, .service-list li, .benefit-list li, .process-steps li, .process-timeline li, .faq-list li {
    min-width: 92vw;
    width: 100%;
    padding: 18px 8px 15px 14px;
    gap: 8px;
  }
  .feature-grid, .service-list, .benefit-list, .process-steps, .process-timeline, .testimonial-list, .faq-list {
    flex-direction: column;
    gap: 13px;
  }
}

/* Testimonial Card
--------------------------------------*/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #f7f7f9;
  color: #191b1d;
  box-shadow: 0 4px 24px 0 rgba(33,33,33,0.10);
  border-radius: 14px;
  padding: 20px 22px 20px 22px;
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 620px;
  font-size: 1.02rem;
  transition: box-shadow 0.2s, transform 0.21s;
  border: 1px solid #ececec;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 500;
  color: #183153;
  margin-bottom: 10px;
  border-left: 5px solid #183153;
  padding-left: 12px;
  letter-spacing: 0.02em;
  line-height: 1.35;
}
.testimonial-card p {
  margin-bottom: 2px;
  color: #222426;
  font-size: 0.98rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.star-rating {
  color: #F8C471;
  font-size: 1.08rem;
  letter-spacing: 0.14em;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 2px;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
@media (max-width:800px) {
  .testimonial-list {
    flex-direction: column;
    gap: 11px;
  }
  .testimonial-card {
    max-width: 99vw;
    min-width: unset;
    padding: 15px 9px 13px 11px;
  }
}

/* Card styles
--------------------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fbfbfc;
  border-radius: 14px;
  box-shadow: 0 3px 20px 0 rgba(30,30,30,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 18px 20px 18px;
  min-width: 258px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #eee;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 44px 0 rgba(24,49,83,0.12);
  transform: scale(1.02) translateY(-2px);
}

/* Content Grid
--------------------------------------*/
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .content-grid {
    gap: 14px;
  }
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FAQ
--------------------------------------*/
.faq-section {
  background: #f4f6fa;
  border-top: 1px solid #ececec;
}
.faq-list li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(10,10,10,0.06);
  border: 1px solid #ebebeb;
}

/* CTA Section
--------------------------------------*/
.cta-section {
  background: #191b1d;
  color: #fff;
  border-radius: 0 0 28px 28px;
  margin-bottom: 60px;
  padding: 42px 0 38px 0;
  box-shadow: 0 8px 44px 0 rgba(30,30,30,0.09);
}
.cta-section .content-wrapper {
  align-items: center;
}
.cta-section h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
}
.cta-section .cta-button.primary {
  background: #F8C471;
  color: #191b1d;
  font-weight: 700;
  margin: 0 auto;
}
.cta-section .cta-button.primary:hover{ background: #dfb254; color: #101013; }
@media (max-width: 800px) {
  .cta-section {
    border-radius: 0 0 14px 14px;
    margin-bottom: 30px;
    padding: 25px 0 22px 0;
  }
}

/* Forms (if any)
--------------------------------------*/
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: 6px;
  border: 1px solid #d7dbe3;
  padding: 10px;
  background: #fafbfc;
  margin-bottom: 15px;
  width: 100%;
  font-size: 1rem;
  line-height: 1.4;
  color: #183153;
  transition: border-color 0.15s, background 0.18s;
}
input:focus, textarea:focus, select:focus{
  border-color: #183153;
  outline: none;
  background: #fff;
}
button[type="submit"], .cta-button {
  background: #191b1d;
  color: #fff;
  border: none;
  border-radius: 23px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 28px;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 3px 16px 0 rgba(24,49,83,0.10);
  transition: background 0.23s, color 0.23s, transform 0.16s;
}
button[type="submit"]:hover, .cta-button:hover {
  background: #183153;
  color: #F8C471;
  transform: translateY(-1px) scale(1.021);
}

/* Footer
--------------------------------------*/
footer {
  background: #191b1d;
  color: #ececec;
  padding: 48px 0 30px 0;
  border-top: 1px solid #20262b;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer .content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo img {
  max-width: 56px;
  filter: brightness(100%) grayscale(100%);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  color: #ececec;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  text-decoration: none;
  opacity: 0.95;
  transition: color 0.16s;
}
.footer-nav a:hover {
  color: #F8C471;
  text-decoration: underline;
  opacity: 1;
}
.footer-contact p, .footer-contact a {
  color: #b7bec4;
  font-size: 0.98rem;
  margin-bottom: 5px;
  font-family: 'Open Sans', Arial, sans-serif;
}
.footer-contact a {text-decoration: underline;}
@media (max-width: 900px) {
  footer .content-wrapper{
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
@media (max-width: 580px) {
  footer { padding: 18px 0 16px 0; }
  .footer-logo img{max-width:36px;}
}

/* Misc Utilities
--------------------------------------*/
.text-section {
  margin-bottom: 15px;
  font-size: 1.04rem;
  line-height: 1.64;
}
.text-section ul{padding-left: 18px;}
.text-section li{margin-bottom:8px;}
.contact-information {
  margin-bottom: 18px;
  padding: 18px 20px 12px 12px;
  background: #f4f6fa;
  border-radius: 10px;
  box-shadow: 0 1px 10px 0 rgba(33,33,33,0.06);
  font-size: 1.01rem;
}

/* Cookie Consent Banner & Modal
--------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #181b1d;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  z-index: 12000;
  padding: 22px 24px 18px 28px;
  box-shadow: 0 -8px 20px 0 rgba(23,27,29,0.08);
  font-size: 1rem;
  gap: 14px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  animation: cookie-banner-in 0.6s cubic-bezier(.67,0,.19,1);
}
@keyframes cookie-banner-in {
  0% { transform: translateY(100%); opacity: 0 }
  100% { transform: translateY(0); opacity: 1 }
}
.cookie-banner p {
  margin: 0;
  font-size: 0.98rem;
  color: #fff;
}
.cookie-button {
  background: #183153;
  color: #fff;
  border: none;
  border-radius: 23px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 22px;
  margin-left: 7px;
  margin-right: 0;
  cursor: pointer;
  box-shadow: 0 1px 10px 0 rgba(24,49,83,0.06);
  transition: background 0.23s, color 0.18s, transform 0.15s;
}
.cookie-button.settings{
  background: #b7bec4;
  color: #181b1d;
}
.cookie-button.reject {
  background: #c9c9c9;
  color: #23272b;
}
.cookie-button:hover {
  background: #F8C471;
  color: #191b1d;
  transform: translateY(-1px) scale(1.027);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 8px 12px 12px;
    font-size: 0.97rem;
    gap: 8px;
  }
  .cookie-banner .cookie-button{ margin: 6px 0 0 0; }
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  top: 50%; left:50%;
  transform: translate(-50%,-52%) scale(1);
  background: #fff;
  color: #222426;
  z-index: 12030;
  width: 95vw; max-width: 400px;
  box-shadow: 0 8px 48px 0 rgba(24,49,83,0.25);
  border-radius: 14px;
  padding: 32px 24px 24px 24px;
  opacity: 0;
  pointer-events:none;
  transition: opacity 0.33s cubic-bezier(.7,0,.2,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal h3{
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f4f6fa;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 10px 13px 8px 13px;
}
.cookie-category label {
  font-size: 1rem;
  color: #191b1d;
}
.cookie-switch {
  margin-left: 12px;
}
/* Cookie toggle (checkbox) styling */
.cookie-switch input[type='checkbox'] {
  width: 0; height: 0; opacity: 0; position: absolute;
}
.cookie-switch span {
  display: inline-block;
  width: 40px; height: 22px;
  background: #b7bec4;
  border-radius: 22px;
  position: relative;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-switch span:before {
  content: '';
  position: absolute;
  width: 16px; height:16px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 5px 0 rgba(10,10,10,0.10);
  transition: left 0.19s, background 0.17s;
}
.cookie-switch input[type='checkbox']:checked + span {
  background: #183153;
}
.cookie-switch input[type='checkbox']:checked + span:before {
  left: 21px;
  background: #183153;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .cookie-button:last-child { margin-right: 0; }

/* Overlay for modal */
.cookie-modal-overlay {
  position: fixed;
  inset:0; background: rgba(16,19,20, 0.29);
  z-index: 12020;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.open { opacity: 1; pointer-events: all; }

/* Accessibility 
--------------------------------------*/
.sr-only { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/*=================================
   Animations
=================================*/
.fade-in { animation: fadein 0.7s cubic-bezier(.7,0,.2,1); }
@keyframes fadein { from{ opacity:0; } to { opacity:1; } }
.slide-in-right { animation: slideinright 0.5s cubic-bezier(.7,0,.2,1); }
@keyframes slideinright {
  from { opacity:0; transform: translateX(60px); }
  to   { opacity:1; transform: translateX(0); }
}

/*=================================
   Print
=================================*/
@media print {
  header, footer, .mobile-menu, .mobile-menu-toggle, .cookie-banner { display:none!important;}
  main { background: #fff; color: #191b1d; }
}
