/* 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-family: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background: #23272B;
  color: #F5F3F0;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
  margin-bottom: 0;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  color: inherit;
  outline: none;
}
::-webkit-input-placeholder { color: #7A8792; }
::-moz-placeholder { color: #7A8792; }
:-ms-input-placeholder { color: #7A8792; }
::placeholder { color: #7A8792; }

/* BRAND COLORS */
:root {
  --color-primary: #263E47;
  --color-secondary: #F5F3F0;
  --color-accent: #7A511A;
  --color-dark: #23272B;
  --color-light: #FAF8F4;
  --color-metal: #95989A;
  --color-shadow: rgba(40,48,60,0.07);
  --color-success: #478267;
  --color-error: #AC3B3B;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", "Roboto", Arial, sans-serif;
  font-weight: bold;
  color: #F5F3F0;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.15;
  text-shadow: 0 2px 6px #222a2d33;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.06rem;
  margin-bottom: 12px;
}
p, li, span, strong {
  font-size: 1rem;
  color: #F5F3F0;
}
strong {
  font-weight: 700;
  color: var(--color-accent);
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.text-section {
  gap: 18px;
}

/* MAIN NAVIGATION */
header {
  background: #23272B;
  border-bottom: 2px solid #2C3B41;
  position: relative;
  z-index: 50;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 16px 20px;
  justify-content: flex-start;
}
.main-nav > a {
  font-family: "Montserrat", "Roboto", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
  color: #F5F3F0;
  position: relative;
}
.main-nav > a:not(:first-child):hover {
  background: #1a2326;
  color: var(--color-accent);
}
.main-nav a.btn-primary {
  background: var(--color-accent);
  color: #fff;
  margin-left: auto;
  font-weight: bold;
  border-radius: 6px;
  box-shadow: 0 2px 8px 0 #13181b29;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  padding: 8px 18px;
}
.main-nav a.btn-primary:hover,
.btn-primary:hover, .btn-primary:focus {
  background: #A87943;
  color: #fff;
  box-shadow: 0 2px 16px 0 #7a511a49;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #F5F3F0;
  font-size: 2rem;
  border: none;
  position: absolute;
  right: 24px;
  top: 16px;
  z-index: 201;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:hover {
  background: #23272b;
  color: var(--color-accent);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 100vw;
  width: 100vw;
  height: 100vh;
  background: #23272B;
  z-index: 200;
  padding: 32px 0 0 0;
  box-shadow: -2px 0 16px 0 #13181b77;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(.68, -.55, .27, 1.55), opacity 0.4s;
  transform: translateX(0);
}
.mobile-menu.open {
  left: 0;
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  left: 27px;
  font-size: 2rem;
  color: #F5F3F0;
  background: none;
  border: none;
  z-index: 205;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
}
.mobile-menu-close:hover {
  color: var(--color-accent);
  background: #1a2326;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 64px 20px 0 40px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: "Montserrat", "Roboto", Arial, sans-serif;
  color: #F5F3F0;
  font-weight: 600;
  padding: 13px 0;
  transition: color 0.18s, background 0.18s;
  border-radius: 4px;
}
.mobile-nav a:hover {
  color: var(--color-accent);
  background: #181c1f;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(125deg, #23272B 60%, #263E47 100%);
  box-shadow: 0 3px 12px #0007;
  border-bottom: 3px solid #353e43;
  padding-top: 46px;
  padding-bottom: 56px;
  margin-bottom: 60px;
}
.hero .container {
  align-items: flex-start;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: #FFF;
}
.hero p {
  color: #E7ECED;
  font-size: 1.18rem;
}

/* FLEX LAYOUTS & SPACING */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #23272B;
  border-radius: 12px;
  box-shadow: 0 2px 18px 0 var(--color-shadow), 0 1px 2px 0 #000c;
  position: relative;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 32px 2px var(--color-shadow);
  transform: translateY(-4px) scale(1.01);
}
.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: #F5F3F0;
  color: #23272B;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px 0 #2c2c2c15, 0 0.5px 2px #1112;
  font-size: 1.05rem;
  min-width: 0;
  transition: box-shadow 0.2s;
}
.testimonial-card p {
  color: #fff;
}
.testimonial-card strong {
  color: #7A511A;
}
.testimonial-card span {
  color: var(--color-accent);
  letter-spacing: 0.15em;
  font-size: 1.3rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #262B2F;
  border-radius: 9px;
  padding: 28px 22px 20px 22px;
  box-shadow: 0 2px 10px #222c2d25;
  border: 1.7px solid #37474f;
  display: flex;
  flex-direction: column;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  gap: 11px;
  transition: border-color 0.17s, box-shadow 0.17s, transform 0.16s;
}
.feature-grid > div:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 24px #232b3333;
  transform: translateY(-2px) scale(1.01);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 7px;
  filter: grayscale(70%) brightness(1.2);
}
.feature-grid h3 {
  color: var(--color-accent);
  font-size: 1.13rem;
}

