/* QMS Consulting — Premium Corporate UI
   Complete stylesheet
   New standard-page image logic:
   - No dark overlay over standard images
   - No text over image
   - Standard image appears inside the same container width as page text
   - 1400x900 images remain fully visible
   - Images stay color, not grayscale
*/

:root{
  --ink:#111111;
  --ink-2:#1f1f1f;
  --muted:#626262;
  --muted-2:#8a8a8a;

  --brand:#111111;
  --brand-dark:#000000;
  --brand-2:#222222;
  --accent:#D96A16;
  --accent-dark:#B95510;

  --dark:#0f0f0f;
  --dark-soft:#181818;

  --paper:#ffffff;
  --soft:#f7f7f7;
  --soft-2:#eeeeee;

  --line:#e5e5e5;
  --line-dark:#d6d6d6;

  --shadow:0 10px 30px rgba(0,0,0,.045);
  --shadow-lg:0 24px 70px rgba(0,0,0,.12);

  --radius:16px;
  --container:min(1180px,calc(100% - 56px));
}

/* RESET */

*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  font-size:16px;
  color:var(--ink);
  background:var(--paper);
  line-height:1.65;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}

a{
  color:inherit;
  text-decoration:none;
  transition:color .25s ease;
}

img{
  max-width:100%;
  height:auto;
  display:block;
  filter:none !important;
  -webkit-filter:none !important;
  -webkit-user-drag:none;
  user-drag:none;
  -webkit-touch-callout:none;
}

.container{
  width:var(--container);
  margin-inline:auto;
}

/* TOPBAR */

.topbar{
  background:#0f0f0f;
  color:#d8d8d8;
  font-size:12.5px;
  letter-spacing:.01em;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.topbar-inner{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:8px 0;
}

/* NAVBAR */

.navbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:blur(16px);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line);
}

.nav-inner{
  height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.logo{
  min-width:168px;
  display:flex;
  flex-direction:column;
  line-height:1;
  color:var(--ink);
  font-weight:900;
  letter-spacing:-.035em;
}

.logo span{
  font-size:25px;
}

.logo small{
  margin-top:5px;
  font-size:10.5px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--muted);
}

.logo img{
  height:50px;
  width:auto;
}

.menu{
  display:flex;
  align-items:center;
  gap:24px;
  margin:0;
  padding:0;
  font-size:13.5px;
  font-weight:750;
  letter-spacing:.005em;
}

.menu>li{
  list-style:none;
  position:relative;
}

.menu a{
  display:block;
  padding:27px 0;
  color:#222;
  transition:color .2s ease,opacity .2s ease;
}

.menu a:hover{
  color:var(--accent);
  opacity:1;
}

.dropdown{
  position:absolute;
  top:100%;
  left:-18px;
  width:310px;
  display:none;
  background:#fff;
  border:1px solid var(--line);
  border-radius:0 0 16px 16px;
  box-shadow:var(--shadow);
  padding:6px 0;
}

.dropdown p{
  margin:0;
}

.dropdown a{
  padding:7px 18px;
  font-size:14px;
  font-weight:650;
  color:#333;
}

.dropdown a:hover{
  background:#f7f7f7;
  color:var(--accent);
  opacity:1;
}

.menu li:hover .dropdown{
  display:block;
}

.hamb{
  display:none;
  background:transparent;
  border:0;
  font-size:29px;
  cursor:pointer;
  color:var(--ink);
}

/* BUTTONS */

.nav-cta,
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid #111;
  border-radius:999px;
  background:#111;
  color:#fff;
  padding:12px 22px;
  font-size:13.5px;
  font-weight:850;
  letter-spacing:.01em;
  box-shadow:0 14px 30px rgba(0,0,0,.10);
  transition:transform .22s ease,box-shadow .22s ease,background .22s ease,border-color .22s ease;
}

.nav-cta:hover,
.btn:hover{
  transform:translateY(-2px);
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
  box-shadow:0 20px 44px rgba(217,106,22,.22);
}

.btn.secondary{
  background:#fff;
  color:#111;
  border:1px solid #d8d8d8;
  box-shadow:none;
}

.btn.secondary:hover{
  background:#fff;
  color:var(--accent);
  border-color:var(--accent);
  box-shadow:0 12px 26px rgba(217,106,22,.10);
}

/* HOMEPAGE HERO */

