/* ===========================
   CSS RESET & NORMALIZE RULES
============================= */
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.5;
  background: #181c20;
  color: #F6F7F2;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  background: none;
  transition: color 0.18s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
button, input, select, textarea {
  font: inherit;
}

/* ===================================
   VARIABLES (with fallback for legacy)
====================================== */
:root {
  --color-primary: #21548E;
  --color-secondary: #238F94;
  --color-accent: #F6F7F2;
  --color-bg-dark: #181c20;
  --color-bg-card: #21252b;
  --color-bg-section: #22262d;
  --color-metal: #585e6b;
  --color-border: #363b42;
  --color-text: #F6F7F2;
  --color-link: #238F94;
  --color-link-hover: #F6F7F2;
  --color-btn-hover: #238F94;
  --color-btn-active: #133859;
  --color-cta-glow: #49C8D4;
  --color-testimonial-bg: #f7f7f4;
  --color-testimonial-fg: #181c20;

  --font-display: 'Montserrat', 'Arial Black', 'Impact', Arial, sans-serif;
  --font-body: 'Roboto', 'Segoe UI', Arial, sans-serif;
  --shadow-main: 0 2px 12px 0 rgba(41,47,56,0.22);
  --shadow-inner: 0 1px 4px 0 rgba(21,26,30,0.14);
  --shadow-metal: 0 1px 3px 0 rgba(36,41,47,0.18);
  --radius-card: 13px;
  --radius-btn: 4px;
}

body {
  font-family: var(--font-body, Roboto, Arial, sans-serif);
  background: var(--color-bg-dark, #181c20);
  color: var(--color-text, #F6F7F2);
  min-height: 100vh;
  overscroll-behavior: none;
}

/* ================
   TYPOGRAPHY STYLE
=================== */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: 0.25px;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.15;
  text-transform: uppercase;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-secondary);
  line-height: 1.18;
  text-transform: uppercase;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 1px;
  margin-bottom: 10px;
  line-height: 1.18;
  text-transform: none;
}
p, ul, li, .subheadline {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--color-text);
}
.subheadline {
  font-size: 1.18rem;
  margin-bottom: 24px;
  color: var(--color-accent);
}
strong {
  font-weight: 600;
  color: var(--color-secondary);
}
.text-section p {
  margin-bottom: 14px;
}
.text-section li {
  margin-bottom: 8px;
}

/* Accessibility: links */
a {
  color: var(--color-link);
  transition: color 0.15s, border-bottom 0.15s;
  border-bottom: 1px solid rgba(35,143,148, 0.23);
}
a:hover,
a:focus {
  color: var(--color-link-hover);
  border-bottom: 1px solid var(--color-primary);
  outline: none;
}


/* ===========
   CONTAINER
============ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}

.content-wrapper {
  background: var(--color-bg-section);
  border-radius: var(--radius-card);
  padding: 40px 28px;
  margin-bottom: 60px;
  box-shadow: var(--shadow-main);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.content-wrapper.cta-section {
  background: linear-gradient(90deg, #22262d 40%, #21548E 100%);
  box-shadow: 0 4px 28px 0 rgba(33,84,142,0.11);
}
@media (max-width: 768px) {
  .content-wrapper {
    padding: 26px 10px;
    margin-bottom: 38px;
  }
}

/* ===============
   SECTION SPACING
================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section {
    padding: 26px 5px;
    margin-bottom: 36px;
  }
}


/* ============
   HEADER STYLE
============= */
header {
  background: #181c20;
  border-bottom: 2px solid var(--color-border);
  box-shadow: var(--shadow-inner), 0 3px 13px 0 rgba(33,84,142,0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 14px;
}
.logo img {
  height: 42px;
  width: auto;
  display: block;
  filter: brightness(1.13) drop-shadow(0 0 2px #0006);
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: var(--font-display);
  color: var(--color-metal);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  padding: 8px 0;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  transition: color 0.17s, border-bottom 0.14s;
  text-transform: uppercase;
}
nav a:hover,
nav a:focus {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-primary);
}
.cta.primary {
  margin-left: 12px;
  background: var(--color-primary);
  color: var(--color-accent);
  border: none;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 1.2px;
  padding: 10px 26px;
  box-shadow: 0 2px 24px 0 rgba(33,84,142,0.08), 0 1px 2.5px rgba(36,41,47,0.13);
  cursor: pointer;
  font-size: 1.12rem;
  text-transform: uppercase;
  transition: background 0.16s, color 0.15s, box-shadow 0.22s;
  position: relative;
  outline: none;
  z-index: 1;
  overflow: hidden;
}
.cta.primary:hover,
.cta.primary:focus {
  background: var(--color-btn-hover);
  color: #fff;
  box-shadow: 0 4px 32px 0 var(--color-secondary), 0 4px 10px 0 rgba(33,84,142,0.13);
}
.cta.primary:active {
  background: var(--color-btn-active);
  color: var(--color-accent);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-metal);
  cursor: pointer;
  margin-left: 10px;
  transition: color 0.13s;
  z-index: 30;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-primary);
}
@media (max-width: 1024px) {
  nav {
    gap: 13px;
  }
}
@media (max-width: 870px) {
  nav {
    gap: 9px;
  }
}
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =====================
   MOBILE MENU OVERLAY
