/* RESET & BASE STYLES (Mobile-first, Normalize) */
html {
  box-sizing: border-box;
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #181b20;
  color: #e2e8f0;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  color: #A9C6DF;
  text-decoration: none;
  transition: color 0.16s cubic-bezier(.5,.31,0,1);
}
a:hover, a:focus {
  color: #F4C542;
  outline: none;
}
strong, b {
  font-weight: 600;
}

/* TYPOGRAPHY: Industrial-inspired */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #dde3ed;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.11;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
}
h3 {
  font-size: 1.5rem;
  line-height: 1.2;
}
h4 {
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

@media (min-width: 600px) {
  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.35rem; }
}

p, li, address, blockquote, span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #e2e8f0;
  line-height: 1.7;
}

/* CONTAINER & SPACING */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(29,32,36,0.97);
  border-radius: 18px;
  box-shadow: 0 2px 16px 1px rgba(35,69,106,0.05), 0 1.5px 0.5px 0 rgba(70,80,88,0.05);
}

@media (min-width: 900px) {
  .content-wrapper {
    gap: 38px;
  }
  main > section {
    padding: 56px 32px;
    margin-bottom: 72px;
  }
}

/* FLEXBOX REQUIRED LAYOUTS */
.feature-grid, .card-grid, .card-container, .content-grid {  
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.feature-grid > div, .card-container > div, .card {
  flex: 1 1 220px;
  min-width: 220px;
  background: #232932;
  border-radius: 14px;
  padding: 28px 20px 20px 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px 0 rgba(35,69,106,0.07);
  border: 1.5px solid #384959;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.22s cubic-bezier(.75,0,.25,1), border-color 0.17s linear;
}
.feature-grid > div:hover, .card:hover {
  border-color: #F4C542;
  box-shadow: 0 4px 24px -6px #F4C54233;
}

.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;
  background: #edeef0;
  color: #232932;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 10px 0 rgba(35,69,106,0.07);
  border: 1.2px solid #b8c7d9;
  transition: box-shadow 0.2s cubic-bezier(.5,0,.25,1);
}
.testimonial-card blockquote {
  font-size: 1.12rem;
  color: #232932;
  font-style: italic;
  font-weight: 500;
  margin: 0 0 0 0;
}
.testimonial-card span {
  color: #23456A;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Header, Logo, Main Nav */
header {
  background: #15181b;
  box-shadow: 0 2px 10px 0 rgba(21,24,27,0.11), 0 1px 0 #232932;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding-top: 12px;
  padding-bottom: 12px;
}
nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav ul li {
  list-style: none;
}
nav ul li a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.02rem;
  color: #dde3ed;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 7px;
  transition: background 0.17s, color 0.19s;
}
nav ul li a:hover, nav ul li a:focus {
  background: #23456A;
  color: #F4C542;
}
nav > a img {
  height: 44px;
  width: auto;
  margin-right: 26px;
  display: block;
}
.cta-primary {
  display: inline-block;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #232932;
  background: #F4C542;
  border: none;
  border-radius: 7px;
  padding: 12px 26px;
  margin-left: 30px;
  box-shadow: 0 2px 8px 0 #F4C54225;
  transition: background 0.16s, color 0.14s, box-shadow 0.22s;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: #232932;
  color: #F4C542;
  box-shadow: 0 4px 24px -6px #F4C54244;
}

/* Hamburger menu */
.mobile-menu-toggle {
  display: inline-flex;
  background: none;
  border: 2px solid #A9C6DF;
  color: #A9C6DF;
  font-size: 2.3rem;
  padding: 5px 13px 3px 13px;
  border-radius: 8px;
  margin-left: 18px;
  cursor: pointer;
  z-index: 1002;
  transition: border-color 0.2s, color 0.2s, background 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #A9C6DF22;
  border-color: #F4C542;
  color: #F4C542;
}
.mobile-menu {
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(27,30,33,0.96);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.65,.01,0,1);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 4vw;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: 2px solid #F4C542;
  font-size: 2.5rem;
  color: #F4C542;
  border-radius: 8px;
  margin-top: 28px;
  align-self: flex-end;
  cursor: pointer;
  padding: 5px 16px;
  transition: border-color 0.22s, color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F4C54222;
  color: #232932;
}
.mobile-nav {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
  align-items: center;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.28rem;
  line-height: 1.3;
  color: #dde3ed;
  font-weight: 800;
  background: none;
  padding: 14px 24px;
  border-radius: 7px;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F4C542;
  color: #232932;
}

