/* ========================================================== */
/* 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;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: #191919;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  display: block;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* =============================================================== */
/* COLOR PALETTE (Override with monochrome_sophisticated)         */
/* =============================================================== */
:root {
  --mono-bg: #fff;
  --mono-bg-dark: #191919;
  --mono-text: #191919;
  --mono-text-light: #fff;
  --mono-gray: #e6e6e6;
  --mono-gray-mid: #b3b3b3;
  --mono-gray-dark: #333;
  --primary: #191919;
  --secondary: #bbb;
  --accent: #fff;
}

/* ====================================== */
/* LAYOUT STRUCTURE                       */
/* ====================================== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.section:last-child {
  margin-bottom: 0;
}

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

.card {
  margin-bottom: 20px;
  background: var(--mono-bg);
  box-shadow: 0 6px 32px 0 rgba(30,30,30,0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card:hover, .card:focus-within {
  box-shadow: 0 8px 36px 0 rgba(30,30,30,0.18);
  transform: translateY(-2px) scale(1.017);
  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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(40,40,40,0.06);
  border-radius: 14px;
  margin-bottom: 24px;
  flex-direction: column;
  align-items: flex-start;
  min-width: 260px;
  transition: box-shadow 0.3s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px 0 rgba(0,0,0,0.10);
}
.testimonial-rating {
  color: #191919;
  font-size: 1.4rem;
  letter-spacing: 1px;
  font-weight: bold;
  margin-bottom: 7px;
}
.testimonial-author {
  font-size: 1rem;
  color: #7e7e7e;
  font-style: italic;
  margin-top: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.features-list, .services-preview, .team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.features-list li, .services-preview li, .team-list li {
  background: #f8f8f8;
  box-shadow: 0 4px 10px 0 rgba(20,20,20,0.07);
  border-radius: 12px;
  flex: 1 1 220px;
  min-width: 230px;
  padding: 24px 20px 18px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.features-list li:hover, .services-preview li:hover, .team-list li:hover {
  box-shadow: 0 8px 32px rgba(40,40,40,0.10);
  z-index: 1;
}
.features-list img, .services-preview img, .team-list img {
  width: 40px;
  height: 40px;
}

.brand-timeline {
  margin: 20px 0 8px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
}

.price-tag {
  color: #191919;
  background: #F8F8F8;
  border-radius: 8px;
  padding: 3px 9px;
  font-size: 1rem;
  margin-left: 7px;
  font-weight: 500;
}

/* ====================================== */
/* HEADER/NAVIGATION                      */
/* ====================================== */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  box-shadow: 0 4px 16px rgba(40,40,40,0.01);
  z-index: 110;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 0;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
}
header nav a {
  color: #191919;
  font-weight: 500;
  font-size: 1.06rem;
  border-radius: 6px;
  padding: 8px 14px;
  transition: background 0.16s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #111;
  color: #fff;
}
.brand-footer img, header img {
  height: 40px;
  width: auto;
}

.cta-primary {
  background: #191919;
  color: #fff !important;
  font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  border-radius: 22px;
  padding: 10px 30px;
  font-weight: 700;
  margin-left: 18px;
  box-shadow: 0 6px 20px 0 rgba(30,30,30,0.08);
  border: 2px solid #191919;
  display: inline-block;
  transition: background 0.18s, color 0.15s, box-shadow 0.22s, border-color 0.18s, transform 0.14s;
  letter-spacing: 0.2px;
  position: relative;
  z-index: 2;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #fff;
  color: #191919 !important;
  box-shadow: 0 9px 30px 0 rgba(30,30,30,0.17);
  border-color: #191919;
  transform: translateY(-1px) scale(1.025);
}

.mobile-menu-toggle {
  display: none;
  background: #191919;
  border-radius: 8px;
  color: #fff;
  font-size: 2.1rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  z-index: 312;
  border: none;
  margin-left: 14px;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #000;
}

