/* RESET & BASE STYLES */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #181C20;
  color: #E7E9EC;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-smooth: always;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #6FB6A2;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #F7F5F0;
  outline: none;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 12px;
}
strong {
  color: #F7F5F0;
  font-weight: 700;
}

/* BRAND FONT-FACE (google/fonts fallback) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; color: #F7F5F0; }
h2 { font-size: 2rem; color: #6FB6A2; }
h3 { font-size: 1.4rem; color: #F7F5F0; }
h4, h5, h6 { color: #B9B9BD; font-weight: 600; }

p, ul, ol { font-size: 1rem; }
.hero-subheadline {
  color: #B9B9BD;
  font-size: 1.25rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 42px;
  max-width: 580px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  background: transparent;
  border-radius: 18px;
  box-shadow: none;
  padding: 0;
}
.text-section {
  background: #23272C;
  border-radius: 18px;
  padding: 30px 24px;
  margin-bottom: 30px;
}

/* ============= HEADER & NAV ============= */
header {
  background: #1C2329;
  border-bottom: 2px solid #363942;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
}
header img {
  height: 44px;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  letter-spacing: 0.01em;
}
.main-nav a {
  color: #F7F5F0;
  padding: 8px 10px;
  position: relative;
  border-radius: 6px;
  transition: background .17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #234278CC;
  color: #6FB6A2;
}
.btn-primary {
  background: #234278;
  color: #F7F5F0;
  border: none;
  border-radius: 5px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 28px;
  font-size: 1rem;
  letter-spacing: 0.04em;
  margin-left: 24px;
  box-shadow: 0 3px 18px 0 #23427844;
  cursor: pointer;
  transition: background .21s, color .19s, box-shadow .15s;
  text-shadow: 0 1px #0004;
}
.btn-primary:hover, .btn-primary:focus {
  background: #6FB6A2;
  color: #181C20;
  box-shadow: 0 4px 20px 0 #6fb6a244;
}
.btn-secondary {
  background: transparent;
  color: #6FB6A2;
  border: 2px solid #6FB6A2;
  border-radius: 5px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 11px 27px;
  font-size: 1rem;
  margin-top: 24px;
  cursor: pointer;
  transition: background .2s, color .2s, border .2s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #6FB6A2;
  color: #181C20;
  border-color: #6FB6A2;
}

