/* 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;
}

html {
  font-size: 16px;
  height: 100%;
  width: 100%;
}

body {
  background: #101822;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #ECEEF2;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: break-word;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #F3C622;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #FFD249;
  text-decoration: underline;
}

ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #F3C622;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  line-height: 1.13;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #FFFFFF;
}
section h1, section h2, section h3 {
  text-shadow: 0 2px 12px rgba(26,55,86,0.25);
}

p, li, .footer-contact span {
  font-size: 1rem;
  color: #ECEEF2;
}
strong {
  color: #FFFFFF;
  font-weight: 700;
}

.text-section h1,
.text-section h2,
.text-section h3 {
  color: #F3C622;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(26,55,86, 0.45);
  border-radius: 12px;
  box-shadow: 0 2px 32px 0 rgba(16,24,34,0.07);
}

/* FLEX GRIDS & ALIGNMENTS */
.features-grid, .testimonial-slider, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features-grid {
  justify-content: space-between;
}
.card-container {
  align-items: stretch;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 320px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F7F9FC;
  color: #1A3756;
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 rgba(26,55,86,0.10);
  min-width: 290px;
  max-width: 500px;
  margin: 0 0 24px 0;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px 0 rgba(26,55,86,0.18);
  transform: translateY(-4px) scale(1.03);
}
.testimonial-meta {
  font-size: 1rem;
  color: #888;
  font-style: italic;
  margin-top: 10px;
}
.testimonial-rating img {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 2px;
}

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

/* FEATURE CARD */
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: rgba(26,55,86,0.86);
  border-radius: 14px;
  box-shadow: 0 3px 16px 0 rgba(16, 24, 34, 0.11);
  padding: 28px 22px;
  min-width: 230px;
  max-width: 270px;
  flex: 1 1 220px;
  border: 1.5px solid #283e5d;
  transition: box-shadow 0.3s, border-color 0.2s;
  margin-bottom: 20px;
}
.feature:hover {
  box-shadow: 0 6px 28px 0 rgba(26,55,86,0.18);
  border-color: #F3C622;
}
.feature img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: grayscale(0) contrast(1.1) brightness(1.2) drop-shadow(0 1px 0 rgba(243,198,34,0.07));
}
.feature h3 {
  font-size: 1.15rem;
  color: #F3C622;
  margin: 4px 0 2px 0;
}
.feature p {
  color: #ECEEF2;
  font-size: 1rem;
}

/* BUTTONS */
.btn-primary, .main-nav .btn-primary, .content-wrapper .btn-primary, .cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: #F3C622;
  color: #1A3756;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 0;
  box-shadow: 0 3px 12px 0 rgba(243,198,34,0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.12s;
  cursor: pointer;
  outline: none;
}
.btn-primary:hover, .main-nav .btn-primary:hover, .content-wrapper .btn-primary:hover, .cookie-btn:hover {
  background: #FFD249;
  color: #1A3256;
  transform: scale(1.04);
  box-shadow: 0 6px 24px 0 rgba(243,198,34,0.13);
  text-decoration: none;
}

