/* CSS RESET & NORMALIZE */
* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #11171A;
  color: #E4E7EA;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-tap-highlight-color: rgba(60, 60, 60, 0.05);
  position: relative;
}
img,svg { max-width: 100%; height: auto; display: block; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #F7F7FA;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.25rem; line-height: 1.2; margin-bottom: 24px; }
h2 { font-size: 1.75rem; line-height: 1.26; margin-bottom: 18px; }
h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 12px; }
h4 { font-size: 1.1rem; line-height: 1.3; margin-bottom: 8px; }

p, ul, ol, address {
  font-family: 'Roboto', Arial, sans-serif;
  color: #E4E7EA;
  margin-bottom: 16px;
  font-size: 1rem;
}
ul {
  list-style: disc inside;
  padding-left: 16px;
  margin-bottom: 16px; 
}
li {
  margin-bottom: 8px;
}
a {
  color: #1BC47D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #149A61;
  text-decoration: underline;
}

/* CONTAINERS & GENERAL STRUCTURE */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
}

/* HEADER & NAVIGATION */
header {
  background: #181E23;
  box-shadow: 0 4px 16px 0 rgba(0,0,0,0.24);
  position: relative;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 18px 18px 0;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #E4E7EA;
  padding: 6px 0;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  font-size: 1rem;
  transition: color 0.19s;
}
header nav a:hover, header nav a:focus {
  color: #1BC47D;
}

.cta-btn {
  background: linear-gradient(90deg, #1BC47D 40%, #149A61 100%);
  color: #F7F7FA;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 11px 32px;
  border: none;
  border-radius: 6px;
  margin-left: 18px;
  font-size: 1.08rem;
  box-shadow: 0 2px 12px 0 rgba(27, 196, 125, 0.10);
  outline: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  text-decoration: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #149A61;
  color: #fff;
  box-shadow: 0 4px 20px 0 rgba(27,196,125,0.22);
  transform: translateY(-2px) scale(1.03);
}

header img {
  height: 42px;
  width: auto;
}
@media (max-width: 480px) {
  header img { height: 28px; }
}

/* ============ MOBILE NAVIGATION ============ */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #F7F7FA;
  font-size: 2rem;
  border: none;
  margin: 0 8px 0 0;
  cursor: pointer;
  z-index: 110;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #171B20;
  box-shadow: 0 6px 36px 2px rgba(30,40,45,0.90);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.87,.04,.14,.99);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 26px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F7F7FA;
  font-size: 2.4rem;
  margin-bottom: 24px;
  align-self: flex-end;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  margin-top: 10px;
}
.mobile-nav a {
  color: #E4E7EA;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #1BC47D;
  color: #1b2226;
}

@media (max-width: 1024px) {
  header nav { display: none; }
  .cta-btn { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ============ HERO & SECTIONS ============ */
.hero {
  background: #1B232B linear-gradient(135deg, #232B32 50%, #181E23 100%);
  border-bottom: 3px solid #1BC47D;
  min-height: 320px;
  display: flex;
  align-items: center;
}
.hero .container {
  min-height: 320px;
  justify-content: center;
  align-items: flex-start;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
section:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  section { padding: 28px 6px; margin-bottom: 32px; }
  .hero { min-height: 180px; }
  .hero .container { min-height: auto; padding: 18px 6px; }
}

/* ============ CARDS, FEATURE-GRIDS, FLEX PATTERNS ============ */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.features-grid > div {
  flex: 1 1 260px;
  background: #20272F;
  border: 1.5px solid #454C52;
  border-radius: 10px;
  box-shadow: 0 2px 16px 0 rgba(28,36,38,0.13);
  padding: 28px 22px 24px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, border 0.2s, transform 0.18s;
  position: relative;
  min-width: 220px;
}
.features-grid > div:hover, .features-grid > div:focus-within {
  border-color: #1BC47D;
  box-shadow: 0 6px 25px 0 rgba(27,196,125,.15), 0 2px 24px 0 rgba(33,75,107,0.14);
  transform: translateY(-2px) scale(1.02);
}
.features-grid img {
  width: 44px; height: 44px;
  margin-bottom: 18px;
  filter: grayscale(20%) brightness(0.95) drop-shadow(0 2px 5px #111b);
}

.card-container { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 20px; }
.card {
  background: #20272F;
  border-radius: 10px;
  border: 1.5px solid #454C52;
  box-shadow: 0 2px 16px 0 rgba(33,75,107,0.10);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s, border 0.15s, transform 0.15s;
}
.card:hover, .card:focus-within {
  border-color: #149A61;
  box-shadow: 0 9px 36px 0 rgba(27,196,125,0.18);
  transform: scale(1.021);
}
.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: #f7f7fa;
  color: #1B232B;
  border-radius: 10px;
  box-shadow: 0 2px 18px 0 rgba(33,75,107,0.10);
  margin-bottom: 20px;
  border: 1px solid #C8CCD1;
  min-width: 220px;
  transition: box-shadow 0.15s, border 0.15s, transform 0.14s;
}
.testimonial-card h4, .testimonial-card p {
  color: #1B232B;
  margin-bottom: 0;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(33,75,107,0.18);
  border-color: #149A61;
  transform: scale(1.015);
}

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

/* spacing for main wrapper grid adjustments */
@media (max-width: 900px) {
  .features-grid { flex-direction: column; gap: 20px; }
  .features-grid > div { min-width: 158px; }
  .testimonial-card { min-width: 160px; }
}

/* ============ TEXT-SECTION FLEX ============ */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 10px;
}
.text-section h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: #214B6B;
  margin-top: 10px;
}
.text-section p, .text-section li {
  font-size: 1rem;
  color: #E4E7EA;
}

