/* RESET & NORMALIZATION ---------------------- */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #19232c;
  color: #F0F5FA;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #C29B45;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #FFF;
  outline: none;
}
ul, ol {
  padding-left: 1.2em;
}
strong {
  font-weight: 700;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  color: #F0F5FA;
  font-weight: 700;
  letter-spacing: 0.03em;
}
h1 { font-size: 2.8rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.18; margin-bottom: 20px; }
h3 { font-size: 1.32rem; margin-bottom: 14px; }

/* UTILITIES ---------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* LAYOUT SPACING ----------------------------- */
.section, section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.card-container, .feature-grid /* for .card, .feature-box grouping */ {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card,
.product-card,
.service-card,
.faq-item,
.feature-box {
  background: #212b37;
  border-radius: 12px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 14px rgba(30,37,43,0.14);
  padding: 28px 24px;
  flex: 1 1 320px;
  min-width: 260px;
  transition: box-shadow 0.3s;
}
.card:hover,
.product-card:hover,
.service-card:hover,
.feature-box:hover {
  box-shadow: 0 4px 24px rgba(50, 60, 70, 0.3), 0 2px 14px rgba(30,37,43,0.16);
}
.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;
  background: #F0F5FA;
  color: #163550;
  padding: 20px 28px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(30,37,43,0.08);
  min-width: 230px;
  font-size: 1.08rem;
  flex-direction: column;
}
.testimonial-author {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #8C7E67;
  margin-top: 10px;
  letter-spacing: 0.02em;
  align-self: flex-end;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* HERO ------------------------------------- */
.hero {
  background: #163550;
  padding: 60px 0 40px 0;
  min-height: 340px;
  display: flex;
  align-items: center;
  color: #F0F5FA;
}
.hero h1,
.hero p {
  color: #F0F5FA;
}

/* NAVIGATION ------------------------------- */
header {
  background: #181F26;
  box-shadow: 0 2px 14px rgba(22,53,80,0.12);
  padding: 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 16px 0 10px 0;
}
header .main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header .main-nav a {
  color: #F0F5FA;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  letter-spacing: 0.03em;
  font-size: 1.08rem;
  font-weight: 500;
  padding: 4px 0 2px 0;
  position: relative;
  transition: color 0.24s;
}
header .main-nav a:hover,
header .main-nav a:focus {
  color: #C29B45;
}
.cta-primary {
  background: #C29B45;
  color: #163550;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  border: none;
  border-radius: 7px;
  padding: 10px 30px;
  margin-left: 10px;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(194,155,69,0.13);
  transition: background 0.22s, color 0.22s, box-shadow 0.16s;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #A47C2B;
  color: #FFF;
  box-shadow: 0 4px 18px rgba(194,155,69,0.25);
}
.cta-secondary {
  background: transparent;
  color: #C29B45;
  border: 2px solid #C29B45;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
  border-radius: 6px;
  padding: 10px 24px;
  margin-top: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.17s;
  cursor: pointer;
  letter-spacing: 0.03em;
}
.cta-secondary:hover,
.cta-secondary:focus {
  background: #C29B45;
  color: #163550;
  box-shadow: 0 4px 18px rgba(194,155,69,0.24);
}

/* MOBILE MENU --------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #C29B45;
  font-size: 2.2rem;
  cursor: pointer;
  margin-left: 18px;
  padding: 4px 10px;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
  z-index: 1201;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #C29B45;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #181F26;
  box-shadow: 0 0 150px rgba(22,25,48,0.85);
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.53,0,.31,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 30px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #C29B45;
  font-size: 2.2rem;
  cursor: pointer;
  margin-left: auto;
  margin-right: 30px;
  margin-bottom: 18px;
  outline: none;
  transition: color 0.2s;
}
.mobile-menu-close:focus {
  outline: 2px solid #C29B45;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
  width: 100%;
  align-items: flex-start;
  margin-left: 34px;
}
.mobile-nav a {
  color: #F0F5FA;
  font-size: 1.16rem;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 0;
  border-radius: 2px;
  transition: color 0.19s, background 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #C29B45;
  background: #212b37;
}
/* Hide main-nav on mobile, show burger */
@media (max-width: 980px) {
  header .main-nav { display: none; }
  .cta-primary { display: none; }  /* CTA in nav, still visible in hero etc. */
  .mobile-menu-toggle { display: block; }
}

/* Show main-nav on desktop, hide mobile menu by default */
@media (min-width: 981px) {
  .mobile-menu { display: none; }
  .mobile-menu-toggle { display: none; }
}

/* HERO on mobile ------------------------ */
@media (max-width: 620px) {
  .hero h1 { font-size: 1.65rem; }
  .hero { padding: 34px 0 24px 0; min-height: 200px;}
}

/* FEATURES & CARDS ----------------------- */
.features .feature-grid,
.products-list .content-wrapper,
.services-overview .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-box {
  border: 1.5px solid #384553;
  align-items: flex-start;
  justify-content: flex-start;
}
.feature-box img { width: 38px; height: 38px; filter: grayscale(70%) brightness(108%); margin-bottom: 10px; }
.feature-box h3 { color: #FFD570; }
.features h2 { color: #C29B45; }

/* PRODUCT & SERVICES CARDS */
.product-card, .service-card {
  background: #222b33;
  border: 1.5px solid #384553;
  margin-bottom: 26px;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(30,37,43,0.15);
}
.product-card h3, .service-card h3 {
  color: #FFD570;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.product-card ul, .service-card ul {margin-bottom: 14px;}
.product-card p, .service-card p {margin-bottom: 6px;}
.product-card a, .service-card a { margin-top: 9px;}

/* FAQ --------------------------------------- */
.faq-item {
  margin-bottom: 20px;
  border-left: 4px solid #C29B45;
  background: #202731;
  color: #F0F5FA;
  border-radius: 7px;
  padding: 16px 22px 16px 26px;
  box-shadow: 0 2px 10px rgba(23,34,44,0.17);
}
.faq-item h3 { color: #FFD570; font-size: 1.02rem; margin-bottom: 7px;}
.faq-item p {font-size: 0.98rem;}

/* CTA SECTIONS ------------------------ */
.cta-section, .final-cta {
  background: #1c232b;
  border-top: 2px solid #384553;
  padding: 44px 0 30px 0;
}
.cta-section h2, .final-cta h2 {
  color: #C29B45;
  margin-bottom: 11px;
}
.cta-section p, .final-cta p {color: #F0F5FA;}

/* TABLES (if needed) ----------------*/
table {border-collapse: collapse; width: 100%; margin-bottom: 14px;}
th, td {border: 1px solid #384553; padding: 10px; text-align: left;}
th {background: #212b37; color: #FFD570;}

/* FOOTER ------------------------------------ */
footer {
  background: #181F26;
  color: #C29B45;
  padding: 36px 0 18px 0;
  border-top: 2px solid #384553;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  gap: 29px;
  justify-content: center;
  margin-bottom: 15px;
}
.footer-nav a {
  color: #C29B45;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.03rem;
  letter-spacing: 0.025em;
  transition: color 0.19s;
}
.footer-nav a:hover,
.footer-nav a:focus { color: #FFF; }
.brand-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: #F0F5FA;
  font-size: .97rem;
  text-align: center;
}
.brand-contact a {
  color: #C29B45;
  text-decoration: underline;
  font-size: .99rem;
}
.brand-contact img {
  width: 46px;
  margin-bottom: 7px;
}
.social-links {
  display: flex;
  gap: 21px;
  justify-content: center;
  margin-top: 10px;
}
.social-links a img { width: 30px; height: 30px; filter: grayscale(60%) brightness(1.09) contrast(1.1) drop-shadow(0 2px 4px #1115); transition: filter 0.21s; }
.social-links a:hover img { filter: none; }

/* RESPONSIVE  ----------------------------- */
@media (max-width: 1100px) {
  .container { max-width: 970px; }
}
@media (max-width: 900px) {
  .container { max-width: 90vw; }
  .feature-grid, .card-container, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 12px; }
  .hero { padding: 28px 0; min-height: 120px;}
  .content-wrapper { gap: 18px; }
  .feature-box, .card, .product-card, .service-card {
    min-width: 0;
    padding: 18px 12px;
  }
  .footer-nav { gap: 16px; }
  .social-links { gap: 11px; }
  .testimonial-card { padding: 14px 7px; }
}
@media (max-width: 620px) {
  h1 { font-size: 1.47rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1rem; }
  .section, section { padding: 20px 0 20px 0; margin-bottom: 34px; }
  .feature-grid, .card-container, .content-grid, .testimonials .content-wrapper { flex-direction: column; gap: 10px; }
}
/* Flexbox re-alignment for text-image-section & grids on mobile */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 20px; }
  .content-grid, .feature-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
}

/* OTHER STYLES --------------------------------- */
::-webkit-scrollbar { width: 8px; background: #212b37; }
::-webkit-scrollbar-thumb { background: #384553; border-radius: 24px; }

/* Animations & micro-interactions -------------- */
.card, .feature-box, .product-card, .service-card {
  transition: box-shadow 0.3s, transform 0.22s;
}
.card:hover, .feature-box:hover, .product-card:hover, .service-card:hover {
  transform: translateY(-3px) scale(1.012);
}
.cta-primary, .cta-secondary {
  transition: box-shadow 0.22s, background 0.19s, color 0.18s, border 0.18s;
}
.mobile-menu, .cookie-banner, .cookie-modal {
  transition: transform 0.35s cubic-bezier(.32,.98,.31,1), opacity 0.29s;
}

/* --------- COOKIE CONSENT --------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; width: 100vw; z-index: 3000;
  background: #222b33;
  color: #F0F5FA;
  box-shadow: 0 -4px 32px rgba(23,34,44,0.22);
  border-top: 2px solid #384553;
  padding: 22px 14px 17px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  justify-content: center;
  opacity: 1;  
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
}
.cookie-banner .cookie-msg {
  flex: 2 1 320px;
  font-size: 0.99rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #C29B45;
  color: #163550;
  border: none;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  padding: 7px 20px;
  border-radius: 6px;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(194,155,69,0.08);
  font-weight: 600;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #A47C2B;
  color: #FFF;
}
.cookie-btn.settings {
  background: transparent;
  color: #C29B45;
  border: 2px solid #C29B45;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #C29B45;
  color: #163550;
}

/* -------- COOKIE PREFERENCES MODAL ---------- */
.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 60px;
  transform: translate(-50%, 150%);
  opacity: 0;
  z-index: 3010;
  background: #181F26;
  border-radius: 12px;
  box-shadow: 0 8px 46px rgba(30,37,43,0.33), 0 2px 14px rgba(194,155,69,0.07);
  color: #F0F5FA;
  min-width: 310px;
  max-width: 90vw;
  width: 400px;
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  pointer-events: none;
}
.cookie-modal.open {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: all;
}
.cookie-modal h3 {
  color: #C29B45;
  font-size: 1.14rem;
  margin-bottom: 15px;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 10px 0;
  border-bottom: 1px solid #384553;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal .cookie-switch {
  display: flex;
  align-items: center;
  gap: 7px;
}
.cookie-modal .switch {
  position: relative;
  width: 38px; height: 22px;
  background: #384553;
  border-radius: 20px;
  margin-left: 6px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.cookie-modal .switch input[type="checkbox"] {
  opacity: 0;
  width: 38px; height: 22px;
  cursor: pointer;
}
.cookie-modal .slider {
  position: absolute;
  left: 3px;
  top: 3px;
  background: #C29B45;
  width: 16px;
  height: 16px;
  border-radius: 100px;
  transition: left 0.2s, background 0.18s;
}
.cookie-modal .switch input:checked + .slider {
  left: 19px;
  background: #FFD570;
}
.cookie-modal .switch input:disabled + .slider {
  background: #929390;
  opacity: .62;
}
.cookie-modal .cookie-actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
@media (max-width: 540px) {
  .cookie-modal {
    min-width: 0;
    width: 98vw;
    padding: 19px 6px 22px 8px;
  }
}

/* ----------------------------------------------- */

/* INDUSTRIAL MODERN FONT FALLBACKS */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  src: local('Oswald'), local('Oswald-Regular'),
    url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&display=swap');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'),
    url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');
}

/* --- EXTRAS: FOCUS STATES, SELECTION ------ */
a:focus, .cta-primary:focus, .cta-secondary:focus,
.mobile-menu-toggle:focus, .mobile-menu-close:focus, .cookie-btn:focus {
  outline: 2px solid #C29B45;
  outline-offset: 1.5px;
}
::selection {
  background: #C29B45;
  color: #181F26;
}

/* Ensure no grid/col/cn properties are used! */