/* ====================================== */
/* HERO SECTION                           */
/* ====================================== */
.hero {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 60px 0 40px 0;
}
.hero .container {
  justify-content: center;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.hero h1 {
  font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.1px;
  color: #191919;
  margin-bottom: 10px;
  line-height: 1.12;
}
.hero-subline {
  font-size: 1.33rem;
  font-weight: 500;
  color: #555;
  margin-bottom: 9px;
  line-height: 1.25;
}

/* ============================================= */
/* FOOTER                                        */
/* ============================================= */
footer {
  background: #191919;
  color: #fff;
  width: 100%;
  padding: 44px 0 22px 0;
  border-top: 1px solid #222;
  box-shadow: 0 4px 40px 0 rgba(19,19,19,0.10);
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 38px 22px;
  align-items: flex-start;
  justify-content: space-between;
}
.brand-footer {
  flex: 0 0 70px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-right: 32px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
  max-width: 310px;
  min-width: 200px;
}
footer .cta-primary {
  margin-left: 0;
  margin-top: 10px;
  background: #fff;
  color: #191919 !important;
  border: 2px solid #fff;
  box-shadow: 0 2px 10px 0 rgba(230,230,230,0.07);
}
footer .cta-primary:hover, footer .cta-primary:focus {
  background: #191919;
  color: #fff !important;
  border-color: #fff;
}
footer a {
  color: #fff;
  font-weight: 500;
  border-radius: 5px;
  transition: background 0.15s, color 0.14s;
  padding: 4px 10px;
}
footer a:hover, footer a:focus {
  background: #fff;
  color: #191919;
}

/* ============================================= */
/* MONOCHROME ELEGANT TYPOGRAPHY                 */
/* ============================================= */
h1 {
  font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #191919;
  margin-bottom: 15px;
  line-height: 1.13;
}
h2 {
  font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #191919;
  margin-bottom: 12px;
  line-height: 1.19;
}
h3 {
  font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
  font-size: 1.19rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 7px;
  line-height: 1.24;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
}
p, li {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #212121;
  margin-bottom: 6px;
  line-height: 1.68;
}
strong {
  font-weight: 700;
  color: #191919;
}
.text-section h1, .text-section h2, .text-section h3 {
  margin-top: 0;
}

/* ============================================= */
/* UTILITY CLASSES & SPACING                     */
/* ============================================= */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.pt-2 { padding-top: 16px; }
.pt-3 { padding-top: 24px; }
.pb-2 { padding-bottom: 16px; }
.pb-3 { padding-bottom: 24px; }
.gap-20 { gap: 20px; }
.gap-32 { gap: 32px; }

/* ============================================= */
/* SPECIAL SECTIONS                              */
/* ============================================= */
.services-list ul, .features ul, .specialties ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 13px;
}
.services-list ul li, .specialties ul li {
  background: #f8f8f8;
  border-radius: 13px;
  box-shadow: 0 2px 8px 0 rgba(40,40,40,0.04);
  padding: 20px 20px 13px 20px;
  min-width: 220px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.18s;
}
.services-list ul li:hover, .specialties ul li:hover {
  box-shadow: 0 6px 20px rgba(30,30,30,0.09);
}

.cta-section .content-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 44px 0 12px 0;
  gap: 16px;
}
.cta-section h2 {
  color: #191919;
  margin-bottom: 18px;
}

