/* =========================================
   NICMAR-DANCI — styles.css (INDEX)
   REPLACE ENTIRE FILE 1:1
   - Correlated to the last index.html I sent
   - Single source of truth for header + desktop dropdowns + mobile drawer
   ========================================= */

/* =========================================
   RESET & BASE
   ========================================= */
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  font-family:'Montserrat', sans-serif;
  background:#fff;
  color:#5e5e5f;
  font-size:14px;
  line-height:1.52;
}

/* =========================================
   TOKENS
   ========================================= */
:root{
  --blue:#3959A6;
  --grey:#5E5E5F;
  --green:#6FBF3B;

  --light-bg:#F2F2F2;
  --shadow-soft:0 4px 14px rgba(0,0,0,0.06);

  --radius:16px;
  --radius-sm:12px;

  --sec-y:34px;
  --btn-h:36px;
  --btn-fs:13px;

  /* IMPORTANT: used by header + mobile drawer top */
  --header-h:72px;
}

h1{ font-size:20px; line-height:1.15; color:var(--blue); font-weight:700; }
h2{ font-size:18px; line-height:1.25; color:var(--blue); font-weight:700; }
h3{ font-size:16px; line-height:1.25; color:var(--blue); font-weight:600; }

section{ padding:var(--sec-y) 0; }

.container{
  width:96%;
  max-width:1180px;
  margin:0 auto;
}

/* =========================================
   LINKS (basic)
   ========================================= */
a{ color:inherit; }
a:focus-visible,
button:focus-visible{
  outline:3px solid rgba(57,89,166,0.25);
  outline-offset:3px;
}

/* =========================================================
   HEADER + NAV (ALIGNED TO INDEX HTML)
   ========================================================= */
