/* --- 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: inherit;
  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: #181818;
  color: #F0EFEB;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #7DBC59;
  text-decoration: none;
  transition: color 0.2s linear;
}
a:hover, a:focus {
  color: #F0EFEB;
}

/* --- SCROLLBAR DARKENED --- */
::-webkit-scrollbar {
  width: 8px;
  background: #252525;
}
::-webkit-scrollbar-thumb {
  background: #464a47;
  border-radius: 8px;
}

/* --- FONT IMPORTS (ASSUMED INLINE IN HTML HEAD) --- */
/*
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');
*/

/* --- ROOT VARIABLES FOR EASY BRAND COLORING --- */
:root {
  --color-primary: #22543D;
  --color-secondary: #7DBC59;
  --color-accent: #F0EFEB;
  --color-bg: #181818;
  --color-bg-light: #222624;
  --color-metal: #b3b3b3;
  --color-metal-dark: #414346;
  --color-error: #A5402D;
  --color-shadow: rgba(40, 50, 60, 0.24);
  --radius-card: 12px;
  --radius-btn: 6px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  font-weight: 700;
}
h1 { font-size: 2.3rem; line-height: 1.18; margin-bottom: 24px; color: var(--color-accent); }
h2 { font-size: 1.7rem; margin-bottom: 20px; color: var(--color-secondary); }
h3 { font-size: 1.2rem; margin-bottom: 14px; color: var(--color-accent); }
h4 { font-size: 1.05rem; margin-bottom: 10px; color: var(--color-accent); }

p, li, strong, span {
  font-family: var(--font-body);
  color: var(--color-accent);
  font-size: 1rem;
}
strong {
  color: var(--color-secondary);
  font-weight: 700;
}
.subheadline {
  font-size: 1.12rem;
  margin-bottom: 24px;
  color: var(--color-metal);
  font-family: var(--font-body);
  font-weight: 400;
}

/* --- CONTAINER & SECTION LAYOUTS --- */
.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-light);
  border-radius: var(--radius-card);
  box-shadow: 0 3px 24px var(--color-shadow);
}

/* --- FLEXBOX UTILITIES & SPACING RULES --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  position: relative;
  background: var(--color-bg-light);
  margin-bottom: 20px;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 6px var(--color-shadow);
  padding: 24px 20px;
  min-width: 270px;
  flex: 1 1 270px;
  border: 1.5px solid #373737;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 8px 36px 0px var(--color-shadow);
}
.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;
}
.testimonials,
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #F0EFEB;
  color: #181818;
  padding: 20px;
  border-radius: var(--radius-card);
  box-shadow: 0 3px 12px rgba(34, 84, 61, 0.10);
  min-width: 270px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  border: 1px solid #bdbdbd;
}
.testimonial-card p {
  color: #292929;
}
.testimonial-author {
  font-size: 1rem;
  font-weight: bold;
  color: var(--color-primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  width: 100%;
}
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 240px;
  background: var(--color-bg);
  color: var(--color-accent);
  border-radius: var(--radius-card);
  box-shadow: 0 3px 18px var(--color-shadow);
  padding: 24px 20px 16px 20px;
  flex: 1 1 240px;
  border: 1.5px solid #2e3831;
  margin-bottom: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 10px 36px var(--color-shadow);
}
.service-price {
  color: var(--color-secondary);
  font-weight: bold;
  margin-top: 10px;
  font-size: 1.1rem;
}

ul {
  list-style: none;
  margin-bottom: 20px;
  margin-top: 6px;
  padding-left: 0;
}
ul > li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  line-height: 1.6;
  background: transparent;
  color: var(--color-accent);
  margin-bottom: 12px;
}
ul > li img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  filter: grayscale(1) brightness(1.6) contrast(1.2);
}
ol {
  padding-left: 28px;
  margin-bottom: 16px;
}
ol > li {
  color: var(--color-accent);
  margin-bottom: 10px;
  list-style-type: decimal;
  font-size: 1rem;
  font-family: var(--font-body);
}

/* --- CTA Buttons --- */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-accent);
  background: linear-gradient(92deg, var(--color-primary) 80%, var(--color-secondary) 100%);
  border: none;
  border-radius: var(--radius-btn);
  padding: 13px 34px;
  margin-top: 20px;
  margin-bottom: 10px;
  cursor: pointer;
  letter-spacing: 0.04em;
  box-shadow: 0 3px 18px #0f2119b3;
  text-transform: uppercase;
  transition: background 0.18s cubic-bezier(.35,1.11,.46,.99), box-shadow 0.18s, color 0.18s;
  outline: none;
}
.cta-btn:hover,
.cta-btn:focus {
  background: linear-gradient(92deg, var(--color-secondary) 77%, var(--color-primary) 100%);
  color: #121611;
  box-shadow: 0 6px 34px var(--color-shadow);
}