======================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,28,32, 0.97);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.68, 0.11, 0.32, 1.01);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.5rem;
  background: none;
  color: var(--color-accent);
  border: none;
  cursor: pointer;
  margin: 16px 24px 0 0;
  align-self: flex-end;
  line-height: 1;
  transition: color 0.15s;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 32px;
  align-items: center;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 700;
  color: var(--color-accent);
  padding: 16px 0 12px 0;
  width: 80%;
  text-align: center;
  background: none;
  border-bottom: 1.5px solid rgba(35,143,148, 0.13);
  border-radius: 6px;
  transition: background 0.16s, color 0.13s;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-primary);
  color: #fff;
  border-bottom: 1.5px solid var(--color-secondary);
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu.active {
    display: none;
  }
}

/* =========================
   FLEX CONTENT SECTIONS
=========================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 20px;
  width: 100%;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  padding: 26px 18px 18px 18px;
  min-width: 225px;
  flex: 1 1 200px;
  box-shadow: var(--shadow-metal);
  gap: 15px;
  margin-bottom: 20px;
  border: 1.4px solid var(--color-border);
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  filter: grayscale(0.10) brightness(1.05) drop-shadow(0 2px 6px #181c2033);
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 24px;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul {
  margin-left: 16px;
  padding-left: 14px;
  border-left: 2px solid var(--color-secondary);
  margin-bottom: 18px;
}
.text-section li {
  margin: 0 0 9px 0;
  padding-left: 0;
  font-size: 1.03rem;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-main);
  margin-bottom: 20px;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  position: relative;
  border: 1.1px solid var(--color-border);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

@media (max-width: 980px) {
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
}


/* ==================
   TESTIMONIAL CARDS
=================== */
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 26px;
  min-width: 210px;
  flex: 1 1 280px;
  background: var(--color-testimonial-bg, #f7f7f4);
  color: var(--color-testimonial-fg, #181c20);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 8px rgba(42,46,53,0.11), 0 1.5px 0 #ececec;
  margin-bottom: 20px;
  border-left: 4px solid var(--color-secondary);
  border-top: 1.6px solid #d0d6da;
  position: relative;
}
.testimonial-card .quote {
  font-size: 1.12rem;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 8px;
  color: var(--color-testimonial-fg);
  text-shadow: 0 .5px #fff;
}
.testimonial-card .customer {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-weight: bold;
  font-size: 1.03rem;
  letter-spacing: 0.5px;
}
@media (max-width: 850px) {
  .testimonial-grid {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    padding: 18px 11px;
  }
}


/* =====================
   PRIMARY BUTTON STYLE
====================== */
button, .cta {
  font-family: var(--font-display);
  border-radius: var(--radius-btn);
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.15s, color 0.13s, box-shadow 0.24s;
  position: relative;
}
button:focus {
  outline: 2px solid var(--color-primary);
}

.cta {
  margin-top: 12px;
  background: var(--color-primary);
  color: var(--color-accent);
  font-weight: 700;
  padding: 12px 30px;
  font-size: 1.09rem;
  letter-spacing: 1.2px;
  box-shadow: 0 2px 18px 0 rgba(33,84,142,0.09);
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-btn);
  transition: background 0.18s, color 0.13s, box-shadow 0.22s;
  min-width: 170px;
}
.cta:hover, .cta:focus {
  background: var(--color-btn-hover);
  color: #fff;
}
.cta:active {
  background: var(--color-btn-active);
}