@media (max-width: 768px) {
  .content-wrapper { gap: 16px; }
  .features-grid { gap: 18px; }
  .features-grid > div { padding: 18px 10px 14px 10px; }
  .testimonial-card { padding: 14px 8px; }
  .text-image-section { flex-direction: column; gap: 18px; }
}

/* ============ FORMS, BUTTONS, INTERACTIVE ELEMENTS ============ */
button, .btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  font-size: 1rem;
  cursor: pointer;
  background: #1BC47D;
  color: #181E23;
  transition: background 0.16s, transform 0.14s, box-shadow 0.14s;
  box-shadow: 0 2px 7px 0 rgba(27,196,125,0.16);
}
button:hover, button:focus, .btn:hover, .btn:focus {
  background: #149A61;
  color: #f7f7fa;
  transform: translateY(-1px) scale(1.02);
}

/* Input basic style (for future forms) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  padding: 8px 12px;
  border: 1px solid #454C52;
  border-radius: 6px;
  background: #262F37;
  color: #E4E7EA;
  margin-bottom: 14px;
  font-size: 1rem;
}
input:focus, textarea:focus, select:focus {
  border-color: #1BC47D;
  outline: none;
}

/* ============ FOOTER ============ */
footer {
  background: #192127;
  border-top: 2.5px solid #1BC47D;
  padding: 30px 0 15px 0;
}
footer .container {
  flex-direction: row;
  align-items: start;
  justify-content: space-between;
  gap: 40px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 24px;
}
footer nav a {
  color: #C8CCD1;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, Helvetica,sans-serif;
  font-weight: 500;
  transition: color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  color: #1BC47D;
}
footer address {
  color: #C8CCD1;
  font-style: normal;
  font-size: 0.99rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.56;
  margin-top: 8px;
}
footer address img {
  vertical-align: middle;
  margin-right: 5px;
  filter: grayscale(60%) brightness(1.18);
  width: 16px;
  height: 16px;
  display: inline-block;
}
footer address a {
  color: #1BC47D;
  text-decoration: underline;
  transition: color 0.17s;
}
footer address a:hover {
  color: #149A61;
}
@media (max-width: 900px) {
  footer .container { flex-direction: column; gap: 24px; }
  footer address { margin-top: 0; }
}

