/* CSS RESET & BASE ------------------------------------------- */
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 {
  min-height: 100vh;
  background: #191F24;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #F5FAFF;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
button,
a {
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border 0.2s, box-shadow 0.3s;
  outline: none;
  border: none;
  background: none;
  text-decoration: none;
  color: inherit;
}
ul, ol {
  margin-left: 20px;
  margin-bottom: 16px;
}
strong {
  font-weight: bold;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
}

/* TYPOGRAPHY & HEADER HIERARCHY ------------------------- */
h1,
h2,
h3,
h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #F5FAFF;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.5rem; /* 40px on desktop */
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 18px;
}
h3 {
  font-size: 1.5rem; /* 24px */
  margin-bottom: 14px;
}
h4 {
  font-size: 1.12rem; /* 18px */
  margin-bottom: 10px;
}
p, ul, ol, li, em {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #C0C8CF;
  font-size: 1rem;
  margin-bottom: 16px;
}
.text-section {
  margin-bottom: 24px;
}
a {
  color: #119D7E;
  text-underline-offset: 2px;
  position: relative;
}
a:hover,
a:focus {
  color: #F5FAFF;
  text-shadow: 0 0 3px #119D7E, 0 1px 2px #191F24;
}

/* BRAND COLORS ----------------------------------------- */
:root {
  --primary: #2E5D85;
  --secondary: #119D7E;
  --accent: #F5FAFF;
  --dark-bg: #191F24;
  --card-bg: #23292f;
  --metal-dark: #34404e;
  --metal-mid: #5A6B7A;
  --shadow-dark: rgba(30,40,54,0.18);
  --shadow-metal: rgba(52,64,78,0.25);
  --border-metal: #49535e;
}

/* HEADER & NAVBAR -------------------------------------- */
header {
  background: var(--metal-dark);
  box-shadow: 0 4px 18px var(--shadow-dark);
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 0 16px;
  min-height: 70px;
}
header img {
  max-height: 52px;
  margin-right: 24px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
nav a:not(.btn-primary) {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #F5FAFF;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
}
nav a:not(.btn-primary):hover, nav a:not(.btn-primary):focus {
  border-bottom: 2px solid var(--secondary);
  color: var(--secondary);
}

/* PRIMARY BUTTON STYLES -------------------------------- */
.btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary) 90%, var(--secondary) 100%);
  color: #F5FAFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 6px;
  box-shadow: 0 2px 12px var(--shadow-dark);
  letter-spacing: 0.03em;
  border: none;
  margin-left: 12px;
  transition: background 0.23s, color 0.23s, box-shadow 0.23s, transform 0.23s;
  position: relative;
  z-index: 1;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg, var(--secondary) 60%, var(--primary) 100%);
  color: #23292f;
  box-shadow: 0 4px 30px var(--shadow-metal);
  transform: translateY(-2px) scale(1.035);
}