/* ==================
   FOOTER STYLES
=================== */
footer {
  background: #191d21;
  color: var(--color-accent);
  font-family: var(--font-body);
  border-top: 2px solid var(--color-border);
  padding: 36px 0 26px 0;
  width: 100%;
  box-shadow: 0 -2px 13px 0 rgba(24,28,32,0.10);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  font-size: 1rem;
}
footer nav a {
  color: var(--color-accent);
  border: none;
  text-transform: uppercase;
  font-family: var(--font-display);
  opacity: 0.91;
  transition: color 0.14s;
}
footer nav a:hover {
  color: var(--color-primary);
}
.contact-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  opacity: 0.92;
  font-size: 1rem;
  margin-bottom: 8px;
}
.contact-footer img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  vertical-align: middle;
  filter: grayscale(0.20) brightness(1.17);
}
footer p {
  font-size: 0.93rem;
  margin-top: 9px;
  color: #b6b7b5;
}
@media (max-width: 700px) {
  .contact-footer {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
    justify-content: flex-start;
  }
  footer .container {
    align-items: flex-start;
    gap: 17px;
  }
}

/* =============
   MISC SPACING
============== */
.card-container, .content-grid, .feature-grid, .testimonial-grid, .contact-footer {
  gap: 20px;
}
.card, .feature-item, .testimonial-card {
  margin-bottom: 20px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* =============
   ANIMATIONS
============== */
@keyframes cta-glow {
  0%   { box-shadow: 0 0 24px 0 var(--color-cta-glow, #49C8D4); }
  60%  { box-shadow: 0 0 0 0 var(--color-cta-glow, #49C8D4); }
  100% { box-shadow: 0 0 24px 2px var(--color-cta-glow, #49C8D4); }
}
.cta.primary:hover {
  animation: cta-glow 1.5s infinite linear;
}
@media (max-width: 690px) {
  .cta, .cta.primary {
    font-size: 1rem;
    min-width: 120px;
    padding: 10px 16px;
  }
}

/* ============
   COOKIE CONSENT BANNER
============== */
#cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #2A3038;
  color: #f5f6f4;
  z-index: 2050;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 18px 16px;
  gap: 22px;
  box-shadow: 0 0 18px 0 rgba(24,28,32,0.14);
  font-family: var(--font-body);
  font-size: 1.04rem;
  opacity: 1;
  transition: transform 0.26s, opacity 0.18s;
}
#cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
#cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 12px;
}
#cookie-consent-banner button {
  padding: 10px 18px;
  margin: 2px 0 0 0;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.13s, box-shadow 0.21s;
  box-shadow: 0 2px 9px rgba(33,84,142,0.07);
}
#cookie-consent-banner button.cookie-settings {
  background: var(--color-metal);
  color: var(--color-accent);
}
#cookie-consent-banner button:hover,
#cookie-consent-banner button:focus {
  background: var(--color-btn-hover);
}

@media (max-width: 600px) {
  #cookie-consent-banner {
    flex-direction: column;
    padding: 14px 5px 16px 5px;
    gap: 10px;
    font-size: .98rem;
    align-items: flex-start;
  }
  #cookie-consent-banner .cookie-buttons {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ==============
   COOKIE MODAL
================ */
#cookie-modal {
  position: fixed;
  z-index: 4050;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,28,32,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  overflow: auto;
  transition: opacity 0.25s;
}
#cookie-modal.active {
  display: flex;
}
#cookie-modal .modal-content {
  background: #23282e;
  color: var(--color-accent);
  border-radius: var(--radius-card);
  box-shadow: 0 0 44px 1px rgba(24,28,32,0.24);
  padding: 32px 30px;
  min-width: 310px;
  max-width: 96vw;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 19px;
}
#cookie-modal h3 {
  color: var(--color-primary);
  font-size: 1.38rem;
  font-family: var(--font-display);
  margin-bottom: 8px;
  font-weight: bold;
  letter-spacing: 0.5px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 11px;
}
.cookie-category label {
  font-size: 1.09rem;
  color: var(--color-accent);
}
.cookie-category input[type=checkbox]:disabled + label {
  color: var(--color-secondary);
  opacity: 0.78;
}
#cookie-modal .close-modal {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 2rem;
  font-family: var(--font-display);
  cursor: pointer;
  margin-left: auto;
  margin-bottom: 14px;
  transition: color 0.15s;
}
#cookie-modal .close-modal:hover,
#cookie-modal .close-modal:focus {
  color: var(--color-secondary);
}
#cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  align-items: center;
  justify-content: flex-end;
}
#cookie-modal button {
  padding: 9px 17px;
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
  background: var(--color-primary);
  color: #fff;
}
#cookie-modal button.cookie-save {
  background: var(--color-secondary);
  color: #fff;
}
#cookie-modal button:hover,
#cookie-modal button:focus {
  background: var(--color-btn-hover);
  color: #F6F7F2;
}
@media (max-width: 500px) {
  #cookie-modal .modal-content {
    padding: 18px 7px;
    min-width: 0;
  }
}

