/* CSS Reset and 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: #F3F6F9;
  color: #29465B;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #29465B;
  text-decoration: none;
  transition: color 0.3s;
}
a:focus, a:hover {
  color: #D6B965;
  outline: none;
}
strong, b {
  font-weight: 600;
}
table {
  border-collapse: collapse;
}
th, td {
  padding: 12px 16px;
  text-align: left;
}
/* Typography Hierarchy */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #29465B;
  line-height: 1.2;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #29465B;
  line-height: 1.25;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: #29465B;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 10px;
  color: #29465B;
}
p, ul, ol, dl, table {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  color: #29465B;
}
section:not(.hero):not(.confirmation) {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(41,70,91,0.08);
}

/* Container & Section Layout */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.section, 
.hero, 
.about-preview, 
.services-preview, 
.contact-cta, 
.confirmation, 
.pricing, 
.text-section, 
.team, 
.why-choose-us, 
.services-list, 
.process, 
.case-studies, 
.testimonials, 
.faq, 
.legal, 
.contact-info, 
.contact-form, 
.cta {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}

/* Header Navigation */
header {
  background: #fff;
  border-bottom: 1px solid #F3F6F9;
  box-shadow: 0 2px 6px 0 rgba(41,70,91,0.03);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 24px;
}
header img {
  height: 48px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
header nav a {
  padding: 8px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #29465B;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
}
header nav a:hover, header nav a:focus {
  color: #D6B965;
  border-bottom: 2px solid #D6B965;
}
.cta-btn {
  background: #29465B;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  padding: 12px 32px;
  margin-left: 18px;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(41,70,91,0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.3s;
  outline: none;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #D6B965;
  color: #29465B;
  box-shadow: 0 4px 16px 0 rgba(41,70,91,0.14);
}

button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  appearance: none;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
button:focus, .button:focus { outline: 2px solid #29465B; }

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: #29465B;
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.2s;
  z-index: 1001;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #D6B965;
  color: #29465B;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(41,70,91,0.98);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 40px;
  padding-left: 0;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
  z-index: 2000;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2rem;
  align-self: flex-end;
  margin: 0 24px 16px 0;
  border: none;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #D6B965;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100vw;
  padding: 36px 32px 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding-bottom: 8px;
  transition: color 0.2s, background 0.2s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #D6B965;
  background: rgba(255,255,255,0.07);
}

/* Hero Sections */
.hero {
  background: #F3F6F9;
  padding: 48px 20px 56px 20px;
  margin-bottom: 60px;
  border-radius: 0 0 42px 42px;
  box-shadow: 0 8px 32px 0 rgba(41,70,91,0.08);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
  text-align: left;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
}
.hero p {
  font-size: 1.125rem;
  margin-bottom: 16px;
}
.hero img {
  margin-top: 10px;
}

/* Features & Card Containers */
.features ul,
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
.features ul li,
.feature-grid li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(41,70,91,0.08);
  padding: 22px 18px;
  flex: 1 1 225px;
  min-width: 210px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.features ul li:hover, .feature-grid li:hover {
  box-shadow: 0 8px 20px 0 rgba(41,70,91,0.13);
  transform: translateY(-3px) scale(1.02);
}
.features ul img {
  width: 38px;
  height: 38px;
}

/* Cards and Card Containers */
.card-container,
.card-grid,
.case-studies .content-wrapper,
.section .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .case, .testimonial-card, .team ul li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px 0 rgba(41,70,91,0.07);
  padding: 24px 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .case:hover, .testimonial-card:hover, .team ul li:hover {
  box-shadow: 0 2px 16px 0 rgba(41,70,91,0.13);
  transform: translateY(-2px);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Testimonial Cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 22px;
  background: #F3F6F9;
  color: #29465B;
  min-width: 215px;
  border-radius: 13px;
  box-shadow: 0 2px 16px 0 rgba(41,70,91,0.10);
  margin-bottom: 20px;
}
.testimonial-card .stars {
  display: flex;
  gap: 2px;
  align-items: center;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: #29465B;
  opacity: 0.88;
}
.testimonials, .testimonials-snippet {
  background: #F3F6F9;
  border: none;
  box-shadow: none;
  border-radius: 18px;
}

/* About Us: Team Section */
.team ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.team ul li {
  flex: 1 1 320px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Process Section */
.process ol {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.process li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(41,70,91,0.08);
  padding: 22px 18px;
  flex: 1 1 225px;
  min-width: 210px;
  max-width: 260px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.process li img {
  width: 32px;
  height: 32px;
}

/* Tables (Pricing, etc.) */
table {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0.5px 8px rgba(41,70,91,0.06);
  width: 100%;
  margin-bottom: 18px;
  border: 1px solid #F3F6F9;
}
th {
  background: #29465B;
  color: white;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}
td {
  color: #29465B;
}
tr:not(:last-child) td,
tr:not(:last-child) th {
  border-bottom: 1px solid #F3F6F9;
}

/* FAQ */
.faq dl {
  width: 100%;
}
.faq dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 4px;
  margin-top: 16px;
}
.faq dd {
  margin-left: 0;
  margin-bottom: 11px;
}

/* Legal Pages */
.legal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(41,70,91,0.08);
  max-width: 760px;
  margin: 48px auto 60px auto;
  padding: 40px 28px;
}
.legal h1, .legal h2, .legal h3 {
  color: #29465B;
}
.legal h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}
.legal h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.legal h3 {
  font-size: 1.1rem;
  margin-bottom: 7px;
}

/* Contact Info Section */
.contact-info ul,
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 14px;
}
.contact-info ul li,
.contact-details li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.05rem;
  color: #29465B;
  margin-bottom: 7px;
}
.contact-info ul li img,
.contact-details li img {
  width: 24px;
  height: 24px;
}
.map-placeholder {
  margin-top: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 14px;
  background: #F3F6F9;
  border-radius: 12px;
}

