/* 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 {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  background: #21262f;
  color: #E4E8ED;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: #C8613A;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #fff;
  text-decoration: underline;
}

/* Brand Colors as CSS variables */
:root {
  --primary: #313A4A;
  --primary-dark: #232935;
  --secondary: #E4E8ED;
  --secondary-bg: #f2f4f8;
  --accent: #C8613A;
  --accent-dark: #934021;
  --metallic: #b1b4b9;
  --text-on-dark: #E4E8ED;
  --text-on-light: #313A4A;
  --shadow: 0 3px 16px 0 rgba(30,34,40,0.16), 0 1.5px 6px 0 rgba(40,40,40,0.07);
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0 auto;
  width: 100%;
}

header {
  background: var(--primary);
  color: var(--text-on-dark);
  border-bottom: 3px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 11;
  box-shadow: 0 2px 10px 0 rgba(40,45,50,0.08);
}

header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}
.logo {
  flex: 0 0 auto;
  margin-right: 28px;
  display: flex;
  align-items: center;
}
.logo img {
  height: 48px;
  width: auto;
  filter: grayscale(30%);
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  color: #E4E8ED;
  font-size: 15px;
  position: relative;
  padding: 7px 0;
  transition: color 0.18s;
}
header nav a:hover,
header nav a:focus {
  color: var(--accent);
}

.cta-button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 18px;
  padding: 10px 36px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 18px 0 rgba(200,97,58,0.11);
  margin-left: 32px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  box-shadow: 0 2px 14px 0 rgba(200,97,58,0.18);
  transform: translateY(-2px) scale(1.04);
  color: #FFF;
  border-color: var(--accent-dark);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  color: #E4E8ED;
  padding: 5px 10px;
  margin-left: 20px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.18s;
  z-index: 20;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary-dark);
  color: var(--accent);
}

@media (max-width: 1079px) {
  .container {
    max-width: 98vw;
  }
  .cta-button {
    margin-left: 8px;
    padding: 10px 22px;
    font-size: 16px;
  }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33, 38, 47, 0.98);
  overflow-y: auto;
  z-index: 50;
  transform: translateX(100vw);
  display: flex;
  flex-direction: column;
  transition: transform 0.32s cubic-bezier(.9,-0.05,0,1.1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 2.4rem;
  align-self: flex-end;
  margin: 18px 18px 0 0;
  cursor: pointer;
  border-radius: 5px;
  padding: 3px 12px;
  transition: background .18s;
  z-index: 100;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary-dark);
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  margin: 42px 0 0 36px;
}
.mobile-nav a {
  font-size: 1.32rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  padding: 7px 0;
  letter-spacing: 0.06em;
  border-bottom: 1.5px solid transparent;
  transition: color 0.16s, border 0.16s;
  min-width: 140px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  border-bottom: 1.5px solid var(--accent);
}

@media (max-width: 991px) {
  header nav,
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 992px) {
  .mobile-menu {display:none!important;}
}

/* HERO */
.hero {
  background: linear-gradient(120deg, #232935 82%, var(--accent-dark) 100%);
  color: #fff;
  min-height: 360px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  box-shadow: var(--shadow);
  border-radius: 0 0 18px 18px;
}
.hero .container {
  justify-content: center;
  align-items: center;
}
.hero .content-wrapper {
  max-width: 630px;
  padding: 0 0 0 0;
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #fff;
  margin-bottom: 8px;
}
.hero p {
  font-size: 1.18rem;
  color: #E4E8ED;
}
.hero .cta-button {
  margin-top: 16px;
}

@media (max-width: 768px) {
  .hero {
    min-height: unset;
    padding: 24px 0;
    border-radius: 0 0 12px 12px;
  }
  .hero h1 {
    font-size: 1.65rem;
    line-height: 1.2;
  }
}

/* Sections & Cards & Spacing */
section {
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #242930;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid #38404f;
  position: relative;
  transition: box-shadow 0.13s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(30,34,40,0.22);
  transform: translateY(-3px) scale(1.03);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 32px 28px;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--secondary);
  font-weight: bold;
  line-height: 1.12;
}
h1 { font-size: 2.2rem; margin-bottom: 10px; }
h2 { font-size: 1.6rem; margin-bottom: 8px; color: var(--accent); font-weight: 700; }
h3 { font-size: 1.13rem; margin-bottom: 7px; color: var(--secondary); font-weight: 600; }
h4 { font-size: 1.06rem; }
h5, h6 { font-size: 1rem; font-weight: 500; }

ul, ol {
  margin: 0 0 6px 20px;
  padding-left: 15px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--secondary);
  display: flex;
  flex-direction: column;
  gap: 11px;
}
li {
  padding-left: 4px;
  margin-bottom: 2px;
  word-break: normal;
  line-height: 1.7;
}
strong { color: var(--metallic); font-weight: 700; }

/* Spacing for sections/content-wrapper */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
section:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  section {
    padding: 24px 0 0 0;
    margin-bottom: 38px;
  }
  .content-wrapper {
    gap: 14px;
  }
  ul, ol {
    gap: 7px;
  }
}

/* TESTIMONIALS */
.testimonials {
  margin-bottom: 64px;
  padding: 40px 0;
  background: #fafbfc;
  color: var(--text-on-light);
  border-radius: 14px;
  box-shadow: 0 9px 30px 0 rgba(70, 50, 28, .07);
}
.testimonials .container {
  align-items: flex-start;
}
.testimonials .content-wrapper {
  gap: 28px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  color: #182330;
  border-radius: 8px;
  box-shadow: 0 2px 16px 0 rgba(49,58,74,0.07);
  border-left: 5px solid var(--accent);
  font-size: 1.05em;
  flex-wrap: wrap;
  transition: box-shadow .14s, transform .14s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 23px 0 rgba(49,58,74,0.13);
  transform: scale(1.02);
}
.testimonial-card p {
  margin: 0;
  color: #232935;
  font-size: 1.08em;
  line-height: 1.55;
  font-weight: 500;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: .98em;
  color: #7d7e85;
  font-weight: 600;
  margin-left: auto;
}