/* HEADER/NAVIGATION */
header {
  background: #131f2e;
  border-bottom: 2px solid #283e5d;
  position: sticky;
  top: 0;
  z-index: 1001;
  width: 100%;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 12px;
}
header a img {
  height: 38px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.main-nav a {
  color: #ECEEF2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 2px;
  border-radius: 6px;
  position: relative;
  transition: background 0.12s, color 0.12s;
}
.main-nav a:not(.btn-primary):hover, .main-nav a:not(.btn-primary):focus {
  background: rgba(243,198,34,0.05);
  color: #F3C622;
}
.main-nav .btn-primary {
  margin-left: 14px;
  margin-right: 0;
  font-size: 1rem;
  background: #F3C622;
  color: #1A3756;
}

.mobile-menu-toggle {
  display: flex;
  background: none;
  color: #F3C622;
  font-size: 2.1rem;
  border: none;
  padding: 0 10px;
  cursor: pointer;
  line-height: 1;
  z-index: 1002;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  margin-right: 0;
  border-radius: 8px;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #F3C622;
}

/* Mobile menu overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(16,24,34, 0.98);
  z-index: 2100;
  transform: translateX(100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(.7,.3,.2,1.1), opacity 0.2s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: #F3C622;
  font-size: 2.1rem;
  border: none;
  padding: 20px 16px 4px 16px;
  cursor: pointer;
  align-self: flex-end;
  margin: 10px 10px 0 0;
  border-radius: 8px;
  transition: background 0.12s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: rgba(243,198,34,0.09);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: center;
  padding-top: 40px;
}
.mobile-nav a {
  width: 90%;
  text-align: left;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #F3C622;
  background: none;
  padding: 14px 12px;
  border-radius: 7px;
  transition: background 0.17s, color 0.17s;
  margin-bottom: 2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F3C622;
  color: #1A3756;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 11px;
  }
  .features-grid, .testimonial-slider, .card-container, .content-grid {
    gap: 18px;
  }
  .feature {
    min-width: 170px;
    max-width: 240px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    gap: 8px;
  }
  .features-grid, .testimonial-slider, .card-container, .content-grid {
    gap: 14px;
  }
  .feature {
    min-width: 148px;
    max-width: 200px;
    padding: 16px 10px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-wrapper,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
  .main-nav {
    display: flex !important;
  }
}

/* CARDS & PREVIEWS */
.card, .blog-post-preview, .faq-item {
  background: rgba(26,55,86,0.74);
  border-radius: 12px;
  box-shadow: 0 2px 14px 0 rgba(26,55,86,0.15);
  border: 1.3px solid #283e5d;
  padding: 26px 22px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, border-color 0.18s;
}
.card:hover, .blog-post-preview:hover, .faq-item:hover {
  box-shadow: 0 6px 24px 0 rgba(26,55,86,0.25);
  border-color: #F3C622;
}
.blog-post-preview h3 {
  color: #ECEEF2;
}

.text-section {
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.faq-item h3 {
  color: #F3C622;
  font-size: 1.08rem;
  margin-bottom: 4px;
}

/* BLOG POST PREVIEW */
.blog-post-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* TESTIMONIAL SLIDER FAKE SCROLL */
.testimonial-slider {
  flex-direction: row;
  gap: 24px;
  overflow-x: auto;
  align-items: stretch;
  padding-bottom: 8px;
  margin-bottom: 24px;
}

/* FOOTER */
footer {
  background: #192a40;
  border-top: 2px solid #283e5d;
  padding: 40px 0 24px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
}
.footer-brand img {
  height: 48px;
  width: auto;
}
.footer-brand span {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #F3C622;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.footer-menu a {
  color: #F3C622;
  font-size: 0.95rem;
  border-radius: 7px;
  padding: 4px 10px;
  transition: background 0.13s, color 0.13s;
}
.footer-menu a:hover {
  background: #F3C622;
  color: #1A3756;
}
.footer-secondary {
  flex: 1 1 100%;
  margin-top: 22px;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px 32px;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 18px;
  margin-right: 8px;
  vertical-align: middle;
  filter: grayscale(0.6) contrast(1.4);
}
.footer-contact span {
  color: #ECEEF2;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .footer-brand,
  .footer-menu,
  .footer-secondary {
    flex-basis: 100%;
    justify-content: flex-start;
    margin-bottom: 12px;
  }
  footer .container {
    flex-direction: column;
    gap: 12px;
  }
  .footer-menu {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
  }
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #232833;
  color: #FFF;
  box-shadow: 0 -2px 32px 0 rgba(16,24,34,0.14);
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 5200;
  transition: transform 0.22s cubic-bezier(.7,.3,.2,1.1), opacity 0.18s;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  border-top: 2px solid #283e5d;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner-content {
  font-size: 1rem;
  color: #FFF;
  margin-bottom: 4px;
}
.cookie-btn {
  margin-right: 14px;
  min-width: 130px;
  padding: 12px 12px;
  border-radius: 7px;
  font-size: 1rem;
  background: #F3C622;
  color: #1A3756;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.18s;
}
.cookie-btn.accept {
  background: #F3C622;
  color: #1A3756;
}
.cookie-btn.reject {
  background: #1A3756;
  color: #F3C622;
}
.cookie-btn.settings {
  background: transparent;
  color: #F3C622;
  border: 2px solid #F3C622;
}
.cookie-btn:focus, .cookie-btn:hover {
  filter: brightness(1.16);
  background: #FFD249;
  color: #1A3256;
}
.cookie-banner-actions {
  display: flex;
  gap: 15px;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    padding: 14px 7px;
    font-size: 0.95rem;
  }
  .cookie-banner-actions {
    flex-direction: column;
    gap: 8px;
  }
  .cookie-btn {
    width: 100%;
    min-width: 80px;
  }
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 6000;
  background: #212b36;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 48px 0 rgba(17,29,42,0.31);
  width: 96%;
  max-width: 480px;
  transform: translate(-50%,-50%) scale(0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.23s;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 26px 20px 26px;
}
.cookie-modal.active {
  transform: translate(-50%,-50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal h2 {
  color: #F3C622;
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.cookie-modal-section {
  margin-bottom: 14px;
}
.cookie-modal-section label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: #ECEEF2;
}
.cookie-modal-toggle {
  width: 40px;
  height: 22px;
  border-radius: 22px;
  background: #232a34;
  position: relative;
  margin-left: auto;
}
.cookie-modal-toggle input {
  display: none;
}
.cookie-modal-toggle .switch {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 100%;
  background: #888;
  transition: left 0.18s, background 0.18s;
}
.cookie-modal-toggle input:checked + .switch {
  left: 20px;
  background: #F3C622;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal .cookie-btn {
  min-width: 110px;
}
.cookie-modal .cookie-btn.settings {
  margin-right: 0;
  background: transparent;
  border: 1.2px solid #F3C622;
  color: #F3C622;
}
.cookie-modal-close {
  position: absolute;
  top: 8px;
  right: 14px;
  background: none;
  color: #F3C622;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
}
.cookie-modal-close:hover {
  background: rgba(243,198,34,0.09);
  border-radius: 8px;
}

/* ANIMATION KEYFRAMES */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(32px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeOutDown {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(32px); }
}

/* SMALL UTILITIES */
.hide { display: none !important; }
.visible { display: block !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-40 { margin-top: 40px !important; }
.text-center { text-align: center; }

/* ----- INDUSTRIAL MODERN VISUALS ----- */
.section, .feature, .card, .testimonial-card, .blog-post-preview, .faq-item {
  border-radius: 12px;
  border: 1.5px solid #283e5d;
}
.section {
  box-shadow: 0 2px 32px 0 rgba(26,55,86,0.06), 0 1.5px 0 rgba(243,198,34, 0.07);
  background: rgba(26,55,86,0.55);
}
.feature, .card, .testimonial-card, .blog-post-preview, .faq-item {
  box-shadow: 0 2px 16px 0 rgba(26,55,86, 0.10), 0 0.5px 0 rgba(255,255,255,0.03);
  border-left: 4px solid #F3C622;
  border-top: 1.5px solid #283e5d;
}

/* SHADOWS FOR INDUSTRIAL DEPTH */
.feature:hover, .card:hover, .testimonial-card:hover, .blog-post-preview:hover, .faq-item:hover {
  box-shadow: 0 8px 42px 0 rgba(43,52,62,0.21);
  border-color: #F3C622;
  z-index: 2;
}

/* INDUSTRIAL ACCENTS ON BUTTONS */
.btn-primary, .cookie-btn {
  box-shadow: 0 2px 16px 0 rgba(243,198,34,0.12), 0 1px 0 #222 inset;
  border-bottom: 2px solid #A88910;
}
.btn-primary:active, .cookie-btn:active {
  box-shadow: 0 0 0 0 rgba(243,198,34,0.07), 0 1px 0 #888 inset;
}

/* -- Typography hierarchy scale -- */
@media (max-width: 600px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.42rem; }
  h3 { font-size: 1.09rem; }
  p, li, .footer-contact span { font-size: 0.98rem; }
}

/* ----------- INDUSTRIAL URBAN METALLIC STYLE ----------- */
h1, h2, h3 {
  text-transform: none;
  letter-spacing: 0.01em;
  text-shadow: 0 1.5px 0 #283e5d, 0 2.5px 10px rgba(243,198,34,0.10);
}
.card, .faq-item {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #ECEEF2;
  background: rgba(26,47,64,0.89);
  border-right: 1px solid #7c8693; /* metallic accent */
}

/* --- FORM SPACING (if ever needed) --- */
input, textarea, select {
  background: #181f2b;
  color: #ECEEF2;
  border: 1.2px solid #283e5d;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 16px;
  transition: border-color 0.13s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #F3C622;
  box-shadow: 0 0 0 2px rgba(243,198,34,0.13);
}

/* HIGHLIGHTED LINKS */
.text-section a {
  color: #F3C622;
  font-weight: 600;
  border-bottom: 1.5px dashed #F3C622;
  transition: color 0.14s, border-bottom 0.14s;
}
.text-section a:hover {
  color: #FFD249;
  border-bottom: 2px solid #FFD249;
}

/* ---- MISC ---- */
::-webkit-scrollbar {
  width: 8px;
  background: #161b27;
}
::-webkit-scrollbar-thumb {
  background: #283e5d;
  border-radius: 8px;
}

::selection {
  background: #F3C622;
  color: #1A3756;
}

/* --- Accessibility focus --- */
a:focus, button:focus, .btn-primary:focus, .cookie-btn:focus {
  outline: 2.2px solid #F3C622;
  outline-offset: 2px;
  z-index: 3;
}

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