.site-header{
  background:#fff;
  position: sticky;
  top: 0;
  z-index: 1700; /* above overlay */
  border-bottom: 1px solid #E5E7F0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.header-inner{
  min-height: var(--header-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:6px 0;
}

.logo{ display:flex; align-items:center; }
.logo img{
  height:44px;
  width:auto;
  display:block;
  transition: transform .2s ease, filter .2s ease;
}
.logo img:hover{ transform: scale(1.02); filter: brightness(1.03); }

/* controls wrapper */
.header-controls{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}

/* ---------- Desktop NAV ---------- */
.main-nav{
  flex:1;
  display:flex;
  justify-content:center;
  align-items:center;
  min-width:0;
}

.nav-list{
  display:flex;
  align-items:center;
  list-style:none;
  gap:52px;
  margin:0;
  padding:0;
  font-weight:700;
}

.main-nav a,
.nav-link{
  text-decoration:none;
  color:var(--blue);
  font-weight:700;
  font-size:13px;
  letter-spacing:0.02em;
  background:transparent;
  border:0;
  padding:0;
  font:inherit;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
}

.main-nav a:hover,
.nav-link:hover{ color: var(--green); }

.nav-caret{
  font-size:12px;
  opacity:.75;
  transform: translateY(-1px);
}

/* ---------- RFQ CTA (DESKTOP) ---------- */
.nav-cta{
  background: var(--blue);
  color:#fff !important;
  padding:8px 14px;
  border-radius:999px;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  line-height:1;
  border:0;
}
.nav-cta:hover{ background:#2e477f; color:#fff !important; }

/* ---------- Dropdowns (desktop) ---------- */
.nav-item{ position:relative; }
.nav-item.has-dropdown{ position:relative; }

.nav-dropdown{
  position:absolute;
  top: calc(100% + 10px);
  left:0;
  min-width:320px;
  background:#fff;
  border:1px solid #E5E7F0;
  border-radius:14px;
  box-shadow:0 16px 40px rgba(0,0,0,0.12);
  padding:10px;
  z-index:3000;

  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform: translateY(-6px);
  transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
}

/* hover-bridge */
.nav-item.has-dropdown::after{
  content:"";
  position:absolute;
  left:0; right:0;
  top:100%;
  height:12px;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.open .nav-dropdown{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform: translateY(0);
}

.nav-dropdown a{
  display:flex;
  align-items:center;
  padding:6px 10px;
  border-radius:10px;
  color: var(--blue);
  font-weight:600;
  font-size:13px;
}
.nav-dropdown a:hover{ background:#F2F2F2; color: var(--blue); }

.nav-dd-divider{
  height:1px;
  background:#E5E7F0;
  margin:8px 6px;
}

.nav-item.dd-right .nav-dropdown{ left:auto; right:0; }

/* ---------- Language segmented (EN/RO) ---------- */
.lang-switch{
  display:flex;
  align-items:center;
  gap:6px;
  padding:4px;
  border:1px solid #E5E7F0;
  border-radius:999px;
  background:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
}
.lang-seg{
  height:28px;
  padding:0 10px;
  border-radius:999px;
  border:0;
  background:transparent;
  color:var(--blue);
  font-weight:700;
  font-size:12px;
  cursor:pointer;
}
.lang-seg.is-active{
  background:rgba(57,89,166,0.10);
}

/* ---------- Hamburger button ---------- */
.nav-toggle{
  display:none; /* shown on mobile */
  flex:0 0 auto;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  width:34px;
  height:34px;
  border-radius:50%;
  border:1px solid var(--blue);
  background:#fff;
  cursor:pointer;
  padding:0;
  position: relative;
  z-index:1601;
}
.nav-toggle span{
  display:block;
  width:16px;
  height:2px;
  background:var(--blue);
  margin:0 auto;
}

/* =========================================================
   RESPONSIVE SWITCH (nav)
   ========================================================= */
@media (max-width: 980px){
  .main-nav{ display:none; }
  .nav-toggle{ display:flex; }
  .logo img{ height:36px; }
}

@media (min-width: 981px){
  .mobile-nav{ display:none !important; }
  .nav-overlay{ display:none !important; opacity:0 !important; pointer-events:none !important; }
  body.nav-lock{ overflow:auto !important; }
}

/* =========================================
   HERO
   ========================================= */
.hero-section{ background:#ffffff; padding:18px 0; }
.hero-inner{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  padding:18px 0;
}
.hero-left{ width:60%; }
.hero-right{ width:40%; padding-top:8px; }

.hero-eyebrow{
  font-size:15px;
  font-weight:600;
  color:var(--green);
  letter-spacing:0.08em;
  margin-bottom:10px;
}
.hero-title{
  font-size:20px;
  font-weight:700;
  color:var(--blue);
  margin-bottom:10px;
}
.hero-subtitle{
  font-size:14px;
  color:var(--grey);
  margin-bottom:10px;
  line-height:1.52;
  max-width:92%;
  text-align:left;
}
.hero-certs{
  font-size:13px;
  font-weight:600;
  color:var(--blue);
  margin-bottom:14px;
}
.hero-buttons{ display:flex; gap:10px; margin-top:10px; flex-wrap:wrap; }
.btn-primary, .btn-secondary{
  height:var(--btn-h);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius:10px;
  padding:0 14px;
  font-size:var(--btn-fs);
  font-weight:600;
}
.btn-primary{ background:var(--blue); color:#fff; }
.btn-primary:hover{ filter:brightness(0.95); }
.btn-secondary{
  border:1px solid var(--green);
  color:var(--green);
  background:transparent;
}
.btn-secondary:hover{ background:var(--light-bg); }

.hero-img-wrapper{ display:flex; gap:12px; align-items:flex-start; }
.hero-img{
  display:flex;
  flex-direction:column;
  width:50%;
  border-radius:12px;
  overflow:hidden;
  box-shadow:var(--shadow-soft);
  background:#fff;
}
.hero-img img{ width:100%; height:190px; object-fit:cover; display:block; }
.hero-img-caption{
  font-size:12px;
  font-weight:600;
  color:var(--grey);
  padding:8px 10px 10px;
  min-height:34px;
}

/* =========================================
   ABOUT
   ========================================= */
.about-section{ background:#fff; padding:18px 0; }
.about-layout{
  display:grid;
  grid-template-columns:minmax(0, 3.1fr) minmax(0, 2fr);
  gap:18px;
  align-items:flex-start;
}
.about-text h2{ margin-bottom:10px; }
.about-paragraph{
  margin-bottom:10px;
  color:var(--grey);
  font-size:14px;
  line-height:1.52;
  text-align:left;
}
.about-image{ width:100%; margin-top:48px; }
.about-image img{
  width:100%;
  height:270px;
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
  display:block;
}

/* KPIs */
.about-kpis{
  margin:16px auto 0;
  max-width:1180px;
  padding:0 6px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
}
.about-kpi{
  display:flex;
  align-items:flex-start;
  gap:10px;
  background:#fff;
  border:1px solid rgba(57,89,166,0.10);
  border-radius:16px;
  box-shadow:0 10px 26px rgba(0,0,0,0.04);
  padding:12px;
}
.about-kpi-icon{ width:34px; height:34px; object-fit:contain; flex-shrink:0; }
.about-kpi-label{ font-size:14px; font-weight:700; color:var(--blue); display:block; }
.about-kpi-desc{ font-size:13px; color:var(--grey); letter-spacing:0.01em; display:block; margin-top:2px; }

/* =========================================
   CAPABILITIES (Landing)
   ========================================= */
.cap-section{ background:#fff; padding:56px 0; }
.cap-header{ margin-bottom:22px; }
.cap-h1{ color:var(--blue); font-size:20px; line-height:1.15; margin:0 0 10px; letter-spacing:0.2px; }
.cap-sub{ color:var(--grey); font-size:14px; line-height:1.52; margin:0; }

.cap-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
  margin-top:18px;
}
.cap-card{
  display:flex;
  flex-direction:column;
  text-decoration:none;
  background:#fff;
  border:1px solid rgba(57,89,166,0.10);
  border-radius:18px;
  box-shadow:0 10px 30px rgba(0,0,0,0.06);
  transition:transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  overflow:hidden;
  min-height:220px;
}
.cap-card:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 40px rgba(0,0,0,0.08);
  border-color:rgba(57,89,166,0.22);
}

.cap-media{
  position:relative;
  height:110px;
  background:#f6f7fb;
}
.cap-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:saturate(1.02) contrast(1.02);
}
.cap-media::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  background:rgba(57,89,166,0.10);
}

.cap-card-top{ padding:16px 18px 0; }
.cap-h3{ color:var(--blue); font-size:15px; line-height:1.25; margin:0 0 8px; letter-spacing:0.15px; }
.cap-body{ color:var(--grey); font-size:14px; line-height:1.52; margin:0; }
.cap-cta{
  padding:0 18px 16px;
  margin-top:14px;
  color:var(--green);
  font-size:14px;
  line-height:1.52;
  display:inline-flex;
  align-items:center;
  gap:8px;
  opacity:0.95;
}
.cap-cta::after{ content:"→"; font-size:14px; transform:translateY(-0.5px); }

/* =========================================
   SUPPORTING ACTIVITIES (inside Capabilities)
   ========================================= */
.cap-support{
  margin-top:18px;
}

.cap-support-header{
  margin-top:6px;
  margin-bottom:16px;
}

/* Titlu ca la subsectiunile Industries: 18px, 600, line-height 1.15, albastru */
.cap-support-title{
  font-size:18px;
  font-weight:600;
  line-height:1.15;
  color:var(--blue); /* tu ai zis ca imi dai codurile cand vrei; aici folosesc tokenul existent */
  margin:0 0 8px 0;
}

/* Text unitar cu site-ul: 14px, #5e5e5f, line-height 1.52 */
.cap-support-sub{
  font-size:14px;
  line-height:1.52;
  color:var(--grey);
  margin:0;
  max-width:78ch;
}

.cap-support-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
  margin-top:18px;
  margin-bottom: 0;
}

.cap-support-card{
  background:#fff;
  border:1px solid rgba(57,89,166,0.10);
  border-radius:18px;
  box-shadow:0 10px 30px rgba(0,0,0,0.06);
  padding:16px 18px;
}

.cap-support-h3{
  font-size:15px;
  line-height:1.25;
  font-weight:600;
  color:var(--blue);
  margin:0 0 10px 0;
  letter-spacing:0.15px;
}

.cap-support-list{
  margin:0;
  padding-left:18px;
  color:var(--grey);
  font-size:14px;
  line-height:1.52;
  list-style: none;
}

.cap-support-list li{
  position: relative;
  padding-left: 16px;
  margin: 6px 0;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.52;
}

.cap-support-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background-color:#6FBF3B;
  border-radius: 50%;
}




.cap-support-note{
  margin:10px 0 0 0;
  font-size:13px;
  line-height:1.52;
  color:var(--grey);
  opacity:0.92;
}

/* Responsive */
@media (max-width: 980px){
  .cap-support-grid{
    grid-template-columns:1fr;
  }
}

.cap-support-list .cap-support-subhead{
  margin-top: 10px;
  font-weight: 700;
  color: #3959A6;
  list-style: none;
}
.cap-support-list .cap-support-subhead:first-child{
  margin-top: 0;
}


/* =========================================
   QUALITY
   ========================================= */
.quality-section{ background:#fff; padding:0 0; }
.quality-header h2{ font-size:20px; margin-bottom:8px; }
.quality-intro{ font-size:14px; color:var(--grey); margin-bottom:14px; line-height:1.52; }

.quality-pillars{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
}
.quality-pillar{
  background:var(--light-bg);
  border-radius:var(--radius);
  padding:14px;
  border:1px solid #e0e0e0;
  box-shadow:var(--shadow-soft);
}
.card-title-main{ font-size:15px; font-weight:700; margin-bottom:6px; color:var(--blue); }
.card-desc-main{ font-size:13px; color:var(--grey); line-height:1.35; }
.quality-note{
  margin-top:12px;
  font-size:13px;
  color:var(--grey);
  line-height:1.45;
}

/* =========================================
   INDUSTRIES (S1 + S2)
   ========================================= */
#industries{ padding:18px 0; background:#fff; }
#industries .container{ position:relative; }

/* header above industries section */
.industries-section .s1-header{ margin-bottom:10px; }
.industries-section .s1-title{ margin:18px 0 6px; font-size:20px; }
.industries-section .s1-subtitle{ margin:0; color:var(--grey); font-size:14px; }

/* Block header above each band */
.industry-block-header{ margin-top:18px; margin-bottom:14px; }

/* NEW: subsection title (S1/S2) */
.industry-block-header .industry-section-title{
  margin:0;
  font-size:18px;
  font-weight:600;
  line-height:1.2;
  letter-spacing:0.01em;
  color:var(--blue);
}

.industry-block-header .block-subtitle{
  margin:10px 0 0;
  
  color:var(--grey);
  font-size:14px;
  line-height:1.52;
}
.industry-block-header .block-micro{
  margin-top:10px;
  font-size:14px;
  font-weight:600;
  max-width:92ch;
  color:var(--grey);
}

/* Dots shared (S1 + S2) */
#industries .band-dots{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:0;
  display:flex;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,0.70);
  backdrop-filter:blur(6px);
  box-shadow:0 6px 18px rgba(0,0,0,0.10);
  z-index:6;
}
#industries .band-dot{
  width:7px; height:7px;
  border-radius:999px;
  border:none;
  background:rgba(111,191,59,0.35);
  cursor:pointer;
  padding:0;
  appearance:none;
}
#industries .band-dot.is-active{ width:18px; background:var(--green); }