.hero{
  position:relative;
  overflow:hidden;
  min-height:calc(100vh - 110px);
  display:flex;
  align-items:center;
  background:#fff;
  color:var(--ink);
}

.hero::before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(
    90deg,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,.98) 36%,
    rgba(255,255,255,.88) 56%,
    rgba(255,255,255,.42) 76%,
    rgba(255,255,255,0) 100%
  );
}

.hero-media{
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  inset:0;
  z-index:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  background:#fff;
}

.hero-media img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center right;
  opacity:1;
  background:#fff;
}

.hero-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:44px;
  align-items:center;
  padding:92px 0;
}

.kicker,
.eyebrow{
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:10.5px;
  font-weight:900;
}

.kicker{
  color:#555;
  opacity:1;
  margin-bottom:16px;
}

.eyebrow{
  color:#555;
}

.hero h1{
  font-size:36px;
  line-height:1.05;
  font-weight:680;
  letter-spacing:-.045em;
  max-width:760px;
  margin:0 0 24px;
  color:#111;
}

.hero p{
  max-width:680px;
  margin:0 0 30px;
  font-size:16.5px;
  line-height:1.72;
  color:#555;
}

.hero-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.hero-actions .btn{
  min-width:150px;
}

/* STANDARD / PAGE BANNER
   Use this instead of old .page-hero for standard pages.

   Recommended HTML:
   <section class="page-banner">
     <div class="container">
       <img src="assets/img/iso-9001.webp" alt="">
     </div>
   </section>

   Then below it:
   <section class="section page-intro">
     <div class="container">
       <span class="breadcrumb">Standarde ISO</span>
       <h1>...</h1>
       <p class="lead">...</p>
     </div>
   </section>
*/

.page-banner{
  padding:42px 0 0;
  background:#fff;
}

.page-banner .container{
  width:var(--container);
}

.page-banner img{
  width:100%;
  height:auto;
  aspect-ratio:14 / 9;
  object-fit:contain !important;
  object-position:center !important;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:0 20px 60px rgba(0,0,0,.075);
}

/* OLD PAGE HERO NEUTRALIZED
   Keeps compatibility if HTML still uses .page-hero.
   It now behaves like a clean image banner with no overlay and no text on top.
*/

.page-hero{
  background:#fff;
  color:#111;
  min-height:0;
  padding:42px 0 0;
  display:block;
  overflow:visible;
}

.page-hero::before{
  display:none;
}

.page-hero-media{
  position:relative;
  top:auto;
  right:auto;
  bottom:auto;
  left:auto;
  inset:auto;
  z-index:0;
  width:var(--container);
  margin-inline:auto;
  background:#fff;
}

.page-hero-media img{
  width:100%;
  height:auto;
  aspect-ratio:14 / 9;
  object-fit:contain !important;
  object-position:center !important;
  opacity:1;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:0 20px 60px rgba(0,0,0,.075);
}

.page-hero-content{
  position:relative;
  z-index:2;
  width:var(--container);
  margin:34px auto 0;
  padding:0;
}

.page-hero h1{
  font-size:36px;
  line-height:1.08;
  font-weight:680;
  letter-spacing:-.04em;
  max-width:860px;
  margin:0 0 16px;
  color:#111;
}

.page-hero p{
  max-width:100%;
  margin:0;
  font-size:16.5px;
  color:#555;
}

.breadcrumb{
  display:block;
  margin-bottom:12px;
  font-size:12.5px;
  font-weight:850;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#555;
}

/* TYPOGRAPHY */

h1,
h2,
h3,
h4{
  color:inherit;
}

h2{
  font-size:26px;
  line-height:1.12;
  font-weight:680;
  letter-spacing:-.035em;
  margin:10px 0 16px;
}

h3{
  font-size:18px;
  line-height:1.35;
  font-weight:720;
  letter-spacing:-.015em;
}

h4{
  font-size:15px;
  line-height:1.4;
  font-weight:750;
}

.lead{
    color:var(--muted);
    font-size:16.5px;
    line-height:1.75;
}

.container > .lead{
    max-width:100%;
}

/* SECTIONS */

.section{
  padding:76px 0;
}

.page-intro{
  padding-top:46px;
}

.section.soft{
  background:linear-gradient(180deg,#f7f7f7,#fff);
}

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:52px;
  align-items:center;
}

.content p{
  color:var(--muted);
}

.content h2{
  margin-top:0;
}

/* IMAGE CARDS */

