/* RESET & NORMALIZE (START) */
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, 
main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #232B32;
  color: #F6F6F6;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  outline: none;
}
*:focus {
  outline: 2px solid #F0C049;
}
/* RESET & NORMALIZE (END) */

/* FONT IMPORTS & ROOTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');
:root {
  --color-primary: #21364A;
  --color-secondary: #F0C049;
  --color-accent: #F6F6F6;
  --color-bg: #232B32;
  --color-card-bg: #293540;
  --color-footer: #1A232B;
  --color-metallic: #b0b5b9;
  --color-white: #fff;
  --color-black: #181C1E;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--color-bg);
  color: var(--color-accent);
  min-height: 100vh;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-secondary);
  letter-spacing: 0.03em;
  font-weight: 900;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
p, ul, ol, li {
  font-family: var(--font-body);
  color: var(--color-accent);
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.7;
}

strong { color: var(--color-secondary); font-weight: 700; }

/* CONTAINER & LAYOUT */
.container {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-card-bg);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(33,54,74,0.12),0 1.5px 1.5px 0 rgba(176,181,185,0.04);
  padding: 28px 24px;
  border: 1px solid var(--color-metallic);
  transition: box-shadow 0.3s, transform 0.2s;
}
.card:hover {
  transform: translateY(-4px) scale(1.018);
  box-shadow: 0 8px 30px rgba(33,54,74,0.23),0 2px 2px 0 rgba(176,181,185,0.08);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--color-accent);
  color: var(--color-black);
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 3px 8px rgba(33,54,74,0.07);
  border-left: 4px solid var(--color-secondary);
}
.testimonial-card strong {
  color: var(--color-primary);
  font-weight: 900;
  font-family: var(--font-display);
  margin-bottom: 0px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
ul li img {
  width: 26px;
  height: 26px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg, #1a232b 80%, #232B32 100%);
  padding: 64px 0 38px 0;
  box-shadow: 0 2px 20px 0 rgba(33,54,74,0.15);
  border-bottom: 1.5px solid var(--color-metallic);
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  color: var(--color-white);
  font-size: 2.35rem;
  margin-bottom: 12px;
}
.hero p {
  color: var(--color-accent);
  font-size: 1.18rem;
  margin-bottom: 22px;
}
.hero .cta {
  margin-top: 8px;
}

/* NAVIGATION */
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 26px 0 18px 0;
  background: transparent;
  position: relative;
}
.main-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.09rem;
  letter-spacing: 0.01em;
  padding: 8px 8px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a.cta {
  background: var(--color-secondary);
  color: var(--color-primary);
  margin-left: 16px;
  border-radius: 7px;
  border: none;
  font-size: 1.09rem;
  padding: 10px 22px;
  font-weight: 900;
  box-shadow: 0 0.5px 2px 0 rgba(176,181,185,0.12);
  transition: box-shadow 0.2s, background 0.2s;
}
.main-nav a.cta:hover{
  background: #f7cf61;
  box-shadow: 0 2px 8px 0 rgba(240,192,73,0.10);
}
.main-nav a:hover:not(.cta){
  background: #273646;
  color: var(--color-secondary);
}
.main-nav img {
  height: 44px;
  margin-right: 10px;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 2.2rem;
  cursor: pointer;
  position: absolute;
  right: 18px;
  top: 22px;
  z-index: 120;
  transition: color 0.2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  color: #f7cf61;
}

/* MOBILE NAV MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33, 54, 74, 0.97);
  z-index: 9999;
  transition: transform 0.38s cubic-bezier(.25,.96,.63,1), opacity 0.31s;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 2.3rem;
  padding: 18px 18px 0 0;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 60px 0 0 42px;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-size: 1.35rem;
  font-weight: 700;
  padding: 10px 0;
  border-radius: 5px;
  min-width: 180px;
  transition: color 0.16s, background 0.16s;
}
.mobile-nav a:hover {
  background: #2b425a;
  color: var(--color-secondary);
}

/* HIDE MAIN NAV ON MOBILE, SHOW BURGER BUTTON */
@media (max-width: 1020px){
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

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


/* CARD GRID & FLEXBOX STRUCTURES */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* BUTTONS & CTA */
.cta, .button, button, .cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.09rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 7px;
  padding: 12px 30px;
  cursor: pointer;
  box-shadow: 0 1.5px 6px 0 rgba(176,181,185,0.09);
  margin-top: 18px;
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
}
.cta:hover, .button:hover, .cookie-btn:hover {
  background: #ffe07a;
  color: var(--color-primary);
  box-shadow: 0 2px 12px 0 rgba(240,192,73,0.14);
  transform: translateY(-2px) scale(1.03);
}
.cta:active, .button:active, .cookie-btn:active {
  background: var(--color-metallic);
  color: var(--color-black);
}

