/* ============================
   CSS RESET & BASE TYPOGRAPHY
   ============================ */
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #F3F5F7;
  background: #1F4662 url('assets/bg-futuristic.svg') no-repeat center top/cover;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
  background-blend-mode: overlay;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
a {
  color: #D1A65A;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #fff;
  text-shadow: 0 0 8px #d1a65a77;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #F3F5F7;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  line-height: 1.2;
  text-shadow: 0 2px 12px #223f6155;
}
h1 { font-size: 2.7rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.4rem; }
h4, h5, h6 { font-size: 1.1rem; }

p, ul, ol {
  margin-bottom: 16px;
}
ul, ol {
  padding-left: 28px;
}
strong {
  color: #D1A65A;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* FUTURISTIC SECTIONS & CONTAINERS */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(31, 70, 98, 0.97);
  border-radius: 24px;
  box-shadow: 0 4px 32px 0 #213b5d44;
}

/* MAIN NAVIGATION */
header {
  width: 100%;
  background: #162c42;
  box-shadow: 0 4px 18px 0 #000c1a22;
  position: sticky;
  top: 0;
  z-index: 99;
}
.main-nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 32px;
  padding: 18px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.13rem;
}
.main-nav a {
  color: #F3F5F7;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 8px;
  transition: background 0.18s, color 0.15s, box-shadow 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #1f4662cc;
  color: #D1A65A;
  text-shadow: 0 0 9px #D1A65A;
}
.main-nav a.cta-btn {
  background: #D1A65A;
  color: #1F4662;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 16px #d1a65a33, 0 0 0 2px #D1A65A66;
  border-radius: 16px;
  transition: background 0.18s, color 0.16s, box-shadow 0.2s;
}
.main-nav a.cta-btn:hover, .main-nav a.cta-btn:focus {
  background: #f3f5f7;
  color: #1F4662;
  box-shadow: 0 0 16px #d1a65a88, 0 0 0 4px #D1A65A;
}
.main-nav img {
  height: 38px;
  margin-right: 12px;
  background: transparent;
}

/* BURGER BUTTON (MOBILE) */
.mobile-menu-toggle {
  display: none;
  border: none;
  background: none;
  color: #D1A65A;
  font-size: 2.4rem;
  position: absolute;
  right: 22px;
  top: 18px;
  z-index: 200;
  cursor: pointer;
  padding: 5px 10px;
  transition: color .17s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #D1A65A;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(25,38,63,0.98);
  z-index: 5000;
  transform: translateX(-105%);
  opacity: 0;
  transition: transform 0.33s cubic-bezier(.8,.1,.2,1), opacity 0.22s;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 42px;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 20px 10px 0;
  background: none;
  border: none;
  color: #D1A65A;
  font-size: 2.2rem;
  cursor: pointer;
  padding: 8px 12px;
  transition: color .16s;
}
.mobile-menu-close:focus {
  outline: 2px solid #D1A65A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  width: 100%;
  margin-top: 28px;
}
.mobile-nav a {
  display: block;
  font-size: 1.4rem;
  width: 80vw;
  max-width: 320px;
  color: #F3F5F7;
  padding: 14px 0 14px 0;
  background: rgba(31,70,98,.9);
  border-radius: 12px;
  text-align: center;
  margin-bottom: 8px;
  transition: color .16s, background .18s;
}
.mobile-nav a.cta-btn {
  background: #D1A65A;
  color: #1F4662;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 16px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #D1A65A;
  background: #1f4662;
}

/* HERO SECTION */
.hero {
  padding: 56px 0 36px 0;
  margin-bottom: 60px;
  background: linear-gradient(125deg, #233a4f 0%, #1f4662 85%);
  border-radius: 0 0 38px 38px;
  box-shadow: 0 4px 20px #1f466277;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
  max-width: 650px;
}
.hero h1 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.26rem;
  color: #e2e7ef;
  margin-bottom: 22px;
  text-shadow: 0 2px 9px #18345577;
}

