/* --- 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;
  box-sizing: border-box;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
body{line-height:1}
ol,ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}
table{border-collapse:collapse;border-spacing:0}
img{max-width:100%;display:block;height:auto}
button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit;color:inherit}

/* --- BRAND VARIABLES --- */
:root {
  /* Colors */
  --color-primary: #1C2D3A;
  --color-secondary: #2A7C57;
  --color-accent: #FFD160;
  --color-bg: #191C1F;
  --color-bg-elevated: #23282C;
  --color-metal-dark: #232E33;
  --color-metal-medium: #394751;
  --color-metal-light: #CAD5DB;
  --color-metal-shine: #BDC6CE;
  --color-text: #F4F6F8;
  --color-text-muted: #A2AAB3;
  --color-link: #FFD160;
  --color-shadow: rgba(44,54,62,0.14);
  --color-shadow-strong: rgba(22,29,36,0.30);

  /* Font stacks */
  --font-display: 'Montserrat', 'Arial Black', Arial, sans-serif;
  --font-body: 'Roboto', 'Segoe UI', Arial, sans-serif;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  min-height: 100vh;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
main, .container, .content-wrapper {
  width: 100%;
}
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* --- HEADINGS & TYPOGRAPHY HIERARCHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-accent);
  letter-spacing: 0.02em;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; line-height: 1.18; }
h2 { font-size: 2rem; margin-bottom: 18px; line-height: 1.22; }
h3 { font-size: 1.35rem; margin-bottom: 12px; line-height: 1.24; }
h4 { font-size: 1.15rem; margin-bottom: 10px; }
p, ul, ol, address {
  color: var(--color-text);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.7;
}
ul, ol {
  margin-left: 20px;
}
ul li, ol li {
  padding-left: 8px;
  margin-bottom: 8px;
}
strong, b {
  color: var(--color-accent);
  font-weight: bold;
}
blockquote {
  border-left: 4px solid var(--color-accent);
  color: var(--color-metal-light);
  background: var(--color-metal-dark);
  font-size: 1.125rem;
  margin: 0 0 12px 0;
  padding: 14px 24px;
  font-style: italic;
  box-shadow: 0 2px 10px var(--color-shadow);
}
.text-section {
  max-width: 680px;
  margin: 0 auto;
}
a { 
  color: var(--color-link); 
  text-decoration: none; 
  transition: color 0.2s; 
  font-weight: 500;
}
a:hover, a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--color-metal-dark);
  box-shadow: 0 2px 10px var(--color-shadow-strong);
  padding: 0;
  z-index: 1020;
}
header .container { padding: 0; }
nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 20px 20px 20px;
  font-family: var(--font-display);
  font-size: 1rem;
  background: none;
}
nav a {
  color: var(--color-metal-light);
  opacity: 0.93;
  padding: 5px 10px;
  border-radius: 4px;
  letter-spacing: 0.01em;
  transition: background 0.15s, color 0.16s, box-shadow 0.12s;
  font-weight: 600;
}
nav a:hover, nav a:focus {
  background: var(--color-metal-medium);
  color: var(--color-accent);
  box-shadow: 0 2px 4px var(--color-shadow);
}
nav .cta-primary {
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 8px 22px;
  border-radius: 7px;
  font-weight: bold;
  margin-left: 18px;
  font-size: 1rem;
  transition: background 0.16s, color 0.16s, box-shadow 0.14s;
  box-shadow: 0 3px 16px var(--color-shadow-strong);
  border: none;
}
nav .cta-primary:hover, nav .cta-primary:focus {
  background: var(--color-secondary);
  color: #fff;
}
nav img {
  width: 44px;
  margin-right: 20px;
}

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-metal-medium);
  color: var(--color-accent);
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  padding: 6px 15px;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.18s, color 0.16s, box-shadow 0.12s;
  z-index: 1501;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: #fff;
}

.mobile-menu {
  display: none;
  position: fixed;
  z-index: 2001;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--color-primary);
  background: linear-gradient(96deg, var(--color-bg) 82%, var(--color-secondary) 100%);
  transition: transform 0.4s cubic-bezier(.61,.42,.39,.99), opacity 0.22s;
  transform: translateX(-100vw);
  opacity: 0;
  flex-direction: column;
  align-items: flex-start;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  margin: 22px 0 0 16px;
  background: var(--color-metal-medium);
  color: var(--color-accent);
  border: none;
  font-size: 2.3rem;
  border-radius: 8px;
  padding: 4px 14px;
  cursor: pointer;
  transition: background 0.16s, color 0.13s;
  align-self: flex-end;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 48px 28px 16px 42px;
  width: 100%;
  margin-top: 14px;
}
.mobile-nav a {
  color: var(--color-metal-light);
  font-family: var(--font-display);
  font-size: 1.26rem;
  border-radius: 4px;
  padding: 9px 0;
  transition: background 0.14s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
  text-decoration: underline;
}

