/* ========================================================
   GLOW FACET CSS — Monochrome Sophisticated Theme (Flexbox Only)
   ======================================================== */

/* ==== RESET & BASE ==== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: inherit; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
ul, ol { list-style: none; }
a {
  color: inherit;
  text-decoration: none;
  background: none;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  background: none;
  color: inherit;
}
button { cursor: pointer; }
:focus { outline: none; }

body {
  background: #F8FAF6;
  color: #151515;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  line-height: 1.6;
}

/* ==== TYPOGRAPHY ==== */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: -1.5px;
  color: #151515;
  line-height: 1.15;
  margin-bottom: 18px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  color: #222;
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: #444;
  margin-bottom: 12px;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
p, li, blockquote {
  font-size: 1rem;
  color: #222;
  line-height: 1.7;
}
blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: #222;
  border-left: 4px solid #151515;
  padding-left: 20px;
  margin-bottom: 12px;
}
strong, b {
  font-weight: 600;
  color: #111;
}
small {
  font-size: 0.93rem;
}

/* ==== BUTTONS & LINKS ==== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #151515;
  color: #F8FAF6;
  padding: 14px 36px;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.13rem;
  letter-spacing: 1px;
  box-shadow: 0 2px 16px rgba(30,30,30,0.08);
  transition: background 0.15s, color 0.15s, box-shadow 0.4s;
  border: 1.5px solid #232323;
  cursor: pointer;
  margin-top: 18px;
  margin-bottom: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #F8FAF6;
  color: #151515;
  border-color: #111;
  box-shadow: 0 5px 32px rgba(21,21,21,0.12);
  text-decoration: none;
}
.main-nav a {
  position: relative;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.04rem;
  color: #232323;
  margin: 0 10px;
  padding: 7px 0;
  transition: color .15s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #151515;
  border-bottom: 2px solid #151515;
}
.footer-links a {
  color: #333;
  margin: 0 6px;
  transition: color 0.18s;
}
.footer-links a:hover {
  color: #151515;
  text-decoration: underline;
}

/* ==== HEADER & NAV ==== */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  position: sticky;
  top: 0;
  z-index: 1001;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 20px;
}
.logo img {
  height: 48px;
  min-width: 120px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  flex: 1 1 auto;
  margin-left: 24px;
}
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.25rem;
  background: none;
  border: none;
  color: #151515;
  margin-left: auto;
  z-index: 1010;
  line-height: 1;
}
@media (max-width: 1000px) {
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
  }
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0,0,0,0.44);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.2rem;
  margin: 28px 21px 0 0;
  background: none;
  border: none;
  color: #fff;
  align-self: flex-end;
  z-index: 1220;
  transition: color 0.14s;
}
.mobile-menu-close:hover {
  color: #A1C659;
}
.mobile-nav {
  background: #fff;
  box-shadow: -3px 0 16px rgba(14,14,14, .08);
  min-width: 80vw;
  max-width: 410px;
  height: 100vh;
  padding: 60px 35px 35px 35px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  transform: translateX(100%);
  transition: transform 0.39s cubic-bezier(.67,.23,.23,.94);
}
.mobile-menu.open .mobile-nav {
  transform: translateX(0);
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: #222;
  padding: 10px 0;
  width: 100%;
  border-bottom: 1px solid #ededed;
  margin-bottom: 5px;
  transition: color .17s;
}
.mobile-nav a:hover {
  color: #A1C659;
}
@media (max-width: 500px) {
  .mobile-nav {
    min-width: 100vw;
    padding: 62px 14px 35px 14px;
  }
}

