/* CSS RESET & BASE TYPOGRAPHY */
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; }
*, *::before, *::after { box-sizing: inherit; }
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #121212;
  color: #F9F6F2;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
a {
  color: #C1A265;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #dbc899;
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #C1A265;
  letter-spacing: 1px;
  line-height: 1.15;
}
h1 { font-size: 2.3rem; margin-bottom: 14px; }
h2 { font-size: 1.6rem; margin-bottom: 10px; }
h3 { font-size: 1.2rem; margin-bottom: 8px; color: #C1A265; }
strong, b { font-weight: 700; }

p, ul, ol, blockquote {
  font-size: 1rem;
  margin-top: 0;
}

ul, ol {
  padding-left: 20px;
  margin-bottom: 18px;
}
li {
  margin-bottom: 8px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* SPACING & LAYOUT (MANDATORY) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #192a33;
  margin-bottom: 20px;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 4px 24px 0 #0f2e3d20;
  border: 1.5px solid #273b45;
  transition: box-shadow .25s, border-color .25s;
  overflow: hidden;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 40px 0 #C1A26544, 0 2px 8px 0 #192a3322;
  border-color: #C1A265;
}
.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;
  margin-bottom: 20px;
  background: #F9F6F2;
  color: #22282a;
  border-radius: 10px;
  box-shadow: 0 6px 32px #1212120e;
  border-left: 6px solid #C1A265;
  position: relative;
  transition: box-shadow 0.25s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 12px 42px #C1A26524;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* GENERAL BUTTON STYLES */
.cta-btn, button, input[type=submit], .cookie-btn {
  appearance: none;
  padding: 12px 32px;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  background: #C1A265;
  color: #0F2E3D;
  border: none;
  border-radius: 7px;
  box-shadow: 0 2px 6px #C1A26522;
  cursor: pointer;
  letter-spacing: .75px;
  transition: background 0.2s, color 0.2s, box-shadow 0.22s, outline 0.22s;
  margin-top: 22px;
  margin-bottom: 10px;
}
.cta-btn:hover, .cta-btn:focus, button:hover, button:focus, .cookie-btn:hover, .cookie-btn:focus {
  background: #A0884D;
  color: #F9F6F2;
  outline: 2px solid #C1A265;
  box-shadow: 0 4px 18px #C1A26566, 0 2px 4px #12121208;
}

/* HEADER & NAVIGATION */
header {
  background: #0F2E3D;
  border-bottom: 2px solid #273b45;
  box-shadow: 0 3px 10px 0 #12121215;
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  max-width: 1120px;
  margin: 0 auto;
}
.logo img {
  height: 44px;
  width: auto;
  vertical-align: middle;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #F9F6F2;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 5px 2px;
  transition: color 0.18s, border-bottom 0.2s;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
  color: #C1A265;
  border-bottom: 2px solid #C1A265;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #C1A265;
  margin-left: 18px;
  cursor: pointer;
  padding: 2px 8px;
  transition: color 0.2s, background 0.2s;
  border-radius: 4px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #273b45;
}

/* MOBILE MENU (HIDDEN BY DEFAULT) */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #0F2E3DE6;
  z-index: 9900;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.35s cubic-bezier(.67, .01, .3, 1), opacity 0.3s;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 18px 8px 0;
  font-size: 2rem;
  background: none;
  border: none;
  color: #C1A265;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 4px;
  transition: background 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #273b45;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px 32px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: #F9F6F2;
  font-size: 1.25rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 0;
  transition: color 0.17s;
  border-bottom: 2px solid transparent;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #C1A265;
  border-bottom: 2.5px solid #C1A265;
}

/* HERO SECTION */
.hero {
  background: #192a33 url('../assets/hero-industrial-bg.jpg') center/cover no-repeat;
  min-height: 340px;
  display: flex;
  align-items: center;
  position: relative;
}
.hero .container {
  padding-top: 50px;
  padding-bottom: 45px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1, .hero h2 {
  color: #C1A265;
  text-shadow: 0 2px 8px #0F2E3D80;
}
.hero p {
  color: #F9F6F2;
  font-size: 1.18rem;
  margin-bottom: 16px;
  margin-top: 2px;
  max-width: 700px;
}

/* ABOUT & TEXT SECTIONS */
.about, .contact, .thank-you {
  background: #18242B;
  border-radius: 12px;
  box-shadow: 0 4px 28px 0 #0f2e3d10;
}
.text-section {
  margin-top: 18px;
  margin-bottom: 18px;
  padding: 0 2px;
}
.text-section img {
  vertical-align: middle;
  margin-right: 12px;
  height: 26px;
}
.text-section ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}
.text-section h3 {
  margin-top: 16px;
  color: #C1A265;
  font-size: 1.08rem;
}

