/* ============ CSS RESET & BASE ============ */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #f0f0f0;
  background: #24272c;
  min-height: 100vh;
  line-height: 1.5;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #F1E4D2;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F9B84E;
  outline: none;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #F1E4D2;
  line-height: 1.15;
  letter-spacing: .5px;
}
h1 { font-size: 2rem; margin-bottom: 18px; }
h2 { font-size: 1.5rem; margin-bottom: 12px; }
h3 { font-size: 1.125rem; margin-bottom: 10px; }

/* ============ BRAND COLORS ============ */
:root {
  --color-primary: #20604F;
  --color-secondary: #415870;
  --color-accent: #F1E4D2;
  --color-metal: #aab3b9;
  --color-bg: #24272c;
  --color-bg-darker: #18191d;
  --color-text: #f0f0f0;
  --color-text-dark: #212427;
  --color-warning: #F9B84E;
  --shadow: 0 6px 24px -8px rgba(30,35,40,0.13),0 1.5px 7px rgba(32,96,79,0.08);
  --card-radius: 12px;
}

/* ============ FLEX CONTAINER UTILS ============ */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
  background: var(--color-bg-darker);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 24px;
  min-width: 240px;
  transition: transform .15s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px) scale(1.012); box-shadow: 0 10px 28px -8px rgba(30,32,32,0.25), 0 2px 8px rgba(65,88,112,0.13); }