/* ---------- S1 ---------- */
.industries-s1{ padding:10px 0 18px; }
.industries-s1 .s1-band{
  position:relative;
  padding:8px 0 22px;
  overflow:visible;
}
.industries-s1 .s1-rail{
  display:flex;
  gap:16px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  padding:6px 56px 10px;
  outline:none;
  scrollbar-width:none;
  touch-action:pan-y;
  cursor:grab;
}
.industries-s1 .s1-rail.is-dragging{ cursor:grabbing; }
.industries-s1 .s1-rail::-webkit-scrollbar{ display:none; }

.industries-s1 .s1-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:38px; height:38px;
  border-radius:50%;
  border:2px solid var(--green);
  background:rgba(255,255,255,0.92);
  color:var(--green);
  display:grid;
  place-items:center;
  cursor:pointer;
  z-index:10;
  box-shadow:0 10px 24px rgba(0,0,0,0.10);
}
.industries-s1 .s1-nav--prev{ left:-52px; }
.industries-s1 .s1-nav--next{ right:-52px; }
.industries-s1 .s1-nav:disabled{ opacity:.35; cursor:default; box-shadow:none; }

.industries-s1 .s1-card{
  scroll-snap-align:start;
  flex:0 0 auto;
  width:min(420px, 82vw);
  background:#fff;
  border-radius:16px;
  border:1px solid rgba(94,94,95,.18);
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}
.industries-s1 .s1-card-top{ padding:12px 12px 8px; background:#fff; }
.industries-s1 .s1-card-title{
  margin:0;
  padding:10px 12px;
  border:1px solid var(--green);
  border-radius:14px;
  background:#fff;
  color:var(--blue);
  font-weight:800;
  font-size:13px;
  line-height:1.25;
}
.industries-s1 .s1-card-body{
  display:grid;
  grid-template-columns:1fr 170px;
  gap:12px;
  align-items:start;
  padding:8px 12px 12px;
}
.industries-s1 .s1-col{ display:flex; flex-direction:column; }
.industries-s1 .s1-col.s1-media{ display:flex; flex-direction:column; height:140px; gap:10px; }

/* (optional) keep this if you really use it inside S1 cards */
.industries-s1 .s1-block-title{
  margin:0 0 6px;
  font-size:18px;
  font-weight:600;
  color:var(--blue);
}

.industries-s1 .s1-list{ margin:0; padding:0; list-style:none; }
.industries-s1 .s1-list li{
  margin:4px 0;
  font-size:13px;
  color:var(--grey);
  line-height:1.32;
}
.industries-s1 .s1-thumb{
  width:100%;
  height:78px;
  padding:6px;
  border-radius:12px;
  border:1px solid var(--green);
  background:#fff;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.industries-s1 .s1-thumb img{ width:100%; height:100%; object-fit:contain; display:block; }

/* S1 link — text-only premium */
.industries-s1 .s1-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  color:var(--green);
  font-size:13px;
  line-height:1.2;
  padding:8px 2px;
}
.industries-s1 .s1-link:hover{ text-decoration:underline; text-underline-offset:3px; }

/* ---------- S2 ---------- */
.industries-s2{ padding:18px 0 28px; background:#fff; }
.industries-s2 .industries-band{
  position:relative;
  padding:8px 0 22px;
  overflow:visible;
}
.industries-s2 .band-scroll{
  display:flex;
  gap:16px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  padding:6px 56px 10px;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  touch-action:pan-y;
  cursor:grab;
}
.industries-s2 .band-scroll.is-dragging{ cursor:grabbing; }
.industries-s2 .band-scroll::-webkit-scrollbar{ display:none; }

.industries-s2 .industry-card-wide{
  scroll-snap-align:start;
  flex:0 0 auto;
  width:min(520px, 46vw);
  background:#fff;
  border-radius:16px;
  border:1px solid rgba(94,94,95,.18);
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}
.industries-s2 .ic-head{
  display:flex;
  gap:10px;
  align-items:center;
  padding:12px 12px 8px;
}
.industries-s2 .ic-thumb{
  width:92px; height:68px;
  border-radius:12px;
  background:#fff;
  border:1px solid var(--green);
  overflow:hidden;
  display:grid;
  place-items:center;
  flex:0 0 auto;
}
.industries-s2 .ic-thumb img{ width:100%; height:100%; object-fit:contain; padding:6px; display:block; }
.industries-s2 .ic-head-right{
  flex:1;
  border-radius:12px;
  border:1px solid var(--green);
  background:#fff;
  padding:9px 10px;
}
.industries-s2 .card-title{
  margin:0;
  font-size:14px;
  font-weight:600;
  color:var(--blue);
  line-height:1.22;
}
.industries-s2 .card-body{ padding:6px 12px 12px; }
.industries-s2 .card-cols{ display:grid; grid-template-columns:2fr 3fr; gap:14px; }

/* NEW: titles inside cards (Applications / Components) */
.industries-s2 .card-section-title{
  margin:0 0 6px;
  font-size:13px;
  font-weight:800;
  color:var(--blue);
  letter-spacing:0.01em;
}

.industries-s2 .checklist{ list-style:none; padding:0; margin:0; }
.industries-s2 .checklist li{
  position:relative;
  padding-left:18px;
  margin:3px 0;
  color:var(--grey);
  font-size:13px;
  line-height:1.32;
}
.industries-s2 .checklist li::before{
  content:"✓";
  position:absolute;
  left:0; top:0;
  color:var(--green);
  font-weight:700;
}
.industries-s2 .checklist.checklist-apps li{ padding-left:0; }
.industries-s2 .checklist.checklist-apps li::before{ content:none; }

.industries-s2 .band-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:38px; height:38px;
  border-radius:50%;
  border:2px solid var(--green);
  background:rgba(255,255,255,0.92);
  color:var(--green);
  display:grid;
  place-items:center;
  cursor:pointer;
  z-index:10;
  box-shadow:0 10px 24px rgba(0,0,0,0.10);
}
.industries-s2 .band-arrow-left{ left:-52px; }
.industries-s2 .band-arrow-right{ right:-52px; }
.industries-s2 .band-arrow:disabled{ opacity:.35; cursor:default; box-shadow:none; }

/* S1 – titles inside cards (Applications etc.) */
.industries-s1 .s1-block-title{
  margin:0 0 6px;
  font-size:13px;      /* FIX */
  font-weight:800;
  color:var(--blue);
  letter-spacing:0.01em;
}

/* =========================================================
   INDUSTRIES — ARROWS OUTSIDE (desktop) + SAFE RESPONSIVE
   - Desktop (>= 981px): arrows outside the band
   - Mid (641–980px): arrows inside gutter (never over cards)
   - Mobile (<= 640px): hide arrows, keep swipe + dots + subtle hint
   ========================================================= */

/* Shared band variables */
.industries-s1 .s1-band,
.industries-s2 .industries-band{
  position: relative;
  overflow: visible;

  --nd-arrow: 38px;     /* arrow button size */
  --nd-gap: 14px;       /* space between band edge and arrow when outside */
  --nd-gutter: 56px;    /* inner padding for rails so cards never sit under arrows */
  --nd-out: calc(var(--nd-arrow) + var(--nd-gap)); /* how far outside */
}

/* Rails: keep cards away from edges (and from arrows when needed) */
.industries-s1 .s1-rail,
.industries-s2 .band-scroll{
  padding-left: var(--nd-gutter) !important;
  padding-right: var(--nd-gutter) !important;
}

/* Base arrows */
.industries-s1 .s1-nav,
.industries-s2 .band-arrow{
  width: var(--nd-arrow);
  height: var(--nd-arrow);
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
}

/* ---------- DESKTOP (arrows outside) ---------- */
@media (min-width: 981px){
  .industries-s1 .s1-nav--prev{ left: calc(-1 * var(--nd-out)) !important; }
  .industries-s1 .s1-nav--next{ right: calc(-1 * var(--nd-out)) !important; }

  .industries-s2 .band-arrow-left{ left: calc(-1 * var(--nd-out)) !important; }
  .industries-s2 .band-arrow-right{ right: calc(-1 * var(--nd-out)) !important; }
}

/* ---------- MID (safe: arrows inside gutter, never over cards) ---------- */
@media (max-width: 980px) and (min-width: 641px){
  .industries-s1 .s1-band,
  .industries-s2 .industries-band{
    --nd-gutter: 44px;
  }

  .industries-s1 .s1-nav--prev{ left: 8px !important; }
  .industries-s1 .s1-nav--next{ right: 8px !important; }

  .industries-s2 .band-arrow-left{ left: 8px !important; }
  .industries-s2 .band-arrow-right{ right: 8px !important; }
}

/* ---------- MOBILE (swipe only: arrows hidden + swipe affordance) ---------- */
@media (max-width: 640px){
  .industries-s1 .s1-band,
  .industries-s2 .industries-band{
    --nd-gutter: 12px;
  }

  .industries-s1 .s1-nav,
  .industries-s2 .band-arrow{
    display: none !important;
  }

  .industries-s1 .s1-rail,
  .industries-s2 .band-scroll{
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Subtle edge fades = “there’s more content sideways” */
  .industries-s1 .s1-band::before,
  .industries-s1 .s1-band::after,
  .industries-s2 .industries-band::before,
  .industries-s2 .industries-band::after{
    content:"";
    position:absolute;
    top: 0;
    bottom: 22px; /* keeps dots visible */
    width: 26px;
    pointer-events:none;
    z-index: 8;
  }
  .industries-s1 .s1-band::before,
  .industries-s2 .industries-band::before{
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.95), rgba(255,255,255,0));
  }
  .industries-s1 .s1-band::after,
  .industries-s2 .industries-band::after{
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,0.95), rgba(255,255,255,0));
  }


}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .industries-s1 .s1-rail,
  .industries-s2 .band-scroll{
    scroll-behavior: auto;
  }
}
/* =========================================================
   INDUSTRIES — UNDER-CARDS CONTROLS (<= 1100px) — CSS ONLY
   - arrows + dots on one row
   - no overlap on cards
   ========================================================= */