/* UL ICONS for FEATURE LISTS */
ul li img {
  height: 24px;
  width: 24px;
  filter: grayscale(40%) contrast(120%);
  margin-right: 10px;
}

/* CARD-LIKE SECTIONS */
.card, .publications ul li, .blog ul li, .features ul li, .services ul li {
  background: #1c2327;
  border: 1.2px solid #273b45;
  border-radius: 9px;
  padding: 22px 22px 18px 22px;
  margin-bottom: 20px;
  box-shadow: 0 2.5px 12px #0f2e3d11;
  transition: box-shadow .25s, border-color .22s;
}
.card:hover, .publications ul li:hover, .blog ul li:hover, .features ul li:hover, .services ul li:hover {
  box-shadow: 0 4px 18px #C1A2652d;
  border-color: #C1A26555;
}

/* TESTIMONIALS */
.testimonials {
  background: #22282a;
  border-radius: 12px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonials h2 {
  color: #C1A265;
  margin-bottom: 22px;
}

/* PUBLICATION TAGS */
.publications span {
  display: inline-block;
  background: #273b45;
  color: #C1A265;
  border-radius: 5px;
  padding: 3px 9px;
  font-size: .95rem;
  margin-right: 9px;
  margin-bottom: 5px;
}

/* BLOG SEARCH */
form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 18px;
}
input[type='search'] {
  padding: 10px 16px;
  font-size: 1rem;
  border: 1.5px solid #273b45;
  border-radius: 6px;
  background: #21282b;
  color: #F9F6F2;
  transition: border .18s, box-shadow .18s;
  outline: none;
}
input[type='search']:focus {
  border-color: #C1A265;
  box-shadow: 0 2px 9px #C1A26524;
}
button[type='submit'], .cookie-btn {
  min-width: 116px;
  padding: 10px 18px;
  font-size: .98rem;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 6px;
  font-weight: 700;
  background: #C1A265;
  color: #0F2E3D;
}
button[type='submit']:hover, .cookie-btn:hover, .cookie-btn:focus {
  background: #A0884D;
  color: #fff;
}

