/* --- RESET & NORMALIZE --- */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
  padding: 0;
  font-weight: inherit;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}


/* --- COLOR/VARIABLES: Industrial Modern/Brand Palette --- */
:root {
  --primary: #18405C;
  --secondary: #348F50;
  --accent: #F6F7F8;
  --bg-main: #161B22;
  --bg-soft: #22272e;
  --bg-footer: #1a1f25;
  --text-main: #F6F7F8;
  --text-primary: #ffffff;
  --text-secondary: #B1BAC4;
  --metal-1: #8A959E;
  --metal-2: #a1adb9;
  --metal-dark: #49525A;
  --danger: #b42525;
  --focus: #84b6f4;
  --shadow-card: 0 4px 28px 0 rgba(24,44,61,0.11), 0 1.5px 3px 0 rgba(60,60,60,0.08);
  --shadow-heavy: 0 8px 40px 0 rgba(0,5,10,0.25);
  --radius-soft: 14px;
  --radius-btn: 6px;
  --transition: 0.18s cubic-bezier(.4,.3,0,1);
}

/* --- TYPOGRAPHY --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.6;
  min-height: 100vh;
  scroll-behavior: smooth;
}

h1, h2, h3, .logo {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: var(--text-primary);
}
h1 {
  font-size: 2.5rem;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  margin-top: 0;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
p, li {
  color: var(--text-main);
  font-size: 1rem;
}
strong {
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
em {
  color: var(--metal-1);
  font-style: italic;
}
blockquote {
  font-style: italic;
  color: var(--primary);
}


/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--bg-soft);
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: var(--shadow-heavy);
}

/* Grid-alternatives via flex: content wrapper, grid, etc. */
.content-grid, .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  width: 100%;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--accent);
  color: #222b3a;
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-card);
  min-width: 260px;
  max-width: 400px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(24,40,70,0.19);
  transform: translateY(-2px) scale(1.008);
}
.testimonial-card blockquote {
  color: #222b3a;
  margin-bottom: 10px;
  font-size: 1.12rem;
}
.testimonial-author {
  font-size: 1rem;
  color: var(--metal-dark);
  opacity: 0.9;
  font-style: italic;
}

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

.feature-icons {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 10px;
}

/* --- HEADER/NAVIGATION --- */
header {
  width: 100%;
  background: var(--bg-main);
  border-bottom: 1px solid var(--metal-2);
  padding-top: 12px;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo img, .logo-footer img {
  height: 48px;
  width: auto;
  filter: grayscale(0.2) contrast(1.1); /* Industrial "metallic" logo styling */
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  letter-spacing: 0.04em;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
  padding: 7px 8px;
  border-radius: var(--radius-btn);
  transition: background var(--transition), color var(--transition);
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
  background: rgba(52,143,80,0.09);
}
.cta-btn-primary {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  background: var(--secondary);
  color: #fff;
  border: none;
  padding: 11px 28px;
  border-radius: var(--radius-btn);
  box-shadow: 0 2.5px 8px 0 rgba(52,143,80,0.06);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  margin-left: 10px;
  text-shadow: 0 1px 2px #14302016;
  outline: none;
}
.cta-btn-primary:hover, .cta-btn-primary:focus {
  background: #1e5c36;
  color: #caf7e3;
  box-shadow: 0 4px 14px 0 rgba(52,143,80,0.16);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  background: none;
  color: var(--secondary);
  font-size: 2.1rem;
  border: none;
  margin-left: 12px;
  display: none;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  z-index: 130;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--focus);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 330px;
  max-width: 92vw;
  height: 100vh;
  background: var(--bg-main);
  box-shadow: -6px 0 28px 0 rgba(31,37,51,0.13);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.5,.25,.31,.98);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--secondary);
  background: none;
  border: none;
  align-self: flex-end;
  margin: 20px 18px 2px 0;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--focus);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 34px 32px 34px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: var(--accent);
  font-weight: 600;
  font-size: 1.11rem;
  letter-spacing: 0.02em;
  padding: 8px 2px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #28353f;
  color: var(--secondary);
}
@media (max-width: 1050px) {
  .container {
    max-width: 93vw;
  }
  .main-nav a { font-size: 0.99rem; }
}
@media (max-width: 950px) {
  .main-nav { gap: 13px; }
  .container {
    padding: 0 7.5vw;
  }
}
@media (max-width: 800px) {
  .main-nav, .cta-btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
  header .container {
    justify-content: flex-start;
    padding-right: 0;
  }
}