/* CTA BUTTONS */
.cta-btn {
  background: #D1A65A;
  color: #1F4662;
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 14px 34px;
  border: none;
  border-radius: 18px;
  cursor: pointer;
  letter-spacing: 0.06em;
  box-shadow: 0 0 12px #d1a65a22, 0 0 0 2px #D1A65A30;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: background 0.18s, color .16s, box-shadow .20s, transform .14s;
  position: relative;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #fff;
  color: #1F4662;
  box-shadow: 0 0 32px #d1a65a88, 0 0 0 4px #D1A65A;
  text-shadow: 0 0 5px #d1a65a66;
  transform: translateY(-2px) scale(1.03);
}

/* FEATURES */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #223a50ee;
  border-radius: 24px;
  box-shadow: 0 2px 16px #1A304488;
}
.features .content-wrapper {
  gap: 28px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  list-style: none;
  align-items: flex-start;
}
.feature-grid li {
  flex: 1 1 220px;
  background: #1F4662;
  color: #D1A65A;
  border: 1.5px solid #D1A65A44;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  font-weight: 500;
  font-size: 1.06rem;
  box-shadow: 0 2px 18px #ab8d5979;
  margin-bottom: 20px;
  position: relative;
  transition: transform .14s, box-shadow .13s;
}
.feature-grid li:hover {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 10px 28px #d1a65a44, 0 2px 30px #2e9ad122;
  background: #253f57ee;
}
.feature-grid li img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 9px #d1a65aaa);
}

/* ABOUT SNIPPET & COMMON .text-section */
.about-snippet .content-wrapper,
.about .content-wrapper,
.values .content-wrapper,
.services .content-wrapper,
.service-details .content-wrapper,
.contact .content-wrapper,
.office-info .content-wrapper,
.confirmation .content-wrapper {
  gap: 32px;
}
.text-section {
  background: #1F4662cc;
  padding: 24px 24px;
  border-radius: 16px;
  box-shadow: 0 2px 20px #28446155;
  color: #F3F5F7;
  font-size: 1.07rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.text-section ul {
  color: #fff;
  list-style: disc inside;
  margin-top: 8px;
}
.text-section li {
  margin-bottom: 3px;
}

/* PROJECTS */
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.project-item {
  background: #19334b;
  padding: 25px 22px;
  border-radius: 18px;
  color: #f3f5f7;
  flex: 1 1 290px;
  box-shadow: 0 2px 14px #1c314665, 0 0 0 2px #899cb400;
  margin-bottom: 20px;
  transition: box-shadow .12s, transform .13s;
  border: 1.3px solid #D1A65A33;
  position: relative;
}
.project-item h3 {
  color: #D1A65A;
  font-size: 1.28rem;
  margin-bottom: 10px;
}
.project-item:hover {
  box-shadow: 0 10px 32px #d1a65a42, 0 4px 44px #355f8d12;
  border-color: #D1A65A;
  transform: translateY(-2px) scale(1.02);
}

/* TESTIMONIALS */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 14px #1f466222;
}
.testimonials .content-wrapper {
  gap: 28px;
}
.testimonials h2 {
  color: #1F4662;
  text-shadow: none;
  margin-bottom: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #f3f5f7;
  border-radius: 18px;
  box-shadow: 0 4px 20px #213b5d33, 0 0 0 2px #1f466233;
  color: #222;
  border-left: 4px solid #D1A65A;
  position: relative;
  transition: box-shadow .14s, border-color .12s;
}
.testimonial-card:hover {
  border-left: 4px solid #1F4662;
  box-shadow: 0 10px 36px #d1a65a55, 0 4px 44px #355f8d22;
}
.testimonial-card p {
  color: #1F4662;
  font-size: 1.05rem;
  margin-bottom: 0;
  font-style: italic;
}
.testimonial-meta {
  font-size: 0.98rem;
  color: #444b57;
  margin-left: 20px;
}
.star-rating {
  font-size: 1.12rem;
  color: #D1A65A;
  margin-top: 4px;
}

/* FAQ */
.faq {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #1F4662cc;
  border-radius: 20px;
  box-shadow: 0 2px 14px #28446155;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #F3F5F7;
}
.faq-list h3 {
  font-size: 1.13rem;
  font-weight: 700;
  color: #D1A65A;
  margin-bottom: 2px;
}
.faq-list p {
  color: #fff;
  font-size: 1.03rem;
  margin-left: 5px;
}

