/* 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;
  box-sizing: border-box;
}
article,aside,details,figcaption,figure, 
footer,header,hgroup,menu,nav,section {
  display: block;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #212529;
  min-height: 100vh;
}
*, *:before, *:after { box-sizing: inherit; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul,ol { list-style: none; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}
:focus { outline: 2px solid #17B196; outline-offset: 2px; }

/* TYPOGRAPHY */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #244287;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: 2.75rem; line-height: 1.12; margin-bottom: 24px; }
h2 { font-size: 2rem;  line-height: 1.15; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; color: #244287; }

p, li, span, a, address {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #212529;
  letter-spacing: 0.01em;
}
p { margin-bottom: 16px; }
strong { font-weight: 700; color: #244287; }

/* CONTAINER & WRAPPER */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #F3F5FA;
  position: sticky;
  top: 0; left: 0; z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.logo img {
  height: 36px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #244287;
  padding: 5px 8px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
nav a:hover, nav a:focus {
  background: #DEE2ED;
  color: #17B196;
}
.button.primary {
  background: #244287;
  color: #fff !important;
  border-radius: 28px;
  padding: 10px 28px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  box-shadow: 0 2px 16px 0 rgba(36,66,135,0.08);
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-left: 10px;
  margin-right: 0;
}
.button.primary:hover, .button.primary:focus {
  background: #17B196;
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(23,177,150,0.13);
}
.button {
  background: #DEE2ED;
  color: #244287;
  border-radius: 24px;
  padding: 10px 26px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  margin: 8px 0;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 7px 0 rgba(36,66,135,0.04);
}
.button:hover, .button:focus {
  background: #17B196;
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(23,177,150,0.10);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #244287;
  background: #fff;
  border-radius: 4px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  z-index: 120;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #DEE2ED;
  color: #17B196;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255,0.98);
  z-index: 200;
  box-shadow: -2px 0 24px rgba(36,66,135,0.08);
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  margin: 30px 24px 14px 0;
  font-size: 2.2rem;
  background: #DEE2ED;
  color: #244287;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 14px rgba(36,66,135,0.07);
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #17B196;
  color: #fff;
}
.mobile-nav {
  width: 100vw;
  padding: 24px 32px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 13px 0;
  color: #244287;
  width: 100%;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #DEE2ED;
  color: #17B196;
}

/* HERO SECTION */
.hero {
  background: #F8F9FB;
  padding-top: 64px;
  padding-bottom: 64px;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.hero h1 { color: #244287; margin-bottom: 12px; }
.hero p { color: #212529; margin-bottom: 32px; font-size: 1.2rem; }

/* SECTION & SPACING PATTERNS*/
.section,
.about-section,
.features,
.services-preview,
.about-preview,
.team-section,
.contact-section,
.contact-why,
.materials,
.technologies,
.cta-banner,
.testimonials-section,
.use-cases,
.faq-section,
.legal-section,
.confirmation-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 rgba(36,66,135,0.07);
}
.content-wrapper {
  gap: 6px !important;
}

/* FLEXIBLE GRIDS & ITEMS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F8F9FB;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(36,66,135,0.03);
  padding: 24px 22px;
  min-width: 215px;
  flex: 1 1 210px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-item img { height: 40px; width: 40px; margin-bottom: 3px; }
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 4px 28px rgba(36,66,135,0.11);
  transform: translateY(-3px) scale(1.03);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(36,66,135,0.05);
  padding: 28px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s, transform 0.12s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 3px 20px rgba(36,66,135,0.13);
  transform: translateY(-2px) scale(1.02);
}

.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 24px;
}
.service-item {
  background: #F8F9FB;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(36,66,135,0.03);
  padding: 22px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.service-item strong { margin-top: 10px; font-size: 1.05rem; color: #17B196; }
.service-item:hover, .service-item:focus-within {
  box-shadow: 0 4px 26px rgba(36,66,135,0.11);
  transform: translateY(-2px);
}

/* TESTIMONIALS */
.testimonials-section .content-wrapper,
.testimonials-section {
  gap: 28px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  color: #212529;
  border-radius: 12px;
  box-shadow: 0 2px 14px 0 rgba(36,66,135,0.10);
  padding: 24px 22px;
  margin-bottom: 20px;
  border-left: 4px solid #17B196;
  transition: box-shadow 0.22s, border-color 0.18s;
  max-width: 520px;
}
.testimonial-card span {
  display: block;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 600;
  color: #244287;
  font-size: 1.01rem;
}
.testimonial-card p {
  color: #212529;
  font-style: italic;
  margin-bottom: 0; font-size: 1.08rem;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(23,177,150,.13);
  border-left: 4px solid #244287;
}

/* CTA BANNERS */
.cta-banner {
  background: #244287;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 22px 0 rgba(36,66,135,0.13);
  margin-bottom: 60px;
  padding: 36px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 18px;
}
.cta-banner .button,
.cta-banner .button.primary {
  margin: 0 auto;
  margin-top: 8px;
  font-size: 1rem;
}
.cta-banner .button.primary {
  background: #17B196;
  color: #fff;
  border-radius: 28px;
}
.cta-banner .button.primary:hover, .cta-banner .button.primary:focus {
  background: #244287;
  color: #fff;
}

/* FAQ ACCORDION (Simple) */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  border-radius: 10px;
  background: #F8F9FB;
  box-shadow: 0 1px 8px rgba(36,66,135,0.04);
  padding: 22px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s;
}
.faq-item h3 {
  font-size: 1.12rem;
  color: #244287;
  margin-bottom: 6px;
  font-weight: 600;
}
.faq-item p {
  font-size: 0.97rem;
  color: #212529;
}
.faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 3px 18px rgba(36,66,135,0.08);
}

/* FOOTER */
footer {
  background: #F8F9FB;
  border-top: 1px solid #DEE2ED;
  padding: 40px 0 20px 0;
  font-size: 0.97rem;
  color: #212529;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #244287;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 4px 0;
  border-radius: 4px;
  transition: background 0.16s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #DEE2ED;
  color: #17B196;
}
.footer-contact h3 {
  color: #244287;
  margin-bottom: 7px;
  font-size: 1.07rem;
}
.footer-contact p, .footer-legal a {
  color: #212529;
  font-size: 0.97rem;
}
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}
.footer-legal a {
  color: #838BA7;
  transition: color 0.15s;
}
.footer-legal a:hover, .footer-legal a:focus {
  color: #17B196;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -4px 32px rgba(36,66,135,0.13);
  border-top: 1px solid #DEE2ED;
  z-index: 3000;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.34s cubic-bezier(.68,-0.55,.27,1.55), opacity 0.26s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.cookie-banner p {
  color: #212529;
  font-size: 1.03rem;
  text-align: center;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  border-radius: 22px;
  padding: 8px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  background: #DEE2ED;
  color: #244287;
  transition: background 0.2s, color 0.16s, box-shadow 0.14s;
  margin-top: 0;
  cursor: pointer;
}
.cookie-btn.accept {
  background: #17B196;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #13816D;
}
.cookie-btn.reject {
  background: #DEE2ED;
  color: #244287;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #244287;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: #244287;
  border: 1px solid #DEE2ED;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #244287;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(36,66,135,0.22);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1; pointer-events: auto;
  transition: opacity 0.32s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  padding: 32px 30px 24px;
  border-radius: 16px;
  max-width: 430px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(36,66,135,0.17);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #244287;
}
.cookie-modal label {
  font-family: 'Roboto', Arial, sans-serif;
  color: #212529;
  font-size: 1rem;
  margin-left: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-category input[type='checkbox'] {
  accent-color: #17B196;
}
.cookie-actions-modal {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}

/* SPECIAL SECTIONS */
.contact-details, .map-embed {
  margin-bottom: 22px;
  background: #F8F9FB;
  border-radius: 8px;
  padding: 19px 22px;
  font-size: 1.04rem;
}
.map-embed p {
  margin: 0; color: #838BA7;
}
.confirmation-section ul {
  margin-bottom: 18px;
  margin-left: 14px;
}

/* UTILITIES */
.mt-0 { margin-top: 0 !important; }
.mt-24 { margin-top: 24px !important; }
.mb-20 { margin-bottom: 20px !important; }
hide { display: none !important; }

/* MEDIA QUERIES: RESPONSIVE DESIGN */
@media (max-width: 1160px) {
  .container { max-width: 1000px; }
}
@media (max-width: 900px) {
  .container { max-width: 730px; }
  .feature-grid { gap: 20px; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; gap: 14px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.55rem; }
  .container { max-width: 98vw; padding: 0 12px; }
  .features, .section,
  .about-section,
  .services-preview,
  .about-preview,
  .team-section,
  .contact-section,
  .contact-why,
  .materials,
  .technologies,
  .cta-banner,
  .testimonials-section,
  .use-cases,
  .faq-section,
  .legal-section,
  .confirmation-section {
    padding: 26px 7px;
    margin-bottom: 40px;
    border-radius: 10px;
  }
  .feature-grid { gap: 14px; }
  .content-wrapper {
    padding: 0; gap: 5px !important;
  }
  .footer-nav { flex-direction: column; gap: 6px; }
  .cta-banner { padding: 24px 7px; }
}
@media (max-width: 650px) {
  header .container {
    flex-wrap: nowrap;
    gap: 7px;
    height: auto;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle { display: flex; }
  .logo img {
    height: 30px;
  }
  .button.primary { font-size: 0.95rem; padding: 8px 18px; margin-left: 0; }
}
@media (max-width: 520px) {
  .feature-grid { flex-direction: column; gap: 12px; }
  .testimonial-card, .feature-item, .service-item {
    max-width: 98vw;
    padding: 18px 8px !important;
  }
  .cta-banner { border-radius: 7px; }
}
@media (max-width: 480px) {
  .hero {
    padding-top: 34px;
    padding-bottom: 24px;
  }
  .cta-banner { padding: 13px 1px; }
  .container { padding: 0 3px; }
  .footer-contact p, .footer-legal a { font-size: 0.92rem; }
  .mobile-menu-close { margin-right: 8px; width: 41px; height: 41px; font-size: 2rem; }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    transition: none !important;
    animation: none !important;
  }
}