@media (max-width: 1100px){

  /* 1) rail keeps clean edges (no need for huge gutters) */
  .industries-s1 .s1-rail,
  .industries-s2 .band-scroll{
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* 2) create a "controls row" under cards using CSS grid on the band wrapper */
  .industries-s1 .s1-band,
  .industries-s2 .industries-band{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto; /* row1: rail, row2: controls */
    row-gap: 10px;
    align-items: start;
  }

  /* rail stays first row */
  .industries-s1 .s1-rail{ grid-row: 1; }
  .industries-s2 .band-scroll{ grid-row: 1; }

  /* 3) neutralize absolute positioning so nothing can sit on top of cards */
  .industries-s1 .s1-nav,
  .industries-s2 .band-arrow,
  #industries .band-dots{
    position: static !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }

  /* 4) controls row layout:
        [prev] [dots centered] [next]
     We don't have a wrapper, so we simulate it by placing items in row2 and using a 3-col grid.
  */
  .industries-s1 .s1-nav--prev,
  .industries-s1 .s1-nav--next,
  .industries-s2 .band-arrow-left,
  .industries-s2 .band-arrow-right,
  #industries .band-dots{
    grid-row: 2;
  }

  /* make row2 a 3-col grid by applying grid to the band and placing items into columns */
  .industries-s1 .s1-band,
  .industries-s2 .industries-band{
    grid-template-columns: 42px 1fr 42px;
  }

  /* cards rail spans full width in row1 */
  .industries-s1 .s1-rail,
  .industries-s2 .band-scroll{
    grid-column: 1 / -1;
  }

  /* controls */
  #industries .band-dots{
    grid-column: 2;
    justify-self: center;
    align-self: center;
    display: flex;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.70);
    backdrop-filter: blur(6px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
    z-index: 1;
  }

  /* S1 arrows */
  .industries-s1 .s1-nav--prev{
    grid-column: 1;
    justify-self: start;
    align-self: center;
  }
  .industries-s1 .s1-nav--next{
    grid-column: 3;
    justify-self: end;
    align-self: center;
  }

  /* S2 arrows */
  .industries-s2 .band-arrow-left{
    grid-column: 1;
    justify-self: start;
    align-self: center;
  }
  .industries-s2 .band-arrow-right{
    grid-column: 3;
    justify-self: end;
    align-self: center;
  }

  /* keep arrow button styling consistent */
  .industries-s1 .s1-nav,
  .industries-s2 .band-arrow{
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--green);
    background: rgba(255,255,255,0.92);
    color: var(--green);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
    z-index: 2;
  }

  /* slightly tighter on very small widths */
  @media (max-width: 720px){
    .industries-s1 .s1-band,
    .industries-s2 .industries-band{
      grid-template-columns: 38px 1fr 38px;
      row-gap: 8px;
    }
    .industries-s1 .s1-nav,
    .industries-s2 .band-arrow{
      width: 34px;
      height: 34px;
    }
  }

  /* phones: best practice = swipe + dots; arrows optional.
     If you want arrows OFF on phones, uncomment below. */
  /*
  @media (max-width: 560px){
    .industries-s1 .s1-nav,
    .industries-s2 .band-arrow{ display:none; }
    .industries-s1 .s1-band,
    .industries-s2 .industries-band{ grid-template-columns: 1fr; }
    #industries .band-dots{ grid-column: 1; }
  }
  */
}