/* FOOTER */
footer {
  background: var(--color-footer);
  color: var(--color-accent);
  padding: 40px 0 24px 0;
  box-shadow: 0 -2px 26px 0 rgba(33,54,74,0.11);
  margin-top: 70px;
  border-top: 1.5px solid var(--color-metallic);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 4px 12px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover {
  background: #273646;
  color: var(--color-secondary);
}
.footer-address {
  text-align: center;
  font-size: 0.98rem;
  color: #c8cacb;
  margin-top: 6px;
  line-height: 1.75;
}

/* SECTION SPACING */
main section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* IMAGES and ICONS */
img[alt*='icon'], img[alt*='Icon'] {
  filter: grayscale(60%) brightness(1.25) contrast(1.12);
  opacity: 0.8;
  margin-right: 12px;
}

/* SCROLLBAR for modern look */
::-webkit-scrollbar {
  width: 10px;
  background: var(--color-card-bg);
}
::-webkit-scrollbar-thumb {
  background: #3e4960;
  border-radius: 14px;
}

/* SPACING BETWEEN ELEMENTS */
section, .section, .card, .testimonial-card {
  margin-bottom: 60px;
}
.card, .testimonial-card {
  margin-bottom: 20px;
}
.content-wrapper > *:not(:last-child){
  margin-bottom: 12px;
}

/* RESPONSIVE (MOBILE) */
@media (max-width: 768px){
  .container { padding: 0 5vw; }

  .hero { padding: 38px 0 20px 0; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }

  main section, .section {
    padding: 22px 5vw;
    margin-bottom: 40px;
  }
  .content-wrapper { gap: 13px; }

  .card { padding: 18px 14px; }
  .testimonial-card { padding: 13px 10px; }

  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .footer-nav { gap: 13px; }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

@media (max-width: 420px) {
  .container { padding: 0 2vw; }
  .card { padding: 12px 2vw; }
  .testimonial-card { padding: 7px 4px; }
}

/* SUBTLE SHADOWS & INDUSTRIAL METAL ACCENTS */
.card, .testimonial-card {
  box-shadow: 0 4px 18px rgba(33,54,74,0.12);
  border-left: 4px solid var(--color-metallic);
}

@media (max-width: 500px) {
  .footer-address { font-size: .91rem; }
}

/* MICROINTERACTIONS & ANIMATIONS */
.cta, .button, .cookie-btn {
  transition: background 0.15s, color 0.18s, box-shadow 0.17s, transform 0.18s;
}
.card, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(33,54,74,0.25);
  transform: translateY(-3px) scale(1.01);
}

/* LINKS */
a {
  transition: color 0.15s, background 0.15s;
}
a:focus-visible {
  outline: 2.5px solid var(--color-secondary);
  outline-offset: 2px;
}

/* COOKIE CONSENT BANNER (FIXED) */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #232B32;
  color: var(--color-accent);
  box-shadow: 0 -3px 18px rgba(33,54,74,0.13);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 30px;
  flex-wrap: wrap;
  font-size: 1rem;
  animation: cookie-slide-in 0.4s cubic-bezier(.31,1.38,.5,1.02);
}
@keyframes cookie-slide-in {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1;
  margin-right: 16px;
  color: var(--color-accent);
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.cookie-btn {
  font-size: 0.98rem;
  padding: 10px 18px;
  border-radius: 7px;
  min-width: 120px;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  margin: 0 5px;
  transition: background 0.2s, color 0.2s;
}
.cookie-btn.settings {
  background: #273646;
  color: var(--color-secondary);
}
.cookie-btn.reject {
  background: var(--color-metallic);
  color: var(--color-primary);
}
.cookie-btn:hover {
  background: #ffe07a !important;
  color: var(--color-black) !important;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 10px;
  }
  .cookie-banner p {
    margin-bottom: 13px;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(33,54,74,0.79);
  z-index: 100100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s;
  pointer-events: auto;
}
.cookie-modal-content {
  background: var(--color-card-bg);
  color: var(--color-accent);
  box-shadow: 0 8px 28px 0 rgba(33,54,74,0.23);
  border-radius: 14px;
  padding: 36px 32px;
  max-width: 400px;
  width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-content h2 {
  color: var(--color-secondary);
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.cookie-modal-content .cookie-modal-close {
  position: absolute;
  right: 22px;
  top: 18px;
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 2.1rem;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-content .cookie-modal-close:hover,
.cookie-modal-content .cookie-modal-close:focus {
  color: #fff;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 5px 0;
  font-size: 1rem;
}
.cookie-category input[type='checkbox'] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-secondary);
}
.cookie-category .always-on {
  font-size: 0.92em;
  color: var(--color-metallic);
  font-weight: 600;
  margin-left: 6px;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

@media (max-width: 400px) {
  .cookie-modal-content {
    padding: 14px 4vw;
  }
}

/* ACCESSIBILITY: High Contrast for Testimonial Card Text (Dark text on Light background) */
.testimonial-card p,
.testimonial-card strong {
  color: var(--color-black);
}

/* MISC: SPECIAL ELEMENTS * /
/* For potential .feature-list, .feature-item spacing */
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}
.feature-item {
  min-width: 160px;
  max-width: 420px;
  font-size: 1.02em;
  background: var(--color-card-bg);
  padding: 20px 16px;
  border-radius: 6px;
  border-left: 4px solid var(--color-secondary);
  box-shadow: 0 2px 14px rgba(33,54,74,0.10);
}

/*-----------------*/
/* VISUAL EFFECTS: INDUSTRIAL "METAL" EDGING ACCENT BARS */
.card:before, .section:before {
  content: '';
  display: block;
  height: 4px;
  width: 44px;
  background: var(--color-metallic);
  border-radius: 4px 4px 2px 2px;
  margin-bottom: 20px;
}
/* Remove accent bar on hero section to preserve logo top space */
.hero:before { display: none !important; }

/* Adjustments for direct icon/image in text blocks */
.text-section img {
  margin-right: 10px;
}

/* Remove top margin for first section for better alignment */
main section:first-child, .section:first-child {
  margin-top: 0 !important;
}

/* Basic form field style (if present in the future) */
input, textarea, select {
  background: #212932;
  border: 1.5px solid var(--color-metallic);
  border-radius: 7px;
  color: var(--color-accent);
  font-size: 1rem;
  padding: 12px 10px;
  margin-bottom: 10px;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
}

/* Ensure gap between all content blocks */
.content-wrapper > *, .container > * {
  margin-bottom: 14px;
}

/* Hide empty accent bar if no content in .section or .card */
.card:empty:before, .section:empty:before { display: none; }

/* End INDUSTRIAL MODERN CSS */
