/* ==== 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.7;
  background: #161a20;
  color: #e1e4ea;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
a {
  color: #91C358;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #c0fb89;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
}
ul, ol {
  margin-left: 20px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #F5F5F7;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.8rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.3rem; margin-bottom: 8px; }
h4 { font-size: 1.1rem; margin-bottom: 4px; }
p, blockquote {
  margin-bottom: 14px;
}
blockquote {
  background: #22242D;
  color: #27346B;
  font-style: italic;
  border-left: 5px solid #46547e;
  margin: 0 0 14px 0;
  padding: 18px 24px;
  border-radius: 8px;
}
strong { color: #91C358; }

/* ==== COLORS as CSS Variables ==== */
:root {
  --brand-primary: #27346B;
  --brand-secondary: #91C358;
  --brand-accent: #F5F5F7;
  --industrial-bg: #161a20;
  --industrial-gradient-metal: #23262F;
  --industrial-dark: #23262F;
  --industrial-grey: #393e48;
  --industrial-border: #363a43;
}

/* ==== INDUSTRIAL MODERN BACKGROUND & TEXTURE ==== */
body {
  background: linear-gradient(120deg, #181B21 0%, #23262F 100%);
}

/* ==== GENERAL LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #181B21;
  border-radius: 20px;
  box-shadow: 0 2px 32px rgba(35,38,47,.11);
}

/* ==== TYPOGRAPHY ==== */
.text-section {
  font-size: 1.1rem;
  letter-spacing: .01em;
  margin-bottom: 24px;
  line-height: 1.7;
}

.text-section ul, .text-section ol { margin-bottom: 10px; }
.text-section li { margin-bottom: 6px; }

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* ==== FLEX LAYOUTS for features/cards ==== */
.feature-grid, .service-grid, .blogteaser-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div, .service-grid > div, .blogteaser-list > article {
  background: #22242D;
  border: 1.5px solid #363a43;
  border-radius: 14px;
  flex: 1 1 210px;
  min-width: 220px;
  padding: 28px 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 40px rgba(23,32,44,.10);
  transition: transform .18s cubic-bezier(.74,.01,.21,.99), box-shadow .25s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid > div:hover, .service-grid > div:hover, .blogteaser-list > article:hover {
  box-shadow: 0 8px 70px #27346b22;
  transform: translateY(-3px) scale(1.01);
  border-color: #5463a6;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 900px) {
  .feature-grid, .service-grid, .blogteaser-list {
    gap: 16px;
  }
}
@media (max-width: 700px) {
  .feature-grid, .service-grid, .blogteaser-list {
    flex-direction: column;
    gap: 12px;
  }
  .feature-grid > div, .service-grid > div, .blogteaser-list > article {
    min-width: unset;
    width: 100%;
    margin-bottom: 0;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #161a20;
  border: 1.5px solid #22242D;
  border-radius: 18px;
  box-shadow: 0 1.5px 12px rgba(30,33,44,0.15);
  padding: 32px 24px;
  transition: box-shadow .26s, transform .14s;
}
.card:hover {
  box-shadow: 0 6px 36px #27346b33;
  transform: scale(1.016);
  border-color: #91C358;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* ==== HERO SECTION ==== */
.hero {
  background: linear-gradient(110deg, #23262F 60%, #161a20 100%);
  padding: 68px 0 52px 0;
  position: relative;
  margin-bottom: 60px;
}
.hero h1 {
  font-size: 2.45rem;
  color: #F5F5F7;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: .02em;
}
.hero p {
  font-size: 1.15rem;
  color: #91C358;
}
@media (max-width: 700px) {
  .hero, .section {
    padding: 28px 5px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
}

/* ==== BUTTONS ==== */
.cta-primary {
  display: inline-block;
  background: #27346B;
  color: #F5F5F7;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08em;
  letter-spacing: .03em;
  border: none;
  outline: none;
  border-radius: 7px;
  padding: 13px 35px;
  margin-top: 12px;
  box-shadow: 0 2px 12px #27346b30;
  transition: background .17s cubic-bezier(.74,.01,.21,.99), box-shadow .18s;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  position: relative;
}
.cta-primary:hover, .cta-primary:focus {
  background: #455486;
  color: #c1e89a;
  box-shadow: 0 4px 24px #27346b70;
}
.cta-secondary {
  background: transparent;
  color: #91C358;
  border: 2px solid #91C358;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  border-radius: 7px;
  padding: 12px 24px;
  margin-top: 24px;
  margin-bottom: 10px;
  transition: background .18s, color .17s, border .17s;
  cursor: pointer;
  text-transform: uppercase;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #91C358;
  color: #181B21;
}

button {
  font-family: inherit;
  font-size: 1em;
  cursor: pointer;
  outline: none;
  border: none;
  background: none;
}

/* ==== HEADER & NAV ==== */
header {
  background: #181B21;
  border-bottom: 1px solid #23262F;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
}
header img {
  height: 44px;
  width: auto;
  min-width: 110px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
header nav a {
  color: #F5F5F7;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: .03em;
  position: relative;
  padding: 2px 4px 2px 4px;
  border-radius: 3px;
  transition: color .2s, background .2s;
}
header nav a:hover, header nav a:focus {
  color: #91C358;
  background: #23262F;
}

/* Call to action in header */
.cta-primary {
  margin-left: 18px;
}
/* Hamburger menu toggle */
.mobile-menu-toggle {
  display: none;
  background: #91C358;
  color: #23262F;
  font-size: 2.1em;
  border-radius: 8px;
  padding: 4px 11px;
  margin-left: 12px;
  box-shadow: 0 1px 4px #171b21a1;
  border: 1.5px solid #363a43;
  transition: background .18s, color .15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #e9ffc1;
  color: #182033;
}

/* ==== MOBILE MENU & TRANSITIONS ==== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #1b1f26cc;
  backdrop-filter: blur(5px);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform .41s cubic-bezier(.85,.01,.46,.99);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 20px 0 0;
  background: #27346B;
  color: #F5F5F7;
  font-size: 2.3em;
  border-radius: 7px;
  border: 1.5px solid #363a43;
  padding: 2px 12px;
  transition: background .16s, color .15s;
}
.mobile-menu-close:focus,.mobile-menu-close:hover {
  background: #e9ffc1;
  color: #23262F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
  margin-top: 28px;
  padding-left: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.33em;
  color: #F5F5F7;
  margin-bottom: 4px;
  border-radius: 5px;
  padding: 7px 0 7px 0;
  min-width: 44px;
  transition: color .15s, background .16s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #91C358;
  background: #23262F;
}

/* RESPONSIVE NAV: hide main nav on mobile, show mobile menu toggle */
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .cta-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ==== FOOTER ==== */
footer {
  background: #181B21;
  border-top: 1px solid #1b2130;
  padding: 38px 0 18px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  justify-content: space-between;
}
footer nav {
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #B2CAE0;
  font-size: 1em;
  font-family: 'Montserrat', serif;
  margin-bottom: 7px;
  transition: color .18s;
}
footer nav a:hover,footer nav a:focus {
  color: #e1faf4;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.98em;
}
.contact-info span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #AAB4C0;
}
.contact-info img {
  width: 16px;
  height: 16px;
}
@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px !important;
  }
  .footer nav, .contact-info {
    width: 100%;
  }
}

/* ==== TESTIMONIALS ==== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F5F5F7;
  border-radius: 13px;
  box-shadow: 0 2px 22px #22242D22;
  margin-bottom: 20px;
  border-left: 5px solid #91C358;
  color: #23262F;
}
.testimonial-card blockquote {
  background: none;
  color: #27346B;
  font-style: italic;
  border-left: none;
  margin-bottom: 0;
  padding: 0;
}
.testimonial-card p {
  color: #455486;
  margin-bottom: 0;
  font-size: 1em;
}
@media (max-width: 700px) {
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 14px 10px;
  }
}

/* ==== BLOG TEASERS ==== */
.blogteaser-list {
  padding-top: 10px;
  padding-bottom: 10px;
}
.blogteaser-list > article {
  background: #22242D;
  border: 1.5px solid #363a43;
  border-radius: 10px;
  min-width: 220px;
  padding: 22px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px #22242D24;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .16s, border .14s, transform .12s;
}
.blogteaser-list > article:hover {
  border-color: #27346B;
  box-shadow: 0 6px 18px #23262f33;
  transform: translateY(-2px) scale(1.01);
}
.blogteaser-list article h3 {
  color: #91C358;
  font-size: 1.18rem;
}
.blogteaser-list article p {
  color: #e1e4ea;
  font-size: 1.08em;
}
.blogteaser-list article a {
  color: #27346B;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-top: 8px;
  transition: color .13s;
}
.blogteaser-list article a:hover {
  color: #91C358;
}

/* ==== CONTENT STYLES ==== */
dl {
  margin-left: 0;
}
dt {
  font-weight: 700;
  color: #91C358;
  margin-top: 14px;
}
dd {
  margin-left: 0;
  color: #e1e4ea;
  margin-bottom: 6px;
}

/* ==== FORM & CONTACT DETAILS ==== */
.contact-details ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 16px 0;
}
.contact-details li {
  margin-bottom: 10px;
  color: #F5F5F7;
}
.contact-details a {
  color: #91C358;
  text-decoration: underline;
  font-weight: 600;
}

/* ==== COOKIES BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #23262F;
  box-shadow: 0 -2px 24px #181B2150;
  color: #F5F5F7;
  padding: 28px 10px 20px 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  z-index: 9999;
  justify-content: center;
  font-size: 1em;
  transition: transform .34s cubic-bezier(.72,.02,.18,.99), opacity .18s;
}
.cookie-banner.closed {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner button {
  margin-left: 6px;
  margin-right: 6px;
  min-width: 110px;
  min-height: 38px;
  border-radius: 7px;
  border: 1.5px solid #363a43;
  font-size: 1em;
  font-family: 'Montserrat', Arial, sans-serif;
  text-align: center;
  margin-top: 0;
}
.cookie-banner .accept {
  background: #91C358;
  color: #23262F;
  font-weight: 700;
  transition: background .13s, color .13s;
}
.cookie-banner .accept:focus, .cookie-banner .accept:hover {
  background: #b6ed86;
  color: #181B21;
}
.cookie-banner .reject {
  background: #23262F;
  color: #91C358;
  font-weight: 700;
  border: 2px solid #91C358;
  transition: background .13s, color .13s;
}
.cookie-banner .reject:focus, .cookie-banner .reject:hover {
  background: #252d3f;
  color: #b6ed86;
}
.cookie-banner .customize {
  background: #27346B;
  color: #F5F5F7;
  font-weight: 700;
  transition: background .13s;
}
.cookie-banner .customize:focus,.cookie-banner .customize:hover {
  background: #3f4985;
}

/* Cookie Modal Styles */
.cookie-modal {
  position: fixed;
  z-index: 99999;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: #171b21d9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity .22s;
}
.cookie-modal.closed {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #23262F;
  color: #F5F5F7;
  border-radius: 12px;
  padding: 44px 32px 28px 32px;
  min-width: 285px;
  min-height: 120px;
  max-width: 94vw;
  box-shadow: 0 6px 44px #171b2135;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
}
.cookie-modal-content h2 {
  color: #91C358;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1em;
}
.cookie-category label {
  color: #F5F5F7;
  font-weight: 500;
  cursor: pointer;
}
.cookie-modal-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-modal .close-modal {
  background: #181B21;
  color: #91C358;
  border-radius: 7px;
  padding: 7px 21px;
  border: 1.5px solid #363a43;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .close-modal:hover {
  background: #27346B;
  color: #F5F5F7;
}

/* INPUT TOGGLES FOR COOKIE MODAL */
input[type='checkbox'] {
  accent-color: #91C358;
  width: 18px;
  height: 18px;
  border-radius: 3px;
}
input[type='checkbox'][disabled] {
  accent-color: #363a43;
}

@media (max-width: 600px) {
  .cookie-modal-content {
    padding: 24px 10px;
    min-width: 90vw;
  }
}

/* ==== UTILITY CLASSES FOR MARGINS ==== */
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 2px !important; }
.mb-4 { margin-bottom: 4px !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-20 { margin-bottom: 20px !important; }

.mt-8 { margin-top: 8px !important; }
.mt-16 { margin-top: 16px !important; }
.mt-24 { margin-top: 24px !important; }

/* ==== MEDIA QUERIES / RESPONSIVE LAYOUTS ==== */
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
    padding-right: 8px;
    padding-left: 8px;
  }
}
@media (max-width: 600px) {
  .container {
    padding-left: 4px;
    padding-right: 4px;
  }
}

/* ==== MICRO-INTERACTIONS & ANIMATIONS ==== */
a, button, .cta-primary, .cta-secondary, .mobile-menu-toggle, .mobile-menu-close {
  transition: color .14s, background .18s, box-shadow .2s, border .15s;
}
.section, .card, .feature-grid > div, .service-grid > div, .blogteaser-list > article, .testimonial-card {
  transition: box-shadow .17s, border .14s, background .18s;
}
input, textarea {
  border-radius: 5px;
  border: 1px solid #363a43;
  padding: 8px 12px;
  background: #23262F;
  color: #F5F5F7;
  font-size: 1em;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #91C358;
  background: #181B21;
}

/* ==== SCROLLBAR ==== */
body {
  scrollbar-color: #27346B #181B21;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 9px;
  background: #181B21;
}
::-webkit-scrollbar-thumb {
  background: #23262F;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #27346B
}

/* ==== SELECTION ==== */
::selection {
  background: #91C358;
  color: #23262F;
}

/* ==== ACCESSIBILITY ==== */
:focus-visible {
  outline: 3px solid #91C358;
  outline-offset: 2px;
}

/* ==== PRINT ==== */
@media print {
  * { color: #000 !important; background: none !important; }
  .cookie-banner, .cookie-modal, .mobile-menu { display: none !important; }
}

/* Industrial Accents (subtle lines, metallic feel) */
.section {
  border: 2px solid #23262F;
  box-shadow: 0 8px 64px #27346b11;
}
.feature-grid > div, .service-grid > div, .blogteaser-list > article {
  border-bottom: 3px solid #494c53;
  background: repeating-linear-gradient(135deg, #22242D 0px, #22242D 22px, #23262F 23px, #23262F 46px);
}