/* OL / UL / CARD CONTAINERS */
ol, ul {
  margin-bottom: 18px;
  padding-left: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #233a4f;
  color: #F3F5F7;
  border-radius: 18px;
  box-shadow: 0 3px 20px #1f466244;
  padding: 26px 22px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #1F4662cc;
  border-radius: 15px;
  padding: 18px 14px;
  margin-bottom: 20px;
}

/* CTA Section */
.cta {
  background: #D1A65A;
  padding: 40px 20px;
  border-radius: 18px;
  margin-bottom: 60px;
  box-shadow: 0 2px 46px #184e8277;
  text-align: center;
}
.cta .content-wrapper {
  align-items: center;
  gap: 14px;
}
.cta h2 {
  color: #1f4662;
}
.cta p {
  color: #253a4a;
}
.cta-btn {
  margin-top: 6px;
}

/* FOOTER */
footer {
  background: #162c42;
  color: #F3F5F7;
  padding: 45px 0 30px 0;
  margin-top: 45px;
  border-top: 4px solid #D1A65A33;
}
.footer-block, .footer-contact, .footer-social {
  margin-bottom: 18px;
}
.footer-block ul.footer-links {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 18px;
}
.footer-block ul li {
  margin-bottom: 0;
}
.footer-links a {
  color: #D1A65A;
  transition: color .13s;
  font-weight: 500;
}
.footer-links a:hover {
  color: #F3F5F7;
}
.footer-contact img {
  width: 17px;
  vertical-align: middle;
  margin-right: 5px;
  filter: drop-shadow(0 0 5px #1F466255);
}
.footer-social h3 {
  color: #D1A65A;
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.footer-social a {
  display: inline-block;
  margin-right: 11px;
}
.footer-social img {
  width: 31px;
  border-radius: 50%;
  box-shadow: 0 2px 12px #d1a65a22;
  background: #e4e6ea;
  transition: box-shadow .17s, background .13s;
}
.footer-social img:hover {
  box-shadow: 0 0 18px #d1a65a77;
  background: #fffbe7;
}
footer .container {
  width: 100%;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 42px;
}

/* INFRA GRAPHICS, MAPS, ETC. */
.infographic img,
.map img {
  width: 70px;
  height: 70px;
  margin-right: 10px;
  filter: drop-shadow(0 0 17px #D1A65A99);
}
.map {
  display: flex;
  align-items: center;
  font-size: 1.07rem;
  color: #D1A65A;
  margin-top: 14px;
}

/* COOKIES CONSENT BANNER & MODAL */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1F4662;
  color: #F3F5F7;
  z-index: 9999;
  padding: 28px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -8px 33px #162c42cc;
  border-radius: 20px 20px 0 0;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .34s, transform .25s;
  transform: translateY(100%);
  font-size: 1.02rem;
}
#cookie-banner.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  display: none;
}
#cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  margin-top: 9px;
}
.cookie-btn {
  padding: 12px 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 10px #d1a65a22;
  transition: background .14s, color .13s, box-shadow .15s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: #D1A65A;
  color: #1F4662;
}
.cookie-btn.reject {
  background: #e9522a;
  color: #fff;
}
.cookie-btn.settings {
  background: #223a50;
  color: #D1A65A;
  border: 1.5px solid #D1A65A;
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.13) drop-shadow(0 0 8px #d1a65a88);
}

#cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 96vw;
  max-width: 420px;
  transform: translate(-50%, -50%) scale(0.88);
  background: #1F4662;
  color: #F3F5F7;
  z-index: 10000;
  padding: 36px 28px 22px 28px;
  border-radius: 24px;
  box-shadow: 0 12px 54px #164060ee;
  opacity: 0;
  pointer-events: none;
  transition: opacity .34s, transform .22s;
  font-size: 1.04rem;
  display: flex;
  flex-direction: column;
  gap: 23px;
}
#cookie-modal.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
#cookie-modal h2 {
  color: #D1A65A;
  font-size: 1.4rem;
  margin-bottom: 0;
  text-align: center;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #223a504a;
}
.cookie-category label {
  font-weight: 500;
  color: #D1A65A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-category input[type=checkbox] {
  accent-color: #D1A65A;
  width: 19px;
  height: 19px;
}
.cookie-actions-modal {
  display: flex;
  gap: 16px;
  margin-top: 4px;
  justify-content: flex-end;
}
#cookie-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 1.7rem;
  color: #D1A65A;
  background: none;
  border: none;
  cursor: pointer;
  padding: 7px 13px;
  transition: color .12s;
}
#cookie-modal .modal-close:hover, #cookie-modal .modal-close:focus {
  color: #fff;
}

