/* RESET & BASES ---------------------- */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #FDF6EC;
  color: #263238;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}
ul, ol {
  list-style: none;
}
a {
  color: #263238;
  text-decoration: none;
  transition: color 0.21s;
}
a:focus {
  outline: 2px solid #EDA935;
  outline-offset: 2px;
}

/* TYPOGRAPHY ---------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: #263238;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
@media (min-width: 700px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
}
p, .footer-contact span {
  margin-bottom: 14px;
  color: #3d413d;
  font-size: 1rem;
}

/* LAYOUT & CONTAINERS ------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (min-width: 992px) {
  .section {
    padding: 60px 0;
  }
}

/* HEADER & NAVIGATION -------------- */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(38,50,56,0.06);
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  position: relative;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo-header img, .logo-footer img {
  height: 44px;
  border-radius: 14px;
}
.main-nav {
  display: none;
}
header .btn-primary {
  display: none;
}
@media (min-width: 1000px) {
  .main-nav {
    display: flex;
    gap: 28px;
    margin-left: 36px;
    align-items: center;
  }
  .main-nav a {
    padding: 8px 0;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 1rem;
    color: #263238;
    position: relative;
    transition: color .18s;
  }
  .main-nav a:hover,
  .main-nav a:focus {
    color: #EDA935;
  }
  header .btn-primary {
    display: inline-flex;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* MOBILE MENU --------------------- */
.mobile-menu-toggle {
  font-size: 2.1rem;
  background: #EDA935;
  color: #263238;
  border: none;
  border-radius: 12px;
  padding: 6px 16px;
  cursor: pointer;
  position: absolute;
  right: 18px;
  top: 12px;
  transition: background 0.2s;
  z-index: 202;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #ffa61a;
  color: #263238;
}
@media (min-width: 1000px) {
  .mobile-menu-toggle {
    display: none;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 360px;
  height: 100vh;
  background: #fff;
  box-shadow: -6px 0 28px rgba(38,50,56,0.14);
  transform: translateX(102%);
  transition: transform .33s cubic-bezier(.4,1,.7,1);
  z-index: 303;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 28px 24px 28px;
  gap: 10px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #EDA935;
  font-size: 2.1rem;
  cursor: pointer;
  margin-bottom: 20px;
  transition: color .18s;
  z-index: 2;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #263238;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.12rem;
  color: #263238;
  padding: 13px 0;
  width: 100%;
  border-radius: 10px;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #EDA93511;
  color: #EDA935;
}

/* HERO & SECTIONS ----------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (min-width: 992px) {
  section {
    padding: 60px 0;
  }
}

/* FEATURE GRID & CARDS ------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid li {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 16px 0 rgba(38,50,56,0.07);
  padding: 28px 24px 22px 24px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow .22s, transform .18s;
}
.feature-grid li:hover {
  box-shadow: 0 6px 26px 0 rgba(237,169,53,.22);
  transform: translateY(-3px) scale(1.018);
}
.feature-grid img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 8px;
}
.feature-grid h3 {
  font-size: 1.1rem;
  color: #EDA935;
  margin-bottom: 6px;
}
.feature-grid p {
  color: #3d413d;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 18px 0 rgba(38,50,56,0.08);
  margin-bottom: 20px;
  padding: 28px;
  position: relative;
}

/* SERVICE CARDS ------------------- */
.service-cards, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-card {
  background: #FFF;
  border-radius: 22px;
  box-shadow: 0 2px 16px 0 rgba(38,50,56,0.07);
  padding: 28px 24px;
  flex: 1 1 230px;
  min-width: 210px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow .22s, transform .17s;
}
.service-card:hover {
  box-shadow: 0 6px 24px 0 rgba(237,169,53,.22);
  transform: translateY(-3px) scale(1.012);
}
.price {
  font-weight: 700;
  color: #EDA935;
  font-size: 1.0rem;
  margin-top: 8px;
}

/* PROJECT LIST (realizacje) and CASES */
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.case-study {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(38,50,56,0.08);
  padding: 26px 22px 20px 22px;
  flex: 1 1 280px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow .19s, transform .18s;
}
.case-study:hover {
  box-shadow: 0 6px 20px 0 rgba(237,169,53,.15);
  transform: translateY(-2px) scale(1.012);
}
.key-solutions li {
  color: #263238;
  font-size: 0.97rem;
  margin-bottom: 4px;
  padding-left: 16px;
  position: relative;
}
.key-solutions li::before {
  content: "•";
  color: #EDA935;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
}

/* TEAMS ---------------------------- */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-member {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 16px 0 rgba(38,50,56,0.07);
  padding: 28px 22px 20px 22px;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow .20s, transform .16s;
}
.team-member h3 {
  color: #EDA935;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

/* ARTICLES & FAQ ------------------- */
.articles-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.articles-list article {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(38,50,56,.07);
  flex: 1 1 230px;
  min-width: 200px;
  max-width: 380px;
  padding: 26px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.article-cta {
  margin-top: 8px;
  display: inline-block;
  color: #EDA935;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 600;
  text-decoration: underline;
  font-size: 1rem;
  transition: color .18s;
}
.article-cta:hover,
.article-cta:focus {
  color: #263238;
}

.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.faq-item {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(38,50,56,0.055);
  padding: 24px 22px 18px 22px;
  flex: 1 1 280px;
  min-width: 220px;
  max-width: 450px;
  margin-bottom: 20px;
}
.faq-item h3 {
  color: #EDA935;
  font-size: 1.08rem;
  margin-bottom: 7px;
}

/* TESTIMONIALS --------------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px 0 rgba(237,169,53,.13);
  margin-bottom: 20px;
  max-width: 480px;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #263238;
  margin-bottom: 6px;
}
.testimonial-author {
  font-size: .98rem;
  color: #EDA935;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CONTACT DETAILS ------------------ */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-details span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #3d413d;
  font-size: 1rem;
}
.contact-details img {
  width: 23px;
  height: 23px;
  margin-right: 4px;
}

/* BUTTONS -------------------------- */
.btn-primary,
.btn-secondary {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  font-weight: 700;
  font-size: 1.12rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  padding: 13px 28px;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: background .18s, color .18s, box-shadow .17s, transform .11s;
  outline: none;
  box-shadow: 0 2px 12px 0 rgba(237,169,53,.10);
}
.btn-primary {
  background: #EDA935;
  color: #263238;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #FFC860;
  color: #263238;
  transform: translateY(-2px) scale(1.02);
}
.btn-secondary {
  background: #fff;
  color: #EDA935;
  border: 2px solid #EDA935;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #EDA935;
  color: #263238;
}

/* FOOTER --------------------------- */
footer {
  background: #fff;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  box-shadow: 0 -2px 16px 0 rgba(38,50,56,.05);
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 40px 20px 22px 20px;
}
.logo-footer {
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #263238;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  transition: color .16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #EDA935;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.99rem;
  color: #3d413d;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact img {
  width: 20px;
  height: 20px;
}
.copyright {
  font-size: 0.90rem;
  color: #7d7d7d;
  margin-top: 7px;
}

/* SPACING -------------------------- */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* RESPONSIVENESS ------------------- */
@media (max-width: 1000px) {
  .main-nav, header .btn-primary { display: none; }
  .mobile-menu-toggle { display: flex; }
  .container { padding: 0 12px; }
}
@media (max-width: 900px) {
  .feature-grid, .card-container, .service-cards, .service-list, .faq-list, .team-list, .content-grid, .project-list, .articles-list {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .contact-details, footer .container {
    align-items: flex-start;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  section, .section {
    padding: 28px 4vw;
  }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.18rem; }
  .feature-grid li, .service-card, .team-member, .faq-item, .articles-list article, .case-study {
    max-width: 97vw;
    min-width: 0;
  }
}
@media (max-width: 600px) {
  .logo-header img, .logo-footer img {
    height: 38px;
  }
  .footer-contact span, .contact-details span {
    font-size: 0.92rem;
  }
  .section, section {
    padding: 20px 0.5vw;
  }
}

/* SCROLL SMOOTH -------------------- */
html { scroll-behavior: smooth; }

/* MICRO-INTERACTIONS --------------- */
.card, .service-card, .feature-grid li, .case-study, .team-member, .faq-item, .articles-list article {
  transition: box-shadow .21s, transform .13s;
}
.card:hover, .service-card:hover, .case-study:hover, .feature-grid li:hover, .team-member:hover, .faq-item:hover, .articles-list article:hover {
  box-shadow: 0 8px 34px 0 rgba(237,169,53,.14);
  transform: translateY(-2px) scale(1.012);
}

/* COOKIES CONSENT ------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff4e1;
  box-shadow: 0 -3px 30px 0 rgba(38,50,56,.09);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  padding: 19px 18px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  z-index: 999;
  animation: cookie-in .4s cubic-bezier(.44,1,.7,1);
}
@keyframes cookie-in {
  0% { transform: translateY(42px); opacity: 0.1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #263238;
  font-size: 0.99rem;
  margin-bottom: 7px;
}
.cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  border-radius: 20px;
  font-size: .97rem;
  padding: 10px 23px;
  border: none;
  margin: 0 0 0 0;
  margin-right: 6px;
  box-shadow: 0 1px 4px 0 rgba(237,169,53,.09);
  transition: background .18s, color .16s, box-shadow .12s;
}
.cookie-btn.accept {
  background: #EDA935;
  color: #263238;
  font-weight: 700;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #ffc860;
  color: #263238;
}
.cookie-btn.reject {
  background: #fff;
  color: #EDA935;
  border: 2px solid #EDA935;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #EDA935;
  color: #263238;
}
.cookie-btn.settings {
  background: #fff4e1;
  color: #263238;
  border: 2px solid #EDA935;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #EDA93533;
  color: #263238;
}

/* COOKIES MODAL -------------------- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(38,50,56,.12);
  z-index: 1999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn .25s cubic-bezier(.44,1,.7,1);
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% {opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 28px 0 rgba(38,50,56,.19);
  padding: 32px 24px;
  width: 95vw;
  max-width: 420px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-appear .32s cubic-bezier(.38,1.2,.5,.98);
}
@keyframes modal-appear {
  0% { opacity:0; transform: scale(.95);
  }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  font-size: 1.15rem;
  color: #EDA935;
  margin-bottom: 11px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fff9ed;
  border-radius: 10px;
  padding: 10px 15px;
  margin-bottom: 6px;
}
.cookie-toggle {
  width: 36px;
  height: 20px;
  background: #EDA93555;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background .19s;
}
.cookie-toggle.on {
  background: #EDA935;
}
.cookie-toggle .dot {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 1px;
  top: 1px;
  transition: left .18s, background .17s;
}
.cookie-toggle.on .dot {
  left: 17px;
  background: #EDA935;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  font-size: 2rem;
  position: absolute;
  right: 14px;
  top: 8px;
  color: #EDA935;
  cursor: pointer;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  color: #263238;
}

/* UTILITIES & OTHERS --------------- */
::-webkit-scrollbar { width: 7px; background: #fff4e1; }
::-webkit-scrollbar-thumb { background: #EDA93533; border-radius: 6px; }

hr {
  border: none;
  border-top: 1.5px solid #EDA93544;
  margin: 32px 0 18px 0;
}

/* FOCUS VISIBLE -------------------- */
:focus-visible {
  outline: 2px solid #EDA935;
}

/* END OF CSS */
