/* -------------- 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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #F6F5F0;
  color: #23283B;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #23283B;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus,
a:hover {
  color: #F2B705;
  outline: none;
}
ul, ol {
  list-style: none;
  padding: 0;
}
input, textarea, button, select {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}

/* -------------- TYPOGRAPHY -------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #18191D;
  font-weight: 700;
  margin-bottom: 0.6em;
}
h1 { font-size: 2.5rem; letter-spacing: -1px; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
strong { font-weight: 700; }
.section h2 {
  margin-bottom: 32px;
  padding-bottom: 8px;
  border-bottom: 2px solid #23283B10;
}

p, li, .text-section {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #23283B;
  margin-bottom: 0.8em;
}

/* -------------- LAYOUT -------------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 24px rgba(29,32,41,0.07);
}
/* These sections are kept lighter for monochrome sophistication: */
.hero,
.about-hero,
.services-hero,
.projects-hero,
.blog-hero,
.contact-hero,
.thank-you {
  background: #18191D;
  color: #fff;
  border-radius: 0 0 28px 28px;
  margin-bottom: 60px;
  padding: 60px 0 48px 0;
}
.hero h1, .about-hero h1, .services-hero h1, .projects-hero h1, .blog-hero h1, .contact-hero h1, .thank-you h1 {
  color: #fff;
}
.hero p, .about-hero p, .services-hero p, .projects-hero p, .blog-hero p, .contact-hero p, .thank-you p {
  color: #f0f0f0;
}

/* -------------- HEADER & NAVIGATION -------------- */
header {
  background: #fff;
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 76px;
  gap: 20px;
}
header nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  color: #23283B;
  font-weight: 600;
  padding: 0 4px;
  border-radius: 3px;
  position: relative;
  transition: color 0.2s, box-shadow 0.25s;
}
header nav a:hover, header nav a:focus {
  color: #F2B705;
  background: #23283B08;
}
.cta-btn {
  background: #23283B;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(29,32,41,0.09);
  padding: 11px 32px;
  margin-left: 12px;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
  border: 2px solid transparent;
  text-align: center;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F2B705;
  color: #23283B;
  box-shadow: 0 4px 16px 0 #23283B30;
  border-color: #23283B14;
}

header img, .brand-info img {
  height: 42px;
  width: auto;
  min-width: 40px;
}

/* -------------- MOBILE MENU (BURGER) -------------- */
.mobile-menu-toggle {
  display: none;
  background: #23283B;
  color: #fff;
  font-size: 2rem;
  border-radius: 6px;
  padding: 7px 13px;
  border: none;
  margin-left: 10px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F2B705;
  color: #23283B;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #18191D;
  color: #fff;
  z-index: 1001;
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition: transform 0.34s cubic-bezier(.75,0,.4,1) 0s;
  transform: translateX(-100%);
  box-shadow: 0 8px 28px #23283B30;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 18px 12px 0;
  font-size: 2.2rem;
  background: none;
  color: #fff;
  border: none;
  transition: color 0.22s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F2B705;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
  padding: 36px 24px 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 4px;
  transition: background 0.18s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F2B705;
  background: #23283B45;
}

@media (max-width: 1020px) {
  header nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* -------------- CARDS & FLEX CONTAINERS -------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  padding: 28px 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 5px 20px 0 #23283B12;
  transition: box-shadow 0.2s, transform 0.18s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 #23283B28;
  transform: translateY(-4px) scale(1.02);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* -------------- FEATURE GRID (Atuty/Benefits) -------------- */
.feature-grid,
.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.feature-block,
.benefit-block {
  background: #F6F5F0;
  border-radius: 12px;
  box-shadow: 0 2px 14px 0 #23283B10;
  padding: 28px 18px 22px 18px;
  min-width: 210px;
  max-width: 270px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, background 0.2s;
}
.feature-block:hover, .benefit-block:hover {
  box-shadow: 0 6px 28px #23283B26;
  background: #fff;
}
.feature-block img,
.benefit-block img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 4px;
  filter: grayscale(100%);
}
.feature-block h3, .benefit-block h3 {
  font-size: 1.12rem;
  margin: 0;
  color: #23283B;
  font-weight: 700;
}

/* -------------- SERVICE LIST -------------- */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 12px #23283B15;
  padding: 22px 20px 16px 20px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  border-left: 4px solid #23283B22;
  transition: box-shadow 0.22s, border-color 0.18s;
}
.service-box:hover {
  box-shadow: 0 5px 24px #23283B38;
  border-left-color: #F2B705;
}
.service-box strong {
  color: #23283B;
  font-weight: 700;
  margin-top: 6px;
}