/* ============ COOKIE CONSENT BANNER ============ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #232B32;
  color: #F7F7FA;
  box-shadow: 0 -2px 22px 0 rgba(33,75,107,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 17px 32px 20px 22px;
  z-index: 300;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.22s, transform 0.22s;
  font-size: 1rem;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner-text {
  flex: 1;
  color: #F7F7FA;
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-direction: row;
}
.cookie-banner .cookie-btn, .cookie-banner .cookie-btn-secondary {
  font-family: 'Montserrat',Arial,sans-serif;
  border: none;
  border-radius: 5px;
  padding: 7px 22px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.13s;
}
.cookie-banner .cookie-btn {
  background: #1BC47D;
  color: #232B32;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus { background: #149A61; color: #fff; }
.cookie-banner .cookie-btn-secondary {
  background: #262F37;
  color: #F7F7FA;
  border: 1px solid #495360;
  margin-left: 7px;
}
.cookie-banner .cookie-btn-secondary:hover, .cookie-banner .cookie-btn-secondary:focus {
  background: #181E23;
  color: #1BC47D;
  border-color: #1BC47D;
}

@media (max-width: 730px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 14px 10px; font-size: 0.95rem; }
  .cookie-banner-buttons { flex-direction: column; gap: 9px; width: 100%; }
}

/* COOKIE CATEGORY MODAL */
.cookie-modal-overlay {
  position: fixed; left:0; top:0; width:100vw; height:100vh;
  background: rgba(33, 41, 47, 0.72);
  z-index: 320;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.26s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #f7f7fa;
  border-radius: 12px;
  box-shadow: 0 8px 50px 0 rgba(33,75,107,0.21);
  color: #20272f;
  padding: 32px 24px 24px 24px;
  max-width: 360px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1.05rem;
  animation: cookieModalIn 0.26s cubic-bezier(.53,.01,.47,.99);
}
@keyframes cookieModalIn {
  from { opacity:0; transform: translateY(90px) scale(0.96);} 
  to { opacity: 1; transform: translateY(0) scale(1);}
}
.cookie-modal h3 {
  color: #214B6B;
  font-size: 1.22rem;
  margin-bottom: 6px;
}
.cookie-modal label {
  font-family: 'Montserrat',Arial,sans-serif;
  color: #181E23;
  font-size: 1rem;
  margin-left: 8px;
  cursor: pointer;
}
.cookie-modal-category {
  display: flex; flex-direction: row; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-btn {
  margin-top: 10px;
  background: #1BC47D;
  color: #232B32;
  width: 100%;
}
.cookie-modal .cookie-btn-secondary {
  width: 100%;
  margin-top: 6px;
  background: #214B6B;
  color: #fff;
}
.cookie-modal .cookie-btn:hover, 
.cookie-modal .cookie-btn:focus,
.cookie-modal .cookie-btn-secondary:hover, 
.cookie-modal .cookie-btn-secondary:focus {
  box-shadow: 0 2px 8px #1BC47D33;
}
.cookie-modal-close {
  background: none;
  color: #214B6B;
  border: none;
  font-size: 1.5rem;
  position: absolute;
  top: 13px; right: 17px;
  cursor: pointer;
}

/* ============ VISUAL HIERARCHY, INDUSTRIAL AESTHETIC ============ */
section, .card, .features-grid > div, .testimonial-card, .hero {
  box-shadow: 0 2px 16px 0 rgba(18,21,27,0.09);
}
.card, .features-grid > div, .testimonial-card {
  border-radius: 10px;
  border: 1.5px solid #495360;
}
.hero { border-radius: 0 0 16px 16px; }

/* Metallic accents - thin top or left-side border on cards */
.features-grid > div, .card {
  border-left: 3px solid #1BC47D;
  position: relative;
}
.features-grid > div:after, .card:after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 3px;
  background: #1BC47D;
  border-radius: 6px 0 0 6px;
}

/* Urban background blends for certain areas */
body {
  background: #11171A url('assets/bg-industrial-texture.jpg') top left repeat fixed;
  background-size: cover;
}

/* ============ TRANSITIONS & MICRO-ANIMATIONS ============ */
a, button, .cta-btn, .card, .features-grid > div, .testimonial-card {
  transition: color 0.13s, background 0.13s, box-shadow 0.18s, border 0.18s, transform 0.12s;
}

/* ============ RESPONSIVE LAYOUT RULES ============ */
@media (max-width: 768px) {
  .container { padding-left: 8px; padding-right: 8px; }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding-right: 8px;
  }
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .features-grid > div, .card, .testimonial-card {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 600px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1rem; }
}

/* ============ HIGHLIGHT/ACCENT ELEMENTS ============ */
::selection {
  background: #214B6B;
  color: #fff;
}

/* ============ SCROLLBAR INDUSTRIAL MODERN ============ */
::-webkit-scrollbar {
  width: 10px;
  background: #222933;
}
::-webkit-scrollbar-thumb {
  background: #1BC47D;
  border-radius: 4px;
}

/* ============ ACCESSIBILITY FOCUS STYLES ============ */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid #1BC47D;
  outline-offset: 3px;
}

/* ============ VISUAL HIERARCHY ============ */
h1, h2 {
  text-shadow: 0 2px 8px #161A1C99;
}

/* ============ TABLES (for legal pages) ============ */
table {
  width: 100%; border-collapse: collapse; background: #20272F; color: #F7F7FA; margin: 20px 0;
}
th, td { border: 1px solid #495360; padding: 9px 12px;}
th { background: #1B232B;}

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

/* ============ END ============ */