/* ==== MAIN SECTIONS ==== */
main {
  min-height: 60vh;
  width: 100%;
}
.section, .hero, .features, .about-snapshot, .about-us, .values, .impact, \
.services-list, .services-teaser, .technologies-features, .about-technology, .testimonials, .project-highlights, .cta, .blog-list, .blog-featured, .contact-info, .confirmation, .policy {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.section:last-child, .policy:last-child {
  margin-bottom: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ==== HERO SECTIONS ==== */
.hero {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 32px rgba(30,30,30,0.06);
  margin-top: 32px;
  margin-bottom: 60px;
  padding-top: 42px;
  padding-bottom: 50px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
@media (max-width: 600px) {
  .hero {
    margin-top: 16px;
    border-radius: 0;
    padding-top: 30px;
    padding-bottom: 36px;
  }
}

/* ==== FLEX LAYOUT PRESETS ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(20,20,20,0.05);
  padding: 28px 22px;
  min-width: 270px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.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: #F8FAF6;
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(30,30,30,0.08);
  margin-bottom: 20px;
  border: 1px solid #ededed;
  min-width: 270px;
  max-width: 650px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== SECTION & CARD GROUPINGS ==== */
.features ul,
.about-snapshot ul,
.about-us ul,
.values ul,
.impact ul,
.services-list ul,
.technologies-features ul,
.project-highlights ul,
.contact-info ul,
.confirmation ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}
.services-list .service-group, .services-teaser .service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 22px;
}
.service-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(21,21,21,0.07);
  padding: 24px 20px 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 340px;
  margin-bottom: 20px;
  border: 1px solid #e5e5e5;
  transition: box-shadow 0.19s;
}
.service-card h3 {
  margin-bottom: 11px;
  font-size: 1.13rem;
}
.service-card span {
  margin-top: 15px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 600;
  color: #151515;
}
.service-card:hover {
  box-shadow: 0 6px 28px rgba(20,20,20,0.13);
  border-color: #A1C659;
}
.blog-list .blog-teaser {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 15px rgba(24,24,24,0.06);
  padding: 24px 18px 20px 18px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: box-shadow 0.18s, border-color .13s;
  border: 1px solid #ededed;
}
.blog-list .blog-teaser:hover {
  box-shadow: 0 5px 28px rgba(21,21,21,0.11);
  border-color: #A1C659;
}
.blog-list .blog-teaser .tag {
  background: #E9EDEA;
  color: #555;
  border-radius: 6px;
  padding: 2px 12px;
  font-size: 0.97rem;
  letter-spacing: 0.5px;
  margin-top: 8px;
  display: inline-block;
}

/* ==== ABOUT / VALUES / IMPACT ==== */
.values ul, .impact ul {
  margin-bottom: 10px;
}

/* ==== ICONS WITH LIST ==== */
.features ul li, .technologies-features ul li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  font-size: 1.03rem;
  color: #2E2E2E;
}
.features ul img, .technologies-features ul img {
  height: 32px;
  width: 32px;
  margin-right: 6px;
}

/* ==== CTA SECTIONS ==== */
.cta {
  color: #F8FAF6;
  border-radius: 16px;
  box-shadow: 0 2px 22px rgba(21,21,21,0.07);
  text-align: center;
  padding-top: 44px;
  padding-bottom: 44px;
  margin-bottom: 48px;
}
.cta .btn-primary {
  background: #fff;
  color: #181818;
  border-color: #fff;
}
.cta .btn-primary:hover {
  background: #232323;
  color: #fff;
  border-color: #fff;
}

/* ==== TESTIMONIALS ==== */
.testimonials > .container > .content-wrapper {
  gap: 30px;
  align-items: flex-start;
}
.testimonial-card blockquote {
  color: #232323;
  border-left: 3px solid #A1C659;
}
.testimonial-card p {
  margin-left: 18px;
  font-size: 1.03rem;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 16px;
  }
  .testimonial-card p { margin-left: 0; }
}

/* ==== POLICY & CONFIRMATION SECTIONS ==== */
.policy, .confirmation {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 19px rgba(20,20,20,0.07);
  padding: 32px 22px 36px 22px;
}

/* ==== CONTACT INFO ==== */
.contact-info ul {
  margin-bottom: 16px;
}
.map-snippet {
  background: #EDEDED;
  border-radius: 9px;
  padding: 16px 13px;
  color: #444;
  margin-top: 9px;
}