.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: #f9fafb;
  color: #24272c;
  border-left: 6px solid var(--color-primary);
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(65,88,112,0.05);
  min-width: 220px;
  font-size: 1rem;
}
.testimonial-card p {
  color: #212427;
  font-style: italic;
}
.testimonial-card span {
  color: #415870;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .95rem;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ============ HERO SECTION ============ */
.hero {
  margin-bottom: 60px;
  background: linear-gradient(90deg, #181b1e 60%, #29373b 100%);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 40px 20px;
  display: flex;
  align-items: center;
  min-height: 250px;
}
.hero .content-wrapper h1 {
  font-size: 2.2rem;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.hero .content-wrapper p {
  color: var(--color-metal);
  font-size: 1.1rem;
  margin-bottom: 18px;
}

/* ============ FEATURE GRID ============ */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature {
  flex: 1 1 220px;
  min-width: 200px;
  background: var(--color-bg-darker);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border: 1.5px solid #32363b;
  margin-bottom: 20px;
  transition: border-color .18s;
}
.feature img {
  width: 32px;
  height: 32px;
  filter: grayscale(.25) contrast(1.25);
}
.feature h3 {
  color: var(--color-accent);
  font-size: 1.12rem;
}
.feature p {
  color: var(--color-metal);
  font-size: 1rem;
}
.feature:hover,
.feature:focus-within {
  border-color: var(--color-primary);
}

/* ============ CTA SECTIONS ============ */
.cta {
  background: linear-gradient(90deg, #24272c 70%, #29373b 100%);
  box-shadow: var(--shadow);
  border-radius: var(--card-radius);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.cta .cta.primary {
  background: var(--color-primary);
  color: #fafbfb;
  border: none;
  font-weight: bold;
  border-radius: 6px;
  font-size: 1.15rem;
  padding: 12px 32px;
  margin-top: 18px;
  letter-spacing: .2px;
  box-shadow: 0 4px 9px rgba(32,96,79,0.09);
  transition: background .18s, transform .14s, box-shadow .18s;
  cursor: pointer;
  display: inline-block;
  text-transform: uppercase;
}
.cta .cta.primary:hover, .cta .cta.primary:focus {
  background: #1a4b3d;
  transform: translateY(-2px) scale(1.036);
  box-shadow: 0 8px 18px -8px #20604f90, 0 2px 8px #41587060;
}

/* ============ BUTTONS ============ */
button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 26px;
  margin: 0 4px;
  cursor: pointer;
  box-shadow: 0 1px 4px #0002;
  transition: background .18s, box-shadow .18s, transform .1s;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: var(--color-primary);
  outline: none;
  box-shadow: 0 4px 8px #20604f33;
}

/* ============ NAVIGATION & HEADER ============ */
header {
  width: 100%;
  background: #212427;
  box-shadow: 0 2px 8px rgba(34,40,44,0.12);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 20px;
  gap: 15px;
}
header img {
  width: 152px;
  height: auto;
  margin-right: 30px;
}
nav {
  display: flex;
  gap: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  align-items: center;
}
nav a {
  padding: 8px 0px;
  color: #f1e4d2;
  border-bottom: 2px solid transparent;
  position: relative;
}
nav a:hover, nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-primary);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #fff;
  font-size: 2rem;
  padding: 6px 16px;
  border-radius: 8px;
  border: none;
  margin-left: 10px;
  cursor: pointer;
  transition: background .15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #32363b;
  outline: none;
}

/* ============ MOBILE MENU ============ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: #18191d;
  color: #fff;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.85,0,.15,1);
  display: flex;
  flex-direction: column;
  padding-top: 34px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: none;
  color: var(--color-accent);
  font-size: 2.3rem;
  border: none;
  cursor: pointer;
  z-index: 1011;
  transition: color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-warning);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  margin: 60px 0 0 32px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: .2px;
  padding: 10px 0;
  margin-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-bottom .18s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-warning);
  border-bottom: 2px solid var(--color-warning);
}

/* ============ FOOTER ============ */
footer {
  background: #212427;
  color: var(--color-accent);
  padding: 30px 0 15px 0;
  margin-top: 50px;
  box-shadow: 0 -1.5px 7px rgba(65,88,112,0.05);
}
.footer-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
  justify-content: center;
  font-size: 0.97em;
}
.footer-nav a {
  color: var(--color-accent);
  padding: 4px 0;
  border-bottom: 1.5px dotted #415870;
  transition: border-bottom .18s;
}
.footer-nav a:hover, .footer-nav a:focus { border-bottom: 1.5px solid var(--color-primary); }
footer p { color: #f1e4d2; text-align: center; font-size: 0.95em; }

/* ============ LISTS & TEXT SECTIONS ============ */
.text-section ul, .text-section ol {
  color: #e6e6e6;
  margin-bottom: 18px;
}
.text-section li {
  margin-bottom: 9px;
  font-size: 1rem;
  padding-left: 2px;
  line-height: 1.5;
}
.text-section strong { color: var(--color-accent); }

/* Input fields for forms (for future use) */
input[type=email], input[type=text], textarea {
  background: #24272c;
  color: #F1E4D2;
  border: 1.2px solid #415870;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 16px;
  width: 100%;
  outline: none;
  transition: border-color .16s;
}
input[type=email]:focus,
input[type=text]:focus,
textarea:focus {
  border-color: var(--color-primary);
}
::placeholder { color: #aab3b9; opacity: 1; }

/* ============ COOKIE CONSENT BANNER ============ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #18191d;
  color: #F1E4D2;
  box-shadow: 0 -4px 28px -10px #21242788;
  z-index: 10020;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 18px 20px;
  gap: 18px;
  font-size: 1rem;
  animation: bannerfadeIn 0.6s 0.15s cubic-bezier(.49,.7,.45,1) backwards;
}
@keyframes bannerfadeIn {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-message {
  flex: 1 1 240px;
  color: #e6e6e6;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
}
.cookie-banner button {
  font-size: 0.98em;
  padding: 9px 18px;
  border-radius: 5px;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  transition: background .15s, box-shadow .17s, color .14s;
  box-shadow: 0 2.5px 5px #21242732;
}
.cookie-banner button.accept {
  background: var(--color-primary);
}
.cookie-banner button.reject {
  background: #35393e;
  color: #F9B84E;
}
.cookie-banner button.settings {
  background: var(--color-accent);
  color: var(--color-text-dark);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  box-shadow: 0 0 8px #41587055;
  filter: brightness(1.08);
}

/* ============ COOKIE MODAL ============ */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: #212427cc;
  z-index: 10021;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInBackdrop 0.30s cubic-bezier(.39,.7,.1,1) backwards;
}
@keyframes fadeInBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #f0f0f0;
  color: #18191d;
  border-radius: var(--card-radius);
  box-shadow: 0 10px 32px rgba(33,36,39,.23), 0 2px 6px #aaaaaa20;
  padding: 36px 24px 28px 24px;
  width: 96vw; max-width: 370px;
  position: relative;
  animation: slideModalIn .25s cubic-bezier(.46,0,.47,1.04) backwards;
}
@keyframes slideModalIn {
  from { transform: translateY(36px) scale(.97); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  color: #20604F;
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.25rem;
}
.cookie-modal .category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cookie-modal label {
  font-family: 'Roboto', Arial, sans-serif;
  color: #212427;
  font-size: 1rem;
}
.cookie-modal input[type=checkbox],
.cookie-modal input[type=radio] {
  accent-color: #20604f;
  width: 18px;
  height: 18px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 17px;
  right: 20px;
  background: none;
  border: none;
  color: #20604F;
  font-size: 1.28em;
  cursor: pointer;
  transition: color .14s;
  z-index: 10022;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #F9B84E;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1em;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 7px 20px;
}
.cookie-modal button.save {
  background: var(--color-primary);
}
.cookie-modal button.cancel {
  background: #aaa;
  color: #1d1f20;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  filter: brightness(0.95);
}
.cookie-modal .desc {
  color: #415870;
  font-size: .97em;
  margin-bottom: 10px;
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 1050px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 10px;
  }
  .feature-grid, .card-container {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { padding: 0 7px; }
  header .container { flex-direction: row; padding: 0 8px; }
  nav { display: none !important; }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
  .footer-nav { flex-direction: column; gap: 10px; }
  .hero, .section, .cta {
    padding: 28px 7px;
  }
  .content-wrapper, .text-image-section, .feature-grid, .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  .text-image-section { align-items: flex-start; }
}
@media (max-width: 560px) {
  .footer-nav { font-size: .88em; }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.1rem; }
  .hero, .section, .cta {
    padding: 17px 2px;
  }
  .feature, .card {
    min-width: unset;
    padding: 13px 10px;
  }
  .testimonial-card {
    padding: 14px 7px;
  }
}

/* ============ INDUSTRIAL MODERN EFFECTS ============ */
.card, .feature {
  border: 1.5px solid #303133;
  background: linear-gradient(127deg, #252a2e 80%, #363e43 120%);
  color: #e6e6e6;
}
.card {
  box-shadow: 0 3.5px 16px rgba(70,87,112,0.09); /* sturdier shadow for card-like look */
}
.feature {
  border-left: 4px solid #415870;
}
.card:hover, .feature:hover {
  box-shadow: 0 6px 24px -8px #20604f90, 0 3px 12px #41587033;
  border-left-color: #F1E4D2;
}

/* Typography tweaks */
h1, h2, h3, h4, h5, h6 {
  text-transform: none;
  letter-spacing: 0.7px;
}
h2 {
  border-left: 5px solid var(--color-primary);
  padding-left: 11px;
}

/* Decorative metallic accent (horizontal bar for heading) */
.section h2:after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: linear-gradient(90deg,#969da3,#d6cbc0,#8e8e8e);
  border-radius: 1.5px;
  margin: 11px 0 0 0;
}

/* micro-interactions for cards */
.card, .feature, .testimonial-card {
  transition: box-shadow .19s, border-color .15s, transform .14s;
}
.card:focus-within, .feature:focus-within {
  border-color: var(--color-secondary);
  box-shadow: 0 6px 24px -8px var(--color-secondary), 0 2px 8px var(--color-primary);
}

/* Icon accent for industrial feel */
.card img, .feature img {
  border-radius: 7px;
  background: #181b1e;
  border: 1.5px solid #292c30;
  padding: 6px;
  box-shadow: 0 1.5px 3px #20604f20;
}

/* ============ MISC: Spacing Utility ============ */
.mb-20 { margin-bottom: 20px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-60 { margin-bottom: 60px !important; }
.pb-40 { padding-bottom: 40px !important; }
.pt-40 { padding-top: 40px !important; }

/* ============ VISUAL HIERARCHY / WHITE SPACE ============ */
.section:not(:last-child), .cta:not(:last-child) {
  margin-bottom: 60px;
}
main > section { margin-bottom: 36px; }

/* Accessibility: Focus ring for keyboard nav */
:focus-visible {
  outline: 2.5px dashed #F9B84E;
  outline-offset: 2px;
}

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