/* RESET & BASE ------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #181d22;
  color: #d6d8da;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #F6C700;
  text-decoration: none;
  transition: color 0.19s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #fff;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.2em;
}
strong, b {
  font-weight: 700;
}
em, i {
  font-style: italic;
}
main {
  flex: 1 0 auto;
}

/* BRAND TYPOGRAPHY --------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #fafafa;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.375rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.375rem; margin-bottom: 14px; }
h4 { font-size: 1.125rem; margin-bottom: 10px; font-weight: 600; }
h5, h6 { font-size: 1rem; margin-bottom: 6px; }
.subheadline, .about-headline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.125rem;
  color: #F6C700;
  margin-bottom: 24px;
  font-weight: 500;
}

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.625rem; }
}

/* LAYOUT & CONTAINER --------------------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

/* HEADER & NAVIGATION --------------------- */
header {
  background: #181d22;
  border-bottom: 2px solid #222931;
  box-shadow: 0 2px 7px rgba(25,42,48, 0.14);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 18px;
}
.logo img {
  height: 54px;
  width: auto;
  filter: grayscale(1) brightness(1.18);
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1.08rem;
  color: #B5BAC1;
  padding: 6px 0;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #F6C700;
}
.main-nav a.active {
  color: #fff;
  border-bottom: 2px solid #F6C700;
}
.cta.primary {
  background: #F6C700;
  color: #161d22;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  padding: 11px 28px;
  margin-left: 18px;
  box-shadow: 0 2px 8px rgba(23,26,30,0.12);
  cursor: pointer;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 0 #fff3;
  transition: background 0.2s, color 0.2s, box-shadow 0.22s cubic-bezier(.4,0,.2,1);
  outline: none;
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta.primary:hover, .cta.primary:focus {
  background: #d4af04;
  color: #fafafa;
  box-shadow: 0 4px 16px rgba(23,26,30,0.25);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #F6C700;
  font-size: 2rem;
  margin-left: 10px;
  cursor: pointer;
  width: 42px;
  height: 42px;
  transition: background 0.15s;
  border-radius: 7px;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #212c33;
  color: #fff;
}

/* MOBILE MENU ---------------------------- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,39,41,0.97);
  z-index: 1040;
  transition: transform 0.36s cubic-bezier(.54,0,.43,1);
  transform: translateX(100%);
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  animation: mobileMenuSlideIn 0.34s cubic-bezier(.45,0,.35,1);
}
@keyframes mobileMenuSlideIn {
  from { transform: translateX(100%); opacity: 0.63; }
  to { transform: translateX(0); opacity: 1; }
}
.mobile-menu-close {
  background: none;
  color: #F6C700;
  font-size: 2.1rem;
  border: none;
  margin: 24px 0 32px 22px;
  cursor: pointer;
  width: 46px;
  height: 46px;
  align-self: flex-end;
  transition: background 0.19s;
  border-radius: 7px;
  outline: none;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #212c33;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding: 0 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.26rem;
  color: #F6C700;
  font-weight: 600;
  padding: 14px 0 12px 0;
  border-bottom: 1px solid #323B42;
  transition: background 0.19s, color 0.13s;
  text-align: left;
  border-radius: 5px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #232A2F;
  color: #fff;
}
.mobile-nav a:last-child {
  border-bottom: none;
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta.primary {
    margin-left: auto;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* HERO SECTION --------------------------- */
.hero {
  background: linear-gradient(90deg, #181d22 65%, #24292e 100%);
  border-bottom: 3px solid #232b30;
  min-height: 380px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}
@media (min-width: 900px) {
  .hero .container {
    flex-direction: row;
    align-items: center;
    gap: 70px;
  }
}
.hero h1 {
  color: #F6C700;
  text-shadow: 0 2px 10px #14181e99;
  margin-bottom: 18px;
}
.hero .subheadline {
  color: #ececec;
  margin-bottom: 34px;
  font-size: 1.23rem;
}

/* SECTIONS & SPACING --------------------- */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features, .services, .about, .contact, .testimonials, .text-section, .text-image-section {
  width: 100%;
}

/* FLEX LAYOUT REQUIREMENTS --------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 18px;
}
.feature-grid > div {
  flex: 1 1 230px;
  background: #1a2327;
  border-radius: 13px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 7px rgba(16,20,26,0.08), 0 2px 12px #0002;
  border: 1.5px solid #242d32;
  min-width: 210px;
  min-height: 234px;
  transition: box-shadow 0.22s cubic-bezier(.4,0,.2,1), border 0.18s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 24px #0004, 0 0px 0 #1a2327;
  border: 1.5px solid #F6C700;
  z-index: 2;
}
.feature-grid img {
  width: 48px;
  height: 48px;
  filter: grayscale(0.8) brightness(1.2) drop-shadow(0 3px 10px #23252521);
}

/* ABOUT & TEXT SECTIONS ----------------- */
.text-section {
  background: #20272d;
  border-radius: 12px;
  padding: 32px 24px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-left: 4px solid #F6C700;
  box-shadow: 0 1px 7px #0002;
}

/* SPACING PATTERNS ---------------------- */
.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: #fff;
  color: #24282d;
  border-radius: 10px;
  margin-bottom: 22px;
  box-shadow: 0 2px 12px rgba(24, 29, 36, 0.07);
  border-left: 4px solid #F6C700;
  min-width: 250px;
  font-size: 1.06rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: box-shadow 0.2s cubic-bezier(.4,0,.2,1), border-color 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px #232a311a;
  border-left: 4px solid #1A2930;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #7a7b7f;
  margin-left: 10px;
}

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

/* SERVICES/LIST SECTION ------------------- */
.services ul, .features ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-left: 0;
}
.services ul li, .features ul li {
  padding-left: 24px;
  position: relative;
  color: #e1e3e4;
  font-size: 1.11rem;
  line-height: 1.7;
}
.services ul li:before, .features ul li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #F6C700;
  font-weight: 900;
  font-size: 1.33em;
  top: 0.2em;
}