.image-card{
  width:100%;
  aspect-ratio:14 / 9;
  min-height:0;
  overflow:hidden;
  border-radius:20px;
  background:#fff;
  box-shadow:var(--shadow);
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
}

.image-card img{
  width:100%;
  height:100%;
  min-height:0;
  object-fit:contain !important;
  object-position:center !important;
  background:#fff;
}

/* LISTS */

.list-check{
  padding:0;
  margin:20px 0 0;
  list-style:none;
}

.list-check li{
  position:relative;
  padding:10px 0 10px 30px;
  border-bottom:1px solid var(--line);
  color:#555;
}

.list-check li::before{
  content:"";
  position:absolute;
  left:2px;
  top:18px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#111;
  transition:background .25s ease;
}

.list-check li:hover::before{
  background:var(--accent);
}

/* CARDS */

.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin-top:34px;
}

.service-card,
.industry-card{
  min-height:100%;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:0 8px 22px rgba(0,0,0,.025);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}

.service-card:hover,
.industry-card:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow);
  border-color:rgba(217,106,22,.48);
}

.card-image,
.industry-image{
  width:100%;
  aspect-ratio:14 / 9;
  height:auto;
  overflow:hidden;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
}

.card-image img,
.industry-image img{
  width:100%;
  height:100%;
  object-fit:contain !important;
  object-position:center !important;
  background:#fff;
  transition:transform .5s ease;
}

.service-card:hover .card-image img,
.industry-card:hover .industry-image img{
  transform:scale(1.025);
}

.card-content,
.industry-content{
  padding:22px;
}

.card-tag{
  display:inline-flex;
  margin-bottom:10px;
  padding:5px 10px;
  border-radius:999px;
  background:#f1f1f1;
  color:#333;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.1em;
}

.service-card h3,
.industry-card h3{
  margin:0 0 10px;
  font-size:19px;
  line-height:1.32;
  font-weight:720;
}

.service-card p,
.industry-card p{
  margin:0 0 15px;
  color:var(--muted);
  font-size:14.5px;
}

.card-link,
.industry-link{
  color:#111;
  font-size:14.5px;
  font-weight:850;
}

.card-link:hover,
.industry-link:hover{
  color:var(--accent);
  opacity:1;
}

/* IMAGE BAND
   Clean banner version:
   - Full-width banner image
   - No overlay / gradient
   - No dark card
   - Text remains over banner
   - Text block has only a fine black border
*/

.image-band{
  position:relative;
  overflow:hidden;
  min-height:520px;
  display:flex;
  align-items:center;
  background:#fff;
  color:#111;
}

.image-band::before{
  display:none;
  content:none;
}

.band-media{
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  inset:0;
  z-index:0;
  background:#fff;
}

.band-media::before,
.band-media::after{
  display:none;
  content:none;
}

.band-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  opacity:1;
  filter:none;
  -webkit-filter:none;
  background:#fff;
}

.image-band .container{
  position:relative;
  z-index:2;
}

.band-panel{
  max-width:760px;
  padding:34px;
  background:transparent;
  border:1px solid #111;
  border-radius:0;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  color:#111;
}

.band-panel .kicker{
  color:#111;
}

.band-panel h2{
  color:#111;
  margin-bottom:16px;
}

.band-panel p{
  color:#222;
}

.band-panel .btn{
  margin-top:12px;
}

/* INDUSTRIES */

.industry-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px;
  margin-top:32px;
}

.industry-grid span,
.industry-grid a{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:13px 15px;
  color:#333;
  font-size:14px;
  font-weight:800;
  box-shadow:0 8px 20px rgba(0,0,0,.025);
  transition:.25s ease;
}

.industry-grid a:hover{
  transform:translateY(-3px);
  color:var(--accent);
  border-color:var(--accent);
  box-shadow:var(--shadow);
}

.industry-intro{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:34px;
  align-items:end;
}

.industry-intro .lead{
  margin-bottom:0;
}

.industry-note{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:20px;
  box-shadow:0 8px 20px rgba(0,0,0,.025);
}

.industry-note strong{
  display:block;
  font-size:16px;
  margin-bottom:8px;
}

.industry-note p{
  margin:0;
  color:var(--muted);
  font-size:14.5px;
}

.industries-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin-top:36px;
}

/* PROCESS */

.process{
  counter-reset:step;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-top:34px;
}

.step{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:0 8px 20px rgba(0,0,0,.025);
}

