/* =====================
   CSS RESET & BASE
======================= */
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;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background-color: #181D23;
  color: #E3EFF8;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #E3EFF8;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  outline: none;
  border: none;
  background: none;
}
::selection {
  background: #20417E;
  color: #E3EFF8;
}

/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

/* =====================
   BRAND COLORS/STYLE
======================= */
:root {
  --primary: #20417E;
  --secondary: #5881B0;
  --accent: #E3EFF8;
  --dark-bg: #181D23;
  --mid-bg: #232933;
  --light-surface: #232933;
  --metal: #A2B2C2;
  --shadow: rgba(30,44,55,0.16);
  --text-main: #E3EFF8;
  --text-invert: #1C242C;
}

/* =====================
   TYPOGRAPHY
======================= */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.13;
  color: var(--accent);
  margin-bottom: 16px;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.03rem; }
p, li, a, th, td, dd {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 8px;
}
b, strong { font-weight: 700; }

/* Decorative Industrial Heading Borders */
h2, h3 {
  position: relative;
}
h2::before {
  content: '';
  display: block;
  width: 32px;
  height: 4px;
  background: linear-gradient(90deg,var(--metal),transparent 80%);
  border-radius: 2px;
  position: absolute;
  top: -16px; left: 0;
}

/* =====================
   HEADER & NAVIGATION
======================= */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  background: var(--mid-bg);
  padding: 0 28px;
  height: 76px;
  box-shadow: 0 2px 10px var(--shadow);
  z-index: 100;
}
header img {
  height: 46px;
  margin-right: 24px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--metal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
  position: relative;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--primary);
  transition: width 0.2s;
  margin-top: 3px;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--accent);
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}

.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--primary);
  color: var(--accent);
  font-weight: 700;
  font-size: 1em;
  padding: 12px 30px;
  margin-left: 28px;
  border-radius: 6px;
  box-shadow: 0 3px 24px rgba(50,80,110,0.10);
  letter-spacing: 1px;
  border: 1.5px solid var(--metal);
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s, transform 0.16s;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--secondary);
  color: var(--dark-bg);
  box-shadow: 0 5px 20px var(--primary), 0 2px 14px var(--shadow);
  border-color: var(--primary);
  transform: translateY(-2px) scale(1.035);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.2rem;
  cursor: pointer;
  margin-left: 22px;
  z-index: 121;
  display: none;
  transition: color 0.15s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: var(--secondary);
}


/* =====================
   MOBILE MENU
======================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(24,29,35,0.99);
  z-index: 2100;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.5,1,.3,1.01);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2rem;
  align-self: flex-end;
  margin: 22px 24px 12px 0;
  cursor: pointer;
  transition: color 0.13s;
  z-index: 2201;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding: 24px 32px;
}
.mobile-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  padding: 8px 0;
  border-radius: 4px;
  transition: background 0.16s, color 0.16s;
  width: 100%;
  text-align: left;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--mid-bg);
  color: var(--primary);
}

/* =====================
   LAYOUT CONTAINERS & PATTERNS
======================= */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--mid-bg);
  border-radius: 10px;
  box-shadow: 0 3px 32px var(--shadow);
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.features-grid > div {
  background: var(--dark-bg);
  border: 1.5px solid var(--metal);
  border-radius: 9px;
  padding: 26px 24px 18px;
  box-shadow: 0 2px 16px var(--shadow);
  min-width: 230px;
  flex: 1 1 235px;
  max-width: 320px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, border-color 0.16s;
  position: relative;
}
.features-grid > div:hover,
.features-grid > div:focus-within {
  box-shadow: 0 8px 32px var(--primary);
  border-color: var(--secondary);
  z-index: 2;
}
.features-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 17px;
  filter: brightness(87%) contrast(1.07);
}
.features-grid h3 {
  color: var(--secondary);
  font-size: 1.09rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  font-weight: 700;
}
.features-grid p {
  font-size: 1em;
  color: var(--text-main);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--mid-bg);
  border: 1.5px solid var(--metal);
  border-radius: 9px;
  box-shadow: 0 2px 16px var(--shadow);
  margin-bottom: 20px;
  padding: 26px 24px;
  position: relative; /* For possible icon overlays */
  min-width: 230px;
}
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: var(--accent);
  color: var(--text-invert);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 20px var(--shadow);
  font-size: 1.05em;
  min-width: 227px;
  margin-bottom: 20px;
  border-left: 5px solid var(--primary);
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px var(--primary);
}
.testimonial-card b {
  color: var(--primary);
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}

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

