/* --- CSS RESET & NORMALIZATION --- */
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,
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;
}

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

body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #232220;
  color: #e4e0d8;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: #EBC580;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #FFD98C;
  text-decoration: underline;
  outline: none;
}

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

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: 1em;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
}

strong {
  font-weight: 700;
}

/* --- FONTS --- */
@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 Narrow', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
  color: #EBC580;
  text-shadow: 0 2px 5px rgba(43,42,39,0.32);
}
h1 { font-size: 2.7rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; }
p, li { font-size: 1.06rem; }

@media (min-width: 600px) {
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.3rem; }
  h3 { font-size: 1.5rem; }
}


/* --- CONTAINER, SECTIONS, LAYOUT --- */
.container {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(38,37,33,0.96);
  box-shadow: 0 6px 34px 0 rgba(20,21,22,.12);
  border-radius: 18px;
  /* Keeps spacing for stacked cards */
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* --- HEADER & MAIN NAV --- */
header {
  background: #232220;
  box-shadow: 0px 3px 18px 0px rgba(44,44,40,0.13);
  border-bottom: 2px solid #393939;
  position: relative;
  z-index: 1001;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
header img {
  height: 46px;
  margin-right: 18px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1em;
  text-transform: uppercase;
  color: #e4e0d8;
  padding: 6px 12px;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: background 0.22s, color 0.22s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #393939;
  color: #EBC580;
  outline: none;
}

.cta-button {
  display: inline-block;
  padding: 13px 32px;
  background: linear-gradient(90deg, #EBC580 90%, #FFD98C 100%);
  color: #2B2A27;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 7px;
  box-shadow: 0 2px 12px rgba(220,170,60,0.09), 0 1px 6px rgba(0,0,0,.05);
  border: none;
  transition: background 0.22s, color 0.18s, transform 0.2s;
  margin-left: 16px;
  margin-right: 10px;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #FFD98C 95%, #EBC580 100%);
  color: #232220;
  transform: translateY(-2px) scale(1.035);
  outline: none;
}

/* --- MOBILE NAV --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: #EBC580;
  background: transparent;
  border: none;
  margin-left: 10px;
  padding: 6px 10px;
}

@media (max-width: 1000px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .cta-button { margin-left: 0; }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: rgba(28,28,28,0.97);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.76,.08,.23,.99);
  padding-top: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0%);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.6rem;
  color: #EBC580;
  background: none;
  border: none;
  margin: 28px 34px 22px 0;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #FFD98C;
  transform: scale(1.1);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 21px;
  margin: 0 34px;
}
.mobile-nav a {
  font-size: 1.4rem;
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  color: #e4e0d8;
  padding: 13px 0;
  border-radius: 5px;
  transition: background 0.22s, color 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #393939;
  color: #EBC580;
  outline: none;
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .cta-button { margin-left: 0; }
  header .container {
    padding-left: 10px;
    padding-right: 10px;
    height: 60px;
  }
  .mobile-menu {
    padding-top: 52px;
  }
  .mobile-menu-close {
    margin-right: 20px;
    margin-top: 18px;
  }
}

/* --- HERO SECTION --- */
.hero {
  background: #2B2A27 url('../assets/hero-bg-industrial.jpg') center/cover no-repeat;
  min-height: 380px;
  color: #e4e0d8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 4px solid #3E3A34;
  box-shadow: 0 8px 44px 0 rgba(14,14,17,.24);
  padding: 0;
}
.hero .container {
  padding-top: 54px;
  padding-bottom: 60px;
}
.hero .content-wrapper {
  max-width: 570px;
  gap: 20px;
}
@media (max-width: 700px) {
  .hero .content-wrapper { max-width: unset; }
  .hero .container {
    padding-top: 35px;
    padding-bottom: 35px;
  }
}

/* --- FEATURES SECTION & LISTS --- */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #25231f;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(24,22,18,0.10);
}
.features .content-wrapper {
  gap: 16px;
}
.features ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}
.features li {
  display: flex;
  align-items: flex-start;
  font-size: 1.09rem;
  color: #e4e0d8;
  gap: 16px;
  background: rgba(40,40,38,0.13);
  border-left: 4px solid #EBC580;
  padding: 9px 16px;
  border-radius: 7px;
  position: relative;
  box-shadow: 0 2px 9px rgba(36,33,30, 0.10);
}
.features li img {
  width: 30px; height: 30px; margin-right: 8px; filter: grayscale(30%) contrast(1.3);
}

/* --- SERVICES SECTION & CARDS --- */
.services {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.services .content-wrapper {
  gap: 26px;
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
  justify-content: flex-start;
}
.service-card {
  flex: 1 1 270px;
  min-width: 220px;
  max-width: 340px;
  background: #232220;
  color: #f3edd8;
  border-radius: 12px;
  border: 1px solid #46443e;
  box-shadow: 0 9px 30px rgba(27,26,22,0.13);
  padding: 26px 22px 18px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.23s, transform 0.23s, border-color 0.19s;
}
.service-card:hover,
.service-card:focus-within {
  box-shadow: 0 11px 44px rgba(235,197,128,0.18), 0 2px 9px rgba(56,47,28,0.11);
  border-color: #EBC580;
  transform: translateY(-5px) scale(1.02);
  z-index: 2;
}
.service-card h3 {
  color: #EBC580;
  font-size: 1.18rem;
  margin-bottom: 7px;
  letter-spacing: .5px;
}
.service-card .price, .service-card span {
  margin-top: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #FFD98C;
  font-weight: bold;
  font-size: 1.06em;
  letter-spacing: 0.5px;
}

/* --- TESTIMONIAL CARDS & SLIDER --- */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #262520;
  border-radius: 17px 17px 50px 17px;
  box-shadow: 0 12px 44px rgba(24, 23, 20, 0.09);
}
.testimonials .content-wrapper {
  gap: 24px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FAFAF6;
  color: #232220;
  border-radius: 18px;
  min-width: 240px;
  max-width: 440px;
  box-shadow: 0 5px 26px rgba(24,23,18,0.13);
  margin-bottom: 20px;
  flex: 1 1 240px;
  border-left: 6px solid #EBC580;
  font-size: 1.06em;
  position: relative;
  transition: box-shadow 0.22s, transform 0.22s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 9px 40px rgba(235,197,128,0.13);
  transform: translateY(-3px) scale(1.015);
  z-index: 3;
}
.testimonial-card blockquote {
  color: #232220;
  font-size: 1.09em;
  font-style: italic;
  margin: 0;
  line-height: 1.6;
}
.testimonial-card strong {
  font-weight: 700;
  color: #36342a;
  font-style: normal;
}

/* --- FOOTER --- */
footer {
  background: #232220;
  border-top: 2px solid #393939;
  box-shadow: 0 -3px 18px 0 rgba(44,44,40,0.09);
  color: #EBC580;
  padding-top: 26px;
  padding-bottom: 26px;
  margin-top: 30px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links a {
  font-size: 0.98em;
  text-transform: uppercase;
  color: #EBC580;
  opacity: 0.88;
  transition: color 0.2s, opacity 0.18s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #FFD98C;
  opacity: 1;
}
footer p {
  color: #EBC580;
  opacity: 0.72;
  font-size: 0.98em;
}

/* --- ABOUT PREVIEW & CONTACT PREVIEW --- */
.about-preview,
.contact-preview {
  background: #232220;
  border-radius: 17px 50px 17px 17px;
  box-shadow: 0 6px 34px 0 rgba(20,21,22,.10);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.about-preview a,
.contact-preview a {
  color: #EBC580;
  font-weight: bold;
  text-decoration: underline;
  margin-top: 10px;
  display: inline-block;
  transition: color 0.2s;
}
.about-preview a:hover,
.contact-preview a:hover {
  color: #FFD98C;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* --- CARDS GENERAL (cards outside .service-cards) --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #232220;
  border-radius: 13px;
  box-shadow: 0 1px 10px rgba(24,20,14,0.10);
  padding: 22px 18px;
  color: #f7efd4;
}

/* --- FLEX PATTERNS, UTILITIES & RESPONSIVE --- */
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Section class for spacing repeated block sections */
.section,
.features,
.services,
.about-preview,
.contact-preview,
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 900px) {
  .service-cards, .card-container, .content-grid, .testimonial-slider {
    gap: 16px;
  }
  .section { padding: 34px 8px; }
  .features, .services, .about-preview, .contact-preview, .testimonials {
    padding: 34px 8px;
  }
}
@media (max-width: 768px) {
  .service-cards, .card-container, .content-grid, .testimonial-slider {
    flex-direction: column;
    gap: 17px;
  }
  .section { padding: 26px 4px; }
  .features, .services, .about-preview, .contact-preview, .testimonials {
    padding: 26px 4px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* --- LEGAL PAGE FOOTER STYLING --- */
.footer-legal {
  background: #25231f;
  border-radius: 24px;
  box-shadow: 0 3px 18px rgba(24,23,20,0.07);
  margin-bottom: 75px;
  padding: 46px 22px;
}
.footer-legal .content-wrapper {
  gap: 20px;
}
.footer-legal h1 {
  font-size: 2.15rem;
  color: #EBC580;
}
.footer-legal a {
  color: #EBC580;
  text-decoration: underline;
}
.footer-legal a:hover {
  color: #FFD98C;
}

/* --- COOKIES BANNER --- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #22211e;
  color: #fff6e1;
  z-index: 4000;
  padding: 30px 16px 24px 16px;
  box-shadow: 0 -3px 22px 0 rgba(56,56,56, 0.16);
  border-top: 2px solid #EBC580;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  font-size: 1rem;
  animation: bannerIn 0.7s cubic-bezier(.66,.12,.45,1.16);
}
@keyframes bannerIn {
  0% { transform: translateY(80px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-buttons {
  display: flex;
  gap: 16px;
  margin-top: 7px;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s, transform 0.19s;
}
.cookie-accept {
  background: #EBC580;
  color: #2B2A27;
  border: none;
  margin-right: 5px;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #FFD98C;
  color: #232220;
  transform: translateY(-2px) scale(1.03);
}
.cookie-reject {
  background: #fff6e1;
  color: #2B2A27;
  border: none;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #EBC580;
}
.cookie-settings {
  background: #262520;
  color: #FFD98C;
  border: 1.5px solid #EBC580;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #262520;
  color: #FFF;
  border-color: #FFD98C;
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(34,33,30, 0.85);
  z-index: 7000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.38s cubic-bezier(.6,0,.33,1);
}
.cookie-modal.active {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal-inner {
  background: #fafaf6;
  color: #25231f;
  min-width: 296px;
  max-width: 420px;
  border-radius: 17px;
  padding: 35px 28px 24px 28px;
  box-shadow: 0 20px 75px rgba(67,67,54,0.17);
  display: flex;
  flex-direction: column;
  gap: 19px;
  align-items: flex-start;
  position: relative;
  animation: cookieModalFadeIn 0.7s cubic-bezier(.66,.12,.45,1.16);
}
@keyframes cookieModalFadeIn {
  0% { transform: scale(.8) translateY(100px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-inner h2 {
  color: #2B2A27;
  font-size: 1.25em;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin-bottom: 8px;
}
.cookie-category input[type='checkbox'] {
  accent-color: #EBC580;
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.cookie-category label {
  font-size: 1.08em;
  color: #232220;
}
.cookie-category .essential {
  font-size: 0.99em;
  color: #aaa;
  font-style: italic;
}
.cookie-modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 1.9em;
  color: #232220;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.49;
  transition: opacity 0.18s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  opacity: 1;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 5px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 6px;
  font-weight: 600;
  padding: 10px 20px;
  font-size: 1rem;
}
.cookie-save {
  background: #EBC580;
  color: #2B2A27;
  border: none;
}
.cookie-save:hover, .cookie-save:focus {
  background: #FFD98C;
}
.cookie-cancel {
  background: #fff6e1;
  color: #2B2A27;
  border: none;
}
.cookie-cancel:hover, .cookie-cancel:focus {
  background: #FFD98C;
}

@media (max-width: 600px) {
  .cookie-modal-inner { padding: 22px 10px 18px 10px; min-width: unset; max-width: 97vw; }
}

/* --- FORMS, FOCUS STYLES (future proofing) --- */
input, select, textarea {
  border-radius: 6px;
  background: #25231f;
  color: #f4ecd4;
  padding: 10px 17px;
  border: 1.5px solid #393939;
  margin-bottom: 17px;
  font-size: 1.05rem;
  outline: none;
  transition: border-color 0.16s;
}
input:focus, select:focus, textarea:focus {
  border-color: #EBC580;
}

/* --- SCROLLBAR STYLING --- */
::-webkit-scrollbar { width: 10px; background: #232220; }
::-webkit-scrollbar-thumb { background: #EBC580; border-radius: 8px; }

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.cta-button,
.service-card,
.testimonial-card,
.main-nav a,
.mobile-nav a,
.cookie-consent-banner button,
.cookie-modal-actions button,
input, select, textarea {
  transition: background 0.21s, color 0.21s, box-shadow 0.18s, transform 0.17s;
}

/* --- MISC, SPACING, UTILS --- */
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }

/* Ensure focus ring for keyboard navigation accessibility */
:focus-visible {
  outline: 2px dashed #EBC580;
  outline-offset: 2px;
}

/* --- END --- */