.step::before{
  counter-increment:step;
  content:"0" counter(step);
  display:block;
  margin-bottom:10px;
  color:#999;
  font-size:24px;
  font-weight:900;
  letter-spacing:-.04em;
}

.step h3{
  margin:0 0 8px;
}

.step p{
  margin:0;
  color:var(--muted);
  font-size:14.5px;
}

/* PANELS */

.two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  margin-top:28px;
}

.panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:24px;
  box-shadow:0 8px 20px rgba(0,0,0,.025);
}

.panel p{
  color:var(--muted);
}

/* FAQ */

.faq-list{
  display:grid;
  gap:12px;
  max-width:920px;
  margin-top:30px;
}

details{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:17px 20px;
  box-shadow:0 8px 20px rgba(0,0,0,.025);
}

summary{
  cursor:pointer;
  font-size:15.5px;
  font-weight:850;
  transition:color .25s ease;
}

details p{
  margin:11px 0 0;
  color:var(--muted);
}

/* CTA */

.cta{
  padding:66px 0;
  background:#111;
  color:#fff;
}

.cta-grid{
  display:grid;
  grid-template-columns:1fr 350px;
  gap:34px;
  align-items:center;
}

.cta h2{
  max-width:760px;
  margin:0 0 12px;
}

.cta p{
  max-width:700px;
  margin:0;
  color:#d8d8d8;
}

.contact-card{
  background:#fff;
  color:var(--ink);
  border-radius:22px;
  padding:22px;
  box-shadow:var(--shadow-lg);
}

.contact-card h3{
  margin:0 0 12px;
  font-size:18px;
}

.contact-card p{
  margin:8px 0;
  color:var(--muted);
}

.contact-card .btn{
  width:100%;
  margin-top:14px;
}

/* FORM */

.form{
  display:grid;
  gap:12px;
}

.form input,
.form textarea,
.form select{
  width:100%;
  padding:14px 15px;
  border:1px solid #d8d8d8;
  border-radius:14px;
  font:inherit;
  background:#fff;
  color:#111;
  outline:none;
  transition:border-color .2s ease,box-shadow .2s ease;
}

.form textarea{
  min-height:138px;
  resize:vertical;
}

.form input:focus,
.form textarea:focus,
.form select:focus{
  border-color:#111;
  box-shadow:0 0 0 4px rgba(0,0,0,.08);
}

/* BACK TO TOP */

#backToTop{
  position:fixed;
  right:24px;
  bottom:24px;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:50%;
  background:#111;
  color:#fff;
  font-size:20px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 14px 34px rgba(0,0,0,.22);
  opacity:0;
  visibility:hidden;
  transform:translateY(16px);
  transition:opacity .25s ease,visibility .25s ease,transform .25s ease,box-shadow .25s ease;
  z-index:9999;
}

#backToTop.show{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

#backToTop:hover{
  transform:translateY(-4px);
  background:var(--accent);
  color:#fff;
  box-shadow:0 20px 44px rgba(217,106,22,.24);
}

/* FOOTER */

footer{
  background:#0f0f0f;
  color:#bdbdbd;
  padding:52px 0 24px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr 1fr;
  gap:32px;
}

.footer-logo{
  margin-bottom:12px;
  color:#fff;
  font-size:20px;
  font-weight:900;
  letter-spacing:-.03em;
}

.footer-grid h4{
  margin:0 0 12px;
  color:#fff;
  font-size:15px;
}

.footer-grid p{
  margin:7px 0;
  font-size:14px;
}

.footer-grid a:hover{
  color:var(--accent);
}

.copyright{
  margin-top:30px;
  padding-top:17px;
  border-top:1px solid rgba(255,255,255,.12);
  font-size:13px;
  color:#9d9d9d;
}

/* ANIMATIONS */

.reveal{
  opacity:0;
  transform:translateY(20px);
  transition:opacity .7s ease,transform .7s ease;
}

.reveal.show{
  opacity:1;
  transform:none;
}

/* RESPONSIVE */