.map-snippet {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  background: var(--mid-bg);
  border-radius: 7px;
  padding: 9px 17px;
  box-shadow: 0 2px 9px var(--shadow);
  font-size: 0.97em;
}
.map-snippet img {
  width: 32px;
  height: 32px;
  filter: grayscale(15%) brightness(90%) contrast(1.07);
}
.map-snippet span {
  color: var(--metal);
}

/* =====================
   HERO/BANNER
======================= */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  background: linear-gradient(105deg,rgba(32,65,126,0.88) 31%,rgba(48,58,72,0.88) 94%);
  box-shadow: 0 2px 22px var(--shadow);
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}
.hero .content-wrapper {
  gap: 15px;
  max-width: 730px;
  color: var(--accent);
}
.hero h1 {
  color: var(--accent);
  font-size: 2.6rem;
  letter-spacing: 0.03em;
}
.hero p {
  font-size: 1.15em;
  color: var(--accent);
  max-width: 540px;
  margin-bottom: 20px;
}

/* =====================
   TABLES (PRICING/FAQ)
======================= */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 20px var(--shadow);
}
th, td {
  padding: 15px 12px;
  text-align: left;
  font-size: 0.99em;
}
th {
  background: var(--primary);
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09em;
  letter-spacing: 0.035em;
}
td {
  background: var(--mid-bg);
  color: var(--accent);
  border-bottom: 2px solid var(--metal);
}
tr:last-child td {
  border-bottom: none;
}

.no-hidden-costs {
  background: var(--light-surface);
  color: var(--accent);
  border-radius: 6px;
  padding: 15px 22px;
  margin-top: 15px;
  box-shadow: 0 2px 12px var(--shadow);
  font-size: 1em;
  font-family: 'Roboto', Arial, sans-serif;
  border-left: 4px solid var(--primary);
}

/* =====================
   FOOTER
======================= */
footer {
  background: var(--mid-bg);
  padding: 42px 0 24px 0;
  margin-top: auto;
  border-top: 2px solid var(--metal);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 10;
}
footer nav {
  display: flex;
  gap: 18px;
  margin-bottom: 7px;
  flex-wrap: wrap;
  justify-content: center;
}
footer a {
  color: var(--metal);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .99rem;
  transition: color 0.13s;
}
footer a:hover,
footer a:focus {
  color: var(--secondary);
}
.contact-details {
  color: var(--metal);
  font-size: 0.97em;
  text-align: center;
}
.contact-details a {
  color: var(--secondary);
  font-weight: 500;
  transition: color 0.14s;
}
.contact-details a:hover {
  color: var(--accent);
}

/* =====================
   COOKIE CONSENT BANNER & MODAL
======================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2900;
  background: var(--mid-bg);
  color: var(--accent);
  padding: 22px 16px 22px 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  border-top: 2px solid var(--metal);
  box-shadow: 0 -2px 20px var(--shadow);
  font-size: 1.03em;
  animation: cookieSlideIn 0.6s cubic-bezier(.66,1,.6,1.01);
}
@keyframes cookieSlideIn {
  from {bottom: -120px; opacity: 0;}
  to {bottom: 0; opacity: 1;}
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  border-radius: 4.5px;
  background: var(--primary);
  color: var(--accent);
  border: 1px solid var(--metal);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97em;
  font-weight: 600;
  padding: 10px 20px;
  margin: 0;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, border-color 0.17s;
}
.cookie-btn.reject {
  background: #202933;
  color: var(--metal);
  border-color: var(--metal);
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: var(--secondary);
  color: var(--dark-bg);
}
.cookie-btn.settings {
  background: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: var(--secondary);
  color: var(--dark-bg);
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: var(--metal);
  color: var(--dark-bg);
}

/* Cookie MODAL */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30,36,45,0.98);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(.45,1.4,.60,.99);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: var(--mid-bg);
  padding: 34px 22px;
  border-radius: 14px;
  box-shadow: 0 4px 28px var(--primary);
  min-width: 340px;
  max-width: 94vw;
  color: var(--accent);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-content h2 {
  color: var(--accent);
  font-size: 1.16rem;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.cookie-toggle {
  appearance: none;
  width: 40px;
  height: 18px;
  background: var(--dark-bg);
  border: 2px solid var(--metal);
  border-radius: 13px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.16s, border-color 0.16s;
}
.cookie-toggle:checked {
  background: var(--primary);
  border-color: var(--primary);
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--metal);
  transition: transform 0.19s cubic-bezier(.44,1.1,.63,1.08);
}
.cookie-toggle:checked:before {
  background: var(--accent);
  transform: translateX(18px);
}
.cookie-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--metal);
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.12s;
}
.cookie-close-btn:hover {
  color: var(--secondary);
}