@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 14px 13px 12px;
  }
}

/* Footer */
footer {
  width: 100%;
  background: var(--primary-dark);
  color: var(--text-on-dark);
  border-top: 2.5px solid var(--accent);
  padding: 24px 0 0 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 16px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  color: var(--metallic);
  font-size: .98rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  margin-bottom: 4px;
  transition: color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent);
}
footer .contact-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 330px;
  font-size: 15px;
}
footer .contact-info img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
  filter: grayscale(72%) contrast(1.09);
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 14px;
    padding-bottom: 10px;
  }
  footer nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px 20px;
    align-items: center;
  }
  footer .contact-info {
    max-width: 100%;
  }
}

/* Forms (if any present on contact page) */
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1em;
  padding: 9px 16px;
  border-radius: 7px;
  border: 1.2px solid #b1b4b9;
  margin-bottom: 14px;
  background: #232935;
  color: var(--secondary);
  transition: border 0.16s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 1.5px 8px 0 rgba(200,97,58,0.08);
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #242930;
  color: #E4E8ED;
  padding: 20px 18px 16px 18px;
  box-shadow: 0 -2px 16px 0 rgba(49,58,74,0.12);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  animation: fadeInCookie 0.8s cubic-bezier(.23,1.01,.32,1);
}
@keyframes fadeInCookie {
  0% { opacity:0; transform: translateY(60px);}
  100% { opacity:1; transform: translateY(0);}
}
.cookie-banner-text {
  font-size: 1.03rem;
  margin-bottom: 3px;
}
.cookie-consent-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 8px 23px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  letter-spacing: 0.04em;
  margin-right: 4px;
  transition: background 0.14s, color 0.14s;

}
.cookie-btn.accept {
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--accent-dark);
}
.cookie-btn.reject {
  background: #38404f;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #2b2f38;
}
.cookie-btn.settings {
  background: none;
  color: var(--accent);
  border: 1.3px solid var(--accent);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--primary-dark);
  color: #fff;
}

/* Cookie Modal (Popup Preferences) */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0;
  width: 100vw; height: 100vh;
  background: rgba(33,34,41,0.92);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookie .23s cubic-bezier(.8,-0.01,.37,1.14);
}
.cookie-modal {
  background: #fff;
  color: #21262f;
  padding: 38px 28px 30px 28px;
  border-radius: 13px;
  box-shadow: 0 7px 42px 0 rgba(49,58,74,0.27);
  max-width: 410px;
  width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadeInCookieModal .29s cubic-bezier(.24,.88,.36,1.07);
}
@keyframes fadeInCookieModal {0%{opacity:0;transform:translateY(60px);}100%{opacity:1;transform:translateY(0);}}
.cookie-modal h2 {
  color: var(--accent);
  font-size: 1.17rem;
  margin-bottom: 2px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  border-radius: 20px;
  background: #c0c6cc;
  outline: none;
  cursor: pointer;
  transition: background 0.16s;
  position: relative;
}
.cookie-toggle:checked {
  background: var(--accent);
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 1px; top: 1px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px 0 rgba(49,58,74,0.12);
  transition: left 0.18s;
}
.cookie-toggle:checked::before {
  left: 17px;
}
.cookie-modal .cookie-btn {
  margin-top: 14px;
  width: auto;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--accent);
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 540px) {
  .cookie-modal {
    padding: 18px 5vw 17px 5vw;
    border-radius: 7px;
  }
  .cookie-consent-banner {
    padding: 14px 8px 11px 8px;
    font-size: .97rem;
  }
}

/* Misc & Accessibility */
::-webkit-scrollbar {
  width: 10px;
  background: #232935;
}
::-webkit-scrollbar-thumb {
  background: #636a77;
  border-radius: 12px;
}

/* Util: visually hidden (for accessibility) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  padding: 0;
}

/* RESPONSIVENESS */
@media (max-width: 1279px){
  .container {max-width: 96vw;}
}
@media (max-width: 991px) {
  .container {padding: 0 8px;}
  .content-wrapper {gap: 12px;}
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .hero h1 { font-size: 1.28rem; }
  h1 {font-size: 1.3rem;}
  h2 {font-size: 1.13rem;}
  .cta-button { font-size: 15px; padding: 8px 15px; }
  .section { margin-bottom: 32px; padding: 18px 5px; }
  .card-container, .content-grid { gap: 10px; }
  .card-content { padding: 13px 8px; }
}

/* Extra: Micro-Interactions */
button, .cta-button, .cookie-btn {
  transition: background 0.14s, color 0.12s, transform 0.13s;
}
button:active, .cta-button:active, .cookie-btn:active {
  transform: scale(0.98);
}

/* Decorative metallic accent rule (horizontal) */
.metallic-divider {
  width: 100%;
  height: 2px;
  margin: 32px 0;
  background: linear-gradient(90deg,#d4dee5 0%, #b1b4b9 48%, #b6b6b6 100%);
  border: none;
}

/* Industrial Modern Visual Elements */
.card, .testimonial-card, .cookie-modal {
  box-shadow: 0 3px 16px 0 rgba(30,34,40,0.15),0 1.5px 6px 0 rgba(70,70,70,0.05);
  border: 1px solid #373e4c;
}

/* Ensure no grid/column properties used - using only flex layouts */