/* ==== FOOTER ==== */
footer {
  color: #F8FAF6;
  font-size: 1.01rem;
  padding-top: 40px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 0 20px 24px 20px;
}
.footer-logo img {
  height: 34px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.footer-contact {
  font-size: 0.98rem;
  color: #D5D5D5;
  font-family: 'Open Sans', Arial, sans-serif;
}
.footer-contact p { margin-bottom: 3px; }
.footer-copyright {
  text-align: center;
  border-top: 1.5px solid #2C2C2C;
  padding: 15px 0 17px 0;
  font-size: 0.96rem;
  color: #777;
  background: #202020;
}
@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ==== SPACING EXTRAS ==== */
.section:not(:last-child),
.hero:not(:last-child),
.features:not(:last-child),
.about-us:not(:last-child),
.values:not(:last-child),
.impact:not(:last-child),
.services-list:not(:last-child),
.cta:not(:last-child),
.testimonials:not(:last-child) {
  margin-bottom: 60px;
}

/* ==== ANIMATIONS / TRANSITIONS ==== */
.btn-primary, .service-card, .blog-list .blog-teaser, .testimonial-card {
  transition: box-shadow 0.18s, background 0.15s, color 0.14s, border-color 0.13s;
}

/* ==== RESPONSIVENESS ==== */
@media (max-width: 900px) {
  .service-group, .service-cards, .card-container, .content-grid {
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-start;
  }
  .service-card, .card {
    min-width: 210px;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .container {
    padding-left: 11px;
    padding-right: 11px;
  }
  .section, .hero, .features, .about-snapshot, .about-us, .values, .impact, \
  .services-list, .services-teaser, .technologies-features, .about-technology, .testimonials, .project-highlights, .cta, .blog-list, .blog-featured, .contact-info, .confirmation, .policy {
    padding: 23px 7px;
    margin-bottom: 42px;
  }
}
@media (max-width: 540px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.4rem; }
  .btn-primary {
    padding: 12px 22px;
    font-size: 1rem;
  }
  header .container {
    gap: 8px;
    padding: 10px 5px;
  }
  .logo img { height: 38px; }
}

/* ==== COOKIE CONSENT ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #181818;
  color: #fff;
  font-size: 1rem;
  padding: 22px 30px 22px 30px;
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  box-shadow: 0 -2px 22px rgba(0,0,0,0.17);
  opacity: 1;
  transition: opacity 0.38s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 1 0 320px;
  color: #F8FAF6;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  min-width: 120px;
  padding: 10px 18px;
  border-radius: 23px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border: 1.5px solid #333;
  background: #FAFAFA;
  color: #151515;
  margin-right: 2px;
  transition: background 0.18s, color 0.18s, border-color 0.2s;
}
.cookie-banner button:hover {
  background: #151515;
  color: #fff;
  border-color: #444;
}
.cookie-banner .btn-settings {
  background: #222;
  color: #fff;
  border-color: #555;
}
.cookie-banner .btn-settings:hover {
  background: #fff;
  color: #222;
  border-color: #151515;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    padding: 19px 8px 18px 8px;
    gap: 11px;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    gap: 9px;
    justify-content: flex-start;
  }
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3000;
  top:0; left:0; width:100vw; height:100vh;
  background: rgba(40,40,40,0.54);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.33s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #f8f8f8;
  color: #181818;
  border-radius: 16px;
  box-shadow: 0 4px 38px rgba(21,21,21,.20);
  padding: 40px 28px 32px 28px;
  max-width: 420px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 23px;
  position: relative;
}
.cookie-modal h2 { font-size: 1.3rem; margin-bottom: 13px; font-family: 'Montserrat', Arial, sans-serif; }
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 13px;
}
.cookie-modal .category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
}
.cookie-modal .category-row label {
  font-size: 1.06rem;
  color: #191919;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #151515;
  width: 18px;
  height: 18px;
}
.cookie-modal .category-row input[disabled] {
  opacity: 0.46;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 5px;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 13px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #222;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover {
  color: #A1C659;
}
.cookie-modal .cookie-category-disabled {
  color: #999;
}

/* ==== UTILITIES ==== */
.show {
  display: block !important;
  opacity: 1 !important;
  pointer-events: all !important;
}
.hide {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ==== MISC ==== */
::-webkit-scrollbar { width: 10px; background: #ededed; }
::-webkit-scrollbar-thumb { background: #bbb; border-radius: 5px; }
::selection {
  background: #151515;
  color: #fff;
}