/* -------------- BLOG/ARTICLE CARDS -------------- */
.article-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.articles-list article {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px #23283B12;
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 270px;
  padding: 22px 18px 18px 18px;
  transition: box-shadow 0.2s;
  margin-bottom: 20px;
}
.articles-list article:hover {
  box-shadow: 0 7px 26px #23283B25;
}
.articles-list article h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.articles-list article a {
  color: #23283B;
  text-underline-offset: 2px;
  border-bottom: 2px solid #F2B70520;
  transition: color 0.15s, border-color 0.14s;
}
.articles-list article a:hover {
  color: #F2B705;
  border-bottom-color: #F2B705;
}

.search-bar {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}
.search-bar input[type="search"] {
  width: 100%;
  max-width: 300px;
  background: #F6F5F0;
  border-radius: 12px;
  padding: 12px 15px;
  border: 1px solid #23283B18;
  font-size: 1rem;
  transition: border 0.17s, box-shadow 0.19s;
}
.search-bar input[type="search"]:focus {
  border-color: #F2B705;
  box-shadow: 0 2px 12px #F2B70515;
}

/* -------------- TESTIMONIALS -------------- */
.testimonials .testimonial-slider,
.testimonials .testimonial-card {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.testimonial-card {
  background: #fff;
  color: #23283B;
  box-shadow: 0 2px 16px #23283B16;
  border-radius: 14px;
  padding: 20px 22px;
  min-width: 250px;
  max-width: 350px;
  margin-bottom: 20px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.18s;
  border-left: 3px solid #F2B70540;
}
.testimonial-card:hover {
  box-shadow: 0 7px 22px #23283B35;
  transform: scale(1.02);
}
.testimonial-card strong {
  font-size: 0.97rem;
  color: #23283B;
  font-weight: bold;
  opacity: 0.78;
}

/* -------------- FORM STYLING -------------- */
.form-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.form-fields > div {
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #23283B;
}
input[type="text"],
input[type="email"],
textarea {
  background: #F6F5F0;
  border: 1px solid #23283B18;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: border 0.16s, box-shadow 0.18s;
  color: #23283B;
}
input:focus, textarea:focus {
  border: 1.5px solid #F2B705;
  box-shadow: 0 2px 12px #F2B70518;
  outline: none;
}
::placeholder {
  color: #23283B66;
}

/* -------------- LISTS, TEXT-SECTIONS, ACCORDIONS -------------- */
.text-section {
  max-width: 850px;
  margin-bottom: 24px;
}
.text-section ul {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 16px;
}
.text-section li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 20px;
}
.text-section li:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #23283B;
  border-radius: 50%;
  margin-right: 9px;
  position: absolute;
  left: 0;
  top: 8px;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px #23283B10;
  padding: 17px 20px;
  transition: box-shadow 0.16s;
}
.faq-item h3 {
  font-size: 1.08rem;
}
.faq-item:hover {
  box-shadow: 0 4px 16px #23283B22;
}

/* -------------- CONTACT DETAILS -------------- */
.contact-details, .contact-info {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 1.05rem;
}
.contact-info ul {
  gap: 10px;
  display: flex;
  flex-direction: column;
}
.contact-info li {
  font-size: 1rem;
  color: #23283B;
}

