/* CSS RESET & BASELINE (Normalize + mobile-first) */
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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #ececec;
  background: #181d22;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }

/* BRAND COLORS */
:root {
  --primary: #2171b5;
  --secondary: #0d3d56;
  --accent: #f8fafc;
  --industrial-dark: #181d22;
  --industrial-grey: #22282f;
  --metallic: #bbc3ce;
  --border-dark: #29303a;
  --shadow: rgba(24, 29, 34, 0.16);
  --cta-gradient: linear-gradient(90deg, #2171b5 60%, #0d3d56 99%);
  --focus-glow: 0 0 0 3px #2171b590;
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
h1 { font-size: 2.6em; }
h2 { font-size: 2em; }
h3 { font-size: 1.35em; }
h4 { font-size: 1.1em; }
h5 { font-size: 1em; }
h6 { font-size: 0.9em; }

@media (max-width:600px) {
  h1 { font-size: 2em; }
  h2 { font-size: 1.5em; }
}

p, li, a, ul, ol, dl, dt, dd {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1em;
  color: #ececec;
  line-height: 1.65;
}
p { margin-bottom: 18px; }
strong { color: var(--metallic); font-weight: 700; }

/* CONTAINER & WRAPPER */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  background: var(--industrial-grey);
  border-radius: 12px;
  box-shadow: 0 4px 24px var(--shadow);
  padding: 40px 24px;
  margin-bottom: 60px;
}

@media (max-width: 600px) {
  .content-wrapper {
    padding: 28px 8px;
  }
}

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

/* HEADER */
header {
  background: linear-gradient(90deg, #23272b 80%, #181d22 100%);
  border-bottom: 2px solid var(--border-dark);
  box-shadow: 0 2px 12px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 30px;
}

header img {
  width: 148px;
  min-width: 110px;
}
header nav.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  color: var(--accent);
  padding: 8px 18px;
  border-radius: 6px;
  background: none;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
header nav.main-nav a:hover, header nav.main-nav a:focus {
  background: var(--secondary);
  color: var(--metallic);
}
header nav.main-nav .cta-main {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: 0 2px 8px #0d3d5630;
  margin-left: 10px;
  padding: 10px 24px;
  transition: background 0.2s, box-shadow 0.2s;
}
header nav.main-nav .cta-main:hover,
header nav.main-nav .cta-main:focus {
  background: var(--secondary);
  color: var(--accent);
  box-shadow: 0 4px 18px #0d3d56a0;
}

button.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  border: none;
  color: var(--metallic);
  font-size: 2em;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px #181d2230;
  transition: background 0.2s, color 0.2s;
}
button.mobile-menu-toggle:focus {
  outline: none;
  box-shadow: var(--focus-glow);
  background: var(--primary);
}

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

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20, 23, 28, 0.98);
  box-shadow: 0 8px 32px #0d3d56b0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform .38s cubic-bezier(.5,.02,.2,1), opacity .3s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  margin: 32px 0 20px 32px;
  background: var(--secondary);
  border: none;
  color: var(--metallic);
  font-size: 2.1em;
  border-radius: 50%;
  width: 54px; height: 54px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px #0d3d5630;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:focus {
  outline: none;
  box-shadow: var(--focus-glow);
  background: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 30px;
  width: 100%;
  align-items: flex-start;
  padding: 0 42px;
}
.mobile-nav a {
  color: var(--accent);
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3em;
  padding: 12px 0;
  border-radius: 6px;
  width: 100%;
  display: block;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--metallic);
  background: var(--secondary);
}

@media (max-width: 600px) {
  .mobile-nav {
    padding: 0 14px;
  }
  .mobile-menu-close {
    margin-left: 16px;
  }
}

/* MAIN CONTENT */
main {
  width: 100%;
  margin-bottom: 40px;
}