/* FOOTER --------------------------------- */
footer {
  background: #1A2930;
  color: #eee;
  border-top: 2.5px solid #232b30;
  box-shadow: 0 -2px 10px #20242809;
  margin-top: 80px;
  font-size: 0.99rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 54px;
  padding: 42px 0 15px 0;
  border-bottom: 1.5px solid #232A31;
  align-items: flex-start;
}
.footer-top > div {
  min-width: 220px;
  max-width: 278px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-top img {
  margin-bottom: 8px;
  width: 48px;
  filter: grayscale(1) brightness(1.32);
}
.footer-top ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 0;
}
.footer-top ul li a {
  color: #F6C700;
  transition: color 0.13s;
}
.footer-top ul li a:hover,
.footer-top ul li a:focus {
  color: #fff;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0 18px 0;
  font-size: 0.95rem;
  color: #b0b5ba;
}

/* ICON/INFO FLEX ALIGNMENT IN FOOTER ------- */
.footer-top p, .footer-top ul li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-top p img, .footer-top ul li img {
  width: 18px;
  height: 18px;
  filter: grayscale(1) brightness(1.6);
}

/* RESPONSIVE DESIGN ----------------------- */
@media (max-width: 1200px) {
  .footer-top {
    gap: 32px;
    flex-wrap: wrap;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 24px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    padding: 0 10px;
  }
  .hero {
    min-height: 210px;
    padding: 34px 0 0 0;
  }
  .section, section {
    margin-bottom: 34px;
    padding: 30px 10px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .text-section {
    padding: 16px 11px;
    font-size: 1rem;
    border-radius: 8px;
  }
  .feature-grid > div {
    border-radius: 8px;
    padding: 20px 14px;
    min-width: 160px;
    min-height: 120px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 13px;
    border-radius: 7px;
    font-size: 0.98rem;
  }
  .footer-top {
    gap: 22px;
    padding: 20px 0 8px 0;
  }
  .footer-bottom {
    font-size: 0.89rem;
  }
}
@media (max-width: 600px) {
  .feature-grid > div,
  .footer-top > div {
    min-width: 120px;
    max-width: 100%;
  }
  .footer-top {
    gap: 16px;
  }
  .footer-top img {
    width: 40px;
  }
}

/* FLEX DIRECTION ADJUSTMENTS ON MOBILE ---- */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* BUTTONS --------------------------------- */
button, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  padding: 10px 24px;
  background: #232b30;
  color: #F6C700;
  cursor: pointer;
  transition: background .18s, color .17s, box-shadow 0.18s;
  box-shadow: 0 2px 6px rgba(25,42,48,0.12);
  letter-spacing: 0.03em;
}
button:hover, .btn:hover, button:focus, .btn:focus {
  background: #F6C700;
  color: #191919;
  box-shadow: 0 4px 16px #23252530;
}

