/* 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;
}
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: #232323; /* industrial dark */
  color: #DFDFDD;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

/* INDUSTRIAL MODERN VARIABLE PALETTE */
:root {
  --primary: #405C43; /* Brand green, industrial-moss */
  --secondary: #E9E4D8;
  --secondary-alt: #282A28; /* Very dark grey for bg */
  --bg-dark: #262823;
  --card-dark: #242824;
  --accent: #7B4C2D; /* metallic copper, from brand accent */
  --accent-light: #B48A78;
  --white: #fff;
  --grey: #7D827F;
  --gray-dark: #484944;
  --shadow: 0 4px 16px rgba(40,40,40,0.22);
  --shadow-soft: 0 2px 8px rgba(40,40,40,0.09);
  --radius: 16px;
  --border: 1px solid #353531;
  --text-main: #DFDFDD;
  --text-light: #E9E4D8;
  --text-dark: #232323;
  --metal: #8C8A89;
  --font-display: 'Montserrat', 'Arial Black', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-light);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.025em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.15rem;
}
p, ul, ol {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text-main);
}
b, strong {
  color: var(--accent);
}
a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: var(--accent);
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}


/* LAYOUT: FLEXBOX ONLY */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.card-container, .service-grid, .card-grid, .blog-list, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card, article, .blog-list > article, .service-grid > div {
  background: var(--card-dark);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
  min-width: 260px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, article:hover, .blog-list article:hover, .service-grid > div:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px) scale(1.02);
  z-index: 2;
}
.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: #8f9890;
  color: var(--text-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  border-left: 4px solid var(--accent);
  flex: 1 1 300px;
  max-width: 520px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* Spacing for all cards/sections */
ul > li, .feature-item, .text-section {
  margin-bottom: 20px;
}

/* Utility Classes */
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.mb-16 { margin-bottom: 16px; }

/* HEADER/NAVIGATION */
header {
  width: 100%;
  background: var(--bg-dark);
  border-bottom: var(--border);
  box-shadow: 0 2px 12px rgba(20, 20, 20, 0.08);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img[alt="Fuzzy Seal"] {
  height: 46px;
  width: auto;
  margin-right: 24px;
}
nav {
  display: flex;
  gap: 28px;
}
nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text-main);
  letter-spacing: 0.02em;
  position: relative;
  margin-bottom: 0;
  transition: color 0.18s, letter-spacing 0.28s;
}
nav a::after {
  content: '';
  position: absolute;
  display: block;
  left: 0; bottom: -3px;
  height: 2px;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.22s;
}
nav a:hover, nav a:focus {
  color: var(--accent);
}
nav a:hover::after, nav a:focus::after {
  width: 100%;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--primary) 70%, var(--accent) 110%);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.17rem;
  letter-spacing: 0.04em;
  padding: 14px 30px;
  border: none;
  border-radius: 32px;
  box-shadow: 0 2px 14px rgba(64,92,67,0.18);
  cursor: pointer;
  margin-left: 28px;
  transition: background 0.22s, box-shadow 0.18s, transform 0.16s;
  text-decoration: none;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--accent) 70%, var(--primary) 120%);
  color: var(--secondary);
  box-shadow: 0 4px 18px rgba(123,76,45,0.19);
  transform: scale(1.03);
}

/* BURGER MENU (Mobile) */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  background: var(--bg-dark);
  color: var(--white);
  border: none;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(40,40,40,0.14);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  z-index: 9991;
  align-items: center;
  justify-content: center;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--accent);
  color: var(--secondary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: var(--bg-dark);
  box-shadow: 0 4px 24px 6px rgba(40,40,40,0.32);
  z-index: 9992;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.83,.12,.12,.92);
  display: flex;
  flex-direction: column;
  padding: 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 22px;
  background: var(--accent);
  color: var(--white);
  border: none;
  width: 42px;
  height: 42px;
  font-size: 1.7rem;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(40,40,40,0.22);
  z-index: 9993;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: var(--accent-light);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 100px;
  align-items: flex-start;
  padding-left: 48px;
  padding-right: 18vw;
}
.mobile-nav a {
  color: var(--secondary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  padding: 10px 0;
  transition: color 0.21s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  text-decoration: underline;
}

/* Hide desktop nav and show burger on mobile */
@media (max-width: 990px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
}


/* FOOTER */
footer {
  background: var(--bg-dark);
  color: var(--metal);
  border-top: var(--border);
  margin-top: 60px;
  padding-top: 40px;
  font-size: 0.98rem;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}
.footer-wrapper img[alt="Fuzzy Seal"] {
  height: 44px;
  width: auto;
  margin-right: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: var(--metal);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--metal);
}
.footer-bottom {
  width: 100%;
  text-align: center;
  font-size: 0.95rem;
  color: #6C6C6C;
  padding-bottom: 18px;
  padding-top: 10px;
}

/* BLOG LIST */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.blog-list article {
  background: var(--card-dark);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  padding: 24px 20px;
  flex: 1 1 295px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s, transform 0.18s;
}
.blog-list article:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px) scale(1.013);
}

/* SERVICE GRID */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  width: 100%;
}
.service-grid > div {
  background: var(--card-dark);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 24px 20px;
  flex: 1 1 280px;
  min-width: 260px;
  transition: box-shadow 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
}
.service-grid > div:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px) scale(1.012);
}

.price {
  color: var(--accent-light);
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-left: 6px;
}