/* --- Main Navigation (Desktop) --- */
header {
  background: #222624;
  width: 100%;
  box-shadow: 0 4px 16px var(--color-shadow);
  position: relative;
  z-index: 11;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 20px;
}
.main-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
  padding: 5px 8px;
  transition: color 0.18s, border-color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-secondary);
}
.main-nav img {
  width: 44px;
  height: 44px;
  margin-right: 10px;
  filter: grayscale(1) brightness(1.2) contrast(1.5);
}

/* --- BURGER MENU BUTTON --- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: #222624;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  position: absolute;
  top: 13px;
  right: 20px;
  z-index: 13;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: var(--color-accent);
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(34,40,38,0.98);
  color: var(--color-accent);
  z-index: 1200;
  box-shadow: 0 -4px 22px #00000060;
  padding: 24px 12px 20px 12px;
  font-size: 1rem;
  animation: cookieFadeIn 0.44s cubic-bezier(.22,.61,.36,1.04);
}
@keyframes cookieFadeIn { from { transform: translateY(64px); opacity:0;} to {transform:translateY(0); opacity:1;} }
.cookie-banner p {
  margin-bottom: 16px;
  text-align: center;
  color: var(--color-accent);
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: var(--font-display);
  padding: 8px 22px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  margin: 0 2px;
  box-shadow: 0 1px 4px #0002;
  font-weight: 600;
  font-size: 1.05rem;
  transition: background 0.21s, color 0.21s;
}
.cookie-banner .accept {
  background: var(--color-secondary);
  color: #222624;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-banner .reject {
  background: #373737;
  color: var(--color-accent);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #484848;
}
.cookie-banner .settings {
  background: #292929;
  color: var(--color-accent);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--color-primary);
  color: var(--color-accent);
}

/* --- COOKIE MODAL (popup) --- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1400;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,20,20,0.77);
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.3s;
}
@keyframes cookieModalFadeIn { from { opacity:0;} to {opacity:1;} }
.cookie-modal {
  background: var(--color-bg-light);
  border-radius: var(--radius-card);
  padding: 32px 26px 24px 26px;
  max-width: 420px;
  width: 96vw;
  color: var(--color-accent);
  box-shadow: 0 10px 36px #000d;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cookie-modal h3 {
  font-size: 1.35rem;
  color: var(--color-secondary);
  margin-bottom: 10px;
}
.cookie-modal label {
  font-size: 1.1rem;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-modal .category input[type="checkbox"] {
  accent-color: var(--color-secondary);
}
.cookie-modal .essential-category {
  font-weight: bold;
  color: var(--color-secondary);
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  color: var(--color-metal);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.cookie-modal .modal-btns button {
  padding: 7px 20px;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border: none;
}
.cookie-modal .accept {background: var(--color-secondary);color:#222624;}
.cookie-modal .reject {background:#292929;color:var(--color-accent);}
.cookie-modal .close {background:transparent; color:var(--color-metal);}

/* --- TABLES --- */
table {
  width: 100%;
  background: var(--color-bg-light);
  color: var(--color-accent);
  border-radius: var(--radius-card);
  border-collapse: collapse;
  margin-bottom: 24px;
  box-shadow: 0 3px 9px #22262438;
  font-size: 1rem;
}
th, td {
  padding: 13px 10px;
  border-bottom: 1px solid #353535;
  text-align: left;
}
th {
  background: #282c28;
  color: var(--color-secondary);
  letter-spacing: 0.02em;
  font-family: var(--font-display);
  font-weight: 700;
}
tr:last-child td {
  border-bottom: none;
}

