/* =======================================================================
   Złoty Welon – Monochrome Sophisticated Style
   Author: Senior CSS Developer & UI Designer
   BRAND FONT: Oswald (display), Roboto (body)
   COLORS: Black, White, Gray; Dramatic Contrast; Accents: #FFD758, #2D364D
   ======================================================================= */

/*========= 1. CSS RESET & BASE ==========*/
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #fff;
  color: #181818;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #2d364d;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD758;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid #eee;
}
th {
  background: #181818;
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  letter-spacing: 1px;
  font-size: 1.05rem;
  font-weight: 500;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

/*========= 2. TYPOGRAPHY ==========*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, sans-serif;
  color: #101010;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
  line-height: 1.18;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 24px;
  color: #181818;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #2d364d;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #222;
}
h4, h5, h6 {
  font-size: 1rem;
  color: #2d364d;
}
p {
  color: #242424;
  font-size: 1rem;
  margin-bottom: 16px;
}
strong, b {
  font-weight: 600;
  color: #181818;
}
.text-section h2, .text-section h3 {
  margin-top: 28px;
}

/*========= 3. LAYOUT STRUCTURE ==========*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 rgba(40,40,40,0.08);
  padding: 32px 28px;
  min-width: 290px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
/* Text with image or two columns */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fafbfc;
  border-radius: 12px;
  box-shadow: 0 1px 10px 0 rgba(20,20,20,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid #ededed;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(20,20,20,0.15);
  transform: translateY(-2px) scale(1.015);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*========= 4. NAVIGATION ==========*/
header {
  background: #fff;
  border-bottom: 1.5px solid #d9d9d9;
  position: sticky;
  top: 0;
  z-index: 1001;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 16px 0;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  list-style: none;
}
header nav ul li a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #181818;
  padding: 7px 12px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}
header nav ul li a:hover,
header nav ul li a:focus {
  background: #2d364d;
  color: #fff;
}
header nav a.cta {
  background: #181818;
  color: #FFD758;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.08rem;
  padding: 10px 23px;
  border-radius: 24px;
  font-weight: 600;
  box-shadow: 0 4px 18px 0 rgba(17,17,17,0.06);
  letter-spacing: 1.1px;
  margin-left: 28px;
  border: none;
  outline: none;
  transition: background 0.15s, color 0.15s, transform 0.14s;
  display: inline-block;
  text-align: center;
}
header nav a.cta:hover,
header nav a.cta:focus {
  background: #FFD758;
  color: #181818;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 30px rgba(40,40,40,0.2);
}

/*========= 5. MOBILE NAVIGATION ==========*/
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #181818;
  padding: 8px 16px;
  cursor: pointer;
  z-index: 1021;
  border-radius: 6px;
  transition: background 0.14s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #f1f1f1;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(21,21,21,0.98);
  z-index: 1020;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.77,0,.18,1);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 40px 32px 24px 32px;
  gap: 36px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #FFD758;
  background: none;
  border: none;
  padding: 7px 9px;
  align-self: flex-end;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #2d364d;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 12px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  padding: 15px 0;
  border-bottom: 1px solid #333;
  transition: color 0.2s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #FFD758;
}