.features-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 30px 0 0 0;
}
.features-grid > div, .service-list > div {
  background: #212730;
  border-radius: 10px;
  box-shadow: 0 2px 10px var(--shadow);
  flex: 1 1 230px;
  min-width: 220px;
  max-width: 48%;
  padding: 28px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid #252b31;
  transition: transform 0.22s, box-shadow 0.25s;
}
.features-grid > div:hover, .service-list > div:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 6px 32px #2171b520;
  border-color: var(--primary);
}
.features-grid img, .service-list img {
  width: 40px;
  filter: grayscale(10%) brightness(0.97) drop-shadow(0 2px 3px #3335);
}
.features-grid h3, .service-list h3 {
  font-size: 1.19em;
  margin: 0 0 8px 0;
  color: var(--metallic);
}
.features-grid p, .service-list p {
  color: #d8e1ec;
  font-size: 1em;
}

@media (max-width: 900px) {
  .features-grid > div,.service-list > div {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .features-grid,
  .service-list {
    gap: 16px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #212730;
  border-radius: 10px;
  padding: 32px 18px;
  box-shadow: 0 2px 10px var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid #23272b;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px #2171b520;
  border-color: var(--primary);
  transform: translateY(-2px) scale(1.02);
}

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

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

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

@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* TESTIMONIALS */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 22px;
  min-width: 240px;
  background: var(--accent);
  color: #232830;
  border-radius: 12px;
  box-shadow: 0 2px 14px #21282c2c;
  border-left: 6px solid var(--primary);
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border 0.18s;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}
.testimonial-card p {
  color: #222;
  font-size: 1.13em;
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--secondary);
  font-size: 1em;
  font-weight: 700;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 26px #2171b565;
  border-left-color: var(--metallic);
}

/* CTA & BUTTONS */
.cta-main, .cta-link, .cta-section a, .thank-you-section a {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: var(--cta-gradient);
  color: #fff !important;
  border-radius: 8px;
  padding: 13px 36px;
  font-size: 1.12em;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 10px #2171b555, 0 1px 3px #0d3d5610;
  margin-top: 10px;
  transition: background 0.19s, box-shadow 0.18s, color 0.18s, transform 0.18s;
  border: 0;
  cursor: pointer;
}
.cta-main:hover, .cta-main:focus,
.cta-link:hover, .cta-link:focus {
  background: var(--secondary);
  color: var(--metallic) !important;
  box-shadow: 0 8px 32px #2171b560;
  outline: none;
  transform: translateY(-2px) scale(1.03);
}
.cta-link {
  background: none;
  color: var(--primary) !important;
  box-shadow: none;
  padding: 0;
  margin-left: 12px;
  font-size: 1.05em;
}
.cta-link:hover, .cta-link:focus {
  color: var(--secondary) !important;
  text-decoration: underline;
}

/* PRICING TABLE */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #212730;
  border-radius: 12px;
  overflow: hidden;
  margin: 24px 0 30px 0;
  box-shadow: 0 2px 16px #181d2240;
}
.pricing-table th, .pricing-table td {
  padding: 18px 12px;
  text-align: left;
  border-bottom: 1px solid #28303a;
  font-size: 1em;
}
.pricing-table th {
  background: var(--secondary);
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02em;
  letter-spacing: 0.03em;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
.pricing-table td {
  color: #d7e0e7;
}

/* FAQ SECTION */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}
.faq-list dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.16em;
  color: var(--metallic);
  margin-bottom: 4px;
  font-weight: 700;
  position: relative;
}
.faq-list dd {
  margin-bottom: 8px;
  color: #ebeef0;
  background: #232930;
  padding: 14px 22px 14px 19px;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  box-shadow: 0 2px 6px #181d2230;
}

/* LISTS AND OL/UL STYLES */
ul, ol {
  margin: 0 0 20px 28px;
  color: #dadfe5;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1em;
}
ul li strong, ol li strong {
  color: var(--metallic);
}

/* CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.contact-details > div {
  background: #23282f;
  border-radius: 8px;
  padding: 18px 20px;
  min-width: 180px;
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #e3eaef;
  font-size: 1em;
  margin-bottom: 12px;
}
.contact-details img {
  width: 30px;
  filter: grayscale(20%) brightness(1.07) drop-shadow(0 2px 2px #232d35);
}
.contact-details a {
  color: var(--primary);
  text-decoration: underline;
  word-break: break-all;
}
.message-alert {
  background: #2171b5;
  color: #fff;
  border-radius: 8px;
  padding: 22px 16px;
  font-size: 1.05em;
  margin: 26px 0 10px 0;
  box-shadow: 0 1px 8px #2171b555;
}

/* THANK YOU, ALERT, COLORED CARDS */
.thank-you-section {
  text-align: center;
}
.thank-you-section p {
  color: #e5e8eb;
  font-size: 1.17em;
}

/* FOOTER */
footer {
  background: #181d22;
  border-top: 2px solid var(--border-dark);
  box-shadow: 0 -1px 10px #181e2940;
  padding: 38px 0 25px 0;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.footer-wrapper > * {
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-nav a {
  color: var(--metallic);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02em;
  padding: 6px 0;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--primary);
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #a6b1c2;
  font-size: .98em;
}
.footer-contact img {
  width: 19px;
  margin-right: 8px;
  filter: brightness(1.5);
  vertical-align: middle;
}
.footer-contact a {
  color: var(--primary);
  text-decoration: underline;
}
@media (max-width:900px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }
}

/* SPACING, ALIGNMENT FOR FLEXBOX */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 1024px) {
  .contact-details, .features-grid, .service-list, .footer-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .content-wrapper { padding: 20px 6px; }
  .container { padding: 0 8px; }
  .contact-details > div { flex: 1 1 100%; min-width: 0; }
  .testimonial-slider { gap: 12px; }
}
@media (max-width:480px) {
  .testimonial-card { padding: 14px 8px; }
  .content-wrapper { padding: 9vw 3vw; }
}