/* Extend controls row up to half-desktop widths */
@media (max-width: 1366px){
  .industries-s1 .s1-nav,
  .industries-s2 .band-arrow{
    display: grid !important; /* override accidental display:none */
  }
  #industries .band-dots{
    display: flex !important;
  }
}




/* =========================================
   CONTACT + MAP + RFQ
   ========================================= */
#contact-rfq.contact-rfq-section{ background:#ffffff; padding:16px 0; }

#contact-rfq .contact-rfq-grid{
  display:grid;
  grid-template-columns:3fr 2fr;
  gap:16px;
  align-items:stretch;
  grid-template-areas:"rfq side";
}
#contact-rfq .contact-rfq-right{ grid-area:rfq; display:flex; flex-direction:column; }
#contact-rfq .contact-rfq-left{ grid-area:side; display:flex; flex-direction:column; gap:14px; }

#contact-rfq .contact-card,
#contact-rfq .map-card{
  background:#fff;
  border-radius:var(--radius);
  padding:14px;
  border:1px solid #E0E0E0;
  box-shadow:var(--shadow-soft);
}
#contact-rfq .map-card{ padding:0; overflow:hidden; }

/* Contact */
#contact-rfq .contact-card h3{ font-size:16px; margin-bottom:4px; }
#contact-rfq .contact-card strong{
  font-size:11.5px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:#2f2f2f;
  display:block;
  margin-bottom:4px;
}
#contact-rfq .contact-item{
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin:8px 0;
  line-height:1.25;
}
#contact-rfq .contact-icon{
  width:32px; height:32px;
  border-radius:50%;
  background:var(--green);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