@media (max-width: 1100px) {
  .container {
    max-width: 94vw;
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 900px) {
  header nav ul, header nav a.cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 900px) {
  .content-wrapper {
    gap: 18px;
  }
}

/*========= 6. HERO & CTA SECTIONS ==========*/
.hero {
  background: #101216;
  color: #fff;
  padding-top: 64px;
  padding-bottom: 64px;
  border-bottom: 2px solid #181818;
}
.hero h1 {
  color: #fff;
  font-size: 2.2rem;
}
.hero p {
  color: #F3F6F9;
  font-size: 1.12rem;
  max-width: 550px;
  margin-bottom: 32px;
}
.hero .cta {
  background: #FFD758;
  color: #181818;
  font-size: 1.15rem;
  padding: 12px 32px;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  border-radius: 32px;
  box-shadow: 0 3px 16px 0 rgba(43,38,1,0.18);
  text-shadow: none;
  letter-spacing: 1px;
  margin-top: 14px;
  transition: background 0.15s, color 0.15s, transform 0.13s;
}
.hero .cta:hover,
.hero .cta:focus {
  background: #fff;
  color: #101010;
  transform: translateY(-2px) scale(1.03);
  outline: 2px solid #FFD758;
}

.cta {
  background: #181818;
  color: #FFD758;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  border-radius: 28px;
  padding: 11px 30px;
  line-height: 1.25;
  margin-top: 8px;
  display: inline-block;
  transition: color 0.15s, background 0.16s, transform 0.11s;
  box-shadow: 0 4px 12px 0 rgba(10, 10, 10, 0.05);
  border: none;
  outline: none;
}
.cta:hover, .cta:focus {
  background: #FFD758;
  color: #181818;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 30px rgba(40,40,40,0.13);
}
/* CTA sections */
section.cta {
  background: #F3F6F9;
  border: none;
  margin-bottom: 60px;
  padding: 56px 20px 48px 20px;
  box-shadow: 0 2px 16px 0 rgba(39,39,39,0.05);
  border-radius: 14px;
  text-align: center;
  width: 100%;
}
section.cta h2 {
  margin-bottom: 22px;
}
section.cta .cta {
  margin-top: 4px;
}

/*========= 7. FEATURES, CARDS & SPECIAL LAYOUTS ==========*/
.features {
  background: #fff;
  margin-bottom: 60px;
  padding: 40px 0 36px 0;
}
.features .content-wrapper {
  gap: 24px;
}
.feature-grid,
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin-top: 12px;
  margin-bottom: 0;
}
.feature-grid li, .skills-grid li {
  flex: 1 1 200px;
  min-width: 220px;
  max-width: 310px;
  background: #F3F6F9;
  padding: 32px 20px 26px 20px;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(41, 41, 41, 0.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #ededed;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.feature-grid li:hover, .skills-grid li:hover {
  box-shadow: 0 8px 30px 0 rgba(51,51,51,0.13);
  transform: translateY(-2px) scale(1.04);
}
.feature-grid img {
  height: 38px;
  width: 38px;
  margin-bottom: 5px;
  filter: grayscale(100%);
}

.certification-logos {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-top: 18px;
}
.certification-logos img {
  height: 50px;
  width: auto;
  filter: grayscale(100%); /* stay in monochrome */
  opacity: 0.92;
  transition: filter 0.12s, opacity 0.18s;
}
.certification-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Card highlight for index */
.card {
  border: 1px solid #eaeaea;
  box-shadow: 0 1px 8px rgba(30,30,30,.07);
  background: #fff;
  border-radius: 14px;
  transition: box-shadow 0.17s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(34,34,34,0.15);
  transform: translateY(-2px) scale(1.025);
}

/*========= 8. TESTIMONIALS ==========*/
.testimonials {
  background: #F3F6F9;
  margin-bottom: 60px;
  padding: 48px 0 46px 0;
}
.testimonials .content-wrapper {
  gap: 18px;
}
.testimonial-card {
  color: #181818;
  background: #fff;
  border: 1px solid #eaebee;
  font-size: 1.05rem;
  gap: 20px;
  position: relative;
  padding-left: 24px;
}
.testimonial-card:before {
  content: '\201C';
  color: #FFD758;
  font-size: 2.8rem;
  position: absolute;
  left: 7px; top: 5px;
  opacity: 0.25;
  pointer-events: none;
}
.testimonial-meta {
  color: #717172;
  font-size: 1rem;
  font-style: italic;
  padding-left: 7px;
}

/*========= 9. INFO TEXT & TABLES ==========*/
.text-section {
  margin-bottom: 20px;
}
.reports .text-section ul li span {
  color: #FFD758;
  font-weight: 600;
}
section .text-section ul li:not(:last-child) {
  margin-bottom: 10px;
}
table th, table td {
  border-bottom: 1px solid #ececec;
}
table td {
  color: #222;
  font-size: 1rem;
}
table thead tr {
  background: #101010;
  color: #fff;
}

/*========= 10. SECTION GENERAL SPACING ==========*/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/*========= 11. FOOTER ==========*/
footer {
  background: #101216;
  color: #fff;
  padding: 0;
  border-top: 2px solid #EEE;
  margin-top: 48px;
}
footer .container {
  padding-top: 32px;
  padding-bottom: 28px;
}
footer .content-wrapper {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 44px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
footer nav a {
  color: #FFD758;
  font-size: 1.02rem;
  margin-bottom: 3px;
  letter-spacing: 0.7px;
  transition: color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
}
footer .contact-info p {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 6px;
  opacity: .88;
}
footer .social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}
footer .social-links a img {
  width: 28px;
  height: 28px;
  filter: grayscale(100%) brightness(2);
  opacity: 0.8;
  transition: opacity 0.18s, filter 0.18s;
}
footer .social-links a:hover img {
  filter: grayscale(0%) brightness(1.12);
  opacity: 1;
}

/*========= 12. COOKIE CONSENT BANNER ==========*/
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: #222324;
  color: #fff;
  z-index: 2000;
  width: 100vw;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 22px 20px 18px 20px;
  box-shadow: 0 -2px 20px 0 rgba(0,0,0,0.14);
  font-size: 1rem;
  gap: 30px;
  animation: cookieFadeIn 0.9s;
}
@keyframes cookieFadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-consent p {
  color: #fff;
  margin-bottom: 0;
  margin-right: 16px;
  font-size: 1.01rem;
  flex: 3 1 320px;
}
.cookie-consent .cookie-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-consent button {
  background: #FFD758;
  color: #181818;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 20px;
  border: none;
  box-shadow: 0 1px 6px rgba(20,20,20,0.13);
  font-weight: 600;
  padding: 7px 22px;
  margin: 0 3px 2px 0;
  cursor: pointer;
  letter-spacing: 0.8px;
  transition: background 0.11s, color 0.15s;
}
.cookie-consent button:hover, .cookie-consent button:focus {
  background: #fff;
  color: #2d364d;
}
.cookie-consent .cookie-settings {
  background: #fff;
  color: #262728;
  border: 1px solid #FFD758;
  margin-left: 7px;
}
.cookie-consent .cookie-settings:hover, .cookie-consent .cookie-settings:focus {
  background: #FFD758;
  color: #181818;
}

