/* ------------------------------------------------------------
   MELLOW GLIDE – STYLE.CSS
   Monochrome Sophisticated Style (black/white/gray, dramatic contrast)
   Responsive, only flexbox layouts, with mobile navigation and cookie banner
------------------------------------------------------------ */

/***************
 NORMALIZE & RESET
***************/
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Lato', Arial, sans-serif;
  background: #fff;
  color: #181818;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img, picture {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #181818;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}
ul, ol {
  list-style-position: inside;
  margin-left: 1em;
}
button, .cta {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', 'Georgia', serif;
  color: #111;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
p, li {
  font-size: 1rem;
  color: #222;
  margin-bottom: 8px;
}
blockquote {
  border-left: 4px solid #222;
  margin: 24px 0 24px 0;
  padding: 12px 24px;
  background: #fafafa;
  color: #242424;
  font-style: italic;
}

/****************************
 CONTAINER & LAYOUT CLASSES
****************************/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 20px 0 rgba(0,0,0,0.06);
}

/*********************
 HEADER & NAVIGATION
*********************/
header {
  background: #181818;
  box-shadow: 0 2px 14px 0 rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 24px;
}
.logo img {
  height: 48px;
  width: auto;
  transition: filter 0.2s;
  filter: grayscale(0.7) contrast(1.3);
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-left: 28px;
}
nav a {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  color: #eee;
  padding: 8px 10px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
nav a:hover, nav a.active {
  color: #181818 !important;
  background: #fff;
}
.cta.primary {
  background: #222;
  color: #fff;
  border-radius: 22px;
  font-family: 'Merriweather', 'Georgia', serif;
  font-weight: 600;
  letter-spacing: .5px;
  font-size: 1.05rem;
  padding: 10px 26px;
  margin-left: 30px;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.04);
  border: 2px solid #222;
  transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cta.primary:hover, .cta.primary:focus {
  background: #fff;
  color: #222;
  border-color: #222;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #fff;
  border: none;
  font-size: 2rem;
  margin-left: 18px;
  align-self: center;
  padding: 2px 10px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  z-index: 51;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #222;
  color: #fff;
}

/**********************
 MOBILE MENU OVERLAY
**********************/
.mobile-menu {
  transition: transform 0.38s cubic-bezier(.7,0,.3,1);
  transform: translateX(100%);
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: #181818;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  pointer-events: auto;
  transform: translateX(0);
  opacity: 1;
  box-shadow: -5px 0 40px 12px rgba(0,0,0,0.18);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  margin: 18px 32px 0 0;
  padding: 2px 18px;
  cursor: pointer;
  border-radius: 7px;
  transition: background .14s;
  align-self: flex-end;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #323232;
}
.mobile-nav {
  display: flex !important;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  align-items: flex-start;
  padding: 40px 36px 20px 36px;
  background: none;
  margin-top: 24px;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: #fff;
  padding: 6px 0;
  border-radius: 3px;
  width: 100%;
  display: block;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff;
  color: #181818;
}

/********************************
 HERO SECTION, HEADINGS, BUTTONS
********************************/
.hero {
  background: #f8f8f8;
  padding: 68px 0 38px 0;
  border-bottom: 1px solid #e6e6e6;
}
.hero h1 {
  font-size: 2.9rem;
  margin-bottom: 12px;
  color: #111111;
}
.hero p {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 32px;
  max-width: 800px;
}
.hero .cta.primary {
  margin-top: 6px;
}

/*****************************
 FLEXBOX SPACING & PATTERNS
*****************************/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 28px;
  margin-top: 18px;
}
.feature {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.045);
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 328px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  gap: 15px;
  transition: box-shadow .15s, transform .12s;
  margin-bottom: 20px;
}
.feature img {
  width: 44px; height: 44px;
  margin-bottom: 12px;
  filter: grayscale(1) contrast(1.1);
}
.feature:hover {
  box-shadow: 0 6px 30px 0 rgba(0,0,0,0.08);
  transform: translateY(-4px) scale(1.027);
}
.feature h3 {
  color: #181818;
}
.feature p {
  color: #232323;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(0,0,0,0.055);
  padding: 22px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.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-image-section > * {
  flex: 1 1 280px;
}

/**************************
 TESTIMONIALS & CARDS
**************************/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  background: #fafafa;
  border: 1.5px solid #222;
  border-radius: 16px;
  margin-bottom: 20px;
  font-size: 1.09rem;
  box-shadow: 0 3px 16px 0 rgba(0,0,0,0.045);
  transition: box-shadow .14s;
  max-width: 630px;
}
.testimonial-card p {
  color: #111;
  margin-bottom: 3px;
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 1.09rem;
}
.testimonial-card span {
  color: #767676;
  font-size: .96rem;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.02em;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(33,33,33,0.11);
}

