/* Velvet Stocks - monochrome_sophisticated CSS
   Responsive, modern, flexbox-only layout. 
   Brand colors: #293D56 (primary), #E8EAED/#FFFFFF (secondary), #207567/#167353 (accent)
   Display font: Montserrat; Body font: Roboto
---------------------------------------------------------
*/

/* CSS RESET & NORMALIZATION */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  color: #191919;
  background: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
:focus {
  outline: 2px solid #207567;
  outline-offset: 2px;
}

/* TYPOGRAPHY ---------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #131313;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
}
p, li, label, input, span {
  font-family: 'Roboto', Arial, sans-serif;
  color: #222;
  font-size: 1rem;
  line-height: 1.6;
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: bold;
  color: #191919;
}

/* LAYOUT ------------------------------------ */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 28px 0 rgba(31, 33, 36, 0.07);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #F7F8F9;
  border-radius: 12px;
  box-shadow: 0 2px 14px 0 rgba(0,0,0,0.07);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  flex: 1 1 280px;
  transition: box-shadow 0.2s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 6px 18px rgba(41,61,86,0.17), 0 1.5px 6px #0001;
  transform: translateY(-3px) 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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  margin-bottom: 20px;
  background: #FAFAFB;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
  border-left: 4px solid #293D56;
  transition: box-shadow 0.18s;
  color: #15191e;
}
.testimonial-card p {
  margin-bottom: 3px;
  color: #1e2125;
  font-size: 1.02rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #767681;
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* NAVBAR ---------------------------------- */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 10px 0 rgba(31,33,36,0.04);
  position: relative;
  z-index: 100;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  min-height: 64px;
}
header nav img {
  height: 38px;
  width: auto;
  margin-right: 16px;
}
header nav a {
  color: #131313;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: 1rem;
  padding: 4px 0 4px 0;
  margin-right: 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
header nav a:hover,
header nav a:focus {
  color: #207567;
  border-bottom: 2px solid #167353;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #293D56;
  color: #fff !important;
  border-radius: 24px;
  padding: 10px 30px;
  margin-left: 16px;
  box-shadow: 0 2px 16px 0 rgba(41,61,86,0.11);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.13s;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #167353;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

/* MOBILE MENU ---------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #293D56;
  cursor: pointer;
  margin-left: auto;
  z-index: 201;
  transition: color 0.16s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #167353;
}
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(25,25,25,0.97);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(0.6,0.05,0.4,0.95);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 28px 0 0;
  background: none;
  border: none;
  font-size: 2.4rem;
  color: #fff;
  cursor: pointer;
  z-index: 211;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #207567;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 44px;
  width: 100vw;
  align-items: flex-start;
  padding-left: 40px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #167353;
  border-bottom: 2px solid #167353;
}

/* SECTION, CARDS, TESTIMONIALS, FEATURE LAYOUTS --------- */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
section:last-child {
  margin-bottom: 0;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
ul {
  padding-left: 0px;
  list-style: none;
}
ul li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #222;
  line-height: 1.6;
}
ul li img {
  width: 28px;
  height: 28px;
  margin-right: 6px;
}

/* BLOG SEARCH & CATEGORIES ----------- */
#blog-search {
  font-family: 'Roboto', Arial, sans-serif;
  border: 1.5px solid #cdcdcd;
  border-radius: 24px;
  padding: 8px 20px;
  font-size: 1rem;
  background: #fff;
  color: #222;
  margin: 12px 0 16px;
  transition: border 0.16s, background 0.2s;
  width: 100%;
  max-width: 360px;
}
#blog-search:focus {
  border-color: #167353;
  background: #f6faf9;
}

/* FOOTER -------------------------------------- */
footer {
  background: #11151a;
  color: #f2f3f3;
  margin-top: 64px;
  padding: 0 0 20px 0;
}
footer .container {
  max-width: 1100px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding: 40px 0 24px 0;
  align-items: center;
  justify-content: space-between;
}
footer nav {
  display: flex;
  gap: 18px;
}
footer nav a {
  color: #E8EAED;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  opacity: 0.85;
  transition: color 0.18s;
}
footer nav a:hover,
footer nav a:focus {
  color: #fff;
  opacity: 1;
}
footer img[src$='logo.svg'] {
  height: 34px;
  width: auto;
  margin-bottom: 8px;
}
footer .footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
}
footer .footer-social img {
  width: 32px;
  height: 32px;
  opacity: 0.82;
  transition: opacity 0.16s;
  border-radius: 8px;
}
footer .footer-social img:hover,
footer .footer-social img:focus {
  opacity: 1;
  background: #16735310;
}
footer a {
  color: #E8EAED;
  text-decoration: none;
}
footer div>p,
footer div>p>a {
  color: #c1cacf;
  font-size: 0.98rem;
}