/* =====================
   RESPONSIVE BREAKPOINTS
   ===================== */
@media (max-width: 1200px) {
  .main-nav {
    gap: 18px;
    font-size: 1rem;
  }
}
@media (max-width: 992px) {
  .container {
    max-width: 920px;
    padding: 0 10px;
  }
  .main-nav {
    gap: 8px;
    font-size: 0.98rem;
  }
  .project-list {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .footer-social, .footer-contact, .footer-block, footer .content-wrapper {
    flex: 1 1 100%;
  }
  .footer-block ul.footer-links {
    gap: 8px;
  }
  .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding: 0 6vw;
  }
  .section, .features, .testimonials, .faq, .cta {
    padding: 29px 8px;
    margin-bottom: 46px;
  }
  .content-grid, .card-container, .project-list, .feature-grid, .footer-block ul.footer-links {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .footer-block, .footer-contact, .footer-social, footer .content-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .footer-block ul.footer-links {
    gap: 6px;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 14px;
  }
  .testimonials {
    padding: 24px 4px;
    margin-bottom: 42px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    padding: 14px 10px;
  }
  .feature-grid li, .project-item, .card {
    padding: 16px 10px;
    font-size: 1.01rem;
  }
  .footer-social img {
    width: 26px;
  }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.28rem; }
}
@media (max-width: 500px) {
  html {
    font-size: 15px;
  }
  .container {
    max-width: 100vw;
    padding: 0 2vw;
  }
  .section, .features, .testimonials, .faq, .cta {
    padding: 15px 2px;
    margin-bottom: 24px;
    border-radius: 12px;
  }
  .feature-grid li, .project-item, .card {
    border-radius: 12px;
  }
  .hero { border-radius: 0 0 18px 18px; }
}

/* MICROINTERACTIONS */
.cta-btn, .cookie-btn {
  transition: background 0.20s, color 0.20s, box-shadow 0.22s, transform 0.14s;
  will-change: background, color, box-shadow, transform;
}
.main-nav a:after, .footer-links a:after {
  display: block;
  content: '';
  border-bottom: 3px solid #D1A65A;
  transform: scaleX(0);
  transition: transform 0.16s;
  margin-top: 2px;
}
.main-nav a:hover:after, .footer-links a:hover:after {
  transform: scaleX(1);
}
.feature-grid li, .project-item, .testimonial-card, .card {
  transition: box-shadow .18s, transform .16s, border-color .14s;
  will-change: box-shadow, transform, border-color;
}
input[type="checkbox"], input[type="radio"] {
  accent-color: #D1A65A;
  width: 1.1em;
  height: 1.1em;
}
::-webkit-scrollbar {
  width: 11px;
  background: #1F4662;
}
::-webkit-scrollbar-thumb {
  background: #193558;
  border-radius: 8px;
  border: 2px solid #1F4662;
}

/* SELECTION COLOR */
::selection {
  background: #D1A65A;
  color: #1F4662;
}

/* RETURN TO TOP BUTTON (OPTIONAL) */
#backtotop {
  display: none;
  position: fixed;
  right: 22px;
  bottom: 85px;
  background: #D1A65A;
  color: #1F4662;
  font-size: 1.18rem;
  border: none;
  border-radius: 50%;
  padding: 13px 14px;
  box-shadow: 0 2px 16px #1F4662;
  cursor: pointer;
  z-index: 800;
  opacity: 0.85;
  transition: background .16s, opacity .12s;
}
#backtotop:hover {
  background: #1F4662;
  color: #D1A65A;
  opacity: 1;
}

/* PRINT OPTIMIZATION */
@media print {
  * { background: none !important; color: #111 !important; box-shadow: none !important; text-shadow: none !important; }
  .main-nav, .mobile-menu-toggle, .mobile-menu, .footer-social, #cookie-banner, #cookie-modal, #backtotop { display: none !important; }
  .section, .features, .testimonials, .faq, .cta, .container { padding: 0 !important; margin: 0 !important; width: 100% !important; }
  footer, header { border: none !important; }
}