/* =====================
   RESPONSIVE DESIGN
======================= */
@media (max-width: 1010px) {
  .container {
    max-width: 98vw;
    padding: 0 6vw;
  }
  .features-grid {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .features-grid > div {
    min-width: 170px;
    max-width: 100%;
    flex: 1 1 160px;
  }
  .hero h1 { font-size: 2rem; }
}
@media (max-width: 768px) {
  header {
    padding: 0 10px;
    height: 64px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 10px;
    font-size: 1.03em;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    min-height: 220px;
    padding: 22px 0;
    margin-bottom: 35px;
  }
  .hero h1 { font-size: 1.23rem; }
  .container {
    padding: 0 2vw;
  }
  .content-wrapper { gap: 9px; }
  .section { margin-bottom: 36px; padding: 24px 7px; }
  .features-grid, .testimonials, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .features-grid > div, .card {
    min-width: 0 !important;
    max-width: 100%;
    flex: 1 1 100%;
    padding: 17px 8px 10px;
  }
  .testimonial-card {
    padding: 15px;
    font-size: 1em;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
  }
  .map-snippet {
    padding: 7px 8px;
    gap: 7px;
    font-size: 0.95em;
  }
  footer {
    padding: 25px 0 13px 0;
    gap: 10px;
  }
  table, th, td { font-size: 0.98em; }
  .cookie-modal-content {
    min-width: 0;
    width: 93vw;
    padding: 22px 10px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 17px 8px 17px 11px;
    font-size: 0.95em;
  }
}

@media (max-width: 470px) {
  .hero h1, h1 { font-size: 1.01rem; }
  .section { margin-bottom: 19px; padding: 15px 3px; }
}

/* =====================
   MICRO-INTERACTIONS / HOVER
======================= */
.features-grid > div:after {
  content: '';
  display: block;
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg,var(--metal) 54%,transparent 100%);
  border-radius: 50%;
  z-index: 1;
  opacity: 0.08;
  pointer-events: none;
}
.features-grid > div:hover:after {
  opacity: 0.18;
}
.features-grid a.cta-btn {
  margin-top: 16px;
  align-self: flex-end;
  min-width: 170px;
}
.features-grid a.cta-btn:hover {
  background: var(--primary);
  color: var(--accent);
}

/* =====================
   FORM STYLES (for contact forms if any)
======================= */
input, textarea, select {
  background: var(--mid-bg);
  color: var(--accent);
  border: 1px solid var(--metal);
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 12px;
  font-size: 1em;
  box-shadow: 0 2px 10px var(--shadow);
  transition: border-color 0.14s, box-shadow 0.18s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 2px 14px var(--primary);
}

label {
  font-size: 1em;
  color: var(--secondary);
  margin-bottom: 4px;
  display: block;
}

/* =====================
   FAQ/DEFINITION LISTS
======================= */
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--accent);
  margin-top: 14px;
  font-size: 1.05em;
}
dd {
  margin: 3px 0 15px 20px;
  color: var(--metal);
  font-size: 0.98em;
}

/* =====================
   LISTS/ULS
======================= */
ul {
  padding-left: 18px;
}
ul li {
  color: var(--metal);
  margin-bottom: 6px;
  position: relative;
  font-size: 1em;
  padding-left: 17px;
}
ul li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  position: absolute;
  left: 0;
  top: 7px;
  opacity: 0.85;
}

/* =====================
   SCROLLBAR (modern/industrial look)
======================= */
::-webkit-scrollbar {
  width: 0.7em;
  background: var(--mid-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 6px;
  border: 2px solid var(--mid-bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* =====================
   Z-INDEX STRATEGY & OVERLAP PROTECTION
======================= */
header, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 2100;
}

/* =====================
   ACCESSIBILITY
======================= */
:focus {
  outline: 2.5px solid var(--secondary);
  outline-offset: 1.5px;
}

/* =====================
   PRINT STYLES
======================= */
@media print {
  body, .section, header, footer {
    background: #fff !important;
    color: #111 !important;
    box-shadow: none !important;
  }
  a, a:visited { color: #000 !important; }
}
