/* ===========================
   CSS RESET & NORMALIZATION
   =========================== */
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,main,menu,nav,output,ruby,section,summary,time,mark,audio,video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  box-sizing: border-box;
  font-size: 100%;
  font: inherit;
}
html {
  height: 100%;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #191D1B;
  color: #DFE3E6;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style-type: none;
}
a {
  color: #FFB300;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #C38600;
  outline: none;
}
button, .cta-btn {
  font-family: 'Oswald', 'Open Sans', Arial, Helvetica, sans-serif;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.2s cubic-bezier(.4,0,.2,1);
}

/* ===========================
   FONT FACE
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Oswald:wght@500;700&display=swap');

/* ===========================
   COLOR VARIABLES
   =========================== */
:root {
  --primary-dark: #09423C;
  --accent-yellow: #FFB300;
  --light: #FFFFFF;
  --grey-bg: #242726;
  --metal-bg: #282B2B;
  --mid-grey: #313433;
  --card-shadow: 0 4px 18px rgba(0,0,0,0.18);
  --border-metal: #54595D;
  --font-display: 'Oswald', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ===========================
   LAYOUT CONTAINERS & FLEX
   =========================== */
.container {
  max-width: 1168px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media (min-width:900px) {
  .content-wrapper {
    gap: 40px;
  }
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--metal-bg);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--light);
  letter-spacing: 1px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.14;
  margin-bottom: 12px;
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 9px;
  text-transform: uppercase;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, ul, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #DFE3E6;
}
p {
  margin-bottom: 12px;
}
strong { font-weight: 700; }

/* ===========================
   HEADER & NAVBAR
   =========================== */
header {
  width: 100%;
  background: var(--metal-bg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  position: relative;
  z-index: 100;
}
header .container {
  padding: 0 20px;
}
header .content-wrapper {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 22px;
}
.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  font-family: var(--font-display);
  letter-spacing: .2em;
  font-size: 1rem;
  color: #DFE3E6;
  background: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: border 0.2s, color 0.2s;
}
.main-nav a:focus, .main-nav a:hover {
  color: var(--accent-yellow);
  border-bottom: 2px solid var(--accent-yellow);
}
.cta-btn {
  background: var(--accent-yellow);
  color: var(--primary-dark);
  padding: 11px 30px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(255,179,0,0.15);
  text-transform: uppercase;
  letter-spacing: .15em;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border 0.2s, transform .15s;
  margin-left: 12px;
  display: inline-block;
}
.cta-btn:focus, .cta-btn:hover {
  background: var(--primary-dark);
  color: var(--accent-yellow);
  border: 2px solid var(--accent-yellow);
  transform: translateY(-2px) scale(1.04);
}

/* ===========================
   MOBILE NAVIGATION
   =========================== */
.mobile-menu-toggle {
  display: flex;
  position: fixed;
  top: 20px;
  right: 22px;
  z-index: 210;
  width: 48px;
  height: 48px;
  font-size: 2.1rem;
  background: var(--primary-dark);
  color: var(--accent-yellow);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-metal);
  box-shadow: 0 0 8px rgba(0,0,0,.17);
  transition: background 0.18s, color 0.18s, transform 0.2s;
  cursor: pointer;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--accent-yellow);
  color: var(--primary-dark);
  transform: scale(1.05);
}

@media (min-width: 900px) {
  .mobile-menu-toggle {
    display: none !important;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,23,23,.96);
  z-index: 220;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--light);
  font-size: 2.15rem;
  margin-top: 30px;
  margin-right: 30px;
  border-radius: 8px;
  width: 50px;
  height: 50px;
  align-self: flex-end;
  transition: background 0.18s, color 0.18s;
  z-index: 222;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--accent-yellow);
  color: var(--primary-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  margin-top: 46px;
  margin-right: 50px;
}
.mobile-nav a {
  font-size: 1.45rem;
  font-family: var(--font-display);
  color: var(--light);
  text-transform: uppercase;
  padding: 17px 0 6px 0;
  min-width: 180px;
  letter-spacing: .16em;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border 0.2s;
  border-radius: 4px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--accent-yellow);
  border-bottom: 1px solid var(--accent-yellow);
}
@media (min-width: 900px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 899px) {
  .main-nav, header .cta-btn {
    display: none !important;
  }
}
@media (max-width: 899px) {
  header .container, header .content-wrapper {
    min-height: 64px;
    padding-right: 62px;
  }
}