/* Responsive Navigation Visibility */
nav ul, nav .cta-primary {
  display: none;
}
.mobile-menu-toggle {
  display: inline-flex;
}
@media (min-width: 1020px) {
  nav ul, nav .cta-primary {
    display: flex;
  }
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}

/* Breadcrumbs, Subtle Card-Like Sections */
ul > li {
  position: relative;
  margin-bottom: 18px;
  padding-left: 0;
  line-height: 1.65;
  font-size: 1rem;
}
ul > li img {
  width: 35px;
  height: 35px;
  margin-right: 13px;
  vertical-align: middle;
  filter: grayscale(75%) contrast(1.2);
}

/* ICONS & DECORATION */
address img {
  width: 18px;
  vertical-align: middle;
  margin-right: 6px;
  filter: grayscale(80%) contrast(1.3) brightness(0.85);
}

/* FOOTER */
footer {
  background: #1c1e22;
  padding: 0;
  min-height: 160px;
  border-top: 2px solid #384959;
  font-size: 16px;
}
footer .container {
  padding-top: 36px;
  padding-bottom: 36px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
footer section {
  margin-bottom: 10px;
}
footer h3, footer h4 {
  color: #F4C542;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
}
footer address, footer ul li, footer a {
  color: #b8c7d9;
  font-size: 1rem;
}
footer a {
  color: #A9C6DF;
  transition: color 0.14s;
}
footer a:hover {
  color: #F4C542;
}
footer address a {
  color: #F4C542;
  font-weight: 500;
}
footer ul {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 5px;
}
footer ul li {
  margin-bottom: 0;
}
@media (min-width: 820px) {
  footer .content-wrapper {
    flex-direction: row;
    gap: 36px;
    justify-content: space-between;
  }
  footer section {
    min-width: 245px;
  }
}

/* Newsletter form (If present in blog/footer) */
.newsletter-form {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 16px;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1.2px solid #b8c7d9;
  background: #232932;
  color: #dde3ed;
  font-size: 1rem;
}
.newsletter-form button {
  background: #F4C542;
  color: #232932;
  border: none;
  border-radius: 6px;
  padding: 11px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.22s;
  box-shadow: 0 1.5px 8px 0 #F4C54211;
}
.newsletter-form button:hover, .newsletter-form button:focus {
  background: #232932;
  color: #F4C542;
}

/* BUTTONS STANDARD & STATES */
button, .button, input[type="button"], input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  background: #23456A;
  color: #F4C542;
  border: none;
  outline: none;
  border-radius: 8px;
  padding: 10px 22px;
  margin-right: 10px;
  box-shadow: 0 0.5px 4px 0 rgba(35, 69, 106, 0.08);
  letter-spacing: 0.02em;
  transition: background 0.16s, color 0.14s, box-shadow 0.17s;
  cursor: pointer;
}
button:hover, button:focus, .button:hover, .button:focus, input[type="button"]:hover, input[type="submit"]:hover {
  background: #F4C542;
  color: #232932;
  box-shadow: 0 2px 18px -4px #F4C54222;
}

/* CARD & BOX STYLING */
.card, .feature-grid > div, .card-container > div {
  box-shadow: 0 2px 10px -2px #15181b18;
  border: 1.3px solid #34495E;
}

/* MICR0-INTERACTIONS & EFFECTS */
.card, .feature-grid > div, .testimonial-card, .cta-primary, .newsletter-form button {
  transition: box-shadow 0.18s cubic-bezier(.44,.21,.3,1), border 0.11s, background 0.14s, color 0.11s;
}
.card:hover, .feature-grid > div:hover {
  box-shadow: 0 6px 28px -6px #F4C54233;
  border-color: #F4C542;
}

