/* ===================================================
   CSS Reset + Normalize (mobile-first, modern)
=================================================== */
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,
main, 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 {
  font-size: 16px;
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  width: 100%;
  background: #fff;
  color: #1a1a1a;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
}
ul, ol {
  list-style: none;
}
strong, b {
  font-weight: 600;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, button:focus {
  outline: 2px dotted #274060;
  outline-offset: 2px;
}

/* ===================================================
   Variables: Monochrome + Brand
=================================================== */
:root {
  --primary: #1a1a1a; /* Very dark gray for dramatic contrast */
  --secondary: #f6f6f7;    /* Pale cool grey background */
  --accent: #ffffff; /* pure white */
  --grey: #b4b8be;
  --neutral: #e3e3e7;
  --brand-primary: #274060;
  --brand-secondary: #F1C232;

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;

  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 20px;
  --shadow-s: 0 1px 6px rgba(30,30,30, 0.09), 0 1.5px 3px rgba(0,0,0,0.03);
  --shadow-m: 0 3px 20px rgba(30,30,30,0.08);
  --shadow-card: 0 6px 32px rgba(20,20,20,0.10);
  --transition: all 0.18s cubic-bezier(.7,.39,.51,1);
}

/* ===================================================
   Typography: Elegant Monochrome Scale
=================================================== */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -1.5px;
  font-size: 2.5rem;
  margin-bottom: 18px;
  color: var(--primary);
  line-height: 1.13;
}
@media (min-width: 768px) {
  h1, .h1 {
    font-size: 3rem;
  }
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--primary);
  letter-spacing: -1px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary);
  letter-spacing: -0.5px;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
}
h5, .h5 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
}
h6, .h6 {
  font-family: var(--font-body);
  font-size: 0.95rem;
}
p, li, ul, ol {
  font-size: 1rem;
  color: #222;
  margin-bottom: 10px;
}
strong {
  font-weight: 600;
  color: var(--primary);
}

/* Monochrome Link treatment */
a {
  color: #222;
  text-decoration-thickness: 1.5px;
  transition: color 0.15s;
}
nav a:hover, .footer-nav a:hover, .mobile-nav a:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}

/* ===================================================
   Layout Containers
=================================================== */
.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
  max-width: 1200px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  background: var(--accent);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  position: relative;
}

.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;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border-radius: var(--radius-l);
  background: var(--neutral);
  box-shadow: var(--shadow-s);
  margin-bottom: 20px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Fix for adequate spacing between all .content-wrapper children */
.content-wrapper > * + * {
  margin-top: 12px;
}

/* ===================================================
   Header / Navigation
=================================================== */
header {
  background: var(--accent);
  width: 100%;
  box-shadow: 0 3px 22px 0 rgba(25,25,25,0.04);
  position: relative;
  z-index: 12;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: 100%;
  padding: 16px 0 16px 0;
}
.main-nav > a {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--primary);
  padding: 6px 12px;
  border-radius: var(--radius-s);
  transition: background var(--transition), color var(--transition);
  font-size: 1.05rem;
}
.main-nav > a:not(:first-child):hover {
  background: var(--neutral);
  color: var(--brand-primary);
}
.main-nav img {
  height: 38px;
  margin-right: 12px;
  display: block;
}
.cta-primary {
  margin-left: 16px;
  background: var(--brand-primary);
  color: #fff;
  border-radius: var(--radius-m);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 10px 24px;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px rgba(39,64,96,.13);
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  outline: none;
  /* No absolute positioning for buttons */
}
.cta-primary:hover, .cta-primary:focus {
  background: #000000;
  color: var(--secondary);
  box-shadow: 0 4px 20px 0 rgba(30,30,30,0.12);
}
.cta-secondary {
  background: transparent;
  color: var(--brand-primary);
  border: 1.5px solid var(--brand-primary);
  border-radius: var(--radius-s);
  padding: 8px 18px;
  font-weight: 500;
  font-family: var(--font-body);
  margin-top: 12px;
  transition: var(--transition);
  cursor: pointer;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--brand-primary);
  color: #fff;
}

.mobile-menu-toggle {
  display: inline-flex;
  background: var(--brand-primary);
  border-radius: var(--radius-s);
  font-size: 2rem;
  color: #fff;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: 44px;
  margin-right: 8px;
  margin-left: auto;
  position: relative;
  z-index: 94;
  transition: background var(--transition);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #000;
  color: var(--brand-secondary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,32,37,.97);
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.4, .8, .4, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 20px;
  padding-right: 0;
  padding-bottom: 0;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  display: inline-flex;
  background: none;
  color: var(--brand-secondary);
  font-size: 2.3rem;
  border: none;
  margin: 16px 18px 36px 0;
  cursor: pointer;
  transition: color var(--transition);
  align-items: center;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 0 42px;
  width: 100vw;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 600;
  padding: 7px 0;
  border-radius: 0;
  min-width: 44px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-secondary);
  text-decoration: underline;
}