/* MOBILE MENU STYLES ----------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  border: none;
  transition: background 0.18s, box-shadow 0.18s;
  z-index: 51;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--primary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(25, 31, 36, 0.98);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.77,0,0.175,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 32px;
  padding-left: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 28px;
  top: 18px;
  background: none;
  color: #fff;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  z-index: 1021;
  padding: 7px 12px;
  transition: background 0.16s;
  border-radius: 6px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 56px 0 0 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #F5FAFF;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  border-radius: 5px;
  padding: 12px 10px;
  transition: background 0.16s, color 0.18s;
  min-width: 180px;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: #23292f;
}

@media (max-width: 1024px) {
  nav {
    gap: 14px;
  }
  header img {
    max-height: 46px;
    margin-right: 10px;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 8px;
  }
  nav a.btn-primary {
    margin-left: 0;
    padding: 12px 22px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 4px;
    padding: 0 7px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  section {
    padding: 32px 8px;
  }
}

/* FLEX LAYOUTS & CARDS ----------------------------------- */
.section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.card-container, .pricing-table, .feature-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.card, .pricing-table > div, .feature-grid > div {
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 8px 28px var(--shadow-metal);
  border: 1.5px solid var(--border-metal);
  margin-bottom: 20px;
  padding: 28px 22px;
  flex: 1 1 285px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card:last-child, .feature-grid > div:last-child, .pricing-table > div:last-child {
  margin-bottom: 0;
}
.card h3, .feature-grid h3, .pricing-table h2 {
  margin-top: 8px;
}
.feature-grid > div img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 24px 16px 24px;
  background: #F5FAFF;
  border-radius: 10px;
  box-shadow: 0 6px 26px 0 rgba(20,32,35,0.13);
  color: #23292f;
  min-width: 260px;
  max-width: 355px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  border-left: 5px solid var(--secondary);
  transition: transform 0.2s, box-shadow 0.22s;
}
.testimonial-card:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 36px 0 rgba(18,60,54,0.11), 0 2px 13px rgba(16,54,71,0.09);
}
.testimonial-card p {
  color: #23292f;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.06rem;
  line-height: 1.6;
  margin-bottom: 8px;
}
.testimonial-card strong {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

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

/* Pricing Table Sizing */
.pricing-table {
  width: 100%;
}
.pricing-table > div {
  min-width: 260px;
  max-width: 355px;
}
.pricing-table strong {
  margin-top: 14px;
  font-size: 1.16rem;
  color: var(--secondary);
  letter-spacing: 0.02em;
  font-family: 'Montserrat', Arial, sans-serif;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
.faq-list strong {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.faq-list em {
  color: var(--accent);
}

/* Footer ----------------------------------------------- */
footer {
  background: var(--metal-dark);
  color: #AEB5BE;
  font-size: 0.98rem;
  padding: 0 0 16px 0;
  border-top: 1.5px solid #434b55;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #353c43;
  padding: 18px 0 8px 0;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #AEB5BE;
  font-size: 1rem;
  border-bottom: 2px solid transparent;
  letter-spacing: 0.01em;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F5FAFF;
  border-bottom: 2px solid var(--primary);
}
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.footer-info p {
  color: #AEB5BE;
  margin-bottom: 0;
  text-align: center;
  font-size: 0.97rem;
}

/* Cookie Consent Banner ------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  width: 100%;
  background: #23292f;
  border-top: 2px solid var(--metal-mid);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 16px 14px;
  gap: 30px;
  box-shadow: 0 -4px 16px 0 var(--shadow-dark);
  font-size: 1rem;
}
.cookie-banner p {
  color: #F5FAFF;
  margin: 0 16px 0 0;
  font-size: 1.08rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 5px;
  margin: 0 1px;
  border: none;
  transition: background 0.13s, color 0.13s;
}
.cookie-banner .accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .reject {
  background: var(--metal-mid);
  color: #fff;
}
.cookie-banner .settings {
  background: transparent;
  color: #F5FAFF;
  border: 1.5px solid var(--secondary);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  opacity: 0.94;
  box-shadow: 0 0 0 2px var(--primary);
}

/* Cookie Modal ------------------------------------ */
.cookie-modal-overlay {
  position: fixed;
  z-index: 11000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(30,36,44,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #24272c;
  border-radius: 14px;
  box-shadow: 0 10px 44px 0 rgba(34,44,54,0.26);
  max-width: 410px;
  width: 94vw;
  padding: 34px 26px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #F5FAFF;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.cookie-modal label {
  font-size: 1.01rem;
  color: #F5FAFF;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-modal input[type='checkbox'] {
  accent-color: var(--secondary);
  width: 20px;
  height: 20px;
  margin-right: 0;
}
.cookie-modal .cookie-essential[disabled] {
  accent-color: #bbb;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 22px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 9px 22px;
  border-radius: 5px;
}
.cookie-modal .close {
  margin-left: auto;
  margin-top: -8px;
  background: var(--metal-dark);
  color: #F5FAFF;
  border: none;
  padding: 5px 14px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  align-self: flex-end;
  transition: background 0.18s;
}
.cookie-modal .close:hover {
  background: var(--secondary);
  color: #23292f;
}
.cookie-modal .save {
  background: var(--primary);
  color: #fff;
}
.cookie-modal .save:hover {
  background: var(--secondary);
}

/* Utilities & Effects ---------------------------------- */
.shadow-metal {
  box-shadow: 0 8px 28px var(--shadow-metal);
}
.rounded-lg {
  border-radius: 12px;
}
.mt-24 { margin-top: 24px; }
.mb-32 { margin-bottom: 32px; }

/* Responsive Flex Direction & Spacing ------------------ */
@media (max-width: 1024px) {
  .feature-grid, .card-container, .pricing-table {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .card-container, .pricing-table {
    flex-direction: column;
    gap: 18px;
  }
  .card, .feature-grid > div, .pricing-table > div {
    min-width: 170px;
    max-width: 100%;
    padding: 22px 14px;
  }
}
@media (max-width: 768px) {
  .feature-grid, .card-container, .pricing-table, .content-grid, .testimonial-slider {
    flex-direction: column !important;
    gap: 18px !important;
  }
  .testimonial-slider {
    justify-content: flex-start !important;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
  }
  .footer-nav {
    gap: 12px;
    padding: 16px 0 6px 0;
  }
  .footer-info p {
    font-size: 0.97rem;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 8px;
    padding: 14px 6px;
    font-size: .96rem;
    align-items: flex-start;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .cookie-modal {
    padding: 20px 10px 14px 10px;
    min-width: 0;
    width: 94vw;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.20rem; }
  h3 { font-size: 1.06rem; }
  .card, .feature-grid > div, .pricing-table > div {
    padding: 14px 6px;
  }
  .container, .content-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Micro-interactions & Hover Effects ------------------- */
.card, .feature-grid > div, .pricing-table > div, .faq-list > div {
  transition: box-shadow 0.21s, transform 0.18s, background 0.16s;
}
.card:hover,
.feature-grid > div:hover,
.pricing-table > div:hover {
  box-shadow: 0 8px 42px 0 rgba(30,54,80,0.15), 0 2px 15px rgba(16,40,70,0.13);
  transform: translateY(-4px) scale(1.034);
  background: #22272C;
}

.btn-primary:active {
  box-shadow: 0 1px 2px rgba(20,28,45,.07);
  background: linear-gradient(90deg, var(--secondary) 60%, var(--primary) 100%);
  color: #23292f;
}

/* Inputs & Forms -------------------------------------- */
input,
select,
textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #23292f;
  color: #fff;
  border: 1.5px solid var(--primary);
  border-radius: 6px;
  padding: 11px 16px;
  margin-bottom: 18px;
  font-size: 1rem;
  outline: none;
  transition: border 0.17s, background 0.13s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--secondary);
  background: #1b2127;
}
::placeholder {
  color: #96a0ad;
  opacity: 1;
  font-size: 1rem;
}

/* Decorative Accents ----------------------------------- */
hr {
  border: none;
  border-top: 1.5px solid #31363d;
  margin: 28px 0;
}

/* Special Inline Icon Styling in Contact */
.text-section li img {
  width: 22px;
  margin-right: 12px;
  vertical-align: middle;
  margin-bottom: 0px;
}
.text-section li {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
}

/* Accessibility: Focus Rings & Button States ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--secondary);
}
.mobile-nav a:focus, .cookie-banner button:focus, .cookie-modal button:focus {
  outline: 2px solid var(--primary);
  background: var(--secondary);
  color: #23292f;
}

/* Industrial Modern Details ---------------------------- */
.card, .feature-grid > div, .pricing-table > div {
  background: linear-gradient(135deg, rgba(51,59,69,0.92) 85%, rgba(71, 106, 128, 0.07) 100%);
  border-radius: 9px;
  border: 1.5px solid var(--border-metal);
}
.card:before, .feature-grid > div:before, .pricing-table > div:before {
  content: '';
  display: block;
  position: absolute;
  left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--secondary) 30%, var(--primary) 100%);
  border-radius: 10px 10px 0 0;
  opacity: 0.23;
  z-index: 0;
}

.card *, .feature-grid > div *, .pricing-table > div * {
  position: relative;
  z-index: 1;
}

/* Misc ----------------------------------------------- */
ul {
  margin-bottom: 18px;
}
li {
  margin-bottom: 10px;
}

/* Hide elements visually but keep them accessible */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* END */