/* ============= SECTIONS & STRUCTURE ============= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #23272C;
  color: #F7F5F0;
  border-radius: 12px;
  box-shadow: 0 2px 15px 0 #0005;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  min-width: 260px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F7F5F0;
  color: #1C2329;
  border-radius: 13px;
  box-shadow: 0 2px 20px 0 #2223;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 270px;
  font-size: 1.05rem;
}
.testimonial-card p {
  color: #181C20;
  font-size: 1.12rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 6px;
}
.testimonial-card span {
  color: #234278;
  font-size: 1rem;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 25px;
  margin-bottom: 10px;
}
.feature-grid > div {
  background: #23272C;
  border-radius: 10px;
  padding: 24px 22px;
  min-width: 180px;
  color: #6FB6A2;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 1px 10px 0 #19213d22;
  margin-bottom: 20px;
}
.feature-grid img {
  width: 40px;
  margin-bottom: 12px;
  filter: grayscale(15%) brightness(1.1) drop-shadow(0px 1px 2px #0003);
}

/* BLOG & PARTNER GRID EXTRAS */
.blog-post-grid,
.partner-logo-grid,
.solution-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  margin-top: 16px;
}
.blog-post-grid > div,
.partner-logo-grid > div,
.solution-cards > div {
  background: #23272C;
  color: #F7F5F0;
  border-radius: 10px;
  padding: 22px 18px;
  min-width: 240px;
  flex: 1 1 300px;
  box-shadow: 0 1px 10px 0 #0004;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.partner-logo-grid img { width: 56px; margin-bottom: 8px; filter: grayscale(65%) brightness(1.08); }
.partner-logo-grid span { color: #6FB6A2; font-family: 'Montserrat', Arial, sans-serif; margin-top: 4px; font-size: 1rem; font-weight: 700; }

.partnership-stories { margin-top: 14px; color: #B9B9BD; }
.partnership-stories h3 { color: #F7F5F0; font-size: 1.17rem; }

/* Footer Styles */
footer {
  background: #181C20;
  color: #6FB6A2;
  padding: 32px 0 14px;
  margin-top: 36px;
  border-top: 2px solid #363942;
}
footer .container {
  flex-direction: row;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.footer-menu a {
  color: #6FB6A2;
  font-size: 0.95rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color .19s;
}
.footer-menu a:hover, .footer-menu a:focus { color: #F7F5F0; }
.brand-info { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; color: #B9B9BD; font-size: 0.98rem; }
.brand-info img { width: 36px; margin-bottom: 5px; }
.brand-info span { color: #6FB6A2; font-size: 1rem; font-family: 'Montserrat', Arial, sans-serif; }
.social-icons { display: flex; flex-direction: row; gap: 18px; margin-top: 8px; }
.social-icons img {
  width: 28px;
  height: 28px;
  transition: filter .18s;
  filter: grayscale(80%) brightness(1.17);
}
.social-icons img:hover, .social-icons img:focus { filter: grayscale(0%) brightness(1.00) drop-shadow(0px 2px 8px #6FB6A266); }

/* ======= MOBILE NAV STYLES ======= */
.mobile-menu-toggle {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 102;
  background: #23272C;
  color: #6FB6A2;
  border: none;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 1.7rem;
  box-shadow: 0 1px 9px 0 #0003;
  cursor: pointer;
  display: none;
  transition: background .17s, color .14s, box-shadow .14s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #234278;
  color: #F7F5F0;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #181C20f2;
  z-index: 110;
  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity .35s cubic-bezier(.7,.2,.3,1), transform .35s cubic-bezier(.7,.2,.3,1);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #F7F5F0;
  border: 0;
  font-size: 2rem;
  position: absolute;
  top: 25px;
  right: 30px;
  z-index: 112;
  cursor: pointer;
  transition: color .17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #6FB6A2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 90px;
  align-items: center;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F7F5F0;
  font-size: 1.18rem;
  padding: 12px 0;
  border-radius: 8px;
  width: 100%;
  text-align: center;
  transition: background .18s, color .17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #234278;
  color: #6FB6A2;
}

/* ======= COOKIE CONSENT BANNER styles ======= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #23272C;
  color: #F7F5F0;
  box-shadow: 0 -1px 18px 1px #0007;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 26px 18px 20px 18px;
  z-index: 1200;
  font-size: 1rem;
  gap: 18px;
  transition: transform .38s cubic-bezier(.6,.2,.4,1), opacity .35s;
}
.cookie-banner.closed { transform: translateY(100%); opacity: 0; pointer-events: none; }
.cookie-banner.visible { transform: translateY(0); opacity: 1; }
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
}
.cookie-banner button {
  padding: 9px 22px;
  border-radius: 6px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  transition: background .15s, color .15s;
  margin: 0 2px;
}
.cookie-accept { background: #6FB6A2; color: #181C20;}
.cookie-accept:hover, .cookie-accept:focus { background: #234278; color: #F7F5F0; }
.cookie-reject { background: #B9B9BD; color: #181C20;}
.cookie-reject:hover, .cookie-reject:focus { background: #363942; color: #F7F5F0; }
.cookie-settings { background: transparent; color: #6FB6A2; border: 2px solid #6FB6A2;}
.cookie-settings:hover, .cookie-settings:focus { background: #234278; color: #F7F5F0; border-color: #6FB6A2; }

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: #181C20ee;
  z-index: 1210;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .23s cubic-bezier(.49,.2,.5,1);
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #23272C;
  color: #F7F5F0;
  border-radius: 14px;
  padding: 38px 30px 28px 30px;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 5px 40px 0 #000a;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookieModalIn .43s cubic-bezier(.7,.2,.3,1);
}
@keyframes cookieModalIn {
  0% { transform: scale(0.96) translateY(24px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #6FB6A2;
  font-size: 1.5rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  font-size: 1.08rem;
}
.cookie-toggle {
  width: 44px; height: 24px;
  background: #181C20;
  border-radius: 20px;
  position: relative;
  border: 1px solid #6FB6A2;
  margin-left: 12px;
  transition: background .14s, border .1s;
  cursor: pointer;
  outline: none;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 20px; height: 20px;
  background: #6FB6A2;
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 1.5px;
  transition: left .17s;
}
.cookie-toggle.active {
  background: #6FB6A2;
  border-color: #234278;
}
.cookie-toggle.active:before {
  left: 22px;
  background: #234278;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 18px;
  align-items: center;
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 17px;
  color: #B9B9BD;
  background: none; border: 0;
  font-size: 1.6rem;
  cursor: pointer;
  transition: color .1s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #6FB6A2;
}

/* ============= RESPONSIVE ============= */
@media (max-width: 1200px) {
  .container { max-width: 1010px; }
}
@media (max-width: 991px) {
  .container { max-width: 100%; }
  header .container { flex-wrap: wrap; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    gap: 12px;
  }
  .main-nav {
    display: none;
  }
  .btn-primary { margin-left: 0; margin-top: 7px; }
  .mobile-menu-toggle { display: block; }
  .container { padding-left: 12px; padding-right: 12px; }
  .section { padding: 25px 8px; margin-bottom: 40px; }
  .content-wrapper, .text-section { padding: 10px 6px; margin-bottom: 18px; }
  .footer-menu { flex-direction: column; gap: 10px; }
}
@media (max-width: 740px) {
  .content-grid, .card-container, .feature-grid, .blog-post-grid, .partner-logo-grid, .solution-cards {
    flex-direction: column;
    gap: 18px;
  }
  .footer-menu { flex-direction: column; gap: 10px; }
  footer .container { flex-direction: column; gap: 20px; }
}
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .hero-subheadline { font-size: 1.03rem; }
  .section { padding: 18px 1vw 22px; }
  .card, .testimonial-card, .feature-grid > div { padding: 16px 8px; }
}
/* ======= FLEX DIRECTION FOR TEXT-IMAGE SECTION ======= */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ============= MICRO-INTERACTIONS & EFFECTS ============= */
.card, .feature-grid > div, .blog-post-grid > div, .partner-logo-grid > div, .solution-cards > div {
  transition: box-shadow .16s, transform .16s, border-color .15s;
}
.card:hover, .feature-grid > div:hover, .blog-post-grid > div:hover, .partner-logo-grid > div:hover, .solution-cards > div:hover {
  box-shadow: 0 6px 38px 0 #23427833, 0 2px 18px 0 #0004;
  transform: translateY(-4px) scale(1.02);
  border-color: #234278;
}

.btn-primary,
.btn-secondary,
.cookie-banner button,
.cookie-modal .modal-actions button,
.mobile-menu-toggle {
  transition: background .18s, color .18s, box-shadow .18s, border-color .16s;
}

/* ============= ICONS in LISTS ============= */
ul li img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 10px;
  filter: grayscale(45%) brightness(1.13) drop-shadow(0px 1px 2px #23427855);
}

/* ============= SCROLLBAR ============= */
::-webkit-scrollbar { width: 9px; background: #23272C; }
::-webkit-scrollbar-thumb { background: #6FB6A2; border-radius: 8px; }

/* ============= FOCUS STYLES ============= */
a:focus, button:focus, .cookie-toggle:focus {
  outline: 2px solid #6FB6A2;
  outline-offset: 2px;
}

/* ============= ANIMATIONS ============= */
@keyframes fadeInUp { from {opacity: 0; transform: translateY(20px);} to {opacity:1; transform: none;} }

.section, .card, .testimonial-card, .feature-grid > div, .blog-post-grid > div, .partner-logo-grid > div, .solution-cards > div {
  animation: fadeInUp .55s ease both;
}

/* ===== COLORS—BRAND + INDUSTRIAL MODERN ===== */
:root {
  --primary: #234278;
  --secondary: #6FB6A2;
  --accent: #F7F5F0;
  --metal-dark: #181C20;
  --metal: #23272C;
  --urban-grey: #B9B9BD;
  --urban-border: #363942;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* ============= FORMS (if present) ============= */
input, textarea, select {
  background: #23272C;
  color: #F7F5F0;
  border: 1px solid #363942;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 13px;
  margin-bottom: 16px;
  border-radius: 4px;
  transition: border-color .17s, box-shadow .18s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: #6FB6A2;
  box-shadow: 0 1px 7px 0 #6fb6a23f;
}

button {
  font-family: inherit;
}

/* ============= UTILITIES ============= */
.text-center { text-align: center; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; letter-spacing: .03em; }

/* ============= ACCESSIBILITY IMPROVEMENTS ============= */
[tabindex='0']:focus { outline: 2px solid #6FB6A2; outline-offset: 2px; }

/* ============= END OF CSS ============= */
