/* ===== 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, 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;
}
html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #1b2329;
  color: #f9f7f1;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #70ccdb;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #25b398;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
strong, b {
  font-weight: 700;
}
hr {
  border: none;
  height: 1px;
  background: #252e34;
  margin: 32px 0;
}

/* ====== COLOR VARS FOR FALLBACKS ====== */
:root {
  --primary: #11436d;
  --primary-dark: #0a2d48;
  --secondary: #238057;
  --accent: #f9f7f1;
  --background: #1b2329;
  --elevation1: #232c33;
  --elevation2: #21262a;
  --metallic: #b0b4b8;
  --shadow: 0 2px 14px 0 rgba(20,27,37,0.13);
}

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--accent);
  letter-spacing: 0.02em;
  line-height: 1.13;
}
h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 24px;
}
h3 {
  font-size: 1.33rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
}
p, li, blockquote {
  font-size: 1rem;
  line-height: 1.6;
}
blockquote {
  font-style: italic;
  position: relative;
  color: #21262a;
  background: #f9f7f1;
  padding: 20px 32px 20px 48px;
  border-left: 6px solid var(--primary);
  margin-bottom: 10px;
  border-radius: 6px;
}
blockquote cite {
  font-style: normal;
  color: var(--secondary);
  font-weight: 500;
  margin-left: 8px;
}

/* ====== CONTAINER & SECTION LAYOUTS ====== */
.container {
  width: 100%;
  max-width: 1172px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  flex: 1 0 auto;
  padding-top: 20px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--elevation1);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 16px;
}
.feature-grid > div, .feature-grid > article {
  background: var(--elevation2);
  padding: 24px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 240px;
  flex: 1 1 280px;
  border: 1px solid rgba(176,180,184,0.08);
  transition: box-shadow .23s, border-color .22s;
}
.feature-grid > div:hover, .feature-grid > article:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px 0 rgba(30,40,54,0.23);
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 6px;
  object-fit: contain;
  filter: grayscale(0.20) contrast(1.15) drop-shadow(0 2px 6px rgba(32,49,62,0.12));
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--elevation2);
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 20px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f9f7f1;
  color: #232c33;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  border-left: 6px solid var(--secondary);
  max-width: 760px;
  font-size: 1.08rem;
}
.testimonial-card blockquote {
  background: none;
  border-left: none;
  margin-bottom: 0;
  padding: 0;
  color: #232c33;
}

/* ====== HERO ====== */
.hero {
  background: linear-gradient(105deg, #1b2329 0%, #23344b 98%);
  padding-top: 60px;
  padding-bottom: 60px;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 6px 30px 0 rgba(21,34,43,0.22);
  margin-bottom: 40px;
}
.hero h1, .hero p {
  color: var(--accent);
}
.hero .cta-btn {
  margin-top: 20px;
}

.contact-short {
  background: var(--primary-dark);
  text-align: center;
  padding: 48px 18px 48px 18px;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(20,27,37,0.22);
}
.contact-short h2 {
  margin-bottom: 10px;
}
.contact-short p {
  color: var(--metallic);
  margin-bottom: 20px;
}

.section > .container, .contact-short > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ====== NAVIGATION & HEADER ====== */
header {
  background: var(--elevation2);
  box-shadow: 0 2px 14px 0 rgba(14,20,33,0.13);
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 70px;
}
nav {
  display: flex;
  gap: 10px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--accent);
  font-weight: 500;
  font-size: 1rem;
  padding: 5px 12px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.18s;
  position: relative;
}
nav a:hover, nav a:focus {
  background: rgba(35,128,87,0.10);
  outline: none;
  color: var(--secondary);
}
.logo-link img {
  height: 48px;
  width: auto;
  margin-right: 10px;
  filter: drop-shadow(0 2px 12px rgba(20,50,80,0.15));
}
.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  display: inline-block;
  padding: 12px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(88deg, var(--secondary) 70%, #18805e 100%);
  color: var(--accent);
  border-radius: 8px;
  border: none;
  box-shadow: 0 3px 18px 0 rgba(40,55,70,0.13);
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.15s, transform 0.12s, box-shadow 0.18s;
  text-transform: uppercase;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(88deg, #238057 70%, #0a2d48 100%);
  color: var(--accent);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 7px 24px 0 rgba(40,80,116,0.17);
  text-decoration: none;
}

/* ====== FOOTER ====== */
footer {
  background: var(--elevation1);
  color: var(--accent);
  padding: 36px 0 12px 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
}
footer nav a {
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--metallic);
  text-transform: none;
  background: none;
  border-radius: 0;
  padding: 0;
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
  background: none;
}
.brand-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.97rem;
  color: var(--metallic);
}
.brand-footer img {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
}

/* ====== CARDS, TAGS, FEATURES ====== */
.tag {
  display: inline-block;
  background: #2e506a;
  color: #b0b4b8;
  font-size: 0.92rem;
  padding: 3px 12px;
  border-radius: 14px;
  margin-top: 7px;
  letter-spacing: .03em;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  font-size: 1.05rem;
}

/* ====== SPACING FOR FLEX LAYOUTS (MANDATORY) ====== */
.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; }