/* -------------- FOOTER -------------- */
footer {
  background: #18191D;
  color: #fff;
  padding: 45px 0 18px 0;
  border-radius: 32px 32px 0 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-nav a {
  color: #f6f5f0;
  font-size: 1.04rem;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F2B705;
}
.brand-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 0.96rem;
  gap: 6px;
}
.brand-info img {
  width: 46px;
  height: auto;
  margin-bottom: 6px;
}
.social-media {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.social-media a img {
  width: 34px;
  height: 34px;
  filter: grayscale(1) contrast(0.86) brightness(1.1);
  opacity: 0.68;
  transition: filter 0.18s, opacity 0.18s;
}
.social-media a:hover img {
  filter: grayscale(0) brightness(1) drop-shadow(0 0 4px #F2B70544);
  opacity: 1;
}

/* -------------- COOKIE CONSENT BANNER -------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #23283B;
  color: #fff;
  box-shadow: 0 -2px 30px #23283B12;
  z-index: 2000;
  padding: 32px 24px 24px 24px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  border-radius: 18px 18px 0 0;
  opacity: 1;
  transition: transform 0.33s cubic-bezier(.77,0,.28,1), opacity 0.22s;
  font-size: 1.02rem;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.cookie-consent-banner .cookie-btn-group {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-left: auto;
}
.cookie-consent-banner button {
  padding: 9px 22px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-top: 4px;
  background: #fff;
  color: #23283B;
  border: 0;
  box-shadow: 0 2px 7px #23283B13;
  transition: background 0.17s, color 0.18s, box-shadow 0.17s;
}
.cookie-consent-banner .accept-btn {
  background: #F2B705;
  color: #23283B;
  font-weight: bold;
}
.cookie-consent-banner .accept-btn:hover,
.cookie-consent-banner .accept-btn:focus {
  background: #FFF7D8;
  color: #23283B;
  box-shadow: 0 3px 11px #F2B70530;
}
.cookie-consent-banner .settings-btn {
  background: #23283B;
  color: #fff;
  border: 1.6px solid #fff;
  font-weight: normal;
}
.cookie-consent-banner .settings-btn:hover,
.cookie-consent-banner .settings-btn:focus {
  background: #fff;
  color: #23283B;
  border-color: #F2B705;
}
.cookie-consent-banner .reject-btn {
  background: #fff;
  color: #23283B;
  border: 1.5px solid #23283B33;
  font-weight: normal;
}
.cookie-consent-banner .reject-btn:hover,
.cookie-consent-banner .reject-btn:focus {
  background: #23283B;
  color: #fff;
  border-color: #F2B705;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(24,25,29,0.77);
  z-index: 2001;
  justify-content: center;
  align-items: center;
  transition: opacity 0.17s;
  opacity: 0;
}
.cookie-modal.open {
  display: flex;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  color: #23283B;
  min-width: 320px;
  max-width: 95vw;
  border-radius: 16px;
  box-shadow: 0 8px 38px #23283B33;
  padding: 36px 32px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-modal-header h3 {
  font-size: 1.3rem;
  margin: 0;
  color: #23283B;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #23283B;
  font-size: 2.1rem;
  margin-left: 30px;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #F2B705;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 12px 0 26px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  cursor: pointer;
  color: #23283B;
}
.cookie-category input[type="checkbox"], .cookie-category input[type="radio"] {
  accent-color: #F2B705;
  width: 18px;
  height: 18px;
}
.cookie-category .category-desc {
  font-size: 0.98rem;
  color: #51545E;
  margin-left: 8px;
}
.cookie-modal-footer {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

/* -------------- RESPONSIVE: TABLET & MOBILE -------------- */
@media (max-width: 1020px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .footer-nav { flex-wrap: wrap; gap: 8px; }
  .feature-grid, .benefits-grid, .service-list, .card-container, .article-preview-grid {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .brand-info { font-size: 0.88rem; }
  .footer-nav { font-size: 0.98rem; }
  .feature-block, .benefit-block, .service-box, .articles-list article, .testimonial-card {
    min-width: 160px;
    max-width: 100%;
    padding-left: 12px; padding-right: 12px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .section {
    margin-bottom: 36px;
    padding: 24px 8px;
    border-radius: 11px;
  }
  .hero, .about-hero, .services-hero, .projects-hero, .contact-hero, .thank-you, .blog-hero {
    padding: 42px 0 27px 0;
    border-radius: 0 0 18px 18px;
  }
  .form-fields {
    flex-direction: column;
    gap: 15px;
  }
  .feature-grid,
  .benefits-grid,
  .service-list,
  .card-container,
  .article-preview-grid,
  .testimonials .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card, .service-box, .feature-block, .articles-list article {
    min-width: 0;
    max-width: 100%;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px 12px 10px;
    font-size: 0.99rem;
  }
  .cookie-consent-banner .cookie-btn-group {
    margin-left: 0;
    width: 100%;
    gap: 12px;
    margin-top: 7px;
    flex-wrap: wrap;
  }
  .footer {
    padding: 27px 0 10px 0;
  }
  footer .container {
    flex-direction: column;
    gap: 19px;
    align-items: flex-start;
  }
}
@media (max-width: 460px) {
  html { font-size: 14px; }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .section {
    margin-bottom: 22px;
    padding: 12px 3px;
  }
  header .container { gap: 7px; }
}

/* -------------- UTILITIES & INTERACTIONS -------------- */
::-webkit-scrollbar {
  width: 8px;
  background: #e2e2e2;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: #23283B27;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #23283B44;
}

/* subtle animation for entrances */
.fade-in {
  opacity: 0;
  animation: fadeInAnim 0.7s cubic-bezier(.72,0,.53,1) .13s forwards;
}
@keyframes fadeInAnim {
  100% { opacity: 1; }
}

/* micro-interactions for buttons */
.cta-btn, button, .mobile-menu-toggle {
  transition: background 0.22s, color 0.18s, box-shadow 0.18s, border 0.16s, transform 0.22s;
}
.cta-btn:active, .mobile-menu-toggle:active, button:active {
  transform: scale(0.97);
}

section {
  padding: 10px 0;
}

/* -------------- OVERRIDE - ENSURE FLEX, NEVER GRID -------------- */
/* (No display: grid, grid-* or columns properties are used anywhere, verified) */