@media (min-width: 1050px) {
  .mobile-menu-toggle {display:none;}
  .mobile-menu { display: none!important; }
}

@media (max-width: 1050px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 1050px) {
  header {
    position: sticky;
    top: 0;
    z-index: 1100;
  }
}

/* --- MAIN LAYOUT SECTIONS & SPACING --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* --- FLEXBOX MANDATORY PATTERNS (FORCED) --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: var(--color-metal-dark);
  border-radius: 10px;
  box-shadow: 0 7px 22px var(--color-shadow);
  padding: 30px 24px 24px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 280px;
  transition: box-shadow 0.14s, transform 0.12s;
}
.card:hover {
  box-shadow: 0 14px 32px var(--color-shadow-strong);
  transform: translateY(-4px) scale(1.03);
}
.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;
  margin-bottom: 22px;
  background: #f4f6f8;
  color: #232c32;
  border-radius: 10px;
  box-shadow: 0 6px 26px var(--color-shadow);
  flex-direction: column;
  font-size: 1rem;
  max-width: 700px;
  transition: box-shadow 0.18s, transform 0.11s;
}
.testimonial-card blockquote {
  background: transparent;
  border-left: 4px solid var(--color-secondary);
  color: #232c32;
  font-style: italic;
}
.testimonial-card strong {
  color: var(--color-primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 22px;
}

/* --- FEATURE GRID (brand-specific) --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  margin-top: 10px;
  margin-bottom: 22px;
}
.feature-grid > div {
  background: var(--color-metal-dark);
  border: 1px solid var(--color-metal-medium);
  border-radius: 7px;
  box-shadow: 0 4px 18px var(--color-shadow);
  padding: 28px 22px 22px 22px;
  min-width: 260px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.14s, transform 0.13s;
}
.feature-grid > div:hover {
  box-shadow: 0 12px 32px var(--color-shadow-strong);
  transform: translateY(-4px) scale(1.033);
  border-color: var(--color-accent);
}
.feature-grid img {
  width: 46px;
  margin-bottom: 12px;
  filter: grayscale(25%) brightness(1.18) drop-shadow(1px 3px 4px #2226);
}
.feature-grid h3 {
  margin-bottom: 8px;
}

/* --- FAQ LIST --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-list > div {
  background: var(--color-metal-dark);
  border-radius: 8px;
  padding: 22px 24px;
  box-shadow: 0 2px 10px var(--color-shadow);
}
.faq-list h3 {
  color: var(--color-accent);
  margin-bottom: 5px;
  font-size: 1.1rem;
}
.faq-list p {
  color: var(--color-metal-shine);
  margin-bottom: 0;
}

/* --- CTA BUTTONS --- */
.cta-primary {
  background: var(--color-accent);
  color: var(--color-primary) !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
  padding: 12px 34px;
  border-radius: 8px;
  border: none;
  margin-top: 14px;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 3px 15px var(--color-shadow-strong);
  transition: background 0.16s, color 0.14s, box-shadow 0.14s, transform 0.10s;
  display: inline-block;
  text-align: center;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-secondary);
  color: #fff !important;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 7px 18px var(--color-shadow-strong);
}

/* --- FOOTER --- */
footer {
  background: var(--color-metal-dark);
  color: var(--color-metal-light);
  font-size: 0.99rem;
  margin-top: 60px;
  box-shadow: 0 -2px 16px var(--color-shadow-strong);
  padding: 30px 0 16px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
footer nav {
  display: flex;
  gap: 18px;
  padding: 0;
}
footer nav a {
  color: var(--color-accent);
  opacity: 0.89;
  padding: 4px 9px;
  border-radius: 3px;
  font-size: 0.99rem;
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-secondary);
  color: #fff;
  text-decoration: underline;
}
footer address, footer .copyright,
footer div, footer a {
  color: var(--color-metal-light);
  font-size: 0.99rem;
  font-style: normal;
}
footer img {
  width: 38px;
  vertical-align: middle;
}
.copyright {
  margin-top: 8px;
  opacity: 0.65;
}