@media(max-width:1180px){
  .menu{
    gap:17px;
    font-size:13.5px;
  }

  .nav-cta{
    padding:11px 18px;
  }

  .industry-grid{
    grid-template-columns:repeat(3,1fr);
  }

  .industries-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:980px){
  :root{
    --container:min(100% - 32px,720px);
  }

  .topbar{
    display:none;
  }

  .hamb{
    display:block;
  }

  .nav-inner{
    height:74px;
  }

  .menu{
    position:fixed;
    top:74px;
    right:0;
    bottom:auto;
    left:0;
    inset:74px 0 auto 0;
    display:none;
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    background:#fff;
    padding:20px 24px 26px;
    border-bottom:1px solid var(--line);
    box-shadow:var(--shadow);
  }

  .menu.open{
    display:flex;
  }

  .menu>li{
    width:100%;
  }

  .menu a{
    padding:10px 0;
  }

  .dropdown{
    display:none;
  }

  .dropdown p{
    margin:0;
  }

  .dropdown a{
    padding:0;
    font-size:14px;
  }

  .nav-cta{
    display:none;
  }

  .hero{
    min-height:auto;
    background:#fff;
    color:var(--ink);
  }

  .hero::before{
    background:linear-gradient(
      180deg,
      rgba(255,255,255,.98) 0%,
      rgba(255,255,255,.96) 42%,
      rgba(255,255,255,.86) 72%,
      rgba(255,255,255,.76) 100%
    );
  }

  .hero-media{
    opacity:.35;
    justify-content:center;
  }

  .hero-grid{
    grid-template-columns:1fr;
    padding:68px 0 44px;
  }

  .hero h1{
    font-size:34px;
  }

  .section{
    padding:60px 0;
  }

  .page-banner{
    padding-top:28px;
  }

  .page-hero{
    padding-top:28px;
  }

  .page-hero-content{
    margin-top:28px;
  }

  .split,
  .cta-grid,
  .two-col,
  .industry-intro{
    grid-template-columns:1fr;
  }

  .cards,
  .process,
  .footer-grid,
  .industries-grid{
    grid-template-columns:1fr;
  }

  .industry-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .band-panel{
    padding:28px;
  }

  h2{
    font-size:24px;
  }

  .page-hero h1{
    font-size:34px;
  }
}

@media(max-width:760px){
  .hero-media{
    position:relative;
    height:auto;
    opacity:1;
    order:2;
  }

  .hero-media img{
    width:100%;
    height:auto;
    object-fit:contain;
  }

  .hero::before{
    display:none;
  }

  .hero{
    display:block;
    background:linear-gradient(180deg,#fff,#f7f7f7);
  }

  .page-banner img,
  .page-hero-media img{
    border-radius:18px;
  }
}

@media(max-width:560px){
  :root{
    --container:calc(100% - 28px);
  }

  .logo span{
    font-size:24px;
  }

  .logo small{
    font-size:10.5px;
  }

  .hero h1,
  .page-hero h1{
    font-size:30px;
    letter-spacing:-.035em;
  }

  h2{
    font-size:22px;
  }

  h3{
    font-size:18px;
  }

  h4{
    font-size:15px;
  }

  .hero p,
  .lead{
    font-size:15.5px;
  }

  .hero-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .btn{
    width:100%;
  }

  .card-content,
  .industry-content,
  .step,
  .band-panel,
  .contact-card,
  .panel{
    padding:19px;
  }

  .industry-grid{
    grid-template-columns:1fr;
  }

  #backToTop{
    right:18px;
    bottom:18px;
    width:42px;
    height:42px;
  }
}

.stats-band{
  position:relative;
  width:100%;
  height:420px;
  overflow:hidden;
  background:#fff;
}