/****************************
 RESPONSIVE SECTION SPACING
*****************************/
.section, main section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.section:last-child, main section:last-child {
  margin-bottom: 0;
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

/*********************
 FOOTER STYLE
*********************/
footer {
  background: #181818;
  color: #f4f4f4;
  padding: 44px 0 32px 0;
  border-top: 1px solid #222;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 42px;
  justify-content: space-between;
}
.footer-logo img {
  height: 38px;
  filter: grayscale(1) contrast(1.28);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  color: #e4e4e4;
  font-size: 1rem;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: .95rem;
}
.footer-contact img {
  margin-right: 9px;
  vertical-align: middle;
  width: 19px;
  height: 19px;
  filter: grayscale(1) opacity(.7);
}
footer p {
  color: #dadada;
}

/********************
 FORM STYLES (Global)
********************/
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #bbb;
  border-radius: 7px;
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  margin-bottom: 20px;
  background: #fff;
  color: #161616;
  transition: border 0.18s;
}
input:focus, textarea:focus {
  border-color: #222;
  outline: none;
}
button, .cta {
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
}

/*************************
 COOKIE CONSENT BANNER
*************************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 200;
  background: #fff;
  color: #181818;
  box-shadow: 0 -4px 32px 0 rgba(0,0,0,0.10);
  border-top: 1.5px solid #222;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  gap: 30px;
  font-size: 1rem;
  transition: transform 0.31s cubic-bezier(.7,0,.3,1.0), opacity 0.21s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner button, .cookie-banner .primary {
  color: #fff;
  background: #181818;
  border-radius: 20px;
  padding: 8px 24px;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  border: 2px solid #181818;
  transition: background .14s, color .12s;
}
.cookie-banner .secondary {
  color: #181818;
  background: #fff;
  border: 2px solid #181818;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #fff;
  color: #181818;
}
.cookie-banner .secondary:hover, .cookie-banner .secondary:focus {
  background: #181818;
  color: #fff;
}
.cookie-banner .settings {
  color: #fff;
  background: #404040;
  border: 2px solid #222;
}
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(10,10,10,0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 210;
  pointer-events: auto;
  opacity: 1;
  animation: fadeInCookie 0.23s;
}
@keyframes fadeInCookie {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-inner {
  background: #fff;
  color: #181818;
  padding: 35px 32px;
  border-radius: 18px;
  max-width: 470px;
  box-shadow: 0 8px 50px 0 rgba(0,0,0,0.19);
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  text-align: left;
}
.cookie-modal-inner h2 {
  font-size: 1.4rem;
  margin-top: 0;
  color: #111;
}
.cookie-modal-inner .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f7f7f7;
  padding: 10px 18px;
  border-radius: 9px;
  margin-bottom: 8px;
}
.cookie-category label {
  font-size: 1rem;
  color: #232323;
}
.cookie-category .toggle {
  width: 35px;
  height: 20px;
  border-radius: 12px;
  background: #bbb;
  position: relative;
  transition: background 0.18s;
  margin-left: 15px;
  cursor: pointer;
}
.cookie-category .toggle.on {
  background: #111;
}
.cookie-category .toggle::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.08);
  transition: left 0.17s;
}
.cookie-category .toggle.on::before {
  left: 18px;
}
.cookie-modal-inner .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 10px;
  width: 100%;
  justify-content: flex-end;
}
.cookie-modal-inner .cookie-modal-close {
  position: absolute;
  right: 22px;
  top: 22px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #222;
  cursor: pointer;
}

/***********************
 UTILITY CLASSES
**********************/
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  border: 0 !important;
}

/*************************
  MEDIA QUERIES
*************************/
@media (max-width: 1130px) {
  .container {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 900px) {
  .container {
    max-width: 96vw;
  }
  .feature-grid {
    gap: 18px;
  }
  footer .container {
    gap: 18px;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 22px;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 12px;
  }
  nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 44px 0 24px 0;
  }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.11rem; }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .section, main section {
    margin-bottom: 40px;
    padding: 24px 4px;
  }
  .testimonial-card, .card {
    padding: 18px 10px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .footer-logo {
    margin-bottom: 16px;
  }
}

@media (max-width: 500px) {
  .hero {
    padding: 24px 0 10px 0;
  }
  .testimonial-card {
    padding: 12px 4px;
  }
  .container {
    padding-left: 3px;
    padding-right: 3px;
  }
  .footer-nav {
    gap: 7px;
  }
}

/***************
 MICRO-INTERACTIONS
***************/
.card, .feature, .testimonial-card {
  transition: box-shadow .16s, transform .13s;
}
.card:hover, .feature:hover {
  box-shadow: 0 10px 32px 0 rgba(0,0,0,0.11);
  transform: translateY(-2px) scale(1.01);
}
.cta, .cookie-banner button, .cookie-banner .primary, .cookie-banner .secondary {
  transition: background 0.21s, color 0.21s, box-shadow 0.19s;
}
.cta:active, .cookie-banner button:active {
  box-shadow: 0 0px 4px #222 inset;
}

/***************
 MISC
***************/
::-webkit-input-placeholder { color: #aaa; }
::-moz-placeholder { color: #aaa; }
:-ms-input-placeholder { color: #aaa; }
::placeholder { color: #aaa; }

/***************
 BRAND FONTS: FALLBACK
***************/
@font-face {
  font-family: 'Merriweather';
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: local('Merriweather'), url('https://fonts.gstatic.com/s/merriweather/v22/u-440qyriQwlOrhSvowK_l52xwNZWMf_.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: local('Lato'), url('https://fonts.gstatic.com/s/lato/v24/S6uyw4BMUTPHjxAwXiWtFCc.woff2') format('woff2');
}