/* --- ADDRESS --- */
address {
  font-style: normal;
  margin-bottom: 6px;
  opacity: 0.92;
}

/* --- LISTS & OL --- */
ul, ol {
  padding-left: 1.2em;
}
ul li, ol li {
  padding-left: 0.6em;
  margin-bottom: 6px;
}
li img {
  width: 18px;
  margin-right: 7px;
  vertical-align: middle;
  filter: grayscale(18%) brightness(1.08);
}

/* --- SECTIONS --- */
.section { 
  margin-bottom: 60px; 
  padding: 40px 20px;
}

/* --- CARD DESIGN (unmistakably modern/industrial) --- */
.card {
  background: var(--color-metal-medium);
  border: 1px solid var(--color-metal-dark);
  box-shadow: 0 7px 22px var(--color-shadow);
  border-radius: 10px; 
  padding: 30px 24px 24px 24px; 
  color: var(--color-metal-shine);
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 24%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow 0.15s, border-color 0.13s, transform 0.11s;
}
.card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 12px 32px var(--color-shadow-strong);
  transform: translateY(-6px) scale(1.02);
}

/* --- SPACING & FLEX GAPS (MANDATORY) --- */
.card-container, .content-grid, .feature-grid, .faq-list, .content-wrapper {
  gap: 20px;
}
.card-container, .content-grid, .feature-grid, .faq-list {
  margin-bottom: 20px;
}

/* --- BUTTONS --- */
button, .btn {
  font-family: var(--font-display);
  border: none;
  border-radius: 7px;
  padding: 12px 30px;
  font-size: 1.08rem;
  cursor: pointer;
  background: var(--color-accent);
  color: var(--color-primary);
  transition: background 0.16s, color 0.13s, transform 0.13s, box-shadow 0.13s;
  font-weight: 700;
}
button:hover, button:focus, .btn:hover, .btn:focus {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 4px 16px var(--color-shadow-strong);
  outline: none;
  transform: translateY(-2px) scale(1.03);
}

/* --- LINK BUTTONS --- */
.btn-link {
  padding: 0;
  background: none;
  color: var(--color-accent);
  border: none;
  font-size: 1rem;
  font-family: var(--font-display);
  text-decoration: underline;
  cursor: pointer;
}
.btn-link:hover, .btn-link:focus {
  color: var(--color-secondary);
}

