/* ==== CSS RESET & NORMALIZE ==== */
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, menu, 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, 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 { height: 100%; }
body { height: 100%; min-height: 100%; }
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.45;
  background: #23292c;
  color: #EEF3F6;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #36C9A6;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F3FAF8;
  outline: 0;
}
ul, ol {
  margin-left: 1.2em;
}
li {
  margin-bottom: 10px;
}
table {
  border-collapse: collapse;
  width: 100%;
  background: #23292c;
  margin-bottom: 24px;
}
th, td {
  border: 1px solid #4e5a5e;
  padding: 16px;
  text-align: left;
}
th {
  background: #30363b;
  color: #F3FAF8;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}

/* ==== TYPOGRAPHY ==== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #F3FAF8;
  font-weight: 700;
  letter-spacing: 0.05em;
}
h1 { font-size: 2.25rem; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: 1.5rem; margin-bottom: 18px; }
h3 { font-size: 1.125rem; margin-bottom: 12px; letter-spacing: 0.04em; }
h4 { font-size: 1rem; margin-bottom: 8px; letter-spacing: 0.03em; }
h5, h6 { font-size: 0.95rem; }
strong { color: #36C9A6; font-weight: 700; }
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #EEF3F6;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ==== INDUSTRIAL MODERN: BRAND COLORS + URBAN ACCENTS ==== */
:root {
  --primary: #17516D;
  --secondary: #36C9A6;
  --accent: #F3FAF8;
  --darkbg: #23292c;
  --cardbg: #23292c;
  --deepgray: #181b1e;
  --metal: #4e5a5e;
  --metal-light: #a4adb8;
  --border: #30363B;
  --white: #F3FAF8;
  --shadow: 0 2px 16px 0 rgba(20,26,36,0.11);
  --focus: #36C9A6;
}

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

/* ==== HEADER & NAV ==== */
header {
  background: var(--darkbg);
  box-shadow: 0 2px 8px -2px rgba(10,20,30,0.13);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  border-bottom: 2px solid var(--primary);
  position: relative;
  z-index: 20;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
header nav a {
  color: var(--metal-light);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  transition: color 0.2s;
  padding: 4px 2px;
  position: relative;
}
header nav a:hover, 
header nav a:focus {
  color: var(--secondary);
}
header img {
  height: 48px;
  width: auto;
}
.cta-btn {
  margin-left: 28px;
  background: var(--primary);
  color: var(--white);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 24px;
  padding: 12px 30px;
  box-shadow: 0 1.5px 6px rgba(20,28,38,0.17);
  font-size: 1.07rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.18s, color 0.15s, box-shadow 0.15s;
  outline: none;
  border-bottom: 2.5px solid var(--secondary);
  text-transform: uppercase;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--secondary);
  color: var(--deepgray);
  box-shadow: 0 4px 16px rgba(34,61,68,0.27);
}

/* ==== MOBILE NAV ==== */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--white);
  padding: 12px 14px;
  border: none;
  border-radius: 5px;
  font-size: 2rem;
  box-shadow: var(--shadow);
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 70;
  transition: background 0.2s;
  cursor: pointer;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #212326ee;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.73,0.17,0.19,0.86);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0%);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: var(--white);
  font-size: 2rem;
  border: none;
  padding: 24px 20px 0 0;
  cursor: pointer;
  transition: color 0.18s;
  align-self: flex-end;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  gap: 20px;
  margin-top: 24px;
  padding: 28px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--accent);
  letter-spacing: 0.02em;
  padding: 14px 0;
  transition: color 0.18s, background 0.17s;
  border-radius: 5px;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--deepgray);
  background: var(--secondary);
}

@media (max-width:1100px) {
  header { padding: 15px 13px; }
}
@media (max-width:900px) {
  header nav { gap: 16px; }
  .cta-btn { margin-left: 15px; padding: 12px 20px; }
}
@media (max-width:780px) {
  header nav,
  .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header img {
    height: 38px;
  }
}

/* ==== MAIN LAYOUT & SECTIONS ==== */
main {
  background: var(--darkbg);
  padding-top: 20px;
}
section {
  width: 100%;
  background: var(--cardbg);
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
  border: 1.5px solid var(--border);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #23292c;
  border: 1.5px solid var(--metal);
  border-radius: 10px;
  box-shadow: 0 1.5px 10px -2px rgba(35,40,46,0.17);
  padding: 28px 24px;
  position: relative;
  min-width: 258px;
  color: var(--white);
  transition: box-shadow 0.18s, border 0.18s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 22px 0 rgba(34,61,68,0.16);
  border-color: var(--secondary);
  transform: translateY(-2px) scale(1.017);
}

.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;
  background: var(--accent);
  color: #23292c;
  border-left: 5px solid var(--secondary);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(23,81,109,0.09);
  font-size: 1.07rem;
  line-height: 1.5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.testimonial-card strong {
  color: var(--primary);
}

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