@media (max-width: 900px) {
  .card-container { gap: 14px; }
  .testimonial-card { min-width: 200px; }
  .container { padding: 0 11px; }
}

/* --- HERO & MAIN SECTIONS --- */
.hero {
  padding: 52px 0 36px 0;
  background: linear-gradient(92deg,var(--bg-main) 85%, #23282d 100%);
  box-shadow: 0 7px 30px 0 rgba(10,20,38,0.06);
  margin-bottom: 45px;
  border-radius: 0 0 28px 28px;
}
.hero h1, .hero p { color: var(--accent); }
.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
  text-shadow: 0 1.5px 6px #0e232d10;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 22px;
  max-width: 740px;
  color: var(--text-secondary);
}

/* --- FEATURE LISTS --- */
.features {
  background: var(--bg-soft);
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-card);
  padding: 42px 0 38px 0;
  margin-bottom: 42px;
}
.features h2 {
  margin-bottom: 18px;
}
.features .content-wrapper, .features .text-section {
  margin-top: 8px;
  margin-bottom: 0;
}
.features ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 12px;
}
.features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  color: var(--metal-2);
  letter-spacing: 0.01em;
}
.features li img {
  height: 32px;
  width: 32px;
  filter: grayscale(0.7) brightness(1.2) contrast(1.2);
}

/* --- SERVICE CARDS/LISTS --- */
.services .content-wrapper {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 16px;
}
.services ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 0;
}
.services li {
  color: var(--accent);
  background: #1f2f39;
  border-left: 4px solid var(--secondary);
  padding: 12px 14px 10px 18px;
  border-radius: var(--radius-btn);
  font-size: 1.11rem;
}
.services em { color: var(--metal-1); }
.services .cta-btn-primary {
  margin-top: 14px;
}

/* --- CTA / Thank You Section --- */
.cta {
  background: var(--secondary);
  color: #fff;
  border-radius: var(--radius-soft);
  padding: 44px 0 36px;
}
.cta h2, .cta p {
  color: #fff;
  text-shadow: 0 1.5px 8px #16377720;
}
.cta .cta-btn-primary {
  background: #fff;
  color: var(--secondary);
  box-shadow: 0 2px 12px 0 #0b543210;
  font-weight: 700;
  margin-left: 0;
}
.cta .cta-btn-primary:hover {
  background: var(--bg-soft);
  color: #fff;
}

.thank-you {
  background: var(--bg-soft);
  padding: 62px 0;
  min-height: 390px;
  text-align: center;
  border-radius: var(--radius-soft);
}
.thank-you h1 {
  font-size: 2rem;
  color: var(--secondary);
}
.thank-you .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
}

/* --- CONTACT / INFO SECTIONS --- */
.contact .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}
.contact a {
  color: var(--secondary);
  text-decoration: underline;
  transition: color var(--transition);
}
.contact a:hover {
  color: var(--metal-1);
}

.map .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* --- FOOTER --- */
footer {
  background: var(--bg-footer);
  color: var(--metal-1);
  padding: 32px 0 18px 0;
  margin-top: 40px;
  border-top: 1.5px solid #263241;
  box-shadow: 0 -3px 20px 0 rgba(10,20,26,0.10);
}
footer .container {
  gap: 0;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}