/* --- FOOTER --- */
footer {
  background: #1d2321;
  color: var(--color-accent);
  box-shadow: 0 -2px 14px #0003;
  width: 100%;
  padding-top: 26px;
  margin-top: 60px;
  font-size: 1rem;
  border-top: 1.5px solid #292d29;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1rem;
  transition: color 0.15s;
  text-transform: uppercase;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--color-accent);
}
.footer-contact {
  color: var(--color-metal);
  text-align: center;
  font-size: 0.97rem;
  padding-bottom: 22px;
}
.footer-contact p {
  margin-bottom: 5px;
}

/* --- FORMS (not in HTML, but for extensibility) --- */
input[type="text"],
input[type="email"],
textarea {
  background: #252a26;
  color: var(--color-accent);
  border: 1.5px solid #414346;
  border-radius: var(--radius-btn);
  padding: 9px 14px;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 18px;
  outline: none;
  transition: border-color 0.19s;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--color-secondary);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1050px) {
  .container {
    max-width: 96vw;
    padding: 0 8px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 13px;
    font-size: 0.97rem;
  }
  .footer-nav {
    gap: 10px;
    font-size: 0.96rem;
  }
}
@media (max-width: 768px) {
  .content-wrapper,
  .main-nav,
  .footer-nav,
  .service-cards,
  .testimonials,
  .card-container,
  .content-grid {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
  }
  .section,
  .card,
  .service-card,
  .testimonial-card {
    min-width: unset !important;
    max-width: 98vw;
  }
  .main-nav {
    justify-content: flex-start;
    flex-wrap: wrap !important;
    padding: 12px 10px;
  }
}
@media (max-width: 700px) {
  .section {
    padding: 26px 5px;
  }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.15rem; }
  .cta-btn {
    font-size: 1rem;
    padding: 11px 16px;
  }
}
@media (max-width: 480px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* --- MOBILE MENU OVERLAY (SLIDE) --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 82vw;
  min-width: 220px;
  max-width: 330px;
  background: #191c1a;
  box-shadow: 9px 0 39px #090c0b55;
  transform: translateX(-105%);
  z-index: 1300;
  transition: transform 0.32s cubic-bezier(.55,0,.55,1.25);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 2.3rem;
  position: absolute;
  top: 11px;
  right: 13px;
  cursor: pointer;
  padding: 2px 8px;
  z-index: 1310;
  transition: color 0.21s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 55px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.09rem;
  padding: 13px 23px;
  border-bottom: 1.8px solid #232824;
  transition: background 0.15s, color 0.15s;
  width: 100%;
  text-align: left;
  outline: none;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

@media (min-width: 481px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none;
  }
}

/* --- LAYOUT & ACCESSIBILITY: Focus Styles --- */
*:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
}

/* --- MICROMOTIONS --- */
.card, .service-card, .testimonial-card {
  transition: box-shadow 0.28s cubic-bezier(.36,.96,.19,1.04), border-color 0.28s;
}
.card:hover, .service-card:hover, .testimonial-card:hover {
  box-shadow: 0 12px 38px var(--color-shadow);
  border-color: var(--color-secondary);
}

.cta-btn {
  transition: background 0.16s, box-shadow 0.16s, color 0.16s;
}
.cta-btn:active {
  box-shadow: 0 1px 6px #182412b3;
}

.mobile-menu,
.mobile-menu.open,
.cookie-banner,
.cookie-modal {
  will-change: transform, opacity;
}

/* --- INDUSTRIAL MODERN DECORATIVE EFFECTS --- */
.section {
  border: 1.5px solid #2b2f2c;
}
.card, .service-card, .testimonial-card {
  border-left: 5px solid var(--color-metal-dark);
}
.card:hover, .service-card:hover {
  border-left: 5px solid var(--color-secondary);
}
.service-price {
  border-left: 4px solid var(--color-secondary);
  padding-left: 8px;
}

hr {
  border: 0; border-top: 1px solid #353A38; margin: 16px 0;
}

/* --- HIDE/SHOW HELPERS FOR MOBILE MENU --- */
body.mobile-menu-open {
  overflow: hidden;
}
@media (max-width: 480px) {
  .main-nav {
    display: none !important;
  }
}

/* ---- END OF STYLES ---- */