/* Hide mobile menu controls on desktop */
@media (min-width: 992px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}

/* Show/hide main nav appropriately */
@media (max-width: 991px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
  .mobile-menu {
    display: flex;
  }
}

/* Main nav visible on desktop */
@media (min-width: 992px) {
  .main-nav {
    display: flex !important;
  }
}

/* ===================================================
   Page Sections / Hero
=================================================== */
.hero {
  padding: 48px 0 34px 0;
  background: var(--secondary);
  border-bottom: 2.5px solid var(--brand-primary);
  margin-bottom: 0;
}
.hero h1 {
  color: var(--brand-primary);
  /* Visual pop */
}
.hero p {
  font-size: 1.25rem;
  max-width: 620px;
  color: #232323;
}

.features {
  background: var(--accent);
  margin-bottom: 60px;
  padding: 40px 0;
}
.features ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 18px;
  padding-left: 0;
}
.features li {
  font-size: 1.07rem;
  font-family: var(--font-body);
  color: #222;
  display: flex;
  align-items: center;
  gap: 14px;
}
.features li img {
  height: 22px;
  width: 22px;
  display: inline-block;
}

.services {
  background: var(--secondary);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
  margin-bottom: 60px;
  padding: 40px 0;
}
.service-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.service-list > div {
  background: var(--accent);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  padding: 24px 18px 22px 18px;
  min-width: 222px;
  max-width: 360px;
  flex: 1 1 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-list > div:hover {
  box-shadow: 0 10px 30px rgba(39,40,60,.17);
  transform: translateY(-5px) scale(1.018);
}
.price {
  font-size: 1.11rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin: 7px 0 0 0;
  letter-spacing: 0.04em;
}

/* About Section */
.about, .about-story, .about-diy, .about-contact, .about-consulting {
  background: var(--secondary);
  border-radius: var(--radius-m);
  padding: 40px 0;
  margin-bottom: 60px;
  box-shadow: var(--shadow-s);
}
.about ul, .about-story ul, .about-diy ul, .about-consulting ul, .sample-instructions ul {
  padding-left: 0;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Team Section */
.team {
  background: var(--accent);
  border-radius: var(--radius-m);
  padding: 40px 0;
  margin-bottom: 60px;
  box-shadow: var(--shadow-m);
}
.team-member {
  background: var(--secondary);
  border-radius: var(--radius-s);
  padding: 20px 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-s);
}
.team-mission {
  font-family: var(--font-display);
  margin-top: 24px;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--brand-primary);
}