/* ===========================
   HERO SECTION & CARDS
   =========================== */
.hero {
  background: linear-gradient(110deg, #202726 64%, var(--primary-dark) 100%);
  min-height: 58vh;
  display: flex;
  align-items: center;
  padding: 0 0 30px 0;
  margin-bottom: 60px;
  box-shadow: 0 5px 24px rgba(17,20,22,0.25);
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: flex-center;
  height: 100%;
}
.hero .content-wrapper {
  gap: 18px;
  align-items: flex-start;
  padding: 64px 0 12px 0;
}
.hero h1 {
  color: var(--accent-yellow);
  text-shadow: 0 4px 14px rgba(20,18,6,0.18);
}
.hero p {
  color: #E3EAE7;
  font-size: 1.135rem;
}
.hero .cta-btn {
  margin-top: 18px;
}

/* ===========================
   CARD LAYOUTS
   =========================== */
.card-container, .feature-grid, .service-list, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--mid-grey);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  padding: 28px 21px;
  flex: 1 1 300px;
  margin-bottom: 20px;
  position: relative;
  border: 1px solid var(--border-metal);
  transition: box-shadow .2s, transform .2s;
}
.card:focus-within, .card:hover {
  box-shadow: 0 7px 28px 0 rgba(51,51,51,0.21),0 0 0 2px var(--accent-yellow);
  z-index: 3;
  transform: translateY(-3px) scale(1.012);
}
.feature-grid > div, .service-list > div, .faq-list > div {
  background: var(--mid-grey);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  padding: 24px 17px;
  flex: 1 1 263px;
  min-width: 220px;
  margin-bottom: 20px;
  border: 1.5px solid var(--border-metal);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow .2s, border .2s, transform .2s;
}
.feature-grid > div:focus-within, .feature-grid > div:hover,
.service-list > div:hover, .faq-list > div:hover {
  border: 1.5px solid var(--accent-yellow);
  box-shadow: 0 10px 20px 0 rgba(51,51,40,0.25);
  transform: translateY(-4px) scale(1.018);
  z-index: 3;
}
.feature-grid img {
  width: 50px;
  height: 50px;
  filter: grayscale(30%) contrast(1.25);
  margin-bottom: 7px;
}
.service-list .service-price {
  font-family: var(--font-display);
  color: var(--accent-yellow);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 11px;
  margin-top: 7px;
  letter-spacing: .05em;
}
.text-section {
  background: none;
  padding: 0;
  margin-bottom: 32px;
  border-radius: 0;
  box-shadow: none;
}
.text-section ul {
  margin-left: 18px;
  list-style-type: disc;
  margin-bottom: 16px;
}
.text-section li {
  color: #E3EAE7;
  margin-bottom: 7px;
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials, .testimonial-card {
  width: 100%;
}
.testimonial-card {
  background: #F9F9F8;
  color: #171818; /* Always dark on light for accessibility */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  border-radius: 15px;
  box-shadow: 0 3px 18px 0 rgba(24,23,18,0.15);
  margin-bottom: 20px;
  border: 1.3px solid #DDDCD7;
  min-width: 220px;
  flex: 1 1 320px;
  max-width: 580px;
  transition: box-shadow .16s, border .16s;
}
.testimonial-card:focus-within, .testimonial-card:hover {
  border: 1.3px solid var(--accent-yellow);
  box-shadow: 0 8px 18px 0 rgba(20,19,20,0.23);
  z-index: 5;
}
.testimonial-card p {
  color: #161712;
  font-size: 1rem;
  font-family: var(--font-body);
  margin-bottom: 6px;
}
.testimonial-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.07rem;
  color: var(--primary-dark);
  margin-bottom: 2px;
}
.testimonial-rating {
  color: #FFB300;
  font-size: 1rem;
  letter-spacing: .16em;
}

/* ===========================
   CTA SECTIONS
   =========================== */