/* RESPONSIVE FLEX DIRECTION */
@media (max-width: 900px) {
  .content-grid, .feature-grid, .card-container {
    flex-direction: column;
    gap: 22px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.44rem; }
  nav ul { gap: 17px; }
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  main > section, .section {
    padding: 32px 8px;
    margin-bottom: 40px;
    border-radius: 11px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 10px;
  }
  .card, .feature-grid > div {
    padding: 18px 11px 18px 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .card-container, .feature-grid, .content-grid {
    gap: 12px;
  }
}

/* INDUSTRIAL MODERN VISUALS */
.card, .feature-grid > div {
  border-radius: 14px;
  background: linear-gradient(125deg, #232932 89%, #384959 100%);
  border: 1.48px solid #384959;
  box-shadow: 0 2px 24px -6px #23456A22, 0 1px 0 #F4C54211;
}
.feature-grid > div img,
.card img,
ul li img {
  background-color: #232932;
  border: 2px solid #394a5c;
  border-radius: 50%;
  box-shadow: 0 1px 10px 0 #15181b11;
  padding: 6px;
  width: 40px;
  height: 40px;
  margin-bottom: 7px;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  z-index: 11111;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #232932;
  color: #dde3ed;
  padding: 26px 18px 21px 18px;
  border-top: 2px solid #F4C542;
  box-shadow: 0 -2px 24px -5px #15181b2a;
  gap: 22px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
  transition: opacity 0.24s cubic-bezier(.75,.01,0,1), transform 0.3s cubic-bezier(.84,0,.23,1);
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 7px;
  border: 1.3px solid #23456A;
  background: #23456A;
  color: #F4C542;
  padding: 11px 20px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, border-color .13s;
}
.cookie-banner button.cookie-accept {
  background: #F4C542;
  border-color: #F4C542;
  color: #232932;
}
.cookie-banner button.cookie-accept:hover { background: #232932; color: #F4C542; border-color: #F4C542; }
.cookie-banner button.cookie-reject {
  background: #232932;
  border-color: #b8c7d9;
  color: #dde3ed;
}
.cookie-banner button.cookie-reject:hover { color: #F4C542; border-color: #F4C542; background: #1d2126; }
.cookie-banner button.cookie-settings {
  background: #A9C6DF;
  color: #232932;
  border-color: #A9C6DF;
}
.cookie-banner button.cookie-settings:hover { background: #F4C542; color: #232932; border-color: #F4C542; }

@media (max-width: 650px){
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    padding: 17px 5vw 13px 5vw;
  }
  .cookie-banner .cookie-btns {
    gap: 7px;
    width: 100%;
  }
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 11113;
  background: rgba(36, 42, 51, 0.88);
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.19s cubic-bezier(.75,.01,0,1);
}
.cookie-modal-overlay.active {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  background: #232932;
  color: #dde3ed;
  font-family: 'Roboto', Arial, sans-serif;
  width: 98vw;
  max-width: 430px;
  border-radius: 17px;
  box-shadow: 0 6px 44px -10px #15181b77, 0 1.5px 12px 0 #F4C54222;
  padding: 33px 23px 20px 23px;
  position: relative;
  transform: scale(0.97);
  opacity: 0;
  transition: opacity 0.2s, transform 0.18s;
}
.cookie-modal-overlay.active .cookie-modal {
  transform: scale(1);
  opacity: 1;
}
.cookie-modal h3 {
  margin-bottom: 20px;
  color: #F4C542;
  font-size: 1.27rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
}
.cookie-category {
  border-bottom: 1px solid #384959;
  padding-bottom: 9px;
  margin-bottom: 17px;
}
.cookie-category:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}
.cookie-category label {
  font-weight: 600;
  color: #A9C6DF;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
}
.cookie-category .category-desc {
  color: #b8c7d9;
  font-size: 0.98rem;
  margin-bottom: 7px;
}
.cookie-category input[type='checkbox'] {
  accent-color: #F4C542;
  width: 21px;
  height: 21px;
  margin-right: 9px;
}
.cookie-modal-close {
  position: absolute;
  top: 11px;
  right: 11px;
  background: none;
  border: 2px solid #A9C6DF;
  border-radius: 7px;
  color: #A9C6DF;
  font-size: 1.5rem;
  padding: 5px 13px;
  cursor: pointer;
  transition: border-color 0.18s, color 0.14s;
}
.cookie-modal-close:hover {
  border-color: #F4C542;
  color: #F4C542;
}
.cookie-modal-actions {
  display: flex;
  gap: 11px;
  margin-top: 19px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  min-width: 112px;
}

@media (max-width: 450px) {
  .cookie-modal {
    padding: 16px 5vw 12px 5vw;
  }
}

/* ACCESSIBILITY: FOCUS STATES */
a:focus, button:focus, .cta-primary:focus, input:focus {
  outline: 2px solid #F4C542;
  outline-offset: 2px;
}

/* MISC */
hr {
  border: none;
  border-top: 1.2px solid #232932;
  margin: 25px 0;
}

::-webkit-scrollbar { width: 12px; background: #181b20; }
::-webkit-scrollbar-thumb { background: #23456A; border-radius: 11px; }

/* --- END Axloffice Industrial Modern CSS --- */