#contact-rfq .contact-icon-svg{ width:18px; height:18px; fill:#fff; }
#contact-rfq .contact-label{ font-weight:700; color:#2f2f2f; margin-bottom:2px; font-size:12px; }
#contact-rfq .contact-card a{ color:var(--blue); font-weight:700; text-decoration:none; }
#contact-rfq .contact-card a:hover{ text-decoration:underline; }

/* Map: no white strip */
.map-card{ border-radius:var(--radius); overflow:hidden; background:#fff;margin-top: 20px; }
.map-wrapper{ position:relative; width:100%; height:100%; min-height:260px; background:#fff; }
.map-wrapper iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; display:block; }


/* RFQ */
#contact-rfq .rfq-card{
  background:var(--light-bg);
  border-radius:var(--radius);
  border:1px solid #E0E0E0;
  box-shadow:var(--shadow-soft);
  padding:16px;
  height:100%;
}
#contact-rfq .rfq-title{
  font-size:18px;
  line-height:1.18;
  color:var(--blue);
  font-weight:800;
  margin:0 0 6px;
}
#contact-rfq .rfq-subtitle{
  font-size:14px;
  color:var(--grey);
  margin:0 0 12px;
  line-height:1.5;
}
#contact-rfq .rfq-form{ display:flex; flex-direction:column; gap:12px; }
#contact-rfq .rfq-row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
#contact-rfq .rfq-field{ display:flex; flex-direction:column; gap:5px; }
#contact-rfq .rfq-field-full{ grid-column:1 / -1; }

#contact-rfq .rfq-card label{ font-size:12px; font-weight:900; color:var(--grey); }

#contact-rfq .rfq-card input,
#contact-rfq .rfq-card textarea{
  font-family:inherit;
  font-size:13px;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid rgba(111,191,59,.60);
  background:#fff;
  color:var(--grey);
}
#contact-rfq .rfq-card textarea{ min-height:110px; resize:vertical; }
#contact-rfq .rfq-card input:focus,
#contact-rfq .rfq-card textarea:focus{
  outline:none;
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(57, 89, 166, 0.18);
}

#contact-rfq .rfq-dropzone{
  background:#fff;
  border:1px dashed rgba(94,94,95,.35);
  border-radius:12px;
  padding:12px;
  text-align:center;
  cursor:pointer;
}
#contact-rfq .rfq-dropzone.is-dragover{
  border-color:rgba(57,89,166,0.35);
  box-shadow:0 12px 24px rgba(0,0,0,0.08);
}
#contact-rfq .rfq-dropzone-title{ font-weight:900; color:var(--grey); }
#contact-rfq .rfq-dropzone-hint{ margin-top:4px; font-size:12px; color:var(--grey); opacity:.92; }
#contact-rfq .rfq-browse{
  color:var(--green);
  font-weight:900;
  text-decoration:underline;
  text-underline-offset:3px;
}

#contact-rfq .rfq-submit-row{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:4px;
}
#contact-rfq .btn-rfq{
  height:28px;
  background:var(--green);
  color:#ffffff;
  border:none;
  padding:0 14px;
  font-size:13px;
  font-weight:900;
  border-radius:10px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:8px;
  align-self:flex-start;
  transition:transform .2s ease, box-shadow .2s ease;
}
#contact-rfq .btn-rfq::after{ content:"➜"; font-size:13px; transition:transform .2s ease; }
#contact-rfq .btn-rfq:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 14px rgba(0,0,0,0.12);
}
#contact-rfq .btn-rfq:hover::after{ transform:translateX(3px); }
#contact-rfq .rfq-status{ color:var(--grey); font-size:12px; }

/* RFQ file list (safe default) */
#contact-rfq .rfq-file-list{
  margin-top:10px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
#contact-rfq .rfq-file-item{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  padding:8px 10px;
  border-radius:12px;
  background:#fff;
  border:1px solid rgba(57,89,166,0.10);
}
#contact-rfq .rfq-file-name{ font-size:12.5px; color:var(--grey); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#contact-rfq .rfq-file-remove{
  border:0;
  background:transparent;
  color:var(--blue);
  font-weight:900;
  cursor:pointer;
}

/* Honeypot hidden */
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* ND mini links (standalone, under map; not a card) */
.nd-mini-links{
  display:flex;
  gap:14px;
  align-items:stretch;
  justify-content:space-between;
  margin-top:18px;
}

.nd-mini-block{
  flex:1 1 0;
  min-width:0;
  padding:10px 12px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  background:rgba(255,255,255,.55);
}

.nd-mini-title{
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#5e5e5f;
  margin-bottom:8px;
}

.nd-mini-icons{
  display:flex;
  align-items:center;
  gap:12px;
}

.nd-mini-ico{
  display:inline-flex;
  width:34px;
  height:34px;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.6);
  color:#5e5e5f;
  text-decoration:none;
}

.nd-mini-ico svg{
  width:18px;
  height:18px;
  fill:currentColor;
}

.nd-mini-aff{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:34px;
  padding:0 10px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.6);
}

.nd-mini-aff img{
  height:22px;
  width:auto;
  display:block;
  object-fit:contain;
  filter:grayscale(1);
  opacity:.92;
}

/* keep side-by-side on mobile */
@media (max-width: 640px){
  .nd-mini-links{ gap:10px; }
  .nd-mini-block{ padding:10px; }
  .nd-mini-ico{ width:32px; height:32px; border-radius:10px; }
  .nd-mini-aff{ height:32px; }
  .nd-mini-aff img{ height:20px; }
}



/* =========================================
   FOOTER
   ========================================= */
.site-footer{
  background:#fff;
  font-size:11px;
  color:var(--grey);
  padding:0;
}
.site-footer a{
  color:var(--blue);
  font-weight:300;
  text-decoration:none;
}
.site-footer a:hover{ text-decoration:underline; text-underline-offset:3px; }