.cta {
  background: linear-gradient(99deg, var(--primary-dark) 83%, #202726 100%);
  border-radius: 19px;
  box-shadow: 0 4px 22px rgba(11,11,8,0.32);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.cta h2 {
  color: var(--accent-yellow);
  margin-bottom: 14px;
}
.cta p {
  color: #E7EBDD;
  font-size: 1.1rem;
  margin-bottom: 27px;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background: #171B1B;
  color: #E6E2DA;
  width: 100%;
  padding: 0 0 18px 0;
}
footer .content-wrapper {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 35px;
  border-top: 1.5px solid #262C29;
  padding-top: 24px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  color: var(--accent-yellow);
  font-size: .97rem;
  font-family: var(--font-display);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #A7A4A3;
  font-size: .95rem;
}
footer img {
  width: 56px;
  height: 56px;
}

/* ===========================
   SECTION, CARD, CONTENT GRID SPACING (MANDATORY)
   =========================== */
.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;
}

/* ===========================
   RESPONSIVE DESIGN (mobile-first)
   =========================== */
@media (max-width: 1050px) {
  .container {
    max-width: 960px;
    padding: 0 13px;
  }
  .feature-grid > div, .service-list > div {
    min-width: 180px;
  }
}
@media (max-width: 899px) {
  .content-wrapper, .footer .content-wrapper {
    flex-direction: column !important;
    gap: 26px !important;
    align-items: flex-start !important;
  }
  .footer-nav {
    flex-direction: row;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 15px;
  }
  .footer-contact {
    font-size: 1rem;
  }
  footer img {
    margin-bottom: 22px;
  }
  .hero {
    min-height: unset;
    padding-bottom: 16px;
  }
}
@media (max-width: 768px) {
  .feature-grid, .service-list, .faq-list, .card-container, .content-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .footer .content-wrapper {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 22px !important;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .cta, .section {
    padding: 28px 6px;
    margin-bottom: 38px;
  }
  .main-nav, header .cta-btn {
    display: none !important;
  }
}
@media (max-width: 400px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.05rem; }
  .mobile-nav a { font-size: 1.08rem !important; }
  .testimonial-card { padding: 14px 7px; }
}

/* ===========================
   BUTTONS & INTERACTIVE
   =========================== */
button, .cta-btn {
  cursor: pointer;
  outline: none;
}
button:active, .cta-btn:active {
  filter: brightness(0.93);
}
button:focus, .cta-btn:focus {
  outline: 2px solid var(--accent-yellow);
  outline-offset: 2px;
}

/* ===========================
   FAQ Accordions & Lists
   =========================== */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.faq-list > div {
  background: var(--mid-grey);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  border: 1.1px solid var(--border-metal);
  padding: 20px 17px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  transition: box-shadow .2s, border .2s, transform .2s;
}
.faq-list > div:hover {
  border: 1.1px solid var(--accent-yellow);
  box-shadow: 0 7px 18px 0 rgba(36,39,36,0.20);
  transform: translateY(-3px);
}
.faq-list h2, .faq-list h3 {
  font-size: 1.08rem;
  font-family: var(--font-display);
  margin-bottom: 8px;
  color: var(--accent-yellow);
  letter-spacing: .08em;
}
.faq-list p {
  color: #E3EAE7;
}

/* ===========================
   MISC CLASSES & UTILITY
   =========================== */
::-webkit-scrollbar {
  width: 9px;
  background: #24292B;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: #2F3432;
  border-radius: 4px;
}

/* ===========================
   COOKIE CONSENT BANNER & MODAL
   =========================== */
#cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #232C28;
  color: #FFF;
  border-radius: 13px;
  box-shadow: 0 6px 32px rgba(20,24,22,0.23);
  z-index: 9999;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px) scale(.98);
  transition: opacity 0.24s, transform 0.24s;
}
#cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.cookie-banner-actions {
  display: flex;
  gap: 15px;
  margin-top: 8px;
}
.cookie-btn {
  border-radius: 6px;
  padding: 8px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  border: 1.5px solid var(--border-metal);
  background: var(--grey-bg);
  color: var(--accent-yellow);
  font-size: 1rem;
  letter-spacing: .05em;
  transition: background 0.14s, color .18s, border .13s, transform .1s;
}
.cookie-btn.accept {
  background: var(--accent-yellow);
  color: var(--primary-dark);
  border: 1.5px solid #EEBC1D;
}
.cookie-btn.accept:focus, .cookie-btn.accept:hover {
  background: var(--primary-dark);
  color: var(--accent-yellow);
}
.cookie-btn.reject {
  background: transparent;
  color: #F87171;
  border: 1.5px solid #E66C6C;
}
.cookie-btn.reject:focus, .cookie-btn.reject:hover {
  background: #E66C6C;
  color: #fff;
}
.cookie-btn.settings {
  background: var(--grey-bg);
  color: #DFE3E6;
  border: 1.5px solid var(--border-metal);
}
.cookie-btn.settings:focus, .cookie-btn.settings:hover {
  background: #32382A;
  color: var(--accent-yellow);
}

#cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.93);
  background: #222C2A;
  color: #fff;
  padding: 32px 32px 26px 32px;
  border-radius: 18px;
  box-shadow: 0 22px 54px 0 rgba(35,36,24,0.25);
  z-index: 99999;
  min-width: 270px;
  min-height: 200px;
  transition: opacity 0.17s, transform 0.25s;
  opacity: 0;
  pointer-events: none;
}
#cookie-modal.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal-close {
  background: none;
  color: var(--accent-yellow);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  position: absolute;
  top: 13px;
  right: 15px;
  font-size: 1.45rem;
  border: none;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  background: var(--accent-yellow);
  color: var(--primary-dark);
}
.cookie-categories {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.06rem;
}
.cookie-category.essential label { color: #bdeafe; }
.cookie-category input[type='checkbox'] {
  accent-color: var(--accent-yellow);
  transform: scale(1.15);
}
.cookie-category .toggle {
  width: 38px;
  height: 20px;
  border-radius: 17px;
  background: #2f3640;
  position: relative;
  margin-right: 9px;
  transition: background 0.14s;
  border: 1.1px solid #353940;
  display: inline-block;
}
.cookie-category input[type='checkbox']:checked + .toggle {
  background: var(--accent-yellow);
}
.cookie-category .toggle:before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.15s;
  box-shadow: 0 1px 5px rgba(16,16,21,0.13);
}
.cookie-category input[type='checkbox']:checked + .toggle:before {
  left: 20px;
}
@media(max-width:500px){
  #cookie-banner, #cookie-modal { padding: 16px 8px; min-width: 0; }
  #cookie-modal { width: 98vw; }
}

/* ===========================
   INDUSTRIAL MODERN EFFECTS
   =========================== */
.card, .feature-grid > div, .service-list > div, .faq-list > div {
  border: 1.5px solid var(--border-metal);
  background: linear-gradient(101deg, #292C2B 85%, #373B37 100%);
}
.card:before, .feature-grid > div:before, .service-list > div:before, .faq-list > div:before {
  content: '';
  display: block;
  position: absolute;
  left: 0; right: 0; top: 0; height: 8px;
  background: linear-gradient(90deg, #BCC2B9AA 32%, transparent 100%);
  border-radius: 16px 16px 0 0;
  pointer-events: none;
  opacity: 0.18;
  z-index: 0;
}

/* ===========================
   MICRO-ANIMATIONS
   =========================== */
.cta-btn, .cookie-btn {
  will-change: transform, box-shadow, background, color;
}
.card, .feature-grid > div, .service-list > div, .faq-list > div, .testimonial-card {
  transition: box-shadow 0.2s, border 0.2s, transform .14s;
}
.card:hover, .feature-grid > div:hover, .service-list > div:hover, .faq-list > div:hover {
  box-shadow: 0 7px 21px 0 rgba(80,80,80,0.19);
  transform: translateY(-6px) scale(1.02);
}

/* ===========================
   ACCESSIBILITY HIGHLIGHTS
   =========================== */
:focus {
  outline: 2px solid var(--accent-yellow);
  outline-offset: 2px;
}

/* Hide elements visually only (useful for aria-live etc) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}