/* BUTTONS */
button, .cta-btn, input[type=button], input[type=submit] {
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 32px;
  padding: 12px 24px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(40,40,40,0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.15s;
  outline: none;
}
button:hover, button:focus, .cta-btn:hover, .cta-btn:focus, input[type=button]:hover, input[type=button]:focus {
  background: var(--accent);
  color: var(--secondary);
  transform: scale(1.04);
  box-shadow: 0 3px 16px rgba(123,76,45,0.18);
}

/* LISTS, ICONS, BLOCKQUOTE */
ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 20px;
}
ul li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 0;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 16px;
}
ul li img {
  height: 32px;
  width: 32px;
  filter: grayscale(60%) brightness(88%) sepia(13%) contrast(1.15);
}
blockquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding-left: 18px;
  margin-bottom: 24px;
  font-style: italic;
  background: rgba(255,255,255,0.04);
}

.text-section {
  background: transparent;
  padding: 0;
  border-radius: 0;
}

/* CONTENT GRIDS */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* ABOUT BRIEF */
.about-brief {
  color: var(--text-light);
  font-weight: 400;
  font-size: 1.11rem;
  background: linear-gradient(92deg,rgba(123,76,45,0.10),rgba(64,92,67,0.06) 90%);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: 0 2px 10px rgba(64,92,67,0.05);
  margin-bottom: 18px;
}

/* HERO SECTION MODIFICATIONS */
.section:first-of-type {
  background: linear-gradient(94deg,rgba(64,92,67,.70) 41%,rgba(123,76,45,0.65) 100%);
  color: var(--secondary);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 4px 28px rgba(64,92,67,0.10);
}
.section:first-of-type h1,
.section:first-of-type p {
  color: var(--secondary);
}

/* RESPONSIVE DESIGN */
@media (max-width: 850px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .service-grid, .card-container, .card-grid, .blog-list, .content-grid {
    gap: 16px;
  }
  .section {
    margin-bottom: 40px;
    padding: 28px 6px;
  }
}

@media (max-width: 768px) {
  .content-wrapper, .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
  .card, article, .blog-list > article, .service-grid > div {
    min-width: 90vw;
    padding: 18px 9px;
  }
  .testimonial-card {
    min-width: 90vw;
    padding: 18px 8px;
  }
  .content-grid, .card-container, .service-grid, .blog-list {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

@media (max-width: 580px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .cta-btn, button, input[type=button], input[type=submit] {
    width: 100%;
    padding: 13px 0;
    font-size: 1.09rem;
  }
  .section {
    padding: 18px 3px;
  }
}

/* MICRO INTERACTIONS */
input, textarea {
  border-radius: 8px;
  border: var(--border);
  padding: 10px 14px;
  background: #292929;
  color: var(--text-main);
  margin-bottom: 16px;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border 0.17s, box-shadow 0.17s;
}
input:focus, textarea:focus {
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 4px var(--accent-light);
  outline: none;
}

hr {
  border: none;
  border-top: var(--border);
  margin: 34px 0 30px 0;
}

/* ================================ */
/* COOKIE CONSENT BANNER & MODAL    */
/* ================================ */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9998;
  background: var(--card-dark);
  color: var(--text-light);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 28px 22px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: flex-start;
  animation: cookieBannerIn 0.48s cubic-bezier(.58,.5,0,1) 1;
}
@keyframes cookieBannerIn {
  0% { opacity: 0; transform: translateY(16px) scale(0.98) }
  90% { opacity: 1 }
  100% { transform: translateY(0) scale(1) }
}
.cookie-banner p {
  font-size: 1rem;
  color: var(--text-light);
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cookie-banner .cookie-btn {
  background: var(--primary);
  color: var(--secondary);
  border: none;
  border-radius: 24px;
  padding: 10px 22px;
  font-family: var(--font-display);
  font-size: 1.01rem;
  font-weight: 600;
  box-shadow: 0 1px 5px rgba(64,92,67,0.10);
  margin-bottom: 8px;
  transition: background 0.18s, color 0.18s, transform 0.15s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--accent);
  color: var(--secondary);
  transform: scale(1.04);
}
.cookie-settings-btn {
  background: var(--bg-dark);
  color: var(--accent-light);
  padding: 10px 18px;
  margin-left: 8px;
  border: var(--border);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(42,44,42,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn .38s cubic-bezier(.55,.2,.55,1) 1;
}
@keyframes cookieModalIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: var(--secondary);
  color: var(--text-dark);
  border-radius: var(--radius);
  box-shadow: 0 4px 28px rgba(40,40,40,0.29);
  max-width: 440px;
  width: 96vw;
  padding: 34px 24px 24px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalPop .22s cubic-bezier(.58,.1,.26,1.13) 1;
}
@keyframes modalPop {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 1.17rem;
}
.cookie-modal label {
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  margin-bottom: 0.6em;
  font-weight: 500;
}
.cookie-modal input[type=checkbox] {
  accent-color: var(--primary);
  margin-right: 10px;
  width: 20px; height: 20px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.cookie-modal .cookie-btn {
  padding: 10px 22px;
  font-size: 1.01rem;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px; height: 36px;
  background: var(--bg-dark);
  color: var(--accent-light);
  border: none;
  border-radius: 50%;
  font-size: 1.45rem;
  display: flex;
  align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  background: var(--accent);
  color: var(--secondary);
}

/* Ensure cookie banner is responsive */
@media (max-width: 640px) {
  .cookie-banner {
    left: 4vw;
    right: 4vw;
    bottom: 10px;
    padding: 17px 8px 8px 9px;
  }
}

/* MISC */
::-webkit-scrollbar {
  width: 8px;
  background: #191C1A;
}
::-webkit-scrollbar-thumb {
  background: #3A3D35;
  border-radius: 8px;
  min-height: 32px;
}

/* Hide outline for mouse users, keep for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* END */