/* FOOTER */
footer {
  background: #0F2E3D;
  border-top: 2px solid #273b45;
  padding: 0;
  margin-top: 30px;
}
.footer-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 26px;
  margin-bottom: 9px;
}
.footer-nav a {
  color: #C1A265;
  font-size: .98rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  transition: color .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F9F6F2;
}
.footer-info p {
  color: #F9F6F2;
  font-size: .91rem;
  opacity: 0.82;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 98vw;
  max-width: 1080px;
  background: #26343d;
  border-radius: 13px 13px 0 0;
  box-shadow: 0 -4px 18px #0F2E3D25;
  z-index: 9990;
  padding: 26px 16px 16px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  font-size: 1rem;
  color: #F9F6F2;
  opacity: 1;
  animation: slidein-cookie 0.6s cubic-bezier(.68, 0, .35, 1);
}
@keyframes slidein-cookie {
  0% { transform: translateX(-50%) translateY(100%); opacity: 0; }
  70% { opacity: 1; }
  100% { transform: translateX(-50%) translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 260px;
  margin-bottom: 0;
  color: #F9F6F2;
  font-size: .96rem;
}
.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  background: #C1A265;
  color: #0F2E3D;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  font-size: .95rem;
  transition: background .19s, color .18s;
  box-shadow: 0 2px 7px #C1A26523;
}
.cookie-btn.secondary {
  background: #192a33;
  color: #C1A265;
  border: 1.5px solid #C1A265;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #273b45;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10010;
  background: #0F2E3Dcc;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-55%) scale(.98);
  z-index: 10020;
  width: 94vw;
  max-width: 420px;
  background: #22282a;
  color: #F9F6F2;
  border-radius: 14px;
  box-shadow: 0 14px 64px #0007;
  padding: 24px 24px 22px 24px;
  animation: pop-modal 0.29s cubic-bezier(.67, .01, .3, 1);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes pop-modal {
  0% { transform: translate(-50%, -55%) scale(.9); opacity: 0; }
  80% { opacity: 1; }
  100% { transform: translate(-50%, -55%) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: #C1A265;
  font-size: 1.38rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #192a33;
  padding: 9px 14px 9px 11px;
  margin-bottom: 8px;
  border-radius: 8px;
  font-size: 1.01rem;
  border-left: 5px solid #C1A26522;
}
.cookie-modal .cookie-toggle {
  width: 40px;
  height: 20px;
  position: relative;
  display: inline-block;
}
.cookie-modal .cookie-toggle input[type='checkbox'] {
  width: 0;
  height: 0;
  opacity: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  background: #0F2E3D;
  border-radius: 11px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.17s;
}
.cookie-modal .cookie-toggle input:checked + .slider {
  background: #C1A265;
}
.cookie-modal .slider:before {
  content: "";
  position: absolute;
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.15s;
  box-shadow: 0 1px 6px #0F2E3D20;
}
.cookie-modal .cookie-toggle input:checked + .slider:before {
  transform: translateX(20px);
}
.cookie-modal .cookie-cat.disabled {
  opacity: 0.53;
}
.cookie-modal .cookie-cat .cookie-toggle {
  pointer-events: none;
}

.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 12px;
}

/* PAGE RESPONSIVE DESIGN */
@media (max-width: 980px) {
  .header-wrapper, .footer-wrapper, .container {
    max-width: 97vw;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 22px 16px 18px 16px;
  }
  .footer-nav {
    gap: 14px;
    margin-bottom: 8px;
    flex-wrap: wrap;
  }
  .footer-info {
    padding-left: 0;
  }
  .section, .testimonials {
    padding: 28px 6px;
    margin-bottom: 38px;
  }
  .hero .container {
    padding-top: 24px;
    padding-bottom: 26px;
  }
  .about, .contact, .thank-you {
    padding: 28px 6px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
    gap: 12px;
  }
  .card-container {
    flex-direction: column;
    gap: 19px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 18px 4px 15px 7px;
    border-radius: 13px 13px 0 0;
    font-size: .97rem;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: 1.33rem;
  }
  h2 {
    font-size: 1.04rem;
  }
  .container, .footer-wrapper {
    padding: 0 6px;
  }
}

/* LIST/SPACING SPECIALS */
ul {
  list-style-type: none;
  padding-left: 0;
}
ul li::before {
  content: '';
  display: none;
}

/* METALLIC ACCENTS & URBAN FEEL */
.section, .about, .contact, .thank-you {
  border-left: 4px solid #C1A265;
  box-shadow: 0 6px 30px #192a3322, 0 1.5px 2px #0F2E3D07;
}

h1, h2, h3 {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}

blockquote {
  font-style: italic;
  quotes: "\201C" "\201D";
  position: relative;
  color: #21282f;
  padding-left: 25px;
}
blockquote:before {
  content: "\201C";
  color: #C1A265;
  font-size: 1.7rem;
  position: absolute;
  left: 0; top: -10px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}

/* ANIMATION AND MICROINTERACTIONS */
.cta-btn, .cookie-btn, button, .mobile-menu-close {
  transition: background 0.19s, color 0.18s, box-shadow 0.18s;
}
.card, .testimonial-card, .publications ul li, .features ul li, .services ul li, .blog ul li {
  transition: box-shadow .22s, border-color .18s, transform .18s;
}
.card:hover, .testimonial-card:hover, .publications ul li:hover, .features ul li:hover, .services ul li:hover, .blog ul li:hover {
  transform: translateY(-2px) scale(1.01);
}

/* FORMS */
input, textarea {
  font-family: 'Roboto', Arial, sans-serif;
}
input[type="search"]::-webkit-input-placeholder { color: #a3a9ad; }
input[type="search"]::-moz-placeholder { color: #a3a9ad; }
input[type="search"]:-ms-input-placeholder { color: #a3a9ad; }
input[type="search"]::placeholder { color: #a3a9ad; }

/* SELECTION COLOR */
::selection {
  background: #C1A265;
  color: #0F2E3D;
}

/* ACCESSIBILITY FOR HIGHLIGHT */
*:focus {
  outline: 2px solid #C1A265;
  outline-offset: 2px;
  background: #192a33d0;
}

/* Z-INDEX LAYERING FOR MENUS/BANNERS */
header { z-index: 999; position: relative; }
.mobile-menu { z-index: 9900; }
.cookie-banner { z-index: 9990; }
.cookie-modal-backdrop { z-index: 10010; }
.cookie-modal { z-index: 10020; }

/* A11Y UTILITY CLASSES */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  border: 0 !important;
}
