
/* QMS.ro — strong visual skin, layout-safe.
   NO width/height/aspect-ratio/object-fit/grid/flex/position changes. */

:root{
  --qms-ink:#111111;
  --qms-ink2:#1f1f1f;
  --qms-muted:#626262;
  --qms-paper:#ffffff;
  --qms-soft:#f7f7f7;
  --qms-line:#e5e5e5;
  --qms-copper:#D96A16;
  --qms-copper-dark:#B95510;
}

/* Global palette */
html,body{
  background:#fff !important;
  color:#111 !important;
  font-family:Inter,"Segoe UI",Arial,sans-serif !important;
}

body, p, li, span, div{
  font-family:Inter,"Segoe UI",Arial,sans-serif;
}

h1,h2,h3,h4,h5,h6{
  color:#111 !important;
  font-family:Inter,"Segoe UI",Arial,sans-serif !important;
  letter-spacing:-.02em;
}

p,.text-muted,.text-secondary,.text-500,.text-600{
  color:#626262 !important;
}

a{
  transition:color .25s ease,background-color .25s ease,border-color .25s ease,box-shadow .25s ease,opacity .25s ease !important;
}
a:hover{color:#D96A16 !important}

/* Kill old navy/blue/gold visual language without touching geometry */
.text-primary,
.text-info,
.text-warning,
.text-success{
  color:#111 !important;
}

.bg-primary,
.bg-info,
.bg-warning,
.bg-success{
  background:#111 !important;
  color:#fff !important;
}

.bg-100,.bg-light{
  background:#f7f7f7 !important;
}

.border-primary,
.border-info,
.border-warning,
.border-success{
  border-color:#e5e5e5 !important;
}

/* Top strips */
.bg-primary.py-3,
.bg-primary.py-2,
.bg-dark.py-3,
.bg-dark.py-2{
  background:#0f0f0f !important;
  color:#d8d8d8 !important;
}

/* Navbar */
.navbar-elixir,
.navbar,
.navbar-light{
  background:rgba(255,255,255,.96) !important;
  border-color:#e5e5e5 !important;
  box-shadow:none !important;
}

.navbar .nav-link,
.navbar-light .navbar-nav .nav-link{
  color:#222 !important;
  font-weight:700 !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active,
.navbar .show > .nav-link{
  color:#D96A16 !important;
}

.dropdown-menu{
  background:#fff !important;
  border-color:#e5e5e5 !important;
  box-shadow:0 10px 30px rgba(0,0,0,.045) !important;
}

.dropdown-item{
  color:#333 !important;
  background:#fff !important;
}
.dropdown-item:hover,.dropdown-item:focus{
  color:#D96A16 !important;
  background:#f7f7f7 !important;
}

/* Buttons */
.btn,.btn-primary,.btn-warning,.btn-dark,.btn-info,.btn-success{
  font-family:Inter,"Segoe UI",Arial,sans-serif !important;
  font-weight:800 !important;
}

.btn-primary,
.btn-warning,
.btn-dark,
.btn-info,
.btn-success{
  background:#111 !important;
  border-color:#111 !important;
  color:#fff !important;
}

.btn-primary:hover,
.btn-warning:hover,
.btn-dark:hover,
.btn-info:hover,
.btn-success:hover{
  background:#D96A16 !important;
  border-color:#D96A16 !important;
  color:#fff !important;
  box-shadow:0 16px 34px rgba(217,106,22,.18) !important;
}

.btn-outline-primary,
.btn-outline-warning,
.btn-outline-info{
  background:#fff !important;
  border-color:#d8d8d8 !important;
  color:#111 !important;
}
.btn-outline-primary:hover,
.btn-outline-warning:hover,
.btn-outline-info:hover{
  background:#fff !important;
  border-color:#D96A16 !important;
  color:#D96A16 !important;
}

/* Cards and boxes */
.card,
.shadow,
.shadow-sm{
  border-color:#e5e5e5 !important;
  box-shadow:0 8px 22px rgba(0,0,0,.025) !important;
}

.card:hover{
  border-color:rgba(217,106,22,.48) !important;
  box-shadow:0 10px 30px rgba(0,0,0,.045) !important;
}

.card-title,
.card h1,.card h2,.card h3,.card h4,.card h5,.card h6{
  color:#111 !important;
}

.card p{color:#626262 !important}

/* Content links */
main a:not(.btn):hover,
article a:not(.btn):hover,
section a:not(.btn):hover{
  color:#D96A16 !important;
}

/* Forms */
.form-control,
.form-select,
input,textarea,select{
  background:#fff !important;
  color:#111 !important;
  border-color:#d8d8d8 !important;
}
.form-control:focus,
.form-select:focus,
input:focus,textarea:focus,select:focus{
  border-color:#D96A16 !important;
  box-shadow:0 0 0 4px rgba(217,106,22,.10) !important;
}

/* Slider/UI accents */
.swiper-button-next,
.swiper-button-prev{
  color:#111 !important;
}
.swiper-button-next:hover,
.swiper-button-prev:hover{
  color:#D96A16 !important;
}
.swiper-pagination-bullet-active{
  background:#D96A16 !important;
}

/* Dark areas */
section.bg-primary,
section.bg-dark,
footer,
.footer{
  background:#0f0f0f !important;
}

section.bg-primary h1,
section.bg-primary h2,
section.bg-primary h3,
section.bg-primary h4,
section.bg-primary h5,
section.bg-primary h6,
section.bg-dark h1,
section.bg-dark h2,
section.bg-dark h3,
section.bg-dark h4,
section.bg-dark h5,
section.bg-dark h6,
footer h1,footer h2,footer h3,footer h4,footer h5,footer h6,
.footer h1,.footer h2,.footer h3,.footer h4,.footer h5,.footer h6{
  color:#fff !important;
}

section.bg-primary p,
section.bg-dark p,
footer p,
.footer p{
  color:#bdbdbd !important;
}

footer a,.footer a{
  color:#bdbdbd !important;
}
footer a:hover,.footer a:hover{
  color:#D96A16 !important;
}

/* Inline legacy color overrides */
[style*="#3D4C6F"],
[style*="#3d4c6f"],
[style*="#2A3855"],
[style*="#2a3855"]{
  color:inherit !important;
}

[style*="background-color:#3D4C6F"],
[style*="background-color: #3D4C6F"],
[style*="background:#3D4C6F"],
[style*="background-color:#2A3855"],
[style*="background-color: #2A3855"],
[style*="background:#2A3855"]{
  background:#111 !important;
}

/* Explicit geometry safety: no image/layout properties here. */