.logo-footer img {
  height: 36px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 120px;
}
.footer-nav a, .footer-legal a {
  color: var(--metal-2);
  font-size: 0.98rem;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.footer-nav a:hover, .footer-legal a:hover {
  color: var(--secondary);
}
.social-links {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 2px;
}
.social-links a img {
  width: 28px; height: 28px;
  filter: grayscale(0.55) brightness(1.1) contrast(1.2);
  transition: filter 0.22s;
}
.social-links a:hover img {
  filter: none;
}
.footer-bottom {
  display: flex;
  align-items: center;
  font-size: 0.98rem;
  color: var(--metal-2);
  border-top: 1px solid #223043;
  padding-top: 12px;
  justify-content: center;
  margin-top: 12px;
}

/* --- LEGAL / POLICY PAGES --- */
.legal .text-section {
  background: var(--bg-soft);
  border-radius: var(--radius-btn);
  padding: 28px 18px;
  margin-top: 22px;
  color: var(--accent);
  line-height: 1.65;
  box-shadow: var(--shadow-card);
}
.legal h2 {
  font-size: 1.2rem;
  margin-top: 18px;
  margin-bottom: 7px;
  color: var(--secondary);
}
.legal li {
  margin-bottom: 7px;
  color: var(--metal-2);
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--bg-footer);
  color: var(--accent);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: 0 -6px 30px #18203026;
  z-index: 210;
  animation: slideUpFade 0.5s cubic-bezier(.4,.3,0,1);
}
@keyframes slideUpFade {
  0% { opacity: 0; transform: translateY(28px); }
  90% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  font-size: 1rem;
  color: var(--accent);
}
.cookie-actions {
  display: flex;
  gap: 16px;
}
.btn-cookie {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  padding: 9.5px 18px;
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 2.5px 8px 0 rgba(24,64,92,0.09);
}
.btn-cookie.accept {
  background: var(--secondary);
  color: #fff;
}
.btn-cookie.reject {
  background: #a12b2b;
  color: #fff;
}
.btn-cookie.settings {
  background: var(--bg-main);
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
}
.btn-cookie:hover, .btn-cookie:focus {
  box-shadow: var(--shadow-heavy);
}
.btn-cookie.accept:hover, .btn-cookie.accept:focus {
  background: #1e5c36;
}
.btn-cookie.reject:hover, .btn-cookie.reject:focus {
  background: #c43232;
}
.btn-cookie.settings:hover, .btn-cookie.settings:focus {
  background: var(--secondary);
  color: var(--accent);
  border-color: var(--secondary);
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(21,27,34,0.80);
  z-index: 222;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal.active {
  display: flex;
  animation: fadeIn 0.26s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: var(--bg-footer);
  padding: 38px 30px 28px 30px;
  border-radius: 17px;
  min-width: 320px;
  max-width: 93vw;
  box-shadow: var(--shadow-heavy);
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--accent);
  animation: slideUpFade 0.44s;
  font-size: 1.02rem;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  flex: 1 1 auto;
  font-weight: 600;
  color: var(--metal-1);
}
.cookie-switch {
  width: 44px; height: 24px;
  display: inline-flex;
  align-items: center;
}
.cookie-switch input { display: none; }
.cookie-switch-slider {
  position: relative;
  width: 44px;
  height: 24px;
  background: #222a34;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-switch-slider::before {
  content: "";
  position: absolute;
  left: 3px; top: 2.5px;
  width: 18px; height: 18px;
  background: var(--metal-2);
  border-radius: 50%;
  transition: transform 0.19s;
}
.cookie-switch input:checked + .cookie-switch-slider {
  background: var(--secondary);
}
.cookie-switch input:checked + .cookie-switch-slider::before {
  transform: translateX(20px);
  background: var(--accent);
}
.cookie-switch input:disabled + .cookie-switch-slider {
  opacity: 0.5;
  pointer-events: none;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: flex-end;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.24rem; }
  .hero {
    padding: 28px 0 18px 0;
  }
  .section {
    padding: 22px 7px;
    margin-bottom: 32px;
  }
  .content-grid, .content-wrapper {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: unset;
    padding: 16px 8px;
    font-size: 0.99rem;
  }
  .footer-main {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-bottom {
    font-size: 0.94rem;
  }
  .hero h1 { font-size: 1.55rem; }
  .hero p { font-size: 1rem; }
  .features li img, .feature-icons img {
    height: 22px; width: 22px;
  }
  .service .content-wrapper, .services .content-wrapper, .contact .content-wrapper {
    gap: 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 560px) {
  .cookie-modal-content {
    min-width: 0;
    padding: 16px 2vw;
    font-size: 0.98rem;
  }
  .container {
    padding: 0 4.5vw;
    max-width: 100vw;
  }
  .footer-main {
    gap: 8px;
    flex-direction: column;
  }
}

/* --- UTILITIES --- */
.mt-20 { margin-top: 20px; }
.mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* --- FOCUS STYLES --- */
a:focus, button:focus, .cta-btn-primary:focus {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* --- MICRO-INTERACTIONS --- */
.card, .testimonial-card, .cta-btn-primary, .btn-cookie {
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

/* --- Z-INDEX HANDLING --- */
header { z-index: 90; }
.mobile-menu { z-index: 200; }
.cookie-banner { z-index: 210; }
.cookie-modal { z-index: 222; }

/* --- PREVENT CONTENT OVERLAP --- */
.card, .testimonial-card, .section, .hero, .features, .services, .cta, .thank-you, .legal .text-section {
  margin-bottom: 24px;
}

/* --- END OF INDUSTRIAL MODERN CSS --- */