/* ==============
   UTIL CLASSES
================ */
.hide {
  display: none !important;
}
.show {
  display: block !important;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}

/* === HEADINGS RESPONSIVE SIZING === */
@media (max-width: 480px) {
  h1, .h1 {
    font-size: 1.64rem;
  }
  h2, .h2 {
    font-size: 1.18rem;
  }
  h3, .h3 {
    font-size: 1.03rem;
  }
}

/* =============
   SCROLLBAR
============== */
::-webkit-scrollbar {
  width: 9px;
  background: #191d21;
}
::-webkit-scrollbar-thumb {
  background: #2A3038;
  border-radius: 6px;
}

/* ==============
   BRING IT TO LIFE: INDUSTRIAL MODERN EFFECTS
================ */
.feature-item, .card, .testimonial-card, .content-wrapper {
  box-shadow: 0 1.5px 7px 1px rgba(52,58,67,0.08), 0 4px 38px -4px #2731391c;
  border-bottom: 2px solid #3b3f49;
  border-right: 2px solid #393c43;
}

.feature-item:hover, .card:hover, .testimonial-card:hover, .content-wrapper.cta-section:hover {
  box-shadow: 0 4px 24px 0 #21548E52, 0 1.5px 7px #2A303820;
  transform: translateY(-3px) scale(1.01);
  transition: box-shadow 0.22s, transform 0.18s;
}

/* METALLIC ACCENTS */
.card:before, .feature-item:before {
  content: "";
  position: absolute;
  top: 12px; left: 12px;
  width: 22px; height: 22px;
  background: radial-gradient(ellipse at 30% 40%,#49C8D4 0%, #21548E 100%);
  opacity: 0.16;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.feature-item:before {
  top: 7px; left: 11px;
  width: 18px; height: 18px;
  background: linear-gradient(120deg, #585e6b30 5%, #49C8D4 80%, transparent 100%);
}

/* SHADOWED BUTTONS FOR INDUSTRIAL LOOK */
.cta.primary,
button, .cta {
  box-shadow: 0 3px 20px 2px #238f9422, 0 1.5px 3px 1px #1f2329aa;
}

/* Focus rings for a11y */
*:focus-visible {
  outline: 2px solid #238F94;
  outline-offset: 1px;
}

/* =============
   RESPONSIVE FIXES
============== */
@media (max-width: 900px) {
  .feature-grid, .testimonial-grid, .card-container, .contact-footer {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  section {
    margin-bottom: 22px;
  }
}

/* ================
   PRINT STYLES
================== */
@media print {
  header, .mobile-menu, footer, #cookie-consent-banner, #cookie-modal {
    display: none !important;
  }
  body {
    color: #111 !important;
    background: #fff !important;
  }
}
