/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #191919;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}
ul, ol {
  list-style: none;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 12px 8px;
  text-align: left;
}

/* ROOT VARIABLES for MONOCHROME SOPHISTICATION */
:root {
  --color-bg: #fff;
  --color-bg-subtle: #f3f3f3;
  --color-fg: #191919;
  --color-fg-light: #393939;
  --color-accent: #262626;
  --color-primary: #11151a;
  --color-gray: #b1b3b6;
  --color-shadow: rgba(17, 17, 20, 0.09);
  --color-card-bg: #fff;
  --color-card-border: #dadada;
  --color-highlight: #11151a;
  --color-link: #11151a;
  --color-footer: #191b1e;
  --color-footer-fg: #fff;
  --color-border: #dcdcdc;
  --color-btn-hover-bg: #222;
  --color-btn-hover-fg: #fff;
  --color-testimonial-bg: #f8f8f8;
  --color-testimonial-fg: #191919;
  --shadow-card: 0 3px 24px 0 var(--color-shadow);
}
footer p {
  color: white;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-highlight);
  margin-bottom: 18px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.14;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
  line-height: 1.25;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  color: var(--color-gray);
  margin-bottom: 20px;
}
p {
  margin-bottom: 16px;
  color: var(--color-fg-light);
}
strong {
  font-weight: 700;
  color: var(--color-fg);
}
.text-section ul,
.text-section ol,
.features ul,
.services ul {
  padding-left: 20px;
  margin-bottom: 18px;
  color: var(--color-fg-light);
}
.text-section li,
.features li,
.services li {
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.7;
  list-style: disc inside;
}

/* LAYOUT: CONTAINERS & WRAPPERS */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* HEADER */
header {
  background: var(--color-bg);
  box-shadow: 0 4px 22px -22px #000;
  position: sticky;
  top: 0;
  z-index: 150;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  height: 48px;
}
.logo img {
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: 40px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-link);
  font-weight: 500;
  padding: 6px 2px;
  position: relative;
  transition: color 0.2s;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  background: transparent;
  width: 0;
  transition: width 0.2s, background 0.2s;
  position: absolute;
  left: 0;
  bottom: -3px;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
  background: var(--color-accent);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-accent);
}
.cta-button {
  display: inline-flex;
  align-items: center;
  background: var(--color-fg);
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 24px;
  padding: 12px 32px;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 1px 8px 0 rgba(30,30,30,0.09);
  margin-left: 24px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.16s;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-btn-hover-bg);
  color: var(--color-btn-hover-fg);
  box-shadow: 0 6px 24px 0 var(--color-shadow);
  transform: translateY(-2px) scale(1.035);
}

/* ---- MOBILE HAMBURGER MENU ---- */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-fg);
  font-size: 2rem;
  cursor: pointer;
  padding: 8px 12px;
  margin-left: 18px;
  transition: color 0.2s;
  z-index: 500;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-accent);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(249,249,249,0.98);
  box-shadow: 0 3px 32px 0 #0005;
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.55,0,.1,1);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  margin: 24px 24px 0 auto;
  padding: 7px 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-fg);
  cursor: pointer;
  transition: color 0.13s;
  outline: none;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 48px auto auto auto;
  align-items: center;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: var(--color-link);
  font-weight: 600;
  padding: 12px 36px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-fg);
  color: #fff;
}

