/* ---------------- 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,
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;
}

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  min-height: 100vh;
  background: #232733;
  color: #F4F4F4;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  font-smooth: always;
  background-image: linear-gradient(120deg, #243056 90%, #232733 100%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  margin-left: 1.5em;
  margin-top: 8px;
  margin-bottom: 8px;
}

li {
  margin-bottom: 6px;
}

a {
  color: #EAD99A;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover, nav a:focus {
  color: #C4361B;
}

strong, b {
  font-weight: 700;
}

/* ---------------- Typography ---------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #EAD99A;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.14;
}
h2 {
  font-size: 2rem;
  margin-top: 18px;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  color: #FFD67D;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p {
  margin-bottom: 1em;
}

small {
  font-size: 0.87em;
  color: #BBB;
}

.price {
  font-size: 1.2rem;
  color: #C4361B;
  font-weight: 600;
}

/* ----------------- Flex Layout Containers ----------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.features-grid, .service-list, .service-cards, .case-study-list, .featured-articles, .recent-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 24px;
}

.features-grid > div, .service-list > div, .service-cards > div, .case-study-list > div, .featured-articles > div, .recent-posts > div {
  flex: 1 1 240px;
  background: #1B1E26;
  border: 1.5px solid #353B4C;
  border-radius: 12px;
  padding: 28px 20px 20px;
  box-shadow: 0 2px 10px 0 rgba(22,19,25,0.14);
  min-width: 240px;
  min-height: 160px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.24s, transform 0.22s;
  z-index: 1;
}
.features-grid > div:hover, .service-list > div:hover, .service-cards > div:hover,
.case-study-list > div:hover, .featured-articles > div:hover {
  box-shadow: 0 8px 18px 0 rgba(36, 48, 86, 0.25);
  transform: translateY(-5px) scale(1.025);
  border-color: #3A4672;
}

.category-list,
.popular-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.category-list span, .popular-tags strong {
  background: #3A4672;
  color: #EAD99A;
  padding: 5px 16px;
  border-radius: 18px;
  font-size: 0.99em;
  letter-spacing: 0.02em;
}

/* ----------------- Header and Navigation ----------------- */
header {
  background: #232733;
  border-bottom: 2.5px solid #2C323E;
  box-shadow: 0 2px 12px 0 rgba(24,24,31,0.07);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 98;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 18px;
}
.logo-link img {
  height: 38px;
}
nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 8px;
  transition: background 0.17s, color 0.17s;
}
nav a:hover, nav a.active {
  background: #243056;
  color: #EAD99A;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 11px 28px;
  border-radius: 7px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.21s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  box-shadow: 0 2px 10px 0 rgba(36,48,86,0.10);
  margin-left: 18px;
  background: #243056;
  color: #EAD99A;
  border: 1px solid #EAD99A;
}

.btn-primary:hover, .btn-primary:focus {
  background: #C4361B;
  color: #FFFFFF;
  border-color: #C4361B;
  transform: translateY(-1px) scale(1.02);
}
.btn-secondary {
  background: transparent;
  color: #C4361B;
  border: 2px solid #C4361B;
  margin-left: 0;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #C4361B;
  color: #FFF;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  color: #EAD99A;
  font-size: 2.2rem;
  border: none;
  padding: 4px 9px;
  cursor: pointer;
  z-index: 110;
  margin-left: 16px;
  transition: color 0.17s;
}
.mobile-menu-toggle:focus {
  color: #C4361B;
}

/* ----------------- Mobile Menu Styles ----------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(31,33,42, 0.98);
  transform: translateX(-100vw);
  transition: transform 0.42s cubic-bezier(0.71,0,0.32,1);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  color: #EAD99A;
  background: transparent;
  font-size: 2.2rem;
  border: none;
  position: absolute;
  top: 23px;
  right: 25px;
  padding: 8px;
  cursor: pointer;
  z-index: 121;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #C4361B;
}
.mobile-nav {
  margin-top: 52px;
  width: 100vw;
  display: flex;
  flex-direction: column;
  gap: 21px;
  align-items: flex-start;
  padding-left: 40px;
}
.mobile-nav a {
  color: #FFD67D;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 15px;
  border-radius: 6px;
  transition: background 0.1s, color 0.1s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #243056;
  color: #C4361B;
}

@media (max-width: 992px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .btn-primary {
    margin-left: 0;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ----------------- Main Layout Spacing Patterns ----------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #1B1E26;
  border: 1.3px solid #353B4C;
  border-radius: 12px;
  box-shadow: 0 1.7px 7px 0 rgba(24,22,29,0.13);
  padding: 26px 18px 18px;
  min-width: 220px;
  min-height: 100px;
  transition: box-shadow 0.18s, border 0.16s;
}
.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;
  padding: 20px;
  background: #F4F4F4;
  color: #232733;
  border-radius: 10px;
  border: 2px solid #EAD99A;
  box-shadow: 0 4px 16px 0 rgba(36,48,86,0.07);
  min-width: 270px;
  max-width: 400px;
  min-height: 135px;
  margin-bottom: 20px;
  margin-right: 20px;
  margin-top: 10px;
  font-family: 'Roboto', Arial, sans-serif;
  transition: box-shadow 0.16s, transform 0.18s;
  z-index: 1;
}
.testimonial-card:hover {
  box-shadow: 0 8px 22px 0 rgba(36,48,86,0.14);
  border-color: #C4361B;
  transform: translateY(-4px) scale(1.019);
}
.testimonial-card p {
  color: #232733;
  font-size: 1.06rem;
  margin-bottom: 4px;
  line-height: 1.5;
}
.testimonial-card strong {
  color: #3A4672;
}
.stars {
  font-size: 1.21rem;
  color: #C4361B;
  margin-top: 5px;
}

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

/* --------------- Special Utility Layouts --------------- */
.service-list,
.service-cards {
  gap: 24px;
}