/* TRANSITIONS, MICRO-INTERACTIONS */
a, .feature-item, .button, .card, .testimonial-card, .cta-main, .cta-link, .mobile-menu, .mobile-nav a {
  transition: all .17s cubic-bezier(.6,.07,.26,1.09);
}
.card:hover, .cta-main:hover, .footer-nav a:hover, .feature-item:hover {
  cursor: pointer;
}

/* MODALS & OVERLAY */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,.78);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999;
  opacity: 0; pointer-events: none;
  transition: opacity .22s;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #232a34;
  color: var(--accent);
  padding: 38px 28px 28px 28px;
  border-radius: 16px;
  max-width: 380px;
  width: 96vw;
  box-shadow: 0 4px 32px #2171b540;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}
.cookie-modal h2 {
  color: var(--primary);
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1em;
}
.cookie-category label {
  color: var(--accent); font-size: 1em;
}
.cookie-modal-buttons {
  display: flex;
  gap: 17px;
  margin-top: 18px;
}
button.cookie-btn {
  padding: 9px 21px;
  border-radius: 7px;
  border: none;
  background: var(--industrial-grey);
  color: var(--metallic);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05em;
  cursor: pointer;
  box-shadow: 0 1px 5px #181d2240;
  transition: background .15s, color .18s, box-shadow .18s;
}
button.cookie-btn.accept {
  background: var(--primary);
  color: #fff;
}
button.cookie-btn.accept:hover, button.cookie-btn.accept:focus {
  background: var(--secondary);
  color: var(--accent);
}
button.cookie-btn.reject {
  background: #313942;
}
button.cookie-btn.reject:hover, button.cookie-btn.reject:focus {
  background: var(--secondary);
  color: var(--metallic);
}
button.cookie-btn.settings {
  border: 1px dashed var(--metallic);
  background: none;
}
button.cookie-btn.settings:hover, button.cookie-btn.settings:focus {
  background: var(--industrial-grey);
}

.cookie-modal .close-modal {
  position: absolute;
  right: 19px;
  top: 13px;
  color: var(--accent);
  background: none;
  border: none;
  font-size: 1.45em;
  cursor: pointer;
  transition: color .17s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: var(--primary);
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #232a34;
  box-shadow: 0 -8px 22px #0d3d5655;
  color: var(--accent);
  z-index: 99999;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between;
  padding: 26px 7vw 26px 7vw;
  gap: 18px;
  opacity: 1;
  transform: translateY(0);
  transition: transform .35s cubic-bezier(.6,.11,.18,1.17), opacity .22s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-consent-banner .cookie-message {
  font-size: 1.05em;
  color: var(--metallic);
  line-height: 1.53;
  margin-bottom: 0;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-consent-banner button {
  padding: 9px 18px;
  border: none;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1em;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 8px #2171b534;
  margin-left: 0;
  transition: background .15s, color .18s, box-shadow .18s, border .18s;
}
.cookie-consent-banner button.accept {
  background: var(--primary);
  color: #fff;
}
.cookie-consent-banner button.accept:hover,
.cookie-consent-banner button.accept:focus {
  background: var(--secondary);
  color: var(--metallic);
}
.cookie-consent-banner button.reject {
  background: #313942;
  color: var(--metallic);
}
.cookie-consent-banner button.reject:hover,
.cookie-consent-banner button.reject:focus {
  background: var(--secondary);
  color: var(--accent);
}
.cookie-consent-banner button.settings {
  background: none;
  border: 1.5px dashed var(--primary);
  color: var(--primary);
}
.cookie-consent-banner button.settings:hover,
.cookie-consent-banner button.settings:focus {
  background: var(--industrial-grey);
  color: var(--metallic);
}
@media (max-width:700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 17px 3vw 17px 3vw;
  }
  .cookie-consent-banner .cookie-buttons {
    gap: 9px;
    flex-wrap: wrap;
  }
}

/* MISC */
::-webkit-scrollbar {
  width: 10px;
  background: #23272b;
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 8px;
}
::-webkit-input-placeholder { color: #a2afba; }
::-moz-placeholder { color: #a2afba; }
:-ms-input-placeholder { color: #a2afba; }
::placeholder { color: #a2afba; }

/* VISUAL/INDUSTRIAL STYLINGS */
body, .content-wrapper, .section, .footer-wrapper {
  border-radius: 0;
}
.features-grid > div, .service-list > div, .card, .testimonial-card {
  border-bottom: 3px solid var(--metallic);
}
header, footer, .card, .content-wrapper, .testimonial-card {
  /* Subtle metalic rim */
  box-shadow: 0 1px 7px #c8cbe010, 0 2px 9px #0d3d5637;
}

/* FOCUS OUTLINE */
a:focus, button:focus,
.cta-main:focus, .cta-link:focus, input:focus, select:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  z-index: 2;
}

/* DISABLED STATE */
button:disabled, a[aria-disabled='true'] {
  opacity: 0.5;
  pointer-events: none;
}

/* UTILITY CLASSES */
.text-center { text-align: center; }
.hide { display: none !important; }

/* END */
