/* RESET & BASE =============================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #232a31;
  color: #e3e6e8;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #F9C846;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff;
}
ul, ol {
  list-style: none;
}
button, input[type="button"], input[type="submit"] {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}
input, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* TYPOGRAPHY =============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.subheadline {
  font-size: 1.2rem;
  color: #e3e6e8;
  font-weight: 400;
  margin-bottom: 24px;
  line-height: 1.5;
}

strong {
  color: #F9C846;
  font-weight: 700;
}

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

/* SECTION SPACING =============================== */
section,
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 900px) {
  section,
  .section {
    margin-bottom: 40px;
    padding: 32px 10px;
  }
}
@media (max-width: 600px) {
  section,
  .section {
    margin-bottom: 28px;
    padding: 28px 5px;
  }
}

/* HEADER & NAVIGATION =============================== */
header {
  background: #232a31;
  border-bottom: 2px solid #313a43;
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  justify-content: flex-start;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #F9C846;
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:not(:first-child)::after {
  content: '';
  display: block;
  margin-top: 6px;
  height: 2px;
  width: 0;
  background: #F9C846;
  transition: width 0.2s;
}
.main-nav a:not(:first-child):hover::after,
.main-nav a:not(:first-child):focus::after {
  width: 100%;
}
.main-nav img {
  height: 38px;
  margin-right: 18px;
  transition: opacity 0.2s;
}

/* MOBILE NAVIGATION =============================== */
.mobile-menu-toggle {
  display: none;
  background: #283C4C;
  color: #F9C846;
  border: none;
  font-size: 2rem;
  border-radius: 6px;
  width: 46px;
  height: 46px;
  margin: 8px 16px 8px auto;
  z-index: 120;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F9C846;
  color: #283C4C;
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 18px;
    right: 14px;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #232a31;
  padding: 0 0 80px 0;
  transform: translateX(-100%);
  z-index: 200;
  transition: transform 0.35s cubic-bezier(.77,0,.175,1);
  box-shadow: 8px 0 20px 0 rgba(30,34,38,0.14);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #1d2327;
  color: #F9C846;
  font-size: 2.3rem;
  align-self: flex-end;
  margin: 22px 18px 12px 0;
  border-radius: 6px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F9C846;
  color: #232a31;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin: 20px 0 0 28px;
}
.mobile-nav a {
  color: #F9C846;
  background: transparent;
  border-radius: 7px;
  font-size: 1.2rem;
  padding: 12px 24px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F9C846;
  color: #232a31;
}

/* HERO PANEL =============================== */
.hero {
  background: #232a31 url('../assets/hero-industrial-bg.jpg') center/cover no-repeat;
  min-height: 350px;
  display: flex;
  align-items: center;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 3px 24px 0 rgba(32,36,46,0.24);
  margin-bottom: 60px;
}
.hero .container {
  padding-top: 34px;
  padding-bottom: 34px;
}
.hero h1 {
  color: #F9C846;
  font-size: 2.3rem;
  text-shadow: 1px 2px 4px #1a1c1f;
}
.hero .subheadline {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 26px;
}
@media (max-width: 700px) {
  .hero h1 {
    font-size: 1.7rem;
  }
}

/* BUTTONS =============================== */
.btn-primary,
.cta.btn-primary {
  background: #F9C846;
  color: #283C4C;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  border-radius: 8px;
  letter-spacing: 0.05em;
  padding: 13px 38px;
  font-size: 1.18rem;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(255,202,60,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
  margin-top: 12px;
  margin-bottom: 12px;
  text-transform: uppercase;
  display: inline-block;
}
.btn-primary:hover,
.btn-primary:focus,
.cta.btn-primary:hover,
.cta.btn-primary:focus {
  background: #fff2 bf;
  color: #232a31;
  box-shadow: 0 4px 24px 0 rgba(255,202,60,0.22);
}
.cta {
  color: #F9C846;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 26px;
  background: transparent;
  border: 2px solid #F9C846;
  font-size: 1rem;
  display: inline-block;
  margin-top: 12px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px 0 rgba(41,51,62,0.09);
  transition: background 0.19s, color 0.16s;
}
.cta:hover,
.cta:focus {
  background: #F9C846;
  color: #232a31;
}

/* FLEXBOX: LAYOUT PATTERNS =============================== */
.card-container,
.feature-grid,
.review-grid,
.service-grid,
.ranking-list,
.interview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card,
.feature-grid > li,
.review-grid > li,
.service-grid > li,
.ranking-list > li,
.interview-list > li {
  margin-bottom: 20px;
  background: #232a31;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(40,44,54,.18);
  border: 1.5px solid #363e43;
  padding: 24px 22px;
  position: relative;
  flex: 1 1 280px;
  min-width: 250px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover,
.feature-grid > li:hover,
.review-grid > li:hover,
.service-grid > li:hover,
.ranking-list > li:hover,
.interview-list > li:hover {
  box-shadow: 0 5px 32px 0 rgba(40,60,76,0.25);
  border-color: #F9C846;
  z-index: 2;
}

.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;
  background: #fff;
  color: #232a31;
  border-radius: 13px;
  box-shadow: 0 3px 19px 0 rgba(41,51,62,0.13);
  margin-bottom: 20px;
  border: 2px solid #eee;
  flex: 1 1 310px;
  max-width: 600px;
  min-width: 260px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(41,51,62,0.22);
  border-color: #F9C846;
}
.testimonial-card .testimonial-author {
  margin-left: 18px;
  font-size: 0.98rem;
  color: #283C4C;
  opacity: 0.92;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* PAGINATION =============================== */
.pagination {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin: 36px 0 0 0;
}
.pagination button {
  background: #232a31;
  color: #F9C846;
  border: 1.5px solid #F9C846;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.18s, color 0.18s;
}
.pagination button:hover,
.pagination button:focus {
  background: #F9C846;
  color: #232a31;
}
.pagination span {
  color: #F9C846;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}

.filter-options, .ranking-filters, .filter-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.filter-options button,
.ranking-filters button,
.filter-categories button {
  background: #232a31;
  border: 1.5px solid #F9C846;
  border-radius: 8px;
  color: #F9C846;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 9px 17px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background 0.16s, color 0.13s;
}
.filter-options button:hover,
.ranking-filters button:hover,
.filter-categories button:hover {
  background: #F9C846;
  color: #232a31;
}

/* CARD / LIST UTILS ==================== */
.price {
  display: block;
  color: #F9C846;
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 18px;
}

/* LEGAL AND TEXT BLOCKS ==================== */
.legal .text-section {
  background: #232a31;
  border-radius: 10px;
  padding: 30px 18px;
  color: #e3e6e8;
  border: 2px solid #363e43;
  box-shadow: 0 2px 8px 0 rgba(40,44,54,.07);
}
.legal .text-section ul,
.legal .text-section ol {
  color: #F9C846;
  padding-left: 22px;
  margin-top: 14px;
}
.legal .text-section li {
  margin-bottom: 10px;
  color: #e3e6e8;
}
.legal .text-section p {
  margin-bottom: 8px;
}

/* FOOTER =============================== */
footer {
  background: #181e22;
  border-top: 2px solid #313a43;
  padding: 34px 0 20px 0;
  color: #e3e6e8;
}
footer .container {
  padding-top: 0;
  padding-bottom: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 0;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #F9C846;
  font-size: 1rem;
  padding: 3px 0;
  transition: color 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #fff;
}
.footer-contact,
.footer-social,
.newsletter-signup {
  margin-bottom: 14px;
}
.footer-contact div {
  font-size: 0.97rem;
  margin-bottom: 7px;
}
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #232a31;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  border: 1px solid #363e43;
  transition: background 0.18s, border 0.15s;
}
.footer-social a:hover,
.footer-social a:focus {
  background: #F9C846;
  border: 1px solid #F9C846;
}
.footer-social img {
  height: 22px;
  width: 22px;
}
.newsletter-signup {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.newsletter-signup label {
  color: #F9C846;
  font-size: 0.97rem;
  margin-bottom: 1px;
}
.newsletter-signup input[type="email"] {
  background: #232a31;
  color: #F9C846;
  border: 1.5px solid #F9C846;
  padding: 8px 14px;
  border-radius: 7px;
  margin-bottom: 5px;
  font-size: 1rem;
  outline: none;
  transition: border 0.17s;
}
.newsletter-signup input[type="email"]:focus {
  border: 1.8px solid #faf1ce;
}
.newsletter-signup button {
  background: #F9C846;
  color: #232a31;
  border: none;
  border-radius: 7px;
  padding: 9px 23px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.19s, color 0.13s;
}
.newsletter-signup button:hover,
.newsletter-signup button:focus {
  background: #fff2bf;
  color: #232a31;
}

/* CONTACT =============================== */
.contact-details, .office-hours {
  margin-bottom: 30px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.office-hours {
  font-weight: 700;
  color: #F9C846;
}
.map-embed {
  border-radius: 8px;
  border: 2px solid #363e43;
  margin-bottom: 16px;
  background: #232a31;
  color: #e3e6e8;
}
.info {
  font-size: 1.03rem;
  color: #b0b6bc;
}

/* THANK YOU =============================== */
.thank-you {
  text-align: center;
  background: #232a31 url('../assets/hero-industrial-bg.jpg') center/cover no-repeat;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(32,36,46,0.13);
  padding-bottom: 50px;
}
.thank-you .cta {
  margin-top: 20px;
}

/* RESPONSIVE FLEX & TEXT-IMAGE =============== */
@media (max-width: 990px) {
  .card-container,
  .feature-grid,
  .review-grid,
  .service-grid,
  .ranking-list,
  .interview-list {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .content-grid,
  .features,
  .footer .content-wrapper,
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer .content-wrapper {
    gap: 30px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
    flex: 1 1 100%;
  }
}

/* MOBILE LAYOUT IMPROVEMENTS =================== */
@media (max-width: 500px) {
  h1 {
    font-size: 1.3rem;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 1.02rem;
    margin-bottom: 10px;
  }
  h3 {
    font-size: 1rem;
    margin-bottom: 7px;
  }
  .hero, .thank-you {
    min-height: 210px;
    padding: 14px 0 20px 0;
    border-radius: 0 0 12px 12px;
  }
}

/* ANIMATIONS & MICRO-INTERACTIONS =============================== */
.card, .feature-grid > li, .review-grid > li, .service-grid > li, .testimonial-card {
  transition: box-shadow 0.22s, border-color 0.21s, transform 0.18s;
}
.card:hover, .feature-grid > li:hover, .review-grid > li:hover, .service-grid > li:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.012);
}
input:focus, textarea:focus {
  outline: 2px solid #F9C846;
  background: #181e22;
  color: #F9C846;
}

/* COOKIE CONSENT BANNER & MODAL =============================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #283C4C;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 12px;
  z-index: 1300;
  box-shadow: 0 -2px 32px 0 rgba(40,44,54,0.38);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  transition: transform 0.28s;
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  padding: 9px 20px;
  background: #F9C846;
  color: #283C4C;
  border-radius: 7px;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  margin: 0 1px;
  transition: background 0.16s, color 0.15s;
}
.cookie-banner button.cookie-settings {
  background: transparent;
  color: #F9C846;
  border: 1.3px solid #F9C846;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #fff2bf;
}
.cookie-banner button.cookie-settings:hover,
.cookie-banner button.cookie-settings:focus {
  background: #F9C846;
  color: #232a31;
  border-color: #F9C846;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-actions {
    gap: 11px;
  }
}

/* COOKIE MODAL DIALOG ============================== */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(40,44,54,0.80);
  z-index: 1400;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.28s, visibility 0.28s;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal-content {
  background: #232a31;
  color: #e3e6e8;
  border-radius: 17px;
  box-shadow: 0 4px 42px 0 rgba(40,60,76,0.41);
  min-width: 320px;
  max-width: 94vw;
  padding: 35px 22px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-header {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cookie-modal-header h3 {
  font-size: 1.32rem;
  color: #F9C846;
}
.cookie-modal-close {
  background: #1d2327;
  color: #F9C846;
  border-radius: 6px;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  margin-left: 10px;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #F9C846;
  color: #232a31;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-category label {
  color: #e3e6e8;
  cursor: pointer;
}
.cookie-category input[type='checkbox'] {
  appearance: none;
  background: #232a31;
  width: 22px;
  height: 22px;
  border: 2px solid #F9C846;
  border-radius: 3px;
  display: inline-block;
  position: relative;
  margin-right: 8px;
  transition: background 0.18s, border 0.17s;
}
.cookie-category input[type='checkbox']:checked {
  background: #F9C846;
  border: 2px solid #F9C846;
}
.cookie-category input[type='checkbox']:checked::after {
  content: '\2713';
  position: absolute;
  left: 4px;
  top: 0px;
  color: #232a31;
  font-weight: bold;
  font-size: 1rem;
}
.cookie-category.essential label {
  font-style: italic;
  color: #F9C846;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 14px;
}
.cookie-modal-actions button {
  background: #F9C846;
  color: #232a31;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  padding: 9px 20px;
}
.cookie-modal-actions button.cancel {
  background: transparent;
  color: #F9C846;
  border: 1.3px solid #F9C846;
}
.cookie-modal-actions button.cancel:hover,
.cookie-modal-actions button.cancel:focus {
  background: #F9C846;
  color: #232a31;
}

@media (max-width: 500px) {
  .cookie-modal-content {
    padding: 23px 9px 16px 9px;
    min-width: 90vw;
  }
}

/* SCROLLBAR: INDUSTRIAL TOUCH ==================== */
::-webkit-scrollbar {
  width: 12px;
  background: #232a31;
}
::-webkit-scrollbar-thumb {
  background: #313a43;
  border-radius: 7px;
  border: 2.5px solid #232a31;
  box-shadow: 0 2px 10px #0004;
}

/* INDUSTRIAL METALLIC ACCENTS ==================== */
.card, .feature-grid > li, .review-grid > li, .service-grid > li {
  border-left: 4px solid #F9C846;
}
.ranking-list > li, .interview-list > li {
  border-right: 4px solid #F9C846;
}

/* Urban font accent on headline */
h1, .hero h1, .thank-you h1 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =================== END =================== */