/* Cookie preferences modal */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 2021;
  left: 0; top: 0; bottom: 0; right: 0;
  background: rgba(32,32,32,0.85);
  justify-content: center;
  align-items: center;
  animation: modalFadeIn 0.32s;
}
.cookie-modal.open {
  display: flex;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #181818;
  border-radius: 18px;
  padding: 38px 28px 30px 28px;
  box-shadow: 0 8px 44px rgba(44,44,44,0.23);
  min-width: 320px;
  max-width: 96vw;
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalSlideUp 0.41s;
}
@keyframes modalSlideUp {
  from { transform: translateY(40px); }
  to { transform: translateY(0); }
}
.cookie-modal-content h2 {
  font-size: 1.18rem;
  margin-bottom: 5px;
}
.cookie-modal-content ul {
  padding-left: 1.3em;
  margin-bottom: 10px;
}
.cookie-modal-content label {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.cookie-modal-content input[type="checkbox"] {
  accent-color: #FFD758;
  width: 18px;
  height: 18px;
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 13px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #2d364d;
  cursor: pointer;
  border-radius: 7px;
  padding: 3px 7px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #f3f3f3;
}
.cookie-modal-content .cookie-category {
  margin-bottom: 9px;
}
.cookie-modal-content .always-on {
  font-weight: 600;
  color: #727272;
  font-size: 0.98rem;
  margin-left: 7px;
}
.cookie-modal-content .modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal-content button {
  font-family: 'Oswald', Arial, sans-serif;
  background: #FFD758;
  color: #181818;
  font-size: 1rem;
  padding: 8px 19px;
  border-radius: 18px;
  border: none;
  font-weight: 600;
  transition: background 0.13s, color 0.15s;
}
.cookie-modal-content button:hover, .cookie-modal-content button:focus {
  background: #2d364d;
  color: #fff;
}

/*========= 13. RESPONSIVE DESIGN ==========*/
@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.33rem;
  }
  .content-wrapper {
    gap: 14px;
  }
  .features .content-wrapper, .testimonials .content-wrapper {
    gap: 13px;
  }
  .feature-grid, .skills-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid li, .skills-grid li {
    max-width: 100%;
    min-width: unset;
  }
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  section {
    padding: 28px 7px;
    margin-bottom: 35px;
  }
  .card {
    padding: 24px 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .certification-logos {
    gap: 20px;
    margin-top: 12px;
  }
  .hero {
    padding: 38px 5px 38px 5px;
    text-align: left;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 10px;
    font-size: 0.96rem;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .mobile-menu {
    padding: 36px 12px 24px 16px;
  }
}
@media (max-width: 450px) {
  .cookie-modal-content {
    min-width: 98vw;
    padding: 18px 5vw 18px 5vw;
  }
  .cookie-consent {
    font-size: 0.92rem;
    padding: 18px 7px 12px 7px;
    gap: 8px;
  }
}

/*========= 14. UTILITIES & MICRO-INTERACTIONS ==========*/
.shadow-md {
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
}
.text-center {
  text-align: center;
}
.rounded {
  border-radius: 14px;
}

/*========= 15. ACCESSIBILITY FOCUS ==========*/
:focus-visible {
  outline: 2px solid #FFD758;
  outline-offset: 2px;
}

/*========= 16. SPECIAL: MAP & CONTACT DETAILS ==========*/
.contact-details, .map-location {
  margin-bottom: 18px;
}
.contact-details p, .map-location p {
  font-size: 1.03rem;
  color: #222;
}

/*========= 17. PRINT OPTIMIZATION ==========*/
@media print {
  header, .mobile-menu, .cookie-consent, .cookie-modal, footer {
    display: none !important;
  }
  html, body, main, section, .container {
    background: #fff !important;
    color: #121212 !important;
    box-shadow: none !important;
  }
}
