/* CSS 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,
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;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
  display: block;
}
body {
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  background: #1A222B;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}
button {
  cursor: pointer;
}

/* VARIABLES & FONTS */
:root {
  --color-primary: #234567;
  --color-secondary: #8AB8E6;
  --color-accent: #F2F5F7;
  --color-dark: #14181C;
  --color-light: #ffffff;
  --color-metal: #aeb3b8;
  --color-iron: #43474a;
  --color-bg: #1A222B;
  --shadow-industrial: 0 4px 16px 0 rgba(20,34,40,.08), 0 1.5px 4px 0 rgba(50,60,80,.06);
  --radius-industrial: 10px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500|Roboto:400,500,700&display=swap');

body {
  background: var(--color-bg);
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-light);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.12;
  margin-bottom: 16px;
}
h1 { font-size: 2.3rem; margin-bottom: 24px; }
h2 { font-size: 1.6rem; margin-bottom: 20px; }
h3 { font-size: 1.15rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.0rem; margin-bottom: 10px; }
p, li, blockquote {
  color: var(--color-accent);
  font-size: 1rem;
  margin-bottom: 12px;
}
strong {
  color: var(--color-secondary);
  font-weight: 700;
}

/* BUTTONS */
.cta-button, .cta-button:visited {
  background: linear-gradient(90deg, var(--color-secondary), #4c6e96);
  color: var(--color-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius-industrial);
  box-shadow: 0 2px 12px rgba(72,97,130,0.12);
  padding: 14px 34px;
  display: inline-block;
  margin-top: 18px;
  margin-bottom: 10px;
  border: none;
  transition: background 0.2s, transform 0.15s;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-light);
  color: var(--color-primary);
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 6px 18px 0 rgba(47,58,73,0.08);
  text-decoration: none;
}

button {
  background: var(--color-iron);
  color: var(--color-accent);
  border-radius: var(--radius-industrial);
  padding: 9px 20px;
  margin: 0 6px;
  transition: background 0.18s, color 0.12s;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.03em;
}
button:hover, button:focus {
  color: var(--color-primary);
  background: var(--color-accent);
}

/* NAVIGATION */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 20px 5vw 12px 5vw;
  background: var(--color-dark);
  box-shadow: 0 2px 10px 3px rgba(19,28,40,0.08);
  position: relative;
  z-index: 99;
}
.main-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.16s, color 0.15s;
  margin: 0 1px;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-dark);
}
.main-nav img {
  height: 44px;
  width: auto;
  margin-right: 18px;
}

.cta-button.main-nav {
  margin-left: auto;
}

.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 26px;
  z-index: 110;
  background: var(--color-secondary);
  color: var(--color-dark);
  border-radius: 5px;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(9,17,28,0.12);
  transition: background .15s, color .15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-light);
  color: var(--color-primary);
}

.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: var(--color-dark);
  box-shadow: 0 0 80px 0 rgba(20,20,40,0.7);
  z-index: 4002;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.53,.01,.44,1.07);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--color-secondary);
  color: var(--color-dark);
  font-size: 2.2rem;
  border-radius: 5px;
  padding: 7px 17px;
  z-index: 4501;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-light);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: 90px;
  gap: 14px;
}
.mobile-nav a {
  color: var(--color-accent);
  background: none;
  padding: 20px 30px;
  font-size: 1.23rem;
  font-family: var(--font-display);
  font-weight: 600;
  border-bottom: 1px solid rgba(130,130,140,0.13);
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-dark);
}