@media (max-width: 1024px) {
  .main-nav,
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* HERO & SECTIONS */
main {
  background: var(--color-bg);
}
.section, .features, .services, .testimonials, .about, .contact, .pricing, .thank-you, .legal, .contact-brief {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.hero {
  background: var(--color-bg-subtle);
  padding: 60px 0 48px 0;
  margin-bottom: 60px;
  box-shadow: 0 1px 4px 0 #eaeaea;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.4rem;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.hero .subheadline {
  font-size: 1.17rem;
  max-width: 540px;
  margin-bottom: 32px;
  color: var(--color-gray);
}

/* FLEX SPACING & CONTENT LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px 24px 20px;
  transition: box-shadow 0.19s, transform 0.17s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 40px 0 var(--color-shadow);
  transform: translateY(-2px) scale(1.018);
}

.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: var(--color-testimonial-bg);
  color: var(--color-testimonial-fg);
  border-radius: 11px;
  margin-bottom: 22px;
  box-shadow: 0 3px 20px 0 rgba(0,0,0,0.06);
  border: 1px solid #ededed;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-style: italic;
  color: var(--color-testimonial-fg);
  margin: 0 0 0 0;
  quotes: "\201E" "\201D";
}
.testimonial-card p {
  font-size: 1rem;
  color: var(--color-accent);
  margin-bottom: 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features .content-wrapper ul,
.services .content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* PRICING TABLE */
.pricing-table {
  border: 1px solid var(--color-card-border);
  border-radius: 12px;
  background: var(--color-card-bg);
  box-shadow: 0 1px 10px 0 var(--color-shadow);
  overflow: hidden;
  margin-bottom: 40px;
}
.pricing-table th {
  background: #232325;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
}
.pricing-table tr {
  border-bottom: 1px solid var(--color-card-border);
}
.pricing-table td {
  font-size: 1.04rem;
  color: var(--color-fg-light);
  background: var(--color-card-bg);
}

/* FOOTER */
footer {
  background: var(--color-footer);
  color: var(--color-footer-fg);
  padding: 32px 0 22px 0;
  font-size: 0.98rem;
}
footer .container {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  color: var(--color-footer-fg);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.16s;
  font-size: 1rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #bdbdbd;
}
.footer-logo {
  display: flex;
  align-items: center;
  height: 55px;
  margin-bottom: 12px;
}
.footer-logo img { height: 45px; filter: grayscale(1) contrast(1.1); opacity: 0.87; }
.footer-contact {
  font-family: 'Roboto', Arial, sans-serif;
  color: #ededed;
  font-size: 0.98rem;
  margin-top: 10px;
  max-width: 380px;
}

/* LEGAL, THANK YOU, ETC. */
.legal, .thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.legal .text-section,
.thank-you .content-wrapper, .contact .content-wrapper {
  margin-top: 16px;
}

/* FORMS, BUTTONS & INTERACTIONS */
button, .cta-button {
  outline: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.17s, transform 0.12s;
}
button:active, .cta-button:active {
  transform: scale(0.97);
}

/* ---- COOKIE CONSENT BANNER & MODAL ---- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #222;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  padding: 20px 18px;
  z-index: 6000;
  box-shadow: 0 -4px 18px 0 #0003;
  font-size: 1.02rem;
  transition: transform 0.22s cubic-bezier(.65,0,.2,1);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-btn {
  background: #fff;
  color: #181818;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 28px;
  border: 1px solid #d0d0d0;
  font-size: 1.01rem;
  padding: 11px 30px;
  cursor: pointer;
  margin-right: 0;
  transition: background 0.18s, color 0.18s, border 0.15s;
}
.cookie-btn:not(.cookie-settings):hover, .cookie-btn:not(.cookie-settings):focus {
  background: #222;
  color: #fff;
  border: 1px solid #fff;
}
.cookie-btn.cookie-settings {
  background: none;
  color: #fff;
  border: 0;
  font-weight: 600;
  text-decoration: underline;
  padding: 11px 18px;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  text-decoration: underline wavy #bbb 1.5px;
}
.cookie-modal-overlay {
  position: fixed;
  z-index: 6500;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17, 17, 20, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.cookie-modal {
  background: #fff;
  color: #181818;
  border-radius: 14px;
  max-width: 430px;
  width: 98vw;
  padding: 32px 28px;
  box-shadow: 0 4px 36px 0 #111a1d33;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalfadein 0.28s;
}
@keyframes modalfadein {
  from { opacity: 0; transform: translateY(40px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  margin-bottom: 7px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 18px;
}
.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-category {
  font-weight: 500;
}
.cookie-switch {
  width: 34px;
  height: 20px;
  display: inline-block;
  position: relative;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #eee;
  border-radius: 13px;
  transition: background 0.22s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--color-primary);
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px 0 #8a8a8a1a;
  transition: left 0.22s;
}
.cookie-switch input:checked + .cookie-slider:before {
  left: 16px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 15px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 100px;
}
.cookie-modal .cookie-btn.accept {
  background: var(--color-primary);
  color: #fff;
  border: none;
}
.cookie-modal .cookie-btn.accept:hover {
  background: var(--color-btn-hover-bg);
  color: var(--color-btn-hover-fg);
}
.cookie-modal .cookie-btn.reject {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid #d0d0d0;
}
.cookie-modal .cookie-btn.reject:hover {
  background: #222;
  color: #fff;
  border: 1px solid #fff;
}

/*---- RESPONSIVE ----*/
@media (max-width: 1024px) {
  .footer-logo, .footer-contact {
    margin-top: 16px;
  }
  header .container {
    flex-wrap: wrap;
    height: auto;
    gap: 17px;
    padding: 12px 18px;
  }
}
@media (max-width: 850px) {
  .container {
    max-width: 95vw;
    padding: 0 6px;
  }
  .footer-nav {
    flex-direction: row;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.18rem; }
  main { font-size: 0.97rem; }
  .hero { padding: 36px 0 36px 0; }
  .section, .features, .services, .testimonials, .about, .contact, .pricing, .thank-you, .legal, .contact-brief {
    margin-bottom: 32px;
    padding: 23px 9px;
  }
  .footer-logo {
    height: 44px;
  }
  .footer-logo img {
    height: 34px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 8px 18px 8px;
    gap: 14px;
    font-size: 0.98rem;
  }
}
@media (max-width: 650px) {
  .container {
    max-width: 100vw;
    padding: 0 3vw;
  }
  .features .content-wrapper ul,
  .services .content-wrapper ul {
    gap: 7px;
  }
}
@media (max-width: 540px) {
  .footer-logo, .footer-contact { margin-top: 11px; }
  .footer-nav { gap: 9px; }
  .cookie-banner { font-size: 0.90rem; }
  .cta-button {
    padding: 10px 18px;
    font-size: 1rem;
  }
}
@media (max-width: 640px) {
  .content-grid,
  .card-container,
  .text-image-section {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }
}

/* FLEX DIRECTION SWAPS FOR RESPONSIVENESS */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* Z INDEXES FOR MOBILE AND COOKIE */
.mobile-menu,
.mobile-menu-toggle,
.mobile-menu-close {
  z-index: 9999 !important;
}
.cookie-banner, .cookie-modal-overlay {
  z-index: 6000 !important;
}

/* SCROLLBAR - Elegantly Minimalist */
body::-webkit-scrollbar {
  width: 11px;
  background: #f1f1f1;
}
body::-webkit-scrollbar-thumb {
  background: #26282b;
  border-radius: 6px;
}

/* SELECT, INPUT, FIELDSETS FORMS (subtle monochrome) */
input, textarea, select {
  border: 1px solid #bbb;
  border-radius: 7px;
  font-family: inherit;
  padding: 8px 12px;
  font-size: 1rem;
  margin-bottom: 13px;
  box-shadow: 0 1px 3px 0 #8882;
  background: #fff;
  color: #232323;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 2px 2px #01467b22;
}

/* --- MICRO-INTERACTIONS / SIMPLE ANIMATIONS --- */
.card, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 38px 0 #00112a16;
  transform: scale(1.029);
}
.testimonial-card:hover {
  box-shadow: 0 4px 32px 0 #00112a22;
  transform: scale(1.022);
}

/* ---- MONOCHROME-SOPHISTICATED UTILITY CLASSES ---- */
.muted {
  color: var(--color-gray);
}
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.12em; }
.rounded { border-radius: 1em; }

/* ADDITIONALS */
hr {
  border: none;
  border-top: 1px solid #d0d2d4;
  margin: 24px 0;
}

/* --- BLUR & SHADOW EFFECTS ON HERO/CTA, IF NEEDED */
.hero .cta-button {
  box-shadow: 0 2px 18px 0 #0001;
}