.case-study-list {
  gap: 32px;
}

.featured-articles, .recent-posts {
  gap: 32px;
}

.text-section {
  margin-bottom: 22px;
}

.address-map {
  margin-top: 8px;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
  background: #1B1E26;
  border: 1.5px solid #353B4C;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.footer-brand img {
  height: 42px;
  margin-bottom: 12px;
}
.footer-info p {
  color: #999;
  font-size: 1em;
  margin-bottom: 4px;
}

/* ----------------- Footer ----------------- */
footer {
  background: #181B22;
  border-top: 2.5px solid #232733;
  padding: 38px 0 28px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
footer nav a {
  color: #EAD99A;
  font-size: 1em;
  padding: 4px 0;
}
footer nav a:hover {
  color: #C4361B;
}
.footer-info {
  font-size: 1em;
}

@media (max-width: 992px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}

/* -------------- Responsive: Mobile First -------------- */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.45rem;
  }
  
  .content-wrapper {
    gap: 15px;
  }
  .features-grid, .service-list, .service-cards, .case-study-list, .featured-articles, .recent-posts {
    flex-direction: column;
    gap: 15px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  .testimonial-card {
    min-width: 90vw;
    margin-right: 0;
  }
  .footer-brand img {
    height: 36px;
  }
  .footer-info {
    margin-top: 14px;
  }
  .section {
    padding: 24px 6px;
    margin-bottom: 32px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  html {
    font-size: 14px;
  }
  .features-grid > div, .service-list > div, .service-cards > div, .case-study-list > div,
  .featured-articles > div, .recent-posts > div {
    min-width: unset;
    padding: 18px 10px;
  }
}

/* ----------------- Utility Classes ----------------- */
.hide-mobile {
  display: none !important;
}
.mt-2 {
  margin-top: 16px;
}
.mb-2 {
  margin-bottom: 16px;
}
.mb-3 {
  margin-bottom: 28px;
}
.gap-2 {
  gap: 14px;
}

/* ----------------- Micro Interactions ----------------- */
.btn-primary, .btn-secondary, .mobile-menu-toggle, .mobile-menu-close, nav a {
  transition: background 0.2s, color 0.17s, box-shadow 0.17s, transform 0.16s;
}

.card, .features-grid > div, .service-list > div, .service-cards > div {
  transition: box-shadow 0.19s, border 0.18s, transform 0.13s;
}

.testimonial-card {
  transition: box-shadow 0.2s, border 0.19s, transform 0.15s;
}

/* ----------------- Cookie Consent Banner ----------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 140;
  background: #232733;
  color: #EAD99A;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 11px 19px 11px;
  box-shadow: 0 -4px 20px 0 rgba(24,24,31,0.13);
  gap: 30px;
  flex-wrap: wrap;
  animation: cookieBannerFadeIn 0.4s ease;
}
@keyframes cookieBannerFadeIn {
  0% { opacity: 0; transform: translateY(32px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  padding: 8px 22px;
  border-radius: 6px;
  border: none;
  background: #243056;
  color: #EAD99A;
  cursor: pointer;
  margin: 0;
  transition: background 0.17s, color 0.15s, box-shadow 0.15s;
  border: 1px solid #EAD99A;
}
.cookie-banner button.accept {
  background: #C4361B;
  color: #FFF;
  border-color: #C4361B;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: #EAD99A;
  color: #C4361B;
  border-color: #EAD99A;
}
.cookie-banner button.settings {
  background: #232733;
  color: #FFD67D;
  border: 1.5px solid #FFD67D;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #FFF;
  color: #3A4672;
}
.cookie-banner button.reject {
  background: transparent;
  color: #C4361B;
  border: 1.5px solid #C4361B;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #C4361B;
  color: #FFF;
}

/* -------- Cookie Modal -------- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 150;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(24,24,31,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.27s ease;
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #1B1E26;
  border-radius: 14px;
  max-width: 440px;
  padding: 40px 26px 30px;
  color: #EAD99A;
  box-shadow: 0 8px 32px 0 rgba(24,24,31,0.18);
  position: relative;
  animation: cookieModalSlideIn 0.35s cubic-bezier(0.23,.92,.49,1.02);
}
@keyframes cookieModalSlideIn {
  0% { opacity: 0; transform: translateY(80px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-modal h2 {
  color: #FFD67D;
  font-size: 1.32rem;
  margin-bottom: 18px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: #FFD67D;
  font-size: 1.7rem;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: #C4361B;
}
.cookie-modal .cookie-settings-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #243056;
  border-radius: 7px;
  padding: 10px 16px;
}
.cookie-category label {
  font-weight: 600;
  color: #EAD99A;
}
.cookie-category input[type='checkbox'] {
  accent-color: #C4361B;
  width: 19px;
  height: 19px;
}
.cookie-category .always-on {
  color: #FFD67D;
  font-weight: 700;
  margin-left: 8px;
}
.cookie-modal .cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}
.cookie-modal .cookie-modal-footer button {
  min-width: 120px;
  border-radius: 7px;
}

@media (max-width: 480px) {
  .cookie-modal {
    max-width: 99vw;
    padding: 26px 5px 18px 9px;
  }
}

/* -------- End Cookie Consent Banner -------- */

/* ===================== INDUSTRIAL MODERN AESTHETIC OVERRIDES ===================== */
h1, h2, h3, h4, h5, h6, nav a, .btn-primary, .btn-secondary, .mobile-nav a, .category-list span, .popular-tags strong {
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: none;
  font-weight: 700;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
}

.section, .card, .features-grid > div, .service-list > div, .service-cards > div, .case-study-list > div, .testimonial-card {
  border-radius: 12px;
}

/* Subtle metallic accent lines (top of sections/buttons) */
.section > .container > .content-wrapper > h2:before {
  content: '';
  display: block;
  width: 38px;
  height: 5px;
  margin-bottom: 10px;
  background: linear-gradient(90deg,#EAD99A 65%,#C4361B 100%);
  border-radius: 4px;
}

.btn-primary, .btn-secondary {
  box-shadow: 0 2px 11px 0 rgba(212,183,44,0.09);
  border: 1.5px solid #FFD67D;
  background: #243056;
  color: #FFD67D;
  letter-spacing: 0.03em;
}

.btn-primary:hover, .btn-primary:focus {
  background: #C4361B;
  color: #FFF !important;
  border-color: #C4361B;
  box-shadow: 0 4px 17px 0 rgba(196,54,27,0.13);
}

.btn-secondary {
  background: transparent;
  color: #C4361B;
  border: 2px solid #C4361B;
}

.btn-secondary:hover, .btn-secondary:focus {
  background: #C4361B;
  color: #FFD67D;
}

.features-grid img, .service-list img, .service-cards img {
  filter: grayscale(35%) brightness(1.08) contrast(1.12);
  margin-bottom: 18px;
  width: 52px !important;
  height: 52px !important;
}

.card, .features-grid > div, .service-list > div, .service-cards > div {
  background: #181B22;
  border: 1.5px solid #31374c;
  box-shadow: 0 2px 14px 0 rgba(36,48,86,0.08);
}

.card:hover, .features-grid > div:hover, .service-list > div:hover, .service-cards > div:hover {
  border-color: #EAD99A;
  box-shadow: 0 6px 21px 0 rgba(196,54,27,0.11);
}

.testimonial-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* Consistent testimonial card color: always readable dark-on-light */
.testimonial-card {
  background: #F4F4F4;
  color: #232733;
  border: 2px solid #EAD99A;
}
.testimonial-card p, .testimonial-card strong {
  color: #232733;
}

/* Urban decorative detail (optional accent bar left on card) */
.card:before, .testimonial-card:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 16px;
  width: 5px;
  height: 33px;
  border-radius: 3px;
  background: linear-gradient(180deg, #EAD99A 60%, #C4361B 100%);
  opacity: 0.55;
}
.testimonial-card:before {
  top: 12px;
  background: linear-gradient(180deg, #3A4672 60%, #C4361B 100%);
  opacity: .56;
}

@media (max-width: 768px) {
  .testimonial-carousel {
    flex-direction: column;
    gap: 15px;
  }
}

/* Blog Posts & Category Tag Styling */
.featured-articles > div, .recent-posts > div {
  background: #1B1E26;
  border: 1.5px solid #3A4672;
  border-left: 7px solid #C4361B;
  border-radius: 9px;
  padding: 24px 16px 16px 20px;
  min-width: 180px;
  min-height: 102px;
  box-shadow: 0 1.5px 8px 0 rgba(24,22,29,0.09);
  position: relative;
}
.featured-articles > div:hover, .recent-posts > div:hover {
  box-shadow: 0 5px 12px 0 rgba(196,54,27,0.08);
  border-color: #EAD99A;
}

/* Accent lines - visual hierarchy & industrial feel */
hr {
  border: none;
  border-top: 2px solid #353B4C;
  margin: 22px 0;
}

/* --------------- Select/Focus Accessibility --------------- */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus, input:focus, textarea:focus {
  outline: 2px solid #FFD67D;
  outline-offset: 1.5px;
}

/* --------------- Hide scroll for modal/menu if open --------------- */
body.menu-open, body.modal-open {
  overflow: hidden;
}

/* --------------- Accessibility for screen readers --------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* =============== End INDUSTRIAL MODERN AESTHETIC =============== */