/* COOKIE CONSENT BANNER ------------------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 520px;
  background: #232b30;
  color: #F5F5F5;
  box-shadow: 0 -3px 14px #0003;
  border-top: 3.5px solid #F6C700;
  border-radius: 12px 12px 0 0;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 29px 18px 18px 18px;
  opacity: 0;
  transition: transform 0.33s cubic-bezier(.5,0,.4,1), opacity 0.19s;
  pointer-events: none;
}
.cookie-banner.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner p {
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.cookie-btn-primary {
  background: #F6C700;
  color: #1A2930;
  border: none;
  font-weight: 700;
  box-shadow: 0 2px 8px #22282a1a;
  transition: background .18s, color .17s, box-shadow 0.18s;
}
.cookie-btn-primary:hover, .cookie-btn-primary:focus {
  background: #d4af04;
  color: #161d22;
}
.cookie-btn-secondary {
  background: #232b30;
  color: #F6C700;
  border: 2px solid #F6C700;
  font-weight: 500;
  transition: background .18s, color .17s, border-color 0.13s;
}
.cookie-btn-secondary:hover, .cookie-btn-secondary:focus {
  background: #1A2930;
  color: #fff;
}
.cookie-btn-settings {
  background: none;
  color: #F6C700;
  text-decoration: underline;
  border: none;
  padding: 9px 9px;
  font-weight: 600;
  cursor: pointer;
}
.cookie-banner .cookie-btn-settings:hover, .cookie-banner .cookie-btn-settings:focus {
  color: #fff;
  background: #20272d;
}

/* COOKIE MODAL ------------------------------ */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1101;
  top: 0; left: 0;
  right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(26, 41, 48, 0.70);
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
  animation: fadeInModalBg 0.23s;
}
@keyframes fadeInModalBg {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #232b30;
  color: #F5F5F5;
  padding: 3rem 1.5rem 2rem 1.5rem;
  border-radius: 14px;
  max-width: 420px;
  width: 98vw;
  box-shadow: 0 5px 30px rgba(34,41,49,0.19);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: modalSlideIn 0.31s cubic-bezier(.52,0,.28,1);
}
@keyframes modalSlideIn {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  color: #F6C700;
  font-size: 1.28rem;
  margin-bottom: 5px;
}
.cookie-modal-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 17px;
}
.cookie-modal-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.03rem;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  appearance: none;
  width: 18px; height: 18px;
  border: 2px solid #F6C700;
  border-radius: 3px;
  background: #24282c;
  margin-right: 6px;
  transition: background 0.12s, border-color 0.13s;
  position: relative;
}
.cookie-modal input[type="checkbox"]:checked {
  background: #F6C700;
  border-color: #F6C700;
}
.cookie-modal input[type="checkbox"]:checked:after {
  content: '\2713';
  display: block;
  color: #222931;
  font-size: 1.2em;
  position: absolute;
  left: 2px; top: -2px;
}
.cookie-modal .essential {
  color: #aaa;
  font-style: italic;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 17px;
  background: none;
  border: none;
  color: #F6C700;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 5px;
  transition: background 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #212c33;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    max-width: 99vw;
    padding: 16px 7px 10px 7px;
    font-size: 0.98rem;
  }
  .cookie-modal {
    padding: 1.7rem 0.8rem 1.3rem 0.8rem;
    font-size: 1rem;
  }
}

/* MICRO-INTERACTIONS & TRANSITIONS --------- */
.card,
.card-container > div,
.feature-grid > div,
.testimonial-card,
.cta,
.btn,
.mobile-menu,
.mobile-menu-toggle,
.mobile-menu-close,
button {
  transition: box-shadow 0.22s cubic-bezier(.4,0,.2,1), border-color 0.17s, color 0.17s, background 0.19s;
}

/* SCROLLBAR STYLING (INDUSTRIAL/URBAN FEEL) */
::-webkit-scrollbar {
  width: 10px;
  background: #22282a;
}
::-webkit-scrollbar-thumb {
  background: #353f42;
  border-radius: 9px;
  border: 2px solid #232b30;
}
::-webkit-scrollbar-thumb:hover {
  background: #232b30;
}

/* SELECTION COLOR ------------------------ */
::selection {
  background: #F6C700;
  color: #232b30;
}

/* INDUSTRIAL URBAN SHADOW/ACCENT ---------- */
.feature-grid > div:after {
  content: "";
  display: block;
  margin: 13px auto 0 auto;
  width: 20%;
  height: 3px;
  background: #353f42;
  border-radius: 6px;
  opacity: 0.55;
}

/* Z-INDEX LAYERING ------------------------ */
.mobile-menu,
.cookie-banner,
.cookie-modal-overlay {
  z-index: 1040;
}

/* INDUSTRIAL FONT OVERRIDES --------------- */
body, input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
}
h1, h2, h3, h4, .main-nav a, .cta, .btn, .mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  text-transform: none;
}

/* FORMS, INPUTS, CONTACT (if needed) ------ */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 5px;
  border: 1.5px solid #474c51;
  padding: 9px 13px;
  background: #22282a;
  color: #fafafa;
  margin-bottom: 18px;
  box-shadow: 0 1px 7px #0002;
  transition: border 0.14s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #F6C700;
  outline: none;
  box-shadow: 0 2px 8px #f6c70013;
}

/* VISUAL HIERARCHY & WHITESPACE ----------- */
.section h2, .features h2, .services h2 {
  margin-bottom: 18px;
  color: #F6C700;
}
.section {
  background: #181d22;
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(23,26,30,0.07);
}

/* HEADINGS IN SECTIONS */
.features h3, .feature-grid h3 {
  color: #F6C700;
  font-size: 1.24rem;
}

/* --------- MISC CLEAN-UP ------------  */
::marker { color: #F6C700; }

@media (max-width: 768px) {
  .features h2, .services h2, .section h2 {
    font-size: 1.37rem;
  }
}