/* BUTTONS */
.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: "Montserrat", "Roboto", Arial, sans-serif;
  border-radius: 7px;
  padding: 12px 26px;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  border: none;
  box-shadow: 0 2px 10px #19191922;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.23s, transform 0.16s;
  margin-top: 16px;
  margin-bottom: 4px;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #A87943;
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 5px 24px #a8794352;
}
.btn-secondary {
  background: #23272B;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--color-accent);
  color: #fff;
  transform: scale(1.04);
}

/* TEAM HIGHLIGHT & AWARDS */
.team-highlight {
  padding: 18px 20px;
  background: #262B2F;
  color: #A87943;
  border-radius: 7px;
  font-weight: bold;
  box-shadow: 0 1px 5px #212c2d26;
  margin-bottom: 12px;
  font-size: 1.13rem;
}
.awards {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}
.awards img {
  width: 30px;
  filter: grayscale(0%) brightness(1.4) contrast(1.23);
}
.awards span {
  color: #7A511A;
  font-weight: 600;
}

/* ADDRESS, PHONE, EMAIL BLOCKS */
.address-block, .phone-block, .email-block {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.1rem;
  color: var(--color-metal);
  margin-bottom: 10px;
}
.office-hours {
  margin: 18px 0 6px 0;
  color: #A87943;
}

/* FOOTER */
footer {
  background: #23272B;
  padding: 40px 0 24px 0;
  border-top: 3px solid #2c3b41;
  color: #F5F3F0;
}
.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  font-size: 0.98rem;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #F5F3F0;
  opacity: 0.8;
  transition: color 0.15s, opacity 0.15s;
}
.footer-nav a:hover {
  color: #A87943;
  opacity: 1;
}
.footer-contact {
  text-align: center;
  font-size: 0.99rem;
  margin-bottom: 18px;
  color: #95989A;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.footer-copy {
  text-align: center;
  opacity: 0.6;
  font-size: 0.95rem;
}

/* CARD LAYOUTS */
.card {
  background: #262B2F;
  border-radius: 12px;
  padding: 24px 18px 18px 22px;
  box-shadow: 0 2px 10px #222c2d29;
  border: 1.4px solid #37474f;
  min-width: 220px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

/* CONTENT WRAPPERS */
.content-wrapper, .text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
ul li, ol li {
  position: relative;
  margin-bottom: 10px;
  color: #EAEAEA;
  line-height: 1.7;
}
ul li::before {
  content: '\2022';
  color: #A87943;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1.2em;
}
li b {
  color: #A87943;
  font-family: "Montserrat", "Roboto", Arial, sans-serif;
  font-weight: 600;
}
ol li {
  counter-increment: step;
}
ol {
  counter-reset: step;
}
ol li::before {
  content: counter(step)'.';
  color: #A87943;
  font-weight: bold;
  margin-right: 8px;
}

/* CTA / SECTIONS */
section > h2 {
  margin-bottom: 32px;
}
section:last-child {
  margin-bottom: 0;
}

/* Shadows and Borders for Industrial Feel */
.card, .feature-grid > div, .testimonial-card {
  border: 1.5px solid #4B5359;
  background: #23272B;
}
.card, .feature-grid > div {
  box-shadow: 0 2px 12px #00000023;
  border-radius: 8px;
}

/* Micro-Interactions (Transitions, Hover Effects) */
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 6px 24px #1119121f;
  border-color: var(--color-accent);
}