/* ========================================== */
/* COOKIE CONSENT BANNER                     */
/* ========================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  max-width: 100vw;
  z-index: 1200;
  background: #191919;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  box-shadow: 0 -4px 32px rgba(10,10,10,0.12);
  padding: 25px 18px 25px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  justify-content: space-between;
  animation: cookieBannerAppear 0.52s cubic-bezier(.22,1,.36,1.36);
}
@keyframes cookieBannerAppear {
  0% {transform: translateY(100%); opacity: 0;}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner button, .cookie-preferences-modal button {
  border-radius: 22px;
  font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 8px 23px;
  font-size: 1.03rem;
  border: none;
  transition: background 0.20s, color 0.19s, border 0.18s, box-shadow 0.14s;
}
.cookie-banner .accept {
  background: #fff;
  color: #191919;
  border: 2px solid #fff;
  box-shadow: 0 2px 12px rgba(255,255,255,0.04);
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #191919;
  color: #fff;
  border-color: #fff;
}
.cookie-banner .reject {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #fff;
  color: #191919;
}
.cookie-banner .settings {
  background: #191919;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #fff;
  color: #191919;
}

/* Cookie Preferences Modal */
.cookie-preferences-modal {
  position: fixed;
  top: 0; left: 0;
  right: 0; bottom: 0;
  z-index: 1300;
  background: rgba(30,30,30,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  animation: modalAppear 0.37s cubic-bezier(.22,1,.36,1.36);
}
@keyframes modalAppear {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-preferences-modal .modal-content {
  background: #fff;
  color: #191919;
  border-radius: 13px;
  padding: 36px 32px 32px 32px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 10px 36px 0 rgba(10,10,10,0.17);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-preferences-modal h2 {
  font-size: 1.24rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #191919;
}
.cookie-preferences-modal label {
  display: flex;
  align-items: center;
  font-size: 1.09rem;
  gap: 11px;
  font-weight: 500;
  margin-bottom: 9px;
}
.cookie-preferences-modal input[type="checkbox"][disabled] {
  accent-color: #191919;
}
.cookie-preferences-modal .modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-preferences-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  color: #222;
  font-size: 1.31rem;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eee;
}
.cookie-preferences-modal .modal-close:hover,
.cookie-preferences-modal .modal-close:focus {
  background: #191919;
  color: #fff;
  border-color: #191919;
}

/* ========================================= */
/* MOBILE MENU                              */
/* ========================================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #191919;
  color: #fff;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.19,1,.22,1.08);
  box-shadow: -8px 0 36px 0 rgba(10,10,10, 0.19);
  display: flex;
  flex-direction: column;
  opacity: 1;
  pointer-events: none;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 26px;
  right: 29px;
  z-index: 10006;
  background: #fff;
  color: #191919;
  padding: 0;
  width: 44px;
  height: 44px;
  font-size: 2.2rem;
  border-radius: 11px;
  border: none;
  box-shadow: 0 1px 8px 0 rgba(220,220,220,0.19);
  transition: background 0.15s, color 0.13s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #191919;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 84px 0 0 0;
  padding-left: 0;
  width: 80vw;
  max-width: 410px;
  min-width: 200px;
  height: auto;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 500;
  padding: 18px 23px;
  border-radius: 12px 0 0 12px;
  margin-bottom: 1px;
  background: none;
  transition: background 0.17s, color 0.18s, padding-left 0.13s;
  min-width: 190px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff;
  color: #191919;
  padding-left: 36px;
}

/* ============================================== */
/* RESPONSIVE DESIGN - MOBILE FIRST               */
/* ============================================== */
@media (max-width: 1050px) {
  .container {
    max-width: 980px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .footer-contact {
    max-width: 90vw;
  }
}

@media (max-width: 900px) {
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    height: auto;
  }
  .brand-footer {
    margin-bottom: 14px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding: 0 8px;
  }
  .section, .hero, .cta-section {
    padding: 32px 0 12px 0 !important;
  }
  header .container {
    flex-direction: row;
    padding-top: 5px;
    padding-bottom: 5px;
    height: 60px;
    gap: 0;
  }
  header nav {
    display: none;
  }
  .cta-primary {
    margin-left: 0;
    margin-right: 0;
    font-size: 1rem;
    padding: 9px 20px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-wrapper {
    gap: 20px;
  }
  .card-container, .content-grid, .features-list, .services-preview, .team-list, .services-list ul, .specialties ul {
    flex-direction: column !important;
    gap: 18px;
    align-items: stretch;
  }
  .features-list li, .services-preview li, .team-list li, .services-list ul li, .specialties ul li {
    min-width: unset;
    padding: 18px 13px !important;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  h1 {
    font-size: 1.31rem;
  }
  h2 {
    font-size: 1.13rem;
  }
  .testimonial-card {
    min-width: 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .brand-footer {
    margin-bottom: 9px;
  }
  footer .container {
    gap: 17px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 11px 18px 11px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-buttons {
    gap: 9px;
  }
  .cookie-preferences-modal .modal-content {
    padding: 22px 10px 22px 10px;
    min-width: 0;
  }
}

@media (max-width: 550px) {
  .cookie-banner {
    font-size: 0.92rem;
    padding: 11px 5px 11px 8px;
    gap: 5px;
  }
  .cookie-preferences-modal .modal-content {
    padding: 13px 6px 14px 6px;
  }
}

/* ============================================== */
/* UTILITIES & MISC                              */
/* ============================================== */
::-webkit-scrollbar {
  width: 10px;
  background: #eaeaea;
}
::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 8px;
}

/* Selection Styling */
::selection {
  background: #191919;
  color: #fff;
}

/* Hide scroll when mobile menu open */
body.mobile-menu-open {
  overflow: hidden;
}

/* ============= ACCESSIBILITY =============== */
a:focus, button:focus, .cta-primary:focus {
  outline: 2px dashed #191919;
  outline-offset: 2px;
}


/* ========== PRINT FIXES ==================== */
@media print {
  header, footer, .cookie-banner, .mobile-menu {display: none!important;}
  main {margin: 0;}
}