.stats-banner{
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

.stats-overlay{
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  inset:0;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
}

.stats-grid{
  width:min(1180px,calc(100% - 56px));
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:40px;
  text-align:center;
}

.counter{
  display:block;
  font-size:42px;
  font-weight:500;
  line-height:1;
  letter-spacing:-.03em;
  color:#111;
}

.stat p{
  margin:12px 0 0;
  font-size:14px;
  font-weight:500;
  line-height:1.4;
  color:#444;
}

@media(max-width:900px){
  .stats-band{
    height:460px;
  }

  .stats-grid{
    grid-template-columns:repeat(2,1fr);
    gap:32px;
  }
}

@media(max-width:560px){
  .stats-band{
    height:620px;
  }

  .stats-grid{
    grid-template-columns:1fr;
    gap:28px;
  }

  .counter{
    font-size:36px;
  }
}

/* MOBILE DROPDOWN FIX — iOS safe
   On mobile, Servicii and Standarde ISO must behave as direct links.
   Submenus are fully hidden even when iOS keeps :hover active after tap.
*/
@media (hover:none), (pointer:coarse), (max-width:980px){
  .menu .dropdown,
  .menu li:hover .dropdown,
  .menu li:focus-within .dropdown{
    display:none !important;
    visibility:hidden !important;
    opacity:0 !important;
    height:0 !important;
    max-height:0 !important;
    overflow:hidden !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    box-shadow:none !important;
    pointer-events:none !important;
  }
}

/* QMS COPPER INTERACTION SYSTEM
   Resting state: black / graphite
   Hover state: signature copper #D96A16
*/
.content a:not(.btn),
.panel a:not(.btn),
.faq-list a:not(.btn),
.contact-card a:not(.btn){
  text-decoration-color:transparent;
  transition:color .25s ease,text-decoration-color .25s ease;
}

.content a:not(.btn):hover,
.panel a:not(.btn):hover,
.faq-list a:not(.btn):hover,
.contact-card a:not(.btn):hover{
  color:var(--accent);
  text-decoration-color:var(--accent);
}


.service-card a:hover h3,
.industry-card a:hover h3,
.service-card h3 a:hover,
.industry-card h3 a:hover{
  color:var(--accent);
}


summary:hover{
  color:var(--accent);
}

.logo,
.logo span,
.logo small,
.logo img{
  transition:color .25s ease,opacity .25s ease;
}

/* Keep image/logo graphics themselves unchanged on hover. */
.logo:hover img{
  opacity:1;
}

/* QMS group attribution */
.qms-powered{
  margin-top:18px;
}
.qms-powered a{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:inherit;
  text-decoration:none;
  font-size:14px;
  line-height:1;
}
.qms-powered a:hover{
  opacity:.88;
}
.qms-powered img{
  display:block;
  width:82px;
  height:auto;
  max-width:100%;
}
/* QMS LinkedIn footer link */
.qms-linkedin{
  margin-top:10px;
}
.qms-linkedin a{
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:inherit;
  text-decoration:none;
  opacity:.88;
  transition:opacity .2s ease,color .2s ease;
}
.qms-linkedin a:hover{
  opacity:1;
  color:#0A66C2;
}
.qms-linkedin svg{
  width:22px;
  height:22px;
  flex:0 0 22px;
}



/* Official standard name */
.standard-official-name{
  margin:1rem 0 1.5rem;
  padding:1rem 1.15rem;
  border-left:4px solid currentColor;
  background:rgba(127,127,127,.08);
  border-radius:.35rem;
  line-height:1.65;
}
.standard-official-name strong{
  font-weight:800;
}



/* Content protection */
main,section,.content,.article,.hero,.container p,.container h1,.container h2,.container h3,.container li{
  -webkit-user-select:none;
  -moz-user-select:none;
  user-select:none;
}
input,textarea{
  user-select:text !important;
  -webkit-user-select:text !important;
}


/* RO | EN language switch (added 14.11.2026) */
.lang-switch{display:inline-flex;flex:0 0 auto;border:1px solid #111;border-radius:999px;overflow:hidden;background:#fff;margin-left:-6px}
.lang-switch a{display:block;padding:7px 12px;font-size:12.5px;font-weight:800;letter-spacing:.06em;line-height:1;color:#111;background:#fff;text-decoration:none}
.lang-switch a.active{background:#111;color:#fff}
.lang-switch a:not(.active):hover{background:#f0f0f0}
@media(max-width:980px){.lang-switch{order:2;margin-left:auto;margin-right:-14px}.lang-switch a{padding:6px 10px;font-size:12px}.hamb{order:3}}

/* E-QMS — platform pages and sections */
.eqms-flow{list-style:none;margin:26px 0 22px;padding:0;display:flex;gap:26px;align-items:stretch}
.eqms-flow li{position:relative;flex:1 1 0;min-width:0;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 14px 14px;font-size:14px;line-height:1.35;font-weight:650;color:var(--ink);box-shadow:0 8px 20px rgba(0,0,0,.025)}
.eqms-flow li small{display:block;margin-top:5px;font-size:12px;font-weight:500;color:var(--muted);line-height:1.4}
.eqms-flow li::before{counter-increment:eqf;content:counter(eqf);display:block;margin-bottom:8px;color:var(--accent);font-size:13px;font-weight:900}
.eqms-flow li:not(:last-child)::after{content:"";position:absolute;top:50%;right:-19px;width:12px;height:12px;border-top:2px solid var(--accent);border-right:2px solid var(--accent);transform:translateY(-50%) rotate(45deg)}
.eqms-flow{counter-reset:eqf}
.eqms-circuit{margin-top:56px}
.eqms-circuit:first-of-type{margin-top:34px}
.eqms-circuit h3{margin:0 0 8px;font-size:24px;line-height:1.25}
.eqms-circuit>p{max-width:820px;color:var(--muted)}
.eqms-browser{margin:0;border:1px solid var(--line-dark);border-radius:16px;overflow:hidden;background:#fff;box-shadow:var(--shadow-lg)}
.eqms-browser-bar{display:flex;align-items:center;gap:7px;padding:11px 16px;background:#f1f1f1;border-bottom:1px solid var(--line)}
.eqms-browser-bar i{width:11px;height:11px;border-radius:50%;background:#cfcfcf;display:block}
.eqms-browser-bar span{margin-left:10px;font-size:12px;font-weight:700;color:#777;letter-spacing:.04em}
.eqms-browser img{display:block;width:100%;height:auto}
.eqms-browser figcaption{padding:10px 16px;font-size:12.5px;color:var(--muted);border-top:1px solid var(--line);background:#fafafa}
.eqms-std{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:30px}
.eqms-std a{display:block;padding:16px 18px;background:#fff;border:1px solid var(--line);border-radius:14px;color:var(--ink);text-decoration:none;font-weight:750;transition:border-color .2s,transform .2s}
.eqms-std a small{display:block;margin-top:3px;font-weight:500;font-size:12.5px;color:var(--muted);line-height:1.4}
.eqms-std a:hover{border-color:rgba(217,106,22,.6);transform:translateY(-3px)}
.eqms-strip{display:flex;gap:28px;align-items:center;justify-content:space-between;margin-top:34px;padding:26px 30px;border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:16px;background:#fff}
.eqms-strip h3{margin:0 0 6px;font-size:21px}
.eqms-strip p{margin:0;color:var(--muted);max-width:760px}
.eqms-strip .btn{flex:none}
.eqms-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.eqms-ext{display:inline-block;margin-top:14px;font-weight:700;color:var(--accent-dark)}
@media(max-width:1020px){
  .eqms-flow{flex-direction:column;gap:22px}
  .eqms-flow li:not(:last-child)::after{top:auto;bottom:-17px;right:auto;left:26px;transform:rotate(135deg)}
  .eqms-std{grid-template-columns:repeat(2,1fr)}
  .eqms-strip{flex-direction:column;align-items:flex-start}
}
@media(max-width:520px){.eqms-std{grid-template-columns:1fr}.eqms-circuit h3{font-size:21px}}
.process.eqms-process{grid-template-columns:repeat(2,1fr)}
@media(max-width:760px){.process.eqms-process{grid-template-columns:1fr}}

/* E-QMS v2 */
.eqms-terms{position:relative;padding:22px 0 6px;background:#fff}
.eqms-terms .container{display:flex;flex-wrap:wrap;gap:10px}
.eqms-terms a{display:inline-block;padding:9px 16px;border:1px solid #d8d8d8;border-radius:999px;background:#fff;color:#111;font-size:13px;font-weight:700;text-decoration:none;transition:color .2s,border-color .2s}
.eqms-terms a:hover{color:var(--accent);border-color:var(--accent)}
.eqms-term.rev>.content{order:2}
.eqms-term>.eqms-browser{min-width:0}
.eqms-term .list-check{margin-top:18px}
.eqms-term+.eqms-flow{margin-top:34px}
.eqms-term-text{max-width:860px;margin-bottom:30px}
.eqms-media-duo{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:28px;align-items:start}
.eqms-phone{margin:0;border:1px solid var(--line-dark);border-radius:22px;overflow:hidden;background:#fff;box-shadow:var(--shadow-lg)}
.eqms-phone img{display:block;width:100%;height:auto}
.eqms-phone figcaption{padding:10px 16px;font-size:12.5px;color:var(--muted);border-top:1px solid var(--line);background:#fafafa}
.eqms-links .btn.secondary{white-space:nowrap}
@media(max-width:900px){.eqms-term.rev>.content{order:0}.eqms-media-duo{grid-template-columns:1fr}.eqms-phone{max-width:420px}}

.hero p a{color:var(--accent);font-weight:inherit;text-decoration:none}
.hero p a:hover{color:var(--accent);font-weight:700;text-decoration:none}
#certificare .process{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:720px){#certificare .process{grid-template-columns:1fr}}