/* CONTENT BLOCKS RESPONSIVENESS */
@media (max-width: 1023px) {
  .main-nav {
    gap: 13px;
    padding: 12px 8px;
  }
  .container {
    max-width: 96vw;
    padding: 0 9px;
  }
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav a.btn-primary { padding: 7px 10px; }
  .footer-contact { font-size: 0.86rem; }
  .content-wrapper, .text-section { gap: 13px; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.40rem; }
  .main-nav, .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
  }
  .main-nav {
    padding: 8px 12px;
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-nav { gap: 11px; align-items: center; }
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid > div {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .section, section {
    margin-bottom: 34px;
    padding: 22px 6px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 16px !important;
    align-items: flex-start;
  }
  .testimonial-card { gap: 14px; padding: 13px 6px; font-size: 1rem; }
  .hero {
    padding-top: 28px; padding-bottom: 34px;
  }
}

@media (max-width: 540px) {
  body { font-size: 15px; }
  .container { max-width: 98vw; padding: 0 2px; }
  .section, section { padding: 9px 0; }
  .hero { padding: 13px 0 22px 0; }
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.1rem; }
  .card, .feature-grid > div, .testimonial-card {
    padding: 10px 6px 12px 6px;
    font-size: 0.95rem;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #23272B;
  color: #F5F3F0;
  padding: 20px 16px 20px 16px;
  border-top: 3px solid var(--color-accent);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  z-index: 1000;
  box-shadow: 0 -4px 24px #0007;
  font-size: 1rem;
  animation: slideInBanner 0.8s cubic-bezier(.42,0,.58,1) 1;
}
@keyframes slideInBanner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0;
  max-width: 440px;
  color: #F5F3F0;
  font-size: 1.03rem;
}
.cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-btn, .cookie-settings-btn {
  font-family: "Montserrat", "Roboto", Arial, sans-serif;
  padding: 10px 22px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0;
  transition: background 0.15s, color 0.15s, box-shadow 0.16s, border-color 0.17s;
  background: #262B2F;
  color: #fff;
  border: 1.5px solid #7A511A;
}
.cookie-btn.accept {
  background: var(--color-accent);
  color: #fff;
  border: none;
}
.cookie-btn.accept:hover { background: #A87943; }
.cookie-btn.reject {
  background: #353B40;
  color: #fff;
}
.cookie-btn.reject:hover { background: #23272B; color: #A87943; }
.cookie-settings-btn {
  background: none;
  color: #A87943;
  border: 1.2px solid #A87943;
}
.cookie-settings-btn:hover {
  background: #A87943;
  color: #fff;
}
@media (max-width: 540px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 18px 4px; gap: 9px; }
  .cookie-btns { flex-direction: column; align-items: stretch; width: 100%; gap: 7px; }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(40, 48, 60, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal span {
  color: #181c1f;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #F5F3F0;
  color: #23272B;
  padding: 32px 24px 20px 24px;
  border-radius: 14px;
  min-width: 320px;
  max-width: 97vw;
  box-shadow: 0 8px 48px #18181b5f, 0 2px 10px #23272b24;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: slideInModal 0.5s cubic-bezier(.68, -.55, .27, 1.55);
}
@keyframes slideInModal {
  from { transform: translateY(80px) scale(0.95); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal-content h3 {
  color: var(--color-accent);
  margin-bottom: 6px;
}
.cookie-modal-content p, .cookie-modal-content label {
  color: #23272B;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-modal-content .switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}
.cookie-modal-content .switch input { display: none; }
.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #ccc;
  border-radius: 20px;
  transition: background 0.2s;
}
.switch input:checked + .switch-slider {
  background: #A87943;
}
.switch-slider:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}
.switch input:checked + .switch-slider:before {
  transform: translateX(22px);
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 22px; right: 40px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #23272B;
  cursor: pointer;
  z-index: 1111;
}
.cookie-modal .modal-close:hover { color: #A87943; }
@media (max-width: 540px) {
  .cookie-modal-content { min-width: 0; width: 97vw; padding: 18px 4px; }
  .cookie-modal .modal-close { right: 16px; top: 9px; }
}

/* MISC */
::-webkit-scrollbar { width: 8px !important; background: #181c1f; }
::-webkit-scrollbar-thumb { background: #232b2c; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #7A511A; }

/* ACCESSIBILITY/CONTRAST */
::selection { background: #aad0ee; color: #23272B; }

/* PRINT */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section, .container, .content-wrapper, .card, .feature-grid > div, .testimonial-card { box-shadow: none !important; border: none !important; background: #fff !important; color: #23272B !important; }
}