/* HERO & CONTAINERS */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  background: rgba(27,32,41,0.96);
  border-radius: var(--radius-industrial);
  box-shadow: var(--shadow-industrial);
  padding: 38px 26px 32px 26px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  background: rgba(30,34,37,0.88);
  border-left: 5px solid var(--color-secondary);
  padding-left: 36px!important;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #23282F;
  border: 1.5px solid var(--color-metal);
  border-radius: var(--radius-industrial);
  box-shadow: 0 2px 9px 0 rgba(30,35,44,0.10);
  padding: 26px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 270px;
  max-width: 360px;
  transition: border 0.13s, box-shadow 0.18s, transform 0.14s;
}
.card:hover, .card:focus-within {
  border: 1.5px solid var(--color-secondary);
  box-shadow: 0 8px 26px 0 rgba(40,70,120,0.13);
  transform: translateY(-3px) scale(1.025);
}
/* CARDS: For usage in flex containers */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.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;
  background: var(--color-accent);
  color: #222e3d;
  border-radius: var(--radius-industrial);
  box-shadow: 0 2px 12px rgba(10,19,24,0.09);
  margin-bottom: 20px;
  flex-direction: column;
  min-width: 0;
  max-width: 700px;
}
.testimonial-card blockquote {
  color: #181d24;
  font-family: var(--font-display);
  font-size: 1.09rem;
  font-weight: 600;
  margin-bottom: 10px;
  background: none;
  border-left: 4px solid var(--color-secondary);
  padding: 6px 0 6px 15px;
}
.testimonial-card strong {
  color: var(--color-primary);
}
.testimonial-card div {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: #313131;
}
.testimonial-card img {
  width: 22px;
  margin-right: 2px;
  vertical-align: -3px;
}

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

/* LISTS AND ICONS */
ul, ol {
  margin-left: 2px;
  margin-bottom: 18px;
  padding-left: 24px;
}
ul li, ol li {
  display: flex;
  align-items: flex-start;
  font-size: 1rem;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--color-accent);
  position: relative;
  line-height: 1.55;
}
ul li img {
  margin-right: 7px;
  width: 22px;
  height: 22px;
  filter: grayscale(70%) contrast(99%) brightness(1.16);
}

/* FOOTER */
footer {
  background: #181C22;
  padding: 38px 0 18px 0;
  border-top: 3px solid var(--color-metal);
  box-shadow: 0 -1.5px 8px 0 rgba(12,18,25,0.10);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-bottom: 22px;
}
.footer-nav a {
  color: var(--color-metal);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 4px;
  transition: color 0.16s, background 0.11s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-dark);
}
.footer-contact {
  color: var(--color-accent);
  font-size: 0.97rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  margin-top: 10px;
  text-align: center;
}
.footer-contact span {
  margin-bottom: 2px;
}

/* COOKIES BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #23282F;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px 22px 28px;
  z-index: 4800;
  box-shadow: 0 -6px 40px 0 rgba(40, 60, 80, .18);
  font-family: var(--font-body);
  gap: 16px;
  transition: transform .35s;
}
.cookie-banner.hide {
  transform: translateY(140%);
}
.cookie-banner p {
  font-size: 1rem;
  color: var(--color-accent);
  margin-bottom: 0;
  margin-right: 18px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
}
.cookie-banner button {
  font-size: 0.97rem;
  border-radius: 7px;
  padding: 8px 22px;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 700;
  box-shadow: 0 1.5px 5px rgba(30,50,100,0.11);
  margin: 0;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-accent);
  color: var(--color-dark);
}
.cookie-banner .cookie-settings {
  background: none;
  color: var(--color-accent);
  border: 1px solid var(--color-secondary);
}
.cookie-banner .cookie-settings:hover {
  background: var(--color-metal);
  color: var(--color-dark);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  background: rgba(24, 28, 31, 0.96);
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: opacity 0.26s;
}
.cookie-modal {
  display: flex;
  flex-direction: column;
  max-width: 380px;
  background: #29303a;
  color: var(--color-accent);
  border-radius: 13px;
  box-shadow: 0 8px 44px 0 rgba(30,42,55,.14);
  padding: 34px 28px 28px 28px;
  z-index: 5100;
  gap: 24px;
  position: relative;
  animation: modalFadeIn 0.35s cubic-bezier(0.45,0.2,0.4,1.1);
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(.94); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  color: var(--color-secondary);
  font-size: 1.3rem;
}
.cookie-modal .cookie-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1.07rem;
  gap: 10px;
}
.cookie-modal .cookie-checkbox {
  display: inline-flex;
  width: 22px;
  height: 22px;
  background: var(--color-metal);
  border-radius: 4px;
  appearance: none;
  border: 1.5px solid var(--color-secondary);
  margin-right: 10px;
  transition: border 0.14s, background 0.15s;
}
.cookie-modal .cookie-checkbox:checked {
  background: var(--color-secondary);
  border: 2px solid var(--color-primary);
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 17px;
  justify-content: flex-end;
}
.cookie-modal .cookie-close {
  position: absolute;
  right: 12px;
  top: 7px;
  background: none;
  color: var(--color-accent);
  font-size: 2rem;
  border: none;
  padding: 2px 10px;
  cursor: pointer;
  transition: color .17s;
}
.cookie-modal .cookie-close:hover {
  color: var(--color-secondary);
}

/* FORMS (if applicable) */
input, textarea, select {
  background: #26303A;
  border: 1.5px solid var(--color-metal);
  border-radius: 6px;
  color: var(--color-accent);
  font-size: 1rem;
  padding: 10px 12px;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--color-secondary);
  background: #1C2126;
}

