/* ====================== CSS RESET & BASE ====================== */
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%; vertical-align: baseline; box-sizing: border-box;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1.5; background: #232527; color: #E0E4E6; font-family: 'Open Sans', Arial, sans-serif; font-size: 16px; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none;  transition: color 0.2s; }
a:focus, button:focus { outline: 2px solid #F7C873; outline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }
table { border-collapse: collapse; width: 100%; }

/* ====================== VARIABLES & BRAND COLORS ====================== */
:root {
  --primary: #35544B;
  --secondary: #F7C873;
  --accent: #FFFFFF;
  --surface: #1C1D1E;
  --dark-metal: #232527;
  --mid-metal: #485255;
  --gray-light: #E0E4E6;
  --gray-med: #7C868B;
  --muted: #23292B;
  --error: #B53A3A;
  --success: #478A46;
  /* Industrial fonts */
  --font-display: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* ====================== GENERAL TYPOGRAPHY ====================== */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  color: #FFF;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.25rem; margin-top: 8px; }
h2 { font-size: 1.75rem; margin-top: 8px; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.12rem; }

p, ul li, ol li, blockquote, cite {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #E0E4E6;
  line-height: 1.8;
  margin-bottom: 12px;
}

strong, b { font-weight: bold; color: #F7C873; }

blockquote {
  background: #303436;
  color: #232527;
  border-left: 4px solid var(--secondary);
  padding: 10px 22px;
  margin: 0 0 8px 0;
  font-style: italic;
  box-shadow: 0 4px 12px rgba(21,20,18,0.07);
  border-radius: 6px;
}
cite { display: block; color: var(--primary); margin-top: 6px; font-style: normal; font-size: 0.92em; }

a.cta-button, .cta-button {
  display: inline-block;
  padding: 14px 32px;
  background: var(--secondary);
  color: var(--dark-metal);
  font-family: var(--font-display);
  font-weight: bold;
  letter-spacing: 0.08em;
  font-size: 1rem;
  border-radius: 30px;
  border: none;
  box-shadow: 0 2px 10px rgba(121,110,52,0.13);
  transition: background 0.2s, color 0.2s, transform 0.15s;
  cursor: pointer;
  margin-top: 14px;
}
a.cta-button:hover, .cta-button:hover {
  background: #ffd98e;
  color: var(--primary);
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 5px 16px rgba(247,200,115,0.20);
}

/* ====================== CONTAINER & SECTION LAYOUT ====================== */
.container {
  width: 100%;
  max-width: 1150px;
  padding: 0 18px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.text-section {
  background: none;
  border-radius: 12px;
  padding: 0 0 10px 0;
}

/* ====================== FLEX LAYOUTS ====================== */
.features-grid, .features, .card-container, .card-grid, .content-grid, .service-row, .team-list, .faq-list, .quick-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.content-grid, .service-row, .team-list, .faq-list {
  gap: 20px;
  justify-content: space-between;
}
.card-container { gap: 24px; }
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  min-width: 250px;
  background: #27292D;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(30,32,36,0.08);
  padding: 22px 22px;
  border: 1.5px solid #3C4044;
  transition: box-shadow 0.18s, border 0.17s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(137,137,142, 0.12);
  border: 1.5px solid var(--secondary);
  transform: translateY(-4px) scale(1.02);
}
.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: 12px;
  padding: 20px;
  background: #F7F7F7;
  color: #2A2A29;
  border-radius: 12px;
  box-shadow: 0 2px 18px rgba(44,42,44,0.09);
  min-width: 230px;
  margin-bottom: 20px;
}
.testimonial-card blockquote { color: #2b2d2f; border-left: 4px solid #35544B; background: #f6f2e9; }
.testimonial-card cite { color: #35544B; }

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

/* ====================== HEADER & NAVIGATION ====================== */
header {
  width: 100%;
  background: var(--dark-metal);
  border-bottom: 3px solid #2C2E2F;
  position: relative;
  z-index: 1500;
}
header .container { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 76px; }

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
nav ul {
  display: flex;
  gap: 22px;
}
nav li {
  display: flex;
  align-items: center;
}
nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--accent);
  position: relative;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s, color 0.17s;
}
nav a.active, nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}

.cta-button {
  margin-left: 36px;
}

header img {
  height: 45px; width: auto; display: block;
}

/* ====================== MOBILE NAVIGATION ====================== */
.mobile-menu-toggle {
  display: none;
  position: relative;
  z-index: 2001;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  font-size: 2.1rem;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover { background: #ffd98e; }
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,24,23,0.97);
  color: #FFF;
  z-index: 2500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.65,.05,.36,1);
  width: 100vw;
  height: 100dvh;
  padding-top: 44px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  background: var(--secondary);
  color: var(--dark-metal);
  border: none;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  position: absolute;
  top: 22px; right: 22px;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2600;
}
.mobile-nav {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100vw;
  align-items: center;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
  background: none;
  padding: 12px 32px;
  border-radius: 14px;
  width: 80vw;
  text-align: center;
  transition: background 0.18s, color 0.17s;
}
.mobile-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}