.footer-bottom{
  background:var(--light-bg);
  border-top:1px solid #D5D7E3;
}
.footer-bottom-inner{
  padding:10px 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

/* =========================================================
   MOBILE DRAWER — ENTERPRISE (SINGLE SOURCE OF TRUTH)
   - <= 980px: Mobile menu active
   - Phones (< 820px): DRILL-DOWN (one card at a time)
   - Wide phones/tablets (>= 820px): TWO SEPARATE CARDS (gap)
   IMPORTANT: main card height is NOT tied to submenu height
   ========================================================= */
@media (max-width: 980px){

  /* ---------- Overlay ---------- */
  .nav-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.32);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
    z-index: 1400;
  }
  .nav-overlay.open{
    opacity: 1;
    pointer-events: auto;
  }

  /* ---------- Wrapper ---------- */
  #mobile-nav.mobile-nav{
    position: fixed;
    right: 10px;
    top: calc(var(--header-h) + 8px);
    z-index: 1500;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;

    transform: translateX(120%);
    transition: transform .22s ease;
    will-change: transform;

    /* Tunable variables */
    --mnav-gap: 14px;
    --mnav-main-w: clamp(280px, 40vw, 420px);
    --mnav-sub-w:  clamp(300px, 56vw, 620px);

    /* each card has its own max-height */
    --mnav-card-maxh: min(78vh, 560px);
  }
  #mobile-nav.mobile-nav.open{ transform: translateX(0); }

  #mobile-nav .mobile-nav-inner{
    position: relative;
    width: var(--mnav-main-w);
    min-width: 0;
  }

  /* MAIN PANEL */
  #mobile-nav .mobile-mainpanel{
    width: 100%;
    max-height: var(--mnav-card-maxh);

    background: #fff;
    border: 1px solid #E5E7F0;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.18);

    padding: 12px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;

    overflow: auto;
    -webkit-overflow-scrolling: touch;
    min-width: 0;
  }

  #mobile-nav .mobile-nav-close{
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid #E5E7F0;
    background: #fff;
    color: var(--blue);
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
    align-self: flex-end;
    margin-bottom: 2px;
  }

  #mobile-nav .mobile-link{
    display: block;
    text-decoration: none;
    color: var(--blue);
    font-weight: 900;
    font-size: 13px;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid #E5E7F0;
    background: #fff;
    text-align: left;
  }
  #mobile-nav .mobile-link:hover{ background:#F2F2F2; }

  #mobile-nav .mobile-open{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid #E5E7F0;
    background: #fff;
    color: var(--blue);
    font-weight: 900;
    font-size: 13px;
    cursor: pointer;
    text-align: left;
  }
  #mobile-nav .mobile-open > span[data-t]{ flex: 1; }

  /* arrow on the LEFT (HTML has ‹ already) */
  #mobile-nav .mobile-arrow{
    order: -1;
    display: inline-flex;
    width: 18px;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    opacity: .85;
    color: var(--blue);
    transform: translateY(-1px);
  }

  #mobile-nav .mobile-open.is-active{
    background: rgba(57,89,166,0.08);
  }

  #mobile-nav .mobile-cta{
    border: 0;
    background: var(--blue);
    color: #fff;
    text-align: center;
  }
  #mobile-nav .mobile-cta:hover{
    background:#2e477f;
    color:#fff;
  }

  /* SUB PANEL (left card with gap) */
  #mobile-nav .mobile-subpanel{
    position: absolute;
    top: 0;
    right: calc(100% + var(--mnav-gap));
    width: var(--mnav-sub-w);
    max-height: var(--mnav-card-maxh);

    background: #fff;
    border: 1px solid #E5E7F0;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.18);

    padding: 12px 12px 14px;
    display: none;
    flex-direction: column;
    gap: 10px;

    overflow: auto;
    -webkit-overflow-scrolling: touch;
    min-width: 0;
  }

  #mobile-nav.sub-open .mobile-subpanel{ display: flex; }

  #mobile-nav .mobile-back{
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid #E5E7F0;
    background: #fff;
    color: var(--blue);
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
  }

  #mobile-nav .mobile-subtitle{
    font-weight: 900;
    color: var(--blue);
    font-size: 13px;
    letter-spacing: 0.02em;
    margin-top: -6px;
  }

  #mobile-nav .mobile-subview{ display: none; }
  #mobile-nav .mobile-subview.open{ display: block; }

  /* each link = full width row */
  #mobile-nav .mobile-sublink{
    display:block !important;
    width:100% !important;

    padding:10px 12px !important;
    border-radius:12px;

    text-align:left !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:anywhere !important;

    line-height:1.25;
    text-decoration:none;
    color:var(--blue);
    font-weight:800;
    font-size:13px;
  }
  #mobile-nav .mobile-sublink:hover{ background:#F2F2F2; }

  #mobile-nav .mobile-divider{
    height: 1px;
    background:#E5E7F0;
    margin: 10px 4px;
  }

  /* Lock scroll when open */
  body.nav-lock{ overflow: hidden; }

  /* SMALL PHONES: DRILL-DOWN */
  @media (max-width: 820px){

    #mobile-nav.mobile-nav{
      left: 10px;
      right: 10px;
      --mnav-main-w: calc(100vw - 20px);
      --mnav-sub-w:  calc(100vw - 20px);
      --mnav-gap: 0px;
      --mnav-card-maxh: min(82vh, 600px);
    }

    #mobile-nav .mobile-nav-inner{ width: var(--mnav-main-w); }

    /* subpanel becomes same-position card */
    #mobile-nav .mobile-subpanel{
      right: 0;
      top: 0;
      width: 100%;
      max-height: var(--mnav-card-maxh);
    }

    /* one card at a time */
    #mobile-nav.sub-open .mobile-mainpanel{ display: none; }
    #mobile-nav.sub-open .mobile-subpanel{ display: flex; }
    #mobile-nav:not(.sub-open) .mobile-subpanel{ display: none; }
  }
}

/* =========================================
   SECTION INNER WRAPPER (optional utility)
   ========================================= */