/* Legal / Confirmation / Contact Card */
.legal, .confirmation, .contact, .contact-form {
  background: var(--secondary);
  padding: 40px 0;
  margin-bottom: 60px;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
}
.legal ul, .confirmation ul, .contact ul, .contact-form ul {
  padding-left: 0;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal a {
  color: var(--brand-primary);
  text-decoration: underline;
}

/* Confirmation Section */
.confirmation a.cta-primary {
  margin-top: 22px;
}

/* ===================================================
   Testimonials
=================================================== */
.testimonials {
  background: var(--accent);
  padding: 40px 0 30px 0;
  margin-bottom: 60px;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
}
.testimonials h2 {
  text-align: center;
}
.testimonials .content-wrapper {
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  background: var(--neutral);
  color: #151515;
  border-left: 5px solid var(--brand-primary);
  box-shadow: var(--shadow-s);
  border-radius: var(--radius-l);
  padding: 22px 28px;
  max-width: 520px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card:hover {
  border-left-color: var(--brand-secondary);
  box-shadow: 0 5px 30px rgba(27,40,60,.12);
}
.testimonial-card p {
  font-size: 1.18rem;
  font-style: italic;
  color: #151515;
}
.testimonial-card span {
  margin-top: 8px;
  font-size: 0.96rem;
  font-weight: 500;
  color: #444;
}

/* ===================================================
   Footer
=================================================== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 40px 0 24px 0;
  flex-shrink: 0;
  width: 100%;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 6px 10px;
  margin: 0 4px;
  border-radius: var(--radius-s);
  transition: background var(--transition), color var(--transition);
}
.footer-nav a:hover {
  background: var(--brand-secondary);
  color: #000;
}
.footer-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.footer-info img {
  height: 34px;
  width: 34px;
  display: inline-block;
}
.footer-info span {
  font-size: 0.98rem;
  font-family: var(--font-body);
  color: #e6e6e6;
}

/* ===================================================
   Cookie Consent Banner & Modal
=================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1999;
  background: linear-gradient(90deg, #f7f7f9 60%, #e3e3e7 100%);
  color: #232323;
  padding: 22px 18px 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  box-shadow: 0 -4px 36px rgba(20,20,20,0.07);
  font-size: 1.07rem;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  transition: transform 0.34s cubic-bezier(.5,.7,.5,1), opacity 0.18s;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner strong {
  color: var(--brand-primary);
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  border-radius: 8px;
  border: none;
  padding: 9px 22px;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}
.cookie-banner .accept {
  background: var(--brand-primary);
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #000;
}
.cookie-banner .reject {
  background: #e3e3e7;
  color: #232323;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #dadada;
}
.cookie-banner .settings {
  background: #fff;
  color: var(--brand-primary);
  border: 1.3px solid var(--brand-primary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #eee;
  color: #000;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(30,30,30,0.32);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s;
  opacity: 1;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #111;
  padding: 34px 24px 24px 24px;
  border-radius: var(--radius-l);
  box-shadow: 0 6px 56px 0 rgba(22,22,22,0.19);
  min-width: 320px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: var(--brand-primary);
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.49rem;
  cursor: pointer;
  transition: color var(--transition);
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  color: var(--brand-primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--primary);
  user-select: none;
  font-weight: 500;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--brand-primary);
  width: 18px;
  height: 18px;
  margin: 0;
}
.cookie-category .locked {
  opacity: 0.56;
  font-size: 0.99rem;
  letter-spacing: 0.02em;
}
.cookie-modal .footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
  gap: 14px;
}
.cookie-modal button {
  border-radius: 8px;
  border: none;
  padding: 9px 22px;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-modal .save {
  background: var(--brand-primary);
  color: #fff;
}
.cookie-modal .save:hover {
  background: #000;
}
.cookie-modal .cancel {
  background: #e3e3e7;
  color: #232323;
}
.cookie-modal .cancel:hover{
  background: #dadada;
}

/* ===================================================
   Lists, Cards, Utilities
=================================================== */
li img {
  vertical-align: middle;
  margin-right: 7px;
}
.sample-instructions {
  background: var(--neutral);
  border-radius: 10px;
  padding: 16px 14px;
  margin-top: 16px;
}

/* Section overrides */
.contact strong {
  color: var(--brand-primary);
  font-size: 1.11rem;
}

/* General card design */
.card {
  border: 1.2px solid #e0e0e0;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-m);
  background: #fff;
  margin-bottom: 20px;
}

/* Price Tag */
.price {
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 1.11rem;
  letter-spacing: 0.02em;
  margin-top: 8px;
}

/* ===================================================
   Responsive Design
=================================================== */
@media (max-width: 768px) {
  .section,
  .hero, .features, .services, .about, .team, .testimonials, .footer-nav, .contact, .legal, .about-story, .about-diy, .about-consulting, .confirmation, .contact-form, .about-contact {
    padding-left: 10px;
    padding-right: 10px;
  }
  .service-list, .content-wrapper, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .testimonial-card {
    padding: 16px 14px;
    max-width: 98vw;
  }
  .footer-info {
    flex-direction: column;
    gap: 10px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
  }
}

@media (max-width: 480px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.27rem; }
  .hero, .about, .services, .features, .testimonials, .section, .contact, .legal, .team {
    padding-left: 0;
    padding-right: 0;
    border-radius: 0;
  }
  .cookie-modal {
    padding: 22px 8px;
    min-width: 90vw;
    font-size: 0.95rem;
  }
}

/* ===================================================
   Miscellaneous Utilities, Animations
=================================================== */
::-webkit-input-placeholder { color: #656565; opacity: 1; }
:-ms-input-placeholder      { color: #656565; opacity: 1; }
::placeholder              { color: #656565; opacity: 1; }

[tabindex="-1"]:focus {
  outline: none !important;
}

.fade-in {
  animation: fadeIn 0.66s cubic-bezier(.18,.85,.51,1) both;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

/* Remove tap highlight on mobile */
* { -webkit-tap-highlight-color: rgba(0,0,0,0); }


/* =========================================
   Print friendly
========================================= */
@media print {
  .mobile-menu, .mobile-menu-toggle,
  .cookie-banner, .cookie-modal-overlay,
  nav, header, footer {
    display: none !important;
  }
  .container, main, .section {
    padding: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
  }
}