/* Confirmation Section */
.confirmation {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 32px 0 rgba(41,70,91,0.09);
  text-align: center;
  padding: 60px 20px;
}
.confirmation h1 {
  color: #29465B;
  margin-bottom: 18px;
  font-size: 2.25rem;
}

/* Footer */
footer {
  background: #fff;
  border-top: 1px solid #F3F6F9;
  box-shadow: 0 -2px 12px 0 rgba(41,70,91,0.03);
  padding: 34px 0 22px 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
footer nav {
  gap: 24px;
}
footer nav a {
  color: #29465B;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: #D6B965;
}
footer p {
  color: #99A8B9;
  font-size: 0.92rem;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #29465B;
  box-shadow: 0 -2px 20px 0 rgba(41,70,91,0.11);
  padding: 20px 32px 20px 32px;
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  animation: bannerFadeIn 0.8s cubic-bezier(0.48,0.24,0.32,1.02);
}
@keyframes bannerFadeIn {
  0% { opacity: 0; transform: translateY(95px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  margin: 0;
  font-size: 1rem;
  flex: 1 1 300px;
  min-width: 220px;
}
.cookie-banner .cookie-btn {
  background: #29465B;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 10px 28px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  margin-left: 8px;
  margin-bottom: 4px;
  transition: background 0.2s, color 0.2s, box-shadow 0.28s;
  box-shadow: 0 1px 8px 0 rgba(41,70,91,0.10);
}
.cookie-banner .cookie-btn:hover,.cookie-banner .cookie-btn:focus {
  background: #D6B965;
  color: #29465B;
}
.cookie-banner .cookie-btn.cookie-reject {
  background: #fff;
  color: #29465B;
  border: 1.5px solid #29465B;
}
.cookie-banner .cookie-btn.cookie-reject:hover, .cookie-banner .cookie-btn.cookie-reject:focus {
  background: #D6B965;
  color: #29465B;
  border-color: #D6B965;
}
.cookie-banner .cookie-btn.cookie-settings {
  background: #F3F6F9;
  color: #29465B;
  border: 1.5px solid #D6B965;
}
.cookie-banner .cookie-btn.cookie-settings:hover, .cookie-banner .cookie-btn.cookie-settings:focus {
  background: #D6B965;
  color: #29465B;
  border-color: #D6B965;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  background: rgba(41,70,91,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  animation: cookieModalFadeIn 0.7s;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #29465B;
  border-radius: 20px;
  max-width: 430px;
  width: 96vw;
  box-shadow: 0 6px 62px 0 rgba(41,70,91,0.15);
  padding: 34px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: slideInModal 0.4s cubic-bezier(0.75,0.22,0.28,1.06);
  position: relative;
  z-index: 5100;
}
@keyframes slideInModal {
  from {transform: scale(0.93) translateY(40px); opacity: 0}
  to {transform: scale(1) translateY(0); opacity:1;}
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.24rem;
  font-weight: 600;
  color: #29465B;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}
.cookie-modal .cookie-category .switch {
  display: inline-block;
  width: 44px;
  height: 24px;
  position: relative;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F3F6F9;
  border-radius: 22px;
  transition: background 0.2s;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(41,70,91,0.11);
  transition: transform 0.2s, background 0.15s;
}
.cookie-modal .switch input:checked + .slider {
  background: #D6B965;
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(20px);
  background: #D6B965;
}
.cookie-modal .cookie-category .essential {
  color: #29465B;
  font-weight: 500;
  opacity: 0.75;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 10px;
  display: flex;
  gap: 12px;
}
.cookie-modal .cookie-btn {
  padding: 10px 19px;
  font-size: 1rem;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #29465B;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus {
  color: #D6B965;
}

/* Responsive Design – Mobile First */
@media (max-width: 1023px) {
  .container {
    max-width: 92vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .feature-grid, .features ul, .team ul, .process ol {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .features ul li, .feature-grid li, .process li {
    min-width: 145px;
    max-width: 100%;
    flex: 1 1 135px;
  }
  .team ul {
    flex-direction: column;
    gap: 16px;
  }
  .team ul li {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .section, .hero, .about-preview, .services-preview, .contact-cta,
  .confirmation, .pricing, .text-section, .team, .why-choose-us, .services-list, .process, .case-studies, .testimonials, .faq, .legal, .contact-info, .contact-form, .cta {
    padding: 24px 5vw;
    margin-bottom: 46px;
  }
  .hero .content-wrapper, .content-wrapper {
    align-items: flex-start;
    gap: 18px;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 10px;
  }
  nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
    padding: 12px 20px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
  .cases, .features ul, .feature-grid, .process ol {
    flex-direction: column;
    gap: 18px;
  }
  .team ul {
    flex-direction: column;
    gap: 14px;
  }
  .contact-info ul, .contact-details {
    gap: 10px;
  }
  .footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
@media (max-width: 600px) {
  .section, .hero, .about-preview, .services-preview, .contact-cta,
  .confirmation, .pricing, .text-section, .team, .why-choose-us, .services-list, .process, .case-studies, .testimonials, .faq, .legal, .contact-info, .contact-form, .cta {
    padding: 18px 2vw;
  }
  h1, .h1 { font-size: 1.5rem; }
  h2, .h2 { font-size: 1.2rem; }
  .hero p, p { font-size: 1rem; }
  .mobile-nav {
    padding: 36px 12px 0 12px;
  }
}

/* Animations */
.section, .hero, .card, .testimonial-card, .case {
  animation: fadeInSection 0.8s ease;
}
@keyframes fadeInSection {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Accessibility Enhancements */
:focus {
  outline: 2px dashed #D6B965;
  outline-offset: 2px;
}

/* Utility classes */
.d-none { display: none !important; }
.text-center { text-align: center; }
.w-100 { width: 100%; }

/* Ensure no overlapping */
* + * {
  margin-top: 0;
}

/* Custom scrollbar */
body::-webkit-scrollbar {
  width: 12px;
  background: #EAEFF3;
}
body::-webkit-scrollbar-thumb {
  background: #D6B965;
  border-radius: 10px;
}

/* End of CSS */