/* SPACING & FLEX PATTERNS */
.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;
}

/* HOVER & FOCUS (MICRO INTERACTIONS) */
a {
  transition: color 0.18s, background 0.17s;
}
a:focus {
  outline: 2px dashed var(--color-secondary);
  outline-offset: 2px;
}
blockquote {
  transition: border .15s, background .13s;
}
blockquote:hover {
  border-left: 5px solid var(--color-primary);
  background: rgba(230,236,240,0.10);
}

/* INDUSTRIAL METALIC ACCENTS */
.card, .content-wrapper, .cookie-modal, .footer-contact {
  border-radius: var(--radius-industrial);
}
.card, .content-wrapper, .footer-contact {
  border: 1px solid rgba(160,168,185,0.17);
}
.card:before, .card:after {
  pointer-events: none;
  z-index: 0;
  position: absolute;
  left: 16px; top: -9px;
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-metal), transparent);
  opacity: 0.15;
  border-radius: 99px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1000px) {
  .main-nav {
    gap: 8px;
    padding: 18px 2vw 9px 2vw;
  }
  .container {
    max-width: 98vw;
    padding: 0 5px;
  }
  .content-wrapper, .text-section {
    padding: 30px 9px 24px 9px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding: 0 3vw;
  }
  .content-wrapper, .text-section {
    padding: 23px 5vw 16px 5vw;
  }
  h1 { font-size: 1.45rem; margin-bottom: 18px; }
  h2 { font-size: 1.13rem; margin-bottom: 13px; }
  .section {
    margin-bottom: 34px;
    padding: 18px 3vw;
  }
  .card-container, .content-grid {
    gap: 14px;
  }
  .testimonial-card {
    padding: 12px;
    font-size: .99rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 10px 15px 15px;
    gap: 9px;
  }
  .cookie-modal {
    max-width: 97vw;
    padding: 20px 8px 17px 9px;
  }
}
@media (max-width: 550px) {
  .container {
    max-width: 100vw;
    padding: 0 1vw;
  }
  .footer-contact {
    font-size: 0.90rem;
  }
  .footer-nav {
    gap: 8px;
    font-size: 0.97rem;
  }
}

/* UTILITIES */
.hide {
  display: none !important;
}
.show {
  display: flex !important;
}

/* VISUAL HIERARCHY */
.section:nth-of-type(odd) .content-wrapper {
  border-left: 5px solid var(--color-secondary);
}
.section:nth-of-type(even) .content-wrapper {
  border-left: 5px solid var(--color-primary);
}

/* ICONS AND BADGES ACCENTS */
ul li img, .footer-nav a[aria-current], .main-nav a[aria-current] {
  filter: drop-shadow(0 1.7px 1.5px rgba(34, 56, 89, .06));
}

/* SELECTION COLOR */
::selection {
  background: var(--color-secondary);
  color: var(--color-dark);
}

/* SCROLLBAR (optional, not critical for core requirements) */
::-webkit-scrollbar {
  width: 10px;
  background: #21262c;
}
::-webkit-scrollbar-thumb {
  background: #31363b;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover {
  background: #40464f;
}

/* INDUSTRIAL MODERN TEXTURE (subtle metallic strip for top nav) */
.main-nav {
  background-image: repeating-linear-gradient(135deg, rgba(138,184,230,0.06) 0 4px, transparent 4px 8px);
}

/* ANIMATE: Fade in on main blocks */
.content-wrapper, .card, .testimonial-card {
  animation: fadein industrial 0.8s cubic-bezier(.47,.16,.38,0.97) 0.02s backwards;
}
@keyframes fadein {
  from { opacity: 0; transform: translateY(17px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* END CSS */