.section-inner{
  max-width:1200px;
  margin:0 auto;
  padding-left:24px;
  padding-right:24px;
}
@media (max-width: 768px){
  .section-inner{ padding-left:16px; padding-right:16px; }
}

/* =========================================
   RESPONSIVE (content)
   ========================================= */
@media (max-width: 992px){
  .logo img{ height:46px; }
  .cap-grid{ grid-template-columns:repeat(2, 1fr); }
  .quality-pillars{ grid-template-columns:1fr 1fr; }
  .about-kpis{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px){
  .industries-s1 .s1-rail,
  .industries-s2 .band-scroll{ padding-left:44px; padding-right:44px; }
  .industries-s1 .s1-nav--prev,
  .industries-s2 .band-arrow-left{ left:-18px; }
  .industries-s1 .s1-nav--next,
  .industries-s2 .band-arrow-right{ right:-18px; }
  .industries-s1 .s1-card{ width:min(520px, 84vw); }
  .industries-s2 .industry-card-wide{ width:min(560px, 84vw); }
  .industries-s2 .card-cols{ grid-template-columns:1fr; }
  .industries-s1 .s1-card-body{ grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);  }
  .industries-s1 .s1-col.s1-media{ height:auto; }
  .industries-s1 .s1-thumb{ height:74px; }
}
@media (max-width: 768px){
  .hero-inner{ flex-direction:column; }
  .hero-left, .hero-right{ width:100%; }
  .hero-img img{ height:220px; }

  .about-layout{ grid-template-columns:1fr; }
  .about-image{ margin-top:10px; }
  .about-kpis{ grid-template-columns:1fr; }

  .cap-grid{ grid-template-columns:1fr; }
  .quality-pillars{ grid-template-columns:1fr; }

  #contact-rfq .contact-rfq-grid{
    grid-template-columns:1fr;
    grid-template-areas:
      "rfq"
      "side";
  }
  #contact-rfq .rfq-row{ grid-template-columns:1fr; }
  .map-wrapper{ min-height:240px; }
  #contact-rfq .btn-rfq{ width:100%; justify-content:center; align-self:stretch; }
}

@media (prefers-reduced-motion: reduce){
  .cap-card{ transition:none; }
  #mobile-nav.mobile-nav{ transition:none; }
  .nav-dropdown{ transition:none; }
}

@media (max-width: 480px){
  .industries-s1 .s1-card-body{
    grid-template-columns: minmax(0, 3.2fr) minmax(0, 1.8fr); /* apps și mai late */
  }
}


/* ===== Desktop CTA hard-fix: always visible ===== */
@media (min-width: 981px){
  .main-nav .nav-cta{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    background: var(--blue) !important;
    color:#fff !important;

    padding: 8px 14px !important;
    border-radius: 999px !important;
    line-height: 1 !important;

    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    transform: none !important;
  }

  .main-nav .nav-cta:hover{
    background:#2e477f !important;
    color:#fff !important;
  }
}
.rfq-privacy-note{
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.45;
  color: #5E5E5F;
}
.rfq-privacy-note a{
  color: #3959A6;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rfq-privacy-note a:hover{ text-decoration: none; }

/* ===== Capabilities icons block (Landing page / global-safe) ===== */
.cap-icons { padding: 12px 0 12px; }

.cap-icons-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.cap-icon-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.cap-icon-head{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 10px;
}

.cap-icon-title{
  margin:0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: #3959A6;
}

.cap-icon-text{
  margin:0;
  font-size: 13px;
  line-height: 1.52;
  color: #5E5E5F;
}

.cap-icon-strong{
  font-weight: 600;
  color:#5E5E5F;
}

.cap-icon-muted{
  color:#6b7280;
  font-style: italic;
}

.cap-icon-micro{
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,.08);
  font-size: 12.5px;
  line-height: 1.45;
  color: #5E5E5F;
  opacity: .95;
}

/* green nicmar dots */
.cap-icon-mark{
  display:inline-flex;
  align-items:center;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(111,191,59,.10);
  border: 1px solid rgba(111,191,59,.22);
}
.cap-icon-dot{
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--green);
}

@media (max-width: 1100px){
  .cap-icons-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .cap-icons-grid{ grid-template-columns: 1fr; }
}

/* =========================================
   ND – Social & Affiliations (card surface)
   ========================================= */

.nd-mini-links{
  display:flex;
  gap:14px;
  align-items:stretch;
  justify-content:space-between;
  margin-top:18px;

  /* visual parity with contact-card */
  border:1px solid rgba(94,94,95,0.18);
  border-radius:16px;
  background:#fff;
  box-shadow:0 10px 24px rgba(0,0,0,0.08);

  padding:12px;
}

.nd-mini-block{
  background:#ffffff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  border-color: #6FBF3B;
}
.nd-mini-links{
  background:#f2f2f2 !important;
  padding:14px !important;
  border-radius:16px !important;
  
}

/* =====================================
   ND – HOVER only for the small link cards
   Works for: .nd-mini-links + .nd-under-map
   Put this at the VERY END of styles.css
   ===================================== */

.nd-mini-links .nd-mini-block,
.nd-under-map .nd-mini-card{
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.nd-mini-links .nd-mini-block:hover,
.nd-under-map .nd-mini-card:hover{
  background: #ffffff;
  border-color: rgba(111,191,59,.35);
  box-shadow: 0 8px 22px rgba(0,0,0,.10);
}

/* optional: subtle feedback inside (icons/logo blocks) */
.nd-mini-links .nd-mini-block:hover .nd-mini-ico,
.nd-mini-links .nd-mini-block:hover .nd-mini-aff,
.nd-under-map .nd-mini-card:hover .nd-iconbtn,
.nd-under-map .nd-mini-card:hover .nd-afflogo{
  border-color: rgba(111,191,59,.45);
  background: rgba(111,191,59,.06);
}

/* no “fake hover” on touch devices */
@media (hover: none){
  .nd-mini-links .nd-mini-block:hover,
  .nd-under-map .nd-mini-card:hover{
    background: inherit;
    border-color: inherit;
    box-shadow: inherit;
  }
}

