/* ===== CSS RESET & BASELINE ===== */
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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #181B1A;
  color: #F3F3ED;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #D9A86C;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; }

p, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  color: #F3F3ED;
  margin-bottom: 16px;
}
strong, b {
  color: #FFD496;
  font-weight: 700;
}

ul, ol {
  margin-bottom: 24px;
  margin-left: 20px;
}
ul li, ol li {
  margin-bottom: 10px;
}

/* ===== LINKS ===== */
a {
  color: #D9A86C;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
a:hover, a:focus {
  color: #ffd496;
  text-decoration: underline;
}

/* ===== CONTAINERS & SECTIONS ===== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(28, 58, 47, 0.88);
  border-radius: 10px;
  box-shadow: 0 4px 32px 0 rgba(44, 47, 51, 0.06);
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: #202726;
  border-bottom: 1.5px solid #404D47;
  box-shadow: 0 2px 8px 0 rgba(30, 30, 28, 0.10);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 4px #0e1813);
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1rem;
  color: #F3F3ED;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #D9A86C;
}
.main-nav .cta.primary {
  background: #D9A86C;
  color: #181B1A;
  padding: 9px 22px;
  border-radius: 36px;
  font-weight: 700;
  margin-left: 13px;
  font-size: 1rem;
  box-shadow: 0 5px 24px 0 rgba(90,90,74,0.08);
  text-decoration: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  border: none;
}
.main-nav .cta.primary:hover {
  background: #FFD496;
  color: #1C3A2F;
  box-shadow: 0 7px 28px 0 rgba(120,119,102,0.15);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #D9A86C;
  font-size: 2rem;
  margin-left: 20px;
  cursor: pointer;
  z-index: 302;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover { color: #FFD496; }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #181B1A;
  z-index: 300;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.71,.17,.39,.93);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  overflow-y: auto;
  box-shadow: 4px 0 32px rgba(40,40,35,0.18);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  align-self: flex-end;
  margin: 26px 20px 0 0;
  background: #272B27;
  color: #FFD496;
  border: none;
  font-size: 2rem;
  padding: 4px 12px;
  border-radius: 7px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(31,31,30,0.04);
  transition: background 0.14s, color 0.17s;
}
.mobile-menu-close:hover { background: #3b433c; color: #D9A86C; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  margin: 50px 0 0 36px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #FFD496;
  padding: 12px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #D9A86C;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 17px;
  }
}
@media (max-width: 950px) {
  .main-nav {
    gap: 11px;
  }
}
@media (max-width: 850px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ===== FOOTER ===== */
footer {
  background: #1C3A2F;
  color: #F3F3ED;
  padding-top: 40px;
  padding-bottom: 26px;
  border-top: 1.5px solid #232A27;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #D9A86C;
  font-size: 1rem;
  letter-spacing: 0.03em;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.18s;
}
.footer-nav a:hover { color: #FFD496; }
footer p {
  color: #B6B6A8;
  font-size: 0.97rem;
  margin-bottom: 0;
}

/* ===== HERO SECTION & CTAS ===== */
.hero {
  width: 100%;
  background: #232A27 url('../assets/hero-bg-industrial.jpg') center center/cover no-repeat;
  min-height: 340px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  border-bottom: 3px solid #383E34;
  box-shadow: 0 3px 22px 0 rgba(22,25,23,0.16);
  position: relative;
}
.hero .container { padding-top: 38px; padding-bottom: 38px; }
.hero h1 {
  color: #FFD496;
  font-size: 2.55rem;
  text-shadow: 0 3px 14px #1C3A2F66;
}
.hero p {
  color: #F3F3ED;
  font-size: 1.3rem;
  max-width: 600px;
  margin-bottom: 24px;
}
.cta.primary, .cta.secondary {
  display: inline-block;
  background: #D9A86C;
  color: #181B1A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 36px;
  font-size: 1.11rem;
  padding: 12px 32px;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 5px 28px 0 rgba(150,93,40,0.04);
  text-decoration: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.12s;
}
.cta.primary:hover, .cta.primary:focus {
  background: #FFD496;
  color: #1C3A2F;
  box-shadow: 0 11px 24px 0 rgba(154,128,63,0.08);
  transform: translateY(-2px) scale(1.04);
}
.cta.secondary {
  background: #232A27;
  color: #D9A86C;
  border: 1.5px solid #D9A86C;
  margin-left: 8px;
}
.cta.secondary:hover,
.cta.secondary:focus {
  background: #D9A86C;
  color: #181B1A;
  border-color: #FFD496;
}

.contact-cta {
  margin-bottom: 0 !important;
  background: #232A27;
  border-radius: 16px;
  box-shadow: 0 2px 32px 0 rgba(30,35,30,0.11);
  padding: 36px 0;
}
.contact-cta h2 {
  color: #FFD496;
}
.contact-cta p {
  font-size: 1.15rem;
  color: #F3F3ED;
  margin-bottom: 21px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-cta img {
  height: 22px;
  margin: 0 6px -4px 0;
}

.cta-banner {
  margin-bottom: 0 !important;
  background: #2E2B23;
  color: #F3F3ED;
  border-radius: 14px;
  box-shadow: 0 2px 40px 0 rgba(60,50,32,0.13);
  padding: 44px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-banner h2 {
  color: #FFD496;
  margin-bottom: 17px;
}

/* ===== CARDS & FLEX LAYOUTS ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 11px;
  box-shadow: 0 5px 18px rgba(24,24,20,0.14);
  background: #202726;
  overflow: hidden;
  border: 1.2px solid #363D35;
  transition: box-shadow 0.18s, border-color 0.20s, transform 0.13s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 30px #D9A86C44, 0 1px 7px #12161344;
  border-color: #D9A86C;
  transform: translateY(-3px) scale(1.017);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  gap: 12px;
}

.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: 14px;
  background: #F3F3ED;
  color: #181B1A !important;
  border-left: 4px solid #D9A86C;
  border-radius: 11px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 3px 15px 0 rgba(33,35,27,0.06);
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card p {
  color: #232A27;
  font-size: 1.13rem;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: 0.99rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #7f6232;
  opacity: 0.90;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 210px;
  max-width: 350px;
  background: #232A27;
  border-radius: 10px;
  padding: 20px 24px;
  box-shadow: 0 3px 12px rgba(33,27,21,0.09);
  border: 1.1px solid #363D35;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, border-color 0.17s, transform 0.13s;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 7px 30px #D9A86C44;
  border-color: #D9A86C;
  transform: translateY(-2px) scale(1.025);
}
.feature-item img {
  height: 42px;
  margin-bottom: 8px;
}
.feature-item h3 {
  color: #D9A86C;
  font-size: 1.21rem;
}
.feature-item p {
  color: #F3F3ED;
  font-size: 1.04rem;
}

.feature-grid, .service-list-detailed {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
  justify-content: flex-start;
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #232A27;
  border-radius: 10px;
  padding: 22px 24px;
  gap: 11px;
  box-shadow: 0 4px 14px #16191211;
  border: 1.1px solid #363D35;
  min-width: 210px;
  max-width: 350px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.13s, border-color 0.13s;
}
.service-item:hover {
  box-shadow: 0 8px 28px #FFD49622;
  border-color: #FFD496;
  transform: translateY(-2px) scale(1.018);
}
.service-item img {
  height: 38px;
  margin-bottom: 7px;
}
.service-item h3 { color: #D9A86C; font-size: 1.16rem; }
.service-item p { color: #F3F3ED; font-size: 1.03rem; }

.style-overview h3 {
  color: #D9A86C;
  margin-bottom: 2px;
}
.style-overview p {
  font-size: 1.005rem;
  color: #F3F3ED;
  margin-bottom: 22px;
}

.text-section {
  background: #202726;
  border-radius: 11px;
  padding: 34px 20px;
  box-shadow: 0 3px 16px #171a2033;
  margin-bottom: 36px;
}
.text-section img {
  margin-top: 20px;
  border-radius: 7px;
  box-shadow: 0 2px 12px #23271f22;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 800;
  background: #232A27;
  color: #F3F3ED;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  box-shadow: 0 -2px 32px #12161333;
  padding: 22px 5vw 22px 5vw;
  gap: 30px;
  border-top: 2px solid #363D35;
  font-size: 1rem;
  transition: transform 0.39s;
  transform: translateY(0);
}
.cookie-banner.hide { transform: translateY(130%); }
.cookie-banner .cookie-banner-content {
  max-width: 580px;
  color: #F3F3ED;
}
.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-banner button {
  padding: 10px 22px;
  border-radius: 32px;
  border: none;
  margin-left: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #D9A86C;
  color: #232A27;
  box-shadow: 0 3px 16px #D9A86C29;
  margin-right: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.11s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #FFD496;
  color: #181B1A;
  transform: scale(1.045);
}
.cookie-banner .settings-btn {
  background: #232A27;
  color: #D9A86C;
  border: 1.6px solid #D9A86C;
}
.cookie-banner .settings-btn:hover {
  background: #D9A86C;
  color: #181B1A;
}

/* ===== COOKIE MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 950;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24, 27, 26, 0.83);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.23s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #202726;
  color: #F3F3ED;
  padding: 38px 26px 24px 26px;
  border-radius: 17px;
  box-shadow: 0 9px 60px #22292466;
  min-width: 340px;
  max-width: 98vw;
  width: 440px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  position: relative;
  animation: modalPop 0.36s cubic-bezier(.62,-0.02,.53,1.12);
}
@keyframes modalPop {
  0% { transform: scale(0.89) translateY(60px); opacity: 0; }
  90% { transform: scale(1.02) translateY(-6px); }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  color: #FFD496;
  font-size: 1.34rem;
  margin-bottom: 13px;
}
.cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  background: #232A27;
  padding: 10px 10px 10px 12px;
  border-radius: 7px;
}
.cookie-modal .cookie-category label {
  font-size: 1.04rem;
  color: #F3F3ED;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal .cookie-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 25px;
  margin-left: 9px;
}
.cookie-modal .cookie-switch input {
  opacity: 0; width: 0; height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #383E34;
  border-radius: 25px;
  transition: background 0.21s;
}
.cookie-modal .slider:before {
  position: absolute;
  content: '';
  height: 19px; width: 19px;
  left: 3px; bottom: 3px;
  background: #D9A86C;
  border-radius: 50%;
  transition: transform 0.20s, background 0.18s;
}
.cookie-modal .cookie-switch input:checked + .slider {
  background: #D9A86C;
}
.cookie-modal .cookie-switch input:checked + .slider:before {
  transform: translateX(21px);
  background: #FFD496;
}
.cookie-modal .cookie-category.essential .cookie-switch .slider {
  background: #6B715A;
}
.cookie-modal .cookie-category.essential .cookie-switch .slider:before {
  background: #88886f;
}
.cookie-modal .cookie-category.essential label {
  color: #9D987B;
  font-style: italic;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button {
  padding: 10px 22px;
  border-radius: 32px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  font-weight: 600;
  margin-right: 0;
  margin-left: 0;
  background: #D9A86C;
  color: #232A27;
  box-shadow: 0 3px 16px #D9A86C18;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, transform 0.14s;
}
.cookie-modal .cookie-modal-actions button:hover, .cookie-modal .cookie-modal-actions button:focus {
  background: #FFD496;
  color: #181B1A;
  transform: scale(1.045);
}
.cookie-modal .modal-close {
  position: absolute;
  top: 13px; right: 18px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #FFD496;
  cursor: pointer;
  padding: 2px 4px;
  opacity: 0.97;
}
.cookie-modal .modal-close:hover { color: #D9A86C; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1100px) {
  .container { max-width: 95vw; }
}
@media (max-width: 900px) {
  .feature-grid, .service-list-detailed, .card-container, .content-grid {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  html { font-size: 93%; }

  .container { padding: 0 10px; }
  
  header .container {
    min-height: 60px;
    flex-direction: row;
    gap: 8px;
    padding: 6px 10px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }

  .hero {
    min-height: 210px;
    padding: 18px 0;
  }
  .content-wrapper, .text-section {
    gap: 11px;
    padding: 18px 9px;
  }
  .section { margin-bottom: 34px; padding: 23px 8px; }

  .feature-grid, .service-list-detailed, .card-container, .content-grid {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .feature-item, .service-item {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .testimonial-card {
    padding: 15px;
    margin-bottom: 15px;
  }
  .cta-banner, .contact-cta {
    padding: 27px 0 28px 0;
  }
  .footer-nav {
    gap: 10px;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 14px 12px;
    gap: 10px;
    align-items: flex-start;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-modal {
    min-width: 0;
    width: 99vw;
    padding: 19px 6px 14px 6px;
  }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 1.45rem; }
  .section { padding: 13px 3px; }
  .footer-nav a { font-size: 0.99rem; }
  .cookie-modal h2 { font-size: 1.09rem; }
}

/* ===== SCROLLBAR STYLING (Chrome/Edge) ===== */
html::-webkit-scrollbar {
  width: 12px;
  background: #242725;
}
html::-webkit-scrollbar-thumb {
  background: #1C3A2F;
  border-radius: 12px;
  border: 2px solid #242725;
}

/* ===== UTILITIES ===== */
.hide { display: none !important; }

/* ===== LAYOUT STRUCTURE: CRITICAL FLEXBOX GAPS ===== */
.section, .feature-item, .service-item, .testimonial-card, .card, .text-section {
  margin-bottom: 20px;
}
.feature-grid, .service-list-detailed, .card-container, .content-grid, .footer-nav, .text-image-section, .testimonial-card, .feature-item {
  gap: 20px;
}

/* Ensure proper spacing between any flexed cards/sections */
.feature-grid > *, .service-list-detailed > *, .card-container > *, .content-grid > * {
  margin-bottom: 20px;
}

/* ===== FOCUS STATES ===== */
a:focus, .cta.primary:focus, .cta.secondary:focus, button:focus, .mobile-menu-close:focus, .cookie-modal .modal-close:focus {
  outline: 2px solid #D9A86C;
  outline-offset: 3px;
}

/* ===== ANIMATIONS ===== */
.card, .feature-item, .service-item, .testimonial-card, .cta.primary, .cta.secondary {
  transition: box-shadow 0.20s, border-color 0.17s, background 0.18s, color 0.16s, transform 0.14s;
}

/* ===== URBAN INDUSTRIAL METALLIC ACCENTS ===== */
.card, .feature-item, .service-item {
  border: 1.1px solid #363D35;
  background: linear-gradient(115deg, #232A27 60%, #2B322D 100%);
}
.card:after, .feature-item:after, .service-item:after {
  content: '';
  position: absolute;
  top: 8px; right: 10px;
  width: 22px; height: 2px;
  background: linear-gradient(90deg, #b49962cc, #FFF1af00);
  opacity: 0.55;
  border-radius: 2px;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.21s;
}
.card:hover:after, .feature-item:hover:after, .service-item:hover:after { opacity: 1; }

/* ===== MISC ===== */
::-webkit-input-placeholder { color: #88886f; }
::-moz-placeholder { color: #88886f; }
:-ms-input-placeholder { color: #88886f; }
::placeholder { color: #88886f; }