/* --- MODAL, OVERLAY, COOKIE BANNER --- */
/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--color-metal-dark);
  color: var(--color-accent);
  width: 100vw;
  z-index: 2200;
  box-shadow: 0 -3px 20px var(--color-shadow-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 34px 20px 24px;
  font-size: 1rem;
  animation: cookieBannerIn 0.47s cubic-bezier(.56,1.6,.7,1.01);
}
@keyframes cookieBannerIn {
  0% { transform: translateY(100%); opacity:0; }
  62%{ opacity:.28; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-consent-banner button {
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 6px;
  font-weight: 700;
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  margin: 0;
  cursor: pointer;
  transition: background 0.15s, color 0.13s, box-shadow 0.13s;
}
.cookie-consent-banner .accept {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-consent-banner .accept:hover, .cookie-consent-banner .accept:focus{
  background: var(--color-accent);
  color: var(--color-secondary);
}
.cookie-consent-banner .settings {
  background: var(--color-metal-medium);
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
.cookie-consent-banner .settings:hover, .cookie-consent-banner .settings:focus{
  background: var(--color-accent);
  color: var(--color-secondary);
}
.cookie-consent-banner .reject {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
  transition: background 0.13s, color 0.13s;
}
.cookie-consent-banner .reject:hover,.cookie-consent-banner .reject:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left:0; right:0; bottom:0;
  background: rgba(33,40,47,0.80);
  z-index: 2300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.2s;
  animation: cookieModalIn 0.28s cubic-bezier(.81,2.6,.74,.93);
}
@keyframes cookieModalIn {
  0% {opacity:0;}
  95%{ opacity:1; }
  100% {opacity:1;}
}
.cookie-modal {
  background: var(--color-bg-elevated);
  color: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 12px 36px var(--color-shadow-strong);
  width: 95vw;
  max-width: 412px;
  padding: 38px 30px 28px 34px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}
.cookie-modal h2 {
  color: var(--color-accent);
  font-size: 1.22rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--color-metal-medium);
  color: var(--color-metal-light);
  border-radius: 7px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: var(--font-body);
  margin-bottom: 10px;
}
.cookie-category.essential {
  opacity: 0.75;
  font-weight: 700;
}
.cookie-modal-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-size: 1em;
  padding: 7px 20px;
  border-radius: 6px;
}
.cookie-modal .close {
  position: absolute;
  right: 18px; top: 18px;
  background: var(--color-metal-medium);
  color: var(--color-accent);
  border: none;
  font-size: 1.35rem;
  border-radius: 5px;
  transition: background 0.15s, color 0.13s;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* --- TABLES (rare, but for policy pages) --- */
table {
  width: 100%;
  background: var(--color-metal-dark);
  color: var(--color-accent);
  border-radius: 6px;
  box-shadow: 0 2px 10px var(--color-shadow);
  font-size: 1rem;
}
thead, th {
  background: var(--color-metal-medium);
  color: var(--color-accent);
  font-weight: bold;
}
th, td {
  padding: 12px 16px;
  text-align: left;
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 14px 38px var(--color-shadow-strong);
  cursor: pointer;
  transition: box-shadow 0.18s, transform 0.12s;
}
.cta-primary, button, .btn {
  transition: background 0.16s, color 0.13s, transform 0.12s, box-shadow 0.12s;
}
.cta-primary:active, button:active {
  transform: scale(0.97);
}

/* Subtle motion for section appearance (for supported sections) */
section, .feature-grid > div, .card, .testimonial-card, .faq-list > div {
  animation: fadeIn 0.65s cubic-bezier(.7,.18,.31,1) both;
}
@keyframes fadeIn {
  0% {opacity:0;transform:translateY(28px) scale(.97);}
  100% {opacity:1;transform:none;}
}

/* --- FORMS (contact, cookies) --- */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 13px;
  background: var(--color-metal-medium);
  color: var(--color-accent);
  border: 1.5px solid var(--color-bg-elevated);
  border-radius: 6px;
  outline: none;
  transition: border 0.13s, color 0.12s, background 0.11s;
  margin-bottom: 16px;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--color-accent);
  background: var(--color-metal-dark);
}
label {color: var(--color-accent);margin-bottom:7px;display:inline-block;}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1050px) {
  .container {
    max-width: 96vw;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    justify-content: flex-start;
    align-items: stretch;
  }
  section {
    padding: 30px 3vw;
    margin-bottom: 50px;
  }
  .content-wrapper {gap: 20px;}
}
@media (max-width: 850px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.32rem;}
}
@media (max-width: 750px) {
  header, .container, section { padding-left: 0; padding-right: 0;}
  .text-section {max-width:100vw;padding:0;}
  .feature-grid, .card-container, .content-grid, .faq-list {
    flex-direction: column;
    min-width: 0;
    width: 100%;
  }
  .feature-grid > div, .card {
    min-width: 0;
    width: 100%;
  }
  .testimonial-card {
    max-width: 98vw;
    font-size: 0.99rem;
  }
  section {
    margin-bottom: 38px;
    padding: 24px 3vw;
  }
  footer .container {padding:0 2vw;gap:12px;}
}
@media (max-width: 600px) {
  h1 {font-size: 1.35rem;}
  h2, h3 {font-size: 1.08rem;}
  .feature-grid > div, .card, .faq-list > div {
    padding: 18px 9px 15px 12px;
  }
  .cookie-modal {
    padding: 23px 10px 18px 15px;
  }
}
@media (max-width: 480px) {
  .cookie-consent-banner { flex-direction: column; align-items: flex-start; gap: 10px; padding:15px 8px 16px 8px;}
  .cookie-consent-banner .cookie-actions { flex-direction: column; gap:8px;}
}
@media (max-width: 420px) {
  h1, h2 {font-size: 1rem;}
  .feature-grid > div, .card, .faq-list > div {
    padding: 9px 6px 8px 7px;
  }
}

/* --- MISC --- */
hr {
  border: none;
  border-top: 1px dashed var(--color-metal-shine);
  margin: 24px 0 24px 0;
}
::-webkit-scrollbar {
  width: 10px;
  background: var(--color-metal-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--color-metal-medium);
  border-radius: 7px;
}

/* --- SELECTION COLOR --- */
::selection {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* --- PRINT OPTIMIZATION --- */
@media print {
  nav, .mobile-menu-toggle, .mobile-menu, footer, .cookie-consent-banner, .cookie-modal, .cookie-modal-overlay { display: none !important; }
  section, main, .container { padding:0!important; margin:0!important; }
  body { background: #fff !important; color: #111!important; font-size:14px!important;}
}