/* ==== TABLES, DL/DT ==== */
.table, table {
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
}
thead tr {
  background: #23292c;
}
tbody tr:nth-child(odd) { background: #252b30; }
tbody tr:nth-child(even) { background: #1d2327; }
dt {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  color: var(--secondary);
  margin-top: 14px;
  font-weight: 600;
}
dd {
  margin-left: 0;
  margin-bottom: 8px;
  font-size: 1rem;
}

/* ==== ICONS IN LISTS ==== */
ul img {
  width: 26px;
  height: 26px;
  margin-right: 10px;
  vertical-align: middle;
  margin-bottom: -3px;
  filter: grayscale(70%) contrast(1.2);
}
ul li {
  display: flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 10px;
}

/* ==== FOOTER ==== */
footer {
  background: var(--deepgray);
  color: var(--metal-light);
  padding: 40px 0 24px 0;
  margin-top: 64px;
  border-top: 2.5px solid var(--primary);
}
footer nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
footer nav a {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 2px 0;
  letter-spacing: 0.02em;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent);
}
footer p {
  color: var(--metal-light);
  font-size: 0.99rem;
  text-align: center;
}

/* ==== BUTTONS & INTERACTIONS ==== */
button, .cta-btn, input[type=submit], input[type=button] {
  outline: none;
  transition: background 0.17s, color 0.17s, box-shadow 0.14s, border 0.13s;
}
button:focus, .cta-btn:focus {
  box-shadow: 0 0 0 2.5px var(--focus);
}

/* ==== SPACING ==== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; padding: 20px }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 900px) {
  .container { max-width: 96vw; }
  section { padding: 34px 8px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1rem; }
  section, .section { padding: 28px 6px; margin-bottom: 42px; }
  .content-wrapper, .content-grid, .card-container { gap: 14px; }
  .testimonial-card { padding: 16px 10px; gap: 10px; }
  .text-image-section { flex-direction: column; gap: 18px; }
}
@media (max-width: 600px) {
  .container { padding: 0 6px; }
  .card { padding: 17px 7px; }
  footer { padding: 28px 0 10px 0; }
  .mobile-menu { padding-top: 25px; }
}

/* ==== MICRO-INTERACTIONS / ANIMATIONS ==== */
.cta-btn,
button,
a {
  transition: background 0.19s, color 0.16s, box-shadow 0.13s, border 0.13s, transform 0.14s;
}
.cta-btn:active {
  transform: scale(0.97);
}
.card:active, .testimonial-card:active {
  transform: scale(0.98);
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #181b1e;
  box-shadow: 0 -6px 24px 0 rgba(10,17,18,0.29);
  z-index: 100;
  padding: 20px 26px 18px 26px;
  border-top: 2px solid var(--primary);
  color: var(--white);
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  gap: 22px;
  flex-wrap: wrap;
  min-height: 60px;
  animation: cookie-banner-in 0.48s cubic-bezier(0.69,0.17,0.14,1.0);
}
@keyframes cookie-banner-in {
  from { transform: translateY(100%); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner button {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 22px;
  padding: 10px 23px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin: 0 2px;
  transition: background 0.16s, color 0.16s;
  outline: none;
}
.cookie-banner button.cookie-settings-btn {
  background: #23292c;
  color: var(--metal-light);
  border: 1.5px solid var(--metal);
}
.cookie-banner button.cookie-settings-btn:hover, .cookie-banner button.cookie-settings-btn:focus {
  background: var(--secondary);
  color: var(--darkbg);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--secondary);
  color: var(--deepgray);
}

@media (max-width:700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 8px;
    gap: 11px;
  }
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2001;
  background: rgba(17,19,21,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  animation: cookie-modal-in 0.25s cubic-bezier(.62,0,.36,.99);
}
@keyframes cookie-modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #23292c;
  border: 2px solid var(--primary);
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 #181b1eca;
  padding: 34px 28px 26px 28px;
  max-width: 400px;
  width: 90vw;
  color: var(--white);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 2020;
}
.cookie-modal h2 {
  color: var(--secondary);
  font-size: 1.42rem;
  margin-bottom: 12px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.cookie-modal-category label {
  color: var(--accent);
  font-size: 1.04rem;
  font-weight: 600;
}
.cookie-modal-category input[type="checkbox"] {
  appearance: none;
  border: 2px solid var(--secondary);
  background: #181b1e;
  width: 19px; height: 19px;
  border-radius: 50%;
  cursor: pointer;
  margin-right: 5px;
  transition: background 0.14s, border 0.15s;
}
.cookie-modal-category input[type="checkbox"]:checked {
  background: var(--secondary);
  border: 2.5px solid var(--primary);
}
.cookie-modal button.cookie-modal-close {
  position: absolute;
  top: 19px; right: 19px;
  font-size: 1.5rem;
  background: none;
  color: var(--metal-light);
  border: none;
  cursor: pointer;
}
.cookie-modal button.cookie-modal-close:hover,
.cookie-modal button.cookie-modal-close:focus {
  color: var(--secondary);
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 4px;
}
.cookie-modal-actions button {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 14px;
  padding: 9px 20px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: var(--secondary);
  color: var(--deepgray);
}

@media (max-width:450px) {
  .cookie-modal {
    padding: 18px 5px 10px 5px;
  }
  .cookie-modal h2 { font-size: 1.08rem; }
}

/* ==== FORMS ==== */
input, textarea, select {
  box-sizing: border-box;
  padding: 12px 9px;
  border: 1.5px solid var(--metal-light);
  border-radius: 5px;
  background: #23292c;
  color: var(--accent);
  font-size: 1rem;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  outline: none;
  background: #25313c;
}
label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 6px;
}

/* ==== UTILITY ==== */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #1e2124;
}
::-webkit-scrollbar-thumb {
  background: #4e5a5e;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

[tabindex]:focus,
a:focus-visible, button:focus-visible {
  box-shadow: 0 0 0 2.5px var(--focus);
}

/* ==== PRINT ==== */
@media print {
  header, nav, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  section, .section, .container {
    box-shadow: none !important;
    background: white !important;
    color: #121212 !important;
    border: none !important;
    padding: 0 !important;
  }
}