/* ====== MOBILE MENU (HAMBURGER NAV) ====== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  margin-left: 16px;
  transition: color 0.15s;
  z-index: 1002;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--secondary);
  outline: none;
}
.mobile-menu {
  position: fixed;
  z-index: 4000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(27,35,41,0.96);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.84,0,.38,1), opacity 0.3s;
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.2rem;
  padding: 20px;
  margin-left: auto;
  cursor: pointer;
  margin-top: 24px;
  margin-bottom: 14px;
  transition: color 0.13s, transform 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
  transform: rotate(7deg) scale(1.1);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 16px 32px 32px 32px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: var(--accent);
  padding: 16px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: .03em;
  text-transform: uppercase;
  border-bottom: 1px solid #253540;
  transition: background 0.10s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: rgba(35,128,87,0.08);
  outline: none;
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  background: #232c33;
  color: #f9f7f1;
  padding: 22px 32px 17px 32px;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -6px 24px rgba(19,31,44,0.25);
  width: 95%;
  max-width: 536px;
  z-index: 9000;
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(.82,0,.33,1), opacity 0.18s;
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.cookie-banner-btn-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}
.cookie-banner button, .cookie-banner .btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 9px 18px;
  border-radius: 6px;
  border: none;
  margin-right: 0;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background 0.16s, color 0.14s, transform 0.13s;
}
.cookie-banner .accept {
  background: var(--secondary);
  color: var(--accent);
  box-shadow: 0 2px 9px 0 rgba(40,87,68,0.10);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #18805e;
  color: var(--accent);
  outline: none;
}
.cookie-banner .reject {
  background: #232c33;
  color: #c39090;
  border: 1px solid #6c4040;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #312525;
  color: #f1bbbb;
}
.cookie-banner .settings {
  background: var(--elevation2);
  color: var(--metallic);
}
.cookie-banner .settings:hover {
  background: #353f49;
  color: var(--secondary);
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  background: #232c33;
  color: var(--accent);
  width: 94vw;
  max-width: 430px;
  padding: 32px 32px 24px 32px;
  border-radius: 16px;
  z-index: 10010;
  box-shadow: 0 8px 36px 0 rgba(25,40,52,0.22);
  display: none;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  transition: opacity 0.18s, transform 0.28s cubic-bezier(.72,0,.37,1);
}
.cookie-modal.open {
  display: flex;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h3 {
  font-size: 1.2rem;
  margin-bottom: 9px;
  color: var(--secondary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #1b2329;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 8px;
}
.cookie-category-row label, .cookie-category-row span {
  font-size: 1rem;
  color: #c3c6cb;
}
.cookie-toggle {
  accent-color: var(--secondary);
  width: 22px;
  height: 22px;
  cursor: pointer;
}
.cookie-category-row .always-on {
  background: #18805e;
  color: #fff;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: .95rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-left: 10px;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 3px;
  transition: color 0.13s;
  z-index: 1;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--secondary);
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 16px;
}

/* ====== TRANSITIONS & MICRO-INTERACTIONS ====== */
.transition {
  transition: all 0.17s cubic-bezier(0.62, 0.04, 0.28, 1.12);
}
article, .card, .feature-grid > div, .feature-grid > article {
  transition: box-shadow 0.18s, border-color 0.12s, transform 0.18s;
}
article:hover, .card:hover, .feature-grid > div:hover, .feature-grid > article:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 36px 0 rgba(25,55,85,0.13);
}

/* ====== FORMS & INPUTS ====== */
input, textarea, select {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #232c33;
  color: #f9f7f1;
  border: 1px solid #434a50;
  border-radius: 7px;
  padding: 10px 13px;
  font-size: 1rem;
  margin-bottom: 14px;
  margin-top: 2px;
  width: 100%;
  transition: border 0.14s, box-shadow 0.14s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--secondary);
  outline: none;
  background: #21262a;
}
button, .btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 1080px) {
  .feature-grid, .content-grid {
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
  }
  .card-container {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 100vw;
  }
  .feature-grid > div, .feature-grid > article {
    min-width: unset;
    flex: 1 1 90%;
  }
  footer .container {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  main {
    gap: 24px;
    padding-top: 12px;
    padding-bottom: 32px;
  }
  .hero {
    padding-top: 38px;
    padding-bottom: 38px;
    border-radius: 0 0 16px 16px;
    margin-bottom: 28px;
  }
  .section {
    margin-bottom: 38px;
    padding: 25px 7px;
    border-radius: 11px;
  }
  .feature-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 12px;
    margin-bottom: 16px;
    font-size: 1rem;
  }
  .card-container {
    gap: 10px;
  }
  header .container {
    flex-wrap: nowrap;
    gap: 8px;
    min-height: 54px;
  }
  nav {
    display: none;
  }
  .cta-btn {
    padding: 10px 20px;
    font-size: 1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 510px) {
  .hero, .section, .contact-short {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .cookie-banner {
    padding: 15px 10px 10px 10px;
    font-size: 0.98rem;
    max-width: 99vw;
  }
  .cookie-modal {
    padding: 18px 7px;
    max-width: 99vw;
  }
}

/* ====== SCROLLBAR STYLING (INDUSTRIAL-INSPIRED) ====== */
::-webkit-scrollbar {
  width: 8px;
  background: #1b2329;
}
::-webkit-scrollbar-thumb {
  background: #232c33;
  border-radius: 12px;
  border: 1px solid #353b43;
}
::-webkit-scrollbar-thumb:hover {
  background: #238057;
}

/* ====== PRINT FRIENDLY ====== */
@media print {
  header, footer, .cookie-banner, .mobile-menu {
    display: none !important;
  }
}