/* BUTTONS & INPUTS ----------------- */
button,
input[type='button'],
input[type='submit'] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  border: none;
  border-radius: 24px;
  background: #293D56;
  color: #fff;
  padding: 10px 28px;
  font-size: 1rem;
  box-shadow: 0 1.5px 8px 0 rgba(28,28,36,0.09);
  transition: background 0.18s, transform 0.13s;
}
button:hover,
input[type='button']:hover,
input[type='submit']:hover,
button:focus {
  background: #167353;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

/* Cookie Consent BANNER & MODAL ------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #24262B;
  color: #E8EAED;
  z-index: 9999;
  padding: 22px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -8px 24px 0 rgba(31,33,36,0.16);
  gap: 18px;
  animation: fadeInBottom 0.44s cubic-bezier(.43,.1,.45,1.9);
}
@keyframes fadeInBottom {
  from { transform: translateY(64px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: #293D56;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 24px;
  padding: 8px 26px;
  transition: background 0.19s, color 0.17s;
  margin-bottom: 0;
}
.cookie-banner button.accept {
  background: #167353;
  color: #fff;
}
.cookie-banner button.reject {
  background: #fff;
  color: #293D56;
  border: 1.4px solid #293D56;
}
.cookie-banner button.settings {
  background: #fff;
  color: #293D56;
  border: 1.4px solid #293D56;
}
.cookie-banner button:focus,
.cookie-banner button:hover {
  background: #131313;
  color: #fff;
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31,33,36,0.77);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInOpacity 0.32s;
}
@keyframes fadeInOpacity {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #222;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(41,61,86,0.18),0 1.5px 6px #0001;
  padding: 38px 32px;
  max-width: 380px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalBounce 0.28s cubic-bezier(.26,1.41,.39,1.02);
}
@keyframes modalBounce {
 from { transform: scale(0.90) translateY(40px); opacity: 0.2; } to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal .cookie-category {
  font-size: 1.04rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-modal .cookie-category input[type=checkbox] {
  accent-color: #167353;
  width: 18px; height: 18px; margin: 0 4px 0 0;
}
.cookie-modal .cookie-category.essential {
  color: #999; font-style: italic;
}
.cookie-modal button {
  margin-top: 12px;
  width: 100%;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  color: #888;
  font-size: 1.5rem;
  align-self: flex-end;
  margin-top: -11px;
  margin-bottom: -7px;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  color: #167353;
}

/* UTILITY / MISC ------------------- */
::-webkit-scrollbar { width: 8px; background: #f8f8f8; }
::-webkit-scrollbar-thumb { background: #d8dadc; border-radius: 7px; }
::-webkit-selection { background: #e7ffe6; color: #111; }
::selection { background: #e7ffe6; color: #111; }

hr {
  border: none;
  height: 1px;
  background: #e4e5ea;
  margin: 32px 0;
}

/* ------ RESPONSIVE: Mobile-first ------ */
/* --- Default: flex-direction column -- */
@media (max-width: 1170px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .footer-social img, .footer-social {
    gap: 10px !important;
  }
  .content-wrapper {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 13px;
  }
  .container {
    max-width: 100vw;
    padding: 0 10px;
  }
  .content-wrapper {
    padding: 6px 0;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card, .testimonial-card {
    min-width: 0;
    width: 100%;
  }
  .text-image-section, .feature-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }
  section,
  .section {
    padding: 22px 0;
    margin-bottom: 36px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
    padding: 30px 0 12px 0;
  }
  .testimonial-card {
    border-left: 3px solid #293D56;
    border-radius: 8px;
  }
  .mobile-menu {
    padding: 0;
  }
}
@media (max-width: 530px) {
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.27rem;
  }
  .cookie-modal,
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* TYPOGRAPHY SCALE */
@media (max-width: 480px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.1rem; }
  h3,.testimonial-card p { font-size: 1rem; }
}

/* HOVER & MICRO-INTERACTIONS */
.card:focus-within, .card:hover {
  z-index: 2;
}

/* ACCESSIBILITY & CONTRAST */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  color: #1b1b1b;
  background: #FAFAFB;
}
.testimonial-card {
  border-left: 4px solid #167353;
}

/* END Velvet Stocks monochrome_sophisticated */
