/*! RESET & BASE STYLES */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #181C20;
  color: #F7F7F2;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 16px;
  position: relative;
  letter-spacing: 0.02em;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #6BAF6B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFFFFF;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 12px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #F7F7F2;
  text-shadow: 1px 2px 7px rgba(35,47,60,0.15);
  margin-bottom: 16px;
  text-wrap: balance;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 1.8rem; margin-bottom: 20px; }
h3 { font-size: 1.2rem; margin-bottom: 14px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
p {
  margin-bottom: 16px;
  color: #E1E2E6;
}
strong { font-weight: 700; color: #fff; }
small { color: #ABB1B8; font-size: 85%; }
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #20242A;
  border-radius: 8px;
  overflow: hidden;
}
th, td {
  padding: 14px 18px;
  border-bottom: 1px solid #363C45;
  color: #F7F7F2;
  text-align: left;
  font-size: 1rem;
}
th {
  background: #242933;
  font-weight: 700;
}
tr:last-child td {
  border-bottom: none;
}
dt {
  color: #fff;
  font-weight: 700;
  margin-top: 12px;
}
dd { margin-left: 0; margin-bottom: 10px; color: #E1E2E6; }

/* BRAND COLORS shorthand */
:root {
  --primary: #1A3C58;
  --secondary: #6BAF6B;
  --accent: #F7F7F2;
  --brand-bg-dark: #181C20;
  --brand-bg-card: #22262B;
  --brand-bg-metal: #232A31;
  --gray-100: #f7f7f2;
  --gray-200: #E1E2E6;
  --gray-800: #23272B;
  --metal-shadow: 0 4px 22px 0 rgba(34,44,56,0.21);
}


/* LAYOUT COMPONENTS */
.container {
  max-width: 1120px;
  width: 100vw;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .featured-card {
  background: var(--brand-bg-card);
  box-shadow: var(--metal-shadow);
  border-radius: 12px;
  border: 1.5px solid #28313D;
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  transition: box-shadow 0.22s;
}
.card:hover, .featured-card:hover {
  box-shadow: 0 7px 32px 0 rgba(76, 95, 112, 0.30);
  border-color: var(--secondary);
}
.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 {
  background: #F7F7F2;
  color: #23272B;
  border-radius: 10px;
  box-shadow: 0 2px 12px 1px rgba(21,28,36,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  min-width: 230px;
  max-width: 420px;
  font-size: 1.12rem;
  position: relative;
  border: 1px solid #E1E2E6;
  transition: transform 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 4px 24px 4px rgba(24,31,38,0.14);
}
.star-rating {
  color: #FFD700;
  letter-spacing: 2px;
  font-size: 1.3em;
  margin-top: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* NAVIGATION Styles */
.main-nav {
  background: #232A31;
  border-bottom: 2px solid #1A3C58;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  position: relative;
  z-index: 54;
}
.main-nav a img {
  max-height: 48px;
  margin-right: 16px;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  color: #F7F7F2;
  padding: 6px 0 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s, color 0.18s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus, .main-nav ul li.active a {
  color: var(--secondary);
  border-color: var(--secondary);
}
.btn-primary {
  background-color: var(--secondary);
  color: #23272B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 1px 7px 1px rgba(34,44,56,0.09);
  margin-left: 28px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  outline: none;
  letter-spacing: 0.03em;
}
.btn-primary:hover, .btn-primary:focus {
  background: #499451;
  color: #fff;
  box-shadow: 0 2px 18px 2px rgba(34,44,56,0.16);
}

/* HAMBURGER And MOBILE MENU */
.mobile-menu-toggle {
  background: var(--secondary);
  color: #23272B;
  font-size: 2.1rem;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 21px;
  z-index: 65;
  display: none;
  transition: background .2s, color .2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #419141;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #1A232C;
  z-index: 999;
  transform: translateX(-110vw);
  transition: transform 0.36s cubic-bezier(.4,.7,.2,1);
  box-shadow: 4px 0 24px 0 rgba(12,16,24,0.22);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 38px 36px 36px;
  min-width: 230px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 21px;
  right: 28px;
  background: none;
  border: none;
  color: #FFF;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 1005;
  padding: 0 8px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 56px;
  width: 100%;
}
.mobile-nav a {
  color: #F7F7F2;
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.03em;
  padding: 14px 0;
  border-bottom: 1px solid #25324A;
  width: 100%;
  transition: color 0.16s, background 0.16s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--secondary);
  background: #262C32;
}

/* HIDE MainNav on mobile, show hamburger */
@media (max-width: 1024px) {
  .main-nav ul { gap: 15px; }
  .btn-primary { margin-left: 12px; padding: 10px 14px; font-size: 0.98rem; }
}
@media (max-width: 900px) {
  .main-nav ul { gap: 9px; }
  .main-nav a img { max-height: 38px; }
}
@media (max-width: 820px) {
  .main-nav ul, .main-nav .btn-primary { display: none !important; }
  .mobile-menu-toggle { display: block !important; }
  .main-nav { padding-right: 70px; }
}
@media (max-width: 500px) {
  .mobile-menu { padding: 20px 8vw 32px 8vw; }
  .mobile-menu-close { top: 14px; right: 15px; }
}

/* SECTIONS AND FLEX CONTAINERS */
section { background: none; }
.content-wrapper:has(.testimonial-card), .content-wrapper .testimonial-card:first-child {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}
.content-wrapper .testimonial-card { margin: 0 14px 24px 0; }
.neutral-map-placeholder {
  background: #23272B;
  color: #ABB1B8;
  border-radius: 7px;
  padding: 40px 12px;
  text-align: center;
  margin-top: 20px;
  font-size: 1.1em;
  min-height: 120px;
  border: 1px solid #2B3139;
}
@media (max-width: 820px) {
  .container {
    padding: 0 6vw;
  }
  .section {
    padding: 24px 8px;
    margin-bottom: 40px;
  }
  .testimonial-card { min-width: 180px; max-width: 100%; }
}
@media (max-width: 768px) {
  .content-wrapper, .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .card, .featured-card {
    min-width: 0;
    width: 100%;
    margin: 0 auto 20px auto;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-item { gap: 8px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.2rem; }
}

/* LIST STYLES WITH ICONS AND HIERARCHY */
ul li strong {
  color: var(--secondary);
}
ul li img, ol li img {
  vertical-align: middle;
  margin-right: 12px;
  width: 32px;
  height: 32px;
  background: #151A21;
  border-radius: 6px;
  box-shadow: 0 1.5px 6px 0 rgba(40,54,70,0.07);
  border: 1px solid #253040;
  padding: 4px;
}
ol {
  counter-reset: step;
}
ol li {
  position: relative;
  margin-bottom: 18px;
  padding-left: 12px;
  font-size: 1rem;
}

/* FOOTER */
footer {
  background: #181C20;
  border-top: 2px solid #6BAF6B;
  padding: 38px 0 18px 0;
  margin-top: 75px;
  color: #B1B8BE;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 10px;
  justify-content: center;
}
.footer-nav a {
  color: #A6B2B6;
  font-size: 1rem;
  margin-bottom: 12px;
  border-bottom: 1.5px dotted transparent;
  transition: border .15s, color .15s;
}
.footer-nav a:hover { color: var(--secondary); border-bottom: 1.5px dotted var(--secondary); }
.footer-brand {
  margin: 25px 0 22px 0;
  display: flex;
  justify-content: center;
}
.footer-brand img {
  max-width: 54px;
  filter: grayscale(30%) brightness(1.07) contrast(0.98) drop-shadow(0px 2px 12px #20262e70);
}
.footer-contact {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 5px;
  font-size: 1em;
}
.footer-contact a { color: var(--secondary); }
.footer-contact a:hover { color: #fff; }

/* BUTTONS & INTERACTIONS */
button, .btn-primary {
  transition: background .22s, color .22s, box-shadow .18s, border-color .15s;
  outline: none;
}
button:focus-visible, .btn-primary:focus-visible {
  outline: 2.5px solid var(--secondary);
  outline-offset: 1.5px;
}

/* CARDS & CARD LISTS (SERVICE, TEAM, TRUST) */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-listing, .card-container {
  gap: 26px;
  margin-bottom: 28px;
}
@media (max-width: 768px) {
  .footer-contact {
    flex-direction: column;
    gap: 8px;
  }
}

/* COOKIE BANNER and PREFERENCES MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #22262B;
  color: #F7F7F2;
  box-shadow: 0 -2px 14px 2px #1118223a;
  z-index: 1400;
  padding: 24px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  animation: cookie-slide-in 0.6s cubic-bezier(.44,.9,.24,1);
}
@keyframes cookie-slide-in {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: var(--secondary);
  color: #23272B;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
.cookie-banner button.secondary {
  background: #233849;
  color: #F7F7F2;
  border: 1.5px solid var(--secondary);
}
.cookie-banner button:focus, .cookie-banner button:hover {
  background: #419141;
  color: #fff;
}
@media (max-width: 520px) {
  .cookie-banner { font-size: 0.95rem; padding: 20px 7vw 18px 7vw; }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1500;
  min-width: 326px;
  background-color: #242933;
  color: #F7F7F2;
  border-radius: 14px;
  box-shadow: 0 0 34px 0 #181C2050;
  transform: translate(-50%,-50%) scale(0.91);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  padding: 37px 34px 22px 34px;
  max-width: 97vw;
}
.cookie-modal.open {
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
  pointer-events: auto;
}
.cookie-modal h3 {
  font-size: 1.18rem;
  margin-bottom: 16px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-family: 'Roboto', sans-serif;
  font-size: 1.02rem;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px; height: 18px;
}
.cookie-modal .cookie-category {
  background: #1A3C58;
  color: #fff;
  padding: 8px 13px;
  border-radius: 7px;
  font-size: 0.99rem;
  margin-right: 13px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 22px;
}
.cookie-modal button {
  background: var(--secondary);
  color: #23272B;
  padding: 8px 20px;
  border-radius: 7px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
.cookie-modal .close-btn {
  background: #233849;
  color: #F7F7F2;
  border: 1.5px solid var(--secondary);
}
.cookie-modal button:focus, .cookie-modal button:hover,
.cookie-modal .close-btn:focus, .cookie-modal .close-btn:hover {
  background: #419141;
  color: #fff;
}
@media (max-width: 500px) {
  .cookie-modal { min-width: 0; padding: 18px 2vw 14px 2vw; font-size: 0.92rem; }
  .cookie-modal .modal-actions { gap: 8px; }
}

/* RESPONSIVE FONT SIZE */
@media (max-width: 500px) {
  body { font-size: 15px; }
  h1 { font-size: 1.39rem; }
  h2 { font-size: 1.09rem; }
  th, td { font-size: 0.97rem; }
}

/* INDUSTRIAL MODERN EXTRAS */
.section, .card, .testimonial-card, .feature-item {
  box-shadow: var(--metal-shadow);
}
section {
  border-top: 1.5px solid #242933;
  border-bottom: 1.5px solid #232A31;
}
/* metallic accent rectangle for hero/cta */
.section.hero, .section.cta {
  background: linear-gradient(90deg, #20242A 89%, #496076 100%);
  border-left: 6px solid var(--secondary);
  box-shadow: 0 7px 32px 0 rgba(25,30,33,0.10);
}

/* FOCUS VISIBLE fix for accessibility */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 10px; background: #23272B;
}
::-webkit-scrollbar-thumb {
  background: #2B3139; border-radius: 6px;
}

/* Industrial Modern FONT Fallbacks */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;  /* Fallback only, real load via CDN advised */
  src: local('Montserrat'), local('Montserrat-Regular');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular');
}

/* INDUSTRIAL MODERN FONTS */
body, p, .main-nav ul li a, .mobile-nav a, table, .text-section, .feature-item, .footer-contact {
  font-family: 'Roboto', Arial, sans-serif;
}
h1, h2, h3, .btn-primary, .main-nav ul li a, .mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* MISC EXTRAS AND UTILITIES */
.hidden { display: none !important; }

/* VISUAL HIERARCHY by spacing */
.section:not(:last-child) {
  margin-bottom: 60px;
}
.card:not(:last-child) {
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .section { margin-bottom: 32px; }
}

/* UTILITY CLASSES */
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex { display: flex; }
.row { flex-direction: row; }
.col { flex-direction: column; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-20 { gap: 20px; }
.mt-2 { margin-top: 20px; }
.mb-2 { margin-bottom: 20px; }
.mt-1 { margin-top: 10px; }

/* ENSURE NO OVERLAPS */
.card, .testimonial-card, .card-container > *, .content-grid > * {
  margin-bottom: 20px;
}

/* PREVENT OVERLAPPING & Z-INDEX */
.main-nav, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 1003;
}

/* Prevent overlapping and clickable area */
.btn-primary, button, .mobile-menu-toggle, .mobile-menu-close {
  touch-action: manipulation;
}

/* MICROINTERACTIONS */
.btn-primary, .mobile-nav a, .cookie-banner button, .cookie-modal button {
  transition: background .17s, color .18s, box-shadow .15s;
}
.card:hover, .testimonial-card:hover {
  transition: box-shadow 0.18s, border-color 0.20s, transform 0.18s;
  cursor: pointer;
}

/* Print: Remove nav, footer, cookie banner etc */
@media print {
  .main-nav, .footer-nav, .footer-brand, .footer-contact, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
}