@media (max-width: 1023px) {
  nav ul { display: none; }
  .cta-button { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 1024px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ====================== HERO & FEATURES ====================== */
.features-grid {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 24px;
}
.feature {
  background: #252827;
  color: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(39,41,44,0.10);
  padding: 30px 22px 28px 22px;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 260px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  border: 1.2px solid #3C4044;
  transition: box-shadow 0.16s, border 0.17s, transform 0.16s;
}
.feature img {
  width: 48px; height: 48px; filter: grayscale(18%) brightness(1.15) drop-shadow(0 2px 7px rgba(98,109,99,.11));
}
.feature h3 {
  font-size: 1.14rem;
  margin: 8px 0 6px 0;
  color: var(--secondary);
  font-family: var(--font-display);
}
.feature:hover {
  box-shadow: 0 5px 18px rgba(138,138,142, 0.18);
  border: 1.2px solid var(--secondary);
  transform: translateY(-2px) scale(1.02);
}

/* ====================== TABLES ====================== */
table {
  width: 100%;
  background: #2B2B2D;
  border-radius: 10px;
  box-shadow: 0 1.5px 10px rgba(37,42,54,0.07);
  margin-bottom: 20px;
  overflow: hidden;
}
thead {
  background: var(--primary);
}
thead th {
  color: #FFF;
  font-weight: bold;
  padding: 14px 9px;
  font-family: var(--font-display);
  font-size: 1rem;
}
tbody tr {
  border-bottom: 1.5px solid #232D25;
  background: #27292D;
}
tbody td {
  padding: 12px 9px;
  color: #E0E4E6;
  font-size: 1rem;
  font-family: var(--font-body);
}

/* ====================== OTHER CARD-LIKE ELEMENTS ====================== */
.success-story, .faq-list > div, .team-list > div {
  background: #26292B;
  color: #E0E4E6;
  border-radius: 9px;
  box-shadow: 0 2px 10px rgba(32,32,35,0.13);
  padding: 22px 20px;
  border: 1px solid #3C4044;
  margin-bottom: 20px;
  font-size: 1.06rem;
  font-family: var(--font-body);
}
.success-story strong {
  color: #F7C873;
  font-family: var(--font-display);
}

.team-list {
  flex-wrap: wrap;
}
.team-list > div {
  flex: 1 1 290px;
  min-width: 200px;
}

.faq-list {
  flex-wrap: wrap;
}
.faq-list > div {
  flex: 1 1 330px;
  min-width: 210px;
}

.quick-links ul {
  flex-wrap: wrap;
  gap: 18px;
}
.quick-links a {
  color: var(--secondary);
  font-family: var(--font-display);
  font-weight: 600;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 2px;
  transition: border-color 0.18s, color 0.18s;
}
.quick-links a:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* ====================== CONTACT DETAILS ====================== */
.contact-details p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.contact-details img {
  width: 23px; height: 23px;
  filter: brightness(1.05) grayscale(18%);
}

/* ====================== FOOTER ====================== */
footer {
  background: #202121;
  color: #BFC0C2;
  padding: 40px 0 20px 0;
  width: 100%;
  border-top: 3px solid #272930;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--secondary);
}
.footer-branding img {
  height: 38px;
  filter: grayscale(14%);
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.98rem;
}
footer nav a {
  color: #C9C6B1;
  margin-right: 14px;
  padding: 2px 4px;
  transition: color 0.18s, background 0.15s;
  border-radius: 6px;
}
footer nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}
.footer-contact {
  font-size: 0.98rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #E0E4E6;
}
.footer-contact img {
  width: 19px; height: 19px; vertical-align: middle; margin-right: 8px;
}

/* ====================== COOKIE CONSENT BANNER ====================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3100;
  background: #232527;
  color: #fff;
  padding: 22px 24px;
  box-shadow: 0 -3px 16px rgba(32,33,40,0.18);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 1rem;
  border-top: 3px solid var(--secondary);
  opacity: 1;
  transition: opacity 0.25s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-message {
  max-width: 400px;
  color: #FFF;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 15px;
}
.cookie-banner .cookie-btn {
  font-family: var(--font-display);
  font-size: 0.98rem;
  border-radius: 28px;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  margin: 0;
  background: var(--secondary);
  color: var(--dark-metal);
  box-shadow: 0 1.5px 6px rgba(44,40,38,0.07);
  transition: background 0.16s, color 0.14s, transform 0.13s;
}
.cookie-banner .cookie-btn:hover {
  background: #FFD98E;
  color: var(--primary);
  transform: scale(1.04);
}
.cookie-banner .cookie-btn.settings {
  background: var(--primary);
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
}
.cookie-banner .cookie-btn.settings:hover {
  background: #fff;
  color: var(--primary);
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3200;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(40,41,47,0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #2E3133;
  padding: 30px 36px;
  border-radius: 18px;
  min-width: 320px; max-width: 96vw;
  min-height: 280px;
  box-shadow: 0 10px 36px rgba(44,44,51,0.20);
  color: #FFF;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1rem;
  border: 2px solid var(--secondary);
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: var(--secondary);
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  font-weight: 500;
  font-family: var(--font-body);
  color: #FFF;
}
.cookie-modal .cookie-category .toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #50554F;
  border-radius: 13px;
  position: relative;
  outline: none;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-modal .cookie-category .toggle:checked {
  background: var(--secondary);
}
.cookie-modal .cookie-category .toggle:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.19s;
}
.cookie-modal .cookie-category .toggle:checked:before {
  left: 21px;
}
.cookie-modal .btn-row {
  display: flex;
  gap: 15px;
  margin-top: 16px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 18px; top: 18px;
  background: var(--secondary);
  color: var(--dark-metal);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal .cookie-modal-close:hover { background: #FFF6D0; }

/* ====================== SPACING: ALL FLEX *MUST* GAP ====================== */
.section, .content-wrapper, .content-grid, .card-container, .team-list, .faq-list, .service-row, .features-grid {
  gap: 20px;
}

/* ====================== RESPONSIVE: MOBILE-FIRST ====================== */
@media (max-width: 768px) {
  .container { max-width: 100vw; padding: 0 6vw; }

  .features-grid, .team-list, .card-container, .content-grid, .service-row, .faq-list {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper { gap: 18px; }
  .section {
    margin-bottom: 36px;
    padding: 24px 0;
  }
  .footer-branding span { font-size: 1.05rem; }
  footer .container {
    gap: 24px;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 4vw;
  }
  .footer-contact {
    font-size: 0.97rem;
    gap: 3px;
  }
  .testimonial-card {
    min-width: 0; width: 100%;
    padding: 11px;
  }
  .card, .feature, .success-story, .team-list > div, .faq-list > div {
    min-width: unset;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-content, .text-image-section {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 16px;
  }
  .mobile-menu {
    padding-top: 22px;
  }
}

@media (max-width: 600px) {
  h1 { font-size: 1.33rem; }
  h2 { font-size: 1.06rem; }
  .cta-button, a.cta-button { padding: 10px 16px; font-size: 0.95rem; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 8px; font-size: 0.97rem; }
  .cookie-banner .cookie-actions { gap: 7px; }
  .cookie-modal {
    padding: 20px 7vw;
    min-width: min(94vw, 255px);
    max-width: 98vw;
  }
}

/* ====================== ANIMATIONS ====================== */
@keyframes mobile-menu-slide-in {
  from { transform: translateX(-100vw); }
  to { transform: translateX(0); }
}
@keyframes mobile-menu-slide-out {
  from { transform: translateX(0); }
  to { transform: translateX(-100vw); }
}
@keyframes cookie-modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes cookie-modal-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* ====================== MISCELLANEOUS ====================== */
hr {
  border: 0; border-top: 1.5px solid #303436;
  margin: 30px 0 22px 0;
}
input[type="text"], input[type="email"], input[type="tel"], textarea {
  background: #202321;
  color: #fff;
  border: 1.5px solid #383837;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 1rem;
  font-family: var(--font-body);
  margin-bottom: 16px;
  transition: border 0.16s, box-shadow 0.15s;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus {
  border: 1.5px solid var(--secondary);
  box-shadow: 0 2px 6px #f7c87322;
}
label { font-family: var(--font-body); font-size: 0.97rem; color: #E0E4E6; display: block; margin-bottom: 6px; }
button {
  font-family: var(--font-display);
  font-size: 1rem;
  cursor: pointer;
  background: var(--secondary);
  color: var(--dark-metal);
  border: none;
  border-radius: 30px;
  padding: 12px 28px;
  font-weight: bold;
  transition: background 0.16s, color 0.15s, transform 0.13s;
}
button:hover {
  background: #ffd98e;
  color: var(--primary);
  transform: translateY(-2px) scale(1.015);
}

/* ====================== SCROLLBAR (for dark/industrial feel) ====================== */
html::-webkit-scrollbar { width: 11px; background: #232527; }
html::-webkit-scrollbar-thumb { background: #394245; border-radius: 8px; }

/* ====================== INDUSTRIAL SHADOWS & METAL ACCENTS ====================== */
.card, .feature, .testimonial-card, .success-story { box-shadow: 0 3px 15px rgba(76,84,90,0.10), 0 1.5px 5px rgba(58,61,58,0.03); }

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